/* =========================================================================
   Monsieur et Madame Tabarouette — page d'accueil (V1 statique)
   Aligné sur la référence construite par Serge (Replit).
   Charge variables-palette.css avant, puis surcharge ci-dessous.
   ========================================================================= */

:root {
  /* Jetons repris de la référence */
  --cream: #FDF5E6;
  --cream-deep: #F6EAD4;
  --chocolate: #4A1B0C;
  --crimson: #990000;
  --crimson-dark: #7A0000;
  --evergreen: #2A5C5A;
  --evergreen-pale: #E9F0EF;
  --terracotta: #D48C46;
  --terracotta-pale: #FAF2E9;
  --ink-soft: #745549;
  --line: #4a1b0c33;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 0.8rem;
  --radius-lg: 1.4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--chocolate);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: inherit;
  margin: 0;
}

/* Neutralise les règles d'éléments de variables-palette.css */
a { color: inherit; text-decoration: none; }
header.site-header { background: transparent; border: 0; }
footer.site-footer { background: #3a1509; border: 0; }

/* ------------------------------- Utilitaires --------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  display: inline-block;
}

.display-1 {
  font-size: clamp(2.9rem, 7vw + 0.5rem, 8.5rem);
  letter-spacing: -0.045em;
}
.display-2 {
  font-size: clamp(2.3rem, 4.6vw + 0.6rem, 4.7rem);
  letter-spacing: -0.038em;
  line-height: 0.96;
}

.section {
  position: relative;
  padding-block: clamp(72px, 12vw, 128px);
}
.section__intro { max-width: 30ch; }
.section__lead {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
  max-width: 44ch;
  margin: 1.6rem 0 0;
  color: inherit;
  opacity: 0.74;
}
.section--cream .section__lead,
.section--cream-deep .section__lead { color: var(--ink-soft); opacity: 1; }

/* Ligne verticale « crédit » sur le bord d'une section */
.edge-credit {
  position: absolute;
  right: clamp(8px, 2vw, 22px);
  top: 50%;
  transform-origin: right center;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.5;
  pointer-events: none;
}

/* --------------------------------- Boutons --------------------------- */
.btn {
  --btn-fg: var(--cream);
  --btn-bg: var(--crimson);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 1.05em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.btn--primary:hover { background: var(--crimson-dark); }

.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--chocolate); color: var(--cream); border-color: var(--chocolate); }
.section--dark .btn--ghost:hover,
.section--evergreen .btn--ghost:hover,
.hero .btn--ghost:hover { background: var(--cream); color: var(--chocolate); border-color: var(--cream); }

.btn--sm { padding: 0.8em 1.25em; font-size: 0.82rem; }

.textlink {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 3px;
  white-space: nowrap;
}
.textlink:hover { opacity: 0.65; }

/* ============================ BANDEAU ANNONCE ======================== */
.announce {
  background: var(--chocolate);
  color: rgba(253, 245, 230, 0.9);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
  position: relative;
  z-index: 60;
}

/* ================================ EN-TÊTE =========================== */
.site-header {
  position: fixed;
  inset: var(--announce-h, 34px) 0 auto 0; /* sous le bandeau annonce (hauteur réelle, mesurée en JS — voir main.js) */
  z-index: 50;
  color: var(--cream);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.site-header.is-scrolled {
  inset: 0 0 auto 0;
  background: var(--cream);
  color: var(--chocolate);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(74, 27, 12, 0.5);
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand__mono {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-content: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.brand__name span { display: block; }
.brand__name b { font-weight: 600; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.main-nav a:hover { border-bottom-color: currentColor; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; background: transparent; cursor: pointer; padding: 12px;
  color: inherit;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  height: 2px; width: 22px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }

/* ================================ PANIER ============================= */
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.cart-toggle,
.account-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}
.cart-toggle:hover,
.account-toggle:hover { opacity: 0.7; }
.cart-toggle svg,
.account-toggle svg { width: 19px; height: 19px; }
.cart-toggle__count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  background: var(--crimson);
  color: var(--cream);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  justify-content: flex-end;
  background: rgba(35, 12, 4, 0.55);
  backdrop-filter: blur(2px);
}
.cart-drawer[hidden] { display: none; }
.cart-drawer__panel {
  width: min(420px, 92vw);
  height: 100%;
  background: var(--cream);
  color: var(--chocolate);
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: -20px 0 50px -20px rgba(35, 12, 4, 0.6);
  animation: cart-slide-in 0.32s var(--ease);
}
@keyframes cart-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-drawer__panel { animation: none; }
}
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.cart-drawer__head h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.cart-drawer__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.cart-drawer__close:hover { background: rgba(74, 27, 12, 0.08); }
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cart-item__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.25;
}
.cart-item__price {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: nowrap;
}
.cart-item__row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.cart-item__qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}
.cart-item__qty button:hover { background: rgba(74, 27, 12, 0.08); }
.cart-item__remove {
  background: none;
  border: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
}
.cart-item__remove:hover { opacity: 1; }
.cart-drawer__empty {
  margin: auto 0;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.6;
}
.cart-drawer__shipping {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.cart-drawer__shipping label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.45rem;
}
.cart-drawer__shipping select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.cart-drawer__foot {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-top: 1rem;
}
.cart-drawer__subline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.cart-drawer__note {
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.62;
  margin-top: 0.9rem;
}

/* Boutons « Ajouter au panier » sur les cartes de prix (fond sombre : #livre) */
.offer__add {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55em 1em;
  border-radius: 999px;
  border: 1.5px solid rgba(253, 245, 230, 0.4);
  background: rgba(253, 245, 230, 0.06);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.offer__add:hover { background: rgba(253, 245, 230, 0.14); border-color: rgba(253, 245, 230, 0.6); }
.offer__add.is-added { background: var(--cream); color: var(--evergreen); border-color: var(--cream); }

/* Boutons « Ajouter au panier » sur la grille des tirages (fond clair : #tirages) */
.how-grid__add {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5em 0.95em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--chocolate);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.how-grid__add:hover { background: var(--chocolate); color: var(--cream); }
.how-grid__add.is-added { background: var(--evergreen); border-color: var(--evergreen); color: var(--cream); }
.how-grid__add:disabled,
.how-grid__add.is-soldout {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
  color: var(--chocolate);
  border-color: var(--line);
}
.how-grid__add:disabled:hover,
.how-grid__add.is-soldout:hover { background: transparent; color: var(--chocolate); }

/* ================================= HÉRO ============================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--chocolate);
  color: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video,
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__video--mobile { display: none; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(35, 12, 4, 0.86) 0%, rgba(45, 15, 6, 0.5) 42%, rgba(74, 27, 12, 0.34) 100%),
    linear-gradient(90deg, rgba(35, 12, 4, 0.7) 0%, rgba(35, 12, 4, 0.15) 55%, rgba(35, 12, 4, 0) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(120px, 20vh, 220px) clamp(56px, 10vh, 110px);
  max-width: 900px;
}
.hero__title { margin: 0; }
.hero__sub {
  font-size: clamp(1.02rem, 0.96rem + 0.6vw, 1.3rem);
  max-width: 40ch;
  margin: 1.6rem 0 2.2rem;
  color: rgba(253, 245, 230, 0.86);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__sound {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--gutter) + 4px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.95em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(35, 12, 4, 0.5);
  border: 1px solid rgba(253, 245, 230, 0.4);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.hero__sound:hover { background: rgba(35, 12, 4, 0.8); }

.hero .edge-credit { color: var(--cream); opacity: 0.55; }

@media (max-width: 760px) {
  .hero__video--desktop { display: none; }
  .hero__video--mobile { display: block; }
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 245, 230, 0.8);
  text-decoration: none;
}
.scroll-cue svg { width: 16px; height: 16px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ====================== SECTIONS PLEINE COULEUR ===================== */
.section--terracotta { background: var(--terracotta); color: var(--chocolate); }
.section--evergreen  { background: var(--evergreen);  color: var(--cream); }
.section--crimson    { background: var(--crimson);    color: var(--cream); }
.section--cream      { background: var(--cream);      color: var(--chocolate); }
.section--cream-deep { background: var(--cream-deep); color: var(--chocolate); }
.section--dark       { background: var(--chocolate);  color: var(--cream); }

/* Sections visuelles : une illustration seule sur un fond calme. */
.showcase {
  background: var(--cream);
  padding-block: clamp(44px, 8vw, 104px);
  display: flex;
  justify-content: center;
}
/* Photo légèrement penchée qui se redresse au survol (comme le selfie). */
.showcase__fig--tilt {
  transform: rotate(-2.5deg);
  transition: transform 0.5s var(--ease);
}
.showcase__fig--tilt:hover { transform: rotate(0deg) scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .showcase__fig--tilt,
  .showcase__fig--tilt:hover { transform: none; }
}

/* Entrée générique « vol depuis la gauche » : même principe que #vol,
   appliquée à toute photo encadrée avec tilt (.framed.showcase__fig--tilt),
   partout sur le site. Glisse depuis la gauche au passage du visiteur, une
   seule fois, déclenchée par IntersectionObserver (voir js/main.js). */
html.js .showcase__fig--tilt.fly-in-left {
  opacity: 0;
  transform: translateX(-180px) rotate(-2.5deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js .showcase__fig--tilt.fly-in-left.in {
  opacity: 1;
  transform: translateX(0) rotate(-2.5deg);
}
html.js .showcase__fig--tilt.fly-in-left.in:hover {
  transform: translateX(0) rotate(0deg) scale(1.02);
  transition: transform 0.5s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html.js .showcase__fig--tilt.fly-in-left {
    opacity: 1;
    transform: rotate(-2.5deg);
    transition: none;
  }
}

.showcase__fig {
  margin: 0;
  width: min(520px, 84vw);
}
.showcase__fig img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 46px rgba(74, 27, 12, 0.2));
}

#vol .showcase__fig {
  width: min(520px, 84vw);
  padding: 14px 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  box-shadow: 0 40px 70px -28px rgba(35, 12, 4, 0.6);
  transform: rotate(-2.5deg);
  transition: transform 0.5s var(--ease);
}
#vol .showcase__fig:hover { transform: rotate(0deg) scale(1.02); }
#vol .showcase__fig img {
  border-radius: 5px;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  #vol .showcase__fig,
  #vol .showcase__fig:hover { transform: none; }
}

/* Entrée du duo en vol : glisse depuis la gauche au passage du visiteur,
   une seule fois, déclenchée par IntersectionObserver (js/main.js) — pas de
   filet de sécurité chronométré ici, pour que ça ne se joue QUE quand le
   visiteur défile jusqu'à la section (pas avant, pas au retour vers le haut). */
html.js #vol .showcase__fig.fly-in-left {
  opacity: 0;
  transform: translateX(-180px) rotate(-2.5deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js #vol .showcase__fig.fly-in-left.in {
  opacity: 1;
  transform: translateX(0) rotate(-2.5deg);
}
html.js #vol .showcase__fig.fly-in-left.in:hover {
  transform: translateX(0) rotate(0deg) scale(1.02);
  transition: transform 0.5s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html.js #vol .showcase__fig.fly-in-left {
    opacity: 1;
    transform: rotate(-2.5deg);
    transition: none;
  }
}

#nid .showcase__fig {
  padding: 14px 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  box-shadow: 0 40px 70px -28px rgba(16, 38, 36, 0.6);
  transform: rotate(-2.5deg);
  transition: transform 0.5s var(--ease);
}
#nid .showcase__fig:hover { transform: rotate(0deg) scale(1.02); }
#nid .showcase__fig img {
  border-radius: 5px;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  #nid .showcase__fig,
  #nid .showcase__fig:hover { transform: none; }
}

/* Entrée « Faire le nid » : même principe que #vol, glisse depuis la gauche
   au passage du visiteur (voir js/main.js, .fly-in-left). */
html.js #nid .showcase__fig.fly-in-left {
  opacity: 0;
  transform: translateX(-180px) rotate(-2.5deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js #nid .showcase__fig.fly-in-left.in {
  opacity: 1;
  transform: translateX(0) rotate(-2.5deg);
}
html.js #nid .showcase__fig.fly-in-left.in:hover {
  transform: translateX(0) rotate(0deg) scale(1.02);
  transition: transform 0.5s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html.js #nid .showcase__fig.fly-in-left {
    opacity: 1;
    transform: rotate(-2.5deg);
    transition: none;
  }
}

#couple .showcase__fig {
  padding: 14px 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  box-shadow: 0 40px 70px -28px rgba(35, 12, 4, 0.6);
}
#couple .showcase__fig img {
  border-radius: 5px;
  filter: none;
}

/* Entrée « Le nid, ensemble » : même principe que #vol. La base rotate/hover
   vient déjà de .showcase__fig--tilt ; on ajoute seulement le glissement
   depuis la gauche, au passage du visiteur. */
html.js #couple .showcase__fig.fly-in-left {
  opacity: 0;
  transform: translateX(-180px) rotate(-2.5deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js #couple .showcase__fig.fly-in-left.in {
  opacity: 1;
  transform: translateX(0) rotate(-2.5deg);
}
html.js #couple .showcase__fig.fly-in-left.in:hover {
  transform: translateX(0) rotate(0deg) scale(1.02);
  transition: transform 0.5s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html.js #couple .showcase__fig.fly-in-left {
    opacity: 1;
    transform: rotate(-2.5deg);
    transition: none;
  }
}

.interlude {
  padding-block: clamp(48px, 8vw, 96px);
  display: flex;
  justify-content: center;
  background: var(--cream);
}
.interlude__card {
  margin: 0;
  width: min(520px, 84vw);
  padding: 12px 12px 14px;
  background: var(--cream);
  border-radius: 10px;
  box-shadow: 0 34px 66px -26px rgba(35, 12, 4, 0.6);
  transform: rotate(-2.5deg);
  transition: transform 0.5s var(--ease);
}
.interlude__card:hover { transform: rotate(0deg) scale(1.02); }
.interlude__card img { display: block; width: 100%; border-radius: 4px; }

/* Entrée « selfie » (interlude) : même principe que #vol. */
html.js .interlude__card.fly-in-left {
  opacity: 0;
  transform: translateX(-180px) rotate(-2.5deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js .interlude__card.fly-in-left.in {
  opacity: 1;
  transform: translateX(0) rotate(-2.5deg);
}
html.js .interlude__card.fly-in-left.in:hover {
  transform: translateX(0) rotate(0deg) scale(1.02);
  transition: transform 0.5s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html.js .interlude__card.fly-in-left {
    opacity: 1;
    transform: rotate(-2.5deg);
    transition: none;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

/* --------------------------- Conseil du jour ------------------------ */
.conseil__card {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(74, 27, 12, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px);
}
.conseil__date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}
.conseil__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0.7em 0 0.5em;
}
.conseil__by {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.conseil__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* ------------------ Couple Tabarouette de l'année (teaser) ---------- */
.ca-teaser__card {
  background: rgba(253, 245, 230, 0.1);
  border: 1px solid rgba(253, 245, 230, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px);
}
.ca-teaser__card p:first-child {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  line-height: 1.34;
  letter-spacing: -0.01em;
  margin: 0 0 1.6rem;
}

/* -------------------------------- Quiz ----------------------------- */
.quiz__card {
  background: rgba(253, 245, 230, 0.07);
  border: 1px solid rgba(253, 245, 230, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.quiz__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1.6rem;
}
.quiz__q {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.15rem);
  line-height: 1.18;
  margin: 0 0 1rem;
}
.quiz__fine {
  font-size: 0.85rem;
  color: rgba(253, 245, 230, 0.6);
  margin: 1.2rem 0 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.5em 0.9em;
  opacity: 0.85;
}
.btn--evergreen { background: var(--cream); color: var(--evergreen); }
.btn--evergreen:hover { background: var(--cream-deep); }

.btn--crimson { background: var(--cream); color: var(--crimson); }
.btn--crimson:hover { background: var(--cream-deep); }
/* currentColor (crimson) serait invisible sur une section .section--crimson */
.btn--crimson:focus-visible { outline-color: var(--cream); }

.btn--chocolate { background: var(--cream); color: var(--chocolate); }
.btn--chocolate:hover { background: var(--cream-deep); }

.btn--green { background: var(--evergreen); color: var(--cream); border-color: var(--evergreen); }
.btn--green:hover { background: #23504e; border-color: #23504e; color: var(--cream); }

/* ------------------------------ Univers --------------------------- */
.univers__story p { max-width: 46ch; margin: 0 0 1.1rem; }
.univers__story .univers__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 0;
}
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0.5rem;
}
.persona {
  position: relative;
  border: 1px solid rgba(253, 245, 230, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--chocolate);
  color: var(--cream);
  box-shadow: 0 22px 44px -28px rgba(74, 27, 12, 0.45);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.persona:nth-child(1) { transform: rotate(-2.5deg); }
.persona:nth-child(2) { transform: rotate(2.5deg); }
.persona:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 34px 60px -26px rgba(74, 27, 12, 0.55);
  z-index: 2;
}
.persona img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .persona,
  .persona:nth-child(1),
  .persona:nth-child(2),
  .persona:hover { transform: none; }
}
.persona__body { padding: 26px 18px 22px; }
.persona__name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
.persona__body p { margin: 0; font-size: 0.92rem; color: rgba(253, 245, 230, 0.78); }

/* --------------------------- Histoires d'amour -------------------- */
.histoires__counter {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0;
}
.histoires__counter b { color: var(--crimson); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
}
.testimonial {
  position: relative;
  background: var(--evergreen);
  color: var(--cream);
  border: 1px solid rgba(253, 245, 230, 0.22);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 16px 34px -26px rgba(16, 38, 36, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.testimonial:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 50px -22px rgba(16, 38, 36, 0.6);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial:hover { transform: none; }
}
.testimonial__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 245, 230, 0.72);
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.testimonial cite {
  margin-top: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 245, 230, 0.82);
}
.histoires__cta { margin-top: 2.6rem; }

/* ------------------------------ Boutique ------------------------- */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3.5vw, 40px);
  margin-top: 3.2rem;
}
.shop-card {
  display: flex;
  flex-direction: column;
  background: rgba(253, 245, 230, 0.06);
  border: 1px solid rgba(253, 245, 230, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.shop-card__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: rgba(253,245,230,0.05); }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Image complète, non rognée, sur fond crème (couverture du livre, photo des tirages encadrés) */
.shop-card__media--book,
.shop-card__media--contain { background: var(--cream); }
.shop-card__media--book img,
.shop-card__media--contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  box-sizing: border-box;
}

/* Tirages : les deux dessins originaux, accrochés comme sur un mur */
.shop-card__media--prints {
  background: var(--cream);
  overflow: visible;
}
.prints {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.prints img {
  position: absolute;
  width: auto;
  height: 84%;
  max-width: 46%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(74, 27, 12, 0.28);
  box-shadow: 0 18px 34px -18px rgba(74, 27, 12, 0.55);
  transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.prints__a { --tx: -26%; --ty: -4%; --rot: -4deg; z-index: 2; }
.prints__b { --tx: 26%; --ty: 5%; --rot: 4deg; z-index: 1; }

/* Au survol : le dessin se soulève, se redresse un peu et passe devant l'autre */
.prints img:hover,
.prints img:focus-visible {
  transform: translate(var(--tx), calc(var(--ty) - 16px)) rotate(calc(var(--rot) * 0.35)) scale(1.04);
  box-shadow: 0 30px 48px -18px rgba(74, 27, 12, 0.62);
  z-index: 4;
}

@media (max-width: 520px) {
  .prints img { height: 78%; max-width: 52%; }
  .prints__a { --tx: -22%; --ty: -3%; }
  .prints__b { --tx: 22%; --ty: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .prints img:hover,
  .prints img:focus-visible {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
  }
}
.shop-card__label {
  position: absolute; top: 14px; left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  color: var(--cream);
  padding: 0.45em 0.8em;
  border-radius: 999px;
  opacity: 0.85;
}
.shop-card__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.shop-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.shop-card h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem); letter-spacing: -0.03em; }
.shop-card__desc { color: rgba(253, 245, 230, 0.72); font-size: 0.95rem; }
.shop-card__price { font-family: var(--font-mono); font-size: 0.95rem; letter-spacing: 0.04em; margin-top: 0.2rem; }
.shop-card__price span { opacity: 0.66; }
.shop-card__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: auto; padding-top: 1.1rem; }

/* ----------------------------- Newsletter ----------------------- */
.newsletter form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  max-width: 460px;
}
.newsletter input {
  flex: 1 1 220px;
  padding: 1em 1.2em;
  border-radius: 999px;
  border: 1.5px solid rgba(253, 245, 230, 0.4);
  background: rgba(253, 245, 230, 0.06);
  color: var(--cream);
  font: inherit;
}
.newsletter input::placeholder { color: rgba(253, 245, 230, 0.5); }
.newsletter input:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

/* ------------------------------- Pied --------------------------- */
.site-footer {
  background: #3a1509;
  color: rgba(253, 245, 230, 0.82);
  padding-block: clamp(56px, 8vw, 96px) 2.2rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.site-footer .brand { color: var(--cream); }
.site-footer__tagline { max-width: 34ch; margin: 1rem 0 0; font-size: 0.92rem; }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(253, 245, 230, 0.16);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- Lien présenté comme un bouton (texte uniquement) --------- */
.link-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s var(--ease);
}
.link-btn:hover,
.link-btn:focus-visible { text-decoration-color: currentColor; }

/* --------------------- Révélation au défilement ----------------- */
/* Gated on html.js : sans JavaScript, tout le contenu reste visible. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* --------------- Grands titres : écriture progressive ----------- */
.tw-w { display: inline-block; white-space: nowrap; }
html.js .tw-c {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.28em) rotate(3deg);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
html.js .tw-c.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .tw-c { opacity: 1; transform: none; transition: none; }
}

/* --------------------------- Texture papier --------------------- */
.paper {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================== RESPONSIVE ========================= */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .edge-credit { display: none; }
}

@media (max-width: 680px) {
  .main-nav {
    position: fixed;
    inset: calc(var(--announce-h, 34px) + var(--header-h)) 0 auto 0;
    background: var(--cream);
    color: var(--chocolate);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -20px rgba(74, 27, 12, 0.5);
    transform: translateY(-150vh);
    transition: transform 0.32s var(--ease);
    padding: 0.8rem var(--gutter) 1.4rem;
  }
  .is-scrolled .main-nav { inset: var(--header-h) 0 auto 0; }
  .main-nav.is-open { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a {
    padding: 0.9em 0;
    border-bottom: 1px solid transparent;
    transition: color 0.18s var(--ease);
  }
  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a:active {
    color: var(--crimson);
    border-bottom-color: transparent;
  }
  .nav-toggle { display: block; }
  .is-nav-open .nav-toggle span { background: transparent; }
  .is-nav-open .nav-toggle span::before { transform: rotate(45deg); background: var(--chocolate); }
  .is-nav-open .nav-toggle span::after { transform: rotate(-45deg); background: var(--chocolate); }

  .testimonials { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .hero__sound .hero__sound-label { display: none; }
  .scroll-cue { font-size: 0; gap: 0; }
  .scroll-cue svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__media video { display: none !important; }
  .hero__media .hero__fallback { display: block !important; }
  .reveal { opacity: 1; transform: none; }
}
.hero__fallback { display: none; }

/* ======================================================================
   PAGES INTÉRIEURES (univers, quiz, conseil, boutique…)
   Réutilisent l'en-tête, le pied, la typo et les composants de l'accueil.
   ====================================================================== */
.site-header.site-header--solid {
  background: var(--cream);
  color: var(--chocolate);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(74, 27, 12, 0.45);
}
.page-main { padding-top: calc(var(--announce-h, 34px) + var(--header-h)); }

/* Cadre crème réutilisable (comme les photos encadrées de l'accueil). */
.framed {
  margin: 0;
  padding: 14px 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  box-shadow: 0 40px 70px -28px rgba(35, 12, 4, 0.5);
}
.framed > img { display: block; width: 100%; border-radius: 5px; filter: none; }

/* Bloc de fermeture centré : grande citation + boutons. */
.closing { text-align: center; }
.closing__quote {
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 1rem + 3.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.closing__by {
  display: block;
  margin-top: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}
.center-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

/* Petite étiquette « note de voix » (joual). */
.voice-note {
  margin-top: 2rem;
  padding: 20px 22px;
  background: var(--chocolate);
  color: var(--cream);
  border: 0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  max-width: 42ch;
  box-shadow: 0 16px 34px -26px rgba(35, 12, 4, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.voice-note:hover {
  transform: translateY(-6px) rotate(-0.6deg) scale(1.015);
  box-shadow: 0 30px 48px -22px rgba(35, 12, 4, 0.55);
}
.voice-note b { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: 0.4em; opacity: 0.7; }
@media (prefers-reduced-motion: reduce) { .voice-note:hover { transform: none; } }

/* Sur les pages intérieures, la 1re colonne du .split porte souvent l'image. */
.split--media-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 1000px) {
  .split--media-first { grid-template-columns: 1fr; }
}

/* ======================================================================
   PAGE « CONSEIL DU JOUR »
   ====================================================================== */
.cotd-hero { text-align: center; }
.cotd-hero .eyebrow,
.cotd-hero .display-2,
.cotd-hero .section__lead { margin-inline: auto; }
.cotd-hero .section__lead { max-width: 46ch; }

.cotd-card {
  max-width: 760px;
  margin: 2.8rem auto 0;
  background: rgba(255, 255, 255, 0.34);
  color: var(--chocolate);
  border: 1px solid rgba(74, 27, 12, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}
.cotd-card__date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.cotd-card__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1rem + 2.4vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0.8em 0 0.55em;
  min-height: 3.2em;
}
.cotd-caret {
  display: inline-block;
  width: 2px;
  margin-left: 2px;
  background: var(--chocolate);
  animation: cotd-blink 1s steps(1) infinite;
}
@keyframes cotd-blink { 50% { opacity: 0; } }
.cotd-card__by {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cotd-card__actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
/* « Comment ça marche » : 3 points */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 44px);
  margin-top: 2.8rem;
}
.how-grid h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  opacity: 0.7;
}
.how-grid p { margin: 0; font-size: 0.98rem; }
.how-grid .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--terracotta);
}
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; } }

/* Boîte de partage (image générée) */
.share-box {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(35, 12, 4, 0.72);
  backdrop-filter: blur(3px);
  padding: 20px;
}
.share-box__inner {
  background: var(--cream);
  color: var(--chocolate);
  border-radius: var(--radius-lg);
  padding: 22px;
  width: min(420px, 92vw);
  text-align: center;
}
.share-box canvas {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.share-box__hint { font-size: 0.85rem; opacity: 0.7; margin: 0.9rem 0 0; }
.share-box__actions {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ======================================================================
   PAGE « QUIZ » — machine à états intro / questions / résultat
   ====================================================================== */
.qz {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.qz [hidden] { display: none !important; }

/* -- Intro -- */
.qz-intro .badge { margin-top: 1.6rem; }
.qz-intro__fig,
.qz-intro .qz-intro__fig {
  width: min(520px, 84vw);
  margin: 0 auto 2.2rem;
}
.qz-intro__fig img { display: block; width: 100%; border-radius: 10px; }
.qz-intro .btn { margin-top: 2rem; }
.qz-intro__fine {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(253, 245, 230, 0.62);
}

/* -- Questions -- */
.qz-progress {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}
.qz-bar {
  height: 3px;
  border-radius: 999px;
  background: rgba(253, 245, 230, 0.22);
  margin: 0.8rem auto 2.2rem;
  max-width: 340px;
  overflow: hidden;
}
.qz-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cream);
  transition: width 0.4s var(--ease);
}
.qz-qtext {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 2.2vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 auto 1.8rem;
  max-width: 22ch;
}
.qz-choices {
  display: grid;
  gap: 0.7rem;
  text-align: left;
}
.qz-choice {
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.4;
  padding: 0.95em 1.15em;
  border-radius: 12px;
  border: 1.5px solid rgba(253, 245, 230, 0.3);
  background: rgba(253, 245, 230, 0.06);
  color: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.12s var(--ease);
}
.qz-choice:hover { background: rgba(253, 245, 230, 0.14); border-color: rgba(253, 245, 230, 0.55); }
.qz-choice:active { transform: scale(0.99); }
.qz-choice.is-picked { background: var(--cream); color: var(--evergreen); border-color: var(--cream); }
.qz-back {
  margin-top: 1.6rem;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.75;
}
.qz-back:hover { opacity: 1; }

/* -- Carte-résultat -- */
.qz-card {
  background: var(--cream);
  color: var(--chocolate);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 6vw, 56px) clamp(24px, 5vw, 44px);
  box-shadow: 0 40px 80px -30px rgba(16, 38, 36, 0.6);
  position: relative;
}
.qz-card::after {
  content: "★";
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1rem;
  color: var(--terracotta);
}
.qz-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.qz-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1rem + 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.5em 0 0.6em;
}
.qz-card__desc { font-size: 1rem; line-height: 1.6; margin: 0; }
.qz-card__tip {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 1.4rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.qz-card__by {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
.qz-result__actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
@keyframes qz-flip {
  from { opacity: 0; transform: perspective(1200px) rotateY(-24deg) translateY(20px) scale(0.94); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: perspective(1200px) rotateY(0) translateY(0) scale(1); }
}
.qz-card--in { animation: qz-flip 0.75s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .qz-card--in { animation: none; } }

/* ======================================================================
   PAGE « BOUTIQUE »
   ====================================================================== */
.shop-hero { text-align: center; }
.shop-hero .eyebrow,
.shop-hero .display-2,
.shop-hero .section__lead { margin-inline: auto; }
.shop-hero .section__lead { max-width: 48ch; }

/* Le livre : image + détails côte à côte */
.book-media { align-self: start; }

.book__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.05rem, 1rem + 0.55vw, 1.28rem);
  line-height: 1.5;
  border-left: 2px solid rgba(253, 245, 230, 0.32);
  padding-left: 1.1rem;
  margin: 1.6rem 0 1.8rem;
  max-width: 46ch;
  color: rgba(253, 245, 230, 0.82);
}
.section--cream .book__quote,
.section--cream-deep .book__quote { color: var(--ink-soft); border-left-color: var(--line); }

/* Liste d'offres (numérotée / numérique, ou par tirage) */
.offer-list { margin: 1.8rem 0 0; }
.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.3rem 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(253, 245, 230, 0.18);
}
.offer:last-child { border-bottom: 1px solid rgba(253, 245, 230, 0.18); }
.section--cream .offer { border-top-color: var(--line); }
.section--cream .offer:last-child { border-bottom-color: var(--line); }
.offer__name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offer__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.offer__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.86rem;
  opacity: 0.66;
  max-width: 44ch;
}

/* Note fine sous les boutons d'achat */
.buy-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.7;
  max-width: 46ch;
}

/* Tirages : les deux dessins encadrés */
.tirages-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 52px);
  margin-top: 2.6rem;
}
.tirages-duo .framed { align-self: start; }
.tirages-duo figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
@media (max-width: 560px) { .tirages-duo { grid-template-columns: 1fr; gap: 32px; } }

/* Sur la boutique, .how-grid sert de grille de prix : le « num » = le prix */
#tirages .how-grid .num { font-size: 1.9rem; letter-spacing: -0.02em; }

/* Aperçu gratuit du livre : 4 Picoss-Conseils tirés des pages */
.picoss-preview { text-align: center; }
.picoss-preview .eyebrow,
.picoss-preview .display-2,
.picoss-preview .section__lead { margin-inline: auto; }
.picoss-preview .section__lead { max-width: 52ch; }

.picoss-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 3vw, 28px);
  margin-top: 3rem;
  text-align: left;
}
.picoss-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(74, 27, 12, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
}
.picoss-card__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.68;
}
.picoss-card__title {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  margin: 0.4em 0 0.6em;
}
.picoss-card p { margin: 0; font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 680px) { .picoss-grid { grid-template-columns: 1fr; } }

.picoss-preview__note {
  margin: 2.4rem auto 0;
  max-width: 48ch;
  font-size: 0.85rem;
  opacity: 0.72;
}

/* ======================================================================
   PAGE « HISTOIRES D'AMOUR »
   ====================================================================== */
.histoires-hero { text-align: center; }
.histoires-hero .eyebrow,
.histoires-hero .display-2,
.histoires-hero .section__lead,
.histoires-hero .histoires__counter { margin-inline: auto; }
.histoires-hero .section__lead { max-width: 54ch; }
.histoires-hero .histoires__counter { max-width: 26ch; margin-top: 2rem; }

/* Mosaïque de témoignages : réutilise .testimonials / .testimonial */
.mosaique .testimonials { margin-top: 2.6rem; }

/* Formulaire « Partager notre histoire » (stub V1) */
.story-form {
  max-width: 620px;
  margin: 2.6rem auto 0;
  display: grid;
  gap: 1.3rem;
  text-align: left;
}
.story-form .field { display: grid; gap: 0.45rem; }
.story-form label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.story-form label .opt {
  opacity: 0.55;
  text-transform: none;
  letter-spacing: 0.03em;
}
.story-form input,
.story-form textarea {
  font: inherit;
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius);
  border: 1.5px solid rgba(253, 245, 230, 0.4);
  background: rgba(253, 245, 230, 0.06);
  color: var(--cream);
}
.story-form input::placeholder,
.story-form textarea::placeholder { color: rgba(253, 245, 230, 0.45); }
.story-form input:focus-visible,
.story-form textarea:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.story-form input[type="file"] { padding: 0.62em 0.8em; font-size: 0.9rem; }
.story-form input[type="file"]::file-selector-button {
  font: inherit;
  font-size: 0.78rem;
  margin-right: 0.8em;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  border: 1.5px solid rgba(253, 245, 230, 0.4);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.story-form textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.story-form .count {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.story-form .count.is-bad { color: #f0b884; opacity: 0.95; }
.story-form .btn { justify-self: start; margin-top: 0.4rem; }
.story-form__done {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.moderation-note {
  margin: 1.5rem auto 0;
  max-width: 48ch;
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.62;
  text-align: center;
}

/* ======================================================================
   PAGE « COUPLE TABAROUETTE DE L'ANNÉE » (liste d'intérêt)
   ====================================================================== */
.interest { text-align: center; }
.interest .eyebrow,
.interest .display-2,
.interest .section__lead { margin-inline: auto; }
.interest .section__lead { max-width: 46ch; }
.interest .section__lead + .section__lead { margin-top: 1rem; }

.interest-form { margin-top: 2.6rem; }
.interest-form .btn {
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

.legal-note {
  margin: 1.3rem auto 0;
  max-width: 44ch;
  font-size: 0.78rem;
  line-height: 1.55;
  opacity: 0.6;
}
/* Sur fond rouge, l'opacité réduite tombe sous le seuil de contraste AA — on la remonte. */
.section--crimson .legal-note { opacity: 0.78; }

/* ======================================================================
   POLISH PROFESSIONNEL : accessibilité, navigation, retour visuel
   ====================================================================== */

/* Lien d'évitement, visible seulement au clavier */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 100;
  background: var(--chocolate);
  color: var(--cream);
  padding: 0.8em 1.2em;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 30px -14px rgba(35, 12, 4, 0.6);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Filet de sécurité pour le focus clavier, partout où rien de plus précis
   n'est déjà défini. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 2px;
}

/* Lien actif dans la navigation principale */
.main-nav a[aria-current="page"] {
  border-bottom-color: currentColor;
  font-weight: 700;
}

/* Barre de progression de lecture, en haut de l'écran */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 70;
  pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--crimson);
  transition: width 0.12s linear;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress span { transition: none; }
}

/* Bouton flottant « retour en haut » */
.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--chocolate);
  background: var(--cream);
  color: var(--chocolate);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 34px -18px rgba(35, 12, 4, 0.55);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--chocolate); color: var(--cream); }
@media (max-width: 680px) {
  .back-to-top { width: 42px; height: 42px; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.2s linear; transform: none; }
}

/* ======================================================================
   FAQ (boutique)
   ====================================================================== */
.faq {
  max-width: 760px;
  margin: 2.8rem auto 0;
  display: grid;
  gap: 0.9rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(74, 27, 12, 0.03);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1em 1.3em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 1.3em 1.3em;
  font-size: 0.94rem;
  line-height: 1.6;
  opacity: 0.78;
  max-width: 58ch;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
}

/* ======================================================================
   Option cadeau (boutique — offres du livre)
   ====================================================================== */
.gift-opt { grid-column: 1 / -1; margin-top: 0.3rem; }
.gift-opt label {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: 0.86rem;
  cursor: pointer;
}
.gift-opt input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--crimson);
  flex: none;
}
.gift-opt__price {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  opacity: 0.65;
}
.gift-opt__desc {
  margin: 0.35rem 0 0 1.9em;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.65;
}
.gift-note {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.7em 0.9em;
  font: inherit;
  font-size: 0.88rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(253, 245, 230, 0.4);
  background: rgba(253, 245, 230, 0.06);
  color: var(--cream);
  min-height: 4rem;
  resize: vertical;
}
.section--cream .gift-note {
  border-color: var(--line);
  background: rgba(74, 27, 12, 0.04);
  color: var(--chocolate);
}
.gift-note::placeholder { color: currentColor; opacity: 0.5; }

/* ======================================================================
   Barre d'achat collante (mobile, boutique)
   ====================================================================== */
.sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8em clamp(16px, 4vw, 28px);
  background: var(--chocolate);
  color: var(--cream);
  box-shadow: 0 -14px 30px -18px rgba(35, 12, 4, 0.55);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy__info { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-buy__name {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.sticky-buy__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
}
.sticky-buy .btn { flex: none; }
@media (max-width: 680px) {
  .sticky-buy { display: flex; }
  body.has-sticky-buy .back-to-top { bottom: calc(clamp(16px, 3vw, 32px) + 62px); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-buy { transition: none; }
}

/* ======================================================================
   Compte à rebours (Couple Tabarouette de l'année)
   ====================================================================== */
.countdown {
  display: flex;
  gap: clamp(10px, 2.4vw, 22px);
  margin: 1.6rem 0;
}
.interest .countdown { justify-content: center; }
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 0.7em 0.4em;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  opacity: 0.92;
}
.countdown__item span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.countdown__item small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.2em;
}

/* ======================================================================
   Confirmation de formulaire (infolettre, histoires, liste d'intérêt)
   ====================================================================== */
.form-done {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: form-done-in 0.5s var(--ease) both;
}
.form-done__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0.95rem;
}
.form-done p {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
@keyframes form-done-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .form-done { animation: none; }
}
.form-error {
  margin: 0.8rem 0 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ======================================================================
   Bandeau de consentement aux cookies
   ====================================================================== */
.cookie-banner {
  position: fixed;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--chocolate);
  color: var(--cream);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  animation: cookie-banner-in 0.5s var(--ease) both;
}
.cookie-banner p { margin: 0; font-size: 0.88rem; line-height: 1.5; max-width: 42ch; }
.cookie-banner a { color: var(--cream); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex: none; }
.cookie-banner .btn--ghost { border-color: rgba(253, 245, 230, 0.5); }
.cookie-banner .btn--ghost:hover { background: var(--cream); color: var(--chocolate); border-color: var(--cream); }
@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* ======================================================================
   Petit message temporaire (toast)
   ====================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  max-width: min(420px, calc(100vw - 2.4rem));
  background: var(--chocolate);
  color: var(--cream);
  padding: 0.9em 1.3em;
  border-radius: 999px;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 16px 34px -20px rgba(35, 12, 4, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.2s linear; transform: translate(-50%, 0); }
}
