/* ================================================================
   KRIOS — Feuille de style principale
   Palette : noir (#0a0a0a), or (#d4af37), blanc cassé (#f5f0e8),
             anthracite (#1a1a1a), sombre (#111111)
   ================================================================ */


/* ================================================================
   1. VARIABLES CSS
   Centralise toutes les couleurs, tailles et espacements.
   Modifier une variable ici change tout le site d'un coup.
   ================================================================ */
:root {
  /* Couleurs */
  --color-black:      #0a0a0a;
  --color-dark:       #1a1a1a;
  --color-darker:     #111111;
  --color-gold:       #d4af37;
  --color-gold-light: #e8cc55;
  --color-gold-dim:   rgba(212, 175, 55, 0.15);
  --color-cream:      #f5f0e8;
  --color-white:      #ffffff;
  --color-gray:       #888888;
  --color-gray-light: #555555;

  /* Typographie */
  --font-serif:       'Playfair Display', Georgia, serif;
  --font-sans:        'Inter', system-ui, sans-serif;

  /* Tailles de police (mobile-first) */
  --text-xs:    0.75rem;   /* 12px */
  --text-sm:    0.875rem;  /* 14px */
  --text-base:  1rem;      /* 16px */
  --text-lg:    1.125rem;  /* 18px */
  --text-xl:    1.25rem;   /* 20px */
  --text-2xl:   1.5rem;    /* 24px */
  --text-3xl:   2rem;      /* 32px */
  --text-4xl:   2.5rem;    /* 40px */
  --text-5xl:   3.5rem;    /* 56px */
  --text-6xl:   5rem;      /* 80px */
  --text-hero:  clamp(3.5rem, 10vw, 8rem); /* Titre hero fluide */

  /* Espacements */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* Conteneur */
  --container-max:    1100px;
  --container-narrow: 720px;

  /* Bordures & rayons */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   600ms ease;

  /* Ombres */
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.6);

  /* Hauteur de la bannière sticky (compte à rebours) */
  --banner-height: 45px;
}


/* ================================================================
   2. RESET & BASE
   Normalise les comportements entre navigateurs.
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Défilement fluide pour les ancres de navigation */
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-black);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Empêche le scroll horizontal */
}

/* Liens : désactive le style navigateur par défaut */
a {
  color: inherit;
  text-decoration: none;
}

/* Images : responsive par défaut */
img {
  max-width: 100%;
  display: block;
}

/* Boutons : reset du style navigateur */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* ================================================================
   3. TYPOGRAPHIE — CLASSES UTILITAIRES
   ================================================================ */

/* Titre de section : serif, grand, crème */
.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

/* Variante centrée */
.section-title--center {
  text-align: center;
}

/* Italique doré dans les titres (ex : <em> dans un h2) */
.section-title em {
  font-style: italic;
  color: var(--color-gold);
}

/* Petite accroche au-dessus d'un titre */
.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  text-align: center;
}

/* Texte corps standard */
p {
  font-size: var(--text-base);
  color: var(--color-gray);
  line-height: 1.8;
}


/* ================================================================
   4. LAYOUT — CONTENEUR
   Limite la largeur du contenu et le centre horizontalement.
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Variante plus étroite pour les textes longs (FAQ, etc.) */
.container--narrow {
  max-width: var(--container-narrow);
}


/* ================================================================
   5. BOUTONS
   Système de boutons réutilisables avec variantes.
   ================================================================ */

/* Bouton de base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  padding: 0.875rem 1.75rem;
  text-align: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Bouton doré — CTA principal */
.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-black);
}

/* Effet "halo lumineux" au hover */
.btn--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.btn--gold:hover::before {
  transform: scaleX(1);
}

.btn--gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--gold:active {
  transform: translateY(0);
}

/* Taille grande — Hero */
.btn--lg {
  font-size: var(--text-base);
  padding: 1.1rem 2.5rem;
}

/* Taille petite — Navbar */
.btn--sm {
  font-size: var(--text-xs);
  padding: 0.6rem 1.2rem;
}

/* Pleine largeur — Cards produits */
.btn--full {
  width: 100%;
  font-size: var(--text-sm);
  padding: 1rem;
}

/* Flèche animée dans le bouton hero */
.btn__arrow {
  display: inline-block;
  transition: transform var(--transition-base);
}

.btn--gold:hover .btn__arrow {
  transform: translateX(4px);
}

/* État désactivé pendant le chargement Stripe */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}


/* ================================================================
   6. NAVIGATION
   Barre fixe en haut — apparaît avec fond après le scroll
   ================================================================ */
.navbar {
  position: fixed;
  top: var(--banner-height); /* Descend sous la bannière sticky */
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--space-lg);
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

/* Classe ajoutée par JS quand on scrolle — fond semi-transparent */
.navbar--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.2);
}

/* Logo texte dans la nav */
.navbar__logo {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-gold);
  letter-spacing: 0.15em;
}


/* ================================================================
   7. HERO SECTION
   Premier écran : fond noir, texte dominant, ambiance épurée.
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh; /* svh = small viewport height (mobile-safe) */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-top = espace bannière (45px) + navbar (~70px) + marge confort */
  padding: calc(var(--space-3xl) + var(--banner-height)) var(--space-md) var(--space-xl);
  overflow: hidden;
  text-align: center;
}

/* Grille de points en fond — purement décorative, CSS seulement */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Dégradé en bas pour fondre la grille dans le fond noir */
.hero__bg-grid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--color-black));
}

/* Contenu du hero, au-dessus de la grille */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

/* Petite accroche au-dessus du titre hero */
.hero__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

/* Titre principal : la plus grande typographie du site */
.hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--color-cream);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 60px rgba(212, 175, 55, 0.1);
}

/* Sous-titre hero */
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Indicateur de scroll en bas du hero */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Ligne animée qui "pulse" vers le bas */
.hero__scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}


/* ================================================================
   8. ANIMATIONS AU SCROLL — FADE IN
   Les éléments commencent invisibles et apparaissent à l'entrée
   dans le viewport (déclenchées par IntersectionObserver en JS).
   ================================================================ */

/* État initial : invisible et décalé vers le bas */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp var(--transition-slow) forwards;
}

/* Délais échelonnés pour les éléments du hero */
.fade-in--delay-1 { animation-delay: 0.2s; }
.fade-in--delay-2 { animation-delay: 0.45s; }
.fade-in--delay-3 { animation-delay: 0.7s; }

/* Keyframe du fade-in */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classe pour les révélations au scroll (gérées par JS) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Classe ajoutée par JS quand l'élément entre dans le viewport */
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================================
   9. SECTION PROBLÈME
   Crée la tension émotionnelle avant la solution.
   ================================================================ */
.problem {
  padding: var(--space-3xl) 0;
  background-color: var(--color-black);
}

/* Grille des 3 points-problèmes */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

/* Chaque élément de problème */
.problem__item {
  padding: var(--space-lg);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.problem__item:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}

/* Numéro "01", "02", "03" */
.problem__number {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-gold-dim);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.problem__heading {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.problem__text {
  font-size: var(--text-sm);
  color: var(--color-gray);
}


/* ================================================================
   10. SECTION PRODUITS
   La vitrine des 2 produits avec cartes premium.
   ================================================================ */
.products {
  padding: var(--space-3xl) 0;
  background-color: var(--color-darker);
  text-align: center;
}

/* Badge certification — centré sous le titre */
.products__badge {
  margin-bottom: var(--space-xl);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px; /* Pill shape */
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

/* Grille des 2 cartes produits — côte à côte */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

/* Carte produit */
.product-card {
  background-color: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

/* Variante "Featured" — bordure dorée pour le produit populaire */
.product-card--featured {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.1);
}

/* Ruban "Le plus populaire" dans le coin */
.product-card__ribbon {
  position: absolute;
  top: 1rem;
  right: -0.5rem;
  background-color: var(--color-gold);
  color: var(--color-black);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem 0.3rem 0.75rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  z-index: 1;
}

/* Zone image placeholder — rectangle bronze élégant */
.product-card__image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #1a1408 0%, #2d2110 50%, #1a1408 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

/* Effet de brillance sur l'image placeholder */
.product-card__image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

/* Contenu intérieur du placeholder */
.product-card__image-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
}

/* "KRIOS" en petit dans le placeholder */
.product-card__image-label {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.3em;
}

/* "10g" ou "25g" en grand dans le placeholder */
.product-card__image-weight {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

/* Corps de la carte produit */
.product-card__body {
  padding: var(--space-lg);
}

/* Tags (ex : "Format découverte") */
.product-card__tags {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--color-gray);
  letter-spacing: 0.05em;
}

/* Variante dorée pour le produit featured */
.tag--gold {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--color-gold);
}

/* Nom du produit */
.product-card__name {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

/* Description courte */
.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-md);
}

/* Bloc prix */
.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: var(--space-md);
}

.price {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-cream);
}

.price__per {
  font-size: var(--text-sm);
  color: var(--color-gray);
}


/* ================================================================
   11. SECTION BÉNÉFICES
   3 colonnes avec icônes SVG et arguments.
   ================================================================ */
.benefits {
  padding: var(--space-3xl) 0;
  background-color: var(--color-darker); /* légèrement différent */
}

/* Grille des 3 bénéfices */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

/* Chaque item bénéfice */
.benefit-item {
  text-align: center;
}

/* Icône SVG — entourée d'un fond subtil */
.benefit-item__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background-color: var(--color-gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.benefit-item:hover .benefit-item__icon {
  background-color: rgba(212, 175, 55, 0.25);
  transform: scale(1.05);
}

.benefit-item__title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.benefit-item__text {
  font-size: var(--text-sm);
  color: var(--color-gray);
}


/* ================================================================
   12. SECTION ORIGINE
   Storytelling sobre avec ligne décorative et stats.
   ================================================================ */
.origin {
  padding: var(--space-3xl) 0;
  background-color: var(--color-black);
}

/* Contenu centré avec largeur limitée pour lisibilité */
.origin__content {
  max-width: 680px;
  margin: 0 auto;
}

/* Ligne verticale dorée décorative */
.origin__line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
  margin: 0 auto var(--space-lg);
}

.origin__text {
  font-size: var(--text-base);
  color: var(--color-gray);
  margin-bottom: var(--space-md);
  line-height: 1.9;
}

/* Italique doré dans le texte d'origine */
.origin__text em {
  color: var(--color-gold);
  font-style: italic;
}

/* Grille des 3 statistiques */
.origin__stats {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.origin__stat {
  text-align: center;
}

/* Grand chiffre en or */
.origin__stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

/* Label sous le chiffre */
.origin__stat-label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-top: 0.4rem;
}


/* ================================================================
   13. FAQ — ACCORDION
   Questions/réponses interactives avec animation JS.
   ================================================================ */
.faq {
  padding: var(--space-3xl) 0;
  background-color: var(--color-dark);
}

.faq__list {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0; /* Pas d'espace — les borders se touchent */
}

/* Chaque question */
.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bouton de la question — toute la ligne est cliquable */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-cream);
  text-align: left;
  transition: color var(--transition-fast);
  gap: var(--space-sm);
}

.faq__question:hover {
  color: var(--color-gold);
}

/* "+" / "−" à droite */
.faq__icon {
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: 300;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

/* Rotation de l'icône quand ouvert */
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

/* Réponse — masquée par défaut, animée par JS */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq__answer p {
  padding-bottom: 1.4rem;
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.8;
}

.faq__answer strong {
  color: var(--color-cream);
}


/* ================================================================
   14. FOOTER
   Sobre et minimal — respecte l'esprit de la marque.
   ================================================================ */
.footer {
  padding: var(--space-xl) 0;
  background-color: var(--color-black);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* Partie haute : logo + tagline */
.footer__top {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-gold);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-gray-light);
  font-style: italic;
}

/* Liens légaux */
.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.footer__link {
  font-size: var(--text-xs);
  color: var(--color-gray);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__separator {
  color: var(--color-gray-light);
  font-size: var(--text-xs);
}

/* Partie basse : copyright */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.footer__copy,
.footer__made {
  font-size: var(--text-xs);
  color: var(--color-gray-light);
}


/* ================================================================
   15. TOAST — NOTIFICATION
   Message éphémère affiché en bas de l'écran.
   ================================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px); /* Caché par défaut */
  background-color: var(--color-dark);
  color: var(--color-cream);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: var(--text-sm);
  z-index: 9999;
  transition: transform var(--transition-base);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Classe ajoutée par JS pour afficher le toast */
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Variante erreur */
.toast--error {
  border-color: rgba(220, 50, 50, 0.5);
  color: #ff8080;
}


/* ================================================================
   16. RESPONSIVE — TABLETTES (max 900px)
   Ajuste les grilles pour les écrans moyens.
   ================================================================ */
@media (max-width: 900px) {

  /* Grille problème : 1 colonne */
  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Grille bénéfices : 1 colonne */
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Statistiques origine : espacées différemment */
  .origin__stats {
    gap: var(--space-lg);
  }

  /* Taille du titre de section */
  .section-title {
    font-size: var(--text-2xl);
  }

}


/* ================================================================
   17. RESPONSIVE — MOBILES (max 640px)
   Empile tout en colonne unique, ajuste la navbar.
   ================================================================ */
@media (max-width: 640px) {

  /* Navbar : moins de padding */
  .navbar {
    padding: 1rem var(--space-sm);
  }

  /* Grille produits : 1 colonne */
  .products__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Hero : le sous-titre passe en display block */
  .hero__subtitle br {
    display: none;
  }

  /* Origine : stats en colonne */
  .origin__stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  /* Footer bas : colonne centrée */
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Titre section en plus petit sur mobile */
  .section-title {
    font-size: var(--text-xl);
  }

  /* Bannière : texte encore plus petit sur mobile */
  .banner {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    white-space: normal;
    text-align: center;
    padding: 0 var(--space-sm);
  }

  .banner__countdown {
    font-size: 0.75rem;
  }

  /* Newsletter : formulaire en colonne */
  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__title {
    font-size: var(--text-2xl);
  }

}


/* ================================================================
   18. BANNIÈRE STICKY COMPTE À REBOURS
   Fond or fixe tout en haut, au-dessus de la navbar.
   Hauteur contrôlée par --banner-height dans :root.
   ================================================================ */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-height);
  z-index: 1001; /* Au-dessus de la navbar (z-index: 1000) */
  background-color: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 0 var(--space-md);
  overflow: hidden;
}

/* Compte à rebours en monospace pour éviter les sauts de mise en page */
.banner__countdown {
  font-weight: 700;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}


/* ================================================================
   19. PRIX FONDATEURS
   Prix original barré en gris + prix promo en or et plus grand.
   Remplace le .product-card__price existant.
   ================================================================ */

/* Prix normal barré */
.price--old {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-gray-light);
  text-decoration: line-through;
  text-decoration-color: rgba(85, 85, 85, 0.8);
}

/* Prix fondateurs — or et plus grand que le prix barré */
.price--new {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

/* Badge livraison offerte — mis en valeur en or sous le bouton */
.product-card__delivery {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold);
  text-align: center;
  line-height: 1.4;
}

/* Texte précommande sous le bouton d'achat */
.product-card__disclaimer {
  margin-top: 0.3rem;
  font-size: 0.75rem; /* 12px exact */
  color: var(--color-gray-light);
  text-align: center;
  line-height: 1.5;
}


/* ================================================================
   20. SECTION ABONNEMENT TEASER
   Email capture sobre entre FAQ et footer.
   Fond #1a1a1a (--color-dark), centré.
   ================================================================ */
.newsletter {
  padding: var(--space-3xl) 0;
  background-color: var(--color-dark);
  text-align: center;
}

/* Pill "Bientôt disponible" au-dessus du titre */
.newsletter__eyebrow {
  display: inline-block;
  background-color: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  margin-bottom: var(--space-md);
}

/* Titre de section */
.newsletter__title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

/* Sous-titre descriptif */
.newsletter__subtitle {
  font-size: var(--text-base);
  color: var(--color-gray);
  max-width: 460px;
  margin: 0 auto var(--space-xl);
  line-height: 1.75;
}

/* Formulaire : input + bouton côte à côte */
.newsletter__form {
  display: flex;
  gap: var(--space-xs);
  max-width: 440px;
  margin: 0 auto;
  justify-content: center;
}

/* Champ email */
.newsletter__input {
  flex: 1;
  min-width: 0; /* Empêche le débordement en flexbox */
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-cream);
  outline: none;
  transition: border-color var(--transition-base);
}

.newsletter__input::placeholder {
  color: var(--color-gray);
}

/* Bordure or au focus */
.newsletter__input:focus {
  border-color: rgba(212, 175, 55, 0.5);
}

/* Message de confirmation après submit — caché par défaut */
.newsletter__success {
  display: none;
  margin-top: var(--space-md);
  font-size: var(--text-base);
  color: var(--color-gold);
  font-weight: 500;
  animation: fadeInUp 0.4s ease forwards;
}

/* Affiché par JS avec cette classe */
.newsletter__success.is-visible {
  display: block;
}


/* ================================================================
   21. SCROLLBAR PERSONNALISÉE
   Style dark avec accent doré.
   Fonctionne sur Chrome, Edge, Safari (navigateurs WebKit/Blink).
   Firefox utilise scrollbar-color à la place.
   ================================================================ */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) var(--color-black);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(212, 175, 55, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-gold);
}


/* ================================================================
   22. PAGES LÉGALES
   Structure partagée par mentions-legales.html, cgv.html,
   contact.html et politique-confidentialite.html.
   ================================================================ */

/* Zone principale — compense bannière (45px) + navbar (~70px) */
.legal-page {
  min-height: 100vh;
  padding-top: calc(var(--banner-height) + 7rem);
  padding-bottom: var(--space-3xl);
  background-color: var(--color-black);
}

/* Lien retour accueil */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  transition: gap var(--transition-base);
}

.legal-back:hover {
  gap: 0.85rem;
}

/* En-tête de la page */
.legal-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.legal-header p {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

/* Chaque bloc de section légale */
.legal-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.legal-section h3 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-cream);
  margin-top: var(--space-sm);
  margin-bottom: 0.4rem;
}

.legal-section p,
.legal-section li {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.9;
  margin-bottom: 0.6rem;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

.legal-section a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-fast);
}

.legal-section a:hover {
  opacity: 0.75;
}

.legal-section strong {
  color: var(--color-cream);
  font-weight: 600;
}

/* Zone mise en valeur (encadré léger) */
.legal-highlight {
  background-color: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-sm) 0;
}

.legal-highlight p {
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
   Formulaire de contact (contact.html)
   ---------------------------------------------------------------- */

/* Formulaire en colonne */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  max-width: 560px;
}

/* Groupe label + input */
.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Label uppercase doré */
.contact-form__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* Champs texte */
.contact-form__input,
.contact-form__textarea {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-cream);
  outline: none;
  transition: border-color var(--transition-base);
  width: 100%;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--color-gray);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: rgba(212, 175, 55, 0.5);
}

/* Zone de texte redimensionnable verticalement */
.contact-form__textarea {
  min-height: 150px;
  resize: vertical;
}

/* Message de succès après submit — caché par défaut */
.contact-success {
  display: none;
  padding: var(--space-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  background-color: rgba(212, 175, 55, 0.04);
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-gold);
  font-weight: 500;
  line-height: 1.8;
  animation: fadeInUp 0.5s ease forwards;
}
