/* ================================================================
   h3d-basalte — feuille de style partagée
   Direction verrouillée : cluster A (santé-assurtech chaleureuse)
   Fontes self-hostées : Fraunces italic + DM Sans
   ================================================================ */

@import url('../_assets/fonts/fonts.css');

/* -------------------------- TOKENS -------------------------- */
:root {
  /* Couleurs (surface pondérée dossier) */
  --paper: #ffffff;
  --ink: #2d3732;
  --accent: #1c8868;
  --accent-hover: #164f3d;
  --pastel: #e8f5f0;
  --muted: #6b7876;
  --line: #e8f5f0;
  --line-strong: rgba(28, 136, 104, 0.20);

  /* Radius */
  --r-input: 12px;
  --r-card: 20px;
  --r-panel: 24px;
  --r-ecrin: 32px;
  --r-pill: 100px;
  --r-badge: 100px;

  /* Shadows (teinte accent, distinctive) */
  --shadow-rest: 0 4px 20px rgba(28, 136, 104, 0.12);
  --shadow-hover: 0 16px 40px rgba(28, 136, 104, 0.25);
  --shadow-inset: inset 0 0 0 1.5px rgba(28, 136, 104, 0.20);

  /* Motion */
  --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --easing-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-hover: 300ms;
  --dur-reveal: 600ms;
  --dur-mask: 600ms;

  /* Layout */
  --maxw: 1280px;
  --maxw-prose: 760px;
  --pad-x: clamp(20px, 4vw, 40px);
  --pad-y: clamp(72px, 8vw, 120px);

  /* Fontes */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-body);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

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

/* -------------------------- TYPO -------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-weight: 600; font-size: clamp(44px, 5.5vw, 64px); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
h3 { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0; }
p + p { margin-top: 12px; }

.prose { max-width: var(--maxw-prose); color: var(--ink); font-size: 18px; line-height: 1.65; }
.prose p + p { margin-top: 16px; }

/* Utilitaires */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--pad-y) 0; }
.section--pastel { background: var(--pastel); color: var(--ink); }
.section--drench { background: var(--accent); color: var(--paper); }
.section--drench-deep { background: var(--accent-hover); color: var(--paper); }
.section--drench h2, .section--drench h3, .section--drench-deep h2, .section--drench-deep h3 { color: var(--paper); }
.section--drench a, .section--drench-deep a { color: var(--paper); }

.grid { display: grid; }
.stack > * + * { margin-top: var(--stack-gap, 12px); }

.tabular { font-variant-numeric: tabular-nums; }
.label { font-family: var(--font-body); font-weight: 500; font-size: 12px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Ban : aucun eyebrow, aucun em-dash, aucun kicker. */

/* -------------------------- REVEALS (html.js gate — anti page-blanche) -------------------------- */
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.is-in {
  opacity: 1; transform: translateY(0);
  transition: opacity var(--dur-reveal) var(--easing-smooth),
              transform var(--dur-reveal) var(--easing-smooth);
}

html.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); }
html.js .reveal-stagger.is-in > * {
  opacity: 1; transform: translateY(0);
  transition: opacity var(--dur-reveal) var(--easing-smooth),
              transform var(--dur-reveal) var(--easing-smooth);
}
html.js .reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
html.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
html.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
html.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
html.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
html.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }
html.js .reveal-stagger.is-in > *:nth-child(7) { transition-delay: 480ms; }
html.js .reveal-stagger.is-in > *:nth-child(8) { transition-delay: 560ms; }
html.js .reveal-stagger.is-in > *:nth-child(9) { transition-delay: 640ms; }

/* -------------------------- BUTTONS -------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease,
              border-color 200ms ease, transform 300ms var(--easing-spring),
              box-shadow 300ms var(--easing-spring);
  white-space: nowrap;
  min-height: 52px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: var(--paper); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-hover); }

.btn--outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--paper); box-shadow: var(--shadow-hover); }

.btn--paper { background: var(--paper); color: var(--accent); }
.btn--paper:hover { background: var(--pastel); box-shadow: var(--shadow-hover); }

.btn--ghost-paper { background: transparent; color: var(--paper); border: 2px solid rgba(255,255,255,0.6); }
.btn--ghost-paper:hover { background: rgba(255,255,255,0.14); border-color: var(--paper); }

/* -------------------------- BADGES (pill) -------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--pastel);
  color: var(--accent);
  border-radius: var(--r-badge);
  font: 500 11px/1.2 var(--font-body);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section--drench .badge, .section--drench-deep .badge {
  background: rgba(255,255,255,0.16);
  color: var(--paper);
}

/* -------------------------- HEADER (sticky, transparent→blanc) -------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  transition: background-color 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 2px 12px rgba(28,136,104,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.header__logo {
  display: inline-flex;
  color: var(--accent);
  transition: transform 250ms var(--easing-spring);
}
.header__logo:hover { transform: scale(1.03); }
.header__logo svg { height: 40px; width: auto; }

.header__nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.header__nav a {
  padding: 10px 14px;
  font: 500 15px/1 var(--font-body);
  border-radius: 999px;
  color: var(--ink);
  transition: background-color 200ms ease, color 200ms ease;
}
.header__nav a:hover { background: var(--pastel); color: var(--accent); }
.header__nav a[aria-current="page"] { background: var(--pastel); color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font: 600 15px/1 var(--font-body);
  padding: 10px 12px;
  border-radius: 999px;
  transition: background-color 200ms ease;
}
.header__tel:hover { background: var(--pastel); }
.header__tel::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.header__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pastel);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease;
}
.header__burger:hover { background: var(--accent); color: var(--paper); }
.header__burger svg { width: 22px; height: 22px; }

.header__mobile-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(92vw, 400px);
  height: 100vh;
  background: var(--paper);
  padding: 88px 32px 32px;
  box-shadow: -20px 0 40px rgba(28,136,104,0.20);
  transform: translateX(100%);
  transition: transform 350ms var(--easing-spring);
  z-index: 60;
  overflow-y: auto;
}
.header__mobile-panel.is-open { transform: translateX(0); }
.header__mobile-panel a {
  display: block;
  padding: 16px 12px;
  font: 500 17px/1.2 var(--font-body);
  color: var(--ink);
  border-radius: 12px;
  transition: background-color 180ms ease, color 180ms ease;
}
.header__mobile-panel a:hover { background: var(--pastel); color: var(--accent); }
.header__mobile-panel-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pastel);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}

.body-lock { overflow: hidden; }

/* Page needs top padding to escape fixed header */
main { padding-top: 76px; }

/* -------------------------- HERO — ÉCRIN VERT (accueil) -------------------------- */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(44px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 20px;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero__lead strong { color: var(--ink); font-weight: 500; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Écrin */
.hero__ecrin {
  background: var(--accent);
  border-radius: var(--r-ecrin);
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 62vh, 580px);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero__ecrin-photo {
  position: absolute;
  inset: 0;
  height: 68%;
  width: 100%;
  z-index: 0;
}
.hero__ecrin-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 45%;
  background: linear-gradient(180deg, rgba(28,136,104,0) 0%, rgba(28,136,104,0.85) 60%, var(--accent) 100%);
  z-index: 1;
}
.hero__ecrin-photo img,
.hero__ecrin-photo .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__ecrin-content {
  margin-top: auto;
  padding: 28px 32px 28px;
  z-index: 2;
  position: relative;
}
.hero__ecrin-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11px/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.hero__ecrin-tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--paper);
  animation: pulse 2s ease-in-out infinite;
}
.hero__ecrin-tel {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.hero__ecrin-avis {
  font: 400 14px/1.4 var(--font-body);
  color: rgba(255,255,255,0.90);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__ecrin-stars { color: #ffd66b; font-size: 13px; letter-spacing: 1px; }

/* -------------------------- BANDEAU CHIFFRES CLÉS -------------------------- */
.stats {
  padding: clamp(40px, 5vw, 60px) 0;
  border-top: 1px solid var(--pastel);
  border-bottom: 1px solid var(--pastel);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.stat {
  background: var(--paper);
  border-radius: var(--r-panel);
  padding: 24px;
  border: 1.5px solid var(--pastel);
  transition: transform var(--dur-hover) var(--easing-spring),
              box-shadow var(--dur-hover) var(--easing-spring),
              border-color 200ms ease;
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.stat__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.stat__label {
  font: 500 15px/1.35 var(--font-body);
  color: var(--ink);
}

/* -------------------------- GRILLE 9 NUISIBLES — Numéros géants overlap -------------------------- */
.nuisibles {
  padding: var(--pad-y) 0;
  background: var(--pastel);
}
.nuisibles__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.nuisibles__head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.nuisibles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.nuisible-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 24px;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-rest);
  overflow: visible;
  transition: transform var(--dur-hover) var(--easing-spring),
              box-shadow var(--dur-hover) var(--easing-spring),
              border-color 200ms ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  isolation: isolate;
}
.nuisible-card__number {
  position: absolute;
  top: -18px; right: -8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  color: var(--pastel);
  pointer-events: none;
  transition: color 300ms ease, transform 300ms var(--easing-spring);
  z-index: 0;
  user-select: none;
}
.nuisible-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--pastel);
  z-index: 1;
}
.nuisible-card__photo img,
.nuisible-card__photo .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nuisible-card__title {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 6px;
  z-index: 1;
  position: relative;
}
.nuisible-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  z-index: 1;
  position: relative;
}
.nuisible-card__tarif {
  margin-top: auto;
  padding-top: 14px;
  font: 700 20px/1.2 var(--font-body);
  color: var(--accent);
  opacity: 0.55;
  transition: opacity 300ms ease;
  z-index: 1;
  position: relative;
}
.nuisible-card__tarif span { font-weight: 400; font-size: 12px; color: var(--muted); display: block; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.nuisible-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.nuisible-card:hover .nuisible-card__number { color: rgba(28,136,104,0.35); transform: scale(1.05) rotate(-2deg); }
.nuisible-card:hover .nuisible-card__tarif { opacity: 1; }

/* -------------------------- MÉTHODE 3 ÉTAPES — Scroll-driven mask courbe -------------------------- */
.method {
  padding: var(--pad-y) 0;
  background: var(--accent);
  color: var(--paper);
  position: relative;
}
.method__head { margin-bottom: 60px; max-width: 720px; }
.method__head h2 { color: var(--paper); }
.method__head p { color: rgba(255,255,255,0.88); font-size: 18px; line-height: 1.55; margin-top: 16px; }
.method__grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.method__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.method__step {
  min-height: 60vh;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.method__step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.method__step h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.1;
  color: var(--paper);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.method__step p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 460px;
  margin: 0;
}
.method__photos {
  position: sticky;
  top: 100px;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  border-radius: var(--r-panel);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}
.method__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: inset(0 0 0 0 round 60%);
  transition: clip-path var(--dur-mask) var(--easing-spring),
              opacity 400ms ease;
}
.method__photo.is-active {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 0%);
}

/* -------------------------- POURQUOI H3D (5 args, drench) -------------------------- */
.reasons { padding: var(--pad-y) 0; background: var(--accent); color: var(--paper); }
.reasons__head { margin-bottom: 48px; max-width: 720px; }
.reasons__head h2 { color: var(--paper); }
.reasons__head p { color: rgba(255,255,255,0.88); margin-top: 14px; font-size: 18px; line-height: 1.55; }
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.reason {
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-panel);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--dur-hover) var(--easing-spring),
              background-color 250ms ease,
              border-color 250ms ease;
}
.reason:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.24);
}
.reason__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--paper);
}
.reason__icon svg { width: 26px; height: 26px; }
.reason h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--paper);
  margin: 0 0 10px;
}
.reason p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0; }

/* -------------------------- AVIS GOOGLE -------------------------- */
.reviews { padding: var(--pad-y) 0; }
.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}
.reviews__score {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.reviews__score-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 68px;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.reviews__score-text { display: flex; flex-direction: column; gap: 4px; }
.reviews__score-text strong { font: 500 16px/1 var(--font-body); color: var(--ink); }
.reviews__score-text span { font: 400 14px/1 var(--font-body); color: var(--muted); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--paper);
  border-radius: var(--r-panel);
  padding: 28px;
  border: 1.5px solid var(--pastel);
  box-shadow: var(--shadow-rest);
  transition: transform var(--dur-hover) var(--easing-spring),
              box-shadow var(--dur-hover) var(--easing-spring),
              border-color 200ms ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.review-card__stars { color: #f6b93b; letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.review-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 20px;
}
.review-card__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--pastel);
}
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font: 600 15px/1 var(--font-body);
}
.review-card__meta { display: flex; flex-direction: column; gap: 2px; }
.review-card__meta strong { font: 600 15px/1.2 var(--font-body); }
.review-card__meta span { font: 400 13px/1.2 var(--font-body); color: var(--muted); }

/* -------------------------- ZONES -------------------------- */
.zones { padding: var(--pad-y) 0; background: var(--accent); color: var(--paper); }
.zones__head { margin-bottom: 48px; max-width: 720px; }
.zones__head h2 { color: var(--paper); }
.zones__head p { color: rgba(255,255,255,0.88); margin-top: 14px; font-size: 18px; line-height: 1.55; }
.zones__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.zone {
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-panel);
  padding: 24px 24px 28px;
  transition: background-color 250ms ease, transform var(--dur-hover) var(--easing-spring);
  border: 1px solid rgba(255,255,255,0.08);
}
.zone:hover { background: rgba(255,255,255,0.22); transform: translateY(-4px); }
.zone__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.zone h3 { color: var(--paper); font-size: 18px; margin-bottom: 10px; }
.zone p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.82); margin: 0; }
.zone__price {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: var(--paper);
  color: var(--accent);
  border-radius: var(--r-badge);
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.04em;
}

/* -------------------------- FAQ -------------------------- */
.faq { padding: var(--pad-y) 0; }
.faq__head { margin-bottom: 40px; max-width: 720px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq__item {
  background: var(--paper);
  border: 1.5px solid var(--pastel);
  border-radius: var(--r-input);
  overflow: hidden;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.faq__item[open] { border-color: var(--accent); box-shadow: var(--shadow-rest); }
.faq__question {
  padding: 22px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  width: 22px; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c8868' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 250ms var(--easing-spring);
  flex-shrink: 0;
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  padding: 0 24px 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.faq__answer p + p { margin-top: 12px; }

/* -------------------------- CTA FINAL -------------------------- */
.cta-final {
  padding: var(--pad-y) 0;
  background: var(--accent-hover);
  color: var(--paper);
  text-align: center;
}
.cta-final h2 {
  color: var(--paper);
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 20px;
}
.cta-final p {
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-final__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* -------------------------- FOOTER -------------------------- */
.footer {
  background: var(--accent);
  color: var(--paper);
  padding: clamp(60px, 6vw, 80px) 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__col h4 {
  font: 500 12px/1.3 var(--font-body);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 18px;
}
.footer__brand-logo { color: var(--paper); margin-bottom: 20px; }
.footer__brand-logo svg { height: 44px; width: auto; }
.footer__brand p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 320px; margin: 0 0 20px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font: 400 15px/1.4 var(--font-body); color: rgba(255,255,255,0.85); transition: color 200ms ease; }
.footer__col a:hover { color: var(--paper); }
.footer__nap { font: 400 15px/1.55 var(--font-body); color: rgba(255,255,255,0.85); }
.footer__nap strong { color: var(--paper); font-weight: 500; display: block; margin-bottom: 4px; }
.footer__certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer__certs .badge { background: rgba(255,255,255,0.14); color: var(--paper); }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font: 400 13px/1.4 var(--font-body);
  color: rgba(255,255,255,0.7);
}
.footer__legal a:hover { color: var(--paper); }

/* -------------------------- STICKY CTA MOBILE -------------------------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  background: var(--accent);
  padding: 12px 16px;
  gap: 12px;
  align-items: center;
  transform: translateY(100%);
  transition: transform 300ms var(--easing-spring);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__tel {
  flex: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  padding: 6px 0;
}
.sticky-cta__btn {
  padding: 12px 18px;
  background: var(--paper);
  color: var(--accent);
  border-radius: var(--r-pill);
  font: 600 14px/1 var(--font-body);
  white-space: nowrap;
}

/* -------------------------- PAGE HERO (interior pages, sans écrin) -------------------------- */
.page-hero {
  padding: 40px 0 60px;
  background: var(--pastel);
  border-bottom: 1px solid rgba(28,136,104,0.10);
}
.page-hero__crumbs {
  display: flex;
  gap: 8px;
  font: 500 13px/1 var(--font-body);
  color: var(--accent);
  margin-bottom: 20px;
}
.page-hero__crumbs a { color: var(--muted); transition: color 200ms ease; }
.page-hero__crumbs a:hover { color: var(--accent); }
.page-hero__crumbs span { color: var(--muted); }
.page-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(38px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 780px;
}
.page-hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 24px;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------- PROSE CONTENT (piliers) -------------------------- */
.content-section { padding: clamp(56px, 6vw, 90px) 0; }
.content-section h2 { margin-bottom: 20px; }
.content-section > .container > p { max-width: var(--maxw-prose); font-size: 18px; line-height: 1.65; color: var(--ink); margin: 12px 0 24px; }
.content-section > .container > p + p { margin-top: 16px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__text { order: 2; }
.split__text h2 { font-family: var(--font-display); font-style: italic; font-weight: 500; margin-bottom: 20px; }
.split__text p { font-size: 17px; line-height: 1.6; margin: 0 0 14px; color: var(--muted); }
.split__text ul { padding: 0; margin: 20px 0 24px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.split__text ul li { padding-left: 26px; position: relative; font-size: 16px; line-height: 1.5; color: var(--ink); }
.split__text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--pastel);
  border: 2px solid var(--accent);
}
.split__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-panel);
  overflow: hidden;
  background: var(--pastel);
}
.split__photo img,
.split__photo .ph {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* --- Fiche insecte (piliers) --- */
.insect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.insect-card {
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1.5px solid var(--pastel);
  padding: 24px;
  transition: transform var(--dur-hover) var(--easing-spring),
              box-shadow var(--dur-hover) var(--easing-spring),
              border-color 200ms ease;
}
.insect-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.insect-card h3 { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.insect-card p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.insect-card__meta {
  display: flex; justify-content: space-between; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--pastel);
  font: 500 13px/1 var(--font-body);
  color: var(--accent);
}
.insect-card__meta span:last-child { color: var(--muted); font-weight: 400; }

/* --- Comparateur (chimique vs thermique — punaises) --- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.compare__card {
  background: var(--paper);
  border-radius: var(--r-panel);
  border: 1.5px solid var(--pastel);
  padding: 32px;
  box-shadow: var(--shadow-rest);
  position: relative;
}
.compare__card--highlight { border-color: var(--accent); background: linear-gradient(180deg, #fff 0%, var(--pastel) 200%); }
.compare__card--highlight::after {
  content: "Recommandé";
  position: absolute;
  top: 20px; right: 20px;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--r-badge);
  font: 500 11px/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare__card h3 { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.compare__card > p { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.compare__card ul { padding: 0; margin: 0 0 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.compare__card ul li { padding-left: 26px; position: relative; font-size: 15px; line-height: 1.5; }
.compare__card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}
.compare__price {
  padding-top: 16px;
  border-top: 1px solid var(--pastel);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
}
.compare__price span { font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); display: block; margin-top: 2px; letter-spacing: 0.02em; }

/* --- Guarantee callout --- */
.callout {
  background: var(--pastel);
  border-radius: var(--r-panel);
  padding: 32px;
  margin-top: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  border-left: 6px solid var(--accent);
}
.callout__icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.callout__icon svg { width: 32px; height: 32px; }
.callout h3 { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 24px; margin: 0 0 6px; color: var(--ink); }
.callout p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* -------------------------- TARIFS TABLES -------------------------- */
.tarifs { padding: var(--pad-y) 0; }
.tarif-group { margin-bottom: 48px; }
.tarif-group__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tarif-group__head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.tarif-group__head p { font-size: 15px; color: var(--muted); margin: 0; }
.tarif-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border-radius: var(--r-panel);
  overflow: hidden;
  border: 1.5px solid var(--pastel);
  box-shadow: var(--shadow-rest);
}
.tarif-table thead th {
  background: var(--pastel);
  color: var(--accent);
  padding: 16px 20px;
  text-align: left;
  font: 500 12px/1.3 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--pastel);
}
.tarif-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--pastel);
  font-size: 15px;
  line-height: 1.4;
}
.tarif-table tbody tr:last-child td { border-bottom: none; }
.tarif-table tbody tr:hover td { background: rgba(28,136,104,0.03); }
.tarif-table td:first-child { font-weight: 500; color: var(--ink); }
.tarif-table td.price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.tarif-note {
  padding: 20px;
  background: var(--pastel);
  border-radius: var(--r-card);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 20px;
}

/* --- Cartouches tarif (mobile fallback) --- */
.tarif-cards { display: none; flex-direction: column; gap: 12px; }
.tarif-cards__item {
  background: var(--paper);
  border: 1.5px solid var(--pastel);
  border-radius: var(--r-card);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-rest);
}
.tarif-cards__item strong { font-family: var(--font-body); font-weight: 500; font-size: 15px; }
.tarif-cards__item span { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.tarif-cards__price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* --- Zones (page tarifs, contexte blanc) --- */
.zones-inline { padding: clamp(56px, 6vw, 90px) 0; background: var(--paper); }
.zones-inline__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.zones-inline .zone { background: var(--pastel); color: var(--ink); border: 1px solid transparent; }
.zones-inline .zone:hover { background: #d9ebe3; }
.zones-inline .zone__num { color: var(--accent); }
.zones-inline .zone h3 { color: var(--ink); }
.zones-inline .zone p { color: var(--muted); }
.zones-inline .zone__price { background: var(--accent); color: var(--paper); }

/* -------------------------- CONTACT (formulaire + coordonnées) -------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-form {
  background: var(--paper);
  border: 1.5px solid var(--pastel);
  border-radius: var(--r-panel);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-rest);
}
.contact-form h2 { font-size: clamp(28px, 3vw, 34px); margin: 0 0 8px; }
.contact-form > p { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 500 13px/1 var(--font-body); color: var(--ink); margin-bottom: 8px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--pastel);
  border-radius: var(--r-input);
  background: var(--paper);
  font: 400 16px/1.4 var(--font-body);
  color: var(--ink);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(28,136,104,0.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.field-check label { font-size: 13px; color: var(--muted); line-height: 1.5; text-transform: none; letter-spacing: 0; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-block {
  background: var(--pastel);
  border-radius: var(--r-panel);
  padding: 28px;
}
.contact-block--drench { background: var(--accent); color: var(--paper); }
.contact-block--drench h3 { color: var(--paper); }
.contact-block--drench p, .contact-block--drench a { color: rgba(255,255,255,0.90); }
.contact-block h3 { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.contact-block__tel {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.contact-block--drench .contact-block__tel { color: var(--paper); }
.contact-block p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.contact-block p + p { margin-top: 8px; }
.contact-block ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.contact-block li { display: flex; justify-content: space-between; gap: 12px; }
.contact-block li span { color: var(--muted); }
.contact-block--drench li span { color: rgba(255,255,255,0.75); }

/* -------------------------- ANCHOR TARGET OFFSET -------------------------- */
:target { scroll-margin-top: 100px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablette 960 */
@media (max-width: 1000px) {
  .header__nav { display: none; }
  .header__burger { display: inline-flex; }
  .header__tel { padding: 10px 14px; }

  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__ecrin { min-height: clamp(400px, 60vw, 520px); order: -1; }

  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nuisibles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .method__grid { grid-template-columns: 1fr; }
  .method__photos { position: relative; top: auto; max-height: 60vh; aspect-ratio: 4/3; order: -1; margin-bottom: 24px; }
  .method__step { min-height: auto; padding: 24px 0; }

  .reviews__grid { grid-template-columns: 1fr; }
  .review-card { max-width: 640px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }

  .compare { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .tarif-table { display: none; }
  .tarif-cards { display: flex; }
}

/* Mobile 640 */
@media (max-width: 640px) {
  main { padding-top: 68px; }
  .header__actions .header__tel { display: none; }

  .hero { padding: 20px 0 40px; }
  .hero__title { font-size: clamp(32px, 8vw, 44px); }
  .hero__lead { font-size: 17px; margin-bottom: 24px; }
  .hero__actions .btn { min-width: 100%; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 18px; }

  .nuisibles__grid { grid-template-columns: 1fr; }
  .nuisible-card__number { font-size: 82px; top: -14px; right: -4px; }

  .reasons__grid { grid-template-columns: 1fr; }
  .zones__grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }

  .field--row { grid-template-columns: 1fr; }

  .sticky-cta { display: flex; }
  main, footer { padding-bottom: 76px; }
  .footer { padding-bottom: 100px; }

  .cta-final__actions .btn { min-width: 100%; }
}

/* Petit mobile 390 */
@media (max-width: 420px) {
  :root { --pad-x: 18px; }
  .hero__ecrin-content { padding: 20px 22px 22px; }
  .zones__grid { grid-template-columns: 1fr; }
}

/* -------------------------- REDUCED MOTION -------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal, html.js .reveal-stagger > * { opacity: 1; transform: none; }
  .method__photo { transition: none; }
  .method__photo.is-active, .method__photo:first-of-type { opacity: 1; clip-path: inset(0 0 0 0 round 0%); }
}
