/* Métiers, guides, méthode et présentation de l'entreprise. */
.ed-page { color:var(--ink); background:#fff; }
.ed-page *, .ed-page *::before, .ed-page *::after { box-sizing:border-box; }
.ed-mast { background:var(--paper); border-bottom:1px solid var(--line); }
.ed-crumb { display:flex; align-items:center; gap:.7rem; padding:1.3rem 0 1.1rem; color:#455d6c; font-size:.88rem; }
.ed-crumb a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.ed-crumb-sep { color:#6a8493; }
.ed-mast-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.91fr); align-items:center; gap:clamp(2.5rem,5.2vw,5.5rem); padding:1.9rem 0 clamp(2.8rem,4.6vw,5rem); }
.ed-mast-copy { min-width:0; }
.ed-mast h1 { font:700 clamp(2.55rem,4.55vw,4.5rem)/1.035 var(--display); letter-spacing:-.045em; color:var(--navy); margin:0; text-wrap:balance; }
.ed-label { padding:0; margin:0 0 1rem; }
.ed-deck { margin:1.45rem 0 0; max-width:62ch; font-size:clamp(1.025rem,1.32vw,1.17rem); line-height:1.56; }
.ed-deck p { margin:0; }
.ed-actions { margin:1.75rem 0 0; display:flex; gap:.95rem 1.4rem; flex-wrap:wrap; align-items:center; }
.ed-actions a { max-width:100%; }
.ed-actions .text-link { font-size:1rem; }
.ed-figure { margin:0; min-width:0; }
.ed-photo-frame { overflow:hidden; background:var(--mist); }
.ed-figure .ed-photo-img { display:block; width:100%; height:100%; object-fit:cover; }
.ed-figure figcaption { display:flex; gap:.4rem 1.35rem; justify-content:space-between; align-items:baseline; flex-wrap:wrap; font-size:.84rem; line-height:1.35; border-top:1px solid var(--line); margin-top:.7rem; padding-top:.6rem; color:#4b6474; }
.ed-figure figcaption strong { color:var(--navy); font-weight:700; }
.ed-mast .ed-photo-frame { aspect-ratio:1.18; }
.ed-photo-hero_enseigne .ed-photo-img { object-position:54% 51%; }
.ed-photo-vehicule .ed-photo-img { object-position:52% 58%; }
.ed-mast .ed-photo-hero_enseigne .ed-photo-frame, .ed-mast .ed-photo-vehicule .ed-photo-frame { aspect-ratio:4/3; }
.ed-mast .ed-photo-signaletique_interieure .ed-photo-frame { aspect-ratio:16/10; }
.ed-photo-vitrophanie_commerciale .ed-photo-img { object-position:50% 42%; }
.ed-photo-films_logistique .ed-photo-img { object-position:50% 24%; }
.ed-photo-chantier_pose .ed-photo-img { object-position:50% 39%; }
.ed-photo-film_depoli .ed-photo-img { object-position:50% 31%; }
.ed-mast-wide .ed-mast-grid { display:block; max-width:1000px; padding-top:clamp(2rem,4.1vw,4.5rem); }
.ed-mast-wide h1 { max-width:17ch; font-size:clamp(2.65rem,5.7vw,5.5rem); }
.ed-mast-wide .ed-deck { max-width:65ch; }
.ed-mast-materiaux .ed-mast-grid { grid-template-columns:minmax(0,1.23fr) minmax(0,.77fr); }
.ed-family-panel { padding:clamp(1.4rem,2.4vw,2.5rem); background:var(--mist); align-self:stretch; display:flex; flex-flow:column; justify-content:center; }
.ed-family-panel p { margin:0 0 1rem; }
.ed-family-panel a { display:block; padding:.85rem 0; border-top:1px solid #c2d4da; line-height:1.35; color:var(--navy); text-decoration:none; }
.ed-family-panel a strong, .ed-family-panel a span { display:block; }
.ed-family-panel a strong { font:700 clamp(1.18rem,1.7vw,1.5rem)/1.2 var(--display); }
.ed-family-panel a span { margin-top:.25rem; font-size:.95rem; color:#425d6b; }
.ed-family-panel a:hover strong, .ed-family-panel a:focus-visible strong { text-decoration:underline; text-underline-offset:4px; }
.ed-reading { display:grid; grid-template-columns:minmax(13rem,.6fr) minmax(0,1.55fr); gap:clamp(2.5rem,6.5vw,7rem); align-items:start; padding-top:clamp(2.8rem,5.2vw,6rem); padding-bottom:clamp(3rem,6vw,6rem); }
.ed-sidebar { position:sticky; top:6.2rem; min-width:0; }
.ed-side-nav { border-top:2px solid var(--navy); padding-top:1rem; }
.ed-side-nav p { margin:0 0 .65rem; }
.ed-side-nav ul { list-style:none; margin:0; padding:0; }
.ed-side-nav li { border-bottom:1px solid var(--line); }
.ed-side-nav a { color:var(--navy); font-size:.95rem; line-height:1.4; display:block; padding:.69rem 0; text-decoration:none; }
.ed-side-nav a:hover, .ed-side-nav a:focus-visible { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.ed-article { min-width:0; max-width:51rem; }
.ed-chapter { border-top:1px solid var(--line); padding:clamp(1.65rem,3.2vw,3rem) 0; scroll-margin-top:6.35rem; }
.ed-chapter:first-child { border:0; padding-top:0; }
.ed-chapter:last-child { padding-bottom:0; }
.ed-chapter h2, .ed-close h2 { font:700 clamp(1.75rem,2.85vw,2.75rem)/1.13 var(--display); letter-spacing:-.035em; color:var(--navy); }
.ed-chapter h2 { margin:0 0 1.05rem; text-wrap:balance; }
.ed-prose { max-width:70ch; }
.ed-prose p { margin:0 0 .95rem; font-size:clamp(1rem,1.27vw,1.105rem); line-height:1.65; }
.ed-prose p:last-child { margin-bottom:0; }
.ed-prose a { text-decoration:underline; text-underline-offset:3px; color:var(--blue); font-weight:600; }
.ed-chapter-budget { margin:.4rem 0 2rem; padding:clamp(1.4rem,2.65vw,2.4rem); border:0; background:var(--mist); }
.ed-chapter-budget + .ed-chapter-faq { border:0; padding-top:.4rem; }
.ed-chapter-budget h2 { font-size:clamp(1.6rem,2.4vw,2.05rem); }
.ed-article-photo { margin:0 0 2rem; }
.ed-article-photo .ed-photo-frame { aspect-ratio:1.85; }
.ed-article-photo .ed-photo-film_depoli .ed-photo-img { object-position:50% 30%; }
.ed-article-photo .ed-photo-chantier_pose .ed-photo-img { object-position:50% 36%; }
.ed-chapter-step { position:relative; display:grid; grid-template-columns:3.1rem minmax(0,1fr); gap:clamp(.85rem,1.6vw,1.5rem); }
.ed-step { display:flex; align-items:center; justify-content:center; width:2.8rem; height:2.8rem; background:var(--mist); border-top:2px solid var(--blue); font:700 1rem/1 var(--mono); color:var(--blue); }
.ed-answer { border-top:1px solid var(--line); }
.ed-answer:last-child { border-bottom:1px solid var(--line); }
.ed-answer summary { display:flex; justify-content:space-between; align-items:baseline; gap:1.3rem; list-style:none; cursor:pointer; padding:1rem 0; color:var(--navy); font-weight:650; font-size:1.075rem; line-height:1.45; }
.ed-answer summary::-webkit-details-marker { display:none; }
.ed-answer summary::after { content:"+"; font:400 1.3rem/1 var(--mono); color:var(--blue); }
.ed-answer[open] > summary::after { content:"−"; }
.ed-answer summary:focus-visible, .ed-side-nav a:focus-visible, .ed-family-panel a:focus-visible, .ed-crumb a:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }
.ed-answer-copy { padding:0 1.1rem 1.2rem 0; }
.ed-close { background:var(--mist); border-top:1px solid var(--line); }
.ed-close-inner { display:flex; align-items:center; justify-content:space-between; gap:1.5rem 2.5rem; flex-wrap:wrap; padding-top:clamp(2.5rem,4vw,5rem); padding-bottom:clamp(2.5rem,4vw,5rem); }
.ed-close h2,.ed-close .ed-actions { margin:0; }
.ed-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-height:720px) { .ed-sidebar { position:static; } }
@media (max-width:960px) and (min-width:761px) {
  .ed-mast-grid,.ed-mast-materiaux .ed-mast-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:1.7rem; }
  .ed-mast h1 { font-size:clamp(2.35rem,4.9vw,3rem); }
  .ed-reading { grid-template-columns:minmax(11rem,.52fr) minmax(0,1.4fr); gap:2rem; }
}
@media (max-width:760px) {
  .ed-mast-grid,.ed-mast-materiaux .ed-mast-grid { display:flex; flex-direction:column; align-items:stretch; gap:1.65rem; padding:1rem 0 2rem; }
  .ed-mast-wide .ed-mast-grid { padding:1.1rem 0 2.05rem; }
  .ed-crumb { font-size:.82rem; padding:1rem 0 .65rem; }
  .ed-mast h1 { font-size:clamp(2.15rem,8.25vw,3.65rem); text-wrap:balance; max-width:22ch; }
  .ed-deck { margin-top:1rem; }
  .ed-actions { margin-top:1.25rem; }
  .ed-mast .ed-photo-frame { aspect-ratio:1.4; }
  .ed-mast .ed-photo-signaletique_interieure .ed-photo-frame { aspect-ratio:16/9; }
  .ed-mast .ed-photo-hero_enseigne .ed-photo-frame,.ed-mast .ed-photo-vehicule .ed-photo-frame { aspect-ratio:4/3; }
  .ed-mast .ed-photo-vitrophanie_commerciale .ed-photo-frame { aspect-ratio:1.15; }
  .ed-figure figcaption { display:block; font-size:.82rem; }
  .ed-figure figcaption span { display:block; margin-top:.15rem; }
  .ed-reading { display:block; padding-top:2.4rem; padding-bottom:2.6rem; }
  .ed-sidebar { position:static; margin-bottom:2.6rem; }
  .ed-side-nav ul { display:flex; flex-wrap:wrap; gap:.45rem .55rem; }
  .ed-side-nav li { border:1px solid var(--line); }
  .ed-side-nav a { padding:.5rem .7rem; font-size:.92rem; }
  .ed-chapter { padding:1.75rem 0; scroll-margin-top:5.1rem; }
  .ed-chapter h2 { font-size:clamp(1.57rem,5.7vw,2rem); }
  .ed-chapter-budget { padding:1.25rem; }
  .ed-chapter-step { grid-template-columns:2.4rem minmax(0,1fr); gap:.65rem; }
  .ed-step { width:2.25rem; height:2.25rem; }
  .ed-article-photo .ed-photo-frame { aspect-ratio:1.45; }
  .ed-close-inner { display:block; }
  .ed-close .ed-actions { margin-top:1.15rem; }
}
@media print {
  .ed-sidebar { position:static; }
  .ed-answer::details-content { content-visibility:visible; }
}


/* Les vues de pose, portes et vitrages doivent rester lisibles sur toute leur hauteur. */
.ed-article-photo .ed-photo-frame,
.ed-mast .ed-photo-chantier_pose .ed-photo-frame {
  width:fit-content;
  max-width:100%;
  aspect-ratio:auto;
  margin-inline:auto;
}
.ed-article-photo .ed-photo-img,
.ed-mast .ed-photo-chantier_pose .ed-photo-img {
  width:auto;
  max-width:100%;
  height:auto;
  max-height:min(64vh,31rem);
  max-height:min(64svh,31rem);
  object-fit:contain;
}
