/* =========================================================================
   La Colisserie — Styles globaux (mobile-first)
   ========================================================================= */

/* ---------- Reset ciblé ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@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;
  }
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: var(--corps);
  line-height: var(--lh-body);
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Grain papier/kraft : matière subtile sur toute la page (film-grain premium) */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;                 /* au-dessus du contenu, sous l'overlay d'intro (9999) */
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--perivenche);
  letter-spacing: var(--track-tight); /* display : resserrement subtil, plus éditorial */
  text-wrap: balance;            /* titres : lignes équilibrées, tiennent de préférence sur 2 lignes */
}
h1 { font-size: var(--h1); line-height: var(--lh-display); }
h2 { font-size: var(--h2); line-height: var(--lh-heading); }
h3 { font-size: var(--h3); line-height: 1.18; } /* sous-titres : un cran plus aéré (peuvent passer à la ligne) */
p { max-width: var(--mesure); line-height: var(--lh-body); }
strong, b { font-weight: 600; }
em, i { font-style: italic; }

/* ---------- Couche utilitaire : bandeau + header condensé ---------- */
.announce {
  background: var(--perivenche);
  color: var(--texte-sur-perivenche);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.6rem 1.25rem;
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--jaune);
  transform: translateY(-100%);
  transition: transform var(--dur-mid) var(--ease-standard);
  will-change: transform;
}
.site-header.is-visible { transform: translateY(0); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; }
.site-header__brand {
  font-family: var(--font-display); font-weight: 900; letter-spacing: 0.01em;
  color: var(--perivenche); font-size: 1.45rem; text-decoration: none; line-height: 1;  /* périvenche : couleur logo/texte de la charte, lisible sur le bandeau blanc */
}
.site-header__cta {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0.5rem 1.15rem; border-radius: var(--r-bouton);
  background: var(--perivenche); color: var(--blanc);
  font-weight: 500; font-size: 0.95rem; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.site-header__cta:hover { transform: translateY(-2px); box-shadow: var(--ombre-carte-forte); }

/* Navigation par ancres — repères de circulation dans le one-page */
.site-nav { display: none; }   /* masquée en petit format : la marque + le CTA suffisent */
@media (min-width: 760px) {
  .site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
}
.site-nav__link {
  position: relative;
  color: var(--perivenche);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color var(--dur-fast) var(--ease-standard);
}
/* Repère de survol/section active : filet jaune sous le lien */
.site-nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--jaune);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-standard);
}
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-current::after { transform: scaleX(1); }
.site-nav__link.is-current { font-weight: 600; }   /* « vous êtes ici » */

/* Lien d'évitement — invisible jusqu'au focus clavier (repère a11y) */
.skip-link {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 400;
  transform: translateY(-150%);
  background: var(--perivenche); color: var(--blanc);
  padding: 0.6rem 1rem; border-radius: var(--r-bouton);
  font-weight: 600; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-standard);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--jaune); outline-offset: 2px; }

/* Progression de lecture — filet fin en haut de fenêtre (repère de position) */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 300;
  pointer-events: none; background: transparent;
}
.scroll-progress__bar {
  display: block; height: 100%; width: 0;
  background: var(--jaune);
  transform-origin: left;
}

/* ---------- Layout ---------- */
.section {
  position: relative;
  padding-block: var(--pad-section);
  padding-inline: var(--gutter);
  overflow: visible;   /* illustrations/animations jamais tronquées ; l'horizontal reste contenu par body{overflow-x:hidden} */
}
/* Les SVG d'illustration ne clippent pas leur contenu animé qui dépasse le viewBox (pop, lévitation, oscillation) */
.hero__cats, .probleme__illu, .credibilite__illu, .cta-final__decor, .transition__cat-head { overflow: visible; }

/* ---------- Scroll doux (ancres) + révélations au scroll homogènes ---------- */
html, body { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html, body { scroll-behavior: auto; } }
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity var(--reveal-dur) var(--reveal-ease), transform var(--reveal-dur) var(--reveal-ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  html.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
}
.wrap {
  width: 100%;
  max-width: var(--contenu-max);
  margin-inline: auto;
}
.section--perivenche { background: var(--perivenche); color: var(--texte-sur-perivenche); }
.section--perivenche h2 { color: var(--texte-sur-perivenche); }

/* Touche de jaune : court filet sous le titre de chaque rubrique (remplace les bordures d'encadré) */
.section h2::after {
  content: ""; display: block;
  width: 48px; height: 3px; margin-top: 0.7rem;
  background: var(--jaune); border-radius: 2px;
  margin-inline: auto;                 /* centré par défaut (titres centrés) */
}
.probleme__texte h2::after,
.credibilite__texte h2::after,
.contact__intro h2::after { margin-inline: 0; }   /* titres alignés à gauche */

/* ---------- Boutons / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--cible);
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--r-bouton);
  font-weight: 500;              /* Demi-Bold → Medium (tous les CTA) */
  font-size: 1rem;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
.btn--primaire {
  background: var(--perivenche);   /* aplat net : le dégradé/relief créait un liseré disgracieux sur l'arête des boutons */
  color: var(--blanc);
  box-shadow: var(--ombre-carte);
}
.btn--primaire:hover { transform: translateY(-2px); box-shadow: var(--ombre-carte-forte); }
/* Secondaire : fond blanc, sur bloc périvenche */
.btn--secondaire {
  background: var(--blanc);
  color: var(--perivenche);
}
.btn--secondaire:hover { transform: translateY(-2px); box-shadow: var(--ombre-carte-forte); }
/* Retour tactile immédiat au clic → l'action « répond au doigt » (performance perçue) */
.btn:active, .site-header__cta:active { transform: translateY(1px) scale(0.985); transition-duration: 0.05s; }

.cta-note { margin-top: 0.75rem; font-size: var(--petit); opacity: 0.85; }

/* ---------- Focus visible (jamais supprimé) ---------- */
:where(a, button, [tabindex], summary):focus-visible {
  outline: 3px solid var(--perivenche);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--perivenche :where(a, button):focus-visible { outline-color: var(--blanc); }

/* ---------- Décor chats / illustrations ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco svg { width: 100%; height: 100%; }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- Système d'imagerie : slot d'illustration cohérent ----------
   Identité illustrée (pas de photos). Chaque illustration de contenu occupe
   le même « stage » : échelle optique unifiée (--illu-size), centrage,
   grounding ambiant doux et légende optionnelle. Toute illustration future
   se branche sur <figure class="media"> sans réglage sur-mesure. */
.media {
  position: relative;
  justify-self: center;
  width: var(--illu-size);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  isolation: isolate;               /* le grounding reste sous l'illustration */
}
.media::before {                    /* lumière douce identique partout : ancre l'illu sans l'encadrer */
  content: "";
  position: absolute; z-index: -1;
  inset: -6% -4%;
  border-radius: 50%;
  background: radial-gradient(ellipse 62% 54% at 50% 47%, var(--illu-halo), transparent 72%);
}
.media > svg, .media > img { width: 100%; height: auto; display: block; }
.media__cap {                       /* légende : style unifié, discret */
  margin-top: var(--space-3);
  font-size: var(--petit);
  font-weight: 500;
  color: var(--perivenche);
  opacity: 0.72;
  text-align: center;
  max-width: 32ch;
}

/* =========================================================================
   1 — HERO
   ========================================================================= */
.hero {
  min-height: calc(100svh - 2.9rem);   /* déduit la hauteur du bandeau d'annonce */
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(2rem, 6vh, 4rem);
  overflow: visible;             /* laisse les cartons déborder sur la section suivante */
}
.hero__logo { width: clamp(150px, 19vw, 220px); height: auto; margin: 0 auto clamp(2.75rem, 7vh, 5rem); }
.hero__logo svg, .hero__logo img { width: 100%; height: auto; }
/* H1 hero : toujours sur 2 lignes (segments insécables), taille qui rétrécit pour tenir */
.hero h1 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(1.02rem, 4.8vw, 3.6rem);
  line-height: 1.08;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero__sub { margin: 1.25rem auto 2rem; font-weight: 300; font-size: var(--lead); line-height: var(--lh-lead); max-width: 34ch; }
/* Accent manuscrit : souligné jaune dessiné à la main sous une phrase clé */
.souligne { position: relative; white-space: nowrap; font-weight: 500; isolation: isolate; }
.souligne__trait { position: absolute; z-index: -1; left: -4%; bottom: -0.46em; width: 108%; height: 1em; overflow: visible; }  /* derrière le texte → lisibilité préservée */
.souligne__swipe { clip-path: inset(0 0 0 0); }                                     /* visible par défaut (sans JS) */
html.intro-play .souligne__swipe { clip-path: inset(0 100% 0 0); }                  /* armé (caché) si l'intro joue */
.hero.cats-go .souligne__swipe { animation: souligneDraw 0.55s var(--ease-out) 0.55s both; }
@keyframes souligneDraw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  html.intro-play .souligne__swipe { clip-path: inset(0 0 0 0); }
  .hero.cats-go .souligne__swipe { animation: none; }
}
.hero__cta-wrap { display: flex; flex-direction: column; align-items: center; }

/* Chats du hero : composition source imbriquée, en fond plein-cadre (desktop uniquement).
   Le viewBox du SVG encode positionnement + imbrication → on le pose tel quel. */
.hero__cats {
  position: absolute;
  bottom: -2vw;                  /* déborde légèrement sur la section suivante → cartons entiers, pas de rupture nette */
  height: auto;
  /* Largeur = min(échelle vw, espace disponible d'un côté du H1) → jamais d'empiétement,
     et les colonnes touchent les bords (pas de margin latéral en grand format). */
  width: min(19vw, max(110px, calc((100vw - 940px) / 2 - 8px)));
  z-index: 0;
  pointer-events: none;
}
.hero__cats--l { left: 0; }
.hero__cats--r { right: 0; }

/* ---------- Chats vivants : clignements ambiants + clin d'œil au survol ----------
   Chaque œil (trou circulaire du faciès) reçoit une fine paupière jaune animée en
   scaleY : elle tombe depuis le haut puis remonte. Invisible au repos (scaleY 0). */
.cateye {
  fill: #FFCD00;                 /* même jaune que le faciès → œil « fermé » fondu dans la face */
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: 50% 50%;     /* fermeture symétrique depuis le centre → blink naturel */
}
@media (prefers-reduced-motion: no-preference) {
  .cateye { animation: catBlink 6s ease-in-out infinite; }
  /* Un chat après l'autre, réparti sur la boucle de 6 s */
  .cat-a { animation-delay: 0s; }
  .cat-c { animation-delay: 1.5s; }
  .cat-b { animation-delay: 3s; }
  .cat-d { animation-delay: 4.5s; }
  /* Chats de la section transition : clignement régulier, tête du bas décalée (alternance) */
  .transition__cat-head--bottom .cateye { animation-delay: 3s; }
}
@keyframes catBlink {
  0%, 5%, 100% { transform: scaleY(0); }   /* œil ouvert la quasi-totalité du cycle */
  2%, 2.8%     { transform: scaleY(1); }    /* les deux yeux se ferment ensemble (~0,3 s) */
}
/* Retirées sur tablette/mobile : la configuration ne tient pas en portrait. */
@media (max-width: 1024px) {
  .hero__cats { display: none; }
}

.chevron {
  margin: clamp(1.5rem, 5vh, 3rem) auto 0;
  width: 56px; height: 56px;
  border: 2px solid var(--jaune);   /* standard 2 pt */
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--perivenche);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =========================================================================
   2 — PROBLÈME
   ========================================================================= */
.probleme .grid {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
/* Largeur/centrage gérés par le slot .media ; la classe conserve overflow visible + cible d'animation. */
.probleme__texte p { font-weight: 300; }   /* une graisse en dessous (Medium → Light) */
.probleme__texte p + p { margin-top: 1rem; }

/* Espace H2 → paragraphe harmonisé sur les sections texte (Problème, Crédibilité) */
.probleme__texte h2,
.credibilite__texte h2 { margin-bottom: var(--stack-title); }

/* =========================================================================
   3 — TRANSITION (bloc périvenche pleine largeur)
   ========================================================================= */
/* Transition : panneau périvenche CONTENU (marge autour), chats agrippés aux bords */
.transition { text-align: center; background: var(--fond); }  /* fond de page (blanc bleuté), cohérent avec le reste */
.transition__panel {
  position: relative;
  max-width: 1150px;
  margin-inline: auto;
  color: var(--texte-sur-perivenche);
  border-radius: var(--r-carte);
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  /* fond assuré par .transition__surface (posée AU-DESSUS des chats pour les masquer) */
}
/* Surface périvenche opaque : masque la partie des chats qui plonge dans le panneau */
.transition__surface {
  position: absolute; inset: 0;
  background: var(--grad-perivenche);
  border-radius: var(--r-carte);
  box-shadow: var(--ombre-carte);
  z-index: 1;
}
.transition__panel h2 { color: var(--texte-sur-perivenche); max-width: 20ch; margin-inline: auto; }
.transition__sub { margin: 1rem auto 2rem; font-size: var(--lead); line-height: var(--lh-lead); font-weight: 300; } /* Medium → Light */
.transition__inner { position: relative; z-index: 3; }

/* Têtes DERRIÈRE la surface (z:0) : seule la tête dépasse, le bas est masqué par le panneau.
   Pattes DEVANT la surface (z:2) : agrippées au bord, restent visibles. */
.transition__cat-head, .transition__paws {
  position: absolute; left: 0; width: 100%; height: auto; pointer-events: none;
}
.transition__cat-head { z-index: 0; }
.transition__paws { z-index: 2; }
/* Alignement SOURCE : rebord des pattes calé sur le bord ; le bas de tête, qui plonge
   sous le rebord, est masqué par la surface. */
.transition__cat-head--top,  .transition__paws--top    { top: 0;    transform: translateY(-76.35%); }
.transition__cat-head--bottom, .transition__paws--bottom { bottom: 0; transform: translateY(75%); }

/* Mobile : on retire un chat (celui du bas) pour ne pas surcharger */
@media (max-width: 640px) {
  .transition__cat-head--bottom, .transition__paws--bottom { display: none; }
}

/* =========================================================================
   4 — PROCESS (timeline)
   ========================================================================= */
.process h2 { text-align: center; max-width: 34ch; margin: 0 auto var(--stack-title); }
.timeline { list-style: none; padding: 0; display: grid; gap: var(--space-10); position: relative; }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; }
.step__badge {
  flex: none;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-perivenche);
  color: var(--blanc);
  font-family: var(--font-display);
  font-size: 1.5rem;
  box-shadow: var(--relief-ink), 0 0 0 6px var(--blanc), 0 0 0 8px var(--jaune);  /* relief encré + anneau jaune 2px */
}
.step__body h3 { color: var(--perivenche); margin-bottom: 0.35rem; }
.step__body p { font-size: 0.9rem; line-height: 1.5; }  /* légèrement réduit, reste ≥14px (lisible) */
/* Trait vertical mobile reliant les pastilles */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 33px; top: 68px; bottom: -2.5rem;
  width: 2px; background: var(--jaune);
  z-index: 0;
}

/* =========================================================================
   5 — CRÉDIBILITÉ
   ========================================================================= */
.credibilite .grid { display: grid; gap: var(--gap); align-items: center; }
/* .credibilite__illu : largeur/centrage gérés par le slot .media. */
.credibilite__texte p + p { margin-top: 1rem; }
/* Harmonisation de la graisse des paragraphes descriptifs → Light 300 (comme la section Problème) */
.credibilite__texte p, .cta-final__sub, .contact__intro p { font-weight: 300; }

/* =========================================================================
   5 bis — PREUVE / standards (ajout notice)
   ========================================================================= */
.preuve h2 { text-align: center; margin-bottom: var(--stack-title); }
/* Trois cartes périvenche : illustration blanche + chiffre + légende (source .ai) */
.engagements {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: 0 auto var(--space-12);
}
.engagement {
  background: var(--grad-perivenche);
  color: var(--blanc);
  border-radius: var(--r-carte);
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.75rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--relief-ink), var(--ombre-carte);
}
.engagement__num {
  font-family: var(--font-display); font-weight: 900; letter-spacing: 0.01em;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; white-space: nowrap;
}
.engagement__label { font-weight: 300; font-size: 1.15rem; margin-top: 0.5rem; }
@media (min-width: 760px) { .engagements { grid-template-columns: repeat(3, 1fr); } }
/* Engagement : énoncé de garantie (pas un bouton) — texte périvenche + coche */
.preuve__engagement {
  max-width: 48ch;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  color: var(--perivenche);
  font-weight: 500;              /* Demi-Bold → Medium */
  font-size: 1.15rem;
}
.preuve__check {
  flex: none;
  width: 1.7em; height: 1.7em;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--perivenche);
  font-size: 0.8em;
}
.placeholder {
  border: 2px dashed var(--perivenche-16);
  border-radius: var(--r-carte);
  padding: 2rem;
  text-align: center;
  color: var(--perivenche);
  background: var(--blanc);
  font-size: var(--petit);
}
.placeholder + .placeholder { margin-top: 1rem; }
.preuve__zones { display: grid; gap: 1rem; }

/* =========================================================================
   6 — OFFRE (3 cartes)
   ========================================================================= */
.offre h2 { text-align: center; max-width: 20ch; margin: 0 auto var(--stack-title); }
.cartes { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: stretch; }  /* cartes de hauteur égale, espacées */
.carte {
  display: flex;
  flex-direction: column;        /* pour aligner le bas (idéal + prix) */
  border-radius: var(--r-carte);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--blanc);
  border: var(--bord-clair);       /* liseré de définition : papier posé, pas flottant */
  box-shadow: var(--ombre-carte);
  height: 100%;
  transition: scale var(--dur-mid) var(--ease-pop), box-shadow var(--dur-fast) var(--ease-standard); /* pop au survol */
}
.carte:hover { scale: 1.035; box-shadow: var(--ombre-carte-forte); }
.carte h3 { color: var(--perivenche); }
.carte p, .carte li { font-size: 1rem; }   /* taille de police harmonisée sur tous les blocs de la carte */
.carte__accroche { margin: 0.75rem 0 1.25rem; }
.carte ul { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.carte li { position: relative; padding-left: 1.5rem; font-size: 1rem; }
.carte li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--jaune);
}
.carte__ideal { margin-top: auto; padding-top: 1.25rem; font-style: italic; opacity: 0.9; }  /* pousse idéal + prix en bas */
.carte__prix { margin-top: 1rem; font-weight: 600; }
/* Carte 1 = socle, proéminente, aplat périvenche */
.carte--socle {
  background: var(--grad-perivenche);
  color: var(--texte-sur-perivenche);
  border-color: var(--perivenche);
  box-shadow: var(--relief-ink), var(--ombre-carte-forte);
}
.carte--socle h3 { color: var(--blanc); }
.carte--socle li::before { background: var(--jaune); }
.offre__cta { text-align: center; margin-top: var(--space-10); }

/* =========================================================================
   6 bis — GARANTIE (ajout notice)
   ========================================================================= */
.garantie { text-align: center; }
.garantie__card {
  max-width: 760px; margin-inline: auto;
  border-radius: var(--r-carte);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--blanc);
}
.garantie h2 { margin-bottom: 1.25rem; }
.garantie ul { list-style: none; padding: 0; display: grid; gap: 0.85rem; text-align: left; max-width: 46ch; margin-inline: auto; }
.garantie li { position: relative; padding-left: 1.75rem; }
.garantie li::before { content: "✦"; position: absolute; left: 0; color: var(--jaune); font-size: 1.1em; }

/* =========================================================================
   6 bis — CONTACT (formulaire)
   ========================================================================= */
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__intro h2 { max-width: 14ch; }
.contact__intro p { margin-top: 1rem; max-width: 44ch; }
.contact__aside { color: var(--perivenche); opacity: 0.72; font-size: var(--petit); }
.contact__coords { margin-top: clamp(1.5rem, 4vw, 2.25rem); }
.contact__coords h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--perivenche); margin-bottom: 0.6rem; }
.contact__coords p { margin: 0; }
.contact__coords p.contact__coords-person { margin-top: 1.75rem; margin-bottom: 0.6rem; }
.contact__coords a { color: var(--perivenche); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color var(--dur-fast) var(--ease-standard), text-decoration-thickness var(--dur-fast) var(--ease-standard); }
.contact__coords a:hover { color: var(--perivenche-fonce); text-decoration-thickness: 2px; }   /* densification du bleu : retour cohérent sur fond clair */
.contact__form {
  background: var(--blanc);
  border-radius: var(--r-carte);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--ombre-carte);
  display: grid; gap: var(--space-4);
}
/* Écran de consentement RGPD avant chargement du formulaire HubSpot (cookies tiers) */
.contact__consent { display: grid; gap: var(--space-4); justify-items: start; }
.contact__consent-note { margin: 0; max-width: 46ch; color: var(--perivenche); font-weight: 300; }
.contact__consent-alt { margin: 0; max-width: none; font-size: var(--petit); font-weight: 300; color: var(--perivenche); opacity: 0.8; }
.contact__consent-alt a { color: var(--perivenche); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color var(--dur-fast) var(--ease-standard), text-decoration-thickness var(--dur-fast) var(--ease-standard); }
.contact__consent-alt a:hover { color: var(--perivenche-fonce); text-decoration-thickness: 2px; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 500; color: var(--perivenche); font-size: 0.95rem; }
.field__opt { font-weight: 300; opacity: 0.7; }
.field input, .field textarea {
  font: inherit; color: var(--texte);
  background: var(--blanc);
  border: 2px solid var(--perivenche-16);
  border-radius: var(--r-bouton);
  padding: 0.7rem 0.9rem; width: 100%;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--perivenche);
  box-shadow: 0 0 0 3px var(--jaune);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d5372f; }
.field__err { color: #cf2e26; font-size: var(--petit); font-weight: 500; }
.field__err:empty { display: none; }
.contact__form .btn--primaire { justify-self: start; margin-top: 0.25rem; }
.contact__status { margin: 0; font-weight: 500; color: var(--perivenche); }
.contact__status:empty { display: none; }
.contact__status--ok { color: #1a8f4c; }
/* Leurre anti-spam : hors écran mais présent dans le DOM */
.field-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Révélation au scroll (cohérente avec les autres sections) */
.contact-armed .contact__intro, .contact-armed .contact__form { opacity: 0; }
.contact-play .contact__intro { animation: cardReveal var(--reveal-dur) var(--ease-out) both; }
.contact-play .contact__form { animation: cardReveal var(--reveal-dur) var(--ease-out) calc(var(--stagger) * 1.5) both; }
@media (min-width: 861px) {
  .contact__grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
}

/* =========================================================================
   7 — FAQ (accordéon)
   ========================================================================= */
.faq h2 { text-align: center; max-width: 20ch; margin: 0 auto var(--stack-title); }
.accordion { max-width: 860px; margin-inline: auto; }
.faq-item { border-top: 2px solid var(--jaune); }              /* filets jaunes, 2 pt */
.faq-item:last-child { border-bottom: 2px solid var(--jaune); }
.faq-item__btn {
  width: 100%;
  min-height: var(--cible);
  display: flex; align-items: center; gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 0.25rem;
  background: none; border: 0;
  text-align: left;
  font-family: var(--font-corps);
  font-weight: 500;              /* Demi-Bold → Medium */
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--perivenche);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard);
}
.faq-item__btn:hover { background: var(--perivenche-08); }   /* survol de ligne : la question se signale cliquable */
.faq-item__icon { flex: none; font-size: 1.6rem; line-height: 1; color: var(--perivenche); transition: transform var(--dur-fast) var(--ease-standard); }
.faq-item__btn:hover .faq-item__icon { transform: scale(1.12); }   /* le + réagit avec la ligne */
.faq-item__btn[aria-expanded="true"]:hover .faq-item__icon { transform: rotate(45deg) scale(1.12); }
.faq-item__btn[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-mid) var(--ease-standard);
}
.faq-item__panel-inner { padding: 0 0.25rem 1.5rem; }
.faq-item__panel-inner p { max-width: 72ch; font-weight: 300; }   /* une graisse en dessous : Medium → Light */

/* =========================================================================
   8 — CTA FINAL
   ========================================================================= */
.cta-final { text-align: center; min-height: clamp(21rem, 48vw, 31rem); }  /* place pour la couronne d'objets */
.cta-final h2 { max-width: 30ch; margin-inline: auto; }
.cta-final__sub { margin: 1.25rem auto 2rem; max-width: 40ch; font-size: var(--lead); line-height: var(--lh-lead); }
/* Illustration d'objets d'atelier : centrée en fond, les lots dissociés encerclent le texte.
   Les lots gauche/droite sont écartés dans le SVG (viewBox élargi) → dégagement autour du titre.
   translate X -51.43% : la frimousse est décentrée à droite dans le SVG (offset 30,2 sur
   viewBox 2110 = 1,43 %) → on la ramène pile au-dessus du H2, quel que soit le format. */
.cta-final__decor {
  position: absolute; left: 50%; top: 50%; translate: -51.32% -51.4%;
  width: min(1055px, 100%); height: auto;
  opacity: 0.92; z-index: 0; pointer-events: none;
}
/* Mobile : l'illustration se tasse en bande derrière le texte → on l'estompe pour préserver la lecture */
@media (max-width: 640px) {
  .cta-final__decor { width: 100%; opacity: 0.5; }
}
/* Objets : pop en cascade au scroll, puis lévitation douce ; étoiles scintillantes */
.cta-final__decor .cto { transform-box: fill-box; transform-origin: center; }
.cta-final.cta-armed .cto { opacity: 0; transform: scale(0); }
@media (prefers-reduced-motion: no-preference) {
  .cta-final.cta-play .cto {
    animation: ctoPop 0.5s var(--ease-pop) calc(var(--i) * var(--stagger)) both,
               ctoFloat 3.4s ease-in-out calc(var(--i) * var(--stagger) + 0.55s) infinite;
  }
  .cta-final.cta-play .cto--star {
    animation: ctoPop 0.5s var(--ease-pop) calc(var(--i) * var(--stagger)) both,
               ctoFloat 3.4s ease-in-out calc(var(--i) * var(--stagger) + 0.55s) infinite,
               ctoTwinkle 1.7s ease-in-out calc(var(--i) * var(--stagger) + 0.6s) infinite;
  }
}
@keyframes ctoPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ctoFloat { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1) translateY(-12px); } }
@keyframes ctoTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* =========================================================================
   9 — FOOTER
   ========================================================================= */
/* =========================================================================
   Bandeau défilant (marquee) jaune
   ========================================================================= */
.marquee { background: var(--jaune); overflow: hidden; padding-block: clamp(0.35rem, 0.9vw, 0.6rem); }
.marquee__track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  font-family: var(--font-corps); font-weight: 600; color: var(--blanc);
  font-size: clamp(0.8rem, 1.5vw, 1.15rem); text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap; padding: 0 clamp(0.9rem, 2.2vw, 1.75rem);
}
.marquee__paws { height: 1.5em; width: auto; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; transform: none; } }

/* =========================================================================
   9 — FOOTER
   ========================================================================= */
.footer { padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); }
/* Rappel du logotype de l'entête (avec frimousse), en blanc — géométrie identique au hero */
.footer__logo-link { display: inline-block; }
.footer__logo { display: block; width: clamp(150px, 20vw, 210px); height: auto; overflow: visible; }
.footer__logo text { font-family: var(--font-display); font-weight: 900; fill: var(--blanc); }
.footer__logo .flogo-big { font-size: 349.79px; }
.footer__logo .flogo-small { font-size: 209.87px; }
.footer__logo .flogo-frim { fill: var(--blanc); }
.footer__baseline { font-family: var(--font-corps); font-weight: 300; color: var(--blanc); opacity: 0.9; margin-top: 0.7rem; }
.footer__origin { margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--petit); font-weight: 600; letter-spacing: 0.02em; color: var(--jaune); }
.footer__origin-pin { width: 1em; height: 1em; fill: currentColor; flex: none; }
.footer__col-title { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--blanc); margin-bottom: 0.9rem; }
.footer__links { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer__links a { color: var(--blanc); text-decoration: none; opacity: 0.9; font-weight: 300; transition: color var(--dur-fast) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard); }
.footer__links a:hover { opacity: 1; color: var(--jaune); text-decoration: underline; text-underline-offset: 2px; }   /* → jaune, comme les socials */
/* Réseaux sociaux (sans encart, cohérent avec les autres colonnes) */
.footer__social { align-self: start; }
.footer__socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer__socials a { color: var(--blanc); display: inline-grid; place-items: center; transition: color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); }
.footer__socials svg { width: 26px; height: 26px; fill: currentColor; }
.footer__socials a:hover { color: var(--jaune); transform: translateY(-2px); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.25rem;
  font-size: var(--petit);
}
.footer__bottom p { margin: 0; max-width: none; color: var(--blanc); opacity: 0.8; }
.footer__made { white-space: nowrap; }
.footer__heart { color: var(--jaune); font-style: normal; margin: 0 0.05em; }

/* =========================================================================
   BREAKPOINTS — tablette ≥ 641, desktop ≥ 1025
   ========================================================================= */
@media (min-width: 641px) {
  .preuve__zones { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; align-items: start; column-gap: clamp(2rem, 4vw, 3.5rem); }
}

@media (min-width: 1025px) {
  .probleme .grid { grid-template-columns: 1fr 1fr; }
  .credibilite .grid { grid-template-columns: 1fr 0.8fr; }

  /* Cartes offre : 3 colonnes alignées (le socle se distingue par sa couleur périvenche) */
  .cartes { grid-template-columns: repeat(3, 1fr); }

  /* Timeline HORIZONTALE en desktop */
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .step__badge { margin-inline: auto; }
  .step__body h3 { margin-top: 1rem; }
  .step__body p { max-width: 24ch; margin-inline: auto; }
  /* Trait HORIZONTAL : une SEULE ligne derrière les pastilles → passe pile par tous les centres.
     left/width tiennent compte du gap (1.5rem × 4) pour un alignement parfait. */
  .step:not(:last-child)::before { display: none; }   /* on abandonne le trait par étape */
  .timeline::before {
    content: "";
    position: absolute;
    top: 33px;                       /* centré sur l'axe des pastilles (centre = 34px, trait 2px) */
    left: calc(10% - 0.6rem);        /* centre de la 1re pastille */
    width: calc(80% + 1.2rem);       /* jusqu'au centre de la 5e */
    height: 2px;
    background: var(--jaune);
    z-index: 0;                      /* derrière les pastilles (qui la masquent) */
    transform-origin: left center;   /* se trace de gauche à droite */
  }
  /* Animation au scroll : la ligne se trace avant/pendant l'apparition des pastilles */
  .timeline-armed::before { transform: scaleX(0); }
  .timeline-play::before  { animation: tlLineX 1s var(--ease-out) both; }
}
