/* ---------- bloc avant / après des pages métiers ---------- */
.ba { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.ba__head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.ba__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(19rem, 1fr); gap: clamp(1rem, 2vw, 1.8rem); align-items: start; }
.ba__cmp { width: 100%; height: auto; align-self: center; border-radius: 4px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .55); }
.ba__cmp .cmp__seam { background: var(--gold-l, #d9c59d); width: 2px; box-shadow: 0 0 24px rgba(217, 197, 157, .6); }
.ba__cmp .cmp__knob { background: var(--bone, #f3ebdd); color: var(--ink, #0b1319); box-shadow: 0 0 0 6px rgba(243, 235, 221, .25), 0 16px 34px -10px rgba(0, 0, 0, .6); }
.ba__card { display: flex; flex-direction: column; gap: 1.3rem; padding: clamp(1.3rem, 2.4vw, 2rem); border-radius: 4px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(11, 19, 25, .1); box-shadow: 0 30px 60px -45px rgba(0, 0, 0, .4); }
.ba__lbl { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone, #7b7468); margin-bottom: .35rem; }
.ba__loc { display: flex; gap: .9rem; align-items: center; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(11, 19, 25, .1); }
.ba__loc b { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.ba__pin { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange, #b5432f); box-shadow: inset 0 0 0 .7rem var(--orange, #b5432f), inset 0 0 0 1rem #fff; }
.ba__states { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ba__states p { font-size: .92rem; line-height: 1.4; }
.ba__steps { list-style: none; display: grid; gap: .55rem; }
.ba__steps li { display: grid; grid-template-columns: 1.9rem 1fr; gap: .4rem; font-size: .94rem; line-height: 1.4; }
.ba__steps span { font-family: var(--f-mono); font-size: .72rem; color: var(--orange, #b5432f); padding-top: .18rem; }
.ba__rev { margin: 0; padding: 1.1rem 1.2rem; border-radius: 4px; background: #fff; border: 1px solid rgba(11, 19, 25, .08); }
.ba__stars { color: #e3a81d; letter-spacing: .12em; font-size: .9rem; }
.ba__rev blockquote { margin: .5rem 0 .7rem; font-family: var(--f-display); font-style: italic; font-size: 1.12rem; line-height: 1.35; }
.ba__rev figcaption { display: flex; flex-direction: column; font-size: .82rem; }
.ba__rev figcaption span { color: var(--stone, #7b7468); }
.ba__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
@media (max-width: 999px) {
  .ba__head, .ba__grid { grid-template-columns: 1fr; }
}
/* ---------- page hydrofuge : la pluie sans / avec ---------- */
.rainx__box { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(17rem, 1fr); gap: clamp(1rem, 2.4vw, 2rem); align-items: center; }
.rainx__cmp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rainx__cmp { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .7); }
.rainx__cmp .cmp__seam { background: var(--gold-l, #d9c59d); width: 2px; box-shadow: 0 0 24px rgba(217, 197, 157, .6); }
.rainx__cmp .cmp__knob { background: var(--bone, #f3ebdd); color: var(--ink, #0b1319); }
.rainx__legend { display: grid; gap: 1.3rem; }
.rainx__legend b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; }
.rainx__legend p { margin-top: .35rem; color: rgba(243, 235, 221, .78); line-height: 1.5; }
@media (max-width: 999px) { .rainx__box { grid-template-columns: 1fr; } }
/* ---------- sections complémentaires des pages métiers (couverture, peinture réflective, pose de Velux) ---------- */
.xs .mod__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.xs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.xs-card { display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.3rem, 2.2vw, 1.8rem); border-radius: 4px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(14, 23, 30, .1); box-shadow: 0 30px 60px -48px rgba(0, 0, 0, .45); min-width: 0; }
.xs-card h3 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.45rem, 1.2rem + .6vw, 1.8rem); line-height: 1.05; letter-spacing: -.01em; }
.xs-card p { margin: 0; color: var(--soft); font-size: .98rem; line-height: 1.6; }
.xs-link { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; color: var(--bordeaux, #87352d); text-decoration: none; }
.xs-link svg { width: 1.1rem; height: 1.1rem; transition: transform .3s; }
.xs-link:hover svg { transform: translateX(4px); }
/* échantillons de couverture dessinés en CSS (aucune image) */
.xs-sw { display: block; height: 5.2rem; margin: -.2rem 0 .5rem; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 14px 26px -18px rgba(0, 0, 0, .6); }
.xs-sw--ardoise { background-color: #3a4048; background-image: repeating-linear-gradient(180deg, transparent 0 15px, rgba(0, 0, 0, .45) 15px 17px), repeating-linear-gradient(90deg, transparent 0 25px, rgba(255, 255, 255, .08) 25px 27px), linear-gradient(160deg, #4b525b, #2e333a); background-size: auto, 54px 34px, auto; }
.xs-sw--plate { background-color: #9b4a34; background-image: repeating-linear-gradient(180deg, transparent 0 9px, rgba(40, 12, 6, .5) 9px 11px), repeating-linear-gradient(90deg, transparent 0 15px, rgba(40, 12, 6, .35) 15px 16px), radial-gradient(circle at 30% 40%, rgba(255, 190, 140, .18), transparent 60%), linear-gradient(150deg, #a85a3e, #82402c); background-size: auto, 32px 22px, auto, auto; }
.xs-sw--meca { background-color: #b0563a; background-image: repeating-linear-gradient(90deg, rgba(255, 210, 170, .22) 0 6px, transparent 6px 14px, rgba(60, 18, 8, .35) 14px 18px, transparent 18px 26px), repeating-linear-gradient(180deg, transparent 0 24px, rgba(50, 14, 6, .55) 24px 27px), linear-gradient(160deg, #bf6646, #8f432d); }
.xs-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.4vw, 1.8rem); border-left: 3px solid var(--gold, #b89a5e); background: rgba(255, 255, 255, .4); }
.xs-note p { margin: 0; max-width: 40rem; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.3; }
.xs-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: start; margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(14, 23, 30, .14); }
.xs-chk { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; counter-reset: chk; }
.xs-chk li { position: relative; display: grid; gap: .25rem; padding: 1rem 1.1rem 1rem 3.4rem; border-radius: 4px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(14, 23, 30, .08); counter-increment: chk; }
.xs-chk li::before { content: counter(chk, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1.05rem; font-family: var(--f-mono); font-size: .72rem; color: var(--bordeaux, #87352d); }
.xs-chk b { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.xs-chk span { color: var(--soft); font-size: .95rem; line-height: 1.55; }
.xs--care { padding-top: clamp(3rem, 6vw, 5rem); }
.method__grid--long { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(2rem, 4vw, 3.4rem); }
@media (max-width: 999px) { .xs-cards { grid-template-columns: 1fr; } .xs-split { grid-template-columns: 1fr; } .xs-sw { height: 4.2rem; } }
@media (max-width: 860px) { .method__grid--long { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .method__grid--long { grid-template-columns: 1fr; } .xs-note .btn { width: 100%; justify-content: space-between; } }

/* ---------- page hydrofuge : encart peinture réflective (renvoie vers la page dédiée) ---------- */
.rfl-t { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper); }
.rfl-t__card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "sun txt fig" "sun ctas ctas"; gap: 1.4rem clamp(1.4rem, 3.4vw, 3rem); align-items: center; padding: clamp(1.6rem, 3.4vw, 2.8rem); border-radius: 4px; background: var(--ink); color: var(--bone); overflow: hidden; box-shadow: 0 60px 100px -60px rgba(14, 23, 30, .8); }
.rfl-t__sun { grid-area: sun; position: relative; width: clamp(5rem, 9vw, 8rem); aspect-ratio: 1; align-self: start; }
.rfl-t__sun i { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fff6d8, #f4c25c 55%, #e08a2e); box-shadow: 0 0 40px 10px rgba(244, 194, 92, .35); }
.rfl-t__sun span { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(244, 194, 92, .45); animation: rflt 18s linear infinite; }
.rfl-t__sun span:nth-child(3) { inset: 9%; animation-duration: 26s; animation-direction: reverse; }
.rfl-t__sun span:nth-child(4) { inset: -9%; opacity: .5; animation-duration: 34s; }
@keyframes rflt { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rfl-t__sun span { animation: none; } }
.rfl-t__txt { grid-area: txt; }
.rfl-t__txt h2 { margin: 1rem 0 .9rem; color: var(--bone); }
.rfl-t__txt p { margin: 0; color: rgba(243, 235, 221, .78); line-height: 1.6; max-width: 38rem; }
.rfl-t__fig { grid-area: fig; padding-left: clamp(1rem, 2.4vw, 2rem); border-left: 1px solid var(--line-d); }
.rfl-t__fig p:first-child { margin: 0; display: grid; gap: .3rem; }
.rfl-t__fig p:first-child span { font-size: .85rem; color: var(--gold-l, #d9c59d); }
.rfl-t__fig b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.4rem); line-height: .9; color: #fff; letter-spacing: -.02em; }
.rfl-t__note { margin: 1rem 0 0; font-size: .8rem; line-height: 1.55; color: rgba(243, 235, 221, .62); }
.rfl-t__ctas { grid-area: ctas; display: flex; flex-wrap: wrap; gap: .7rem; }
.rfl-t__ctas .btn--line { --fg: var(--bone); box-shadow: inset 0 0 0 1px rgba(243, 235, 221, .35); }
@media (max-width: 999px) {
  .rfl-t__card { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "sun txt" "fig fig" "ctas ctas"; }
  .rfl-t__fig { padding-left: 0; border-left: 0; padding-top: 1.2rem; border-top: 1px solid var(--line-d); }
}
@media (max-width: 560px) {
  .rfl-t__card { grid-template-columns: 1fr; grid-template-areas: "sun" "txt" "fig" "ctas"; }
  .rfl-t__sun { width: 4.4rem; }
  .rfl-t__ctas .btn { width: 100%; justify-content: space-between; }
}

/* ---------- menu : quatorze métiers, la liste ne se tasse plus (défile si besoin, centrée sinon) ---------- */
.menu__list { justify-content: safe center; }
.menu__list > li { flex-shrink: 0; }
@media (min-width: 761px) { .menu__list a { font-size: clamp(1.2rem, .1rem + 2.9vh + .45vw, 2.7rem); } .menu__gt { margin: 1rem 0 .25rem; } }
@media (max-width: 760px) { .menu__list a { font-size: 1.42rem; line-height: 1.08; padding: .12em 0; } .menu__list a .menu__n { min-width: 1.6em; } }

/* ---------- responsive (15/10) ---------- */
/* fin du film d'accueil : « Revoir le chantier » sous les boutons, jamais par-dessus */
.build__end .build__replay { position: static; display: inline-flex; margin-top: 1.1rem; opacity: 1; }
.build__end .hero-ctas { row-gap: .7rem; }

/* en-tête : encoche et barre d'état (viewport-fit=cover) */
.bar { padding-top: env(safe-area-inset-top); height: calc(var(--bar) + env(safe-area-inset-top)); }
.brand { min-width: 0; flex: 0 1 auto; }
.brand__logo { max-width: 100%; }
.bar > .btn, .menu-btn { flex: none; }

/* ---------- menu ouvert : toujours entièrement accessible ---------- */
.menu { bottom: auto; height: 100vh; height: -webkit-fill-available; height: 100dvh; grid-template-rows: minmax(0, 1fr); }
.menu__list { min-height: 0; -webkit-overflow-scrolling: touch; padding-top: calc(var(--bar) + env(safe-area-inset-top) + 3vh); padding-bottom: calc(4vh + env(safe-area-inset-bottom)); }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 760px) {
  /* téléphone : tout le panneau défile (métiers, liens, téléphone), le corps de page reste bloqué derrière */
  .menu { display: block; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .menu__list { display: block; overflow: visible; padding: calc(var(--bar) + env(safe-area-inset-top) + 1.2rem) var(--gutter) 1.2rem; }
  .menu__list > li + li { margin-top: .05rem; }
  .menu__list .menu__minor { margin-top: 1.2rem; }
  .menu__mobile-extra { padding: 1.3rem var(--gutter) calc(1.6rem + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .menu__list a { font-size: 1.3rem; line-height: 1.06; padding: .1em 0; }
  .menu__gt { margin: .8rem 0 .15rem; font-size: .6rem; }
  .menu__list { padding-top: calc(var(--bar) + env(safe-area-inset-top) + .8rem); }
}
@media (max-width: 760px) and (max-height: 640px) {
  .menu__list a { font-size: 1.16rem; gap: .7rem; }
  .menu__gt { margin: .6rem 0 .1rem; }
  .menu__list .menu__minor { gap: .35rem 1rem; margin-top: .9rem; }
  .menu__list .menu__minor a { font-size: .7rem; }
  .menu__mobile-extra { padding-top: 1rem !important; }
}
/* paysage et écrans très bas : panneau photo masqué, métiers sur deux colonnes */
@media (max-height: 560px) {
  .menu { display: block; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .menu__side { display: none; }
  .menu__list { display: block; overflow: visible; padding: calc(var(--bar) + env(safe-area-inset-top) + .6rem) max(var(--gutter), env(safe-area-inset-right)) 1rem max(var(--gutter), env(safe-area-inset-left)); }
  .menu__list a { font-size: 1.12rem; line-height: 1.1; padding: .08em 0; gap: .7rem; }
  .menu__gt { margin: .55rem 0 .1rem; font-size: .58rem; }
  .menu__list .menu__minor { margin-top: .8rem; gap: .35rem 1.1rem; }
  .menu__list .menu__minor a { font-size: .68rem; }
  .menu__mobile-extra { display: grid !important; gap: .3rem; padding: .9rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)) !important; border-top: 1px solid var(--line-d); }
}
@media (max-height: 560px) and (min-width: 560px) {
  .menu__list { columns: 2; column-gap: clamp(1.5rem, 5vw, 4rem); }
  .menu__list > li { break-inside: avoid; }
  .menu__list > li.menu__minor { column-span: all; display: flex; }
}

/* boutons : jamais plus larges que leur colonne ; sur petit écran le libellé peut passer à la ligne */
.btn { max-width: 100%; }
@media (max-width: 480px) {
  main .btn, .finale .btn, .foot .btn { white-space: normal; line-height: 1.2; padding-top: .55rem; padding-bottom: .55rem; text-align: left; }
}
/* grilles passées sur une colonne : la colonne ne s'élargit plus au contenu */
@media (max-width: 900px) { .sgn__grid { grid-template-columns: minmax(0, 1fr); } }

/* haut des pages métiers : la mention « Film d'illustration » passe en haut à droite sur téléphone */
@media (max-width: 760px) { .s-hero__meta { top: calc(var(--bar) + env(safe-area-inset-top) + .7rem); bottom: auto; } }
/* cartes métiers (liste verticale sur téléphone) : numéro plus petit, il ne touche ni le groupe ni le titre */
@media (max-width: 600px) { .hs__k { font-size: 3.6rem; top: 1rem; left: 1.1rem; } .hs__grp { top: 1.2rem; right: 1.1rem; max-width: 52%; text-align: right; line-height: 1.3; } }
/* toiture en éclaté sur écran bas : titre réduit, fiche courte */
@media (max-width: 760px) and (max-height: 700px) { .x3d__head h2 { font-size: clamp(2rem, 9vw, 2.6rem); } .x3d__list li p { display: none; } .x3d__list { bottom: 4.2rem; } }
/* comparateurs : étiquettes avant / après plus compactes sur petit écran */
@media (max-width: 420px) { .cmp__tag { font-size: .56rem; letter-spacing: .08em; padding: .38rem .5rem; } .cmp__tag--b { left: .6rem; } .cmp__tag--a { right: .6rem; } }
/* inspirations : légende sous l'image sur téléphone */
@media (max-width: 480px) { .insp figcaption { position: static; padding: .8rem 1rem 1rem; background: var(--ink-3); } }
/* adresses et emails longs : coupure autorisée plutôt que débordement */
.legal p, .foot__addr, .sig-item b, .zone__out, .contact a { overflow-wrap: anywhere; }

/* ---------- haut de page d'accueil sur téléphone : le texte tient entre l'en-tête et le bas de l'écran ---------- */
@media (max-width: 760px) {
  .build .hero-copy { bottom: max(1rem, env(safe-area-inset-bottom)); }
  .build .hero-copy .kicker { margin-bottom: .8rem; font-size: .64rem; line-height: 1.5; }
  .build .hero-copy h1 { font-size: min(14.5vw, 8.6svh); line-height: .9; }
  .build .hero-copy .lede { margin-top: 1rem; font-size: .95rem; line-height: 1.5; }
  .build .hero-copy .hero-ctas { margin-top: 1.1rem; gap: .5rem; }
  .hero-copy .hero-ctas .btn { min-height: 2.85rem; }
  .build .hero-copy .free { margin-top: .8rem; gap: .35rem; }
  .build .hero-copy .free li { font-size: .7rem; padding: .35rem .6rem .35rem .45rem; gap: .4rem; }
  .build .scroll-cue { display: none; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .build .hero-copy h1 { font-size: min(13.5vw, 8svh); }
  .build .hero-copy .lede { font-size: .88rem; line-height: 1.45; margin-top: .75rem; }
  .build .hero-copy .hero-ctas { margin-top: .85rem; }
  .hero-copy .hero-ctas .btn { min-height: 2.6rem; font-size: .88rem; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .build .hero-copy .kicker { margin-bottom: .5rem; }
  .build .hero-copy .lede { font-size: .84rem; }
  .hero-copy .hero-ctas .btn { min-height: 2.45rem; }
  .build .hero-copy .free li { font-size: .64rem; }
}
/* paysage (téléphone couché) : titre à gauche, texte et boutons à droite */
@media (max-height: 520px) and (orientation: landscape) {
  .build .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.2rem, 4vw, 3rem); align-items: end; right: var(--gutter); max-width: none; bottom: max(.9rem, env(safe-area-inset-bottom)); }
  .build .hero-copy > .kicker { grid-column: 1; grid-row: 1; margin-bottom: .5rem; font-size: .62rem; }
  .build .hero-copy > h1 { grid-column: 1; grid-row: 2 / span 3; align-self: end; font-size: min(7.4vw, 15svh); line-height: .9; }
  .build .hero-copy > .lede { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: .84rem; line-height: 1.45; }
  .build .hero-copy > .hero-ctas { grid-column: 2; grid-row: 3; margin-top: .7rem; gap: .5rem; }
  .build .hero-copy > .free { grid-column: 2; grid-row: 4; margin-top: .55rem; gap: .3rem; }
  .build .hero-copy .free li { font-size: .62rem; padding: .3rem .5rem .3rem .4rem; }
  .hero-copy .hero-ctas .btn { min-height: 2.45rem; font-size: .84rem; padding: 0 1rem; flex: 0 1 auto; }
  .build .scroll-cue, .build .gauge, .build .rail { display: none; }
}
@media (max-width: 760px), (max-height: 520px) and (orientation: landscape) { .build .illu-note { top: calc(var(--bar) + env(safe-area-inset-top) + .6rem); bottom: auto; } }
@media (max-height: 520px) and (orientation: landscape) { .build .hero-copy > .kicker { align-self: end; } }
/* fin du film sur écran bas */
@media (max-width: 760px) {
  .build__end { bottom: max(1rem, env(safe-area-inset-bottom)); }
  .build__end h2 { font-size: min(13vw, 7.4svh); margin-top: .8rem !important; }
  .build__end .lede { margin-top: .9rem; font-size: .95rem; line-height: 1.5; }
  .build__end .hero-ctas { margin-top: 1.1rem; gap: .5rem; }
  .build__end .build__replay { margin-top: .8rem; }
}
@media (max-width: 760px) and (max-height: 640px) { .build__end .lede { font-size: .86rem; } .build__end .hero-ctas .btn { min-height: 2.5rem; } }
@media (max-height: 520px) and (orientation: landscape) {
  .build__end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.2rem, 4vw, 3rem); align-items: end; right: var(--gutter); max-width: none; bottom: max(.9rem, env(safe-area-inset-bottom)); }
  .build__end > .kicker { grid-column: 1; grid-row: 1; }
  .build__end > h2 { grid-column: 1; grid-row: 2 / span 3; font-size: min(7vw, 14svh); margin-top: .5rem !important; }
  .build__end > .lede { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: .84rem; line-height: 1.45; }
  .build__end > .hero-ctas { grid-column: 2; grid-row: 3; margin-top: .7rem; gap: .5rem; }
  .build__end > .build__replay { grid-column: 2; grid-row: 4; justify-self: start; margin-top: .55rem; }
  .phase h2 { font-size: min(6vw, 12svh); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .build__end > .kicker, .build .hero-copy > .kicker { grid-row: 2; align-self: end; }
  .build__end > h2, .build .hero-copy > h1 { grid-row: 3 / span 2; }
}
/* menu ouvert : l'en-tête reste sombre et lisible, quel que soit le fond de la page derrière */
.menu-open .bar, .menu-open .bar.is-solid, .menu-open .bar.on-paper-bar { background: color-mix(in oklab, var(--ink) 94%, transparent); color: var(--bone); transform: none; }
.menu-open .bar .logo, .menu-open .bar.on-paper-bar .logo { color: var(--bone); }

/* film d'accueil : mention, rail et indication de défilement ne se croisent plus avec le texte */
.build.is-moving .illu-note { opacity: 0; }
.build .rail { transition: opacity .5s; }
.build:not(.is-moving):not(.is-end) .rail { opacity: 0; }
@media (max-width: 1200px) { .build .scroll-cue { display: none; } }
/* cartes métiers en tablette */
@media (max-width: 1200px) { .hs__k { font-size: 4.6rem; } .hs__grp { max-width: 50%; text-align: right; line-height: 1.3; } }
/* espacements manquants entre un titre et le bloc suivant */
.demain-hero__in .lede { margin-top: 1.4rem; }
.rainx__box { margin-top: clamp(2rem, 4vw, 3rem); }
.rfl__gap { gap: .45rem; }
/* titres d'un seul long mot sur très petit écran */
@media (max-width: 420px) { .legal h1 { font-size: 12vw; } }
/* toiture en éclaté en tablette : la liste des couches ne remonte plus sur le texte d'introduction */
@media (min-width: 760px) and (max-width: 1100px) { .x3d__head .lede { display: none; } }
