/* ============================================================
 * Éveil & Devine — Styles principaux
 *
 * Ordre du fichier :
 *   01. Tokens (variables CSS)
 *   02. Reset + base
 *   03. Layout (container, sections)
 *   04. Typographie (titres, prose, eyebrow)
 *   05. Boutons
 *   06. Header + nav + mobile menu
 *   07. Bandeau promo
 *   08. Hero accueil + cartes flottantes
 *   09. Marquee
 *   10. Comment ça marche
 *   11. Produits home + boutique
 *   12. Story (accueil)
 *   13. Features
 *   14. Newsletter
 *   15. Social
 *   16. Footer
 *   17. Breadcrumb
 *   18. Page Mon histoire
 *   19. Pages produit (galerie, buy block, inside, etc.)
 *   20. Formulaire de contact + pages éditoriales
 *   21. 404 + Recherche
 *   22. Animations utilitaires
 *   23. Accessibilité (skip-link, focus)
 *   24. Responsive
 * ============================================================ */


/* ============ 01. TOKENS ============ */
:root {
  --green: #1B8B5A;
  --green-dark: #0F5C3D;
  --green-deeper: #073D28;
  --green-light: #E8F5EE;
  --yellow: #F5C518;
  --yellow-light: #FEF7DC;
  --cream: #F8F4EA;
  --paper: #FAF7F0;
  --ink: #1a1a1a;
  --ink-soft: #2d2d2d;
  --gray-text: #4a4a4a;
  --gray-mute: #8a8a8a;
  --gray-border: #E5E5E5;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(15, 92, 61, 0.08);
  --shadow-deep: 0 20px 60px rgba(15, 92, 61, 0.15);
  --shadow-flat: 0 1px 0 rgba(0,0,0,0.06);
}


/* ============ 02. RESET + BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%; /* empêche iOS d'agrandir la typo en rotation */
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
/* iOS empêche le zoom du navigateur au focus sur des inputs < 16px. */
input[type="text"], input[type="email"], input[type="number"], input[type="password"],
input[type="search"], input[type="tel"], input[type="url"], textarea, select {
  font-size: 16px;
}


/* ============ 03. LAYOUT ============ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }
.section-pad { padding: 120px 0; }
.center-block { text-align: center; }


/* ============ 04. TYPOGRAPHIE ============ */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-feature-settings: "ss01";
}
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--green);
}
.section-label.center { justify-content: center; }
.section-label.center::after {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--green);
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--green);
}
.section-eyebrow.center { justify-content: center; display: inline-flex; }
.section-eyebrow.center::after {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--green);
}
.section-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}
.section-intro {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 540px;
  line-height: 1.6;
}
.section-intro.center { margin: 0 auto; }


/* ============ 05. BOUTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--ink); color: var(--yellow); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 16px 4px;
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink);
}


/* ============ 06. HEADER + NAV ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--green-dark);
  color: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.5px;
  transform: rotate(-3deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.logo:hover .logo-mark { transform: rotate(0); }
.logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}
.custom-logo-link img { max-height: 42px; width: auto; }

.nav, .nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.nav a:hover,
.nav a.active,
.nav .current-menu-item > a,
.nav .current_page_item > a { color: var(--green); }

/* ============ NAV DROPDOWN (Boutique) ============ */
.nav .nav-item.has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav .nav-item .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav .nav-item .caret {
  font-size: 9px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav .nav-item:hover .caret,
.nav .nav-item.open .caret { transform: rotate(180deg); opacity: 1; }
.nav .nav-item .dropdown-toggle { display: none; }
.nav .nav-item.active > .nav-link { color: var(--green); }

.nav .nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--gray-border);
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 200;
}
.nav .nav-item:hover .nav-dropdown,
.nav .nav-item:focus-within .nav-dropdown,
.nav .nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* zone tampon pour ne pas casser au passage souris */
.nav .nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}
.nav .dropdown-link {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav .dropdown-link:hover { color: var(--green); background: var(--cream); }
.nav .dropdown-section {
  padding: 12px 22px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mute);
}
.nav .dropdown-section + .dropdown-link { padding-top: 6px; }

/* ============ MEGA MENU (Apple-style, large dropdown — colonnes dynamiques) ============ */
.nav .nav-dropdown.mega-menu {
  left: -32px;
  min-width: 0;
  padding: 36px 44px 40px;
  border-radius: 18px;
  display: grid;
  gap: 40px;
  box-shadow: 0 20px 60px rgba(15, 92, 61, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
}
/* Layouts adaptés au nombre de colonnes auto-détectées */
.nav .nav-dropdown.mega-menu.cols-1 {
  width: 360px;
  grid-template-columns: 1fr;
  max-width: calc(100vw - 64px);
}
.nav .nav-dropdown.mega-menu.cols-2 {
  width: 540px;
  grid-template-columns: 1.3fr 1fr;
  max-width: calc(100vw - 64px);
}
.nav .nav-dropdown.mega-menu.cols-3 {
  width: 720px;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  max-width: calc(100vw - 64px);
}
.nav .nav-dropdown.mega-menu.cols-4 {
  width: 880px;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  max-width: calc(100vw - 64px);
}
.nav .nav-dropdown.mega-menu.cols-5 {
  width: 900px;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  max-width: calc(100vw - 64px);
}
.nav .nav-dropdown.mega-menu.cols-6 {
  width: 1040px;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 1fr;
  max-width: calc(100vw - 64px);
}

/* Section "dense" (6+ items) — rendue en 2ᵉ ligne pleine largeur en bas du
   dropdown au lieu d'élargir le dropdown horizontalement. Empêche le
   débordement viewport quand on a beaucoup de sous-catégories. */
.nav .mega-col.mega-col-dense {
  grid-column: 1 / -1; /* Pleine largeur, ligne 2 */
  padding-top: 22px;
  margin-top: 6px;
  border-top: 1px solid var(--gray-border);
  display: block; /* Override le flex de .mega-col */
}
.nav .mega-col.mega-col-dense .mega-eyebrow {
  display: block;
  margin-bottom: 14px;
}
.nav .mega-dense-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 28px;
  row-gap: 10px;
}
.nav .mega-col.mega-col-dense .mega-link {
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
}
.nav .mega-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.nav .mega-col-primary {
  position: relative;
  padding-right: 30px;
}
.nav .mega-col-primary::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--gray-border);
}
.nav .mega-eyebrow {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-mute);
  margin-bottom: 6px;
  display: block;
}
.nav .mega-link-primary {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  transition: color 0.15s ease, transform 0.25s ease;
  display: inline-block;
  width: fit-content;
}
.nav .mega-link-primary:hover {
  color: var(--green);
  transform: translateX(3px);
}
.nav .mega-blurb {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-text);
  margin: 4px 0 0;
  max-width: 220px;
}
.nav .mega-link {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.15s ease, transform 0.2s ease;
  display: inline-block;
  width: fit-content;
}
.nav .mega-link:hover {
  color: var(--green);
  transform: translateX(2px);
}

/* Mega menu : masqué sur mobile/tablette (on utilise le menu mobile à la place) */
@media (max-width: 980px) {
  .nav .nav-dropdown.mega-menu {
    display: none;
  }
}

/* Mobile sub-nav */
.mobile-subnav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0 8px 16px;
  margin: -8px 0 4px;
  border-left: 2px solid var(--gray-border);
}
.mobile-subnav a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-text);
  letter-spacing: 0;
}
.mobile-subnav a:hover { color: var(--green); }
.mobile-subnav-section {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-mute);
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s;
  position: relative;
  border: 1px solid transparent;
}
.icon-btn:hover { border-color: rgba(0,0,0,0.1); background: rgba(255,255,255,0.5); }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--paper);
}
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 32px 64px;
}
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.mobile-menu-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav, .mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav a {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}


/* ============ 07. BANDEAU PROMO ============ */
.promo {
  background: var(--yellow-light);
  border-bottom: 1px solid rgba(245, 197, 24, 0.3);
  padding: 18px 0;
  position: relative;
}
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.promo-inner span {
  font-size: 14px;
  color: #5a4400;
  font-weight: 500;
}
.promo-inner strong { color: var(--ink); }
.promo-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.promo-link:hover { color: var(--green); border-color: var(--green); }


/* ============ 08. HERO ACCUEIL ============ */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(245, 197, 24, 0.18), transparent 70%),
    radial-gradient(ellipse 500px 300px at 10% 80%, rgba(27, 139, 90, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: multiply;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-tag .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.7); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(245, 197, 24, 0); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 600px;
}
.hero-content { position: relative; }
.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.hero h1 .line { display: block; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  position: relative;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: -4px; right: -4px;
  height: 14px;
  background: var(--yellow);
  z-index: -1;
  transform: skewX(-4deg);
}
.hero-text {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-text strong { color: var(--ink); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 500;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* HERO CARDS — la main de cartes */
.hero-cards {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-game {
  position: absolute;
  width: 280px;
  aspect-ratio: 5/7;
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    var(--shadow-deep);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  will-change: transform;
}
.card-game::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  opacity: 0.2;
  pointer-events: none;
}
.card-front {
  background: var(--green-dark);
  color: var(--paper);
  z-index: 4;
  transform: rotate(-4deg) translate(-20px, 0);
}
.hero-cards:hover .card-front { transform: rotate(-2deg) translate(-20px, -8px); }
.card-front-content {
  position: absolute;
  inset: 0;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.card-corner {
  font-family: 'Fraunces', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-divider {
  height: 1px;
  background: rgba(245, 197, 24, 0.3);
  margin: 14px 0 28px;
}
.card-word-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.card-word {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: auto;
  color: var(--paper);
}
.card-word em {
  font-style: italic;
  font-weight: 400;
  color: var(--yellow);
}
.card-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.card-back-1 {
  background: var(--paper);
  color: var(--ink);
  z-index: 3;
  transform: rotate(8deg) translate(120px, 30px);
  width: 240px;
}
.hero-cards:hover .card-back-1 { transform: rotate(10deg) translate(130px, 20px); }
.card-back-1::before { color: var(--green-dark); }
.card-back-content {
  position: absolute;
  inset: 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card-pattern {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -2px;
}
.card-back-title {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.card-back-2 {
  background: var(--yellow);
  color: var(--ink);
  z-index: 2;
  transform: rotate(-12deg) translate(-180px, 60px);
  width: 220px;
}
.hero-cards:hover .card-back-2 { transform: rotate(-14deg) translate(-190px, 50px); }
.card-back-2 .card-back-content { color: var(--ink); }
.card-back-2 .card-pattern { background: var(--ink); color: var(--yellow); }
.card-back-2 .card-back-title { color: var(--ink); }
.card-back-3 {
  background: var(--green);
  z-index: 1;
  transform: rotate(15deg) translate(80px, -80px);
  width: 200px;
  opacity: 0.4;
}
.score-badge {
  position: absolute;
  top: 40px;
  right: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: 14px;
  font-family: 'Fraunces', serif;
  z-index: 5;
  transform: rotate(6deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.score-badge-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mute);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 4px;
}
.score-badge-points {
  font-size: 28px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -1px;
}
.score-badge-points::after {
  content: ' pts';
  font-size: 14px;
  color: var(--paper);
  font-weight: 500;
  letter-spacing: 0;
}


/* ============ 09. MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-item em { font-style: italic; color: var(--yellow); }
.marquee-dot { color: var(--yellow); font-size: 24px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============ 10. HOW IT WORKS ============ */
.how { background: var(--paper); }
.how-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step {
  background: var(--cream);
  border-radius: 24px;
  padding: 48px 36px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.how-step:nth-child(2) {
  background: var(--green-dark);
  color: var(--paper);
  transform: translateY(-20px);
}
.how-step:nth-child(2) .how-step-num,
.how-step:nth-child(2) .how-step-title { color: var(--yellow); }
.how-step:nth-child(2) .how-step-text { color: rgba(255,255,255,0.8); }
.how-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
}
.how-step:nth-child(2):hover { transform: translateY(-28px); }
.how-step-num {
  font-family: 'Fraunces', serif;
  font-size: 80px;
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: -0.04em;
}
.how-step-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.how-step-text {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
}


/* ============ 11. PRODUCTS HOME ============ */
.products-home {
  background: var(--green-deeper);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.products-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.products-home .section-label { color: var(--yellow); }
.products-home .section-label::before { background: var(--yellow); }
.products-home .section-title { color: var(--paper); }
.products-home .section-title em { color: var(--yellow); }
.products-home .section-intro { color: rgba(255,255,255,0.7); }

.products-home-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.products-home .filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.products-home .filter {
  padding: 10px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all 0.2s;
  cursor: pointer;
}
.products-home .filter:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.products-home .filter.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.products-home .filter.disabled { opacity: 0.5; cursor: not-allowed; }
.products-home .filter.disabled:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-tile {
  position: relative;
  cursor: pointer;
  display: block;
  color: inherit;
}
.product-tile-link,
.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
/* Garantit l'aspect ratio même quand wrapped dans un <a>. */
.product-card-stack .product-card-link { position: absolute; inset: 0; }
.product-info h3 a {
  color: inherit;
  text-decoration: none;
}
.product-info h3 a:hover { color: var(--green); }
.product-card-stack {
  position: relative;
  aspect-ratio: 5/7;
  min-height: 360px; /* fallback si aspect-ratio non supporté (vieux navigateurs mobiles) */
  margin-bottom: 24px;
}
.product-card-stack::before,
.product-card-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card-stack::before {
  background: rgba(255,255,255,0.08);
  transform: rotate(-3deg) translate(-8px, 4px);
  z-index: 1;
}
.product-card-stack::after {
  background: rgba(255,255,255,0.04);
  transform: rotate(2deg) translate(6px, -4px);
  z-index: 0;
}
.product-tile:hover .product-card-stack::before { transform: rotate(-5deg) translate(-12px, 8px); }
.product-tile:hover .product-card-stack::after { transform: rotate(4deg) translate(10px, -8px); }

.product-card {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
  color: var(--paper);
  border-radius: 18px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  z-index: 2;
  box-shadow: var(--shadow-deep);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-tile:hover .product-card { transform: translateY(-6px); }
.product-card.variant-2 { background: var(--cream); color: var(--ink); }
.product-card.variant-3 { background: var(--yellow); color: var(--ink); }
.product-card.variant-4 { background: var(--green-deeper); color: var(--paper); }
.product-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 197, 24, 0.15);
  border-radius: 10px;
  pointer-events: none;
}
.product-card.variant-2::before { border-color: rgba(15, 92, 61, 0.15); }
.product-card.variant-3::before { border-color: rgba(15, 92, 61, 0.2); }

.product-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--yellow);
  color: var(--ink);
  margin-bottom: 14px;
}
.product-tag.dark { background: var(--ink); color: var(--yellow); }
.product-tag.green { background: var(--green-dark); color: var(--yellow); }
/* Sur carte jaune (variant-3), le tag doit être sombre pour rester lisible. */
.product-card.variant-3 .product-tag { background: var(--ink); color: var(--yellow); }
.product-card.variant-3 .product-tag.green { background: var(--green-dark); color: var(--yellow); }

.product-card-meta {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.product-card.variant-2 .product-card-meta { color: var(--gray-text); }
.product-card.variant-3 .product-card-meta { color: var(--ink-soft); }

.product-card-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-top: auto;
  /* Limite à 4 lignes max pour préserver la rangée du bas (PDF · É&D). */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}
.product-card.variant-2 .product-card-title { color: var(--ink); }
.product-card.variant-3 .product-card-title { color: var(--ink); }
.product-card-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--yellow);
}
.product-card.variant-2 .product-card-title em { color: var(--green); }
.product-card.variant-3 .product-card-title em { color: var(--green-dark); }

.product-card-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0; /* ne pas être compressé par un titre trop long */
}
.product-card.variant-2 .product-card-bottom { border-top-color: rgba(0,0,0,0.12); color: var(--gray-text); }
.product-card.variant-3 .product-card-bottom { border-top-color: rgba(0,0,0,0.18); color: var(--ink-soft); }
.product-card-bottom em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--yellow);
}
.product-card.variant-2 .product-card-bottom em { color: var(--green-dark); }
.product-card.variant-3 .product-card-bottom em { color: var(--green-dark); }

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 0 4px;
}
.product-info-left { flex: 1; min-width: 0; }
.product-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink); /* défaut sombre (visible sur fond paper) */
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.product-info h3 em { font-style: italic; font-weight: 500; color: var(--green); }
/* Override : section sombre de la home */
.products-home .product-info h3 { color: var(--paper); }
.products-home .product-info h3 em { color: var(--yellow); }

.product-meta {
  font-size: 12px;
  color: var(--gray-mute); /* défaut clair (visible sur fond paper) */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}
.products-home .product-meta { color: rgba(255,255,255,0.55); }

.product-price-block { text-align: right; flex-shrink: 0; }
.product-price {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink); /* défaut sombre */
  line-height: 1;
  letter-spacing: -0.02em;
}
.product-price em { font-style: italic; font-weight: 400; color: var(--green); }
.products-home .product-price { color: var(--yellow); }

.product-price-old {
  font-size: 13px;
  color: var(--gray-mute);
  text-decoration: line-through;
  margin-top: 4px;
  display: block;
}
.products-home .product-price-old { color: rgba(255,255,255,0.4); }
.btn-add-circle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 5; /* au-dessus du .product-card-link */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-decoration: none;
}
.btn-add-circle:hover {
  background: var(--paper);
  transform: scale(1.05);
}
.product-tile:hover .btn-add-circle {
  transform: scale(1.1) rotate(90deg);
  background: var(--paper);
}
.products-cta {
  margin-top: 64px;
  text-align: center;
}
.products-cta .btn { background: var(--yellow); color: var(--ink); }
.products-cta .btn:hover { background: var(--paper); }


/* ============ 12. STORY (home) ============ */
.story-home { background: var(--cream); }
.story-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: center;
}
.story-visual {
  position: relative;
  aspect-ratio: 4/5;
}
.story-card-main {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
  border-radius: 24px;
  padding: 48px 40px;
  color: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  z-index: 2;
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}
.story-card-main:hover { transform: rotate(0); }
.story-card-main::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 14px;
  pointer-events: none;
}
.story-card-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
  font-weight: 600;
}
.story-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.story-card-quote {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: auto;
}
.story-card-quote::before {
  content: '"';
  font-size: 80px;
  line-height: 0.5;
  color: var(--yellow);
  display: block;
  margin-bottom: 12px;
  font-family: 'Fraunces', serif;
}
.story-card-sig {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255,255,255,0.2);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.story-card-sig strong {
  color: var(--yellow);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
}
.story-stamp {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transform: rotate(12deg);
  z-index: 3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
  padding: 16px;
}
.story-stamp-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2px;
}
.story-stamp-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.2;
}
.story-content h2 { margin-bottom: 32px; }
.story-content p {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.story-content p em {
  font-style: italic;
  color: var(--green);
}


/* ============ 13. FEATURES ============ */
.features { background: var(--paper); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.feature {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-1 { grid-column: span 5; background: var(--green-dark); color: var(--paper); }
.feature-2 { grid-column: span 4; }
.feature-3 { grid-column: span 3; background: var(--yellow); }
.feature-4 { grid-column: span 4; }
.feature-5 { grid-column: span 8; background: var(--ink); color: var(--paper); }
.feature-num {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--green);
  margin-bottom: 16px;
  font-weight: 500;
}
.feature-1 .feature-num, .feature-5 .feature-num { color: var(--yellow); }
.feature-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.feature-1 .feature-title, .feature-5 .feature-title { color: var(--paper); }
.feature-title em { font-style: italic; color: var(--green); }
.feature-1 .feature-title em, .feature-5 .feature-title em { color: var(--yellow); }
.feature-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.55;
}
.feature-1 .feature-text, .feature-5 .feature-text { color: rgba(255,255,255,0.75); }
.feature-icon {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 36px;
  opacity: 0.9;
  line-height: 1;
}


/* ============ 14. NEWSLETTER ============ */
.newsletter { padding: 100px 0; position: relative; }
.newsletter-card {
  background: var(--green-dark);
  border-radius: 32px;
  padding: 80px 60px;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 18px;
  pointer-events: none;
}
.newsletter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 200px at 80% 20%, rgba(245, 197, 24, 0.15), transparent 70%),
    radial-gradient(ellipse 400px 200px at 20% 80%, rgba(245, 197, 24, 0.08), transparent 70%);
  pointer-events: none;
}
.newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}
.newsletter-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 20px;
}
.newsletter h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.newsletter h2 em { font-style: italic; color: var(--yellow); font-weight: 400; }
.newsletter-text {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.55;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 15px;
  color: var(--paper);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form .btn { background: var(--yellow); color: var(--ink); }
.newsletter-form .btn:hover { background: var(--paper); }
.newsletter-fineprint { font-size: 13px; color: rgba(255,255,255,0.6); }


/* ============ 15. SOCIAL ============ */
.social { background: var(--paper); }
.social-header { text-align: center; margin-bottom: 64px; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.social-card {
  aspect-ratio: 1;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.social-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-deep); }
.social-card.insta {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}
.social-card.tiktok { background: var(--ink); color: var(--paper); }
.social-card.facebook { background: var(--cream); color: var(--ink); }
.social-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-card.facebook .social-card-icon {
  background: var(--ink);
  color: var(--cream);
}
.social-card-content { margin-top: auto; }
.social-card-handle {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.social-card-name {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}
.social-card-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  transition: transform 0.3s;
}
.social-card:hover .social-card-arrow { transform: translate(4px, -4px); }


/* ============ 16. FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 100px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}
.footer-brand-block { max-width: 320px; }
.footer-brand-block .logo { margin-bottom: 24px; }
.footer-brand-block .logo-text { color: var(--paper); }
.footer-brand-block .logo-text em { color: var(--yellow); }
.footer-pitch {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}
.footer-col h4 {
  color: var(--yellow);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-email {
  color: var(--paper);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 6px;
  display: inline-block;
  margin-bottom: 24px;
  transition: all 0.2s;
}
.footer-email:hover { color: var(--yellow); border-color: var(--yellow); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: all 0.2s;
}
.footer-socials a:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.4);
  margin-left: 4px;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--yellow); }
.footer-mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}


/* ============ 17. BREADCRUMB ============ */
.breadcrumb { padding: 24px 0 8px; background: var(--paper); }
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-text);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb-list a:hover { color: var(--green); }
.breadcrumb-list .sep {
  color: var(--gray-mute);
  font-family: 'Fraunces', serif;
  font-style: italic;
}
.breadcrumb-list .current,
.breadcrumb-list span:not(.sep) {
  color: var(--ink);
  font-weight: 500;
}


/* ============ 18. PAGE MON HISTOIRE ============ */
.story-hero { padding: 60px 0 100px; position: relative; overflow: hidden; }
.story-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(245, 197, 24, 0.18), transparent 70%),
    radial-gradient(ellipse 500px 300px at 10% 80%, rgba(27, 139, 90, 0.06), transparent 70%);
  pointer-events: none;
}
.story-hero-content { position: relative; z-index: 1; }
.story-hero h1 {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.story-hero h1 em { font-style: italic; font-weight: 400; color: var(--green); }
.story-hero-deck {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--gray-text);
  line-height: 1.4;
  max-width: 720px;
  font-weight: 400;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.story-hero-deck em { font-style: italic; color: var(--ink); }

.byline {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  max-width: 720px;
}
.byline-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.byline-text { flex: 1; }
.byline-author {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2px;
}
.byline-meta {
  font-size: 13px;
  color: var(--gray-mute);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.chapter { padding: 80px 0; position: relative; }
.chapter-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gray-mute);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chapter-num::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gray-mute);
}
.chapter h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.chapter h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}

.prose {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose p { margin-bottom: 28px; }
.prose p:first-child::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 76px;
  font-weight: 600;
  float: left;
  line-height: 0.85;
  margin: 8px 16px 0 0;
  color: var(--green-dark);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; color: var(--ink); }

.pull-quote {
  margin: 56px 0;
  padding: 0 0 0 48px;
  border-left: 3px solid var(--yellow);
  position: relative;
}
.pull-quote::before {
  content: '"';
  position: absolute;
  top: -24px;
  left: 24px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 120px;
  color: var(--yellow);
  line-height: 0.5;
}
.pull-quote p {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-style: italic;
}
.pull-quote p em { font-style: italic; color: var(--green); }
.pull-quote-cite {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-mute);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.figure {
  margin: 56px 0;
  background: var(--cream);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  border: 1px solid var(--gray-border);
}
.figure-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--green);
  margin-bottom: 16px;
}
.figure-content {
  font-family: 'Caveat', cursive;
  font-size: 56px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 600;
}
.figure-content em { color: var(--green-dark); font-style: italic; }
.figure-cap {
  font-size: 13px;
  color: var(--gray-text);
  font-style: italic;
  border-top: 1px dashed var(--gray-border);
  padding-top: 20px;
  margin-top: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.chapter.dark {
  background: var(--green-deeper);
  color: var(--paper);
  margin: 80px 0;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.chapter.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.chapter.dark .chapter-num { color: var(--yellow); }
.chapter.dark .chapter-num::before { background: var(--yellow); }
.chapter.dark h2 { color: var(--paper); }
.chapter.dark h2 em { color: var(--yellow); }
.chapter.dark .prose { color: rgba(255,255,255,0.85); }
.chapter.dark .prose strong { color: var(--paper); }
.chapter.dark .prose em { color: var(--yellow); }
.chapter.dark .prose p:first-child::first-letter { color: var(--yellow); }
.chapter.dark .pull-quote { border-left-color: var(--yellow); }
.chapter.dark .pull-quote p { color: var(--paper); }
.chapter.dark .pull-quote p em { color: var(--yellow); }
.chapter.dark .pull-quote-cite { color: rgba(255,255,255,0.6); }

.timeline-section { background: var(--cream); padding: 120px 0; }
.timeline-header { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.timeline-header h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.timeline-header h2 em { font-style: italic; font-weight: 400; color: var(--green); }
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-border);
}
.timeline-item { position: relative; padding-left: 120px; padding-bottom: 56px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 48px;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--green-dark);
  z-index: 1;
}
.timeline-item.highlight .timeline-dot {
  background: var(--yellow);
  border-color: var(--ink);
  transform: scale(1.2);
}
.timeline-item.highlight .timeline-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--yellow);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.timeline-year {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.timeline-year em { font-style: italic; font-weight: 400; }
.timeline-item.highlight .timeline-year { color: var(--ink); }
.timeline-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.timeline-title em { font-style: italic; color: var(--green); font-weight: 400; }
.timeline-text {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 560px;
}
.timeline-text strong { color: var(--ink); font-weight: 600; }

.stats { padding: 100px 0; background: var(--paper); }
.stats-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.stats-header h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stats-header h2 em { font-style: italic; font-weight: 400; color: var(--green); }
.stats-header p {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.55;
  max-width: 460px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}
.stat-block { padding: 40px 32px; border-right: 1px solid var(--gray-border); }
.stat-block:last-child { border-right: none; }
.stat-block:first-child { padding-left: 0; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num em { font-style: italic; font-weight: 400; color: var(--green); }
.stat-num sup {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gray-mute);
  font-weight: 500;
  margin-left: 4px;
  position: relative;
  top: -28px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  line-height: 1.5;
}

.manifesto {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.manifesto-content { position: relative; z-index: 1; }
.manifesto-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
}
.manifesto-eyebrow::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--yellow);
}
.manifesto h2 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 56px;
}
.manifesto h2 em { font-style: italic; font-weight: 400; color: var(--yellow); }
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 80px;
  margin-bottom: 64px;
}
.manifesto-point { padding-left: 32px; position: relative; }
.manifesto-point::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
  font-family: 'Fraunces', serif;
  font-size: 28px;
  line-height: 1;
  font-style: italic;
}
.manifesto-point h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.manifesto-point h3 em { font-style: italic; color: var(--yellow); }
.manifesto-point p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}

.signature { padding: 100px 0; background: var(--cream); }
.signature-card {
  background: var(--paper);
  border-radius: 32px;
  padding: 64px 60px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-border);
  position: relative;
}
.signature-eyebrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--green);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.signature-eyebrow .meta {
  font-style: normal;
  color: var(--gray-mute);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.signature-text {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.signature-text p { margin-bottom: 20px; }
.signature-text em { font-style: italic; color: var(--green); }
.signature-sign {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dashed var(--gray-border);
}
.signature-handwritten {
  font-family: 'Caveat', cursive;
  font-size: 56px;
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
  transform: rotate(-2deg);
  display: inline-block;
}
.signature-meta {
  font-size: 13px;
  color: var(--gray-mute);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ============ STORY CALLOUT (page Mon histoire) ============ */
.story-callout {
  padding: 80px 0;
  background: var(--paper);
}
.story-callout-card {
  background: var(--green-dark);
  border-radius: 28px;
  padding: 64px 56px;
  max-width: 880px;
  margin: 0 auto;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.story-callout-card::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 18px;
  pointer-events: none;
}
.story-callout-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
  font-weight: 600;
}
.story-callout-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.story-callout-quote::before {
  content: '"';
  font-size: 96px;
  line-height: 0.4;
  color: var(--yellow);
  display: block;
  margin-bottom: 14px;
  font-family: 'Fraunces', serif;
}
.story-callout-sig {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px dashed rgba(255,255,255,0.2);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.story-callout-sig strong {
  color: var(--yellow);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
}

.cta-final { padding: 100px 0 120px; background: var(--paper); }
.cta-content { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-final h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 28px;
}
.cta-final h2 em { font-style: italic; font-weight: 400; color: var(--green); }
.cta-text {
  font-size: 18px;
  color: var(--gray-text);
  line-height: 1.55;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============ 19. (déplacé dans woocommerce.css) ============ */


/* ============ 20. FORMULAIRE DE CONTACT + PAGES ÉDITORIALES ============ */
.page-content-wrap {
  padding: 60px 0 100px;
}
.page-hero {
  padding: 40px 0 32px;
}
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--green); }
.page-hero .deck {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--gray-text);
  max-width: 720px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.editorial {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.editorial h2 {
  font-size: 32px;
  font-weight: 500;
  margin: 48px 0 16px;
  color: var(--ink);
}
.editorial h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--ink);
}
.editorial p { margin-bottom: 20px; }
.editorial ul, .editorial ol { margin: 0 0 24px 24px; }
.editorial li { margin-bottom: 8px; }
.editorial a {
  color: var(--green);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.editorial a:hover { color: var(--green-dark); }
.editorial strong { color: var(--ink); }
.editorial em { font-style: italic; color: var(--ink); }
.editorial blockquote {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--yellow);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}

.contact-form-wrap {
  max-width: 640px;
  margin: 40px 0;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-row { display: flex; flex-direction: column; gap: 8px; }
.contact-form .form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-form .req { color: var(--green); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-border);
  border-radius: 12px;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 139, 90, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .form-row-consent label {
  display: flex;
  gap: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 14px;
  color: var(--gray-text);
  cursor: pointer;
}
.contact-form .form-row-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--green);
}
.contact-form .btn { align-self: flex-start; }
.contact-form .form-fineprint {
  font-size: 13px;
  color: var(--gray-mute);
  margin-top: 8px;
}
.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-alert {
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 15px;
}
.contact-alert.success {
  background: var(--green-light);
  color: var(--green-deeper);
  border: 1px solid var(--green);
}
.contact-alert.error {
  background: #fdecec;
  color: #842029;
  border: 1px solid #f5b7b7;
}
.contact-alert strong { display: block; margin-bottom: 4px; }


/* ============ 21. 404 + RECHERCHE ============ */
.error-404, .search-result-wrap {
  padding: 100px 0;
  text-align: center;
}
.error-404 h1 {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 500;
  margin-bottom: 24px;
}
.error-404 h1 em { font-style: italic; color: var(--green); font-weight: 400; }
.error-404 p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 560px;
  margin: 0 auto 32px;
}
.search-form {
  display: flex;
  max-width: 480px;
  margin: 32px auto 0;
  background: var(--paper);
  border: 1.5px solid var(--gray-border);
  border-radius: 100px;
  padding: 6px;
}
.search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.search-form button {
  padding: 0 24px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
}
.search-results-list {
  text-align: left;
  max-width: 720px;
  margin: 48px auto 0;
}
.search-results-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-border);
}
.search-results-list h3 a { color: var(--ink); }
.search-results-list h3 a:hover { color: var(--green); }


/* ============ 22. ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================================
 * PRODUIT — Carousel de visuels par matière
 * ========================================================================== */
.product-visuals {
  background: linear-gradient(180deg, var(--cream, #FAF7F0) 0%, var(--paper, #fff) 100%);
}

.visuals-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.visuals-carousel .carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper, #fff);
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 50px rgba(15, 92, 61, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-border, #e5e5e0);
}
.visuals-carousel .carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.visuals-carousel .carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-sizing: border-box;
}
.visuals-carousel .carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  user-select: none;
  -webkit-user-drag: none;
}
.visuals-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--paper, #fff);
  border: 1px solid var(--gray-border, #e5e5e0);
  color: var(--ink, #1A1A1A);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.visuals-carousel .carousel-btn:hover {
  background: var(--green, #1B8B5A);
  color: var(--paper, #fff);
  border-color: var(--green, #1B8B5A);
}
.visuals-carousel .carousel-btn:active { transform: translateY(-50%) scale(0.95); }
.visuals-carousel .carousel-prev { left: 16px; }
.visuals-carousel .carousel-next { right: 16px; }
.visuals-carousel .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.visuals-carousel .carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-border, #d8d8d2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.3s ease, border-radius 0.3s ease;
}
.visuals-carousel .carousel-dot:hover { background: var(--gray-mute, #8A8A8A); }
.visuals-carousel .carousel-dot.active {
  background: var(--green, #1B8B5A);
  width: 26px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .visuals-carousel { max-width: 100%; }
  .visuals-carousel .carousel-viewport { aspect-ratio: 1 / 1; border-radius: 16px; }
  .visuals-carousel .carousel-slide { padding: 14px; }
  .visuals-carousel .carousel-btn { width: 40px; height: 40px; }
  .visuals-carousel .carousel-prev { left: 8px; }
  .visuals-carousel .carousel-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}


/* ============ 23. ACCESSIBILITÉ ============ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 999;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
  position: absolute;
}
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }


/* ============================================================
 * 24. RESPONSIVE — 3 BREAKPOINTS (1024 / 768 / 480)
 *
 * Stratégie mobile-first dans l'esprit, mais écrite en desktop-first
 * pour rester compatible avec la maquette d'origine.
 *
 * BP1 (≤1024px) : tablette — passage en 1 colonne pour les grilles 2-3 cols
 * BP2 (≤768px)  : mobile large — réorganisation produits, cards plus compactes
 * BP3 (≤480px)  : mobile compact — typo réduite, boutons full-width, hero compact
 * ============================================================ */

/* ============ BP1 — Tablette ≤ 1024px ============ */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; }
  .container, .container-narrow { padding: 0 24px; }

  .nav { display: none; }
  .menu-toggle { display: flex; border: 1px solid rgba(0,0,0,0.1); }
  .section-pad { padding: 80px 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 60px; min-height: auto; }
  .hero-cards { height: 520px; transform: scale(0.95); transform-origin: center; }

  .how-header { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
  .how-step:nth-child(2) { transform: translateY(0); }
  .how-step:nth-child(2):hover { transform: translateY(-8px); }

  .products-home-header { grid-template-columns: 1fr; gap: 32px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .story-grid { grid-template-columns: 1fr; gap: 60px; }
  .story-visual { max-width: 480px; margin: 0 auto; }

  .features-grid { grid-template-columns: repeat(6, 1fr); }
  .feature-1, .feature-2, .feature-3, .feature-4, .feature-5 { grid-column: span 6; }
  .feature-2, .feature-4 { grid-column: span 3; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand-block { grid-column: span 2; }

  .stats-header { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-right: none; padding: 28px 24px; }
  .stat-block:first-child { padding-left: 24px; }
  .stat-block:nth-child(odd) { border-right: 1px solid var(--gray-border); }
  .stat-block:nth-child(-n+2) { border-bottom: 1px solid var(--gray-border); }
  .manifesto-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ BP2 — Mobile large ≤ 768px ============ */
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 20px; }
  .header-inner { height: 68px; }
  .header-actions { gap: 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .logo-mark { width: 38px; height: 38px; font-size: 14px; }
  .logo-text { font-size: 17px; }

  .promo { padding: 14px 0; }
  .promo-inner { gap: 12px; }
  .promo-inner span { font-size: 13px; }
  .promo-link { font-size: 13px; }

  .section-pad { padding: 64px 0; }
  .section-title { font-size: clamp(32px, 7vw, 48px); }

  /* HERO : la main de cartes devient une seule carte centrée pour éviter
     les translations qui sortent du viewport. */
  .hero { padding: 32px 0 56px; }
  .hero h1 { font-size: clamp(36px, 9vw, 48px); line-height: 1; }
  .hero-text { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; }
  .hero-cards {
    height: 420px;
    transform: none;
  }
  .hero-cards .card-back-3 { display: none; }
  .hero-cards .card-back-1 {
    transform: rotate(6deg) translate(60px, 20px) scale(0.75);
  }
  .hero-cards .card-back-2 {
    transform: rotate(-10deg) translate(-60px, 40px) scale(0.7);
  }
  .hero-cards .card-front {
    transform: rotate(-3deg) translate(0, 0) scale(0.85);
  }
  .score-badge {
    top: 8px;
    right: 4px;
    padding: 10px 14px;
    transform: rotate(4deg) scale(0.9);
  }
  .score-badge-points { font-size: 22px; }

  .marquee { padding: 14px 0; }
  .marquee-item { font-size: 16px; gap: 28px; }

  .how-step { padding: 36px 28px 32px; }
  .how-step-num { font-size: 64px; margin-bottom: 24px; }
  .how-step-title { font-size: 22px; }

  /* Produits grid : 1 colonne sur mobile pour éviter les cards trop étroites. */
  .products-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-card { padding: 24px 22px 22px; }
  .product-card-title { font-size: 24px; -webkit-line-clamp: 4; }
  .product-card-meta { font-size: 10px; letter-spacing: 1px; }

  .story-content p { font-size: 18px; line-height: 1.5; }
  .story-card-main { padding: 36px 28px; }
  .story-card-quote { font-size: 21px; }
  .story-stamp {
    width: 100px;
    height: 100px;
    bottom: -16px;
    right: -16px;
    padding: 12px;
  }
  .story-stamp-num { font-size: 32px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-1, .feature-2, .feature-3, .feature-4, .feature-5 { grid-column: span 1; }
  .feature { padding: 28px 24px; }
  .feature-title { font-size: 24px; }

  .newsletter { padding: 64px 0; }
  .newsletter-card { padding: 48px 24px; border-radius: 24px; }
  .newsletter-card::before { inset: 14px; }
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
    border-radius: 0;
    backdrop-filter: none;
  }
  .newsletter-form input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
  }
  .newsletter-form .btn { width: 100%; }

  .social-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .social-card { aspect-ratio: 16/9; padding: 24px; }
  .social-card-handle { font-size: 24px; }

  .footer { padding: 56px 0 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-brand-block { grid-column: span 1; max-width: none; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .footer-legal-links { display: block; margin-top: 4px; }

  /* MON HISTOIRE */
  .story-hero { padding: 32px 0 56px; }
  .story-hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .story-hero-deck { font-size: 18px; margin-bottom: 32px; }
  .byline { flex-wrap: wrap; gap: 14px; padding: 18px 0; }
  .byline-avatar { width: 48px; height: 48px; font-size: 18px; }
  .byline-author { font-size: 16px; }
  .chapter { padding: 48px 0; }
  .chapter.dark { padding: 64px 0; margin: 48px 0; }
  .chapter h2 { font-size: clamp(28px, 7vw, 44px); margin-bottom: 32px; }
  .chapter-num { font-size: 14px; }
  .prose { font-size: 16px; line-height: 1.65; }
  .prose p:first-child::first-letter { font-size: 48px; margin: 6px 12px 0 0; }
  .pull-quote { padding-left: 20px; margin: 36px 0; }
  .pull-quote::before { left: 4px; font-size: 90px; top: -18px; }
  .pull-quote p { font-size: clamp(22px, 5vw, 30px); }
  .figure { padding: 32px 20px; margin: 36px 0; }
  .figure-content { font-size: 32px; }

  .timeline-section { padding: 64px 0; }
  .timeline-header { margin-bottom: 48px; }
  .timeline::before { left: 20px; }
  .timeline-item { padding-left: 56px; padding-bottom: 36px; }
  .timeline-dot { left: 8px; }
  .timeline-year { font-size: 24px; }
  .timeline-title { font-size: 20px; }
  .timeline-text { font-size: 14px; }

  .stats { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { padding: 24px 16px; border-right: none; }
  .stat-block:first-child { padding-left: 16px; }
  .stat-block:nth-child(odd) { border-right: 1px solid var(--gray-border); }
  .stat-block:nth-child(-n+2) { border-bottom: 1px solid var(--gray-border); }
  .stat-num { font-size: 44px; }
  .stat-num sup { font-size: 12px; top: -16px; }

  .manifesto { padding: 72px 0; }
  .manifesto h2 { font-size: clamp(36px, 9vw, 56px); margin-bottom: 40px; }
  .manifesto-grid { gap: 28px; }
  .manifesto-point { padding-left: 28px; }
  .manifesto-point h3 { font-size: 22px; }

  .signature { padding: 56px 0; }
  .signature-card { padding: 36px 24px; border-radius: 24px; }
  .signature-eyebrow { flex-direction: column; gap: 4px; align-items: flex-start; }
  .signature-text { font-size: 17px; }
  .signature-handwritten { font-size: 40px; }

  .cta-final { padding: 64px 0 80px; }
  .cta-final h2 { font-size: clamp(32px, 8vw, 48px); }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; }

  /* Mobile menu : ajustements typo */
  .mobile-nav a { font-size: 28px; }
  .mobile-menu-inner { padding: 20px 24px 56px; }

  /* Formulaire de contact */
  .contact-form .btn { width: 100%; }

  /* 404 */
  .error-404 { padding: 64px 0; }
  .error-404 h1 { font-size: clamp(48px, 12vw, 80px); }
  .error-404 p { font-size: 16px; }

  /* Recherche */
  .search-form { flex-direction: column; gap: 8px; border-radius: 16px; padding: 8px; }
  .search-form button { width: 100%; padding: 14px; }
}

/* ============ BP3 — Mobile compact ≤ 480px ============ */
@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .header-inner { height: 60px; }
  .logo-mark { width: 34px; height: 34px; font-size: 13px; }
  .logo-text { font-size: 15px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 16px; height: 16px; }

  .promo { padding: 12px 0; }
  .promo-inner { flex-direction: column; gap: 8px; text-align: center; }
  .promo-inner span { font-size: 12px; line-height: 1.4; }

  .hero { padding: 24px 0 40px; }
  .hero-tag { font-size: 11px; padding: 6px 12px; }
  .hero-cards { height: 360px; }
  .hero-cards .card-back-1 { transform: rotate(6deg) translate(40px, 20px) scale(0.65); }
  .hero-cards .card-back-2 { transform: rotate(-10deg) translate(-40px, 30px) scale(0.6); }
  .hero-cards .card-front { transform: rotate(-3deg) scale(0.75); }
  .card-game { width: 240px; }
  .card-word { font-size: 38px; }
  .score-badge { padding: 8px 12px; transform: rotate(4deg) scale(0.8); }
  .score-badge-label { font-size: 9px; }
  .score-badge-points { font-size: 20px; }

  .marquee-item { font-size: 14px; gap: 20px; }
  .marquee-dot { font-size: 18px; }

  .section-pad { padding: 48px 0; }
  .section-title { font-size: clamp(28px, 8vw, 40px); }
  .section-intro { font-size: 16px; }

  .how-step { padding: 28px 22px 26px; border-radius: 18px; }
  .how-step-num { font-size: 52px; margin-bottom: 18px; }
  .how-step-title { font-size: 20px; }
  .how-step-text { font-size: 14px; }

  .product-card { padding: 20px 18px 18px; border-radius: 14px; }
  .product-card-title { font-size: 22px; -webkit-line-clamp: 3; }
  .product-card-meta { font-size: 10px; }
  .product-info h3 { font-size: 17px; }
  .product-meta { font-size: 12px; }
  .product-price { font-size: 24px; }

  .story-card-main { padding: 28px 22px; border-radius: 18px; }
  .story-card-quote { font-size: 19px; }
  .story-card-quote::before { font-size: 60px; }
  .story-stamp { width: 80px; height: 80px; bottom: -10px; right: -10px; padding: 8px; }
  .story-stamp-num { font-size: 26px; }
  .story-stamp-label { font-size: 8px; }

  .feature { padding: 24px 20px; border-radius: 16px; }
  .feature-title { font-size: 22px; }
  .feature-icon { font-size: 28px; bottom: 16px; right: 18px; }

  .newsletter-card { padding: 40px 20px; }
  .newsletter h2 { font-size: 30px; }
  .newsletter-text { font-size: 15px; }
  .newsletter-fineprint { font-size: 12px; }

  .footer { padding: 48px 0 24px; }
  .footer-top { gap: 32px; }
  .footer-pitch { font-size: 16px; }
  .footer-col h4 { font-size: 11px; margin-bottom: 16px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { font-size: 11px; }

  /* Story page */
  .story-hero h1 { font-size: clamp(36px, 13vw, 56px); }
  .story-hero-deck { font-size: 16px; }
  .chapter h2 { font-size: clamp(26px, 7.5vw, 38px); margin-bottom: 24px; }
  .prose { font-size: 15px; }
  .prose p:first-child::first-letter { font-size: 42px; }
  .pull-quote { padding-left: 16px; margin: 28px 0; }
  .pull-quote p { font-size: 20px; }
  .pull-quote::before { font-size: 64px; top: -14px; }
  .figure { padding: 24px 16px; }
  .figure-content { font-size: 26px; }
  .figure-cap { font-size: 12px; }

  .timeline::before { left: 14px; }
  .timeline-item { padding-left: 44px; padding-bottom: 28px; }
  .timeline-dot { left: 2px; width: 24px; height: 24px; }
  .timeline-year { font-size: 20px; }
  .timeline-title { font-size: 18px; }

  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat-block { padding: 24px 0; border-right: none !important; border-bottom: 1px solid var(--gray-border); }
  .stat-block:nth-child(odd) { border-right: none !important; }
  .stat-block:last-child { border-bottom: none; }
  .stat-num { font-size: 40px; }

  .manifesto { padding: 56px 0; }
  .manifesto h2 { font-size: clamp(30px, 10vw, 44px); margin-bottom: 32px; }
  .manifesto-point { padding-left: 24px; }
  .manifesto-point h3 { font-size: 20px; }
  .manifesto-point::before { font-size: 22px; }

  .signature-card { padding: 28px 20px; border-radius: 20px; }
  .signature-text { font-size: 16px; }
  .signature-handwritten { font-size: 34px; }
  .signature-eyebrow { font-size: 12px; }
  .signature-eyebrow .meta { font-size: 10px; }

  .cta-final h2 { font-size: clamp(28px, 8vw, 40px); }
  .cta-text { font-size: 15px; }

  /* Mobile menu */
  .mobile-nav a { font-size: 24px; }
  .mobile-menu-head { margin-bottom: 36px; }

  /* Pages éditoriales */
  .page-hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .page-hero .deck { font-size: 17px; }
  .editorial h2 { font-size: 26px; margin: 36px 0 12px; }
  .editorial h3 { font-size: 19px; }
  .editorial p, .editorial li { font-size: 16px; }
}
