/* ==========================================================================
   VentiSoin — Entretien VMC Paris
   Design system : palette du site WordPress (teal #3ec1d3, orange #ff9a00,
   pine #2f5055), Poppins 600 (titres), Manrope (texte), Source Serif 600 (H1).
   ========================================================================== */

/* ---------- Fontes self-hosted ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-400.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif Pro';
  src: url('/assets/fonts/source-serif-pro-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --ink: #12272a;
  --ink-soft: #44595c;
  --pine: #2f5055;
  --pine-deep: #173234;
  --teal: #3ec1d3;
  --teal-hover: #2fb0c2;
  --teal-ink: #06353c;
  --link: #067383;
  --orange: #ff9a00;
  --orange-soft: #fff4e0;
  --mist: #e8f0f0;
  --cloud: #f7fafa;
  --line: #d9e4e5;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(23, 50, 52, .06);
  --shadow: 0 18px 44px -20px rgba(23, 50, 52, .28);
  --shadow-lg: 0 30px 70px -30px rgba(23, 50, 52, .35);

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', var(--font-body);
  --font-display: 'Source Serif Pro', Georgia, 'Times New Roman', serif;

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong { font-weight: 700; }
p a, li a { text-decoration: underline; text-decoration-thickness: 1px; }
p a:hover, li a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .85rem;
  text-wrap: balance;
}
h1 { font-family: var(--font-display); font-size: clamp(2.3rem, 5.2vw, 3.5rem); line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--ink-soft); line-height: 1.75; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal); color: var(--teal-ink); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pine-deep); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section--cloud { background: var(--cloud); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 3.6rem); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .97rem; line-height: 1.2;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal); color: var(--teal-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--teal-hover); box-shadow: 0 12px 26px -10px rgba(62, 193, 211, .65); }
.btn-ghost { background: transparent; color: var(--pine-deep); border-color: var(--pine); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--pine-deep); color: #fff; }
.btn-accent { background: var(--orange); color: #2b1d00; }
.btn-accent:hover, .btn-accent:focus-visible { background: #ffad33; }
.btn-white { background: #fff; color: var(--pine-deep); }
.btn-white:hover, .btn-white:focus-visible { background: var(--mist); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-link { background: none; border: none; padding: .4rem .2rem; color: var(--link); font-weight: 700; font-size: .92rem; text-decoration: underline; cursor: pointer; }
.btn-link:hover { color: var(--pine-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(23, 50, 52, .3); }
.header-inner {
  display: flex; align-items: center; gap: 1.6rem;
  min-height: var(--header-h);
  padding-block: 9px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 210px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.main-nav > a, .main-nav .nav-sub-btn {
  font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .045em;
  text-transform: uppercase; color: var(--pine-deep); text-decoration: none;
  padding: .35rem 0; border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.main-nav > a:hover, .main-nav .nav-sub-btn:hover { color: var(--link); text-decoration: none; }
.main-nav > a[aria-current="page"] { border-bottom-color: var(--teal); }
.nav-sub { position: relative; }
.nav-sub .sub {
  position: absolute; top: calc(100% + .6rem); left: -.9rem; min-width: 235px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .55rem; display: none; z-index: 95;
}
.nav-sub.open .sub, .nav-sub:hover .sub { display: block; }
.nav-sub .sub a {
  display: block; padding: .6rem .8rem; border-radius: 8px;
  font-size: .93rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav-sub .sub a:hover { background: var(--mist); color: var(--pine-deep); }
.header-cta { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .95rem; color: var(--pine-deep); text-decoration: none; }
.header-phone svg { width: 17px; height: 17px; color: var(--link); }
.header-phone:hover { color: var(--link); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; color: var(--pine-deep);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Drawer mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120; background: rgba(18, 39, 42, .45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: #fff; padding: 1.4rem; display: flex; flex-direction: column; gap: .3rem;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.77, .2, .05, 1);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-nav-head img { width: 168px; }
.mobile-nav-close { width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 1.3rem; cursor: pointer; color: var(--pine-deep); }
.mobile-nav a { padding: .85rem .6rem; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--cloud); }
.mobile-nav a:hover { background: var(--cloud); color: var(--link); }
.mobile-nav .mobile-sub { padding-left: 1rem; font-size: .95rem; }
.mobile-nav .btn { margin-top: 1rem; }
.mobile-nav .mobile-phone { font-weight: 800; color: var(--pine-deep); border-bottom: none; display: flex; align-items: center; gap: .5rem; }
.mobile-nav .mobile-phone svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(62, 193, 211, .16), transparent 62%),
    radial-gradient(600px 320px at -8% 108%, rgba(255, 154, 0, .07), transparent 60%),
    linear-gradient(180deg, var(--cloud) 0%, #fff 92%);
  padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(3rem, 6.5vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .95rem; font-size: .83rem; font-weight: 700; color: var(--pine);
  margin-bottom: 1.3rem; box-shadow: var(--shadow-sm);
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--link); }
.hero-lead { max-width: 34rem; margin-bottom: 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 700; color: var(--pine); margin: 0; }
.hero-points svg { width: 17px; height: 17px; color: var(--link); flex: none; }
.hero-visual { position: relative; }
.hero-img { position: relative; border-radius: var(--radius-lg); }
.hero-img::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 2px solid var(--teal); border-radius: var(--radius-lg); z-index: 0; opacity: .55;
}
.hero-img img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4.4;
}
.hero-badge {
  position: absolute; z-index: 2; left: -14px; bottom: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: .7rem 1rem; display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--pine-deep); }
.hero-badge .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s ease infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 193, 211, .5); }
  50% { box-shadow: 0 0 0 8px rgba(62, 193, 211, 0); }
}
.hero-flux { position: absolute; z-index: 0; top: -34px; right: -26px; width: 150px; color: var(--orange); opacity: .5; }

/* ---------- Blocs de rubrique ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .8rem;
  font-size: .86rem; font-weight: 800; color: var(--link); letter-spacing: .02em;
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); }

/* ---------- Q&A (AEO) ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.qa-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.qa-card h2, .qa-card h3 { font-size: 1.13rem; margin-bottom: .6rem; }
.qa-card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: .9rem; }
.qa-card .qa-more { margin-top: auto; font-weight: 700; font-size: .9rem; }
.qa-card .qa-more::after { content: " →"; }
.qa-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--pine-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.qa-icon svg { width: 22px; height: 22px; }

/* ---------- Split image/texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split-media--plain img { box-shadow: none; border: 1px solid var(--line); }
.split-body h2 { margin-bottom: 1rem; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; color: var(--ink-soft); }
.checklist svg { width: 20px; height: 20px; color: var(--teal-ink); background: var(--teal); border-radius: 50%; padding: 3px; flex: none; margin-top: 2px; }

/* ---------- Bande stats ---------- */
.stats-band { background: var(--pine-deep); color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 260px at 82% 120%, rgba(62, 193, 211, .22), transparent 65%);
  pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; position: relative; }
.stat b span { font: inherit; color: inherit; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--teal); line-height: 1.1; }
.stat span { font-size: .9rem; color: #cfe0e1; font-weight: 600; }

/* ---------- Cartes services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.1rem; }
.card .card-link { margin-top: auto; font-weight: 700; font-size: .92rem; }
.card .card-link::after { content: " →"; }
.card-num {
  position: absolute; top: 1.4rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--mist); font-weight: 600;
}
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--mist);
  display: flex; align-items: center; justify-content: center; color: var(--pine-deep); margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--orange-soft); color: #8a5300; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Tarifs ---------- */
.price-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { text-align: left; padding: .95rem 1.2rem; font-size: .95rem; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--pine-deep); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--pine-deep); white-space: nowrap; }
.price-table tbody tr:nth-child(even) { background: var(--cloud); }
.price-note {
  background: var(--orange-soft); border: 1px solid #ffe3b0; border-radius: var(--radius);
  padding: 1.3rem 1.4rem; font-size: .93rem; color: #5c4300;
}
.price-note strong { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: .35rem; color: #4a3600; }
.price-note .btn { margin-top: .9rem; display: flex; width: fit-content; }

/* ---------- Zones ---------- */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; list-style: none; padding: 0; margin: 0; }
.zones li {
  display: flex; align-items: center; gap: .5rem; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .95rem; font-size: .88rem; font-weight: 600; color: var(--pine);
}
.zones svg { width: 15px; height: 15px; color: var(--link); flex: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .8rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 1.15rem 3.2rem 1.15rem 1.4rem; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--pine-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.faq details[open] summary::after { content: "−"; background: var(--teal); color: var(--teal-ink); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 1.1rem 1.4rem 1.3rem; color: var(--ink-soft); font-size: .97rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Bande CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--pine-deep); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 300px at 12% -20%, rgba(62, 193, 211, .28), transparent 60%),
    radial-gradient(520px 280px at 92% 120%, rgba(255, 154, 0, .16), transparent 60%);
}
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #cfe0e1; margin: 0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--pine-deep); border-color: #fff; }

/* ---------- Formulaire ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(1.5rem, 3.5vw, 2.6rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--pine-deep); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cloud);
  padding: .75rem .95rem; width: 100%;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(62, 193, 211, .22);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="file"] { font-size: .9rem; color: var(--ink-soft); padding: .55rem 0; }
.field input[type="file"]::file-selector-button {
  font-family: var(--font-body); font-weight: 700; font-size: .88rem;
  border: 1.5px solid var(--line); background: var(--mist); color: var(--pine-deep);
  padding: .55rem 1rem; border-radius: 999px; margin-right: .8rem; cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.field-hint { font-size: .8rem; color: var(--ink-soft); }
.checkbox { flex-direction: row; align-items: flex-start; gap: .6rem; }
.checkbox input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--teal-hover); flex: none; }
.checkbox label { font-weight: 600; font-size: .86rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.devis-form { position: relative; }
.devis-form .btn[type="submit"] { margin-top: 1.2rem; width: 100%; }
.form-note { text-align: center; font-size: .84rem; color: var(--ink-soft); margin: .8rem 0 0; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .93rem; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e6f8ef; color: #0c5c3a; border: 1px solid #b7e8cf; }
.form-status.err { display: block; background: #fdecec; color: #8f1f1f; border: 1px solid #f5c6c6; }
.turnstile-slot { min-height: 0; }
.turnstile-slot > div { margin-top: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: #cfe0e1; padding-top: clamp(2.8rem, 5vw, 4rem); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 2rem; padding-bottom: 2.6rem; }
.footer-brand img { width: 190px; background: #fff; border-radius: 12px; padding: .55rem .7rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; color: #a9c2c4; max-width: 17rem; }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: #cfe0e1; font-size: .92rem; text-decoration: none; }
.footer-col a:hover { color: var(--teal); text-decoration: underline; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 3px; }
.footer-contact a { font-weight: 800; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem;
  font-size: .84rem; color: #9cb7ba;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a, .footer-bottom button { color: #9cb7ba; background: none; border: none; font-size: .84rem; cursor: pointer; padding: 0; font-family: var(--font-body); }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--teal); }

/* ---------- Barre CTA mobile ---------- */
.cta-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -14px rgba(23, 50, 52, .3);
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.cta-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem .8rem; border-radius: 999px; font-weight: 800; font-size: .93rem; text-decoration: none; }
.cta-bar svg { width: 18px; height: 18px; }
.cta-call { background: var(--mist); color: var(--pine-deep); border: 1.5px solid var(--line); }
.cta-quote { background: var(--teal); color: var(--teal-ink); }

/* ---------- Bannière cookies ---------- */
.cookie { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-end; justify-content: center; padding: 1rem; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie-card {
  pointer-events: auto; width: min(680px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.5rem 1.6rem 1.4rem;
  position: relative; overflow: hidden;
}
.cookie-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--orange)); }
.cookie-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.cookie-title { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); margin: 0; }
.cookie-close { border: none; background: var(--cloud); width: 32px; height: 32px; border-radius: 50%; font-size: 1.05rem; color: var(--ink-soft); cursor: pointer; flex: none; }
.cookie-text { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cookie-actions .btn-primary { flex: 1; min-width: 150px; }
.cookie-prefs { margin-top: .4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.cookie-prefs[hidden] { display: none; }
.pref-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .65rem 0; }
.pref-row + .pref-row { border-top: 1px solid var(--cloud); }
.pref-row strong { font-size: .92rem; color: var(--ink); display: block; }
.pref-row small { font-size: .8rem; color: var(--ink-soft); }
.switch { position: relative; width: 46px; height: 26px; flex: none; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: #cfdbdc; transition: background .2s ease; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.switch input:checked + .track { background: var(--teal-hover); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:disabled + .track { opacity: .55; }
.cookie-prefs .btn { margin-top: .8rem; }

/* ---------- Pages légales / prose ---------- */
.prose { max-width: 50rem; }
.prose h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { color: var(--ink-soft); }
.prose .lead { margin-bottom: 1.6rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; }
.prose th { background: var(--cloud); }
.page-hero { background: linear-gradient(180deg, var(--cloud), #fff); border-bottom: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero h1 { margin-bottom: .8rem; }
.breadcrumb { font-size: .84rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--link); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--pine-deep); font-weight: 700; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; overflow: hidden; background: radial-gradient(600px 320px at 50% 0%, rgba(62, 193, 211, .14), transparent 65%); }
.page-404 .code { font-family: var(--font-display); font-size: clamp(4.5rem, 14vw, 8rem); color: var(--teal); line-height: 1; margin-bottom: .5rem; }
.page-404 h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.page-404 .lead { max-width: 36rem; margin: 0 auto 1.8rem; }
.page-404 .hero-actions { justify-content: center; }
.page-404 .quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2rem; }
.page-404 .quick-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .89rem; font-weight: 600; color: var(--pine-deep); text-decoration: none; }
.page-404 .quick-links a:hover { border-color: var(--teal); color: var(--link); }

/* ---------- Ancres : ne pas passer sous le header sticky ---------- */
[id] { scroll-margin-top: 96px; }

/* ---------- Animations discrètes ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 1.1rem; }
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .qa-grid, .cards, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .split-media { max-width: 560px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .price-wrap { grid-template-columns: 1fr; }
  .zones { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .cta-bar { display: flex; }
  body { padding-bottom: 68px; }
  .cookie { bottom: 68px; }
}
@media (max-width: 640px) {
  .qa-grid, .cards, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr 1fr; }
  .header-cta .btn { display: none; }
  .brand img { width: 156px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cookie-card { padding: 1.2rem 1.1rem; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .price-table th, .price-table td { padding: .75rem .8rem; font-size: .88rem; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- Compléments : maillage interne & mots-clés ---------- */
.related {
  font-size: .95rem; color: var(--ink-soft);
  background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.2rem; display: inline-block;
}
.related a { font-weight: 700; }
.footer-tags { font-size: .8rem !important; color: #8fadaf !important; margin-top: .9rem; max-width: 20rem; }
.footer-tags a { color: #8fadaf; text-decoration: none; }
.footer-tags a:hover { color: var(--teal); text-decoration: underline; }
.cards--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .cards--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards--2 { grid-template-columns: 1fr; } }


/* ---------- Bloc devis (aucun prix affiché) ---------- */
.devis-factors {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
}
.devis-factors h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.devis-factors .checklist { margin: 0; }
.price-note .btn-link { color: #5c4300; font-weight: 700; }
.price-note .btn svg { width: 17px; height: 17px; }
