/* ==========================================================================
   etancheite-broye.com — « bitume & cuivre »
   Registre technique sombre : bitume, membranes, solins cuivre. Aurore à
   plusieurs foyers posée au repos (pas seulement au survol), grain léger,
   profondeur de calque réelle. Le contenu ne dépend jamais du JS ni du
   scroll pour être visible — le JS ajoute seulement une classe d'amorce.
   ========================================================================== */

/* ---- Polices auto-hébergées (variables, latin) ---- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  /* Bitume : du noir mat au reflet chaud */
  --noir:     #0d0a08;
  --bitume-1: #120f0c;
  --bitume-2: #1c1710;
  --bitume-3: #2b2115;
  --bitume-4: #3c2f1e;

  /* Cuivre : solins, flashing, membrane oxydée */
  --cuivre-sombre: #8a5a34;
  --cuivre:        #c9834c;
  --cuivre-vif:    #e39a5c;
  --cuivre-clair:  #f2c395;

  /* Texte sur fond sombre */
  --texte:      #cdc4b4;
  --texte-fort: #f5efe4;
  --texte-2:    #a89c8a;

  /* Verre */
  --glass:     rgba(255, 255, 255, .05);
  --glass-2:   rgba(255, 255, 255, .085);
  --glass-brd: rgba(227, 154, 92, .22);
  --glow:      rgba(227, 154, 92, .38);

  /* Ombres : jamais du noir plat */
  --shadow-xs:    0 1px 2px rgba(8, 5, 3, .35);
  --shadow-card:  0 4px 10px rgba(8, 5, 3, .35), 0 24px 60px rgba(8, 5, 3, .5);
  --shadow-float: 0 10px 22px rgba(8, 5, 3, .4), 0 40px 90px rgba(8, 5, 3, .6);
  --shadow-cta:   0 0 0 1px rgba(227, 154, 92, .4), 0 10px 26px rgba(138, 90, 52, .5), 0 4px 40px rgba(227, 154, 92, .3);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --section-y: clamp(4rem, 9vw, 7rem);
  --container: 72rem;
  --gutter: clamp(1.125rem, 4vw, 2rem);

  --f-titre: 'Archivo', system-ui, -apple-system, sans-serif;
  --f-texte: 'Manrope', system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.4rem, 1.1rem + 5vw, 4.4rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-stat: clamp(2.4rem, 1.4rem + 3.6vw, 3.6rem);

  --z-fond: 0;
  --z-contenu: 1;
  --z-header: 40;
  --z-nav: 50;
  --z-modal: 60;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--noir);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  color: var(--texte-fort);
  line-height: 1.14;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0 0 .6em;
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }

p, ul, ol { margin: 0 0 1.1em; }
main p, main li { max-width: 68ch; text-wrap: pretty; }
ul, ol { padding-left: 1.35em; }
li { margin-bottom: .4em; }

a { color: var(--cuivre-clair); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--texte-fort); }

strong { color: var(--texte-fort); font-weight: 700; }
small { font-size: var(--fs-small); color: var(--texte-2); }

img, svg { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--cuivre-vif);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: .5rem;
  background: var(--texte-fort);
  color: var(--noir);
  font-weight: 700;
  padding: .6rem 1rem;
  border-radius: var(--r-sm);
  z-index: 100;
}
.skip-link:focus { left: .5rem; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: var(--z-contenu);
}

section { padding-block: var(--section-y); position: relative; z-index: var(--z-contenu); }
section.tight { padding-block: calc(var(--section-y) * .55); }

/* ---- Rythme des sections ----
   Sections claires (.s-clair) : surfaces posées sur le fond sombre, l'œil
   se repose, les chiffres se lisent. Sections sombres (.s-sombre / .s-hero)
   restent dans l'ambiance bitume. Tout se joue en redéfinissant les
   variables : la cascade fait le reste. */
.s-clair {
  background: linear-gradient(180deg, #faf7f0, #f2ece0);
  color: #2b2115;
  --texte:      #3d3220;
  --texte-fort: #1c1509;
  --texte-2:    #6b5c44;
  --cuivre-clair: #a85f28;
  --glass:      rgba(255, 255, 255, .85);
  --glass-2:    rgba(255, 255, 255, .95);
  --glass-brd:  rgba(28, 21, 9, .1);
  --glow:       rgba(168, 95, 40, .18);
  --shadow-xs:    0 1px 2px rgba(28, 21, 9, .06);
  --shadow-card:  0 2px 4px rgba(28, 21, 9, .05), 0 12px 30px rgba(28, 21, 9, .09);
  --shadow-float: 0 8px 16px rgba(28, 21, 9, .07), 0 26px 54px rgba(28, 21, 9, .13);
}
.s-clair .carte,
.s-clair .stat,
.s-clair .etapes li,
.s-clair .prix-carte,
.s-clair .faq-liste details,
.s-clair .table-scroll {
  background: #fff;
  border-color: rgba(28, 21, 9, .09);
  box-shadow: var(--shadow-card);
}
.s-clair .icone-pastille { background: #f3e6d3; border-color: rgba(28, 21, 9, .08); color: #a85f28; }
.s-clair thead th { background: #f3e6d3; color: #8a4f1f; }
.s-clair tbody tr:hover { background: #faf3e8; }
.s-clair th, .s-clair td { border-top-color: rgba(28, 21, 9, .09); }
.s-clair .etapes li::before { color: rgba(168, 95, 40, .13); }
.s-clair .encadre { background: #f6ead6; border-color: rgba(168, 95, 40, .28); }
.s-clair .encadre.avertissement { background: #fdece2; border-color: rgba(196, 74, 42, .3); }
.s-clair .chip { background: #f3e6d3; color: #8a4f1f; border-color: rgba(28, 21, 9, .08); }
.s-clair .chip-liste a { background: #fff; color: #1c1509; border-color: rgba(28, 21, 9, .12); }
.s-clair .chip-liste a:hover { border-color: #a85f28; color: #8a4f1f; }
.s-clair .btn-ghost { background: #fff; color: #8a4f1f; border-color: rgba(28, 21, 9, .16); }
.s-clair .btn-ghost:hover { border-color: #a85f28; color: #1c1509; }
.s-clair .reassurance svg, .s-clair .devis-aside svg { filter: none; }
.s-clair .sources { border-top-color: rgba(28, 21, 9, .12); }
.s-clair .stat .nombre, .s-clair .hero-carte .valeur { text-shadow: none; }

/* Sections sombres */
.s-sombre { background: rgba(28, 18, 10, .45); }
.s-hero { background: transparent; }

/* ==========================================================================
   L'AMBIANCE — aurore à plusieurs foyers + grain, posée au repos
   ========================================================================== */
/* isolation: le calque d'ambiance compose son propre contexte d'empilement,
   pour que les navigateurs stabilisent le blend au lieu de le recalculer
   contre l'arrière-plan à chaque frame (cause connue de scintillement —
   voir le fix .fond-vivant appliqué sur carport-broye/_template). */
.ambiance { position: fixed; inset: 0; z-index: var(--z-fond); overflow: hidden; pointer-events: none; isolation: isolate; }

/* L'aurore est scindée en 3 foyers séparés (comme .fond-vivant), pas un seul
   grand calque à 3 dégradés + blur : un blur(70px) sur une zone géante
   (inset:-25%) recalculé en un bloc est nettement plus coûteux qu'3 petits
   cercles flous indépendants, chacun sur son propre calque GPU — c'est ce
   qui causait le scintillement, l'isolation seule ne suffisait pas. */
.ambiance .aurore { position: absolute; inset: 0; }
.ambiance .aurore i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.ambiance .aurore .f1 {
  width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; top: -12vw; left: -6vw;
  background: radial-gradient(circle at 45% 42%, rgba(227, 154, 92, .55), transparent 65%);
  opacity: .8;
}
.ambiance .aurore .f2 {
  width: 38vw; height: 38vw; max-width: 560px; max-height: 560px; top: -6vw; right: -8vw;
  background: radial-gradient(circle at 50% 40%, rgba(138, 90, 52, .5), transparent 62%);
  opacity: .75;
}
.ambiance .aurore .f3 {
  width: 30vw; height: 30vw; max-width: 440px; max-height: 440px; top: 12vw; left: 30vw;
  background: radial-gradient(circle at 50% 50%, rgba(242, 195, 149, .35), transparent 60%);
  opacity: .55;
}
.ambiance .sweep {
  position: absolute; inset: -20% -40%;
  background: linear-gradient(115deg, transparent 30%, rgba(227,154,92,.09) 45%, rgba(227,154,92,.14) 50%, rgba(227,154,92,.09) 55%, transparent 68%);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.ambiance .grain {
  position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Anneaux : ondes qui naissent d'un point fixe et s'estompent en s'agrandissant
   (goutte d'eau / onde d'humidité) — le détail que le hero doit garder.
   Grandissent via transform:scale (GPU), jamais width/height (layout à chaque frame). */
.ambiance .anneaux { position: absolute; left: 50%; top: 30%; width: 2px; height: 2px; }
.ambiance .anneaux i {
  position: absolute; left: 50%; top: 50%;
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border: 1px solid rgba(227, 154, 92, .38);
  border-radius: 50%;
  opacity: 0;
  transform: translateZ(0) scale(.015625);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .ambiance .aurore .f1 { animation: derive1 26s ease-in-out infinite alternate; }
  .ambiance .aurore .f2 { animation: derive2 32s ease-in-out infinite alternate; }
  .ambiance .aurore .f3 { animation: derive3 29s ease-in-out infinite alternate; }
  @keyframes derive1 { from { transform: translateZ(0) translate3d(0,0,0) scale(1); }    to { transform: translateZ(0) translate3d(-4%,4%,0) scale(1.1); } }
  @keyframes derive2 { from { transform: translateZ(0) translate3d(0,0,0) scale(1.05); } to { transform: translateZ(0) translate3d(5%,-4%,0) scale(1); } }
  @keyframes derive3 { from { transform: translateZ(0) translate3d(0,0,0) scale(1); }    to { transform: translateZ(0) translate3d(-5%,-5%,0) scale(1.08); } }
  .ambiance .sweep { animation: sweep 11s ease-in-out infinite alternate; }
  @keyframes sweep { from { transform: translateZ(0) translateX(-6%); } to { transform: translateZ(0) translateX(6%); } }
  .ambiance .anneaux i { animation: onde 4.5s ease-out infinite; }
  .ambiance .anneaux i:nth-child(2) { animation-delay: 1.5s; }
  .ambiance .anneaux i:nth-child(3) { animation-delay: 3s; }
  @keyframes onde { 0% { transform: translateZ(0) scale(.015625); opacity: .7; } 100% { transform: translateZ(0) scale(1); opacity: 0; } }
}

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--f-texte);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  padding: .9rem 1.85rem;
  min-height: 50px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease-out, background-color .2s, border-color .2s, color .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cuivre-vif), var(--cuivre-sombre));
  color: #1c1005;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  color: #1c1005;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(227, 154, 92, .6), 0 16px 42px rgba(201, 131, 76, .5);
}
.btn-wa { background: linear-gradient(135deg, #35d17e, #12925a); color: #032218; box-shadow: 0 0 0 1px rgba(53,209,126,.35), 0 10px 30px rgba(18, 140, 80, .45); }
.btn-wa:hover { color: #032218; transform: translateY(-2px); }
.btn-ghost {
  background: var(--glass);
  color: var(--texte-fort);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--cuivre-vif); color: var(--cuivre-clair); }
.btn-blanc { background: var(--texte-fort); color: #2b1c10; box-shadow: var(--shadow-card); }
.btn-blanc:hover { color: #2b1c10; transform: translateY(-2px); }

/* ---- Verre ---- */
.glass {
  background: linear-gradient(165deg, var(--glass-2), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--shadow-card);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass { -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35); }
}

/* Bordure-dégradé qui capte la lumière (pour les panneaux premium) */
.glass-lumiere {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bitume-2), var(--bitume-2)) padding-box,
    linear-gradient(135deg, rgba(242,195,149,.55), rgba(227,154,92,.15) 40%, transparent 70%) border-box;
}

/* ---- Chips & badges ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  color: var(--cuivre-clair);
  border-radius: var(--r-pill);
  font-size: .845rem;
  font-weight: 700;
  padding: .42rem 1rem;
}
.chip--data { background: var(--glass); }

.chip-liste { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0; margin: 0 0 1.1em; list-style: none; }
.chip-liste li { margin: 0; }
.chip-liste a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-pill);
  padding: .58rem 1.15rem;
  min-height: 44px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--texte-fort);
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color .2s, transform .2s cubic-bezier(.16,1,.3,1), color .2s;
}
.chip-liste a:hover { border-color: var(--cuivre-vif); color: var(--cuivre-clair); transform: translateY(-2px); }
.chip-liste .pin { color: var(--cuivre); flex: none; }

/* ---- Header : barre pleine largeur, fine, pas de pilule ---- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(13, 10, 8, .72); border-bottom: 1px solid var(--glass-brd); }
@supports (backdrop-filter: blur(1px)) {
  .site-header { -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.site-header .wrap { display: flex; align-items: center; gap: 1.4rem; min-height: 4.2rem; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-titre);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--texte-fort);
  text-decoration: none;
  margin-right: auto;
}
.logo svg { flex: none; filter: drop-shadow(0 0 9px var(--glow)); animation: respire 4.2s ease-in-out infinite; }
@keyframes respire { 50% { filter: drop-shadow(0 0 18px var(--glow)); } }
.logo span { color: var(--cuivre-vif); }

.site-header nav { display: flex; align-items: center; gap: 1.35rem; }
.site-header nav a { font-size: .93rem; font-weight: 650; color: var(--texte); text-decoration: none; padding: .35rem 0; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--cuivre-clair); }
.site-header nav .mobile-devis { display: none; }

.cta-header { padding: .6rem 1.25rem; min-height: 42px; font-size: .9rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; color: var(--texte-fort); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icone-fermer { display: none; }
.nav-toggle[aria-expanded="true"] .icone-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icone-fermer { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header nav {
    display: none;
    position: absolute;
    inset: calc(100% + 1px) 0 auto 0;
    z-index: var(--z-nav);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 7, 5, .97);
    border-bottom: 1px solid var(--glass-brd);
    padding: .6rem 0;
  }
  @supports (backdrop-filter: blur(1px)) {
    .site-header nav { background: rgba(10, 7, 5, .85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  }
  .site-header nav.nav-open { display: flex; }
  .site-header nav a { padding: .85rem var(--gutter); font-size: 1.05rem; }
  .site-header nav .mobile-devis { display: block; color: var(--cuivre-clair); }
  .cta-header { display: none; }
  body.nav-locked { overflow: hidden; }
}

/* ---- Hero plein écran ---- */
.hero { min-height: 92vh; display: flex; align-items: center; padding-block: clamp(2.4rem,6vw,3.5rem); }
.hero .hero-grid { display: grid; gap: clamp(2.4rem, 5vw, 3.8rem); align-items: center; width: 100%; }
@media (min-width: 960px) { .hero .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-titre); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cuivre-clair); background: var(--glass); border: 1px solid var(--glass-brd);
  border-radius: var(--r-pill); padding: .42rem .95rem .42rem .7rem; margin-bottom: 1.3rem;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--cuivre-vif); display: block; }

.hero h1 { margin-bottom: 1.05rem; }
.hero h1 .accent-degrade {
  background: linear-gradient(100deg, var(--cuivre-clair), var(--cuivre-vif) 60%, var(--cuivre));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-block: .22em; margin-block: -.22em; display: inline-block;
}
.hero .lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.24rem); color: var(--texte); max-width: 36em; margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.6rem; }
.hero-note { margin-top: 1.1rem; font-size: .92rem; color: var(--texte-2); max-width: 40em; }

.hero .reassurance-inline { display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; font-size: .87rem; color: var(--texte-2); padding-top: 1.3rem; border-top: 1px solid var(--glass-brd); }
.hero .reassurance-inline span { display: inline-flex; align-items: center; gap: .45rem; }
.hero .reassurance-inline svg { color: var(--cuivre-vif); flex: none; }

/* Entrée douce du hero — CSS pur, jamais de contenu masqué en attente de JS */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hero .hero-grid > div:first-child { animation: hero-in .7s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-carte { animation: hero-in .7s cubic-bezier(.16, 1, .3, 1) .12s both; }
}

/* Carte fiche / mesure — verre avec bordure-lumière + coins-repère */
.hero-carte {
  padding: clamp(1.5rem, 3.5vw, 2.1rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), var(--shadow-float);
  position: relative;
}
.hero-carte::before, .hero-carte::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--cuivre); border-style: solid; opacity: .85; pointer-events: none;
}
.hero-carte::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-carte::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero-carte .fiche-tag { font-family: var(--f-titre); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); margin-bottom: .3rem; }
.hero-carte h2, .hero-carte h3 { font-size: 1.1rem; font-weight: 700; color: var(--texte-fort); margin-bottom: 1.1rem; }
.hero-carte .valeur {
  font-family: var(--f-titre);
  font-size: clamp(3.6rem, 2rem + 6.5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--texte-fort);
  text-shadow: 0 0 46px rgba(227, 154, 92, .5);
  font-variant-numeric: tabular-nums;
  margin: .3rem 0 .2rem;
}
.hero-carte .valeur small { font-size: .28em; font-weight: 700; color: var(--cuivre-clair); letter-spacing: 0; }

.frow { margin-bottom: .8rem; }
.frow label { display: block; font-size: .76rem; font-weight: 700; color: var(--texte-2); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .04em; }
.frow input, .frow select, .frow textarea {
  width: 100%; font: inherit; color: var(--texte-fort);
  background: rgba(0,0,0,.28);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-sm);
  padding: .65rem .8rem; min-height: 46px; font-size: .92rem;
}
.frow textarea { min-height: 6rem; resize: vertical; }
.frow input::placeholder, .frow textarea::placeholder { color: #7a6f5c; }
.frow input:focus, .frow select:focus, .frow textarea:focus {
  outline: 3px solid rgba(227, 154, 92, .4); outline-offset: 0; border-color: var(--cuivre-vif);
}
.frow-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hero-carte .btn { width: 100%; margin-top: .3rem; }
.hero-carte .note { font-size: .76rem; color: var(--texte-2); margin-top: .8rem; }

/* ---- Badge flottant : profondeur de calque, à cheval sur la limite de section ---- */
.badge-zone { padding-block: 0 clamp(1.75rem, 4vw, 3rem); position: relative; z-index: 3; }

.badge-flottant {
  position: relative;
  z-index: 3;
  max-width: 30rem;
  margin: 0 auto;
  margin-top: clamp(-3rem, -4vw, -1.75rem);
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--shadow-float), 0 0 70px rgba(201,131,76,.18);
}
.badge-flottant .chiffre {
  font-family: var(--f-titre); font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--texte-fort);
  text-shadow: 0 0 30px rgba(227,154,92,.4); font-variant-numeric: tabular-nums; flex: none;
}
.badge-flottant .texte { font-size: .92rem; color: var(--texte); }
.badge-flottant .texte strong { display: block; color: var(--texte-fort); font-family: var(--f-titre); font-size: 1rem; margin-bottom: .1rem; }

/* ---- Bandeau réassurance ---- */
.reassurance {
  border-block: 1px solid var(--glass-brd);
  background: linear-gradient(180deg, rgba(28, 18, 10, .5), rgba(13, 10, 8, .3));
  padding-block: 1.1rem;
  position: relative;
  z-index: var(--z-contenu);
}
@supports (backdrop-filter: blur(1px)) { .reassurance { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } }
.reassurance ul { display: flex; flex-wrap: wrap; gap: .55rem 2.2rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.reassurance li { display: inline-flex; align-items: center; gap: .55rem; font-size: .94rem; font-weight: 650; color: var(--texte); margin: 0; }
.reassurance svg { color: var(--cuivre-vif); flex: none; filter: drop-shadow(0 0 6px var(--glow)); }

/* ---- Cartes ---- */
.grille { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); margin-block: 2rem .5rem; }
.carte {
  background: linear-gradient(165deg, var(--glass-2), rgba(255, 255, 255, .015));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), var(--shadow-card);
  padding: 1.7rem 1.6rem;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(1px)) { .carte { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.carte:hover { transform: translateY(-4px); border-color: rgba(227, 154, 92, .45); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), var(--shadow-float); }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.carte .lien { font-weight: 700; text-decoration: none; }
.carte .lien::after { content: " →"; transition: transform .2s; display: inline-block; }
.carte:hover .lien::after { transform: translateX(3px); }
.carte .lien:hover { text-decoration: underline; }

.icone-pastille {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(227, 154, 92, .14);
  border: 1px solid var(--glass-brd);
  color: var(--cuivre-clair);
  display: grid; place-items: center; margin-bottom: 1rem;
}

/* ---- Stats ---- */
.stats { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin-block: 2rem; }
.stat {
  background: linear-gradient(165deg, var(--glass-2), rgba(255, 255, 255, .015));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), var(--shadow-card);
  padding: 1.6rem 1.5rem 1.4rem;
}
@supports (backdrop-filter: blur(1px)) { .stat { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.stat .nombre {
  font-family: var(--f-titre);
  font-size: var(--fs-stat);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: var(--texte-fort);
  text-shadow: 0 0 34px rgba(227, 154, 92, .35);
  font-variant-numeric: tabular-nums;
  display: block;
}
.stat .nombre small { font-size: .4em; font-weight: 700; color: var(--cuivre-clair); }
.stat p { margin: .55rem 0 0; font-size: var(--fs-small); }

/* ---- Étapes ---- */
.etapes {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  counter-reset: etape; list-style: none; padding: 0; margin-block: 2rem .5rem;
}
.etapes li {
  counter-increment: etape;
  position: relative;
  background: linear-gradient(165deg, var(--glass-2), rgba(255, 255, 255, .015));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), var(--shadow-card);
  padding: 1.8rem 1.6rem 1.5rem;
  overflow: hidden;
  margin: 0;
}
@supports (backdrop-filter: blur(1px)) { .etapes li { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute; top: -.32em; right: .18em;
  font-family: var(--f-titre); font-size: 4.6rem; font-weight: 700; letter-spacing: -.03em;
  color: rgba(227, 154, 92, .1); line-height: 1; pointer-events: none;
}
.etapes h3 { position: relative; margin-bottom: .4rem; }
.etapes p { position: relative; margin: 0; font-size: var(--fs-small); }

/* ---- Tableaux ---- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.9rem;
  border-radius: var(--r-md);
  background: linear-gradient(165deg, var(--glass-2), rgba(255, 255, 255, .015));
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-card);
}
@supports (backdrop-filter: blur(1px)) { .table-scroll { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 34rem; }
caption { text-align: left; font-weight: 700; color: var(--texte-fort); padding: 1.2rem 1.4rem .4rem; font-size: 1.02rem; }
th, td { text-align: left; padding: .82rem 1.4rem; border-top: 1px solid rgba(227, 154, 92, .12); vertical-align: top; }
thead th { border-top: 0; background: rgba(227, 154, 92, .07); color: var(--cuivre-clair); font-size: .86rem; letter-spacing: .02em; }
tbody th { font-weight: 650; color: var(--texte-fort); }
tbody tr:hover { background: rgba(227, 154, 92, .05); }
td .fh { font-weight: 800; color: var(--cuivre-clair); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- Cartes prix ---- */
.prix-grille { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); margin-block: 2rem .75rem; align-items: stretch; }
.prix-carte {
  background: linear-gradient(165deg, var(--glass-2), rgba(255, 255, 255, .015));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), var(--shadow-card);
  padding: 1.9rem 1.7rem;
  display: flex; flex-direction: column;
}
@supports (backdrop-filter: blur(1px)) { .prix-carte { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.prix-carte.vedette { border-color: rgba(227, 154, 92, .5); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--shadow-float), 0 0 60px rgba(201, 131, 76, .16); }
.prix-carte .montant {
  font-family: var(--f-titre);
  font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.3rem);
  font-weight: 700; letter-spacing: -.03em;
  color: var(--texte-fort); margin: .3rem 0 .1rem;
  font-variant-numeric: tabular-nums;
}
.prix-carte .montant small { font-size: .5em; font-weight: 700; color: var(--cuivre-clair); }
.prix-carte ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.prix-carte li { padding-left: 1.75em; position: relative; font-size: var(--fs-small); margin-bottom: .58em; }
.prix-carte li::before {
  content: ""; position: absolute; left: 0; top: .34em; width: 1.05em; height: 1.05em; border-radius: 50%;
  background: rgba(227, 154, 92, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23e39a5c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center/68% no-repeat;
}
.prix-carte .btn { margin-top: auto; }

/* ---- Rangées de prestations (photo + contenu, alternées) ----
   Remplace la grille de cartes icône+texte sans image : chaque prestation
   a sa propre vraie photo, un CTA plein poids, jamais juste un lien texte. */
.rangees-domaines { display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 5.5rem); margin-top: clamp(2rem, 5vw, 3rem); }
.rangee-domaine { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) {
  .rangee-domaine { grid-template-columns: 1.05fr .95fr; }
  .rangee-domaine.inverse { direction: rtl; }
  .rangee-domaine.inverse > * { direction: ltr; }
}
.rangee-domaine .photo-domaine {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-float);
}
.rangee-domaine .photo-domaine img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.rangee-domaine:hover .photo-domaine img { transform: scale(1.045); }
.rangee-domaine .photo-tag {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  font-family: var(--f-titre); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(13, 10, 8, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--r-pill); padding: .4rem .85rem;
}
.rangee-domaine .contenu-domaine .eyebrow { margin-bottom: 1rem; }
.rangee-domaine h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.8rem); margin-bottom: .7rem; }
.rangee-domaine .contenu-domaine p { max-width: 34em; }
.rangee-domaine .points-cles { list-style: none; padding: 0; margin: 1.1rem 0 1.6rem; display: grid; gap: .55rem; }
.rangee-domaine .points-cles li { display: flex; align-items: flex-start; gap: .6rem; margin: 0; font-size: var(--fs-small); font-weight: 650; }
.rangee-domaine .points-cles svg { color: var(--cuivre-vif); flex: none; margin-top: .15em; }

/* ---- FAQ ---- */
.faq-liste { margin-block: 1.9rem; }
.faq-liste details {
  background: linear-gradient(165deg, var(--glass-2), rgba(255, 255, 255, .015));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  margin-bottom: .8rem;
  overflow: hidden;
  transition: border-color .25s;
}
@supports (backdrop-filter: blur(1px)) { .faq-liste details { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.faq-liste details[open] { border-color: rgba(227, 154, 92, .4); }
.faq-liste summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--f-titre); font-size: 1.06rem; font-weight: 650; color: var(--texte-fort);
  min-height: 48px;
}
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e39a5c' stroke-width='2.4' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.faq-liste details[open] summary::after { transform: rotate(180deg); }
.faq-liste details > div { padding: 0 1.4rem 1.25rem; }
.faq-liste details > div > :last-child { margin-bottom: 0; }

/* ---- Formulaire (page devis pleine largeur) ---- */
.devis { padding: clamp(1.7rem, 4vw, 2.6rem); display: grid; gap: clamp(1.7rem, 4vw, 2.8rem); }
@media (min-width: 880px) { .devis { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.form-status { font-weight: 700; color: var(--cuivre-clair); margin-top: .8rem; }
.form-status:empty { display: none; }

.devis-aside h3 { margin-bottom: .8rem; }
.devis-aside ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.devis-aside li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .75rem; font-size: var(--fs-small); }
.devis-aside svg { color: var(--cuivre-vif); flex: none; margin-top: .2em; filter: drop-shadow(0 0 6px var(--glow)); }

/* ---- Bande CTA ---- */
.cta-bande {
  background: linear-gradient(135deg, rgba(92, 58, 24, .85), rgba(138, 90, 52, .7) 55%, rgba(201, 131, 76, .5));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  color: var(--texte-fort);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--shadow-float);
}
@supports (backdrop-filter: blur(1px)) { .cta-bande { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.cta-bande h2 { color: #fff; }
.cta-bande p { color: #f6e6d3; max-width: 46em; }
.cta-bande .hero-ctas { margin-top: 1.4rem; }
.cta-bande .hero-note { color: #ecd3b3; }

/* ---- Sections éditoriales ---- */
.entete-section { max-width: 46em; }
.entete-section .chip { margin-bottom: 1rem; }
.entete-section p.grand { font-size: clamp(1.05rem, 1rem + .4vw, 1.18rem); }

.deux-colonnes { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
@media (min-width: 880px) { .deux-colonnes { grid-template-columns: 1fr 1fr; } }

.encadre {
  background: rgba(227, 154, 92, .08);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  padding: 1.35rem 1.45rem;
  margin-block: 1.6rem;
}
.encadre.avertissement { background: rgba(214, 92, 46, .1); border-color: rgba(214, 92, 46, .32); }
.encadre > :last-child { margin-bottom: 0; }
.encadre .titre-encadre { display: block; font-family: var(--f-titre); font-weight: 700; color: var(--texte-fort); margin-bottom: .4rem; }

.sources { font-size: .875rem; color: var(--texte-2); border-top: 1px solid rgba(227, 154, 92, .14); padding-top: 1rem; margin-top: 2.2rem; }
.sources a { color: var(--texte-2); overflow-wrap: anywhere; }
.sources a:hover { color: var(--cuivre-clair); }

/* ---- Fil d'Ariane ---- */
.breadcrumb { font-size: .9rem; color: var(--texte-2); margin-bottom: 1.3rem; }
.breadcrumb a { color: var(--texte-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--cuivre-clair); text-decoration: underline; }

/* ---- Hero de pages intérieures (plus compact que le hero d'accueil) ---- */
.hero-page { padding-block: clamp(2.6rem, 6vw, 4.2rem); min-height: 0; display: block; }
.hero-page .lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); max-width: 42em; }
.hero-page .hero-ctas { margin-top: 1.4rem; }
.hero-page .chips-data { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(8, 5, 3, .92) 40%);
  border-top: 1px solid rgba(227, 154, 92, .14);
  color: var(--texte-2);
  padding-block: 3.4rem 2rem;
  font-size: var(--fs-small);
  position: relative;
  z-index: var(--z-contenu);
}
.site-footer .wrap { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: .88rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cuivre); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--texte); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--cuivre-clair); }
.site-footer .logo { color: var(--texte-fort); margin-bottom: .8rem; }
.site-footer .mentions { grid-column: 1 / -1; border-top: 1px solid rgba(227, 154, 92, .14); padding-top: 1.4rem; color: var(--texte-2); font-size: .875rem; }

/* ---- Page légale ---- */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; z-index: var(--z-contenu); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }

/* ---- Utilitaires ---- */
.centre { text-align: center; }
.centre .entete-section, .centre p { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }

/* ---- Scroll-reveal + compteurs (socle d'animation, JS ajoute .reveal si IO dispo) ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease-out, transform .55s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.grille .reveal:nth-child(2), .etapes .reveal:nth-child(2), .stats .reveal:nth-child(2) { transition-delay: .08s; }
.grille .reveal:nth-child(3), .etapes .reveal:nth-child(3), .stats .reveal:nth-child(3) { transition-delay: .16s; }
.grille .reveal:nth-child(4), .etapes .reveal:nth-child(4), .stats .reveal:nth-child(4) { transition-delay: .24s; }
.grille .reveal:nth-child(5), .etapes .reveal:nth-child(5), .stats .reveal:nth-child(5) { transition-delay: .32s; }

/* ---- Réglage système : tout s'immobilise ---- */
@media (prefers-reduced-motion: reduce) {
  .ambiance .aurore .f1, .ambiance .aurore .f2, .ambiance .aurore .f3, .ambiance .sweep, .ambiance .anneaux i,
  .logo svg,
  .hero .hero-grid > div:first-child, .hero-carte { animation: none !important; }
  .btn, .carte, .chip-liste a, .faq-liste summary::after { transition: none !important; }
  .hero .hero-grid > div:first-child, .hero-carte { opacity: 1; transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
