/* ==========================================================================
   Raval Déco — styles.css
   Blanc cassé #F6F3EE · ardoise #1F2328 · terracotta #C4622D
   Mobile-first, sans framework, sans !important.
   ========================================================================== */

/* Polices hébergées sur le site : aucune requête vers un tiers, aucun
   basculement tardif, donc aucun décalage de mise en page au chargement.
   Sous-ensemble latin (couvre tout le français, œ et € compris). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/fraunces-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Polices de secours aux métriques calées sur les polices web : tant que
   Fraunces et Inter ne sont pas chargées, le texte occupe exactement la même
   place, donc aucun décalage de mise en page au basculement. */
@font-face {
  font-family: "Fraunces Secours";
  src: local("Georgia");
  size-adjust: 95.94%;
  ascent-override: 101.94%;
  descent-override: 26.58%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Secours 2";
  src: local("Times New Roman"), local("Times");
  size-adjust: 101.58%;
  ascent-override: 96.28%;
  descent-override: 25.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Secours";
  src: local("Segoe UI");
  size-adjust: 110.11%;
  ascent-override: 87.98%;
  descent-override: 21.91%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Secours 2";
  src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 104.75%;
  ascent-override: 92.48%;
  descent-override: 23.03%;
  line-gap-override: 0%;
}

:root {
  --bg: #F6F3EE;
  --bg-2: #EFEAE1;
  --surface: #FFFFFF;
  --ink: #1F2328;
  --ink-2: #2A3036;
  --muted: #565D64;
  --line: #E1DBD0;          /* filets décoratifs */
  --line-field: #908C85;    /* bordures de champs : 3:1 minimum, exigé pour les composants */
  --accent: #C4622D;          /* accent visuel : grands chiffres, aplats, traits */
  --accent-strong: #9E4B1E;   /* même teinte plus foncée : textes et boutons (AA) */
  --accent-tint: #F0DCD0;
  --accent-on-dark: #E07A45;  /* accent lisible sur ardoise */
  --on-dark: #F6F3EE;
  --on-dark-muted: #BFC5CB;
  --line-on-dark: rgba(246, 243, 238, .14);
  --focus: #1F5FBF;
  --logo-accent: var(--accent);

  --font-title: "Fraunces", "Fraunces Secours", "Fraunces Secours 2", Georgia, serif;
  --font-body: "Inter", "Inter Secours", "Inter Secours 2", system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 24px;
  --radius-sm: 12px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 80px; /* barre CTA mobile */
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.03em;
}
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.6vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
address { font-style: normal; }
strong { font-weight: 600; }
small { font-size: .85em; }

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

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--on-dark);
  padding: .7rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong); margin: 0 0 1.1rem;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 58ch; line-height: 1.5; }
.note { font-size: .92rem; color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); font-size: .9em; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 34px; height: 34px; stroke-width: 1.3; }
.stars { width: 110px; height: 22px; fill: var(--accent); }
.stars-lg { width: 150px; height: 30px; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.logo { height: 30px; width: auto; color: var(--ink); fill: currentColor; }
.logo .logo-accent { fill: var(--logo-accent); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.05rem; }

.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(31, 35, 40, .18); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--accent-strong); color: #fff; }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--line-field); }
.btn-outline-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(246, 243, 238, .55); }
.btn-outline-light:hover { background: rgba(246, 243, 238, .12); color: #fff; }

/* --------------------------------------------------------------------------
   1. Header : transparent sur le hero, solide au défilement
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid {
  background: var(--bg);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(31, 35, 40, .04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.site-nav a {
  display: block; padding: .55rem .7rem; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.site-nav a:hover { background: var(--accent-tint); color: var(--accent-strong); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-phone { display: none; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; padding: .4rem .2rem; }
.header-phone:hover { color: var(--accent-strong); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 12px;
  background: transparent; border: 1.5px solid var(--line-field); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1099px) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(31, 35, 40, .12);
    padding: .5rem var(--gutter) 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: .85rem .4rem; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--font-title); font-weight: 700; letter-spacing: -.01em; }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-header.is-open { background: var(--bg); border-bottom-color: var(--line); }
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .header-phone { display: inline-flex; }
}
@media (max-width: 420px) {
  .header-actions .btn-sm { display: none; }
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */
.hero { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.hero-copy { max-width: 40rem; }
.hero h1 { margin-bottom: .4em; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 46ch; line-height: 1.5; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .95rem; color: var(--muted); margin: 0; }
.hero-proof strong { color: var(--ink); }
.hero-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(31, 35, 40, .35); }

@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + 4rem); padding-bottom: 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6.5fr); gap: 4rem; }
  .hero-media { margin-right: calc(50% - 50vw); }
  .hero-media img { border-radius: var(--radius) 0 0 var(--radius); aspect-ratio: 16 / 11; }
}
@media (min-width: 1400px) {
  .hero-media { margin-right: calc((1280px - 100vw) / 2 - var(--gutter)); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
  /* Le rendu des sections hors écran est différé : sur une page longue,
     c'est ce qui coûte le plus cher en calcul de style et de mise en page. */
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .note { color: var(--on-dark-muted); }
.section-dark .eyebrow { color: var(--accent-on-dark); }
.section-dark a { color: var(--on-dark); }
.section-dark a:hover { color: var(--accent-on-dark); }
.section-dark .icon { color: var(--accent-on-dark); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: var(--accent-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E4B1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  background-size: 60%; background-position: center; background-repeat: no-repeat;
}
.section-dark .check-list li::before {
  background-color: rgba(224, 122, 69, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E07A45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. Chiffres clés
   -------------------------------------------------------------------------- */
.stats { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
.stat-num {
  font-family: var(--font-title); font-weight: 700; letter-spacing: -.04em; line-height: .9;
  font-size: clamp(4rem, 9vw, 7rem); color: #fff; margin: 0 0 .5rem;
  font-variant-numeric: tabular-nums;
}
.stat-num sup, .stat-num small { font-size: .38em; font-weight: 600; letter-spacing: 0; }
.stat-num sup { color: var(--accent-on-dark); vertical-align: top; position: relative; top: .35em; margin-left: .05em; }
.stat-num small { color: var(--on-dark-muted); }
.stat-label { color: var(--on-dark-muted); font-size: .95rem; max-width: 18ch; margin: 0; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .stat + .stat { border-left: 1px solid var(--line-on-dark); padding-left: 2rem; }
}

/* --------------------------------------------------------------------------
   4. Services : liste éditoriale asymétrique
   -------------------------------------------------------------------------- */
.services { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(3rem, 6vw, 5rem); }
.service {
  display: grid; gap: 1.5rem; align-items: center;
  grid-template-columns: 1fr;
  scroll-margin-top: calc(var(--header-h) + 16px);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.service-index { font-family: var(--font-title); font-size: 1.1rem; color: var(--accent-strong); letter-spacing: 0; }
.service-copy .icon-lg { color: var(--accent-strong); margin-bottom: 1rem; }
.service-copy p { color: var(--muted); max-width: 46ch; }
.service-copy .check-list { margin-bottom: 0; font-size: .98rem; }
.service-media { overflow: hidden; border-radius: var(--radius); }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service-media img { transform: scale(1.03); }
@media (min-width: 900px) {
  .service { grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 3rem; }
  .service:nth-child(even) { grid-template-columns: 3.5rem minmax(0, 6fr) minmax(0, 5fr); }
  .service:nth-child(even) .service-copy { order: 3; }
  .service:nth-child(even) .service-media { order: 2; }
  .service-index { align-self: start; padding-top: .35rem; }
}

/* --------------------------------------------------------------------------
   5. Avant / après
   -------------------------------------------------------------------------- */
.ba-grid { display: grid; gap: 2rem 1.75rem; grid-template-columns: 1fr; }
.ba { margin: 0; }
.ba-frame {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: var(--radius); background: var(--ink-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  touch-action: pan-y;
}
.ba-frame picture, .ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px;
  background: #fff; transform: translateX(-50%); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2328' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.ba-tag {
  position: absolute; top: .9rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(31, 35, 40, .82); color: #fff; pointer-events: none;
}
.ba-tag-before { left: .9rem; }
.ba-tag-after { right: .9rem; background: var(--accent-strong); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-frame:focus-within { outline: 3px solid var(--accent-on-dark); outline-offset: 4px; }
.ba figcaption { margin-top: .9rem; font-size: .92rem; color: var(--on-dark-muted); }
@media (min-width: 640px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ba-grid { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   6. Avis
   -------------------------------------------------------------------------- */
.avis-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
.avis-score { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); }
.score-num { font-family: var(--font-title); font-weight: 700; font-size: clamp(4.5rem, 9vw, 7rem); line-height: .9; letter-spacing: -.04em; margin: 0 0 1rem; }
.score-num span { font-size: .35em; color: var(--muted); letter-spacing: 0; }
.avis-score .stars-lg { margin-bottom: 1rem; }
.score-label { font-weight: 500; margin-bottom: 1.5rem; }
.themes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.themes li { padding: 1.1rem 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.themes strong { display: block; color: var(--ink); font-family: var(--font-title); font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: .15rem; }
@media (min-width: 900px) {
  .avis-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
  .avis-score { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* --------------------------------------------------------------------------
   7. Processus
   -------------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.step {
  position: relative; border: 1px solid var(--line-on-dark); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.6rem; background: rgba(255, 255, 255, .03);
  transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .06); border-color: rgba(246, 243, 238, .3); }
.step-num { position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--font-title); font-size: 2.2rem; line-height: 1; color: var(--accent-on-dark); letter-spacing: -.03em; }
.step .icon-lg { margin-bottom: 1.4rem; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--on-dark-muted); font-size: .96rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; } .step { padding: 1.5rem 1.25rem; } }

/* --------------------------------------------------------------------------
   8. Aides & certifications
   -------------------------------------------------------------------------- */
.aides-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
.aides-copy h2 { max-width: 20ch; }
.certs { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.cert { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cert .icon-lg { color: var(--accent-strong); margin-top: .1rem; }
.cert h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.cert p { color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .aides-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; } }

/* --------------------------------------------------------------------------
   9. Copropriétés
   -------------------------------------------------------------------------- */
.copro-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.copro-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 9 / 7; object-fit: cover; }
.copro-copy p { color: var(--on-dark-muted); }
.copro-copy .check-list { color: var(--on-dark); }
.callout {
  border-left: 3px solid var(--accent-on-dark); padding: .2rem 0 .2rem 1.25rem; margin: 1.5rem 0 2rem;
  color: var(--on-dark-muted); font-size: .98rem;
}
.callout strong { color: #fff; }
@media (min-width: 1024px) {
  .copro-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 5rem; }
  .copro-media { margin-left: calc(50% - 50vw); }
  .copro-media img { border-radius: 0 var(--radius) var(--radius) 0; }
}
@media (min-width: 1400px) {
  .copro-media { margin-left: calc((1280px - 100vw) / 2 - var(--gutter)); }
}

/* --------------------------------------------------------------------------
   10. Zone
   -------------------------------------------------------------------------- */
.zone-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
.cities { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.cities li { padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .95rem; }
.zone-map { margin: 0; }
.zone-map svg { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(31, 35, 40, .35); }
.zone-map figcaption { margin-top: .8rem; font-size: .9rem; color: var(--muted); text-align: center; }
@media (min-width: 900px) { .zone-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; } }

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
.faq-item { border-top: 1px solid var(--line-on-dark); }
.faq-item:last-child { border-bottom: 1px solid var(--line-on-dark); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.35rem 3rem 1.35rem 0; font-family: var(--font-title); font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px;
  border-right: 1.5px solid var(--accent-on-dark); border-bottom: 1.5px solid var(--accent-on-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 0 0 1.5rem; color: var(--on-dark-muted); max-width: 62ch; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-bottom: 0; }
}

/* --------------------------------------------------------------------------
   12. Devis : formulaire en deux étapes
   -------------------------------------------------------------------------- */
.devis-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; color: var(--muted); font-size: .98rem; }
.contact-list .icon { color: var(--accent-strong); margin-top: .15rem; }
.contact-list a { font-weight: 600; }

.devis-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 40px 80px -50px rgba(31, 35, 40, .35);
}
.form-progress { margin-bottom: 1.75rem; }
.form-progress-label { font-size: .9rem; color: var(--muted); margin: 0 0 .6rem; }
.form-progress-label .step-current { font-weight: 600; color: var(--ink); }
.progress { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.progress li { flex: 1; height: 4px; border-radius: 999px; background: var(--bg-2); transition: background-color .45s var(--ease); }
.progress li.is-done { background: var(--accent); }

.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
/* Sans JavaScript, les deux étapes s'affichent à la suite : le formulaire
   reste utilisable au lieu d'être à moitié invisible. */
.no-js .form-step[hidden] { display: block; }
.no-js .form-progress, .no-js [data-next], .no-js [data-prev] { display: none; }
.no-js .form-step + .form-step { margin-top: 1.5rem; }
.form-step legend { font-family: var(--font-title); font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 1.1rem; padding: 0; }
.form-step legend:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1.5rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; top: .8rem; right: .8rem; z-index: 1; width: 22px; height: 22px; margin: 0; accent-color: var(--accent-strong); cursor: pointer; }
.choice-box {
  display: flex; flex-direction: column; gap: .6rem; height: 100%; min-height: 112px;
  padding: 1rem; border: 1.5px solid var(--line-field); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.choice:hover .choice-box { border-color: var(--ink); transform: translateY(-2px); }
.choice .icon { color: var(--accent-strong); }
.choice-label { font-weight: 600; font-size: .95rem; line-height: 1.25; padding-right: 1.6rem; }
.choice input:checked ~ .choice-box { border-color: var(--accent-strong); background: var(--accent-tint); }
.choice input:focus-visible ~ .choice-box { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice.is-invalid .choice-box { border-color: #A4151C; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; scroll-margin-bottom: 96px; }
.form-consent, .form-actions { scroll-margin-bottom: 96px; }
.form-row label { font-weight: 600; font-size: .95rem; }
.devis-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.devis-form select,
.devis-form textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line-field); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.devis-form textarea { resize: vertical; min-height: 96px; }
.devis-form input:focus, .devis-form select:focus, .devis-form textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 4px var(--accent-tint); }
.devis-form input[type="file"] { font-size: .92rem; padding: .4rem 0; }
.devis-form .is-invalid { border-color: #A4151C; box-shadow: 0 0 0 4px rgba(164, 21, 28, .12); }
.form-consent { display: flex; align-items: flex-start; gap: .75rem; margin: .5rem 0 1.5rem; }
.form-consent input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--accent-strong); flex: none; }
.form-consent label { font-size: .92rem; color: var(--muted); }
.form-consent.is-invalid label { color: #A4151C; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; margin: 1rem 0 0; min-height: 1.4em; }
.form-status.ok { color: #1F6236; }
.form-status.err { color: #A4151C; }
.devis-form .note { margin-top: .75rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .devis-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
  .devis-copy { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; font-size: .93rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--accent-on-dark); }
.site-footer .logo { color: var(--on-dark); --logo-accent: var(--accent-on-dark); height: 34px; margin-bottom: 1.25rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-title { font: 600 .8rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 .8rem; }
.footer-title + p { margin-bottom: 1.5rem; }
.footer-line { margin-top: 1rem; font-size: .88rem; }
.plain-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plain-list li { margin-bottom: .4rem; }
.legal summary { cursor: pointer; font-weight: 600; color: var(--on-dark); }
.legal-body { margin-top: .8rem; font-size: .86rem; line-height: 1.55; }
.legal-body p { margin-bottom: .6rem; }
.footer-bottom { border-top: 1px solid var(--line-on-dark); margin-top: 3rem; padding-top: 1.25rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 3rem; } }

/* --------------------------------------------------------------------------
   Barre CTA mobile
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .65rem var(--gutter);
  padding-bottom: calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  border-top: 1px solid var(--line-on-dark);
}
.sticky-cta .btn { padding: .8rem .5rem; font-size: .95rem; }
@media (min-width: 768px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

/* --------------------------------------------------------------------------
   Préférences utilisateur, capture, impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .step, .choice, .service-media img, .progress li, .nav-toggle span, .faq-item summary::after, .site-header { transition: none; }
  .btn:hover, .step:hover, .choice:hover { transform: none; }
  .service:hover .service-media img { transform: none; }
}
.capture .reveal { opacity: 1; transform: none; transition: none; }
.capture .section { content-visibility: visible; }
@media print {
  .site-header, .sticky-cta, .nav-toggle, .ba-range, .skip-link { display: none; }
  body { padding-bottom: 0; background: #fff; }
  .section { padding: 1.5rem 0; }
  .section-dark { background: #fff; color: var(--ink); }
  .section-dark h2, .section-dark h3, .section-dark .lead, .section-dark p { color: var(--ink); }
  .js .reveal { opacity: 1; transform: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
