/* ==========================================================================
   Mammouth — Site vitrine V2
   Design system + composants. Aucune dépendance externe.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (auto-hébergées → pas d'appel Google, RGPD-clean)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — évolution de l'identité sage / crème existante */
  --sage-950: #16211f;
  --sage-900: #22322f;
  --sage-800: #2e4541;
  --sage-700: #3e5a55;
  --sage-600: #4e736c;
  --sage-500: #6e9c94;
  --sage-400: #8bb3ac;
  --sage-300: #a8ccc7;
  --sage-200: #cbe3df;
  --sage-100: #e2efec;
  --sage-50: #f0f7f5;

  --cream: #fbf7f2;
  --sand: #f4ede4;
  --clay: #e6dbcd;

  --rose-600: #b96a73;
  --rose-500: #d98a93;
  --rose-200: #f3d6d9;
  --rose-50: #fdf2f3;

  --ok-600: #2f8f60;
  --ok-500: #3aa870;
  --ok-50: #eaf7f0;

  --violet-600: #6b46c1;
  --violet-500: #805ad5;
  --violet-50: #f4ecff;

  /* Rôles (mode clair) */
  --bg: #ffffff;
  --bg-alt: var(--cream);
  --bg-deep: var(--sage-900);
  --surface: #ffffff;
  --surface-2: var(--sage-50);
  --border: #e8e2d9;
  --border-strong: #d8d0c4;
  --ink: #16211f;
  --ink-2: #44534f;
  --ink-3: #74837f;
  --brand: var(--sage-600);
  --brand-strong: var(--sage-700);
  --brand-soft: var(--sage-100);
  --accent: var(--rose-500);
  --on-brand: #ffffff;

  /* Typo */
  --font: 'Jakarta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --fs-display: clamp(2.6rem, 1.4rem + 4.4vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 3.1vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.1vw, 2.7rem);
  --fs-h3: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);
  --fs-lead: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;

  /* Espace */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --max: 1200px;
  --max-narrow: 780px;

  /* Formes */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Ombres */
  --sh-1: 0 1px 2px rgba(22, 33, 31, 0.05), 0 1px 3px rgba(22, 33, 31, 0.05);
  --sh-2: 0 4px 12px rgba(22, 33, 31, 0.06), 0 2px 4px rgba(22, 33, 31, 0.04);
  --sh-3: 0 18px 40px -18px rgba(22, 33, 31, 0.22),
    0 4px 12px rgba(22, 33, 31, 0.05);
  --sh-4: 0 32px 70px -28px rgba(22, 33, 31, 0.34);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* Mode sombre — automatique + forçable via data-theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #101917;
    --bg-alt: #14201e;
    --bg-deep: #0b1413;
    --surface: #182523;
    --surface-2: #1e2d2a;
    --border: #2a3a37;
    --border-strong: #38504b;
    --ink: #eef5f3;
    --ink-2: #b6c7c3;
    --ink-3: #8ba09b;
    --brand: var(--sage-300);
    --brand-strong: var(--sage-200);
    --brand-soft: #22322f;
    --on-brand: #0f1817;
    --cream: #14201e;
    --sand: #1a2725;
    --clay: #26332f;
    --rose-50: #2a1e20;
    --ok-50: #16261f;
    --violet-50: #241c33;
    --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --sh-2: 0 4px 12px rgba(0, 0, 0, 0.35);
    --sh-3: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
    --sh-4: 0 32px 70px -28px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme='dark'] {
  --bg: #101917;
  --bg-alt: #14201e;
  --bg-deep: #0b1413;
  --surface: #182523;
  --surface-2: #1e2d2a;
  --border: #2a3a37;
  --border-strong: #38504b;
  --ink: #eef5f3;
  --ink-2: #b6c7c3;
  --ink-3: #8ba09b;
  --brand: var(--sage-300);
  --brand-strong: var(--sage-200);
  --brand-soft: #22322f;
  --on-brand: #0f1817;
  --cream: #14201e;
  --sand: #1a2725;
  --clay: #26332f;
  --rose-50: #2a1e20;
  --ok-50: #16261f;
  --violet-50: #241c33;
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-2: 0 4px 12px rgba(0, 0, 0, 0.35);
  --sh-3: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  --sh-4: 0 32px 70px -28px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 800;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.018em;
  line-height: 1.3;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--brand-strong);
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}
ul {
  padding: 0;
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--sage-500);
  outline-offset: 3px;
  border-radius: 4px;
}
/* doit primer sur les display:flex/grid des composants */
[hidden] {
  display: none !important;
}
::selection {
  background: var(--sage-200);
  color: var(--sage-900);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--sage-700);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translate(-50%, 0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - var(--gutter) * 2, var(--max-narrow));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
}
.section--deep {
  background: var(--bg-deep);
  color: var(--sage-200);
}
.section--deep h2,
.section--deep h3 {
  color: #fff;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  font-size: var(--fs-lead);
  color: var(--ink-3);
  margin-top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section-head--center .eyebrow {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   5. Icônes
   -------------------------------------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm {
  width: 1em;
  height: 1em;
}

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--sage-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), border-color 0.18s var(--ease);
  box-shadow: var(--sh-2);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-3);
}
.btn:active {
  transform: translateY(0);
}
.btn .icon {
  transition: transform 0.18s var(--ease);
}
.btn:hover .icon--arrow {
  transform: translateX(3px);
}
.btn--lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  box-shadow: var(--sh-2);
}
.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.btn--light:hover {
  --btn-bg: rgba(255, 255, 255, 0.2);
}
.btn--accent {
  --btn-bg: var(--rose-500);
}
.btn--accent:hover {
  --btn-bg: var(--rose-600);
}
.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
  transition: color 0.3s var(--ease);
}
.header.is-stuck .brand {
  color: var(--ink);
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--sage-400), var(--sage-700));
  color: #fff;
  font-size: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.brand__mark svg {
  width: 22px;
  height: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__link {
  position: relative;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.header.is-stuck .nav__link {
  color: var(--ink-2);
}
.nav__link:hover,
.nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.header.is-stuck .nav__link:hover,
.header.is-stuck .nav__link.is-active {
  color: var(--brand-strong);
  background: var(--brand-soft);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
/* Sur le hero (header transparent), les boutons passent en clair */
.header:not(.is-stuck) .icon-btn {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.header:not(.is-stuck) .btn--ghost {
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.header:not(.is-stuck) .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn--support .icon {
  width: 1.05rem;
  height: 1.05rem;
}
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: var(--sage-400);
}
.icon-btn .icon {
  width: 1.15rem;
  height: 1.15rem;
}
[data-theme='dark'] .icon--sun,
.icon--moon {
  display: block;
}
.icon--sun {
  display: none;
}
[data-theme='dark'] .icon--moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .icon--sun {
    display: block;
  }
  :root:not([data-theme='light']) .icon--moon {
    display: none;
  }
  :root[data-theme='light'] .icon--moon {
    display: block;
  }
}
.nav-toggle {
  display: none;
}

/* Menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s;
}
.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}
.drawer__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--border);
}
.drawer__top .brand {
  color: var(--ink);
}
.drawer__body {
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
}
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.drawer__link .icon {
  color: var(--brand);
}
.drawer__cta {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}
.drawer__contact {
  margin-top: 2rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.drawer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
}

@media (max-width: 980px) {
  .nav,
  .header__actions .btn {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92svh, 880px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  background: var(--sage-900);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--sage-950);
}
/* Deux couches empilées : la suivante apparaît en fondu quand la précédente
   se termine, ce qui évite la coupure noire entre deux clips. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.hero__video.is-active {
  opacity: 1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(14, 26, 24, 0.9) 0%,
      rgba(14, 26, 24, 0.62) 42%,
      rgba(14, 26, 24, 0.25) 75%
    ),
    linear-gradient(to top, rgba(14, 26, 24, 0.85), transparent 45%);
}
.hero__inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
}
.hero__content {
  max-width: 45rem;
}
.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem 0.42rem 0.5rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.badge-new b {
  background: var(--rose-500);
  color: #fff;
  padding: 0.16rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Dictée animée : onde vocale + texte tapé, puis tout se fige */
.badge-new__wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 1.1em;
  flex: none;
}
.badge-new__wave i {
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  transform: scaleY(var(--rest, 0.3));
  transform-origin: center;
}
.badge-new.is-live .badge-new__wave i {
  animation: dictation-wave var(--d, 0.5s) var(--dl, 0s) ease-in-out infinite alternate;
}
/* Chaque barre a sa hauteur max (--peak), sa vitesse (--d) et son décalage (--dl) */
.badge-new__wave i:nth-child(1) { --rest: 0.25; --peak: 0.55; --d: 0.38s; --dl: -0.05s; }
.badge-new__wave i:nth-child(2) { --rest: 0.5; --peak: 0.8; --d: 0.29s; --dl: -0.17s; }
.badge-new__wave i:nth-child(3) { --rest: 0.8; --peak: 1; --d: 0.34s; --dl: -0.09s; }
.badge-new__wave i:nth-child(4) { --rest: 0.45; --peak: 0.7; --d: 0.26s; --dl: -0.21s; }
.badge-new__wave i:nth-child(5) { --rest: 1; --peak: 1; --d: 0.31s; --dl: -0.02s; }
.badge-new__wave i:nth-child(6) { --rest: 0.6; --peak: 0.9; --d: 0.27s; --dl: -0.13s; }
.badge-new__wave i:nth-child(7) { --rest: 0.85; --peak: 1; --d: 0.36s; --dl: -0.24s; }
.badge-new__wave i:nth-child(8) { --rest: 0.4; --peak: 0.65; --d: 0.28s; --dl: -0.07s; }
.badge-new__wave i:nth-child(9) { --rest: 0.25; --peak: 0.5; --d: 0.4s; --dl: -0.19s; }
@keyframes dictation-wave {
  from { transform: scaleY(0.12); }
  to { transform: scaleY(var(--peak, 1)); }
}
/* Fin de dictée : l'onde laisse la place au PDF coché */
.badge-new__done {
  display: none;
  position: relative;
  width: 1.35em;
  height: 1.35em;
  flex: none;
  color: #fff;
}
.badge-new__done .icon {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}
.badge-new__done::after {
  content: '';
  position: absolute;
  right: -0.3em;
  bottom: -0.25em;
  width: 0.72em;
  height: 0.72em;
  border-radius: 50%;
  background: #34a853 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat;
  box-shadow: 0 0 0 2px rgba(17, 33, 30, 0.85);
}
.badge-new.is-done .badge-new__wave {
  display: none;
}
.badge-new.is-done .badge-new__done {
  display: block;
  animation: dictation-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes dictation-pop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.badge-new__text {
  position: relative;
  white-space: nowrap;
}
/* Pendant la frappe : le texte complet reste invisible pour garder la largeur,
   le texte tapé se superpose. */
.badge-new.is-live .badge-new__text,
.badge-new.is-done .badge-new__text {
  color: transparent;
}
.badge-new__typed {
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  white-space: nowrap;
}
.badge-new.is-live .badge-new__typed::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--rose-200);
  animation: dictation-caret 0.8s steps(1) infinite;
}
@keyframes dictation-caret {
  50% { opacity: 0; }
}
.hero h1 {
  font-size: var(--fs-display);
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 1.35rem;
}
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--sage-300);
}
.hero__lead {
  font-size: clamp(1.02rem, 0.95rem + 0.45vw, 1.22rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}
.hero__lead strong {
  color: #fff;
  font-weight: 700;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__fact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}
.hero__fact .icon {
  color: var(--sage-300);
  width: 1.1rem;
  height: 1.1rem;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  animation: bob 2.6s var(--ease) infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 7px);
  }
}

/* Bandeau conformité */
.trustbar {
  background: var(--sage-900);
  color: var(--sage-200);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.trustbar__track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.trustbar:hover .trustbar__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.trustbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
}
.trustbar__item .icon {
  color: var(--sage-400);
  width: 1.05rem;
  height: 1.05rem;
}

/* --------------------------------------------------------------------------
   9. Cartes fonctionnalités
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.pillar {
  position: relative;
  padding: 2rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-2);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pillar::after {
  content: '';
  position: absolute;
  inset: auto -30% -55% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--sage-300) 35%, transparent),
    transparent 68%
  );
  opacity: 0.7;
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-3);
}
.pillar--feature {
  background: linear-gradient(160deg, var(--sage-800), var(--sage-950));
  border-color: var(--sage-700);
  color: rgba(255, 255, 255, 0.82);
}
.pillar--feature h3 {
  color: #fff;
}
.pillar--feature .pillar__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.pillar--feature::after {
  background: radial-gradient(
    circle,
    rgba(216, 138, 147, 0.4),
    transparent 68%
  );
}
.pillar__tag {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--rose-500);
  color: #fff;
}
.pillar__icon {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 1.35rem;
}
.pillar__icon .icon {
  width: 1.55rem;
  height: 1.55rem;
}
.pillar h3 {
  margin-bottom: 0.7rem;
}
.pillar p {
  font-size: 0.97rem;
}
.pillar p strong {
  color: inherit;
  font-weight: 700;
}
.pillar--feature p strong {
  color: #fff;
}
.pillar:not(.pillar--feature) p strong {
  color: var(--ink);
}

/* Grille de fonctionnalités */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feature {
  background: var(--surface);
  padding: 1.75rem;
  transition: background 0.22s var(--ease);
}
.feature:hover {
  background: var(--surface-2);
}
.feature__icon {
  color: var(--brand);
  margin-bottom: 1rem;
}
.feature__icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}
.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.92rem;
  color: var(--ink-3);
}
.feature p strong {
  color: var(--ink-2);
  font-weight: 700;
}

/* Chips "et aussi" */
.also {
  margin-top: 3.5rem;
}
.also__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.6rem 1.5rem;
  margin-top: 1.75rem;
}
.also__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0.4rem 0;
}
.also__item .icon {
  color: var(--ok-500);
  width: 1.05rem;
  height: 1.05rem;
}

/* Mosaïque photos */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 3rem;
}
@media (min-width: 880px) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
}
.mosaic figure {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-2);
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.mosaic figure:hover img {
  transform: scale(1.06);
}
.mosaic figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(11, 20, 19, 0.88), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   10. Pourquoi Mammouth
   -------------------------------------------------------------------------- */
.why {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .why {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .why__aside {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    align-self: start;
  }
}
.why__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-strong);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 0.35rem;
}
.reasons {
  display: grid;
  border-bottom: 1px solid var(--border);
}
.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0.25rem;
  border-top: 1px solid var(--border);
  transition: background 0.22s var(--ease);
}
.reason:hover {
  background: var(--surface-2);
}
.reason__num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.1em;
  padding-top: 0.35rem;
}
.reason h3 {
  margin-bottom: 0.4rem;
}
.reason p {
  font-size: 0.95rem;
  color: var(--ink-3);
}
.reason p strong {
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   11. Liberté des données
   -------------------------------------------------------------------------- */
.freedom {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .freedom {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.freedom__silence {
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.freedom p {
  color: var(--sage-200);
  font-size: var(--fs-lead);
  margin-bottom: 1.1rem;
}
.freedom p strong {
  color: #fff;
}
.freedom__weeks {
  display: flex;
  gap: 0.5rem;
  margin: 1.75rem 0;
  flex-wrap: wrap;
}
.freedom__week {
  padding: 0.4rem 0.95rem;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.freedom__week:last-child {
  border-style: solid;
  border-color: var(--rose-500);
  color: var(--rose-200);
}
.export-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--sh-4);
  backdrop-filter: blur(6px);
}
.export-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.export-card__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-300);
}
.export-card__click {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sage-900);
  background: var(--sage-300);
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
}
.export-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.1rem;
  border-radius: var(--r-md);
  border: none;
  background: #fff;
  color: var(--sage-900);
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  transition: transform 0.18s var(--ease);
}
.export-btn:hover {
  transform: translateY(-2px);
}
.export-card__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
}
.export-card__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.75);
}
.export-card__list .icon {
  color: var(--sage-300);
  width: 0.95rem;
  height: 0.95rem;
}
.freedom__quote {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--rose-500);
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   12. Démo
   -------------------------------------------------------------------------- */
.demo {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .demo {
    grid-template-columns: 1fr 1fr;
  }
}
.demo__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  aspect-ratio: 5 / 4;
}
.demo__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo__float {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--sh-3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 15rem;
}
.demo__float .icon {
  color: var(--ok-500);
  width: 1.5rem;
  height: 1.5rem;
}
.demo__float span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.demo__points {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}
.demo__point {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.demo__point .icon {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   13. Tarifs
   -------------------------------------------------------------------------- */
.promo-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--ok-50);
  color: var(--ok-600);
  border: 1px solid color-mix(in srgb, var(--ok-500) 30%, transparent);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.segmented {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  gap: 0.2rem;
  margin-inline: auto;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.segmented::-webkit-scrollbar {
  display: none;
}
.segmented button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border: none;
  background: transparent;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-3);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.segmented button[aria-selected='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-2);
}
.segmented .tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-pill);
  background: var(--rose-500);
  color: #fff;
  letter-spacing: 0.02em;
}
.segmented button[data-mode='jeune'] .tag {
  background: var(--violet-500);
}

.pricing {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: start;
}
@media (min-width: 1000px) {
  .pricing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}
.price-card {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.price-card__banner {
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
}
.price-card__banner[data-variant='jeune'] {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
}
.price-card__body {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-soft) 75%, transparent),
    transparent
  );
}
.price-card__old {
  font-size: 1.05rem;
  color: var(--ink-3);
  text-decoration: line-through;
  min-height: 1.6rem;
}
.price-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  margin: 0.25rem 0 0.35rem;
  color: var(--ink);
}
.price-card__amount b {
  font-size: clamp(3.4rem, 2rem + 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}
.price-card__amount span {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-3);
}
.price-card__sub {
  font-size: 0.95rem;
  color: var(--ink-3);
}
.price-card__note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.price-card__note strong {
  color: var(--ink);
}
.price-card__save {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  background: var(--rose-50);
  color: var(--rose-600);
  border: 1px solid var(--rose-200);
  font-weight: 700;
  font-size: 0.86rem;
}
.price-card__features {
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.6rem 1.25rem;
  border-top: 1px solid var(--border);
}
.price-card__features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.price-card__features .icon {
  color: var(--ok-500);
  width: 1rem;
  height: 1rem;
}
.price-card__gift {
  margin: 0 clamp(1.25rem, 4vw, 2.5rem) 2rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--ok-50);
  border: 1px dashed color-mix(in srgb, var(--ok-500) 45%, transparent);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.price-card__gift .icon {
  color: var(--ok-600);
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
}
.price-card__gift b {
  display: block;
  color: var(--ok-600);
  font-size: 0.95rem;
}
.price-card__gift p {
  font-size: 0.87rem;
  color: var(--ink-3);
}

/* Simulateur */
.simulator {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-2);
  padding: clamp(1.35rem, 3vw, 2rem);
}
.simulator > h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.simulator > h3 .icon {
  color: var(--brand);
}
.opt {
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
}
.opt:first-of-type {
  border-top: none;
  padding-top: 0;
}
.opt__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}
.opt__head .icon {
  color: var(--brand);
  width: 1.2rem;
  height: 1.2rem;
}
.opt__title {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}
.opt__hint {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-3);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.choice {
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.choice:hover {
  border-color: var(--sage-400);
  color: var(--ink);
}
.choice[aria-pressed='true'] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-strong);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.choice--num {
  min-width: 3rem;
  text-align: center;
}
.opt__foot {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--ink-3);
}

.recap {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.recap h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
  font-weight: 800;
}
.recap__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.93rem;
  border-bottom: 1px dashed var(--border-strong);
}
.recap__row span:last-child {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.recap__row s {
  color: var(--ink-3);
  font-weight: 400;
}
.recap__discount {
  margin: 0.85rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  background: var(--rose-50);
  border: 1px solid var(--rose-200);
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
}
.recap__discount[data-variant='jeune'] {
  background: var(--violet-50);
  border-color: color-mix(in srgb, var(--violet-500) 35%, transparent);
}
.recap__discount .line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--rose-600);
  font-weight: 700;
}
.recap__discount[data-variant='jeune'] .line {
  color: var(--violet-600);
}
.recap__discount .pill {
  background: var(--rose-600);
  color: #fff;
  padding: 0.1rem 0.55rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
}
.recap__discount[data-variant='jeune'] .pill {
  background: var(--violet-600);
}
.recap__discount .after {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-3);
  text-align: center;
  padding-top: 0.35rem;
  border-top: 1px dashed currentColor;
}
.recap__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-strong);
}
.recap__total span {
  font-weight: 700;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.recap__total b {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand-strong);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.recap__note {
  margin-top: 0.6rem;
  font-size: 0.84rem;
  color: var(--ink-3);
  text-align: right;
}
.simulator__cta {
  margin-top: 1.35rem;
}
.simulator__legal {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--ink-3);
  text-align: center;
}
.simulator__legal a {
  color: var(--ink-3);
}

/* Offre jeune diplômé */
.grad {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(150deg, var(--violet-600), #4c2f8f);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--sh-4);
  overflow: hidden;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .grad {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }
}
.grad::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
}
.grad h2,
.grad h3 {
  color: #fff;
}
.grad__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.grad p {
  margin-bottom: 1rem;
}
.grad strong {
  color: #fff;
}
.grad__price {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.grad__price s {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
.grad__price b {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.grad__price em {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.grad__list {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.25rem;
  text-align: left;
}
.grad__list li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.88rem;
}
.grad__list .icon {
  width: 1rem;
  height: 1rem;
  color: #fff;
}
.grad__fine {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
  margin-inline: auto;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq details[open] {
  border-color: var(--sage-300);
  box-shadow: var(--sh-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  list-style: none;
  transition: background 0.2s var(--ease);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  background: var(--surface-2);
}
.faq summary .icon {
  color: var(--brand);
  transition: transform 0.25s var(--ease);
  flex: none;
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq__answer {
  padding: 0 1.35rem 1.35rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.faq__answer strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .contact {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.contact__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact__item:hover {
  transform: translateX(4px);
  border-color: var(--sage-400);
}
.contact__item .icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--brand);
}
.contact__item small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact__item b {
  color: var(--ink);
  font-size: 1rem;
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--sh-2);
  display: grid;
  gap: 1.1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage-400) 30%, transparent);
}
.field textarea {
  min-height: 8rem;
  resize: vertical;
}
.field--row {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 600px) {
  .field--row {
    grid-template-columns: 1fr 1fr;
  }
}
.form__legal {
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--sage-950);
  color: rgba(255, 255, 255, 0.68);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  padding-bottom: 3rem;
}
.footer__brand {
  max-width: 22rem;
}
.footer .brand {
  color: #fff;
  margin-bottom: 1rem;
}
.footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul {
  display: grid;
  gap: 0.6rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer a:hover {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   16 bis. Pages intérieures (en-tête compact + contenu rédactionnel)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(160deg, var(--sage-800), var(--sage-950));
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: -60% -10% auto auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(168, 204, 199, 0.22),
    transparent 65%
  );
  z-index: -1;
}
.page-hero h1 {
  color: #fff;
  max-width: 20ch;
}
.page-hero__lead {
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.breadcrumb .icon {
  width: 0.85rem;
  height: 0.85rem;
}
.page-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.page-hero__meta .icon {
  width: 0.95rem;
  height: 0.95rem;
}

/* Document : sommaire collant + contenu */
.doc {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
/* sans ça, un tableau large impose sa largeur à toute la colonne (min-width: auto) */
.doc > * {
  min-width: 0;
}
@media (min-width: 1040px) {
  .doc {
    grid-template-columns: 15.5rem minmax(0, 1fr);
  }
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-1);
  max-height: calc(100svh - var(--header-h) - 3rem);
  overflow-y: auto;
}
@media (max-width: 1039px) {
  .toc {
    position: static;
    max-height: none;
  }
}
.toc h2 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.85rem;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.15rem;
  counter-reset: toc;
}
.toc a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-3);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.18s var(--ease);
}
.toc a:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.toc a.is-active {
  background: var(--brand-soft);
  border-left-color: var(--brand);
  color: var(--brand-strong);
}

/* Prose */
.prose {
  max-width: 72ch;
  min-width: 0;
  font-size: 1.02rem;
  overflow-wrap: break-word;
}
.prose > * + * {
  margin-top: 1.1rem;
}
.prose h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.prose h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
}
.prose h4 {
  font-size: 0.98rem;
  margin-top: 1.5rem;
  color: var(--ink);
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}
.prose ul,
.prose ol {
  padding-left: 1.35rem;
  display: grid;
  gap: 0.45rem;
}
.prose ul {
  list-style: none;
  padding-left: 0;
}
.prose ul > li {
  position: relative;
  padding-left: 1.5rem;
}
.prose ul > li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-400);
}
.prose ol {
  list-style: decimal;
}
.prose a {
  font-weight: 600;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 2.5rem;
}
.prose small {
  color: var(--ink-3);
  font-size: 0.85rem;
}
.prose .subtitle,
.prose .last-update {
  color: var(--ink-3);
  font-size: 0.9rem;
}

/* Tableaux : défilent seuls, jamais la page */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 1.25rem;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-top: 1.25rem;
  overscroll-behavior-x: contain;
}
.table-scroll table {
  margin-top: 0;
  min-width: 34rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.prose th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.prose tr:last-child td {
  border-bottom: none;
}

/* Encadrés repris des pages d'origine */
.info-box,
.warning-box,
.success-box,
.highlight-box {
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  background: var(--surface-2);
  margin-top: 1.5rem;
}
.info-box > *:first-child,
.warning-box > *:first-child,
.success-box > *:first-child,
.highlight-box > *:first-child {
  margin-top: 0;
}
.info-box h2,
.warning-box h2,
.success-box h2,
.highlight-box h2,
.info-box h3,
.warning-box h3,
.success-box h3,
.highlight-box h3 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 1.05rem;
}
.warning-box {
  border-left-color: var(--rose-500);
  background: var(--rose-50);
}
.success-box {
  border-left-color: var(--ok-500);
  background: var(--ok-50);
}
.highlight-box {
  border-left-color: var(--sage-400);
  background: var(--sand);
}

/* Cartes de comparaison (page Abonnements) */
.comparison-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (min-width: 720px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.comparison-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-2);
}
.comparison-card h3 {
  margin-top: 0.5rem;
}
.comparison-card .badge,
.comparison-card .badge-green {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.comparison-card .badge-green {
  background: var(--ok-50);
  color: var(--ok-600);
}
.comparison-card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  font-size: clamp(2.2rem, 1.6rem + 1.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-strong);
  margin-top: 0.75rem;
}
/* le « / mois par vétérinaire » ne doit pas hériter du corps du prix */
.comparison-card .price span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--ink-3);
}
.comparison-card .price-detail {
  display: block;
  color: var(--ink-3);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}
.comparison-card h4 {
  font-size: 1.15rem;
  margin-top: 0.85rem;
}
.comparison-card ul {
  margin-top: 1.1rem;
}

/* Grille de cartes générique (fonctionnalités, démo, contact) */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-1);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
}
.card__icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 1.1rem;
}
.card__icon .icon {
  width: 1.4rem;
  height: 1.4rem;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--ink-3);
}
.card__tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-3);
}

/* Bandeau d'appel à l'action de fin de page */
.cta-band {
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(150deg, var(--sage-700), var(--sage-950));
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  box-shadow: var(--sh-4);
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  margin: 1rem auto 1.75rem;
  max-width: 46ch;
}

/* Champs select alignés sur les autres champs */
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
}
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage-400) 30%, transparent);
}

/* Page 404 */
.notfound {
  min-height: 72svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: var(--header-h);
}
.notfound__code {
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--brand-soft);
}

/* --------------------------------------------------------------------------
   17. Back to top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--brand-strong);
  box-shadow: var(--sh-3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--brand-soft);
}

/* --------------------------------------------------------------------------
   18. Animations d'apparition
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-delay='1'] {
  transition-delay: 0.08s;
}
[data-reveal-delay='2'] {
  transition-delay: 0.16s;
}
[data-reveal-delay='3'] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .trustbar__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   19. Impression
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .drawer,
  .to-top,
  .hero__media,
  .trustbar {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}

/* --------------------------------------------------------------------------
   Témoignages — cartes de preuve sociale (19/08/2026)
   Format inspiré des standards du secteur : badge de segment en haut,
   identité (initiales + nom + situation), puis la citation.
   Le badge permet au visiteur de repérer LE témoignage qui lui ressemble.
   -------------------------------------------------------------------------- */
.proof {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.proof__card {
  padding: 1.4rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-1);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.proof__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
}
.proof__badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.proof__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.proof__avatar {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--brand-strong, var(--brand));
}
.proof__name {
  font-weight: 700;
  line-height: 1.25;
}
.proof__role {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.3;
}
.proof__quote {
  margin-top: 0.9rem;
  font-style: italic;
  color: var(--ink-2, var(--ink-3));
}

/* Carrousel de témoignages (#contact, 19/08/2026) — une seule carte visible,
   rotation automatique. Réduit la hauteur de la colonne gauche : sans lui,
   la grille .contact étire le formulaire et écarte ses champs. */
.proof--carousel {
  position: relative;
}
.proof--carousel .proof__card {
  display: none;
}
.proof--carousel .proof__card.is-active {
  display: block;
  animation: proofFade 0.5s var(--ease);
}
@keyframes proofFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.proof__dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.proof__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-strong, var(--border));
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.proof__dot.is-active {
  background: var(--brand);
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   Accordeon smartphone (<= 719 px) : piliers, fonctionnalites, indispensables
   et raisons n'affichent que icone + titre ; le texte s'ouvre au toucher.
   Aucun effet au-dela de 720 px.
   -------------------------------------------------------------------------- */
.collapse-chevron {
  display: none;
}
@media (max-width: 719px) {
  [data-collapse] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  [data-collapse]:focus-visible,
  [data-collapse] h3:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }

  /* Piliers + fonctionnalites : icone | titre | chevron sur une ligne */
  .pillar[data-collapse],
  .feature[data-collapse] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 0.85rem;
    align-items: center;
    padding: 1rem 1.1rem;
  }
  .pillar[data-collapse] {
    padding: 1.15rem 1.25rem;
  }
  .pillar[data-collapse] .pillar__icon,
  .feature[data-collapse] .feature__icon {
    margin: 0;
    grid-row: 1;
    grid-column: 1;
  }
  .pillar[data-collapse] > .collapse-chevron,
  .feature[data-collapse] > .collapse-chevron {
    grid-row: 1;
    grid-column: 3;
  }
  .pillar[data-collapse] .pillar__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  .pillar[data-collapse] h3,
  .feature[data-collapse] h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.3;
  }
  .pillar[data-collapse] .pillar__tag {
    position: static;
    display: inline-block;
    margin-left: 0.4rem;
    vertical-align: middle;
    font-size: 0.58rem;
    padding: 0.2rem 0.5rem;
  }
  .pillar[data-collapse] p,
  .feature[data-collapse] p {
    display: none;
    grid-column: 2 / -1;
    margin-top: 0.7rem;
  }
  .pillar[data-collapse].is-open p,
  .feature[data-collapse].is-open p {
    display: block;
  }
  .pillar[data-collapse]::after {
    display: none;
  }
  .pillar[data-collapse]:hover,
  .feature[data-collapse]:hover {
    transform: none;
  }
  .pillars {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  /* Cartes (pages fonctionnalites, demo) : icone | titre | chevron */
  .card[data-collapse] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 0.85rem;
    align-items: center;
    padding: 1rem 1.1rem;
  }
  .card[data-collapse] .card__icon {
    margin: 0;
    width: 2.4rem;
    height: 2.4rem;
    grid-row: 1;
    grid-column: 1;
  }
  .card[data-collapse] > .collapse-chevron {
    grid-row: 1;
    grid-column: 3;
  }
  .card[data-collapse] h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.3;
  }
  .card[data-collapse] p,
  .card[data-collapse] .card__tag {
    display: none;
    grid-column: 2 / -1;
  }
  .card[data-collapse] p {
    margin-top: 0.7rem;
  }
  .card[data-collapse] .card__tag {
    margin-top: 0.7rem;
    justify-self: start;
  }
  .card[data-collapse].is-open p,
  .card[data-collapse].is-open .card__tag {
    display: block;
  }
  .card[data-collapse].is-open .card__tag {
    display: inline-block;
  }
  .card[data-collapse]:hover {
    transform: none;
  }
  .cards {
    gap: 0.75rem;
  }

  /* Raisons : numero | titre | chevron */
  .reason[data-collapse] {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 0.25rem;
  }
  .reason[data-collapse] .reason__num {
    padding-top: 0;
  }
  .reason[data-collapse].is-open {
    align-items: start;
  }
  .reason[data-collapse].is-open .reason__num,
  .reason[data-collapse].is-open > .collapse-chevron {
    margin-top: 0.3rem;
  }
  .reason[data-collapse] h3 {
    margin: 0;
    font-size: 1.02rem;
  }
  .reason[data-collapse] p {
    display: none;
    margin-top: 0.6rem;
  }
  .reason[data-collapse].is-open p {
    display: block;
  }

  /* Indispensables : titre cliquable, liste repliee */
  .also[data-collapse] {
    margin-top: 2rem;
  }
  .also[data-collapse] h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    font-size: 1.02rem;
  }
  .also[data-collapse] .also__grid {
    display: none;
    margin-top: 0.9rem;
    padding: 0 0.5rem;
  }
  .also[data-collapse].is-open .also__grid {
    display: grid;
  }

  /* Bandeau "Nouveau" du hero : le texte passe sur 2 lignes au lieu d'etre coupe */
  .badge-new {
    max-width: 100%;
    align-items: center;
  }
  .badge-new__text,
  .badge-new__typed {
    white-space: normal;
  }
  .badge-new__text {
    flex: 1 1 8rem;
    min-width: 0;
    line-height: 1.3;
    font-size: 0.8rem;
  }
  .badge-new__typed {
    width: 100%;
  }

  /* Chevron commun */
  .collapse-chevron {
    display: block;
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--ink-3);
    transition: transform 0.25s var(--ease);
  }
  .is-open > .collapse-chevron,
  .is-open > h3 > .collapse-chevron {
    transform: rotate(180deg);
  }
}
