/* ==========================================================================
   Mandragora Herboristerie — feuille de style du site vitrine

   Sommaire
     1. Polices
     2. Variables : palette, rôles des couleurs, typographie, formes
     3. Base
     4. Mise en page
     5. Navigation
     6. Héros
     7. Boutons
     8. Composants de contenu
     9. Composants propres à une page
    10. Pied de page
    11. Utilitaires

   Conventions
     - Classes en anglais, notation BEM : .bloc, .bloc__element, .bloc--variante.
     - États posés par le JS ou le PHP : .is-open, .is-active.
     - Utilitaires préfixés : .u-*.
     - Aucune couleur en dur hors de la section 2 : les composants n'utilisent
       que les rôles (--color-*), jamais la palette directement.
     - Chaque composant porte ses propres media queries, à la fin de son bloc.
       Points de rupture : 1250px (menu replié), 900px (héros en colonne),
       768px (mobile).
   ========================================================================== */


/* ==========================================================================
   1. Polices
   ========================================================================== */

/* Police calligraphique, même fichier que le site formation.
   Réservée aux titres de héros : trop peu lisible en petit corps. */
@font-face {
  font-family: rostock_kaligraph;
  src:
    url("../fonts/rostock_kaligraph/rostock-kaligraph.woff2") format("woff2"),
    url("../fonts/rostock_kaligraph/Rostock Kaligraph.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Lora, hébergée en local : aucune requête vers Google Fonts.
   Sous-ensembles latin et latin-ext générés depuis fonts.googleapis.com. */
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora/lora-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora/lora-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora/lora-400-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora/lora-400-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lora/lora-700-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lora/lora-700-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   2. Variables
   ========================================================================== */

:root {
  /* --- Palette ----------------------------------------------------------
     Valeurs brutes de la charte. Ne pas les utiliser dans les composants :
     passer par les rôles ci-dessous. */
  --palette-red: #710000;          /* rouge du site formation */
  --palette-red-dark: #400101;
  --palette-green-deep: #2f3a27;   /* survol, dérivé du vert foncé */
  --palette-green-dark: #3e4b33;   /* charte de l'herboristerie */
  --palette-green-leaf: #6d7d56;   /* charte de l'herboristerie */
  --palette-green-sage: #6d8a5a;
  --palette-gold: #b8862b;
  --palette-lavender: #5e4a8c;    /* repère de la boutique sur la carte */
  --palette-beige: #fff4e3;
  --palette-white: #ffffff;
  --palette-black: #000000;

  /* --- Rôles des couleurs ---------------------------------------------
     Changer l'identité du site revient à modifier ce seul bloc. */
  --color-bg: var(--palette-beige);
  --color-surface: var(--palette-white);
  --color-text: var(--palette-black);
  --color-text-muted: rgba(0, 0, 0, 0.65);
  --color-text-subtle: rgba(0, 0, 0, 0.55);
  --color-text-inverse: var(--palette-beige);
  --color-text-inverse-strong: var(--palette-white);

  /* Vert foncé : contraste de 8,5:1 sur le beige, lisible même en petit.
     Le vert feuillage (4,1:1) est réservé aux voiles sur les photos. */
  --color-accent: var(--palette-green-dark);       /* titres, liens, boutons */
  --color-accent-strong: var(--palette-green-deep); /* survol, fonds sombres */

  /* Teintes dérivées de l'accent : elles suivent automatiquement sa couleur */
  --color-border: color-mix(in srgb, var(--color-accent) 10%, transparent);
  --color-border-strong: color-mix(in srgb, var(--color-accent) 25%, transparent);
  --color-border-dashed: color-mix(in srgb, var(--color-accent) 30%, transparent);
  --color-tint: color-mix(in srgb, var(--color-accent) 4%, transparent);
  --color-shadow: color-mix(in srgb, var(--color-accent) 10%, transparent);

  --color-nav: var(--palette-green-dark);        /* bandeau de navigation */
  --color-overlay-start: var(--palette-green-dark); /* voile des photos, côté texte */
  --color-overlay-end: var(--palette-green-leaf);   /* voile des photos, côté image */

  --color-success: var(--palette-green-sage);
  --color-danger: var(--palette-red);            /* erreurs de formulaire */

  /* Renvois vers mandragora-formation.fr : le rouge reste la couleur de ce site */
  --color-formation: var(--palette-red);
  --color-formation-strong: var(--palette-red-dark);
  --color-line: var(--palette-black);            /* filets du pied de page */

  /* Catégories de fournisseurs : pastilles, légende et points de la carte */
  --color-cat-producer: var(--palette-green-sage);
  --color-cat-wholesaler: var(--palette-gold);
  --color-cat-lab: var(--palette-red);
  --color-shop: var(--palette-lavender);         /* la boutique, parmi les fournisseurs */

  /* Plante qui pousse dans la marge de l'accueil */
  --color-vine: var(--palette-green-dark);
  --color-vine-leaf: var(--palette-green-sage);
  --color-vine-bloom: var(--palette-gold);

  /* --- Typographie ---------------------------------------------------- */
  --font-body: "Lora", serif;
  /* Uniquement pour les titres de héros : la calligraphie est illisible
     en dessous d'une quarantaine de pixels. */
  --font-display: "rostock_kaligraph", "Lora", serif;

  --text-base: 1.2rem;
  --text-base-mobile: 14px;
  --text-h1-mobile: 36px;
  --text-h2: 30px;
  --text-h2-mobile: 24px;
  --text-h3: 20px;
  --text-h3-mobile: 18px;
  --text-button: 17px;
  --text-button-mobile: 15px;

  /* --- Formes et mouvement -------------------------------------------- */
  --radius-md: 10px;
  --radius-lg: 15px;
  --radius-full: 9999px;

  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-nav: 0 2px 5px rgba(0, 0, 0, 0.1);

  --transition: all 0.3s ease;

  /* --- Mise en page --------------------------------------------------- */
  --container: 1200px;

  /* Hauteur de la navigation fixe : sert aussi de décalage au body et aux
     ancres, pour que la barre et le héros restent jointifs. 72px pour que le
     nom sur deux lignes reste lisible. */
  --nav-height: 72px;
}


/* ==========================================================================
   3. Base
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  margin-top: var(--nav-height);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--color-accent);
}

img {
  display: block;
  max-width: 100%;
}

/* Icônes du sprite assets/img/icons.svg (fonction icon() en PHP) : elles
   prennent la taille et la couleur du texte, comme une police d'icônes. */
.icon {
  display: inline-block;
  flex-shrink: 0;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
  fill: currentColor;
}

@media (max-width: 768px) {
  body {
    font-size: var(--text-base-mobile);
  }
}


/* ==========================================================================
   4. Mise en page
   ========================================================================== */

/* Section ----------------------------------------------------------------- */

.section {
  padding: 4.5rem 1.5rem;
}

.section--white {
  background-color: var(--color-surface);
}

/* Fond teinté de vert, entre deux sections de même fond */
.section--tint {
  background-color: color-mix(in srgb, var(--color-accent) 7%, var(--color-bg));
}

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section__header {
  margin-bottom: 3rem;
  text-align: center;
}

.section__title {
  margin-bottom: 0.8rem;
  font-size: var(--text-h2);
  letter-spacing: -0.6px;
  color: var(--color-accent);
}

.section__subtitle {
  max-width: 60ch;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 1.2rem;
  }

  .section__title {
    font-size: var(--text-h2-mobile);
  }
}

/* Deux colonnes : image et texte ------------------------------------------ */

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

/* Deuxième bloc : photo à droite, pour alterner avec le premier.
   En mobile les colonnes s'empilent dans l'ordre du HTML (photo puis texte). */
.split--reverse {
  flex-direction: row-reverse;
}

.split + .split {
  margin-top: 4rem;
}

.split__media,
.split__text {
  flex: 1 1 340px;
}

/* Photo paysage 1200x800 : la colonne ne dépasse jamais cette largeur,
   donc aucun agrandissement. */
.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px var(--color-shadow);
}

/* Photo en portrait (4:5) : colonne plus étroite, pour ne pas dominer le texte */
.split__media--portrait {
  flex: 0 1 440px;
  margin: 0 auto;
}

/* Illustration détourée (la mandragore) : ni cadre ni ombre */
.split__media--narrow {
  flex: 0 1 260px;
  text-align: center;
}

.split__media--narrow img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
}

.split__text p + p,
.split__text p + ul {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .split {
    gap: 2rem;
  }
}


/* ==========================================================================
   5. Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--nav-height);
  padding: 0 1rem;
  background-color: var(--color-nav);
  border-bottom: 2px solid var(--color-line);
  box-shadow: var(--shadow-nav);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.site-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* La mandragore seule ressort sur le fond sombre : pas besoin de fond.
   Le nom est repris en texte clair à côté. */
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.site-nav__brand img {
  display: block;
  width: auto;
  height: 54px;
}

.site-nav__brand-name {
  display: flex;
  flex-direction: column;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--color-text-inverse);
  transition: color 0.3s ease;
}

.site-nav__brand:hover .site-nav__brand-name {
  color: var(--color-text-inverse-strong);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.site-nav__links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-text-inverse);
  transition: 0.3s;
}

.site-nav__links a:hover {
  color: var(--color-text-inverse-strong);
}

/* Soulignement animé au survol, permanent sur la page courante */
.site-nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-text-inverse-strong);
  transition: width 0.3s;
}

.site-nav__links a:hover::after {
  width: 100%;
}

.site-nav__links a.is-active::after {
  width: 100%;
  background-color: var(--color-text-inverse);
}

/* Icône « lien externe » à côté de Formations */
.site-nav__external {
  font-size: 0.75em;
}

.site-nav__toggle {
  display: none;
  padding: 0;
  line-height: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.site-nav__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  background-color: var(--color-text-inverse-strong);
  transition: 0.3s;
}

/* Le menu compte 8 entrées : il lui faut ~1100px pour tenir à côté du logo.
   En dessous, il se replie derrière le bouton. */
@media (max-width: 1250px) {
  .site-nav__toggle {
    display: block;
  }

  .site-nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-nav);
    box-shadow: var(--shadow-nav);
  }

  .site-nav__links.is-open {
    display: flex;
  }

  .site-nav__toggle.is-open span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .site-nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (max-width: 768px) {
  .site-nav__brand img {
    height: 46px;
  }

  .site-nav__brand-name {
    font-size: 1rem;
  }
}


/* ==========================================================================
   6. Héros
   ========================================================================== */

/* Surtitre en pastille, commun aux deux héros */
.hero__eyebrow,
.page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 244, 227, 0.5);
  border-radius: var(--radius-full);
}

/* Héros de l'accueil ------------------------------------------------------
   Deux modes. Par défaut (sans JS, ou animations réduites) : la devanture,
   fixe sous son voile. Avec .hero--journey, posé par heroJourney() dans
   main.js : un trajet au défilement, voir « Accueil — entrer dans la
   boutique » plus bas. */

.hero {
  position: relative;
}

.hero__stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-overlay-start);
  background-size: cover;
}

.hero__bg--outside {
  /* cadrage haut : l'enseigne « Herboristerie » occupe 10 à 19 % de la
     hauteur de la photo ; à 15 %, elle reste entière même sur un écran
     large et peu haut */
  background-position: center 15%;
  background-image: url("../img/devant_boutique-900.webp");
}

/* L'intérieur n'existe que pendant le trajet */
.hero__bg--inside {
  display: none;
  background-position: 85% 33%;
  background-image: url("../img/interieur_1-900.webp");
}

/* Voile assez dense à gauche pour que le texte clair reste lisible, plus
   léger à droite pour laisser voir la photo. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--color-overlay-start) 92%, transparent) 0%,
    color-mix(in srgb, var(--color-overlay-end) 80%, transparent) 38%,
    color-mix(in srgb, var(--color-overlay-end) 55%, transparent) 70%,
    color-mix(in srgb, var(--color-overlay-end) 40%, transparent) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Encadré du texte : fond opaque pour qu'il se lise quelle que soit la photo
   dessous. */
.hero__panel {
  max-width: 48rem;
  padding: 2rem 2.25rem 2.25rem;
  background-color: color-mix(in srgb, var(--color-overlay-start) 88%, transparent);
  border: 1px solid rgba(255, 244, 227, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hero__panel .hero__subtitle {
  margin-bottom: 0;
}

.hero .actions {
  margin-top: 2rem;
}

.hero__title {
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 64px;
  letter-spacing: -1.28px;
  color: var(--color-text-inverse-strong);
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 42ch;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  color: var(--color-text-inverse);
}

/* Invite à défiler, affichée seulement pendant le trajet */
.hero__cue {
  display: none;
}

/* Photos pleine définition au-delà du mobile ; 900px de large suffisent
   en dessous, sous le voile. */
@media (min-width: 769px) {
  .hero__bg--outside {
    background-image: url("../img/devant_boutique.webp");
  }

  .hero__bg--inside {
    background-image: url("../img/interieur_1.webp");
  }
}

@media (max-width: 900px) {
  .hero__inner {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .hero__subtitle,
  .hero__panel {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__panel {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .hero .actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: var(--text-h1-mobile);
    letter-spacing: -0.72px;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }
}

/* Héros des pages intérieures --------------------------------------------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-overlay-start);
  background-size: cover;
  background-position: center;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--color-overlay-start) 94%, transparent) 0%,
    color-mix(in srgb, var(--color-overlay-end) 85%, transparent) 45%,
    color-mix(in srgb, var(--color-overlay-end) 60%, transparent) 100%
  );
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.page-hero__title {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 52px;
  letter-spacing: -1px;
  color: var(--color-text-inverse-strong);
  text-wrap: balance;
}

.page-hero__subtitle {
  max-width: 62ch;
  font-size: 1.25rem;
  color: var(--color-text-inverse);
}

/* Photos de fond, au choix de la page */
/* Une photo propre à chaque page (shooting de Laura Sauvage). Le héros est un
   bandeau très large : seules des photos de matière (plantes en vrac, bocaux,
   rangées) supportent ce recadrage, un sujet y serait coupé. */
.page-hero__bg--roses {
  background-image: url("../img/hero_roses-900.webp");
}

.page-hero__bg--tilleul {
  background-image: url("../img/hero_tilleul-900.webp");
}

.page-hero__bg--calendula {
  background-image: url("../img/hero_calendula-900.webp");
}

.page-hero__bg--jars {
  background-image: url("../img/hero_bocaux-900.webp");
}

.page-hero__bg--blends {
  background-image: url("../img/hero_melanges-900.webp");
}

.page-hero__bg--books {
  background-image: url("../img/hero_livres-900.webp");
}

@media (min-width: 769px) {
  .page-hero__bg--roses {
    background-image: url("../img/hero_roses.webp");
  }

  .page-hero__bg--tilleul {
    background-image: url("../img/hero_tilleul.webp");
  }

  .page-hero__bg--calendula {
    background-image: url("../img/hero_calendula.webp");
  }

  .page-hero__bg--jars {
    background-image: url("../img/hero_bocaux.webp");
  }

  .page-hero__bg--blends {
    background-image: url("../img/hero_melanges.webp");
  }

  .page-hero__bg--books {
    background-image: url("../img/hero_livres.webp");
  }
}

/* Héros sobre, sans photo : pages légales */
.page-hero--plain {
  min-height: 220px;
}

.page-hero--plain .page-hero__bg::after {
  background: none;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 240px;
    padding: 2.5rem 1.2rem;
  }

  .page-hero__title {
    font-size: 32px;
    letter-spacing: -0.6px;
  }

  .page-hero__subtitle {
    font-size: 1.05rem;
  }
}


/* ==========================================================================
   7. Boutons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

/* Sur fond sombre (héros, bandeaux) */
.btn--light {
  color: var(--color-accent);
  background-color: var(--color-text-inverse);
  border-color: var(--color-text-inverse);
}

.btn--light:hover {
  background-color: var(--color-text-inverse-strong);
  border-color: var(--color-text-inverse-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--light-outline {
  color: var(--color-text-inverse);
  background-color: transparent;
  border-color: var(--color-text-inverse);
}

.btn--light-outline:hover {
  color: var(--color-accent);
  background-color: var(--color-text-inverse);
  transform: translateY(-2px);
}

/* Sur fond clair */
.btn--accent {
  color: var(--color-text-inverse);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background-color: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--accent-outline {
  color: var(--color-accent);
  background-color: transparent;
  border-color: var(--color-accent);
}

.btn--accent-outline:hover {
  color: var(--color-text-inverse);
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* Groupe de boutons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.actions--center {
  justify-content: center;
}

@media (max-width: 768px) {
  .btn {
    font-size: var(--text-button-mobile);
  }
}


/* ==========================================================================
   8. Composants de contenu
   ========================================================================== */

/* Filet et surtitre ------------------------------------------------------- */

.divider {
  width: 90px;
  height: 2px;
  margin: 1rem auto 0;
  background-color: var(--color-accent);
  opacity: 0.4;
}

/* Surtitre aligné à gauche, dans les blocs de contenu */
.eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.75;
}

.section__header .eyebrow {
  text-align: center;
}

/* Texte long -------------------------------------------------------------- */

/* Colonne de lecture confortable */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose p + p,
.prose p + ul {
  margin-top: 1rem;
}

.prose .section__title {
  margin-bottom: 1.2rem;
}

/* Étiquettes -------------------------------------------------------------- */

/* Les trois valeurs de la boutique : pleines, avec une icône, pour être vues
   au premier coup d'œil. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-text-inverse-strong);
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  box-shadow: 0 6px 14px var(--color-shadow);
}

.chip .icon {
  font-size: 1.1em;
}

/* Cartes ------------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Variante pour un nombre d'éléments qui ne remplit pas la grille (5, 7…) :
   la dernière ligne se centre au lieu de laisser un trou à droite. */
.cards--centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cards--centered .card {
  flex: 0 1 330px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 12px 28px var(--color-shadow);
  transform: translateY(-4px);
}

/* Icône dans une pastille claire, pour donner un point d'accroche à la carte */
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.card__icon .icon {
  font-size: 1.6rem;
  color: var(--color-accent);
}

.card h3 {
  margin-bottom: 0.7rem;
  font-size: var(--text-h3);
  color: var(--color-accent);
}

.card p {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .card h3 {
    font-size: var(--text-h3-mobile);
  }
}

/* Étendue du catalogue ---------------------------------------------------- */

.categories {
  margin-top: 3.5rem;
  text-align: center;
}

.categories__title {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--color-accent);
}

.categories__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
}

.categories__list li {
  padding: 0.45rem 1.1rem;
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.categories__list li:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Engagements : liste à puces en forme de feuille ------------------------- */

.commitments {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  list-style: none;
}

.commitments li {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 0.9rem;
}

/* Feuille du sprite, découpée en masque : elle prend la couleur de l'accent */
.commitments li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  background-color: var(--color-accent);
  opacity: 0.7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5l88 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-16 0-72 0s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440l0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.7 239-130.9 239-291.4c0-42.6-7.5-83.1-21.1-119.6c-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96L272 96z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5l88 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-16 0-72 0s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440l0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.7 239-130.9 239-291.4c0-42.6-7.5-83.1-21.1-119.6c-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96L272 96z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.commitments--compact {
  margin-bottom: 0;
}

.commitments--compact li {
  padding-bottom: 0.5rem;
}

/* Logos des réseaux ------------------------------------------------------- */

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.logos img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: var(--transition);
}

.logos img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 768px) {
  .logos {
    gap: 2rem;
  }

  .logos img {
    max-width: 120px;
    max-height: 60px;
  }
}

/* Note en fin de section (mention réglementaire, précision) --------------- */

.section__note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 720px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  font-style: italic;
  text-align: left;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.section__note .icon {
  margin-top: 0.3rem;
  font-style: normal;
  color: var(--color-accent);
}

.section__note--center {
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 0;
  text-align: center;
  border-top: none;
}

/* Planche d'herbier (page professionnels) ---------------------------------
   Trois photos montées comme des échantillons : marge de papier blanc,
   bande adhésive translucide en haut, étiquette calligraphiée en bas,
   chacune légèrement de travers. Elles se chevauchent un peu, comme posées
   à la main sur la table. */

.herbarium {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 3rem;
}

.herbarium__text p {
  max-width: 40ch;
}

.herbarium__sheets {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}

.herbarium__sheet {
  position: relative;
  flex: 0 1 250px;
  padding: 0.7rem 0.7rem 0;
  background-color: var(--color-surface);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 12px 26px var(--color-shadow);
  rotate: -3deg;
}

.herbarium__sheet:nth-child(2) {
  z-index: 1;
  margin: 2.25rem -1.25rem 0;
  rotate: 2deg;
}

.herbarium__sheet:nth-child(3) {
  rotate: -1deg;
}

/* La bande adhésive */
.herbarium__sheet::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: 5.5rem;
  height: 1.5rem;
  background-color: color-mix(in srgb, var(--palette-gold) 22%, rgba(255, 255, 255, 0.55));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  translate: -50% 0;
  rotate: -4deg;
}

.herbarium__sheet img {
  width: 100%;
  height: auto;
}

/* L'étiquette, écrite à la plume */
.herbarium__sheet figcaption {
  padding: 0.55rem 0.2rem 0.7rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.15;
  text-align: center;
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .herbarium {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .herbarium__text p {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .herbarium__sheet {
    padding: 0.4rem 0.4rem 0;
  }

  .herbarium__sheet:nth-child(2) {
    margin: 1.25rem -0.6rem 0;
  }

  .herbarium__sheet::before {
    width: 3.5rem;
    height: 1rem;
    top: -0.45rem;
  }

  .herbarium__sheet figcaption {
    padding: 0.3rem 0.1rem 0.4rem;
    font-size: 0.72rem;
  }
}

/* Frise de trois photos, sans texte -------------------------------------- */

.section--tight {
  padding-top: 0;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
  list-style: none;
}

.photo-strip img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px var(--color-shadow);
}

@media (max-width: 600px) {
  .photo-strip {
    gap: 0.6rem;
  }
}

/* Paysage en bandeau, avec sa légende posée dessus ------------------------ */

.landscape {
  position: relative;
  margin: 3rem 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px var(--color-shadow);
}

.landscape img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: center 55%;
}

.landscape figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.35rem 1rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-inverse-strong);
  background-color: color-mix(in srgb, var(--color-overlay-start) 80%, transparent);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .landscape img {
    aspect-ratio: 3 / 2;
  }
}

/* Presse : une parution par ligne ----------------------------------------- */

.press-list {
  display: grid;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.press-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.5rem 1.75rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
}

.section--white .press-item {
  background-color: var(--color-bg);
}

.press-item__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
  color: var(--color-accent);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.press-item__body {
  flex: 1 1 300px;
}

.press-item__source {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.press-item__title {
  font-size: 1.2rem;
  color: var(--color-accent);
}

.press-item__note {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.press-item .btn {
  flex: 0 0 auto;
}

/* Vignette du scan de l'article, qui s'ouvre en grand au clic */
.press-item__scan {
  flex: 0 0 auto;
  display: block;
  width: 96px;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 4px 10px var(--color-shadow);
  transition: var(--transition);
}

.press-item__scan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px var(--color-shadow);
}

.press-item__scan img {
  width: 100%;
  height: auto;
}

/* Presse : reportage vidéo, sous sa ligne. L'image d'attente est un bouton :
   le lecteur YouTube ne se charge qu'au clic (main.js, playVideos). */
.press-video {
  flex: 1 1 100%;
}

.press-video__play,
.press-video__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-md);
}

.press-video__play {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: var(--color-text);
  cursor: pointer;
}

.press-video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.press-video__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 9vw, 5rem);
  color: var(--color-text-inverse-strong);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
  transition: var(--transition);
}

.press-video__play:hover img,
.press-video__play:focus-visible img {
  filter: brightness(0.85);
}

.press-video__play:hover .press-video__icon,
.press-video__play:focus-visible .press-video__icon {
  transform: scale(1.08);
}

.press-video__notice {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.press-video.is-playing .press-video__notice {
  display: none;
}

/* Accueil — avis Google ---------------------------------------------------- */

.stars {
  display: inline-flex;
  gap: 0.15em;
  font-size: 1rem;
  line-height: 1;
}

.stars .icon {
  vertical-align: 0;
}

.stars__on {
  color: var(--color-cat-wholesaler);
}

.stars__off {
  color: color-mix(in srgb, var(--color-text) 18%, transparent);
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: -1.25rem 0 2.5rem;
}

.reviews-summary__score {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
}

.reviews-summary .stars {
  font-size: 1.35rem;
}

.reviews-summary__count {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Une seule ligne : les 5 avis tiennent côte à côte sur grand écran ;
   en dessous, la ligne défile à l'horizontale, l'avis suivant dépassant
   pour inviter à glisser. */
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(215px, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Petit écran : la ligne défile à l'horizontale, avec une barre fine aux
   couleurs du site. Le défilement rognerait la carte dépliée au survol :
   ici, un bouton « Lire la suite » déplie l'avis dans sa carte (main.js,
   expandReviews). */
@media (max-width: 1100px) {
  .reviews {
    grid-auto-columns: 270px;
    align-items: start;
    padding-bottom: 0.9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
  }

  /* Chrome, Edge, Safari : barre sur mesure, sans les flèches de Windows.
     Les propriétés standard plus bas la désactiveraient : elles sont
     réservées aux navigateurs sans ::-webkit-scrollbar (Firefox). */
  .reviews::-webkit-scrollbar {
    height: 6px;
  }

  .reviews::-webkit-scrollbar-button {
    display: none;
  }

  .reviews::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--color-accent) 10%, transparent);
    border-radius: var(--radius-full);
  }

  .reviews::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--color-accent) 45%, transparent);
    border-radius: var(--radius-full);
  }

  @supports not selector(::-webkit-scrollbar) {
    .reviews {
      scrollbar-width: thin;
      scrollbar-color: color-mix(in srgb, var(--color-accent) 45%, transparent)
                       color-mix(in srgb, var(--color-accent) 10%, transparent);
    }
  }
}

@media (max-width: 560px) {
  .reviews {
    grid-auto-columns: 84%;
  }
}

.review {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0;
  padding: 1.25rem 1.2rem;
  scroll-snap-align: start;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

/* Texte coupé à 6 lignes. Il ne s'étire pas avec la carte (sinon une
   7e ligne apparaît à moitié) : c'est l'auteur qui descend en bas. */
.review__text {
  display: -webkit-box;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Carte dépliée : copie de la carte, texte entier, posée par-dessus à
   partir du même coin et qui s'allonge vers le bas sans rien décaler. */
.review--long {
  position: relative;
  cursor: default;
}

.review__full,
.review__more {
  display: none;
}

@media (max-width: 1100px) {
  .review__more {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.35rem;
    margin-top: -0.5rem;
    padding: 0;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: 0;
    cursor: pointer;
  }

  /* Le bouton suit le texte, l'auteur reste en bas de la carte */
  .review__author {
    order: 3;
  }

  .review__more {
    order: 2;
  }

  .review.is-open .review__text {
    display: block;
    overflow: visible;
  }
}

@media (min-width: 1101px) {
  .review__full {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: calc(100% + 2px);
    padding: inherit;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 36px var(--color-shadow), 0 4px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .review__full .review__text {
    display: block;
    overflow: visible;
  }

  .review--long:hover .review__full,
  .review--long:focus-visible .review__full {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .review--long:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
  }
}

.review__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-accent);
}

/* Initiale à la place de la photo de profil : aucune image de Google */
.review__avatar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
  color: var(--color-text-inverse-strong);
  background-color: var(--color-cat-producer);
  border-radius: var(--radius-full);
}

.review__when {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Conseil et commande à distance, en attendant la boutique en ligne ------- */

.order-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 1.75rem;
  max-width: 920px;
  margin: 3rem auto 0;
  padding: 1.75rem 2rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
}

.order-help__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 1.4rem;
  color: var(--color-accent);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.order-help__body {
  flex: 1 1 320px;
}

.order-help__title {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  color: var(--color-accent);
}

.order-help__body p {
  margin: 0;
  font-size: 1rem;
}

.order-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .order-help {
    flex-direction: column;
    text-align: center;
  }

  .order-help__body {
    flex-basis: auto;
  }

  .order-help__actions {
    justify-content: center;
  }
}

/* Renvoi vers une autre page, en fin de section --------------------------- */

.crossref {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.crossref:hover {
  box-shadow: 0 10px 22px var(--color-shadow);
}

.crossref__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 1.4rem;
  color: var(--color-accent);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.crossref__body {
  flex: 1;
}

.crossref__title {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  color: var(--color-accent);
}

.crossref__body p {
  margin: 0;
  font-size: 1rem;
}

.crossref .btn {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .crossref {
    flex-direction: column;
    gap: 1.2rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }
}

/* Bandeau d'appel sur photo ----------------------------------------------- */

/* Même voile que les héros : vert foncé dense en haut, derrière le titre,
   vert feuillage en transparence vers le bas pour laisser voir la photo. */
.callout {
  text-align: center;
  color: var(--color-text-inverse);
  background-color: var(--color-overlay-start);
  background-image:
    linear-gradient(
      color-mix(in srgb, var(--color-overlay-start) 90%, transparent),
      color-mix(in srgb, var(--color-overlay-end) 85%, transparent)
    ),
    url("../img/interieur_2-900.webp");
  background-size: cover;
  background-position: center;
}

.callout .section__title {
  font-size: 2.2rem;
  color: var(--color-text-inverse-strong);
}

.callout p {
  max-width: 58ch;
  margin: 0 auto 2rem;
}

.callout .divider {
  background-color: var(--color-text-inverse);
}

@media (min-width: 769px) {
  .callout {
    background-image:
      linear-gradient(
        color-mix(in srgb, var(--color-overlay-start) 90%, transparent),
        color-mix(in srgb, var(--color-overlay-end) 85%, transparent)
      ),
      url("../img/interieur_2.webp");
  }
}

/* État vide : aucune donnée à afficher ------------------------------------ */

.empty-state {
  max-width: 620px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--color-bg);
  border: 1px dashed var(--color-border-dashed);
  border-radius: var(--radius-lg);
}

.empty-state > .icon {
  display: block;
  margin: 0 auto 1.2rem;
  font-size: 2.4rem;
  color: var(--color-accent);
  opacity: 0.6;
}

.empty-state h3 {
  margin-bottom: 0.7rem;
  font-size: var(--text-h3);
  color: var(--color-accent);
}

.empty-state p {
  margin-bottom: 1.8rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .empty-state {
    padding: 2.5rem 1.5rem;
  }
}

/* Accordéon (details/summary natifs, sans JS) ----------------------------- */

.accordions {
  max-width: 820px;
  margin: 0 auto;
}

.accordion {
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.accordion__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.5rem;
  list-style: none;
  cursor: pointer;
  transition: var(--transition);
}

/* Masque le triangle par défaut de Safari */
.accordion__head::-webkit-details-marker {
  display: none;
}

.accordion__head:hover {
  background-color: var(--color-tint);
}

.accordion__title {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
}

.accordion__chevron {
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.accordion[open] .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__body {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.accordion__intro {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-muted);
}


/* ==========================================================================
   9. Composants propres à une page
   ========================================================================== */

/* Accueil — ouverture ------------------------------------------------------
   Au chargement, la devanture émerge de la pénombre en se rapprochant. En
   mode fixe, le titre s'écrit en même temps de gauche à droite, comme à
   l'encre ; pendant le trajet, il s'écrit à l'arrivée dans la boutique. */

@media (prefers-reduced-motion: no-preference) {
  .hero__bg--outside {
    animation: hero-emerge 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero:not(.hero--journey) .hero__title {
    animation: hero-ink 1.6s 0.3s cubic-bezier(0.65, 0, 0.35, 1) both;
  }
}

@keyframes hero-emerge {
  from {
    scale: 1.08;
    filter: brightness(0.35) saturate(0.5);
  }

  to {
    scale: 1;
    filter: none;
  }
}

/* Débord négatif : les paraphes de la calligraphie dépassent de la boîte */
@keyframes hero-ink {
  from {
    clip-path: inset(-0.4em 100% -0.4em -0.4em);
  }

  to {
    clip-path: inset(-0.4em -0.4em -0.4em -0.4em);
  }
}

/* Accueil — entrer dans la boutique ----------------------------------------
   La scène reste épinglée sous la navigation pendant que la page défile sur
   la hauteur de .hero--journey. heroJourney() traduit ce défilement en
   variables :
     --outside-scale  : on s'approche de la mandragore peinte sur la vitrine ;
     --outside-veil   : le voile s'épaissit à mesure qu'on la traverse ;
     --inside-opacity : l'intérieur apparaît à travers ;
     --inside-scale   : la caméra recule depuis l'affiche de la mandragore
                        jusqu'au comptoir à tiroirs ;
     --cue-opacity    : l'invite « Poussez la porte » s'efface.
   Le titre et la présentation s'écrivent à l'arrivée (.is-inside) ; les
   boutons et le téléphone restent visibles tout du long. */

/* Hauteur du trajet : 205vh, soit un écran de défilement environ pour
   entrer dans la boutique (un tiers de moins qu'au départ). Plus long, on se
   perd avant d'arriver au contenu. */
.hero--journey {
  height: 205vh;
}

/* La scène occupe l'écran sous la barre de navigation, qui reste opaque :
   la photo est vue en entier, sans rien posé dessus. */
.hero--journey .hero__stage {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  height: calc(100svh - var(--nav-height));
  min-height: 0;
}

.hero--journey .hero__stage {
  container-type: size;
}

.hero--journey .hero__bg--outside {
  /* Cadrage haut pour garder l'enseigne entière (voir plus haut). Le zoom
     vise la mandragore peinte sur la vitrine, à 52 % × 40 % de la photo :
     avec un cadrage différent de 40 %, sa place dans la scène dépend des
     proportions de l'écran. On la recalcule : la photo (3:2) couvre la
     scène, sa hauteur affichée est donc max(100cqh, 100cqw × 2/3), et le
     cadrage à 15 % en masse 15 % du débord. */
  --photo-h: max(100cqh, 100cqw * 2 / 3);
  background-position: 52% 15%;
  transform-origin: 52% calc(0.4 * var(--photo-h) - 0.15 * (var(--photo-h) - 100cqh));
  transform: scale(var(--outside-scale, 1));
}

.hero--journey .hero__bg--outside::after {
  opacity: var(--outside-veil, 0.35);
}

.hero--journey .hero__bg--inside {
  display: block;
  /* l'affiche de la mandragore, au mur */
  transform-origin: 85% 33%;
  transform: scale(var(--inside-scale, 2.6));
  opacity: var(--inside-opacity, 0);
}

.hero--journey .hero__panel {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero--journey.is-inside .hero__panel {
  opacity: 1;
}

.hero--journey.is-inside .hero__title {
  animation: hero-ink 1.4s cubic-bezier(0.65, 0, 0.35, 1) both;
}

/* Le contenu occupe toute la hauteur de la scène : les boutons peuvent ainsi
   s'ancrer en bas pendant le trajet. */
.hero--journey .hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

/* En colonne flexible, l'encadré s'étirerait sur toute la largeur */
.hero--journey .hero__panel {
  align-self: flex-start;
}

/* Pendant le trajet, les boutons encadrent la devanture en bas de l'écran,
   « Nous trouver » à gauche, le téléphone à droite. À l'arrivée (.is-inside),
   ils reprennent leur place sous le texte ; heroJourney() anime le passage. */
.hero--journey:not(.is-inside) .actions {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  justify-content: space-between;
}

/* Au départ, le voile est léger : ce qui est posé sur la photo reçoit un
   fond translucide pour rester lisible sur les inscriptions de la vitrine. */
.hero--journey .btn--light-outline {
  background-color: color-mix(in srgb, var(--color-overlay-start) 60%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* L'invite à défiler : pastille claire au centre, qui palpite doucement pour
   signaler qu'il faut descendre pour entrer. */
.hero--journey .hero__cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.6rem 1.6rem 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  background-color: var(--color-text-inverse-strong);
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  opacity: var(--cue-opacity, 1);
  translate: -50% 0;
  animation: hero-cue-pulse 2.4s ease-out infinite;
}

.hero--journey .hero__cue .icon {
  font-size: 1.2em;
  animation: hero-cue 1.8s ease-in-out infinite;
}

@keyframes hero-cue {
  50% {
    translate: 0 5px;
  }
}

@keyframes hero-cue-pulse {
  0% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.35),
      0 0 0 0 color-mix(in srgb, var(--color-text-inverse-strong) 70%, transparent);
  }

  70%,
  100% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.35),
      0 0 0 16px transparent;
  }
}

@media (max-width: 768px) {
  .hero--journey {
    height: 180vh;
  }
}

@media (max-width: 900px) {
  .hero--journey .hero__panel {
    align-self: center;
  }
}

/* Trop étroit pour trois éléments sur une ligne : l'invite passe au-dessus
   des boutons, resserrés pour tenir côte à côte. */
@media (max-width: 600px) {
  .hero--journey .hero__cue {
    bottom: 5rem;
    font-size: 1rem;
  }

  .hero--journey:not(.is-inside) .actions {
    right: 1rem;
    left: 1rem;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .hero--journey:not(.is-inside) .actions .btn {
    padding: 0.6rem 0.9rem;
  }
}

/* Petits téléphones : boutons et invite restent chacun sur une ligne,
   sinon ils doublent de hauteur et se chevauchent. */
@media (max-width: 380px) {
  .hero--journey:not(.is-inside) .actions .btn {
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero--journey .hero__cue {
    padding: 0.5rem 1.2rem 0.4rem;
    white-space: nowrap;
  }
}

/* Accueil — plante de la marge ---------------------------------------------
   Dessinée par main.js (growVine) dans la marge gauche des grands écrans : la
   tige pousse au fil du défilement, déploie des feuilles à hauteur de chaque
   titre et fleurit sur « Nous trouver ». Purement décorative. */

.home {
  position: relative;
}

.vine {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
  pointer-events: none;
}

.vine__stem {
  fill: none;
  stroke: var(--color-vine);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: var(--vine-length);
  stroke-dashoffset: var(--vine-offset, var(--vine-length));
  opacity: 0.75;
  transition: stroke-dashoffset 0.25s linear;
}

/* Feuilles et fleur : chacune s'ouvre depuis son point d'attache sur la tige */
.vine__leaf,
.vine__bloom {
  transform: scale(0);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vine__leaf {
  fill: var(--color-vine-leaf);
  opacity: 0.85;
}

.vine__bloom {
  transition-duration: 1.1s;
}

.vine__petal {
  fill: var(--color-bg);
  stroke: var(--color-vine-bloom);
  stroke-width: 1.2;
}

.vine__heart {
  fill: var(--color-vine-bloom);
}

.is-grown {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .vine__stem,
  .vine__leaf,
  .vine__bloom {
    transition: none;
  }
}

/* Accueil — infos pratiques ----------------------------------------------- */

.info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
}

.info__list {
  flex: 1 1 320px;
  list-style: none;
}

.info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.info__item:last-child {
  border-bottom: none;
}

.info__item .icon {
  width: 1.6rem;
  margin-top: 0.35rem;
  font-size: 1.2rem;
  color: var(--color-accent);
}

.info__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.info__value {
  display: block;
  font-size: 1.05rem;
}

.info__value a {
  color: var(--color-text);
}

.info__map-wrap {
  flex: 1 1 380px;
}

.info__map {
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.info__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.info__map-links {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  text-align: right;
}

.info__map-links span {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* Liens soulignés d'un filet discret, qui se colore au survol */
.info__value a,
.info__map-links a,
.error-page__links a {
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.info__value a:hover,
.info__map-links a:hover,
.error-page__links a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .info {
    gap: 2rem;
  }
}

/* Ateliers ---------------------------------------------------------------- */

.workshop {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  padding: 1.75rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.workshop:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 12px 28px var(--color-shadow);
}

.workshop__date {
  display: flex;
  flex: 0 0 84px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0;
  color: var(--color-text-inverse);
  background-color: var(--color-accent);
  border-radius: var(--radius-md);
}

.workshop__day {
  font-size: 2rem;
  line-height: 1;
}

.workshop__month {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.workshop__title {
  margin-bottom: 0.75rem;
  font-size: var(--text-h3);
  color: var(--color-accent);
}

.workshop__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  list-style: none;
}

.workshop__meta .icon {
  margin-right: 0.4rem;
  color: var(--color-accent);
}

.workshop__body p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .workshop {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
  }

  .workshop__date {
    flex: 0 0 auto;
    flex-direction: row;
    align-self: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }

  .workshop__day {
    font-size: 1.5rem;
  }
}

/* Fournisseurs — pastilles de catégorie ----------------------------------- */

.dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.dot--producer {
  background-color: var(--color-cat-producer);
}

.dot--wholesaler {
  background-color: var(--color-cat-wholesaler);
}

.dot--lab {
  background-color: var(--color-cat-lab);
}

/* La boutique : plus grosse, avec un halo, d'une couleur qu'aucune
   catégorie n'emploie pour ressortir parmi les producteurs voisins */
.dot--shop {
  width: 13px;
  height: 13px;
  background-color: var(--color-shop);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-shop) 25%, transparent);
}

/* Fournisseurs — carte de France ------------------------------------------ */

.map {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 4rem;
}

.map__svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.map__france {
  fill: color-mix(in srgb, var(--color-cat-producer) 12%, transparent);
  stroke: var(--color-cat-producer);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.map__pin {
  stroke: var(--color-surface);
  stroke-width: 1.5;
}

.map__pin--producer {
  fill: var(--color-cat-producer);
}

.map__pin--wholesaler {
  fill: var(--color-cat-wholesaler);
}

.map__pin--lab {
  fill: var(--color-cat-lab);
}

.map__pin--shop {
  fill: var(--color-shop);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--color-shop) 70%, transparent));
}

.map__legend {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  list-style: none;
}

.map__legend li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
}

/* Fournisseurs — liste dans les accordéons -------------------------------- */

.supplier-list {
  list-style: none;
}

.supplier-list li {
  padding: 0.45rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--color-border);
}

.supplier-list li:last-child {
  border-bottom: none;
}

/* Commune - département, à la suite du nom */
.supplier-list__place {
  font-size: 0.95rem;
  color: var(--color-text-subtle);
}

.supplier-list__todo {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-subtle);
}

/* Contact — mise en page -------------------------------------------------- */

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
}

.contact__aside {
  flex: 1 1 320px;
}

.contact__photo {
  margin-top: 2rem;
}

.contact__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px var(--color-shadow);
}

.contact__photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
  color: var(--color-text-muted);
}

.contact__form {
  flex: 1 1 460px;
  padding: 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact .section__title {
  margin-bottom: 1.5rem;
}

/* Mention RGPD sous le bouton d'envoi */
.contact__notice {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .contact {
    gap: 2.5rem;
  }

  .contact__form {
    padding: 1.5rem;
  }
}

/* Contact — champs de formulaire ------------------------------------------ */

.field {
  margin-bottom: 1.25rem;
}

/* Plusieurs champs sur une ligne, qui passent les uns sous les autres */
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.field-row .field {
  flex: 1 1 200px;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
}

.field__required {
  color: var(--color-accent);
}

.field__optional {
  font-size: 0.9em;
  font-weight: 400;
  color: var(--color-text-subtle);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.field textarea {
  min-height: 150px;
  line-height: 1.6;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-border);
}

.field [aria-invalid="true"] {
  background-color: color-mix(in srgb, var(--color-danger) 4%, transparent);
  border-color: var(--color-danger);
}

.field__help {
  margin: -0.15rem 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.field__error {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-danger);
}

/* Piège à robots : masqué sans display:none, que certains robots détectent */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact — messages de retour -------------------------------------------- */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
}

.alert .icon {
  margin-top: 0.15rem;
  font-size: 1.4rem;
}

.alert h2 {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
}

.alert p {
  margin: 0;
  font-size: 1rem;
}

.alert--success {
  background-color: color-mix(in srgb, var(--color-success) 12%, transparent);
  border: 1px solid var(--color-success);
}

.alert--success .icon,
.alert--success h2 {
  color: var(--color-success);
}

.alert--error {
  background-color: color-mix(in srgb, var(--color-danger) 6%, transparent);
  border: 1px solid var(--color-danger);
}

.alert--error .icon {
  color: var(--color-danger);
}

/* Pages légales ----------------------------------------------------------- */

/* Les h2 se succèdent sans section intermédiaire : il leur faut de l'air */
.prose h2 + p,
.prose h2 + dl {
  margin-top: 0;
}

.prose p + h2,
.prose dl + h2 {
  margin-top: 2.5rem;
}

.prose dl + p,
.prose p + dl,
.prose p + .legal__subtitle {
  margin-top: 1.5rem;
}

.legal__bullets {
  margin-top: 0.75rem;
  padding-left: 1.5rem;
}

.legal__bullets li + li {
  margin-top: 0.2rem;
}

.prose ul + h2 {
  margin-top: 2.5rem;
}

.legal__subtitle {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  color: var(--color-accent);
}

.legal__list dt {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.legal__list dt:first-child {
  margin-top: 0;
}

.legal__list dd {
  margin-left: 0;
  padding-top: 0.2rem;
}

/* Pages d'erreur ---------------------------------------------------------- */

.error-page {
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.error-page__code {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.25;
}

/* Le pot « ALOES » : clin d'œil au bocal dont la page a disparu */
.error-page__photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--color-surface);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 24px var(--color-shadow);
}

.error-page__title {
  margin-bottom: 1rem;
  font-size: var(--text-h2);
  color: var(--color-accent);
}

.error-page__text {
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  /* Même respiration que les autres sections en mobile */
  .error-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .error-page__code {
    font-size: 76px;
  }

  .error-page__links {
    flex-direction: column;
    align-items: center;
  }
}


/* ==========================================================================
   10. Pied de page
   ========================================================================== */

.site-footer {
  padding: 3rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--color-accent);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-line);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}

.site-footer__brand {
  flex: 1 1 100%;
  margin-bottom: 1.5rem;
  text-align: center;
}

.site-footer__brand img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 110px;
  margin: 0 auto 0.8rem;
}

.site-footer__col {
  flex: 1 1 250px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.site-footer__heading {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--color-text);
}

.site-footer__links {
  list-style: none;
}

.site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer__address {
  font-style: normal;
  line-height: 1.8;
}

/* Soulignement qui se déroule au survol */
.site-footer__address a,
.site-footer__links a {
  text-decoration: none;
  color: var(--color-accent);
  background-image: linear-gradient(var(--color-line), var(--color-line));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.3s, color 0.3s;
}

.site-footer__address a:hover,
.site-footer__links a:hover {
  color: var(--color-text);
  background-size: 100% 2px;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.site-footer__social a {
  font-size: 1.8rem;
  color: var(--color-accent);
  transition: color 0.3s;
}

.site-footer__social a:hover {
  color: var(--color-text);
}

.site-footer__bottom {
  padding-top: 1rem;
  text-align: center;
}

.site-footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text);
}

.site-footer__bottom .site-footer__credit {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .site-footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* ==========================================================================
   11. Utilitaires
   ========================================================================== */

.u-text-center {
  text-align: center;
}

.u-mt-lg {
  margin-top: 2rem;
}
