/* ============================================================
   POUSS'MOUSSE - Design System & Stylesheet
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* === DESIGN TOKENS === */
:root {
  /* Couleurs - extraites du logo & flyer */
  --green-deep: #2a7d3e;       /* vert sombre logo */
  --green-mid: #4ca64c;        /* vert moyen mascotte */
  --green-bright: #84c441;     /* vert clair logo */
  --green-glow: #b6dc5b;       /* vert lime accent */
  --blue-deep: #1a5673;        /* bleu sombre logo */
  --blue-mid: #2c8eb8;         /* bleu logo */
  --blue-bright: #4dbfdb;      /* bleu clair eau */
  --blue-soft: #cae9f2;        /* bleu pâle bulles */

  --slate-900: #0f1a1f;        /* fond sombre flyer */
  --slate-800: #1a2a32;
  --slate-700: #243842;
  --slate-600: #3a525e;
  --slate-200: #d8dfe3;
  --slate-100: #eef2f4;
  --cream: #faf7f0;             /* fond chaud doux */

  --brown-hat: #6e3f1e;        /* brun chapeau cowboy */
  --brown-hat-light: #8b5a2b;

  --ink: #15242b;
  --ink-soft: #4a5d68;
  --ink-mute: #8294a0;
  --bg: #fefdfb;

  --accent-warn: #e8843c;       /* orange pour CTA secondaires */

  /* Typographie - Display & Body distinctives */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;     /* notes manuscrites de Mossy */

  /* Échelle typographique fluid */
  --fs-xs: clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
  --fs-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --fs-base: 1rem;
  --fs-md: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
  --fs-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --fs-xl: clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --fs-2xl: clamp(2rem, 1.6rem + 2vw, 2.8rem);
  --fs-3xl: clamp(2.6rem, 2rem + 3vw, 4.2rem);
  --fs-hero: clamp(2.8rem, 2.2rem + 4vw, 5.5rem);

  /* Espacement */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(15, 26, 31, 0.06);
  --shadow: 0 8px 30px rgba(15, 26, 31, 0.08);
  --shadow-lg: 0 24px 50px -12px rgba(15, 26, 31, 0.18);
  --shadow-glow: 0 0 0 0 rgba(132, 196, 65, 0.4);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === IMPORTATION DES FONTS === */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Caveat:wght@500;600;700&display=swap");

/* === BASE === */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(132, 196, 65, 0.06) 0%, transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(77, 191, 219, 0.06) 0%, transparent 30%),
    var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
}

h1 { font-size: var(--fs-hero); font-weight: 800; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p { font-size: var(--fs-md); color: var(--ink-soft); max-width: 65ch; }

::selection { background: var(--green-glow); color: var(--ink); }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
section { padding: var(--sp-24) 0; position: relative; }
@media (max-width: 768px) {
  section { padding: var(--sp-16) 0; }
}

/* === BOUTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  font-size: clamp(1rem, 0.94rem + 0.18vw, 1.08rem);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: white;
  box-shadow: 0 6px 20px rgba(42, 125, 62, 0.32), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42, 125, 62, 0.42), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow), var(--green-bright));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary {
  animation: ctaBreath 4.6s ease-in-out infinite;
}
@keyframes ctaBreath {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.12) brightness(1.03); }
}

.site-header .btn-phone {
  animation: phoneBeacon 4.8s ease-in-out infinite;
}
.hero-ctas .btn-primary {
  animation: heroCtaLift 5.2s ease-in-out infinite;
}

@keyframes phoneBeacon {
  0%, 100% { box-shadow: 0 6px 20px rgba(44, 142, 184, 0.35); filter: saturate(1); }
  45% { box-shadow: 0 6px 20px rgba(44, 142, 184, 0.35); }
  55% { box-shadow: 0 0 0 8px rgba(77, 191, 219, 0.14), 0 14px 30px rgba(44, 142, 184, 0.42); filter: saturate(1.12); }
}
@keyframes heroCtaLift {
  0%, 100% { translate: 0 0; box-shadow: 0 6px 20px rgba(42, 125, 62, 0.32), inset 0 1px 0 rgba(255,255,255,0.3); }
  50% { translate: 0 -5px; box-shadow: 0 16px 34px rgba(42, 125, 62, 0.42), inset 0 1px 0 rgba(255,255,255,0.38); }
}
@keyframes outlineTap {
  0%, 100% { border-color: var(--slate-200); box-shadow: var(--shadow-sm); }
  50% { border-color: rgba(132, 196, 65, 0.75); box-shadow: 0 0 0 6px rgba(132, 196, 65, 0.10), var(--shadow); }
}
@keyframes primarySweep {
  0%, 100% { filter: saturate(1); box-shadow: 0 6px 20px rgba(42, 125, 62, 0.32), inset 0 1px 0 rgba(255,255,255,0.3); }
  50% { filter: saturate(1.16) brightness(1.04); box-shadow: 0 12px 30px rgba(42, 125, 62, 0.44), inset 0 1px 0 rgba(255,255,255,0.42); }
}
@keyframes softNudge {
  0%, 100% { translate: 0 0; }
  48% { translate: 0 0; }
  54% { translate: 3px 0; }
  60% { translate: 0 0; }
}
@keyframes whitePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), var(--shadow-sm); }
  50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.16), 0 12px 28px rgba(255, 255, 255, 0.12); }
}
@keyframes stickyCallNudge {
  0%, 100% { translate: 0 0; }
  45% { translate: 0 0; }
  52% { translate: -3px 0; }
  59% { translate: 2px 0; }
  66% { translate: 0 0; }
}
@keyframes stickyQuotePulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(42, 125, 62, 0.32), inset 0 1px 0 rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 0 7px rgba(132, 196, 65, 0.16), 0 14px 32px rgba(42, 125, 62, 0.42), inset 0 1px 0 rgba(255,255,255,0.38); }
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 2px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--green-bright);
  color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-phone {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-mid));
  color: white;
  box-shadow: 0 6px 20px rgba(44, 142, 184, 0.35);
}
.btn-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(44, 142, 184, 0.45);
}

.btn-large { padding: 1.15rem 2rem; font-size: var(--fs-base); }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}
.site-header.scrolled,
body.has-solid-header .site-header,
.site-header.menu-open {
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(15, 26, 31, 0.06), 0 8px 32px rgba(15, 26, 31, 0.06);
  padding: var(--sp-3) 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 72px;
  transition: transform 0.3s;
}
.logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  aspect-ratio: 1127 / 898;
  object-fit: contain;
}
.logo:hover { transform: rotate(-3deg) scale(1.04); }

.site-header.scrolled .logo { height: 64px; }

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-main a {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-main a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--green-bright);
  transition: width 0.3s var(--ease-out);
}
.nav-main a:hover { color: var(--green-deep); }
.nav-main a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: var(--sp-3); }

.menu-toggle { display: none; }

/* Hamburger mobile */
@media (max-width: 980px) {
  .nav-main, .header-cta .btn:not(.btn-phone) { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-main.is-open {
    display: flex;
    position: fixed;
    inset: 80px 0 auto 0;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    z-index: 120;
    background: rgba(248, 253, 250, 0.90) !important;
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    border: 1px solid rgba(15, 26, 31, 0.08);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 34px rgba(15, 26, 31, 0.10);
    flex-direction: column;
    padding: var(--sp-4) var(--sp-4) var(--sp-3);
    gap: var(--sp-3);
    align-items: flex-start;
    overflow-y: auto;
  }
  .nav-main.is-open a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    width: 100%;
    box-sizing: border-box;
    padding: 0.72rem 0.95rem;
    border: 1px solid rgba(15, 26, 31, 0.08);
    border-radius: 8px;
    background: rgba(255, 253, 251, 0.72);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    box-shadow: 0 10px 24px rgba(15, 26, 31, 0.08);
    color: var(--ink);
    font-size: var(--fs-lg);
    line-height: 1.15;
  }
  .nav-main.is-open a::after { display: none; }
  .nav-main.is-open a:hover,
  .nav-main.is-open a.active {
    background: rgba(246, 252, 249, 0.82);
    color: var(--green-deep);
  }
}

/* === HERO === */
.hero {
  min-height: auto;
  padding: calc(var(--sp-24) + 80px) 0 var(--sp-16);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(132, 196, 65, 0.12), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(77, 191, 219, 0.10), transparent 60%),
    linear-gradient(180deg, #fefdfb 0%, #f4f8ee 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.hero-composition {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: var(--sp-12);
  align-items: center;
}
.hero-content {
  max-width: 760px;
  text-align: left;
  position: relative;
  z-index: 2;
}
.hero-bottom {
  display: grid;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
  justify-items: center;
  text-align: center;
}
.hero-area-cloud {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 4;
}
.hero-area-cloud span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 190px;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--green-deep);
  animation: heroBadgeDrift 7s ease-in-out var(--badge-drift-delay, 0s) infinite;
  position: absolute;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}
.hero-area-cloud span:nth-child(1) { left: -8%; right: auto; top: 24%; bottom: auto; --badge-in-delay: 1.25s; --badge-drift-delay: 0s; }
.hero-area-cloud span:nth-child(2) { left: auto; right: 4%; top: 24%; bottom: auto; --badge-in-delay: 1.38s; --badge-drift-delay: 0.6s; }
.hero-area-cloud span:nth-child(3) { left: -12%; right: auto; top: 52%; bottom: auto; --badge-in-delay: 1.51s; --badge-drift-delay: 1.1s; }
.hero-area-cloud span:nth-child(4) { left: auto; right: -14%; top: 52%; bottom: auto; --badge-in-delay: 1.64s; --badge-drift-delay: 1.6s; }
.hero-area-cloud span:nth-child(5) { left: -1%; right: auto; top: auto; bottom: 17%; --badge-in-delay: 1.77s; --badge-drift-delay: 2s; }
.hero-area-cloud span:nth-child(6) { left: auto; right: -1%; top: auto; bottom: 17%; --badge-in-delay: 1.9s; --badge-drift-delay: 2.4s; }
.js .hero-area-cloud span {
  opacity: 0;
  scale: 0.9;
  animation:
    heroServiceBadgeIn 0.75s var(--ease-bounce) var(--badge-in-delay, 1.15s) forwards,
    heroBadgeDrift 7s ease-in-out var(--badge-drift-delay, 0s) infinite;
}
.trust-cloud {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
}
.trust-cloud .sectors-eyebrow {
  width: 100%;
  text-align: center;
  margin-bottom: var(--sp-6);
}
.trust-cloud .sectors-list {
  width: 100%;
  justify-content: center;
  gap: var(--sp-3);
}
.trust-cloud .sectors-list li {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  animation: trustCardFloat 7s ease-in-out infinite;
}
.trust-cloud .sectors-list li:nth-child(2n) { animation-delay: 0.8s; }
.trust-cloud .sectors-list li:nth-child(3n) { animation-delay: 1.4s; }
@keyframes heroPanelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes heroBadgeDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(12px, -12px, 0) rotate(-0.7deg); }
}
@keyframes heroServiceBadgeIn {
  0% { opacity: 0; scale: 0.9; }
  100% { opacity: 1; scale: 1; }
}
@keyframes trustCardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.7deg); }
}
@media (max-width: 980px) {
  .hero-grid,
  .hero-composition { grid-template-columns: 1fr; gap: var(--sp-8); text-align: center; }
  .hero-content { max-width: 100%; text-align: center; }
  .trust-cloud { padding: 0; }
  .trust-cloud .sectors-eyebrow { text-align: center; }
  .trust-cloud .sectors-list { justify-content: center; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(132, 196, 65, 0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(132, 196, 65, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(132, 196, 65, 0); }
}
.hero h1 {
  margin-bottom: var(--sp-6);
}
/* Animation des mots seulement si JS a fait le split */
.js .hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordRise 0.9s var(--ease-out) forwards;
}
/* Sans JS, le span.accent doit garder son gradient */
.hero h1 .word.accent,
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green-bright) 0%, var(--green-deep) 50%, var(--blue-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.js .hero h1 .word.accent::after,
.hero h1 .accent::after,
h2 em::after,
h3 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: var(--green-glow);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 0.8s 1.4s var(--ease-out) forwards;
}
.js .hero h1 .word.accent::after,
.hero h1 .accent::after {
  left: 0.04em;
  bottom: 0.05em;
  width: calc(100% - 0.08em);
  height: clamp(4px, 0.075em, 8px);
  opacity: 0.32;
}
h2 em,
h3 em {
  color: inherit;
  -webkit-text-fill-color: currentColor;
  background: linear-gradient(transparent 65%, var(--green-glow) 65%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  font-style: italic;
  position: relative;
  padding: 0 4px;
}
.word-roller {
  --roller-1: 6.5ch;
  --roller-2: 7.2ch;
  --roller-3: 8.3ch;
  --roller-max: var(--roller-3);
  display: inline-grid;
  grid-template-areas: "word";
  width: var(--roller-max);
  height: 1.06em;
  overflow: hidden;
  vertical-align: -0.08em;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font-style: italic;
  line-height: 1.02;
}
.roller-phrase {
  display: inline-flex;
  align-items: baseline;
  gap: 0.16em;
  white-space: nowrap;
  vertical-align: baseline;
}
.roller-phrase-terminal .word-roller {
  --roller-max: 8.8ch;
  height: 1em;
  line-height: 1;
  vertical-align: baseline;
}
.roller-phrase-terminal .word-roller > span {
  transform: none;
  animation-name: wordFade;
}
.word-roller > span {
  grid-area: word;
  display: block;
  justify-self: start;
  width: max-content;
  white-space: nowrap;
  padding: 0 4px;
  background: linear-gradient(transparent 65%, var(--green-glow) 65%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  opacity: 0;
  transform: translateY(115%);
  animation: wordRoll 6s ease-in-out infinite;
}
.word-roller > span:nth-child(1) { animation-delay: 0s; }
.word-roller > span:nth-child(2) { animation-delay: 2s; }
.word-roller > span:nth-child(3) { animation-delay: 4s; }
.word-roller-light {
  --roller-1: 7.2ch;
  --roller-2: 6.5ch;
  --roller-3: 8.3ch;
  color: white;
}
@keyframes wordRollWidth {
  0%, 33.32% { width: var(--roller-1); }
  33.33%, 66.65% { width: var(--roller-2); }
  66.66%, 99.99% { width: var(--roller-3); }
  100% { width: var(--roller-1); }
}
@keyframes wordRoll {
  0% { opacity: 0; transform: translateY(115%); }
  8%, 28% { opacity: 1; transform: translateY(0); }
  36%, 100% { opacity: 0; transform: translateY(-115%); }
}
@keyframes wordFade {
  0%, 30% { opacity: 1; }
  36%, 100% { opacity: 0; }
}
h2 em::after,
h3 em::after {
  content: none;
}
.keep-punct {
  white-space: nowrap;
}
@keyframes wordRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes underline {
  to { transform: scaleX(1); }
}
.hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  margin-bottom: var(--sp-8);
}
.js .hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s 1s var(--ease-out) forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.js .hero-ctas {
  opacity: 0;
  animation: fadeUp 0.8s 1.2s var(--ease-out) forwards;
}
@media (max-width: 980px) {
  .hero-ctas { justify-content: center; }
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: center;
}
.js .hero-trust {
  opacity: 0;
  animation: fadeUp 0.8s 1.5s var(--ease-out) forwards;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust-item svg { color: var(--green-deep); flex-shrink: 0; }

/* Hero visuel - mascotte + carte chantier */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  width: min(100%, 620px);
  justify-self: end;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: min(90%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(202,233,242,0.18) 0 32%, rgba(132,196,65,0.11) 33% 56%, transparent 70%),
    radial-gradient(circle at 70% 20%, rgba(77,191,219,0.16), transparent 44%);
  filter: blur(2px);
  animation: heroPanelFloat 7s ease-in-out infinite;
}
.hero-mossy {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 28px 48px rgba(15, 26, 31, 0.18));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.js .hero-mossy {
  opacity: 0;
  scale: 0.92;
  animation:
    heroMossyIn 0.9s var(--ease-bounce) 0.45s forwards,
    float 6s ease-in-out 1.35s infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}
.hero-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  font-weight: 600;
  z-index: 6;
  max-width: 230px;
}
.js .hero-bubble {
  opacity: 0;
  animation: bubblePop 0.8s var(--ease-bounce) forwards;
}
@keyframes bubblePop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-bubble-1 {
  left: 50%;
  bottom: -1%;
  top: auto;
  max-width: min(92vw, 390px);
  transform: translateX(-50%) rotate(-1deg);
}
.js .hero-bubble-1 {
  animation:
    heroBubbleIn 0.75s var(--ease-bounce) 2.05s forwards,
    mobileBubbleBottom 7.4s ease-in-out 2.85s infinite;
}
.hero-bubble-hello {
  top: 1%;
  left: 50%;
  right: auto;
  z-index: 8;
  transform: translateX(-50%) rotate(1deg);
}
.hero-bubble-hello::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: white;
  transform: rotate(45deg);
  border-radius: 3px;
}
.js .hero-bubble-hello {
  animation:
    heroBubbleIn 0.75s var(--ease-bounce) 0.85s forwards,
    mobileBubbleTop 6.5s ease-in-out 1.65s infinite;
}
.hero-bubble strong { color: var(--green-deep); display: block; font-size: var(--fs-md); }
.hero-bubble-1 strong { white-space: nowrap; }
.hero-bubble small { color: var(--ink-mute); font-weight: 500; font-size: var(--fs-xs); }

/* Bulles décoratives flottantes */
.bubble-deco {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(202, 233, 242, 0.4));
  pointer-events: none;
  animation: bubbleFloat 8s ease-in-out infinite;
}
.bubble-deco-1 { width: 80px; height: 80px; top: 10%; left: 5%; animation-delay: 0s; }
.bubble-deco-2 { width: 50px; height: 50px; top: 70%; left: 8%; animation-delay: 2s; }
.bubble-deco-3 { width: 110px; height: 110px; top: 20%; right: 5%; animation-delay: 4s; }
@keyframes bubbleFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -25px); }
}
@keyframes helloBubbleFloat {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}
@keyframes heroBubbleFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(-12px, -14px, 0) rotate(1deg); }
}
@keyframes heroBubbleFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
  50% { transform: translate3d(12px, -16px, 0) rotate(-1deg); }
}
@keyframes heroBubbleFloatC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg); }
  50% { transform: translate3d(8px, -14px, 0) rotate(-1deg); }
}
@keyframes heroMossyIn {
  0% { opacity: 0; scale: 0.92; }
  100% { opacity: 1; scale: 1; }
}
@keyframes heroBubbleIn {
  0% { opacity: 0; scale: 0.9; }
  100% { opacity: 1; scale: 1; }
}
@keyframes mobileBubbleTop {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(1deg); }
  50% { transform: translateX(-50%) translateY(-10px) rotate(-1deg); }
}
@keyframes mobileBubbleBottom {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); }
  50% { transform: translateX(-50%) translateY(-12px) rotate(1deg); }
}

/* === SECTEURS BANDEAU === */
.sectors {
  padding: var(--sp-12) 0;
  background: white;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.sectors-eyebrow {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: var(--sp-6);
}
.sectors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  list-style: none;
  padding: 0;
  margin: 0;
}
.sectors-list li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.5rem 1rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out);
  cursor: default;
  white-space: nowrap;
}
.sectors-list li:hover {
  background: white;
  color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.sectors-icon {
  font-size: 1.1em;
}
@media (max-width: 768px) {
  .sectors-list { gap: var(--sp-2) var(--sp-3); }
  .sectors-list li {
    font-size: var(--fs-xs);
    padding: 0.4rem 0.75rem;
  }
}

/* === ZONES D'INTERVENTION === */
.coverage {
  background: linear-gradient(180deg, #f4f8ee 0%, #fefdfb 100%);
  border-top: 1px solid var(--slate-100);
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.coverage-card {
  min-height: 100%;
  padding: var(--sp-8);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.coverage-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green-bright), var(--blue-bright));
}
.coverage-kicker {
  display: inline-flex;
  margin-bottom: var(--sp-4);
  padding: 0.35rem 0.8rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  color: var(--green-deep);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.coverage-card h3 {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xl);
}
.coverage-card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-6);
}
.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.city-tags span {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.section-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-12);
}
@media (max-width: 980px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

/* === ENVELOPE COMPLÈTE === */
.envelope {
  background: white;
  padding: var(--sp-24) 0;
}
.envelope-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 980px) {
  .envelope-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .envelope-visual { order: -1; max-width: 500px; margin: 0 auto; }
}
.envelope h2 em {
  background: linear-gradient(transparent 65%, var(--green-glow) 65%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font-style: italic;
}
.envelope .section-lead {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-12);
  line-height: 1.8;
}
.envelope-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.envelope-actions {
  margin-top: var(--sp-8);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.envelope-feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4);
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-bright);
  transition: all 0.3s;
}
.envelope-feature:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.envelope-feature svg {
  color: var(--green-deep);
  flex-shrink: 0;
  margin-top: 4px;
}
.envelope-feature strong {
  display: block;
  color: var(--ink);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-1);
  font-family: var(--font-display);
  font-weight: 700;
}
.envelope-feature p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.envelope-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.envelope-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* === SERVICES 4 COLONNES === */
.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1140px) {
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid-4 { grid-template-columns: 1fr; }
}

/* === CTA INTERMÉDIAIRE SERVICES === */
.services-cta-mid {
  margin-top: var(--sp-12);
  text-align: center;
  padding: var(--sp-8);
  background: linear-gradient(135deg, white, var(--cream));
  border: 2px dashed var(--green-bright);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.services-cta-mid p {
  margin: 0;
  font-size: var(--fs-md);
  color: var(--ink);
  max-width: none;
}
@media (max-width: 768px) {
  .services-cta-mid { flex-direction: column; }
}

/* === HERO SECTORS LIST === */
.hero-sectors {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-md);
  color: var(--ink-mute);
  font-weight: 500;
}

/* === SECTION INTRO PROBLÈME === */
.intro {
  background: linear-gradient(180deg, #f4f8ee 0%, #fefdfb 100%);
  text-align: center;
  padding: var(--sp-20) 0;
}
.intro-quote {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  font-style: italic;
}
.intro-quote .highlight {
  background: linear-gradient(transparent 65%, var(--green-glow) 65%);
  font-style: normal;
  font-weight: 700;
  padding: 0 4px;
}

/* === COMPTEURS === */
.stats {
  background: var(--slate-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(132, 196, 65, 0.15), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(77, 191, 219, 0.12), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  position: relative;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
}
.stat-item {
  text-align: center;
  padding: var(--sp-4);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-glow), var(--green-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--sp-2);
  letter-spacing: 0;
}
.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === SECTION HEADER (titres section) === */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green-deep);
  margin-bottom: var(--sp-3);
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 24px;
  flex: 0 0 24px;
  height: 2px;
  background: var(--green-bright);
}
.section-title {
  margin-bottom: var(--sp-4);
  max-width: 18ch;
}
.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-lead {
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: var(--sp-12);
}
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-header {
  margin-bottom: var(--sp-16);
}
.section-header.center { text-align: center; }
.section-header.center .section-title { margin: 0 auto var(--sp-4); }

.envelope .reveal > .section-eyebrow,
.quote-calculator-copy .section-eyebrow,
.contact .section-eyebrow {
  display: flex;
  justify-content: center;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.envelope .reveal > h2,
.envelope .section-lead,
.quote-calculator-copy,
.contact-info > h2,
.contact-info > p,
.contact-calendar-title,
.contact-grid > div > .section-eyebrow,
.contact-grid > div > p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.calculator-benefits {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Mots révélés au scroll dans titres */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-word.is-visible { opacity: 1; transform: translateY(0); }

/* === SERVICES === */
.services {
  background: var(--cream);
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
}
.services-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1140px) {
  .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .services-grid-6 { grid-template-columns: 1fr; }
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
}
.service-card > :not(.service-actions) {
  position: relative;
  z-index: 2;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon img { max-height: 100%; width: auto; }
.service-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.service-card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-6);
}
.service-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--slate-200);
}
.service-price-main {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: 0;
}
.service-price-unit { color: var(--ink-mute); font-weight: 500; font-size: var(--fs-sm); }
.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.service-features li {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  padding-left: var(--sp-6);
  position: relative;
}
.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--green-glow);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--green-bright);
}
.service-actions {
  position: relative;
  z-index: 3;
  display: grid;
  gap: var(--sp-2);
  margin-top: auto;
}
.service-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  pointer-events: auto;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.service-card:focus-within {
  box-shadow: 0 0 0 4px rgba(132, 196, 65, 0.28), var(--shadow-lg);
}

/* Tarifs dégressifs */
.pricing-info {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--sp-12);
  margin-top: var(--sp-12);
  position: relative;
  overflow: hidden;
}
.pricing-info::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(132, 196, 65, 0.18), transparent 70%);
  pointer-events: none;
}
.pricing-info-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .pricing-info { padding: var(--sp-8); }
  .pricing-info-inner { grid-template-columns: 1fr; }
}
.pricing-info h3 {
  color: white;
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}
.pricing-info h3 em {
  color: white;
  -webkit-text-fill-color: currentColor;
  background: linear-gradient(transparent 78%, rgba(182, 220, 91, 0.62) 78%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.pricing-info h3 em::after {
  content: none;
}
.pricing-info p { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-sm); }
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-2);
}
@media (max-width: 600px) {
  .pricing-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tier {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  padding: var(--sp-6) var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  /* Désactivé : cursor par défaut, pas de pointer */
  cursor: default;
  /* État initial avant animation */
  opacity: 0.4;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.5s, background 0.5s, box-shadow 0.5s;
}
/* État après animation : tier illuminé */
.tier.tier-lit {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(182, 220, 91, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.tier.tier-lit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(132, 196, 65, 0.08), transparent 60%);
}
.tier-discount {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  background: linear-gradient(135deg, #d4f76a, #a8e63c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  filter: drop-shadow(0 1px 8px rgba(132, 196, 65, 0.5));
}
.tier-from {
  position: relative;
  z-index: 1;
  font-size: clamp(0.62rem, 0.72vw, 0.7rem);
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.055em;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin-top: var(--sp-1);
  padding: 0.42rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* === SLIDER AVANT/APRÈS === */
.before-after-section {
  background: linear-gradient(180deg, #fefdfb 0%, #f0f4ec 100%);
  padding-bottom: var(--sp-20);
}
@media (min-width: 981px) {
  .before-after-section { padding-top: var(--sp-16); }
}
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
  min-width: 0;
}
.before-after-grid > * { min-width: 0; }
@media (max-width: 980px) {
  .before-after-grid { grid-template-columns: 1fr; }
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  background: var(--slate-100);
  touch-action: pan-y; /* permet scroll vertical mais capture le swipe horizontal pour le slider */
  -webkit-user-drag: none;
}
.ba-slider * {
  -webkit-user-drag: none;
  user-select: none;
}
.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* les events vont au slider parent */
}
.ba-image-after { z-index: 1; }
.ba-image-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  z-index: 2;
  overflow: hidden;
  will-change: width;
}
.ba-image-before-wrap img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(15, 26, 31, 0.15), 0 4px 16px rgba(15, 26, 31, 0.25);
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(15, 26, 31, 0.35), inset 0 0 0 2px var(--green-deep);
}
.ba-handle::after {
  content: "⇄";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 1.2rem;
  z-index: 4;
}
.ba-label {
  position: absolute;
  top: var(--sp-4);
  padding: 0.4rem 0.9rem;
  background: rgba(15, 26, 31, 0.85);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  z-index: 4;
  backdrop-filter: blur(8px);
}
.ba-label-before { left: var(--sp-4); }
.ba-label-after { right: var(--sp-4); background: var(--green-deep); }

.ba-info h3 {
  margin-bottom: var(--sp-4);
}
.ba-info p { margin-bottom: var(--sp-4); }
.ba-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--slate-200);
}
.ba-info-meta-item {
  display: flex;
  flex-direction: column;
}
.ba-info-meta-label {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.ba-info-meta-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

/* Galerie multiple */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  align-items: start;
  min-width: 0;
}
.ba-gallery > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (max-width: 768px) {
  .ba-gallery { grid-template-columns: 1fr; }
}
.ba-gallery .ba-slider,
.ba-gallery .ba-cta-card {
  width: 100%;
  height: clamp(300px, 28vw, 430px);
  aspect-ratio: auto;
  flex: 0 0 auto;
}
.ba-gallery-caption {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-top: var(--sp-3);
  text-align: center;
  color: var(--ink-soft);
}
.ba-gallery-caption strong { color: var(--green-deep); display: block; font-family: var(--font-display); font-size: var(--fs-md); }
.ba-cta-card {
  display: flex;
  min-height: 0;
  aspect-ratio: 4 / 3;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-8);
  color: white;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.24), transparent 32%),
    linear-gradient(135deg, var(--green-bright), var(--green-deep) 48%, var(--blue-mid));
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.ba-cta-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 70%;
  background: rgba(255,255,255,0.13);
  transform: rotate(-7deg);
}
.ba-cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(42, 125, 62, 0.26);
}
.ba-cta-card > * {
  position: relative;
  z-index: 1;
}
.ba-cta-card .section-eyebrow {
  color: white;
  margin-bottom: 0;
}
.ba-cta-card .section-eyebrow::before,
.ba-cta-card .section-eyebrow::after {
  background: white;
}
.ba-cta-card h3 {
  color: white;
  margin-bottom: 0;
  font-size: var(--fs-xl);
}
.ba-cta-card h3 em {
  background: linear-gradient(transparent 65%, var(--green-glow) 65%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: white;
  -webkit-text-fill-color: currentColor;
}
.ba-cta-card p {
  color: rgba(255,255,255,0.88);
  margin: 0;
  font-size: var(--fs-sm);
}
.ba-cta-card .btn-primary {
  background: white;
  color: var(--green-deep);
}

/* === DRONE SHOWCASE === */
.drone-section {
  background: var(--slate-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.drone-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(77, 191, 219, 0.18), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(132, 196, 65, 0.12), transparent 50%);
  pointer-events: none;
}
.drone-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .drone-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
}
.drone-section .section-eyebrow { color: var(--green-glow); }
.drone-section .section-eyebrow::before,
.drone-section .section-eyebrow::after { background: var(--green-glow); }
.drone-section h2 { color: white; }
.drone-section .section-lead { color: rgba(255, 255, 255, 0.78); }
.drone-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.drone-feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-bright);
  transition: all 0.3s;
}
.drone-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}
.drone-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(132, 196, 65, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-glow);
}
.drone-feature h4 {
  font-size: var(--fs-md);
  color: white;
  margin-bottom: var(--sp-1);
}
.drone-feature p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.drone-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  align-self: stretch;
}
.drone-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; aspect-ratio: 4/5; }
.drone-image::after {
  content: "🚁 En action";
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  background: rgba(15, 26, 31, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

/* === RÉASSURANCE / CERTIFICATIONS === */
.trust {
  background: var(--cream);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: white;
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--slate-100);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--green-bright);
}
.trust-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green-glow), var(--green-bright));
  border-radius: var(--radius);
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 20px rgba(132, 196, 65, 0.4);
}
.trust-card h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
}
.trust-card p { font-size: var(--fs-sm); margin: 0; }

/* === RÉFÉRENCE PRESTIGE (Chambord) === */
.prestige {
  padding: var(--sp-16) 0;
  background: var(--slate-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.prestige-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 980px) {
  .prestige-inner { grid-template-columns: 1fr; }
}
.prestige-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.prestige-image img { width: 100%; display: block; }
.prestige-text .section-eyebrow { color: var(--green-glow); }
.prestige-text .section-eyebrow::before,
.prestige-text .section-eyebrow::after { background: var(--green-glow); }
.prestige-text h2 { color: white; font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.prestige-text p { color: rgba(255,255,255,0.78); font-size: var(--fs-md); margin-bottom: var(--sp-4); }
.prestige-quote {
  border-left: 3px solid var(--green-glow);
  padding-left: var(--sp-4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: white;
  margin-top: var(--sp-6);
}

/* === PROCESSUS === */
.process {
  background: white;
  position: relative;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
  margin-top: var(--sp-8);
}
@media (max-width: 980px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-step {
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.process-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--blue-bright));
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.process-step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-bright), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--sp-3);
  letter-spacing: 0;
}
.process-step h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.process-step p { font-size: var(--fs-sm); }

/* === FAQ === */
.faq {
  background: linear-gradient(180deg, var(--cream) 0%, #fefdfb 100%);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  transition: all 0.3s;
  overflow: hidden;
}
.faq-item:hover { border-color: var(--green-bright); }
.faq-item.is-open { box-shadow: var(--shadow); border-color: var(--green-bright); }
.faq-question {
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.faq-question::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--green-deep);
  font-weight: 300;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-answer-inner { padding: 0 var(--sp-6) var(--sp-6); color: var(--ink-soft); font-size: var(--fs-md); }
.faq-answer-inner p:not(:last-child) { margin-bottom: var(--sp-3); }
.faq-building-types {
  line-height: 1.65;
  text-wrap: pretty;
}
.faq-building-types span {
  display: inline-block;
  white-space: nowrap;
}
.faq-building-types span:not(:first-child)::before {
  content: " • ";
  color: var(--green-deep);
  font-weight: 700;
}

/* === CALCULATEUR DE DEVIS === */
.quote-calculator {
  background:
    linear-gradient(180deg, #fefdfb 0%, var(--cream) 100%);
}
.quote-calculator-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: var(--sp-12);
  align-items: center;
}
.quote-calculator-copy {
  min-width: 0;
}
.quote-calculator-copy h2 {
  font-size: clamp(2.2rem, 1.5rem + 1.6vw, 3.05rem);
  line-height: 1.06;
  text-align: center;
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quote-title-main,
.quote-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.12em;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
.quote-calculator-copy .roller-phrase-terminal .word-roller {
  --roller-1: 6.7ch;
  --roller-2: 6.6ch;
  --roller-3: 8.2ch;
  width: var(--roller-3);
  overflow: hidden;
  animation: none;
}
.quote-calculator-copy .roller-phrase-terminal .word-roller > span {
  opacity: 0;
  transform: none;
  animation: quoteWordFade 6s ease-in-out infinite;
}
.quote-calculator-copy .roller-phrase-terminal .word-roller > span:nth-child(1) { animation-delay: 0s; }
.quote-calculator-copy .roller-phrase-terminal .word-roller > span:nth-child(2) { animation-delay: 2s; }
.quote-calculator-copy .roller-phrase-terminal .word-roller > span:nth-child(3) { animation-delay: 4s; }
@keyframes quoteWordFade {
  0%, 30% { opacity: 1; }
  36%, 100% { opacity: 0; }
}
@media (max-width: 640px) {
  .quote-calculator-copy .roller-phrase-terminal {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
  .quote-calculator-copy .roller-phrase-terminal .word-roller {
    width: var(--roller-3);
    flex: 0 0 var(--roller-3);
    animation: none;
  }
}
.quote-calculator-copy p {
  max-width: min(100%, 60ch);
  margin: 0 auto var(--sp-6);
  line-height: 1.75;
}
.calculator-benefits {
  display: grid;
  gap: var(--sp-3);
  text-align: left;
}
.calculator-benefits li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-3);
  padding-left: 0;
  color: var(--ink-soft);
  font-weight: 700;
}
.calculator-benefits li::before {
  content: "";
  position: static;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 5px rgba(132, 196, 65, 0.18);
}
.calculator-card {
  padding: var(--sp-8);
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.calculator-field {
  border: 0;
  margin: 0 0 var(--sp-6);
  padding: 0;
}
.calculator-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.calculator-field label,
.calculator-field legend {
  color: var(--ink);
  font-weight: 800;
}
.surface-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 132px;
  padding: 0.35rem 0.65rem;
  background: var(--cream);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 800;
}
.surface-input-wrap input {
  width: 92px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
  outline: 0;
}
.surface-range {
  width: 100%;
  accent-color: var(--green-deep);
}
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-2);
  color: var(--ink-mute);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.service-choice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.service-choice legend {
  grid-column: 1 / -1;
  margin-bottom: var(--sp-1);
}
.service-choice label {
  display: grid;
  gap: var(--sp-1);
  min-height: 92px;
  padding: var(--sp-4);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.service-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.service-choice label:has(input:checked) {
  border-color: var(--green-bright);
  background: linear-gradient(135deg, rgba(132, 196, 65, 0.12), rgba(77, 191, 219, 0.1));
  box-shadow: var(--shadow-sm);
}
.service-choice span {
  color: var(--ink);
  font-weight: 800;
}
.service-choice strong {
  color: var(--green-deep);
  font-size: var(--fs-sm);
}
.quote-large-project .service-choice strong {
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quote-result {
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  border-radius: var(--radius-lg);
  color: white;
}
.quote-large-project .quote-result {
  background:
    linear-gradient(135deg, rgba(15, 26, 31, 0.98), rgba(42, 125, 62, 0.9)),
    radial-gradient(circle at 82% 16%, rgba(202, 233, 242, 0.26), transparent 46%);
  box-shadow: 0 24px 52px rgba(42, 125, 62, 0.22);
}
.quote-result > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.quote-result span,
.quote-result dt {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quote-result strong {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}
.quote-result dl {
  display: grid;
  gap: var(--sp-3);
}
.quote-result dl div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
}
.quote-result dd {
  color: white;
  font-weight: 800;
  text-align: right;
}
.quote-result p {
  max-width: none;
  margin-top: var(--sp-4);
  color: rgba(255,255,255,0.68);
  font-size: var(--fs-xs);
}
.quote-large-project .quote-result p {
  color: rgba(255,255,255,0.86);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.calculator-actions .btn {
  flex: 1 1 210px;
  justify-content: center;
}
.calculator-actions .btn-secondary {
  animation: outlineTap 6s ease-in-out infinite;
}
.calculator-actions .btn-primary {
  animation: primarySweep 4.9s ease-in-out infinite;
}
@media (max-width: 980px) {
  .quote-calculator-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .quote-calculator-copy h2 {
    max-width: 100%;
    font-size: clamp(1.65rem, 7.6vw, 2.05rem);
  }
  .quote-title-main,
  .quote-title-line {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  .calculator-card { padding: var(--sp-6); }
  .calculator-label-row { align-items: flex-start; flex-direction: column; }
  .service-choice { grid-template-columns: 1fr; }
  .quote-result > div:first-child,
  .quote-result dl div { flex-direction: column; gap: var(--sp-1); }
  .quote-result dd { text-align: left; }
}

/* === CTA FINAL === */
.cta-final {
  background:
    linear-gradient(135deg, rgba(42, 125, 62, 0.95), rgba(26, 86, 115, 0.95)),
    radial-gradient(circle at 70% 30%, var(--green-bright), transparent 60%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.cta-final h2 {
  color: white;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-3xl);
}
.cta-final h2:has(.cta-title-line) {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-title-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  text-align: center;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
.cta-final .roller-phrase {
  gap: 0.08em;
}
.cta-final .word-roller {
  --roller-1: 5.9ch;
  --roller-2: 5.5ch;
  --roller-3: 7.2ch;
  width: var(--roller-3);
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: baseline;
  animation: none;
}
.cta-final .word-roller > span {
  transform: none;
  animation-name: wordFade;
}
.cta-final p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-8);
  max-width: none;
}
.cta-final-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}
.cta-final .btn-primary {
  background: white;
  color: var(--green-deep);
  animation: whitePulse 5.4s ease-in-out infinite;
}
.cta-final .btn-primary:hover {
  background: var(--green-glow);
  color: var(--ink);
}
.cta-final .btn-ghost {
  animation: softNudge 6.2s ease-in-out infinite;
}

/* === CONTACT / RDV === */
.contact {
  background: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-12);
}
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.contact-info > p { margin-bottom: var(--sp-8); }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--cream);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.contact-item:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(42, 125, 62, 0.25);
}
.contact-item-label {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
}
.contact-item-value {
  font-weight: 700;
  color: var(--ink);
  font-size: var(--fs-md);
  display: block;
}
.contact-item-value:hover { color: var(--green-deep); }
.contact-calendar-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}

.calendar-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  border: 1px solid var(--slate-100);
  min-height: 700px;
}
.calendly-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 700px;
  background: white;
}
.calendar-frame.is-fallback .calendly-frame {
  display: none !important;
}
.calendar-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: var(--sp-12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  background: linear-gradient(135deg, #fefdfb, var(--cream));
}
.calendar-frame.is-fallback .calendar-placeholder {
  position: relative;
}
.calendar-placeholder svg { color: var(--green-bright); margin-bottom: var(--sp-4); }
.calendar-placeholder h3 { margin-bottom: var(--sp-3); }
.calendar-placeholder p { margin-bottom: var(--sp-6); }

.call-dialog {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: var(--sp-6);
}
.call-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 31, 0.54);
  backdrop-filter: blur(10px);
}
.call-dialog-panel {
  position: relative;
  width: min(420px, 100%);
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,247,240,0.98)),
    var(--bg);
  border: 1px solid rgba(42, 125, 62, 0.18);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  animation: callDialogIn 0.26s var(--ease-out) forwards;
}
.call-dialog-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  box-shadow: 0 12px 28px rgba(42, 125, 62, 0.28);
}
.call-dialog-panel h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.call-dialog-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-pill);
  color: var(--green-deep);
  background: rgba(132, 196, 65, 0.13);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.call-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(15, 26, 31, 0.06);
  font-size: 1.35rem;
  line-height: 1;
  transition: all 0.2s var(--ease-out);
}
.call-dialog-close:hover {
  color: white;
  background: var(--green-deep);
  transform: rotate(8deg);
}
.zone-dialog .call-dialog-panel {
  max-width: 540px;
  text-align: left;
}
.zone-dialog-header {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.zone-dialog-header h3 {
  margin-bottom: var(--sp-3);
}
.zone-dialog-header p {
  max-width: none;
  font-size: var(--fs-sm);
}
.zone-dialog-form {
  display: grid;
  gap: var(--sp-4);
}
.zone-dialog-form label {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.zone-dialog-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-3);
}
.zone-dialog-input-row input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  background: white;
  color: var(--ink);
  font-weight: 700;
  outline: none;
}
.zone-dialog-input-row input:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(132, 196, 65, 0.18);
}
.zone-dialog-input-row .btn {
  min-height: 52px;
  padding-inline: 1.1rem;
}
.zone-dialog-result {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  background: rgba(238, 242, 244, 0.62);
}
.zone-dialog-result.is-visible {
  display: block;
}
.zone-dialog-result.is-ok {
  border-color: rgba(132, 196, 65, 0.55);
  background: rgba(132, 196, 65, 0.12);
}
.zone-dialog-result.is-warn {
  border-color: rgba(232, 132, 60, 0.45);
  background: rgba(232, 132, 60, 0.1);
}
.zone-dialog-result strong {
  display: block;
  margin-bottom: var(--sp-2);
  color: var(--ink);
}
.zone-dialog-result p {
  font-size: var(--fs-sm);
  max-width: none;
}
.zone-dialog-hubs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.zone-dialog-hubs span {
  padding: 0.42rem 0.66rem;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--green-deep);
  font-size: var(--fs-xs);
  font-weight: 800;
}
body.has-call-dialog {
  overflow: hidden;
}
@keyframes callDialogIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 540px) {
  .zone-dialog-input-row {
    grid-template-columns: 1fr;
  }
}

/* === FOOTER === */
.site-footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--sp-20) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img {
  display: block;
  width: min(280px, 100%);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: var(--sp-4);
}
.footer-brand p { color: rgba(255, 255, 255, 0.65); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.footer-social {
  display: flex;
  gap: var(--sp-2);
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
}
.footer-col h5 {
  color: white;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: var(--sp-4);
  font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green-glow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-links { display: flex; gap: var(--sp-4); }

/* === VIE DU SITE : flottement subtil des cartes === */
@keyframes cardSoftFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
.coverage-card,
.service-card,
.ba-slider,
.ba-cta-card,
.trust-card,
.process-step,
.contact-item {
  animation: cardSoftFloat 8s ease-in-out infinite;
}
.coverage-card:nth-child(2n),
.service-card:nth-child(2n),
.ba-gallery > div:nth-child(2n) .ba-slider,
.trust-card:nth-child(2n),
.process-step:nth-child(2n),
.contact-item:nth-child(2n) {
  animation-delay: 0.8s;
}
.coverage-card:nth-child(3n),
.service-card:nth-child(3n),
.ba-gallery > div:nth-child(3n) .ba-slider,
.trust-card:nth-child(3n),
.process-step:nth-child(3n),
.contact-item:nth-child(3n) {
  animation-delay: 1.4s;
}
.ba-cta-card {
  animation-delay: 1.1s;
}
@media (prefers-reduced-motion: reduce) {
  .coverage-card,
  .service-card,
  .ba-slider,
  .ba-cta-card,
  .trust-card,
  .process-step,
  .contact-item {
    animation: none;
  }
}

/* === STICKY MOBILE PHONE/CTA === */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: var(--sp-3);
  background: rgba(255, 253, 251, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 -4px 24px rgba(15, 26, 31, 0.1);
  gap: var(--sp-2);
}
.mobile-sticky-cta .btn { flex: 1; padding: 0.75rem 1rem; font-size: var(--fs-xs); }
.mobile-sticky-cta .btn-phone {
  animation: stickyCallNudge 4.4s ease-in-out infinite;
}
.mobile-sticky-cta .btn-primary {
  animation: stickyCallNudge 4.4s ease-in-out infinite;
}
@media (max-width: 768px) {
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* === REVEAL ON SCROLL ===
   Important : on n'applique le masquage que si JS est activé (.js sur <html>).
   Sans JS, tout est visible par défaut (accessibilité, SEO, fallback no-script). */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Compteurs : sans JS, on affiche directement la valeur cible via attr() */
.js [data-counter] { /* pas de style spécial, le JS s'en occupe */ }

/* === BLOG === */
.blog-hero {
  padding: calc(var(--sp-32) + 60px) 0 var(--sp-16);
  background: linear-gradient(135deg, #fefdfb, #f4f8ee);
  text-align: center;
}
.blog-hero h1 { margin-bottom: var(--sp-4); }
.blog-hero p { max-width: 580px; margin: 0 auto; font-size: var(--fs-lg); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--slate-100);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-bright);
}
.blog-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--green-bright), var(--blue-mid));
  position: relative;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-content {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
  font-weight: 600;
}
.blog-card-meta .badge {
  background: var(--green-glow);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-right: var(--sp-2);
}
.blog-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}
.blog-card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
  flex: 1;
}
.blog-card-link {
  font-weight: 700;
  color: var(--green-deep);
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card-link::after { content: "→"; transition: transform 0.3s; }
.blog-card:hover .blog-card-link::after { transform: translateX(4px); }

/* === ARTICLE === */
.article-hero {
  padding: calc(var(--sp-32) + 60px) 0 var(--sp-12);
  background: linear-gradient(135deg, #fefdfb, #f4f8ee);
}
.article-hero .container-narrow { text-align: center; }
.article-hero h1 { margin-bottom: var(--sp-4); }
.article-hero .article-meta { margin-bottom: var(--sp-6); }
.article-meta {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.article-meta .badge {
  background: var(--green-glow);
  color: var(--ink);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-right: var(--sp-2);
}
.article-content {
  padding: var(--sp-12) 0 var(--sp-20);
}
.article-content .container-narrow > * { margin-bottom: var(--sp-6); }
.article-content h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
}
.article-content h3 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.article-content p {
  font-size: var(--fs-md);
  color: var(--ink);
  max-width: none;
  line-height: 1.75;
}
.article-content ul, .article-content ol {
  padding-left: var(--sp-6);
  font-size: var(--fs-md);
  color: var(--ink);
  line-height: 1.75;
}
.article-content ul li, .article-content ol li {
  margin-bottom: var(--sp-2);
}
.article-content ul li::marker { color: var(--green-bright); }
.article-content ol { list-style: decimal; }
.article-content ol li::marker { color: var(--green-deep); font-weight: 700; }
.article-content blockquote {
  border-left: 4px solid var(--green-bright);
  padding: var(--sp-4) var(--sp-6);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--ink);
  margin: var(--sp-6) 0;
}
.article-content strong { color: var(--green-deep); font-weight: 700; }
.article-featured-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.article-cta {
  margin-top: var(--sp-12);
  padding: var(--sp-8);
  background: linear-gradient(135deg, var(--cream), white);
  border: 1px solid var(--green-glow);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h3 { margin-bottom: var(--sp-3); }
.article-cta p { margin: 0 auto var(--sp-6); }

/* === PAGE QUI SOMMES NOUS === */
.about-hero {
  padding: calc(var(--sp-24) + 80px) 0 var(--sp-20);
  background:
    radial-gradient(circle at 82% 20%, rgba(77, 191, 219, 0.14), transparent 46%),
    radial-gradient(circle at 16% 88%, rgba(132, 196, 65, 0.12), transparent 54%),
    linear-gradient(180deg, #fefdfb 0%, #f4f8ee 100%);
  position: relative;
  overflow: hidden;
}
.about-hero .container {
  position: relative;
  z-index: 1;
}
.about-hero .bubble-deco {
  z-index: 0;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: var(--sp-12);
  align-items: center;
}
.about-hero-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.about-hero-badge {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-6);
}
.about-hero-copy .section-eyebrow {
  justify-content: center;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.about-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 11ch;
  margin-left: auto;
  margin-right: auto;
}
.about-hero h1 em {
  color: var(--ink);
  font-style: italic;
  position: relative;
  white-space: nowrap;
  z-index: 1;
}
.about-hero h1 em::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.03em;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--green-glow);
  z-index: -1;
  border-radius: 999px;
  transform: rotate(-1deg);
}
.about-hero-lead {
  font-size: var(--fs-lg);
  max-width: 58ch;
  margin: var(--sp-6) auto 0;
}
.about-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
@media (max-width: 980px) {
  .about-hero {
    padding-bottom: var(--sp-16);
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    text-align: center;
  }
}
.about-hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: end center;
  isolation: isolate;
}
.about-hero-visual::before {
  content: "";
  position: absolute;
  width: min(96%, 440px);
  aspect-ratio: 1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 45% 38%, rgba(255, 255, 255, 0.95), rgba(202, 233, 242, 0.70) 44%, rgba(182, 220, 91, 0.22) 72%, transparent 74%);
  box-shadow: 0 30px 70px rgba(26, 86, 115, 0.14);
  z-index: -1;
  animation: aboutHeroHaloPulse 7s ease-in-out infinite;
}
.about-hero-visual::after {
  content: "";
  position: absolute;
  width: min(80%, 360px);
  height: 34px;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(21, 45, 59, 0.10);
  filter: blur(18px);
  z-index: -1;
  transform-origin: center;
  animation: aboutHeroShadowPulse 6.4s ease-in-out infinite;
}
.about-hero-visual img {
  width: min(88%, 390px);
  max-width: none;
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(15, 26, 31, 0.18));
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.js .about-hero-visual img {
  opacity: 0;
  scale: 0.92;
  animation:
    heroMossyIn 0.9s var(--ease-bounce) 0.25s forwards,
    float 6s ease-in-out 1.15s infinite;
}
@keyframes aboutHeroHaloPulse {
  0%, 100% { opacity: 0.86; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
@keyframes aboutHeroShadowPulse {
  0%, 100% { opacity: 0.88; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 0.48; transform: translateX(-50%) scaleX(0.78); }
}
@media (max-width: 768px) {
  .about-hero-visual {
    min-height: 320px;
  }
  .about-hero-visual::before {
    width: min(86vw, 330px);
  }
  .about-hero-visual img {
    width: min(76vw, 300px);
  }
}
.about-story {
  padding: var(--sp-24) 0;
  overflow: hidden;
  background: white;
}
.about-story-origin {
  position: relative;
  padding-bottom: var(--sp-18);
  background:
    radial-gradient(circle at 8% 16%, rgba(132, 196, 65, 0.11), transparent 34%),
    radial-gradient(circle at 92% 84%, rgba(77, 191, 219, 0.05), transparent 38%),
    linear-gradient(180deg, #fff 0%, #fbf9f2 52%, var(--cream) 100%);
}
.about-story-origin::after {
  display: none;
}
.about-design-transition {
  position: relative;
  height: clamp(108px, 12vw, 172px);
  overflow: hidden;
  background: var(--cream);
}
.about-design-transition::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 0 0 50% 50% / 0 0 42% 42%;
  background:
    radial-gradient(circle at 18% 42%, rgba(182, 220, 91, 0.24), transparent 34%),
    radial-gradient(circle at 84% 58%, rgba(132, 196, 65, 0.18), transparent 38%),
    linear-gradient(180deg, #f5fbea 0%, #e8f5d6 100%);
  box-shadow: inset 0 -1px 0 rgba(42, 125, 62, 0.08);
  pointer-events: none;
}
.about-design-transition::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -62%;
  height: 84%;
  border-radius: 50% 50% 0 0 / 72% 72% 0 0;
  background: var(--cream);
  box-shadow: 0 -18px 42px rgba(42, 125, 62, 0.08);
  pointer-events: none;
}
.about-design-transition span {
  display: none;
}
.js .about-design-transition {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.75s var(--ease-out);
}
.js .about-design-transition::before {
  transform: scaleY(0.08);
  transform-origin: top center;
  transition: transform 0.95s var(--ease-out), border-radius 0.95s var(--ease-out);
}
.js .about-design-transition::after {
  opacity: 0;
  transform: translateY(30%);
  transition: opacity 0.7s var(--ease-out) 0.18s, transform 0.9s var(--ease-out) 0.18s;
}
.js .about-design-transition.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js .about-design-transition.is-visible::before {
  transform: scaleY(1);
}
.js .about-design-transition.is-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.about-story-method {
  padding-top: var(--sp-12);
  background:
    radial-gradient(circle at 12% 18%, rgba(132, 196, 65, 0.08), transparent 34%),
    linear-gradient(180deg, var(--cream) 0%, #fff 54%, var(--cream) 100%);
}
.about-founders {
  padding: var(--sp-12) 0 var(--sp-20);
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}
.about-founders .container-narrow {
  max-width: 1180px;
}
.about-story .section-header {
  margin-bottom: var(--sp-10);
}
.about-story-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-12);
  align-items: start;
}
@media (max-width: 768px) {
  .about-story-grid { grid-template-columns: 1fr; }
}
.about-story p {
  font-size: var(--fs-md);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-story h2 {
  text-align: center;
}
.about-editorial {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: var(--sp-16);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.about-editorial-heading {
  position: relative;
  text-align: left;
}
.about-editorial-heading .section-eyebrow {
  margin-bottom: var(--sp-6);
}
.about-editorial-heading h2 {
  max-width: 10ch;
  margin: 0;
  text-align: left;
}
.about-editorial-origin {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}
.about-editorial-origin .about-editorial-heading {
  align-self: center;
}
.about-editorial-origin .about-editorial-heading h2 {
  max-width: min(100%, 520px);
  font-size: clamp(2.35rem, 3.55vw, 3.9rem);
  line-height: 1;
}
.about-title-nowrap {
  display: inline-block;
  white-space: nowrap;
}
.about-editorial-copy {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  padding-left: 0;
  border-left: 0;
}
.about-editorial-copy::before {
  display: none;
}
.about-editorial-copy p {
  max-width: 64ch;
  margin: 0;
  text-align: left;
  line-height: 1.85;
}
.about-editorial-copy .about-lead {
  font-size: var(--fs-lg);
  color: var(--ink);
}
.about-editorial-copy strong {
  color: var(--green-deep);
}
.about-story-method .about-editorial {
  display: block;
  max-width: 980px;
}
.about-story-method .about-editorial-heading {
  text-align: center;
}
.about-story-method .about-editorial-heading .section-eyebrow {
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.about-story-method .about-editorial-heading h2 {
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.15rem);
}
.about-process {
  display: grid;
  gap: 0;
  max-width: 820px;
  margin: var(--sp-12) auto 0;
  border-top: 1px solid rgba(36, 56, 66, 0.12);
}
.about-process-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
  justify-items: center;
  gap: var(--sp-4);
  align-items: start;
  text-align: center;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid rgba(36, 56, 66, 0.12);
}
.about-process-step:not(:last-child)::after {
  display: none;
}
.about-process-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(135deg, var(--green-bright), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: none;
  animation: aboutMarkerPulse 6s ease-in-out infinite;
}
.about-process-step h3 {
  font-size: var(--fs-lg);
  max-width: 19ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-2);
  text-align: center;
}
.about-process-step p {
  max-width: 58ch;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75;
}
@keyframes aboutMarkerPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@media (max-width: 980px) {
  .about-editorial {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .about-editorial-heading {
    text-align: center;
  }
  .about-editorial-heading .section-eyebrow {
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about-editorial-heading h2 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .about-editorial-copy {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    border-left: 0;
  }
  .about-editorial-copy::before {
    display: none;
  }
  .about-editorial-copy p,
  .about-process-step p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .about-process-step {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--sp-4);
    text-align: center;
  }
  .about-process-step:not(:last-child)::after {
    display: none;
  }
}
.about-certifications {
  padding: var(--sp-20) 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(182, 220, 91, 0.12), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(77, 191, 219, 0.10), transparent 38%),
    #fff;
}
.about-certifications .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.certification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.certification-card {
  position: relative;
  min-height: 100%;
  padding: var(--sp-8);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.certification-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.certification-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-bright);
  box-shadow: var(--shadow-lg);
}
.certification-card:hover::before {
  transform: scaleX(1);
}
.certification-card span {
  display: inline-flex;
  margin-bottom: var(--sp-4);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--green-bright), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.certification-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}
.certification-card p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.certification-story {
  display: grid;
  gap: var(--sp-4);
  max-width: 880px;
  margin: var(--sp-12) auto 0;
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(36, 56, 66, 0.12);
  text-align: center;
}
.certification-story p {
  max-width: 68ch;
  margin: 0 auto;
  line-height: 1.78;
}
.certification-story p:last-child {
  color: var(--green-deep);
  font-weight: 900;
}
@media (max-width: 980px) {
  .certification-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .certification-grid {
    grid-template-columns: 1fr;
  }
}
.about-founder-note {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--sp-16) clamp(var(--sp-8), 6vw, var(--sp-16));
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 86% 18%, rgba(77, 191, 219, 0.12), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(132, 196, 65, 0.12), transparent 34%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.about-founder-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 760px);
  height: 3px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--green-bright), var(--blue-bright), var(--green-deep));
}
.about-founder-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  text-align: center;
}
.about-founder-note .section-eyebrow {
  justify-content: center;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.about-founder-note h2 {
  width: min(100%, 14ch);
  max-width: none;
  margin: 0 auto clamp(2.75rem, 4vw, 4rem);
  text-align: center;
  text-align-last: center;
}
.about-founder-tagline {
  max-width: 38ch;
  margin: var(--sp-4) auto clamp(3rem, 4.5vw, 4.5rem);
  color: var(--green-deep);
  font-weight: 900;
  line-height: 1.55;
}
.about-founder-copy {
  max-width: 82ch;
  margin: 0 auto;
  display: grid;
  gap: var(--sp-8);
}
.about-founder-note p {
  max-width: 82ch;
  margin-bottom: 0;
  text-align: center;
}
.about-founder-note .about-founder-tagline {
  max-width: 38ch;
  margin: clamp(1.25rem, 2vw, 2rem) auto clamp(3.25rem, 4.25vw, 4.5rem);
  line-height: 1.6;
}
.about-founder-copy p:first-child {
  font-size: var(--fs-lg);
  line-height: 1.85;
}
.about-founder-copy p:last-child {
  line-height: 1.9;
}
.about-founder-mossy-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 390px);
  margin: var(--sp-10) auto 0;
  padding: var(--sp-6);
  isolation: isolate;
}
.about-founder-mossy-scene::before {
  content: "";
  position: absolute;
  inset: 8% 12% 4%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(77, 191, 219, 0.22), rgba(182, 220, 91, 0.12) 58%, transparent 72%);
  filter: blur(2px);
  animation: aboutSceneBreathe 6.5s ease-in-out infinite;
}
.about-founder-mossy {
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(15, 26, 31, 0.16));
  animation: aboutMossyFloat 6.8s ease-in-out infinite;
}
.about-founder-photo-frame {
  position: relative;
  z-index: 1;
  min-height: 330px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.about-founder-photo-frame::before {
  content: "";
  position: absolute;
  width: min(96%, 280px);
  height: min(78%, 260px);
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(202, 233, 242, 0.56)),
    #fff;
  border: 1px solid rgba(132, 196, 65, 0.28);
  box-shadow: 0 24px 60px rgba(26, 86, 115, 0.12);
}
.about-founder-photo-frame::after {
  content: "";
  position: absolute;
  width: min(70%, 220px);
  height: 28px;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(21, 45, 59, 0.10);
  filter: blur(14px);
}
.about-photo-scene {
  position: absolute;
  width: min(76%, 225px);
  aspect-ratio: 1;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(182, 220, 91, 0.20), rgba(77, 191, 219, 0.18) 58%, transparent 72%);
  animation: aboutSceneBreathe 6.5s ease-in-out infinite;
}
.about-founder-photo-frame .about-founder-mossy {
  width: min(82%, 245px);
  height: auto;
  position: relative;
  z-index: 1;
  transform: translateY(10px) rotate(-2deg);
  filter: drop-shadow(0 18px 28px rgba(15, 26, 31, 0.20));
  animation: aboutMossyFloat 6.8s ease-in-out infinite;
}
@keyframes aboutSceneBreathe {
  0%, 100% { opacity: 0.72; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
@keyframes aboutMossyFloat {
  0%, 100% { transform: translateY(10px) rotate(-2deg); }
  50% { transform: translateY(2px) rotate(1deg); }
}
@media (max-width: 768px) {
  .about-founder-note {
    padding: var(--sp-12) 0;
  }
  .about-founder-note h2 {
    width: min(100%, 12.5ch);
    max-width: none;
    margin-bottom: clamp(2.5rem, 8vw, 3.25rem);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .about-founder-note .about-founder-tagline {
    max-width: min(44ch, calc(100% - 32px));
    margin: clamp(1.75rem, 6vw, 2.5rem) auto clamp(3rem, 9.5vw, 4rem);
    line-height: 1.58;
  }
  .about-founder-copy {
    max-width: 44ch;
  }
  .about-founder-note p {
    max-width: 44ch;
  }
  .about-founder-mossy-scene {
    width: min(100%, 310px);
    margin-top: var(--sp-8);
    padding: var(--sp-4);
  }
  .about-founder-mossy {
    width: min(100%, 230px);
  }
  .about-founder-photo-frame {
    min-height: 245px;
  }
  .about-founder-photo-frame .about-founder-mossy {
    width: min(62%, 185px);
  }
}
.about-values {
  background:
    radial-gradient(circle at 18% 20%, rgba(77, 191, 219, 0.10), transparent 42%),
    var(--cream);
  padding: var(--sp-20) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  position: relative;
  padding: var(--sp-8);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-bright);
  box-shadow: var(--shadow);
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-card .value-num {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-glow);
  line-height: 1;
}
.value-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
  padding-right: var(--sp-12);
}
.value-card p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.js :is(.certification-card, .value-card).reveal {
  opacity: 0;
  transform: translateY(46px) scale(0.96);
  filter: blur(8px);
  transition:
    opacity 0.78s var(--ease-out),
    transform 0.78s var(--ease-out),
    filter 0.78s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}
.js :is(.certification-card, .value-card).reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.js :is(.certification-card, .value-card).reveal::before {
  transform: scaleX(0);
}
.js :is(.certification-card, .value-card).reveal.is-visible::before {
  transform: scaleX(1);
  transition-delay: inherit;
}
.js :is(.certification-card, .value-card).reveal.is-visible:hover {
  transform: translateY(-6px);
}
@media (max-width: 768px) {
  .value-card {
    text-align: left;
  }
}
.about-zone-section {
  background: white;
  padding: var(--sp-20) 0;
}
.about-zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: var(--sp-12);
  align-items: center;
}
.about-zone-grid h2 {
  max-width: 14ch;
  margin-bottom: var(--sp-4);
}
.about-zone-card {
  background:
    radial-gradient(circle at 86% 16%, rgba(77, 191, 219, 0.12), transparent 34%),
    var(--cream);
  padding: var(--sp-8);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.about-zone-card h4 {
  margin-bottom: var(--sp-4);
  color: var(--green-deep);
}
.about-zone-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  font-size: var(--fs-sm);
}
.about-zone-card ul:last-child {
  margin-bottom: 0;
}
@media (max-width: 980px) {
  .about-zone-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-zone-grid .section-eyebrow {
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about-zone-grid h2,
  .about-zone-grid p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .about-zone-card {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 560px) {
  .about-zone-card {
    text-align: center;
  }
  .about-zone-card ul {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none; }
.no-wrap { white-space: nowrap; }

/* Accessibilité - réduit-mouvement */
@media (prefers-reduced-motion: reduce) {
  .word-roller span {
    opacity: 0 !important;
    transform: none !important;
    animation: none !important;
  }
  .word-roller span:first-child {
    opacity: 1 !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print */
@media print {
  .site-header, .mobile-sticky-cta, .site-footer { display: none !important; }
  body { background: white; }
}

/* ============================================================
   PAGES D'APPROFONDISSEMENT : hero, grilles, nav active
   ============================================================ */

/* === PAGE HERO (solutions, hydrofuge, environnements) === */
.page-hero {
  padding: calc(var(--sp-32) + 60px) 0 var(--sp-16);
  background: linear-gradient(135deg, #fefdfb, #f0f6e8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(132, 196, 65, 0.12), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(77, 191, 219, 0.08), transparent 50%);
  pointer-events: none;
}
.page-hero .container-narrow { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: var(--sp-4); }
.page-hero h1 em {
  background: linear-gradient(120deg, var(--green-bright), var(--green-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.page-hero p {
  font-size: var(--fs-lg);
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-soft);
}

/* === SOLUTION GRID (2 colonnes alternées) === */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 980px) {
  .solution-grid {
    grid-template-columns: 1fr !important;
    gap: var(--sp-6) !important;
  }
  .solution-grid > div:has(> img) {
    order: -1;
  }
  .solution-grid > div:has(> img) img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
  }
}

/* === HYDROFUGE COMPARE (2 cartes côte à côte) === */
.hydro-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}
@media (max-width: 768px) {
  .hydro-compare {
    grid-template-columns: 1fr !important;
    gap: var(--sp-6) !important;
  }
}

/* === NAV ACTIVE STATE === */
.nav-main a.active {
  color: var(--green-deep);
}
.nav-main a.active::after {
  width: 100%;
}

/* === TIERS RÉDUCTIONS - REFONTE (plus visibles) === */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}
@media (max-width: 900px) {
  .pricing-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pricing-tiers { grid-template-columns: repeat(2, 1fr); }
}
/* .tier défini plus haut */

/* ============================================================
   RESPONSIVE MOBILE - Améliorations complètes
   ============================================================ */

/* Container padding réduit sur très petits écrans */
@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 var(--sp-4); }
}

/* Hero mobile : centrer + réduire mascotte */
@media (max-width: 980px) {
  .hero { min-height: auto; padding: calc(var(--sp-20) + 60px) 0 var(--sp-12); }
  .hero-grid { text-align: center; }
  .hero-trust { justify-content: center; }
  .hero h1 { margin-bottom: var(--sp-4); }
  .hero-subtitle { margin-bottom: var(--sp-6); }
  .hero-ctas { margin-bottom: var(--sp-6); }
  .hero-visual {
    order: 0;
    min-height: 500px;
    width: min(100%, 560px);
    margin: var(--sp-2) auto var(--sp-6);
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .hero-area-cloud {
    position: absolute;
    inset: 0;
    display: block;
    max-width: none;
    margin: 0;
    pointer-events: none;
  }
  .hero-area-cloud span {
    position: absolute;
    min-height: 38px;
    max-width: min(35vw, 150px);
    box-sizing: border-box;
    padding: 0.55rem 0.85rem;
    font-size: clamp(0.9rem, 3vw, 0.98rem);
    animation: heroBadgeDrift 7s ease-in-out var(--badge-drift-delay, 0s) infinite;
  }
  .hero-area-cloud span:nth-child(1) { left: 11%; right: auto; top: 24%; bottom: auto; translate: 0 0; }
  .hero-area-cloud span:nth-child(2) { left: auto; right: 11%; top: 24%; bottom: auto; translate: 0 0; }
  .hero-area-cloud span:nth-child(3) { left: 5%; right: auto; top: 52%; bottom: auto; translate: 0 0; }
  .hero-area-cloud span:nth-child(4) { left: auto; right: 5%; top: 52%; bottom: auto; translate: 0 0; }
  .hero-area-cloud span:nth-child(5) { left: 16%; right: auto; top: auto; bottom: 18%; translate: 0 0; }
  .hero-area-cloud span:nth-child(6) { left: auto; right: 16%; top: auto; bottom: 18%; translate: 0 0; }
  .hero-mossy { max-width: 190px; margin: 0 auto; }
  .hero-bubble {
    position: absolute !important;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    margin: 0;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    background: white;
    max-width: min(82vw, 330px);
  }
  .hero-bubble-hello { top: 1%; left: 50%; right: auto; }
  .hero-bubble-1 { left: 50%; bottom: -1%; top: auto; max-width: min(92vw, 390px); }
  .hero-bubble-hello { transform: translateX(-50%) rotate(1deg); }
  .hero-bubble-1 { transform: translateX(-50%) rotate(-1deg); }
  .js .hero-bubble {
    opacity: 0;
    scale: 0.9;
  }
  .js .hero-bubble-hello {
    animation:
      heroBubbleIn 0.75s var(--ease-bounce) 0.85s forwards,
      mobileBubbleTop 6.5s ease-in-out 1.65s infinite !important;
  }
  .js .hero-bubble-1 {
    animation:
      heroBubbleIn 0.75s var(--ease-bounce) 2.05s forwards,
      mobileBubbleBottom 7.4s ease-in-out 2.85s infinite !important;
  }
  .hero-bubble strong { font-size: var(--fs-sm); }
  .hero-bubble small { display: none; }
  .hero-bubble-hello::after { display: none; }
}
@media (max-width: 480px) {
  .hero-mossy { max-width: 175px; }
  .hero-visual { min-height: 490px; }
  .hero h1 { font-size: clamp(2.15rem, 9.2vw, 2.85rem); }
  .hero-subtitle { font-size: var(--fs-md); }
  .hero-badge { font-size: 0.72rem; }
  .hero-sectors { font-size: var(--fs-sm); }
  .hero-area-cloud span { min-height: 38px; padding: 0.55rem 0.8rem; max-width: min(36vw, 145px); font-size: clamp(0.88rem, 3.1vw, 0.96rem); }
  .hero-area-cloud span:nth-child(1) { left: 9%; right: auto; top: 24%; bottom: auto; translate: 0 0; }
  .hero-area-cloud span:nth-child(2) { left: auto; right: 9%; top: 24%; bottom: auto; translate: 0 0; }
  .hero-area-cloud span:nth-child(3) { left: 3%; right: auto; top: 52%; bottom: auto; translate: 0 0; }
  .hero-area-cloud span:nth-child(4) { left: auto; right: 0; top: 55%; bottom: auto; max-width: 118px; translate: 0 0; }
  .hero-area-cloud span:nth-child(5) { left: 14%; right: auto; top: auto; bottom: 18%; translate: 0 0; }
  .hero-area-cloud span:nth-child(6) { left: auto; right: 14%; top: auto; bottom: 18%; translate: 0 0; }
}

/* Sections padding réduit sur mobile */
@media (max-width: 768px) {
  section { padding: var(--sp-12) 0; }
  .intro { padding: var(--sp-12) 0 var(--sp-8); }
  .envelope { padding: var(--sp-12) 0 var(--sp-16); }
  .envelope-actions {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .envelope-actions .btn {
    width: min(100%, 330px);
  }
  .page-hero { padding: calc(var(--sp-24) + 60px) 0 var(--sp-12); }
  .cta-final { padding: var(--sp-16) 0; }
  .stats { padding: var(--sp-12) 0; }
}

/* Services 4 cols → 1 col sur mobile */
@media (max-width: 600px) {
  .services-grid, .services-grid-4 { grid-template-columns: 1fr; }
  .service-card { padding: var(--sp-6); }
}

/* Pricing info sur mobile */
@media (max-width: 768px) {
  .pricing-info { padding: var(--sp-6); }
  .pricing-info h3 { font-size: var(--fs-xl); }
  .pricing-tiers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .pricing-tiers { grid-template-columns: repeat(2, 1fr); }
  .tier-discount { font-size: 1.5rem; }
}

/* BA slider mobile - plus petit */
@media (max-width: 768px) {
  .before-after-grid { grid-template-columns: 1fr; }
  .ba-gallery { grid-template-columns: 1fr; }
  .ba-gallery .ba-slider,
  .ba-gallery .ba-cta-card {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Stats grid 2x2 sur mobile (déjà ok mais padding) */
@media (max-width: 480px) {
  .stat-num { font-size: 2.2rem; }
}

/* Section trust 2x2 sur mobile */
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* Process steps mobile */
@media (max-width: 540px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: var(--sp-6); border-bottom: 0; }
}

/* Blog mobile */
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Footer mobile */
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-brand img {
    width: min(260px, 70vw);
    height: auto;
    max-width: 100%;
  }
}

/* Contact section mobile */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Drone section mobile */
@media (max-width: 768px) {
  .drone-grid { grid-template-columns: 1fr; }
  .drone-image { aspect-ratio: 16/9; }
  .drone-image img { aspect-ratio: 16/9; }
}

/* Prestige section mobile */
@media (max-width: 768px) {
  .prestige-inner { grid-template-columns: 1fr; }
}

/* Envelope mobile */
@media (max-width: 768px) {
  .envelope-grid { grid-template-columns: 1fr; }
}

/* Header mobile : logo plus petit */
@media (max-width: 768px) {
  .logo { height: 56px; }
}

/* Boutons mobile : pleine largeur sur très petit */
@media (max-width: 380px) {
  .hero-ctas, .cta-final-buttons { flex-direction: column; }
  .hero-ctas .btn, .cta-final-buttons .btn { width: 100%; text-align: center; }
}

/* Textes alignés : correction p max-width */
.section-lead { max-width: 65ch; }
.section-lead.center { max-width: 65ch; }

/* CTA final padding mobile */
@media (max-width: 768px) {
  .cta-final-inner { padding: 0 var(--sp-4); }
}

/* ============================================================
   SUPPRESSION ADRESSE : utility class
   ============================================================ */
.no-address { display: none !important; }

/* Tier "best" - le plus avantageux se distingue */
.tier-best {
  border-color: var(--green-glow) !important;
  background: rgba(182, 220, 91, 0.1) !important;
}
.tier-best .tier-discount {
  filter: drop-shadow(0 2px 12px rgba(132, 196, 65, 0.7));
}

/* ============================================================
   Pages secondaires : respiration titres, textes et cartes
   ============================================================ */
body.has-solid-header :is(h1, h2, h3, h4) {
  text-wrap: balance;
}

body.has-solid-header :is(.page-hero, .blog-hero, .article-hero, .about-hero) :is(.section-eyebrow, .article-meta, .breadcrumb) {
  margin-bottom: var(--sp-4) !important;
}

body.has-solid-header :is(.page-hero, .blog-hero, .article-hero, .about-hero) h1,
body.has-solid-header .service-hero-text h1 {
  margin-bottom: var(--sp-8) !important;
}

body.has-solid-header :is(.page-hero, .blog-hero, .article-hero, .about-hero) p,
body.has-solid-header .service-hero-desc {
  line-height: 1.68;
  margin-bottom: var(--sp-8);
}

body.has-solid-header :is(.page-hero, .blog-hero) .container-narrow {
  text-align: center;
}

body.has-solid-header > section[style*="padding:var(--sp-20)"] > .container-narrow > .reveal {
  text-align: center;
}

body.has-solid-header > section[style*="padding:var(--sp-20)"] > .container-narrow > .reveal > h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

body.has-solid-header > section[style*="padding:var(--sp-20)"] > .container-narrow > .reveal > p {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) .reveal > h2,
body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) .container-narrow > h2,
body.has-solid-header .solution-grid .reveal > h2 {
  margin-bottom: var(--sp-6) !important;
}

body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) :is(p, li) {
  line-height: 1.78;
}

body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) :is(h2, h3, h4) + :is(p, ul, ol) {
  margin-top: var(--sp-2) !important;
}

body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) p + p {
  margin-top: var(--sp-4);
}

body.has-solid-header .solution-grid > *,
body.has-solid-header .zone-grid > * {
  min-width: 0;
}

body.has-solid-header .section-header {
  margin-bottom: var(--sp-12);
}

body.has-solid-header .section-header + :is(.trust-grid, .supports-grid, .blog-grid, .hydro-compare, .method-steps, .faq-list, .ba-gallery),
body.has-solid-header :is(.trust-grid, .supports-grid, .blog-grid, .hydro-compare, .method-steps, .faq-list, .ba-gallery)[style*="margin-top"] {
  margin-top: var(--sp-12) !important;
}

body.has-solid-header :is(.support-card, .trust-card, .value-card, .method-step, .blog-card-content, .article-cta) {
  overflow-wrap: anywhere;
}

body.has-solid-header .support-card :is(h2, h3, h4),
body.has-solid-header .trust-card :is(h3, h4),
body.has-solid-header .value-card h3,
body.has-solid-header .method-step h3,
body.has-solid-header .blog-card h3,
body.has-solid-header .article-cta h3 {
  margin-bottom: var(--sp-3) !important;
  line-height: 1.22;
}

body.has-solid-header .support-card h2 {
  font-size: var(--fs-lg);
}

body.has-solid-header .support-card p,
body.has-solid-header .trust-card p,
body.has-solid-header .value-card p,
body.has-solid-header .method-step p,
body.has-solid-header .blog-card p {
  line-height: 1.65;
}

body.has-solid-header .blog-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

body.has-solid-header .blog-card-content > * {
  margin: 0 !important;
}

body.has-solid-header .article-content h2 {
  margin-top: var(--sp-16);
  margin-bottom: var(--sp-6);
}

body.has-solid-header .article-content h3 {
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
}

body.has-solid-header > section:first-of-type:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero) {
  padding-top: calc(var(--sp-32) + 60px) !important;
}

@media (max-width: 980px) {
  body.has-solid-header .solution-grid {
    gap: var(--sp-12) !important;
    row-gap: var(--sp-12) !important;
  }

  body.has-solid-header .solution-grid img {
    margin-block: var(--sp-4);
  }

  body.has-solid-header .solution-grid > div:has(> img) img {
    max-height: 340px;
  }
}

@media (max-width: 768px) {
  body.has-solid-header :is(.page-hero, .blog-hero, .article-hero, .about-hero),
  body.has-solid-header .service-hero {
    padding: calc(var(--sp-20) + 60px) 0 var(--sp-16) !important;
  }

  body.has-solid-header > section:first-of-type:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero) {
    padding-top: calc(var(--sp-20) + 60px) !important;
  }

  body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) {
    padding-top: var(--sp-16) !important;
    padding-bottom: var(--sp-16) !important;
  }

  body.has-solid-header :is(.page-hero, .blog-hero, .article-hero, .about-hero) h1,
  body.has-solid-header .service-hero-text h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.06;
    margin-bottom: var(--sp-6) !important;
  }

  body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) h2 {
    font-size: clamp(1.95rem, 7.8vw, 2.55rem);
    line-height: 1.1;
    margin-bottom: var(--sp-6) !important;
  }

  body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) h3 {
    line-height: 1.18;
  }

  body.has-solid-header .section-header {
    margin-bottom: var(--sp-8);
  }

  body.has-solid-header .section-header + :is(.trust-grid, .supports-grid, .blog-grid, .hydro-compare, .method-steps, .faq-list, .ba-gallery),
  body.has-solid-header :is(.trust-grid, .supports-grid, .blog-grid, .hydro-compare, .method-steps, .faq-list, .ba-gallery)[style*="margin-top"] {
    margin-top: var(--sp-8) !important;
  }

  body.has-solid-header :is(.support-card, .trust-card, .method-step, .article-cta) {
    padding: var(--sp-6) !important;
  }

  body.has-solid-header .blog-card-content {
    padding: var(--sp-6);
  }

  body.has-solid-header .hydro-compare > .reveal {
    padding: var(--sp-6) !important;
  }

  body.has-solid-header .about-hero-grid {
    gap: var(--sp-8);
  }

  body.has-solid-header .about-story-grid,
  body.has-solid-header .zone-grid {
    gap: var(--sp-8) !important;
  }
}

@media (max-width: 480px) {
  body.has-solid-header :is(.page-hero, .blog-hero, .article-hero, .about-hero) h1,
  body.has-solid-header .service-hero-text h1 {
    font-size: clamp(2rem, 10.4vw, 2.65rem);
  }

  body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) h2 {
    font-size: clamp(1.75rem, 8.8vw, 2.25rem);
  }

  body.has-solid-header :is(.page-hero, .blog-hero, .article-hero, .about-hero) p,
  body.has-solid-header .service-hero-desc,
  body.has-solid-header section:not(.page-hero):not(.blog-hero):not(.article-hero):not(.about-hero):not(.service-hero):not(.cta-final):not(.service-sticky-cta) :is(p, li) {
    font-size: var(--fs-md);
  }
}
