/* ==========================================================================
   MÂ MARTHA — Feuille de style principale
   1. Design system (variables)
   2. Base & accessibilité
   3. Conteneurs & rythme vertical
   4. Typographie
   5. Boutons & liens
   6. En-tête / navigation / menu mobile
   7. Emplacements média (images + placeholders)
   8. Composants (cartes, grilles, bandeaux)
   9. Formulaires
  10. Pied de page
  11. Utilitaires & animations
  12. Responsive
   ========================================================================== */

/* ==========================================================================
   1. DESIGN SYSTEM
   ========================================================================== */

:root {
/* --- Couleurs de marque — identité « Jardin des origines » --- */
  --forest:        #122f28;   /* vert profond : fond de page */
  --forest-deep:   #0d241e;   /* fonds les plus sombres */
  --forest-mid:    #19392f;   /* sections sombres alternées */
  --forest-soft:   #213e30;   /* boutons pleins sur fond clair */

  --espresso:      #0d241e;   /* alias historique → vert le plus sombre */
  --cacao:         #122f28;   /* alias historique → vert forêt */
  --bark:          #21362a;   /* texte fort sur fond clair */
  --ink:           #21362a;   /* texte courant sur fond clair */
  --ink-soft:      #5c513f;   /* texte secondaire (brun doux) */
  --ink-muted:     #655845;   /* mentions, légendes */

  --parchment:     #f6f2e8;   /* parchemin : sections claires */
  --paper:         #122f28;   /* fond de page (vert forêt) */
  --cream:         #f6f2e8;   /* section claire */
  --ivory:         #fffaf1;   /* surfaces (cartes, formulaire) */
  --line:          #d5c9b2;   /* filets sur fond clair */
  --line-dark:     rgba(246, 242, 232, .27);  /* filets sur fond vert */

  --sun:           #d8b27c;   /* accent chaud principal (Sable Doré) */
  --sand:          #d8b27c;   /* alias */
  --gold:          #d9a441;   /* accent doré */
  --amber:         #d9af76;   /* bandeau d'invitation */
  --brass:         #785331;   /* italiques & liens sur fond clair */
  --brass-soft:    #806036;

  /* --- Couleurs des collections (charte Les Saisons de Mâ Martha) --- */
  --harmattan:     #e67e3d;   /* Orange Mandarine */
  --harmattan-600: #b8571f;   /* grands titres */
  --harmattan-700: #8f4315;   /* texte courant et liens */
  --harmattan-2:   #f6f2e8;   /* Ivoire Harmattan */
  --harmattan-3:   #d8b27c;   /* Sable Doré */

  --emergence:     #d9a441;   /* Or Mangue */
  --emergence-2:   #e8b04a;   /* Mangue Mûre */
  --emergence-3:   #5a4030;   /* Brun Penja */

  --lumiere:       #f2c230;   /* Soleil Tropical */
  --lumiere-2:     #f4d65a;   /* Jaune Passion */
  --lumiere-3:     #e1b84a;   /* Doré Lumineux */

  --abondance:     #2f5d3a;   /* Vert Forêt */
  --abondance-2:   #476c46;   /* Vert Canopée */
  --abondance-3:   #8a7a5d;   /* Métal Vieilli */

    /* --- Typographie --- */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, "Times New Roman", serif;
  --sans:  Inter, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --fs-display: clamp(3.6rem, 7.6vw, 8.6rem);
  --fs-h1:      clamp(3rem, 6.2vw, 6.6rem);
  --fs-h2:      clamp(2.6rem, 4.7vw, 5rem);
  --fs-h3:      clamp(1.4rem, 1.9vw, 1.95rem);
  --fs-lead:    clamp(1.02rem, 1.15vw, 1.22rem);
  --fs-body:    clamp(.98rem, .95vw, 1.05rem);
  --fs-small:   .875rem;
  --fs-eyebrow: .75rem;

  /* --- Espacements --- */
  --sp-1: .35rem;
  --sp-2: .7rem;
  --sp-3: 1.1rem;
  --sp-4: 1.6rem;
  --sp-5: 2.4rem;
  --sp-6: 3.4rem;
  --sp-7: clamp(3.5rem, 7vw, 7rem);   /* rythme des sections */
  --sp-8: clamp(5rem, 9vw, 9rem);

  /* --- Conteneurs --- */
  --page-max:   1600px;   /* largeur utile maximale (grands écrans) */
  --text-max:   68ch;
  --gutter:     clamp(1.15rem, 4vw, 4.5rem);

  /* --- Rayons, ombres, transitions --- */
  --r-sm: 2px;
  --r-md: 0px;
  --r-lg: 0px;
  --r-pill: 999px;

  --sh-1: 0 2px 10px rgba(8, 29, 23, .08);
  --sh-2: 0 16px 35px rgba(6, 24, 19, .2);
  --sh-3: 0 28px 70px rgba(6, 24, 19, .3);

  --tr-fast: .18s cubic-bezier(.3, .7, .3, 1);
  --tr:      .3s cubic-bezier(.3, .7, .3, 1);
  --tr-slow: .6s cubic-bezier(.2, .7, .2, 1);

  --header-h: 92px;
}

/* ==========================================================================
   2. BASE & ACCESSIBILITÉ
   ========================================================================== */

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--forest);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
  border-radius: 2px;
}

::selection { background: var(--sun); color: var(--forest); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 200;
  padding: .85rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--espresso);
  color: var(--ivory);
  font-size: var(--fs-small);
  font-weight: 700;
  transition: top var(--tr);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   3. CONTENEURS & RYTHME VERTICAL
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 1120px; }

.section { padding-block: var(--sp-7); }
.section--tight { padding-block: clamp(2.6rem, 5vw, 5rem); }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--cacao); color: var(--ivory); }
.section--espresso { background: var(--espresso); color: var(--ivory); }

.section--dark p,
.section--espresso p { color: rgba(255, 250, 240, .76); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 4vw, 3.8rem);
}
.section-head > * { min-width: 0; }
.section-head .lead { margin-top: 0; }

.section-head--center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.section-head--center .lead { max-width: 58ch; }

/* Filet décoratif discret */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}
.section--dark .rule,
.section--espresso .rule { background: rgba(255, 250, 240, .18); }

/* ==========================================================================
   4. TYPOGRAPHIE
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  flex: 0 0 auto;
  background: var(--sand);
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow,
.section--espresso .eyebrow { color: var(--sand); }
.section--dark .eyebrow::before,
.section--espresso .eyebrow::before { background: var(--sand); }

.display,
.title-xl {
  font-family: var(--serif);
  font-size: var(--fs-display);
  line-height: .95;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.title-lg {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.title {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.title-sm {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 500;
}
.display em, .title-xl em, .title-lg em, .title em {
  font-style: italic;
  color: var(--harmattan-600);
}
.section--dark .display em,
.section--dark .title em,
.section--espresso .title em,
.section--espresso .title-lg em { color: var(--sand); }

.lead {
  max-width: var(--text-max);
  margin-top: var(--sp-4);
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--ink-soft);
}
.section--dark .lead,
.section--espresso .lead { color: rgba(255, 250, 240, .78); }

.prose > * + * { margin-top: var(--sp-3); }
.prose p { max-width: var(--text-max); }

.quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.9vw, 2.9rem);
  line-height: 1.24;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: var(--sp-3);
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-style: normal;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section--dark .quote cite,
.section--espresso .quote cite { color: var(--sand); }

/* Listes à puces de marque */
.ticks { list-style: none; display: grid; gap: var(--sp-2); }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .85rem;
  height: .45rem;
  border-left: 2px solid var(--sand);
  border-bottom: 2px solid var(--sand);
  transform: rotate(-45deg);
}

.dots { list-style: none; display: grid; gap: var(--sp-2); }
.dots li { position: relative; padding-left: 1.4rem; }
.dots li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sand);
}

/* ==========================================================================
   5. BOUTONS & LIENS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .85rem 1.55rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--cacao);
  color: var(--ivory);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast),
              border-color var(--tr-fast), transform var(--tr-fast),
              box-shadow var(--tr-fast);
}
.btn .arrow { transition: transform var(--tr-fast); }
.btn:hover { background: var(--espresso); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--sand); color: var(--espresso); }
.btn--gold:hover { background: var(--gold); }

.btn--light { background: var(--ivory); color: var(--espresso); }
.btn--light:hover { background: #fff; }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover { background: var(--cacao); border-color: var(--cacao); color: var(--ivory); }
.section--dark .btn--ghost:hover,
.section--espresso .btn--ghost:hover { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-5);
}
.btn-row--center { justify-content: center; }

.link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .1rem;
  transition: gap var(--tr-fast), color var(--tr-fast);
}
.link:hover { gap: .85rem; color: var(--harmattan-700); }
.section--dark .link:hover,
.section--espresso .link:hover { color: var(--sand); }

/* Lien texte dans un paragraphe : jamais confondu avec du texte normal */
.prose a:not(.btn):not(.link),
.rich a:not(.btn):not(.link) {
  color: var(--harmattan-700);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}
.prose a:not(.btn):not(.link):hover,
.rich a:not(.btn):not(.link):hover { color: var(--cacao); }

/* ==========================================================================
   6. EN-TÊTE / NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--tr), background var(--tr);
}
.site-header.is-stuck { box-shadow: var(--sh-1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  position: relative;
  z-index: 110;
  flex: 0 0 auto;          /* le bloc de marque ne se comprime jamais */
  padding: .35rem 0;
}
.brand-logo {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}
.brand-logo img,
.brand-logo .brand-mark {
  display: block;
  display: block;
    width: auto;
    height: 62px;
    max-width: 200px;
    object-fit: contain;

    /* Garde les couleurs originales */
    filter: none;
    opacity: 1;
}
/* Monogramme de secours tant que le fichier logo n'est pas déposé. */
.brand-logo .brand-mark { display: none; }
.brand-logo.is-missing img {
   display: none;
   filter: none;
   opacity: 1;
  }
.brand-logo.is-missing .brand-mark { display: block; }
.brand-text { display: grid; gap: .1rem; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--bark);
}
.brand-tag {
  display: none;            /* affichée à partir de 1600 px (cf. responsive) */
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
}
.site-footer .brand-tag { display: block; white-space: normal; }

/* Navigation principale (desktop) */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 1.5vw, 1.75rem);
}
.site-nav a {
  position: relative;
  padding: .55rem 0;
  font-size: .745rem;
  font-weight: 750;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--bark);
  white-space: nowrap;
  transition: color var(--tr-fast);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1.5px;
  background: var(--harmattan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--tr);
}
.site-nav a:hover { color: var(--harmattan-700); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { color: var(--harmattan-700); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav .nav-cta {
  padding: .7rem 1.15rem;
  border: 1px solid var(--cacao);
  border-radius: var(--r-pill);
  background: var(--cacao);
  color: var(--ivory);
  transition: background var(--tr-fast), color var(--tr-fast);
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--harmattan-700); border-color: var(--harmattan-700); color: var(--ivory); }
.site-nav .nav-cta[aria-current="page"] { background: var(--harmattan-700); border-color: var(--harmattan-700); color: var(--ivory); }

/* --- Bouton hamburger : fond propre, contraste garanti sur fond clair --- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  min-width: 48px;
  padding: .6rem .9rem;
  border: 1px solid var(--bark);
  border-radius: var(--r-pill);
  background: var(--cacao);
  color: var(--ivory);
  box-shadow: var(--sh-1);
  cursor: pointer;
  transition: background var(--tr-fast), transform var(--tr-fast), box-shadow var(--tr-fast);
}
.nav-toggle:hover { background: var(--harmattan); border-color: var(--harmattan); box-shadow: var(--sh-2); }
.nav-toggle:active { transform: scale(.97); }
.nav-toggle[aria-expanded="true"] { background: var(--harmattan); border-color: var(--harmattan); }

.nav-toggle-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-toggle-bars {
  display: grid;
  gap: 5px;
  width: 20px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--tr), opacity var(--tr-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Panneau mobile --- */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
  background: var(--espresso);
  color: var(--ivory);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--tr), transform var(--tr);
}
.nav-panel.is-open { opacity: 1; transform: none; }

.nav-panel-list {
  list-style: none;
  display: grid;
  gap: .1rem;
  border-top: 1px solid rgba(255, 250, 240, .16);
}
.nav-panel-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 250, 240, .16);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.15;
  transition: color var(--tr-fast), padding-left var(--tr-fast);
}
.nav-panel-list a:hover,
.nav-panel-list a:focus-visible { color: var(--sand); padding-left: .4rem; }
.nav-panel-list a[aria-current="page"] { color: var(--sand); }
.nav-panel-list a span {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(255, 250, 240, .4);
}

.nav-panel-foot {
  margin-top: auto;
  padding-top: var(--sp-5);
  display: grid;
  gap: var(--sp-2);
}
.nav-panel-foot .btn { width: 100%; }
.nav-panel-foot p {
  color: rgba(255, 250, 240, .55);
  font-size: var(--fs-small);
}
.nav-panel-foot a:not(.btn) { color: var(--sand); text-decoration: underline; text-underline-offset: .2em; }

/* ==========================================================================
   7. EMPLACEMENTS MÉDIA
   Chaque image vit dans un conteneur au ratio fixé : aucune déformation,
   aucun saut de mise en page. Si le fichier n'est pas encore fourni,
   l'emplacement affiche une étiquette claire (data-media).
   ========================================================================== */

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #efe6d5, #e4d8c1);
  border-radius: var(--r-md);
  isolation: isolate;
}
.media{
  display: flex;
  align-items: center;
  justify-content: center;
}
.media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform var(--tr-slow);
}
.media--square  { aspect-ratio: 1; }
.media--portrait{ aspect-ratio: 3 / 4; }
.media--photo   { aspect-ratio: 4 / 3; }
.media--photo1   {aspect-ratio: 4 / 4;}
.media--photo0   {aspect-ratio: 4 / 5;}
.media--photo2    {aspect-ratio: 5 / 5;}
.media--wide    { aspect-ratio: 16 / 10; }
.media--pano    { aspect-ratio: 21 / 9; }
.media--round   { border-radius: var(--r-lg); }

/* Étiquette d'emplacement, visible tant que le visuel n'est pas fourni */
.media[data-media]::after {
  content: attr(data-media);
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-content: center;
  padding: 1.5rem;
  text-align: center;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.7;
  color: #7a6246;
  background:
    repeating-linear-gradient(45deg, rgba(216,178,124,.16) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #f2eade, #e7dcc7);
  border: 1px dashed #c3ad88;
  border-radius: inherit;
}
.media.is-missing::after { display: grid; }
.media.is-missing img { visibility: hidden; }

/* Légende sobre */
.media-caption {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
}
.section--dark .media-caption,
.section--espresso .media-caption { color: rgba(255, 250, 240, .6); }

/* ==========================================================================
   8. COMPOSANTS
   ========================================================================== */

/* --- Grilles --- */
.grid { display: grid; gap: clamp(1rem, 1.8vw, 1.85rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid--auto-lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); }

/* --- Carte générique --- */
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #d5c6ad; }
.card:hover .media img { transform: scale(1.04); }
.card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: clamp(1.25rem, 2vw, 1.85rem);
  flex: 1;
}
.card-body p { color: var(--ink-soft); }
.card-body .link, .card-body .btn { margin-top: auto; align-self: flex-start; }
.card .media { border-radius: 0; }


/* Étiquette de collection */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--tag-color, var(--sand)) 16%, transparent);
  color: color-mix(in srgb, var(--tag-color, var(--sand)) 50%, var(--espresso));
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tag-color, var(--sand));
}

/* --- Carte produit (créations fruitières) --- */
.creation {
  --tag-color: var(--sand);
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}
.creation:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.creation:hover .media img { transform: scale(1.05); }
.creation .media { border-radius: 0; background: color-mix(in srgb, var(--tag-color) 12%, #efe6d5); }
.creation-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: clamp(1.4rem, 2.2vw, 2.1rem);
  flex: 1;
}
.creation-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.creation-pairing {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .04em;
  color: color-mix(in srgb, var(--tag-color) 50%, var(--espresso));
}
.creation-story { color: var(--ink-soft); }
.creation-actions { margin-top: auto; padding-top: var(--sp-3); }

/* Panneau dépliant « En savoir plus » */
.creation-detail {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
html.js .creation-detail[hidden] { display: none; }
.creation-detail h4 {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .4rem;
}
.creation-detail p, .creation-detail li { font-size: var(--fs-small); color: var(--ink-soft); }
.note {
  padding: .7rem .9rem;
  border-left: 2px solid var(--sand);
  background: color-mix(in srgb, var(--sand) 9%, transparent);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* --- Filtres --- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
}
.filter {
  min-height: 44px;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--ivory);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}
.filter:hover { border-color: var(--sand); color: var(--bark); }
.filter[aria-pressed="true"] {
  background: var(--cacao);
  border-color: var(--cacao);
  color: var(--ivory);
}

/* --- Bandeau éditorial (image + texte) --- */
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: center;
}
.band--reverse .band-media { order: 2; }
.band-copy { min-width: 0; }

/* --- Bandeau de signature --- */
.ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .75rem 1.5rem;
  padding: 1.1rem var(--gutter);
  background: var(--cacao);
  color: var(--ivory);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.ribbon i { color: var(--sand); font-style: normal; }

/* --- En-tête de page interne --- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  background: linear-gradient(180deg, var(--cream), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--sp-3);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.breadcrumb a { border-bottom: 1px solid transparent; transition: border-color var(--tr-fast), color var(--tr-fast); }
.breadcrumb a:hover { color: var(--harmattan-700); border-color: currentColor; }
.breadcrumb [aria-hidden] { opacity: .45; }

/* --- Chiffres / étapes --- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: var(--sp-4) 0 var(--sp-4) clamp(3.2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: var(--sp-4);
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--sand);
}
.section--dark .step, .section--espresso .step { border-color: rgba(255, 250, 240, .16); }

/* --- Bloc statistique / engagement --- */
.stat {
  display: grid;
  gap: .35rem;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ivory);
}
.stat strong {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--harmattan-600);
}
.stat span { font-size: var(--fs-small); color: var(--ink-soft); }

/* --- Appel à l'action de bas de page --- */
.cta {
  display: grid;
  gap: var(--sp-4);
  justify-items: center;
  text-align: center;
  padding-block: var(--sp-8);
  background: var(--espresso);
  color: var(--ivory);
}
.cta .title-lg { max-width: 16ch; }
.cta p { max-width: 54ch; color: rgba(255, 250, 240, .74); }

/* --- Bouton flottant WhatsApp --- */
.float-contact {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--abondance);
  color: var(--ivory);
  box-shadow: var(--sh-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform var(--tr-fast), background var(--tr-fast);
}
.float-contact:hover { transform: translateY(-3px); background: var(--abondance-2); }
.float-contact svg { width: 18px; height: 18px; flex: 0 0 auto; }
body.is-locked .float-contact { visibility: hidden; }

/* ==========================================================================
   9. FORMULAIRES
   ========================================================================== */

.form {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(1.4rem, 3vw, 2.75rem);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
.field { display: grid; gap: .45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label,
.fieldset-legend {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bark);
}
.field .optional {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--ink-soft);
}
.field .required-mark { color: var(--harmattan-700); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b564c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.6rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cdbca2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--harmattan);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--harmattan) 20%, transparent);
  background: #fff;
}
.field .error {
  font-size: var(--fs-small);
  font-weight: 600;
  color: #b3401d;
  min-height: 0;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b3401d; }
.field .hint { font-size: var(--fs-small); color: var(--ink-soft); }

.form-status {
  min-height: 1.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
}
.form-status[data-state="error"] { color: #b3401d; }
.form-status[data-state="ok"] { color: var(--abondance); }

.form-privacy {
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* Transition entre profils particulier / entreprise */
.profile-fields { display: contents; }
html.js .profile-fields[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .field.is-entering { animation: fieldIn .32s ease both; }
}
@keyframes fieldIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Choix segmenté (Particulier / Entreprise) */
.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  padding: 0;
  border: 0;
  margin: 0;
}
.segmented legend { padding: 0; }
.segmented-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.segmented-option { position: relative; }
.segmented-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.segmented-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}
.segmented-option input:hover + span { border-color: var(--sand); }
.segmented-option input:focus-visible + span { outline: 3px solid var(--harmattan); outline-offset: 3px; }
.segmented-option input:checked + span {
  background: var(--cacao);
  border-color: var(--cacao);
  color: var(--ivory);
}

/* ==========================================================================
   10. PIED DE PAGE
   ========================================================================== */

.site-footer {
  background: var(--espresso);
  color: rgba(255, 250, 240, .72);
  padding-block: var(--sp-7) 0;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, .7fr));
  gap: clamp(1.75rem, 3vw, 3.5rem);
  padding-bottom: var(--sp-6);
}
.footer-brand { display: grid; gap: var(--sp-3); align-content: start; }
.footer-brand .brand-name { color: var(--ivory); font-size: 1.5rem; }
.footer-brand .brand-tag { color: var(--sand); }
.footer-brand p { max-width: 34ch; font-size: var(--fs-small); line-height: 1.7; }

.footer-col h3 {
  margin-bottom: var(--sp-3);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 30px;
  font-size: var(--fs-small);
  transition: color var(--tr-fast), padding-left var(--tr-fast);
}
.footer-col a:hover { color: var(--ivory); padding-left: .25rem; }
.footer-col a[aria-current="page"] { color: var(--ivory); }

.footer-pending {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--fs-small);
  color: rgba(255, 250, 240, .42);
  font-style: italic;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
  padding-block: var(--sp-4) calc(var(--sp-4) + 3.5rem);
  border-top: 1px solid rgba(255, 250, 240, .14);
  font-size: .75rem;
  color: rgba(255, 250, 240, .5);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.footer-bottom a:hover { color: var(--ivory); }

/* ==========================================================================
   11. UTILITAIRES & ANIMATIONS
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mb-4 { margin-bottom: var(--sp-4); }
.max-text { max-width: var(--text-max); }

/* Révélation douce au défilement (conservée de la version précédente) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: calc(var(--reveal-order, 0) * 70ms);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */

/* --- Très grands écrans : on cadre, on ne dilate pas --- */
/* La signature de marque n'apparaît dans l'en-tête que si la place le permet. */
@media (min-width: 1600px) {
  .site-header .brand-tag { display: block; }
}

@media (min-width: 1800px) {
  :root { --page-max: 1640px; --gutter: 5rem; }
  .section { padding-block: clamp(6rem, 5.5vw, 8.5rem); }
}
@media (min-width: 2200px) {
  :root { --page-max: 1760px; --fs-body: 1.08rem; }
  .cta { padding-block: 10rem; }
}

/* --- Desktop intermédiaire --- */
@media (max-width: 1280px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Navigation resserrée entre 1081 et 1340 px : tous les liens restent visibles. */
@media (min-width: 1081px) and (max-width: 1340px) {
  .site-nav { gap: .8rem; }
  .site-nav a { font-size: .69rem; letter-spacing: .06em; }
  .site-nav .nav-cta { padding: .65rem .9rem; }
}

/* --- Bascule vers le menu mobile --- */
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-panel { display: flex; }
  .nav-panel[hidden] { display: none; }
  .brand-tag { display: none; }
}

/* --- Tablette --- */
@media (max-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band--reverse .band-media { order: 0; }
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- Mobile --- */
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .ribbon { font-size: .66rem; letter-spacing: .14em; }
  .float-contact span { display: none; }
  .float-contact { padding: .8rem; min-width: 48px; justify-content: center; }
}

/* --- Très petits écrans (320 px) --- */
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .brand img, .brand .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.1rem; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: .7rem; justify-content: center; }
  .segmented-options { grid-template-columns: minmax(0, 1fr); }
}

/* --- Mouvement réduit --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- Impression --- */
@media print {
  .site-header, .nav-panel, .float-contact, .cta, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
}

/* ==========================================================================
   13. HABILLAGE « LE JARDIN DES ORIGINES »
   Reprise fidèle de la direction artistique du site vitrine :
   fond vert forêt, sections parchemin, accent Sable Doré, titres sérif
   très serrés, surfaces à angles nets et boutons rectangulaires.
   ========================================================================== */

/* --- 13.1 Fonds de sections ------------------------------------------- */

.section--cream {
  background: var(--parchment);
  color: var(--ink);
}
.section--ivory {
  background: var(--ivory);
  color: var(--ink);
}
.section--dark {
  background: var(--forest-mid);
  color: var(--parchment);
}
.section--espresso {
  background: var(--forest-deep);
  color: var(--parchment);
}
.section--dark p,
.section--espresso p { color: #c5cbbb; }

.section--cream p,
.section--ivory p { color: var(--ink-soft); }
.section--cream .lead,
.section--ivory .lead { color: var(--ink-soft); }
.section--cream .eyebrow,
.section--ivory .eyebrow { color: var(--brass); }

.rule { background: var(--line-dark); }
.section--cream .rule,
.section--ivory .rule { background: rgba(33, 54, 42, .25); }

/* --- 13.2 Typographie -------------------------------------------------- */

.display, .title-xl { line-height: .93; letter-spacing: -.055em; }
.title-lg { line-height: .97; letter-spacing: -.055em; }
.title { line-height: 1; letter-spacing: -.05em; }
.title-sm { font-weight: 400; letter-spacing: -.025em; }

.display em, .title-xl em, .title-lg em, .title em {
  font-style: normal;
  font-weight: 400;
  color: var(--sun);
}
.section--cream .display em, .section--cream .title-xl em,
.section--cream .title-lg em, .section--cream .title em,
.section--ivory .display em, .section--ivory .title-xl em,
.section--ivory .title-lg em, .section--ivory .title em { color: var(--brass); }

.lead { line-height: 1.68; color: #d4d9c8; }

/* Sur-titre : le filet devient la bande tricolore camerounaise */
.eyebrow {
  gap: .85rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.6;
  color: var(--parchment);
}
.eyebrow::before {
  width: 2.2rem;
  height: 1px;
  border-radius: 0;
  background: var(--sun);
}
.section--dark .eyebrow,
.section--espresso .eyebrow { color: var(--parchment); }
.section--dark .eyebrow::before,
.section--espresso .eyebrow::before { background: var(--sun); }
.section--cream .eyebrow::before,
.section--ivory .eyebrow::before { background: var(--brass); }

.quote { letter-spacing: -.04em; line-height: 1.2; }
.quote cite {
  font-weight: 600;
  letter-spacing: .13em;
  color: var(--sun);
}
.section--cream .quote cite,
.section--ivory .quote cite { color: var(--brass); }

.ticks li::before { border-color: var(--sun); }
.dots li::before { background: var(--sun); }

/* --- 13.3 Boutons & liens --------------------------------------------- */

.btn {
  gap: .6rem;
  justify-content: center;
  min-height: 56px;
  padding: 1.05rem 1.4rem;
  border-radius: 0;
  border: 1px solid var(--sun);
  background: var(--sun);
  color: #172b22;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: none;
  transition: background var(--tr), transform var(--tr), color var(--tr), border-color var(--tr);
}
.btn .arrow { font-size: 1.5rem; line-height: 1; }
.btn:hover {
  background: #f0d3a5;
  border-color: #f0d3a5;
  color: #172b22;
  transform: translateY(-3px);
  box-shadow: none;
}
.btn:hover .arrow { transform: none; }

.btn--gold { background: var(--sun); border-color: var(--sun); color: #172b22; }
.btn--gold:hover { background: #f0d3a5; border-color: #f0d3a5; }

.btn--light { background: var(--parchment); border-color: var(--parchment); color: var(--forest); }
.btn--light:hover { background: #fff; border-color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover { background: var(--forest-soft); border-color: var(--forest-soft); color: var(--parchment); }
.section--dark .btn--ghost:hover,
.section--espresso .btn--ghost:hover { background: var(--parchment); border-color: var(--parchment); color: var(--forest); }

/* Bouton plein vert sur fond parchemin (registre « contact ») */
.section--cream .btn--ghost:hover,
.section--ivory .btn--ghost:hover { background: var(--forest-soft); border-color: var(--forest-soft); color: var(--parchment); }

.link {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  border-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.link:hover { color: var(--sun); }
.section--cream .link:hover,
.section--ivory .link:hover { color: var(--brass); }

.prose a:not(.btn):not(.link),
.rich a:not(.btn):not(.link) { color: var(--sun); }
.section--cream .prose a:not(.btn):not(.link),
.section--cream .rich a:not(.btn):not(.link),
.section--ivory .prose a:not(.btn):not(.link),
.section--ivory .rich a:not(.btn):not(.link) { color: var(--brass); }
.prose a:not(.btn):not(.link):hover,
.rich a:not(.btn):not(.link):hover { color: var(--gold); }

/* --- 13.4 En-tête & navigation ---------------------------------------- */

.site-header {
  background: var(--forest);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line-dark);
  color: var(--parchment);
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(6, 24, 19, .35); }

.brand-name { color: var(--parchment); }
.brand-tag { color: var(--sun); font-weight: 600; letter-spacing: .08em; }
.brand-logo img { filter: grayscale(1) invert(1) sepia(.18) brightness(1.15); }

.site-nav a {
  color: var(--parchment);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}
.site-nav a::after { background: var(--sun); }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--sun); }

.site-nav .nav-cta {
  border-radius: 0;
  border-color: rgba(216, 178, 124, .6);
  background: transparent;
  color: var(--parchment);
  padding: .9rem 1.2rem;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--forest);
}

.nav-toggle {
  border-radius: 3px;
  border: 1px solid rgba(246, 242, 232, .5);
  background: var(--forest);
  color: var(--parchment);
  box-shadow: none;
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] { background: var(--forest-soft); border-color: var(--sun); }
.nav-toggle-label { font-size: .875rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }

.nav-panel { background: var(--forest); color: var(--parchment); }
.nav-panel-list { border-top-color: rgba(246, 242, 232, .21); }
.nav-panel-list a {
  border-bottom-color: rgba(246, 242, 232, .21);
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}
.nav-panel-foot .btn { width: 100%; }
.nav-panel-foot a:not(.btn) { color: var(--sun); }

.skip-link { background: var(--sun); color: var(--forest); border-radius: 2px; }

/* --- 13.5 Emplacements média ------------------------------------------ */

.media {
  border-radius: 0;
  background: linear-gradient(135deg, #e6dcc6, #d9cdb6);
}
.media--round { border-radius: 0; }
.media[data-media]::after {
  color: #5c513f;
  border-color: #b7a58e;
  background:
    repeating-linear-gradient(45deg, rgba(216, 178, 124, .18) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #f0eadb, #e2d8c0);
  font-weight: 600;
  letter-spacing: .12em;
}
.media-caption { color: #c5cbbb; }
.section--cream .media-caption,
.section--ivory .media-caption { color: var(--ink-muted); }

/* --- 13.6 Cartes & composants ----------------------------------------- */

.card,
.creation,
.stat,
.form,
.place,
.value-card--light,
.commitment,
.occasion,
.jar,
.fruit,
.gift,
.recipe,
.pairing,
.season-chip,
.contact-item,
.social {
  color: var(--ink);
}

.card,
.creation {
  border: 0;
  border-top: 5px solid var(--tag-color, var(--sun));
  border-radius: 0;
  background: var(--parchment);
}
.card:hover,
.creation:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
  border-color: var(--tag-color, var(--sun));
}
.card-body p, .creation-story { color: var(--ink-soft); }
.creation-name { font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.creation-pairing { color: var(--ink-soft); font-weight: 600; }
.creation-detail { border-top-color: rgba(33, 54, 42, .2); }
.creation-detail h4 { font-weight: 650; letter-spacing: .1em; color: var(--brass); }
.creation-detail p, .creation-detail li { color: var(--ink-soft); }

/* Étiquette de collection : pastille pleine, comme les saisons du site */
.tag {
  border-radius: 2px;
  padding: .35rem .55rem;
  background: var(--tag-color, var(--sun));
  color: var(--tag-ink, #21110c);
  font-weight: 650;
  letter-spacing: .025em;
  font-size: .75rem;
  line-height: 1.35;
}
.tag::before { display: none; }

.note {
  border-left: 2px solid var(--tag-color, var(--sun));
  background: transparent;
  padding: .2rem 0 .2rem 1rem;
  color: var(--ink-soft);
}

.filter {
  border-radius: 0;
  border-color: rgba(246, 242, 232, .35);
  background: transparent;
  color: var(--parchment);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}
.filter:hover { border-color: var(--sun); color: var(--sun); }
.filter[aria-pressed="true"] {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--forest);
}
.section--cream .filter,
.section--ivory .filter { border-color: rgba(33, 54, 42, .35); color: var(--ink); }
.section--cream .filter[aria-pressed="true"],
.section--ivory .filter[aria-pressed="true"] { background: var(--forest-soft); border-color: var(--forest-soft); color: var(--parchment); }

/* Bandeau de signature : le ruban doré de la maison */
.ribbon {
  gap: 1rem 2.5rem;
  padding: 1.5rem var(--gutter);
  background: var(--sun);
  color: #182e24;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -.02em;
  text-transform: none;
}
.ribbon i { color: #182e24; font-size: 1.8rem; font-style: normal; }

/* En-tête de page interne : plein vert, comme le hero du site */
.page-hero {
  background: var(--forest);
  color: var(--parchment);
  border-bottom: 1px solid var(--line-dark);
}
.page-hero .lead { color: #d4d9c8; }
.breadcrumb { color: #c5cbbb; font-weight: 600; letter-spacing: .1em; }
.breadcrumb a:hover { color: var(--sun); }

.step::before { color: var(--sun); }
.step { border-top-color: var(--line-dark); }
.section--cream .step,
.section--ivory .step { border-top-color: rgba(33, 54, 42, .18); }

.stat {
  border: 0;
  border-top: 4px solid var(--sun);
  border-radius: 0;
  background: var(--parchment);
}
.stat strong { color: var(--brass); }
.stat span { color: var(--ink-soft); }

/* Appel à l'action : le bandeau d'invitation ambré */
.cta {
  background: var(--amber);
  color: #223629;
}
.cta p { color: #3b4c3c; }
.cta .eyebrow { color: #3b4c3c; }
.cta .title-lg em { color: #684427; }
.cta .btn--gold { background: #223629; border-color: #223629; color: var(--parchment); }
.cta .btn--gold:hover { background: #315540; border-color: #315540; color: var(--parchment); }
.cta .btn--ghost { border-color: #223629; color: #223629; }
.cta .btn--ghost:hover { background: #223629; border-color: #223629; color: var(--parchment); }

/* Bouton flottant */
.float-contact {
  border-radius: 2rem;
  border: 1px solid var(--sun);
  background: var(--forest);
  color: var(--parchment);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}
.float-contact:hover { background: var(--forest-soft); }

/* --- 13.7 Formulaires -------------------------------------------------- */

.form {
  border-radius: 0;
  border: 1px solid rgba(33, 54, 42, .25);
  background: var(--ivory);
  box-shadow: 0 20px 50px rgba(33, 54, 42, .08);
}
.field > label,
.fieldset-legend {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--ink);
}
.field .optional { color: var(--ink-muted); font-size: .8125rem; }
.field .required-mark { color: var(--harmattan-700); }
.field input,
.field select,
.field textarea {
  border-radius: 2px;
  border-color: #788272;
  background: #fffefa;
  color: var(--ink);
  min-height: 48px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #55604f; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--abondance);
  box-shadow: 0 0 0 3px rgba(47, 93, 58, .18);
  background: #fff;
}
.field .hint { color: var(--ink-muted); }
.form-privacy { border-top-color: rgba(33, 54, 42, .18); color: var(--ink-muted); }
.form-status[data-state="ok"] { color: var(--abondance); }

.segmented-option span {
  border-radius: 2px;
  border-color: #788272;
  background: #fffefa;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}
.segmented-option input:hover + span { border-color: var(--abondance); }
.segmented-option input:focus-visible + span { outline-color: var(--abondance); }
.segmented-option input:checked + span {
  background: var(--forest-soft);
  border-color: var(--forest-soft);
  color: var(--parchment);
}

/* --- 13.8 Pied de page ------------------------------------------------- */

.site-footer {
  background: var(--forest);
  color: #c5cbbb;
  border-top: 1px solid var(--line-dark);
}
.footer-brand .brand-name { color: var(--parchment); }
.footer-brand .brand-tag { color: var(--sun); }
.footer-col h3 {
  color: var(--sun);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .12em;
}
.footer-col a:hover,
.footer-col a[aria-current="page"] { color: var(--parchment); }
.footer-bottom { border-top-color: var(--line-dark); color: #a9b3a4; }
.footer-pending { color: rgba(246, 242, 232, .45); }

/* ==========================================================================
   14. AJUSTEMENTS FINAUX
   ========================================================================== */

/* Aucune flèche décorative dans les liens et les boutons. */
.btn .arrow,
.link .arrow,
.nav-cta .arrow { display: none; }

/* --- Bouton de fermeture du menu mobile ------------------------------- */

.nav-panel-close {
  position: absolute;
  top: calc((var(--header-h) - 48px) / 2);
  right: var(--gutter);
  z-index: 120;
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  min-width: 48px;
  padding: .6rem .9rem;
  border: 1px solid rgba(246, 242, 232, .5);
  border-radius: 3px;
  background: var(--forest);
  color: var(--parchment);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background var(--tr-fast), border-color var(--tr-fast);
}
.nav-panel.is-open .nav-panel-close,
.nav-panel:not([hidden]) .nav-panel-close { display: inline-flex; }
.nav-panel-close:hover { background: var(--forest-soft); border-color: var(--sun); }
.nav-panel-close-mark {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.nav-panel-close-mark::before,
.nav-panel-close-mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
}
.nav-panel-close-mark::before { transform: rotate(45deg); }
.nav-panel-close-mark::after { transform: rotate(-45deg); }

/* Le panneau porte désormais sa propre commande : le bouton hamburger
   de l'en-tête s'efface pendant l'ouverture pour éviter le doublon. */
.nav-toggle[aria-expanded="true"] { visibility: hidden; }

@media (max-width: 380px) {
  .nav-panel-close-label { display: none; }
  .nav-panel-close { padding: .7rem; justify-content: center; }
}

/* ==========================================================================
   15. EXPÉRIENCE MOBILE PREMIUM — composants de navigation
   Ajouts de la refonte mobile : logo recadré, bouton WhatsApp animé,
   retour en haut, barre de progression, pagination entre pages,
   carrousels à flèches. Les éléments sont injectés par js/script.js :
   aucune modification HTML n'est nécessaire.
   ========================================================================== */

html { -webkit-tap-highlight-color: transparent; }

/* --- 15.1 Logo : cadrage automatique sur le dessin (cf. script.js) ----- */
.brand-logo {
  --logo-h: 56px;
  width: calc(var(--logo-h) * 1.2);
  height: var(--logo-h);
  overflow: hidden;
}
/* Sans recadrage automatique (ex. site ouvert en local) : le logo entier
   est affiché, jamais rogné. */
.brand-logo:not(.is-fitted) img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: none;
}
.brand-logo.is-fitted img {
  position: absolute;
  max-width: none;
  transform: none;
}

/* --- 15.2 Bouton WhatsApp : vert WhatsApp, halo pulsé, clignotement ---- */
.float-contact {
  --wa: #25d366;
  --wa-dark: #128c4b;
  isolation: isolate;
  gap: .65rem;
  min-height: 58px;
  padding: .85rem 1.35rem .85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #2fe077, var(--wa) 45%, #1ebe5b);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(18, 140, 75, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: wa-blink 2.2s ease-in-out infinite;
}
.float-contact svg { width: 26px; height: 26px; animation: wa-wiggle 4.4s ease-in-out infinite; }
.float-contact::before,
.float-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 2px solid var(--wa);
  animation: wa-ring 2.2s cubic-bezier(.2, .6, .3, 1) infinite;
  pointer-events: none;
}
.float-contact::after { animation-delay: 1.1s; }
.float-contact:hover,
.float-contact:focus-visible {
  background: linear-gradient(145deg, var(--wa), var(--wa-dark));
  transform: translateY(-3px) scale(1.03);
  animation-play-state: paused;
}
.float-contact:active { transform: scale(.95); }

@keyframes wa-blink {
  0%, 100% { box-shadow: 0 10px 26px rgba(18, 140, 75, .45), 0 0 0 0 rgba(37, 211, 102, 0); filter: brightness(1); }
  50%      { box-shadow: 0 12px 32px rgba(18, 140, 75, .6), 0 0 0 7px rgba(37, 211, 102, .28); filter: brightness(1.14); }
}
@keyframes wa-ring {
  0%   { transform: scale(1);    opacity: .75; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes wa-wiggle {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(-14deg); }
  90% { transform: rotate(12deg); }
  94% { transform: rotate(-8deg); }
}

/* --- 15.3 Retour en haut ------------------------------------------------ */
.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 58px + .8rem);
  z-index: 79;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(33, 54, 42, .15);
  border-radius: 50%;
  background: var(--parchment);
  color: var(--forest);
  box-shadow: 0 8px 22px rgba(6, 24, 19, .28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr), background var(--tr-fast);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--sun); }
.to-top:active { transform: scale(.92); }
.to-top svg { width: 20px; height: 20px; }
body.is-locked .to-top { visibility: hidden; }

/* --- 15.4 Barre de progression de lecture ------------------------------ */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 95;
  height: 3px;
  background: var(--sun);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

/* --- 15.5 Flèche « découvrir » du hero --------------------------------- */
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: var(--sp-5);
  min-height: 44px;
  color: var(--parchment);
  font-size: .875rem;
  font-weight: 600;
}
.scroll-cue-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 178, 124, .6);
  border-radius: 50%;
  color: var(--sun);
  animation: cue-bounce 2.4s ease-in-out infinite;
}
.scroll-cue-icon svg { width: 18px; height: 18px; }
.scroll-cue:hover .scroll-cue-icon { background: var(--sun); color: var(--forest); }
@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* --- 15.6 Pagination entre pages (précédent / suivant) ----------------- */
.page-pager {
  background: var(--forest-deep);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.page-pager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.pager-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  min-height: 76px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-dark);
  color: var(--parchment);
  transition: background var(--tr-fast), border-color var(--tr-fast), transform var(--tr-fast);
}
.pager-link--next { grid-template-columns: minmax(0, 1fr) auto; text-align: right; }
.pager-link:hover { background: rgba(246, 242, 232, .06); border-color: var(--sun); }
.pager-link:active { transform: scale(.98); }
.pager-link small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sun);
}
.pager-link strong {
  display: block;
  margin-top: .15rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.pager-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest);
  flex: 0 0 auto;
}
.pager-arrow svg { width: 18px; height: 18px; }

/* --- 15.7 Carrousels à flèches (activés sur mobile uniquement) --------- */
.carousel-controls { display: none; }

/* --- 15.8 Menu mobile : chaque lien porte une flèche ------------------- */
.nav-panel-list a { justify-content: flex-start; }
.nav-panel-list a span { min-width: 2.2rem; }
.nav-panel-list a::after {
  content: "";
  margin-left: auto;
  width: .6rem;
  height: .6rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  flex: 0 0 auto;
}
.nav-panel-list a[aria-current="page"]::after { opacity: 1; }

/* ==========================================================================
   16. RESPONSIVE MOBILE — lisibilité et ergonomie tactiles
   ========================================================================== */

@media (max-width: 1080px) {
  .brand-logo { --logo-h: 50px; }
  .header-inner { min-height: var(--header-h); }
  .nav-panel {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  .nav-panel-list a { padding: .95rem 0; font-size: clamp(1.35rem, 5.5vw, 1.9rem); }
}

/* Appareils tactiles : pas d'effet de survol « collé », retour au toucher */
@media (hover: none) {
  .card:hover, .creation:hover, .fruit:hover, .recipe:hover, .gift:hover,
  .jar:hover, .season-chip:hover, .btn:hover, a.contact-item:hover {
    transform: none;
    box-shadow: none;
  }
  .card:hover .media img, .creation:hover .media img, .fruit:hover .media img { transform: none; }
  .btn:active, .filter:active, .disclosure:active, .link:active { transform: scale(.97); opacity: .9; }
  .card:active, .creation:active, .recipe:active, .gift:active { transform: scale(.99); }
}

@media (max-width: 680px) {
  :root {
    --header-h: 74px;
    --gutter: 1.25rem;
    --fs-display: clamp(2.55rem, 11.5vw, 3.25rem);
    --fs-h1:      clamp(2.15rem, 9.4vw, 2.75rem);
    --fs-h2:      clamp(1.85rem, 8vw, 2.35rem);
    --fs-h3:      1.3rem;
    --fs-lead:    1.0625rem;
    --fs-body:    1.0625rem;   /* 17 px : taille de lecture iOS */
    --fs-small:   .9375rem;
    --sp-5: 2rem;
    --sp-6: 2.75rem;
    --sp-7: 3.75rem;
    --sp-8: 4.25rem;
  }

  body { line-height: 1.6; }

  /* Titres : interlettrage desserré aux petites tailles pour la lisibilité */
  .display, .title-xl { line-height: 1; letter-spacing: -.035em; }
  .title-lg { line-height: 1.04; letter-spacing: -.035em; }
  .title { line-height: 1.08; letter-spacing: -.03em; }
  .title-sm { line-height: 1.25; }
  .lead { line-height: 1.62; }
  .eyebrow { font-size: .72rem; letter-spacing: .11em; margin-bottom: .9rem; }
  .eyebrow::before { width: 1.6rem; }
  .quote { font-size: clamp(1.45rem, 6.4vw, 1.8rem); }

  .section-head { margin-bottom: 1.75rem; }

  /* En-tête */
  .brand-logo { --logo-h: 58px; }
  .nav-toggle { min-height: 46px; padding: .55rem .85rem; }

  /* Boutons : pleine largeur, zones tactiles généreuses */
  .btn-row { gap: .75rem; margin-top: 1.75rem; }
  .btn { min-height: 54px; font-size: .9375rem; }
  .link { font-size: .9375rem; }

  /* Rangées de raccourcis (héros internes) : défilement horizontal */
  nav.btn-row,
  .filters {
    flex-wrap: nowrap;
    gap: .5rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: .15rem var(--gutter) .6rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent);
  }
  nav.btn-row::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
  nav.btn-row .btn,
  .filters .filter {
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    padding: .55rem 1.05rem;
    font-size: .875rem;
    scroll-snap-align: start;
  }
  .filters { margin-bottom: 1.5rem; }

  /* Médias : les photos remplissent leur cadre, les pots restent entiers */
  .media img { width: 100%; height: 100%; object-fit: cover; }
  .creation .media img,
  .jar .media img { object-fit: contain; }

  /* Cartes : respiration homogène */
  .card-body, .creation-body { padding: 1.35rem 1.25rem 1.5rem; }
  .creation-name { font-size: 1.6rem; }

  /* Formulaires : 16 px minimum pour éviter le zoom automatique d'iOS */
  .field input, .field select, .field textarea { font-size: 16px; min-height: 52px; }
  .form { padding: 1.4rem 1.15rem; gap: 1.25rem; }
  .form .btn-row .btn { width: 100%; }

  /* Bandeau d'appel à l'action */
  .cta { padding-block: 4rem; }

  /* Tableaux : transformés en fiches lisibles (libellés injectés par JS) */
  .table-scroll { overflow: visible; }
  .calendar, .calendar tbody, .calendar tr, .calendar td { display: block; width: 100%; }
  .calendar thead { display: none; }
  .calendar caption { display: block; text-align: left; }
  .calendar tr {
    padding: 1.1rem 1.1rem 1rem;
    margin-bottom: .75rem;
    background: var(--ivory);
    border-left: 4px solid var(--sun);
  }
  .calendar td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; padding: .3rem 0; border: 0; }
  .calendar td::before {
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding-top: .15rem;
  }
  .calendar td:first-child {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: .5rem;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    white-space: normal;
  }
  .calendar td:first-child::before { display: none; }

  /* Carrousels (liste horizontale + flèches) */
  .m-carousel {
    display: flex !important;
    gap: .9rem !important;
    margin-inline: calc(var(--gutter) * -1);
    padding: .25rem var(--gutter) .5rem !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    border: 0 !important;
    background: none !important;
  }
  .m-carousel::-webkit-scrollbar { display: none; }
  .m-carousel > * {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .m-carousel > [hidden] { display: none; }
  .carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
  }
  .carousel-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid currentColor;
    color: inherit;
    cursor: pointer;
    transition: background var(--tr-fast), color var(--tr-fast), opacity var(--tr-fast), transform var(--tr-fast);
  }
  .carousel-btn svg { width: 20px; height: 20px; }
  .carousel-btn:active { transform: scale(.92); }
  .carousel-btn:disabled { opacity: .3; cursor: default; }
  .carousel-btn:not(:disabled):hover { background: var(--sun); border-color: var(--sun); color: var(--forest); }
  .carousel-status { display: grid; justify-items: center; gap: .45rem; flex: 1; }
  .carousel-count { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
  .carousel-dots { display: flex; gap: .35rem; }
  .carousel-dots i {
    width: 6px; height: 6px;
    border-radius: 999px;
    background: currentColor;
    opacity: .3;
    transition: width var(--tr), opacity var(--tr);
  }
  .carousel-dots i.is-active { width: 20px; opacity: 1; background: var(--sun); }
  .section--cream .carousel-dots i.is-active,
  .section--ivory .carousel-dots i.is-active { background: var(--brass); }

  /* Pagination entre pages */
  .pager-link { padding: .9rem; gap: .6rem; min-height: 84px; }
  .pager-link strong { font-size: 1.05rem; }
  .pager-arrow { width: 34px; height: 34px; }

  /* Bouton WhatsApp : pastille ronde, plus grande */
  .float-contact span { display: none; }
  .float-contact {
    width: 60px;
    height: 60px;
    min-width: 60px;
    padding: 0;
    justify-content: center;
  }
  .float-contact svg { width: 30px; height: 30px; }
  .to-top { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 60px + .75rem); }

  /* --- Pied de page : statique, sur deux colonnes --- */
  .site-footer { padding-top: 3rem; }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.25rem;
    padding-bottom: 2.25rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line-dark);
    gap: .6rem;
  }
  .footer-brand p { max-width: none; }
  .footer-col h3 { margin-bottom: .75rem; font-size: .72rem; }
  .footer-col ul { gap: .1rem; }
  .footer-col a,
  .footer-col .footer-pending {
    min-height: 40px;
    font-size: .9rem;
    line-height: 1.35;
    overflow-wrap: break-word;
    transition: color var(--tr-fast);
  }
  .footer-col a:hover { padding-left: 0; }
  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    padding-block: 1.5rem calc(1.5rem + 60px + env(safe-area-inset-bottom));
  }
  .footer-bottom nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1.25rem; }
  .footer-bottom nav > * { display: flex; align-items: center; min-height: 40px; }
}

@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .brand-logo { --logo-h: 52px; }
  .brand img, .brand .brand-mark { width: auto; height: auto; }
  .m-carousel > * { flex-basis: 90%; }
  .page-pager-grid { grid-template-columns: minmax(0, 1fr); }
  .pager-link--next { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-top { gap: 2rem 1rem; }
}

/* ==========================================================================
   17. MODIFICATIONS 2 — STRUCTURE DU SITE
   ========================================================================== */

/* --- 17.1 Logo plus grand et doré (demande « Barre de navigation ») ------
   Le fichier image n'est pas modifié : la teinte Sable Doré (#D8B27C) est
   obtenue par filtre CSS, les motifs du foulard restent lisibles.
   Pour revenir au logo clair d'origine, supprimer la ligne « filter ». */
.brand-logo { --logo-h: 72px; }
.brand-logo img {
  filter: grayscale(1) invert(1) brightness(.7) sepia(1) saturate(1.4) hue-rotate(-6deg);
}
@media (max-width: 1080px) { .brand-logo { --logo-h: 62px; } }
@media (max-width: 680px)  { .brand-logo { --logo-h: 62px; } }
@media (max-width: 380px)  { .brand-logo { --logo-h: 56px; } }

/* --- 17.2 Précédent / Suivant : « Suivant » seul reste aligné à droite --- */
.pager-link--next:only-child { grid-column: 2; }
@media (max-width: 380px) {
  .pager-link--next:only-child { grid-column: auto; }
}
