/* =========================================================
   Golden Puffs — Site web
   Design system extracted from Figma file zP5Y59g9syTkH6zr0oN7ac
   ========================================================= */

:root {
  /* Semantic colors */
  --bg-base: #f8f1e3;          /* cream */
  --bg-inverse: #4a2317;       /* chocolat */
  --bg-deep: #2a130d;          /* chocolat profond */
  --bg-surface: #ffffff;
  --bg-accent-gold: #d4b074;
  --bg-accent-warm: #b8431b;

  --fg-base: #1a1208;
  --fg-muted: #5c4a38;
  --fg-on-dark: #f8f1e3;
  --fg-on-gold: #4a2317;
  --fg-accent-gold: #d4b074;
  --fg-accent-warm: #b8431b;

  --border-subtle: #b89a8e;
  --border-on-card: rgba(74, 35, 23, 0.12);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-wide: 1280px;
  --container: 1200px;
  --container-narrow: 960px;
  --container-tight: 820px;

  --section-padding-x: clamp(20px, 5.5vw, 80px);
  --section-padding-y: clamp(56px, 8vw, 80px);

  /* Effects */
  --wonk: 'SOFT' 0, 'WONK' 1;
  /* Custom easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --transition-fast: 240ms var(--ease-out-quart);
  --transition: 420ms var(--ease-out-quart);
  --transition-slow: 720ms var(--ease-out-expo);
  --transition-cinematic: 1100ms var(--ease-out-expo);
}

/* =========================================================
   Reset & base
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--fg-base);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

input, textarea, select { font: inherit; color: inherit; }

/* Anneau de focus clavier cohérent (souris : pas d'anneau grâce à
   :focus-visible). Couleur or = identité de marque. */
:focus-visible {
  outline: 2px solid var(--bg-accent-gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Sur fonds foncés (nav, drawer, sections choc), anneau plus clair */
.nav :focus-visible,
.mobile-drawer :focus-visible,
.bg-choc :focus-visible,
.bg-inverse :focus-visible,
.final-cta :focus-visible,
.footer :focus-visible {
  outline-color: var(--bg-accent-gold);
}
/* Les champs de formulaire gèrent déjà leur focus via box-shadow */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }

/* Lien d'évitement clavier (skip to content) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30000;
  background: var(--bg-accent-gold);
  color: var(--fg-on-gold);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: top 200ms var(--ease-out-quart);
}
.skip-link:focus { top: 16px; }

/* Wrapping de base pour TOUT le site : « pretty » évite les orphelins en
   fin de paragraphe (texte courant). Les titres et labels courts passent
   en « balance » plus bas pour un découpage de lignes équilibré. */
body { text-wrap: pretty; }

p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 900; text-wrap: balance; }

/* Labels et légendes courts : équilibrage des lignes pour une bonne alchimie. */
.eyebrow, .card-tag, .col-head, .stat-label, .stat-caption, .link-arrow, .lead, .subtitle { text-wrap: balance; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--bg-accent-gold); color: var(--fg-on-gold); }

/* =========================================================
   Typography
   ========================================================= */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variation-settings: var(--wonk);
  line-height: 1;
}
.display em, .display i, .display .italic {
  font-style: italic;
  font-variation-settings: var(--wonk);
}

.h-hero  { font-size: clamp(56px, 9vw, 120px); line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; }
.h1      { font-size: clamp(48px, 7.2vw, 88px);  line-height: 1;    letter-spacing: -0.02em; text-wrap: balance; }
.h2      { font-size: clamp(40px, 5.2vw, 64px);  line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.h3      { font-size: clamp(32px, 4vw, 48px);    line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.h4      { font-size: clamp(24px, 2.6vw, 32px);  line-height: 1.18; letter-spacing: -0.005em; text-wrap: balance; }

.body-xl    { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.5;  letter-spacing: -0.01em; text-wrap: pretty; }
.body-lg    { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; text-wrap: pretty; }
.body-base  { font-size: 16px; line-height: 1.625; text-wrap: pretty; }
.body-sm    { font-size: 14px; line-height: 1.57; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow .star { color: var(--fg-accent-gold); font-size: 15px; line-height: 1; }
.eyebrow.on-dark { color: var(--fg-on-dark); }
.eyebrow.on-light { color: var(--fg-base); }
.eyebrow.muted { color: var(--fg-muted); }

/* =========================================================
   Section intro — eyebrow + headline stacked vertically.
   Use on any section header to guarantee the eyebrow sits
   on its own line above the title with proper breathing room.
   ========================================================= */
.section-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.section-intro.align-left {
  align-items: flex-start;
  text-align: left;
  margin: 0;
}
.section-intro > .eyebrow { margin: 0; }
.section-intro > h1,
.section-intro > h2,
.section-intro > h3 { margin: 0; display: block; width: 100%; }

.muted { color: var(--fg-muted); }
.on-dark { color: var(--fg-on-dark); }
.gold { color: var(--fg-accent-gold); }

/* =========================================================
   Layout
   ========================================================= */

.section {
  position: relative;
  width: 100%;
  padding: var(--section-padding-y) var(--section-padding-x);
}
.section.bg-cream { background: var(--bg-base); color: var(--fg-base); }
.section.bg-choc  { background: var(--bg-inverse); color: var(--fg-on-dark); }
.section.bg-deep  { background: var(--bg-deep); color: var(--fg-on-dark); }
.section.bg-orange{ background: var(--bg-accent-warm); color: var(--fg-on-dark); }
.section.bg-surface { background: var(--bg-surface); color: var(--fg-base); }

.container       { width: 100%; max-width: var(--container);        margin: 0 auto; }
.container-wide  { width: 100%; max-width: var(--container-wide);   margin: 0 auto; }
.container-narrow{ width: 100%; max-width: var(--container-narrow); margin: 0 auto; }
.container-tight { width: 100%; max-width: var(--container-tight);  margin: 0 auto; }

.stack > * + * { margin-top: var(--stack-gap, 24px); }
.stack-8  { --stack-gap: 8px; }
.stack-12 { --stack-gap: 12px; }
.stack-16 { --stack-gap: 16px; }
.stack-24 { --stack-gap: 24px; }
.stack-32 { --stack-gap: 32px; }
.stack-40 { --stack-gap: 40px; }
.stack-48 { --stack-gap: 48px; }
.stack-56 { --stack-gap: 56px; }

.center-text { text-align: center; }
.center-x { margin-left: auto; margin-right: auto; }

.row {
  display: flex;
  gap: 32px;
  align-items: stretch;
}
.row.wrap { flex-wrap: wrap; }
.row.center { align-items: center; justify-content: center; }
.row.between { justify-content: space-between; align-items: center; }
.row.v-center { align-items: center; }
/* Desktop : alterne le sens (image à droite) pour la section Sweet Twist.
   Sur mobile, la media query 860px force la colonne + image en haut. */
.menu-split-reverse { flex-direction: row-reverse; }
/* Section « À vous de composer » : padding-top généreux sur desktop pour
   laisser passer la vague crème en haut (réduit sur mobile, voir 560px). */
.menu-composez { padding-top: 120px; }

.grow { flex: 1; min-width: 0; }

/* =========================================================
   Wave dividers (SVG inline as data URI)
   The cream wave SVG, used between sections.
   ========================================================= */

.wave {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  line-height: 0;
}
.wave svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 1400ms var(--ease-out-expo);
  will-change: transform;
}
/* Slow scroll-tied drift handled in JS via translateX style */

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #F8F1E3;
  height: 88px;
  padding: 20px clamp(16px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(74, 35, 23, 0.08); }

.nav-logo {
  height: 64px;
  flex-shrink: 0;
  color: var(--fg-on-gold);
  display: flex;
  align-items: center;
}
.nav-logo svg { height: 100%; width: auto; }
.nav-logo .logo-img { height: 100%; width: auto; display: block; }

/* Brand logo image — used in header, mobile drawer, footer */
.logo-img { height: 56px; width: auto; display: block; object-fit: contain; }
.logo-img-lg { height: 96px; }

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: var(--fg-base);
  position: relative;
  padding: 4px 0;
  transition: color 320ms var(--ease-out-quart);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bg-accent-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 520ms var(--ease-out-expo);
}
.nav-links a:hover,
.nav-links a.active { color: var(--bg-accent-warm); }
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
/* Conteneur historique du faux switch « FR · DE · EN ».
   Le sélecteur réel est construit par script.js dans .lang-switch.
   On masque tout contenu texte résiduel pour éviter le flash. */
.lang-switch { font-size: 0; }

/* =========================================================
   Sélecteur de langue (dropdown) — header + drawer
   ========================================================= */
.lang-select {
  position: relative;
  display: inline-flex;
  font-size: 12px;
  white-space: nowrap;
}
.lang-select__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-base);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.lang-select__btn:hover { background: rgba(74, 35, 23, 0.06); color: var(--bg-accent-warm); }
.lang-select__btn .chev {
  width: 9px;
  height: 9px;
  transition: transform var(--transition);
}
.lang-select[aria-expanded="true"] .lang-select__btn .chev { transform: rotate(180deg); }
.lang-select[aria-expanded="true"] .lang-select__btn { background: rgba(74, 35, 23, 0.06); }

.lang-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 132px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(74, 35, 23, 0.16);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 60;
}
.lang-select[aria-expanded="true"] .lang-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-select__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-base);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.lang-select__menu a:hover { background: var(--bg-cream, #f8f1e3); color: var(--bg-accent-warm); }
.lang-select__menu a .code {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--fg-muted);
}
.lang-select__menu a[aria-current="true"] {
  color: var(--bg-accent-warm);
  font-weight: 700;
}
.lang-select__menu a[aria-current="true"] .code { color: var(--bg-accent-warm); }

/* Variante drawer mobile (fond foncé) */
.mobile-drawer .lang-select__btn { color: var(--fg-on-dark); }
.mobile-drawer .lang-select__btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--fg-on-dark); }
.mobile-drawer .lang-select[aria-expanded="true"] .lang-select__btn { background: rgba(255, 255, 255, 0.1); }
/* Dropdown s'ouvre vers le haut dans le drawer pour ne pas couvrir le bouton Contact */
.mobile-drawer .lang-select__menu {
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(6px);
}
.mobile-drawer .lang-select[aria-expanded="true"] .lang-select__menu {
  transform: translateY(0);
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.nav-burger:hover { background: rgba(0, 0, 0, 0.04); }
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg-base);
  position: relative;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-burger span::before,
.nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--fg-base);
  transition: transform var(--transition);
}
.nav-burger span::before { top: -7px; }
.nav-burger span::after  { top: 7px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 480ms var(--ease-out-expo),
    box-shadow 480ms var(--ease-out-expo),
    background 320ms var(--ease-out-quart),
    color 320ms var(--ease-out-quart);
  text-decoration: none;
  border: 0;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transform: translateX(-110%);
  transition: transform 900ms var(--ease-out-expo);
  z-index: 0;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(110%); }
.btn > * { position: relative; z-index: 1; }
.btn .arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 380ms var(--ease-out-expo);
  display: inline-block;
}
.btn:hover .arrow { transform: translateX(6px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 120ms; }

.btn-primary {
  background: var(--bg-accent-gold);
  color: var(--fg-on-gold);
  box-shadow: 0 6px 18px -4px rgba(212, 176, 116, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 14px 32px -8px rgba(212, 176, 116, 0.6);
  background: #dcb87f;
}

.btn-warm {
  background: var(--bg-accent-warm);
  color: var(--fg-on-dark);
  box-shadow: 0 6px 18px -4px rgba(184, 67, 27, 0.45);
}
.btn-warm:hover {
  box-shadow: 0 14px 32px -8px rgba(184, 67, 27, 0.6);
  background: #cf4d22;
}

.btn-cream {
  background: #F8F1E3;
  color: var(--bg-inverse);
  box-shadow: 0 6px 18px -4px rgba(42, 19, 13, 0.4);
}
.btn-cream:hover {
  background: #fffaf0;
  box-shadow: 0 14px 32px -8px rgba(42, 19, 13, 0.5);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid var(--fg-on-dark);
  color: var(--fg-on-dark);
}
.btn-outline-light:hover {
  background: var(--fg-on-dark);
  color: var(--fg-on-gold);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
}
.btn-sm .arrow { font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-accent-gold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 320ms var(--ease-out-quart);
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 520ms var(--ease-out-expo);
}
.link-arrow:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.link-arrow .arrow {
  font-size: 18px;
  display: inline-block;
  transition: transform 420ms var(--ease-out-expo);
}
.link-arrow:hover .arrow { transform: translateX(8px); }
.link-arrow:hover { color: #e6c489; }

/* =========================================================
   Logo (SVG inline as background fallback / placeholder)
   ========================================================= */

.logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-accent-gold);
  color: var(--fg-on-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  flex-direction: column;
  border: 2px solid var(--bg-accent-gold);
  position: relative;
  font-variation-settings: var(--wonk);
}
.logo-badge::before,
.logo-badge::after {
  content: '✦';
  position: absolute;
  font-style: normal;
  font-size: 7px;
  color: var(--fg-on-gold);
  opacity: 0.9;
}
.logo-badge::before { left: 6px; top: 50%; transform: translateY(-50%); }
.logo-badge::after  { right: 6px; top: 50%; transform: translateY(-50%); }
.logo-badge .top,
.logo-badge .bot { font-size: 7px; letter-spacing: 0.06em; font-style: normal; }
.logo-badge .mid { font-size: 13px; line-height: 1; }

.logo-badge.lg { width: 88px; height: 88px; }
.logo-badge.lg .mid { font-size: 18px; }
.logo-badge.lg .top, .logo-badge.lg .bot { font-size: 8px; }
.logo-badge.lg::before, .logo-badge.lg::after { font-size: 9px; }

/* =========================================================
   Image placeholders (since we use placeholders for images)
   ========================================================= */

.placeholder {
  background: linear-gradient(135deg, #c89b6a 0%, #b8431b 50%, #8a3415 100%);
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  font-variation-settings: var(--wonk);
}
.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 200, 120, 0.55), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(74, 35, 23, 0.45), transparent 55%);
  pointer-events: none;
}
.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 60%, rgba(255, 220, 160, 0.35) 0 6%, transparent 7%),
    radial-gradient(circle at 75% 30%, rgba(255, 220, 160, 0.3) 0 5%, transparent 6%),
    radial-gradient(circle at 58% 72%, rgba(255, 220, 160, 0.25) 0 7%, transparent 8%),
    radial-gradient(circle at 40% 38%, rgba(255, 220, 160, 0.3) 0 4%, transparent 5%);
  pointer-events: none;
}
.placeholder span { position: relative; z-index: 1; opacity: 0.85; }
.placeholder.choc { background: linear-gradient(135deg, #6b3a26 0%, #4a2317 60%, #2a130d 100%); }
.placeholder.gold { background: linear-gradient(135deg, #e8c98a 0%, #d4b074 50%, #b8945b 100%); color: #4a2317; }

/* Image-fill variant: when a placeholder hosts a real photo.
   Suppresses the gradient + dot decorations so the photo shows clean. */
.placeholder.has-image { background: var(--bg-inverse); }
.placeholder.has-image::before,
.placeholder.has-image::after { display: none; }
.placeholder.has-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.placeholder.has-image > span { display: none; }

/* Split-card image overlay: keeps the warm/choc tint over the photo. */
.split-card.has-image .placeholder.has-image {
  opacity: 1;
  z-index: 0;
}
.split-card.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 8, 4, 0.15) 0%, rgba(20, 8, 4, 0.75) 100%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 520ms var(--ease-out-expo);
}
.split-card.has-image:hover::after { opacity: 0.85; }
.split-card.has-image > *:not(.placeholder):not(.split-card-reveal) { z-index: 1; position: relative; }
.split-card.has-image > .split-card-reveal { z-index: 2; position: absolute; }

/* AboutTeaser illustration sits on cream — keep transparent / no chrome */
.placeholder.bare {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.placeholder.bare::before, .placeholder.bare::after { display: none; }
.placeholder.bare > img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* AboutTeaser illustration (cream bg, transparent PNG, centered below text) */
.about-teaser-illu {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 24px auto 0;
  background: transparent;
  animation: float-soft 8s ease-in-out infinite;
  transition: transform 800ms var(--ease-out-expo), filter 800ms var(--ease-out-expo);
}
.about-teaser-illu:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 24px 40px rgba(184, 67, 27, 0.18));
}

/* FinalCTA image background — replaces the gradient inside .final-cta-bg */
.final-cta-bg.has-image { background: var(--bg-deep); }
.final-cta-bg.has-image::after { display: none; }
.final-cta-bg.has-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.final-cta-bg.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 8, 4, 0.55), rgba(20, 8, 4, 0.65));
  z-index: 1;
}

/* =========================================================
   Cards
   ========================================================= */

.card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  color: var(--fg-base);
  transition:
    transform 620ms var(--ease-out-expo),
    box-shadow 620ms var(--ease-out-expo);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -16px rgba(74, 35, 23, 0.22);
}
.card .placeholder {
  transition: transform 1400ms var(--ease-out-expo);
}
.card:hover .placeholder { transform: scale(1.05); }
.card .card-title {
  transition: color 380ms var(--ease-out-quart);
}
.card:hover .card-title { color: var(--bg-accent-warm); }

.card-body { padding: 32px; }
.card-body.pad-lg { padding: 40px; }

.card-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--fg-accent-gold);
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.005em;
  color: var(--fg-base);
}
.card-desc { color: var(--fg-muted); }

/* Big split cards (Home B2B / B2C)
   Layout: eyebrow + title sit in the main flex column, anchored ~halfway
   up from the bottom. Body copy + link are positioned absolutely BELOW
   the title (in the reserved padding-bottom zone) so they reveal on
   hover without ever moving the title. */
.split-card {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-xl);
  padding: 56px 56px 56px;
  overflow: hidden;
  position: relative;
  color: var(--fg-on-dark);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  transition:
    transform 520ms var(--ease-out-expo),
    box-shadow 520ms var(--ease-out-expo);
  will-change: transform;
  backface-visibility: hidden;
}
.split-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 30px 60px -20px rgba(74, 35, 23, 0.35);
}
.split-card .placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 1;
  z-index: 0;
}
/* Photo zooms slightly on hover */
.split-card .placeholder > img {
  transition: transform 1500ms var(--ease-out-expo);
  will-change: transform;
}
.split-card:hover .placeholder > img { transform: scale(1.06); }

.split-card.warm { background: var(--bg-accent-warm); }
.split-card.choc { background: var(--bg-inverse); }
.split-card > * { position: relative; z-index: 1; }
.split-card > .placeholder { position: absolute; z-index: 0; }
.split-card > .split-card-reveal { position: absolute; z-index: 2; }

/* (Title micro-shift removed — superseded by the slide-up reveal below) */

/* Reveal-on-hover wrapper: positioned just below the title.
   On hover, the title slides UP and the subtitle/link slide in
   underneath — a coordinated "card opens" motion. */
.split-card .split-card-reveal {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
  pointer-events: none;
}
/* Split-card title — à peine moins grand que .h2, pour laisser
   respirer la carte et fluidifier le mouvement au survol. */
.split-card h3.h2 { font-size: clamp(34px, 4.4vw, 54px); }
/* Réserve une hauteur de titre constante (jusqu'à 3 lignes) et cale le texte
   en bas : ainsi, quelle que soit la longueur du titre, la dernière ligne — et
   donc le bloc révélé en dessous — s'aligne parfaitement entre les deux cartes. */
.split-card h3 {
  min-height: calc(1.06em * 3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.split-card .reveal-on-hover {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 560ms var(--ease-smooth),
    transform 560ms var(--ease-smooth);
  transition-delay: 60ms;
  will-change: opacity, transform;
}
.split-card .reveal-on-hover.link-arrow { transition-delay: 140ms; }

/* Title + eyebrow slide up on hover to clear room for the subtitle below */
.split-card h3,
.split-card > .eyebrow {
  transition: transform 600ms var(--ease-smooth);
  will-change: transform;
}
.split-card:hover h3,
.split-card:focus-visible h3,
.split-card.is-touch-active h3,
.split-card:hover > .eyebrow,
.split-card:focus-visible > .eyebrow,
.split-card.is-touch-active > .eyebrow {
  transform: translate3d(0, -136px, 0);
}
.split-card:hover .split-card-reveal,
.split-card:focus-visible .split-card-reveal,
.split-card.is-touch-active .split-card-reveal { pointer-events: auto; }
.split-card:hover .reveal-on-hover,
.split-card:focus-visible .reveal-on-hover,
.split-card.is-touch-active .reveal-on-hover {
  opacity: 0.92;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.split-card:hover .reveal-on-hover.link-arrow,
.split-card:focus-visible .reveal-on-hover.link-arrow,
.split-card.is-touch-active .reveal-on-hover.link-arrow {
  opacity: 1;
}

/* The arrow inside the on-hover CTA gets its own slide-in */
.split-card .reveal-on-hover.link-arrow .arrow {
  transform: translateX(-6px);
  transition: transform 620ms var(--ease-out-expo) 200ms;
}
.split-card:hover .reveal-on-hover.link-arrow .arrow { transform: translateX(0); }
.split-card:hover .reveal-on-hover.link-arrow:hover .arrow { transform: translateX(8px); }

/* On touch devices (no real hover), the reveal block leaves the absolute
   overlay and flows statically BELOW the title — no overlap, no tap-to-open. */
@media (hover: none) {
  .split-card > .split-card-reveal,
  .split-card.has-image > .split-card-reveal {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .split-card .reveal-on-hover {
    opacity: 1;
    max-height: 260px;
    transform: none;
    pointer-events: auto;
  }
  .split-card .reveal-on-hover.link-arrow .arrow { transform: none; }
  .split-card { gap: 24px; }
  /* No hover on touch: the title never needs to slide up */
  .split-card.is-touch-active h3,
  .split-card.is-touch-active > .eyebrow { transform: none; }
}

/* Respect reduced motion — disable the slide transition, but keep
   the hover-reveal behaviour: opacity still toggles on hover, just
   without the animation. */
@media (prefers-reduced-motion: reduce) {
  .split-card .reveal-on-hover {
    transform: none;
    transition: none;
  }
}

/* Event list */
.event-list { display: flex; flex-direction: column; gap: 12px; }
.event-item {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px 20px 32px;
  min-height: 96px;
  position: relative;
  overflow: hidden;
  transition:
    transform 520ms var(--ease-out-expo),
    box-shadow 520ms var(--ease-out-expo),
    border-color 320ms var(--ease-out-quart);
}
.event-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--bg-accent-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 520ms var(--ease-out-expo);
}
.event-item:hover::before { transform: scaleY(1); }
.event-item:hover {
  transform: translateX(6px);
  border-color: var(--bg-accent-gold);
  box-shadow: 0 14px 30px -10px rgba(74, 35, 23, 0.15);
}
.event-item .day,
.event-item .title,
.event-item .event-cta {
  transition: color 380ms var(--ease-out-quart), transform 380ms var(--ease-out-quart);
}
.event-item:hover .day { color: var(--bg-accent-warm); }
.event-item:hover .title { color: var(--bg-accent-warm); }
.event-item:hover .event-cta { transform: translateX(4px); }
.event-date {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 64px;
}
.event-date .day {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: 40px;
  line-height: 44px;
  color: var(--fg-base);
}
.event-date .my {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.1em;
  color: var(--fg-accent-gold);
  text-transform: uppercase;
}
.event-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.event-info .title {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: 22px;
  line-height: 1.2;
  color: var(--fg-base);
}
.event-info .meta { font-size: 14px; line-height: 22px; color: var(--fg-muted); }
.event-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-accent-gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* =========================================================
   Testimonials
   ========================================================= */

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-on-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
  position: relative;
  transition:
    transform 620ms var(--ease-out-expo),
    box-shadow 620ms var(--ease-out-expo),
    border-color 320ms var(--ease-out-quart);
}
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 12px;
  right: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 80px;
  line-height: 1;
  color: var(--bg-accent-gold);
  opacity: 0;
  transform: translateY(8px) rotate(-6deg);
  transition: opacity 620ms var(--ease-out-expo), transform 620ms var(--ease-out-expo);
  pointer-events: none;
}
.testimonial-card:hover::before {
  opacity: 0.18;
  transform: translateY(0) rotate(0);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(74, 35, 23, 0.2);
  border-color: var(--bg-accent-gold);
}
.testimonial-card .quote {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-variation-settings: var(--wonk);
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.01em;
  color: var(--bg-inverse);
}
.testimonial-card .author .name {
  font-weight: 700;
  font-size: 14px;
  color: var(--bg-inverse);
}
.testimonial-card .author .role {
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* =========================================================
   Final CTA banner (image bg w/ overlay + cream wave on top)
   ========================================================= */

.final-cta {
  position: relative;
  width: 100%;
  /* Uniform height across all end-of-page CTAs, content centred. */
  min-height: 640px;
  padding: 120px clamp(20px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fg-on-dark);
  overflow: hidden;
}
.final-cta > .final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(3, 0, 0, 0.4), rgba(3, 0, 0, 0.5)),
    linear-gradient(135deg, #6b3a26 0%, #4a2317 40%, #2a130d 100%);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.final-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(232, 167, 89, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184, 67, 27, 0.22), transparent 50%);
}
.final-cta > *:not(.final-cta-bg) { position: relative; z-index: 1; }
.final-cta .top-wave { z-index: 2; }

/* Uniform CTA content block — same layout on every page; only image + text vary */
.final-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.final-cta-content > * { margin: 0; }
.final-cta-content .body-lg { max-width: 640px; opacity: .85; }
.final-cta-content .cta-actions { margin-top: 8px; }

/* =========================================================
   Forms
   ========================================================= */

.form {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}
.form-row > .field { flex: 1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.field label .req { color: var(--bg-accent-warm); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  color: var(--fg-base);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-muted); opacity: 0.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--bg-accent-gold);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(212, 176, 116, 0.25);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%235c4a38' d='M6 8L0 0h12z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* Retour utilisateur après soumission (devis, contact, newsletter) */
.form-status {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--fg-base);
  background: rgba(212, 176, 116, 0.18);
  border-left: 3px solid var(--bg-accent-gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0;
}
.form-status.is-error {
  color: var(--bg-accent-warm);
  background: rgba(184, 67, 27, 0.1);
  border-left-color: var(--bg-accent-warm);
}
.footer .form-status {
  color: var(--fg-on-dark);
  background: rgba(212, 176, 116, 0.14);
  margin-top: 12px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--bg-inverse);
  color: var(--fg-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 64px;
  padding: 80px clamp(20px, 5vw, 80px) 64px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
/* Logo footer plus grand, aligné à gauche avec le texte.
   La marge négative compense l'espace transparent à gauche du PNG
   pour que le cercle du logo soit visuellement flush avec « La famille ». */
.footer-brand .logo-img-lg { height: 140px; margin-left: -14px; }
.footer-brand .tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-variation-settings: var(--wonk);
  font-size: 28px;
  line-height: 34px;
  color: var(--fg-on-dark);
}
.footer-social { display: flex; gap: 18px; align-items: center; margin-top: 4px; }
.footer-social a { color: var(--fg-on-dark); opacity: 0.7; transition: opacity 0.2s; display: flex; align-items: center; }
.footer-social a:hover { opacity: 1; }
/* Icônes réseaux sociaux légèrement agrandies (override des width/height inline du SVG). */
.footer-social a svg { width: 24px; height: 24px; }
/* Email + villes du bloc brand un peu plus lisibles. */
.footer-brand .body-sm { font-size: 15px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col .col-head {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--fg-accent-gold);
  text-transform: uppercase;
}
.footer-col a {
  font-size: 16px;
  line-height: 26px;
  color: var(--fg-on-dark);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--fg-accent-gold); }
.footer-newsletter { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-newsletter .body { font-size: 14px; line-height: 22px; color: var(--fg-on-dark); }
.email-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--fg-accent-gold);
  border-radius: var(--radius-md);
}
.email-input input {
  flex: 1;
  background: transparent;
  border: 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--fg-on-dark);
  min-width: 0;
}
.email-input input:focus { outline: 0; }
.email-input input::placeholder { color: var(--fg-on-dark); opacity: 0.85; }
.email-input button {
  background: var(--bg-accent-gold);
  color: var(--fg-on-gold);
  width: 64px;
  height: 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition-fast);
}
.email-input button:hover { background: #c19a5a; }

.press-band {
  background: var(--bg-deep);
  padding: 24px clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.press-band .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fg-accent-gold);
  text-transform: uppercase;
}
.press-band .dash {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--fg-on-dark);
  opacity: 0.7;
}
.legal-bar {
  background: var(--bg-deep);
  padding: 20px clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.legal-bar .copyright {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg-on-dark);
  opacity: 0.7;
  text-transform: uppercase;
}
.legal-bar .legal-links { display: flex; gap: 32px; }
.legal-bar a {
  font-size: 12px;
  color: var(--fg-on-dark);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.legal-bar a:hover { opacity: 1; }

/* =========================================================
   Filter pills (Events page)
   ========================================================= */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--fg-base);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pill:hover { border-color: var(--bg-accent-gold); color: var(--bg-accent-warm); }
.pill.active {
  background: var(--bg-inverse);
  color: var(--fg-on-dark);
  border-color: var(--bg-inverse);
}

/* =========================================================
   Flavor groups (Menu page) — mis en évidence + chips bordés
   ========================================================= */

/* Titre de groupe « LES 5 PARFUMS » — plus marqué que le card-tag */
.flavor-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-inverse);
}
.flavor-group-head::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--bg-accent-gold);
  flex-shrink: 0;
}
.flavor-group-head .count {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-variation-settings: var(--wonk);
  font-size: 18px;
  letter-spacing: 0;
  color: var(--bg-accent-warm);
}

/* Chips — chaque parfum dans un badge bordé, style bouton designé */
.flavor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Resserre le bloc parfums : titre de groupe ↔ chips ↔ note.
   Annule le grand gap du .stack-24 parent uniquement ici, pour un
   bloc cohérent et compact. */
.stack > .flavor-group-head + .flavor-chips,
.flavor-group-head + .flavor-chips { margin-top: 12px; }
.stack > .flavor-chips + p,
.flavor-chips + p { margin-top: 14px; }
.flavor-group-head { margin-top: 8px; }
.flavor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1.5px solid #B8431B;
  background: #B8431B;
  color: var(--fg-on-dark);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 320ms var(--ease-out-expo),
    border-color 280ms var(--ease-out-quart),
    background 280ms var(--ease-out-quart),
    color 280ms var(--ease-out-quart),
    box-shadow 320ms var(--ease-out-expo);
}
/* Petite étoile de marque devant chaque chip */
.flavor-chip::before {
  content: '✦';
  font-size: 11px;
  color: var(--bg-accent-gold);
  transition: color 280ms var(--ease-out-quart);
}
.flavor-chip:hover {
  transform: translateY(-2px);
  border-color: var(--bg-accent-gold);
  background: var(--bg-accent-gold);
  color: var(--fg-on-gold);
  box-shadow: 0 10px 24px -10px rgba(184, 67, 27, 0.5);
}
.flavor-chip:hover::before { color: var(--fg-on-gold); }

/* =========================================================
   Animations (scroll reveal)
   Reveals only hide once JS has tagged each element as
   pre-reveal. This guarantees content is visible if JS
   fails or before IntersectionObserver fires.
   ========================================================= */

.reveal-init {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 700ms var(--ease-out-expo),
    transform 700ms var(--ease-out-expo);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.reveal-init.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-init.is-revealed {
  will-change: auto;
}
.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }
.reveal-delay-5 { transition-delay: 300ms; }

/* Variant: slide in from the left */
.reveal-init.from-left { transform: translate3d(-32px, 0, 0); }
.reveal-init.from-left.in { transform: translate3d(0, 0, 0); }
.reveal-init.from-right { transform: translate3d(32px, 0, 0); }
.reveal-init.from-right.in { transform: translate3d(0, 0, 0); }

/* Variant: scale-in (used for images, hero photo) */
.reveal-init.scale-in {
  transform: translate3d(0, 24px, 0) scale(0.97);
}
.reveal-init.scale-in.in {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal-init { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   Ambient motion — floats, drifts, slow rotations
   ========================================================= */

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(0.6deg); }
}
.float-slow { animation: float-slow 9s ease-in-out infinite; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-soft { animation: float-soft 7s ease-in-out infinite; }

@keyframes drift-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
.drift-x { animation: drift-x 6s ease-in-out infinite; }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0); }
  50% { opacity: 0.55; transform: scale(0.92) rotate(15deg); }
}
.eyebrow .star { animation: twinkle 3.6s ease-in-out infinite; }
.eyebrow:nth-child(odd) .star { animation-delay: 0.6s; }
.eyebrow:nth-child(even) .star { animation-delay: 1.2s; }

@keyframes ken-burns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1.5%, -1%); }
  100% { transform: scale(1.12) translate(1%, 1.5%); }
}
.final-cta-bg.has-image > img {
  animation: ken-burns 28s ease-in-out infinite alternate;
}

@keyframes shimmer-line {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.01% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* =========================================================
   Display-title letter reveal (used on Hero h1)
   ========================================================= */

.split-text { display: block; }
.split-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* room for descenders + the italic Fraunces Black tails so the
     overflow:hidden clip never cuts the bottom of letters like the
     italic « où ? » / « réinventé. ». The negative margin cancels the
     padding so line spacing stays unchanged. */
  padding-bottom: 0.36em;
  margin-bottom: -0.36em;
}
.split-text .word > span {
  display: inline-block;
  transform: translate3d(0, 130%, 0);
  opacity: 0;
  transition:
    transform 800ms var(--ease-out-expo),
    opacity 600ms var(--ease-out-expo);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.split-text.in .word > span {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.split-text.in .word:nth-child(1) > span { transition-delay: 40ms; }
.split-text.in .word:nth-child(2) > span { transition-delay: 90ms; }
.split-text.in .word:nth-child(3) > span { transition-delay: 140ms; }
.split-text.in .word:nth-child(4) > span { transition-delay: 190ms; }
.split-text.in .word:nth-child(5) > span { transition-delay: 240ms; }
.split-text.in .word:nth-child(6) > span { transition-delay: 290ms; }
.split-text.in .word:nth-child(7) > span { transition-delay: 340ms; }
.split-text.in .word:nth-child(8) > span { transition-delay: 390ms; }

/* =========================================================
   Hero specific
   ========================================================= */

.hero {
  background: var(--bg-inverse);
  color: var(--fg-on-dark);
  padding: 80px clamp(20px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -160px;
  background: radial-gradient(circle, rgba(184, 67, 27, 0.45), transparent 70%);
  animation: drift-x 14s ease-in-out infinite;
}
/* Halo doré retiré côté image — il débordait derrière la photo
   et laissait une couleur qui « traînait ». On garde un seul halo
   orange discret, côté texte, pour la profondeur. */
.hero::after { display: none; }
.hero > * { position: relative; z-index: 1; }
.hero-image .placeholder.has-image > img {
  transition: transform 1800ms var(--ease-out-expo);
}
.hero-image:hover .placeholder.has-image > img { transform: scale(1.03); }
.hero-row {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-text { flex: 1; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero-image {
  flex-shrink: 0;
  width: clamp(320px, 40vw, 560px);
  aspect-ratio: 560 / 620;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
/* ── Rangée de CTAs : btn + link-arrow toujours alignés verticalement ── */
/* Règle globale : partout où .btn et .link-arrow coexistent dans un flex parent,
   le link-arrow reçoit la même hauteur que le bouton (54px = 16px pad × 2 + 22px line-height)
   afin que leurs centres soient sur la même ligne de base. */
.hero-cta-row,
.cta-row {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: center;
  padding-top: 8px;
}
.hero-cta-row .link-arrow,
.cta-row .link-arrow {
  display: inline-flex !important;
  align-items: center !important;
  height: 54px !important;
  padding: 0 !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-cta-row .link-arrow::after,
.cta-row .link-arrow::after {
  bottom: 16px;
}
@media (max-width: 480px) {
  .hero-cta-row, .cta-row { flex-wrap: wrap; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-cta-row .link-arrow, .cta-row .link-arrow { height: auto !important; }
}

/* Visuel « anatomie » sous le hero — l'image est détourée (fond
   transparent), elle se pose directement sur le fond du hero. */
.hero-anatomy {
  max-width: 1000px;
  margin: clamp(24px, 3.5vw, 40px) auto 0;
  background: transparent;
}
/* Quand le hero centré porte le visuel anatomie, on réduit fortement
   le padding bas : l'image apporte déjà sa propre respiration. */
.hero-center:has(.hero-anatomy) { padding-bottom: clamp(24px, 3vw, 40px); }
.hero-anatomy img {
  width: 100%;
  height: auto;
  display: block;
}

/* Centered text hero (Menu, About, Events, Contact) */
.hero-center {
  background: var(--bg-inverse);
  color: var(--fg-on-dark);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 80px);
  text-align: center;
}
.hero-center .inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer-brand, .footer-newsletter { grid-column: span 3; max-width: none; }
}

@media (max-width: 860px) {
  /* Mobile nav : logo à gauche, burger à droite, bord à bord.
     Le CTA et la nav desktop passent dans le menu burger. */
  .nav { justify-content: space-between; gap: 16px; }
  .nav-links, .nav-right .lang-switch, .nav-right .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-right { gap: 0; }

  /* Text-wrap mobile : balance sur tous les titres et pretty sur les corps.
     Sur mobile GSAP est souvent désactivé (reduced-motion) donc on force
     aussi sur .split-text pour couvrir les cas CSS-only. */
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .display, .split-text {
    text-wrap: balance;
    white-space: normal;
  }
  p, .body-xl, .body-lg, .body-base, .body-sm {
    text-wrap: pretty;
  }

  .hero-row { flex-direction: column; }
  .hero-image { width: 100%; max-width: 560px; }

  .row { flex-direction: column; }
  .row.keep-row { flex-direction: row; }

  /* Page Carte — sections Classic / Sweet Twist / Toppings :
     sur mobile l'image passe TOUJOURS en haut, pleine largeur bord à bord.
     On neutralise le row-reverse inline et on déborde le padding de section. */
  .menu-split { flex-direction: column; align-items: stretch; }
  .menu-split > .grow:first-child { order: -1; }
  .menu-split > .grow { width: 100%; }
  .menu-split .photo-block { width: 100%; }

  .form { padding: 32px 24px; }
  .form-row { flex-direction: column; }

  .split-card { padding: 40px 28px; min-height: 380px; }
  .split-card .placeholder { opacity: 0.4; }

  .event-item { flex-direction: row; flex-wrap: wrap; padding: 16px 20px; gap: 16px; }
  .event-date { min-width: 56px; }
  .event-date .day { font-size: 32px; line-height: 36px; }
  .event-cta { width: 100%; justify-content: flex-end; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-newsletter { grid-column: span 2; }
}

@media (max-width: 560px) {
  :root { --section-padding-x: 20px; --section-padding-y: 56px; }
  .hero { padding: 56px 20px; }
  .hero-center { padding: 64px 20px; }
  .form { padding: 24px 20px; border-radius: var(--radius-lg); }
  /* Footer mobile : on passe en colonne flex pour contrôler l'ordre.
     Les colonnes de liens viennent EN HAUT, et le bloc brand (logo +
     villes + réseaux sociaux) est repoussé TOUT EN BAS via order. */
  .footer-grid { display: flex; flex-direction: column; padding: 48px 20px 40px; gap: 36px; }
  .footer-col { order: 1; }
  .footer-newsletter { order: 2; }
  .footer-brand { order: 3; }
  /* Bloc brand centré, logo proportionné à la largeur, placé en bas. */
  .footer-brand { align-items: center; text-align: center; gap: 22px; margin-top: 8px; }
  .footer-brand .logo-img-lg { height: auto; width: min(60vw, 250px); margin-left: 0; }
  /* Textes agrandis pour la lisibilité mobile. */
  .footer-brand .body-sm { font-size: 17px; line-height: 1.7; }
  .footer-col a, .footer-newsletter .body { font-size: 17px; }
  .footer-col .col-head, .footer-newsletter .col-head { font-size: 13px; }
  .footer-social { gap: 24px; justify-content: center; }
  .footer-social a svg { width: 28px; height: 28px; }
  .legal-bar { flex-direction: column; gap: 16px; }
  .press-band { gap: 20px; padding: 20px; }
  .testimonial-card { padding: 28px 24px; }

  /* Titres : tailles réduites pour ne pas déborder sur petit écran */
  .h-hero { font-size: clamp(40px, 12vw, 56px); line-height: 1.02; }
  .h1     { font-size: clamp(36px, 10.5vw, 48px); line-height: 1.04; }
  .h2     { font-size: clamp(30px, 8.5vw, 40px); }
  .h3     { font-size: clamp(26px, 7vw, 32px); }
  .body-xl { font-size: clamp(17px, 4.6vw, 20px); }

  /* Mots longs (puff puff., réinventé.) : autoriser la coupure propre
     plutôt que le débordement hors écran. */
  .display { overflow-wrap: anywhere; word-break: normal; hyphens: none; }

  /* CTA fin de page : plus compact sur mobile (moins de hauteur et de
     padding vertical — la hauteur s'adapte au contenu). */
  /* Plus d'air en haut : le contenu (eyebrow + titre) ne doit pas coller
     à la vague crème qui chevauche le haut de la section sur mobile. */
  .final-cta { min-height: 0; padding: 104px 20px 64px; }

  /* Section « À vous de composer » (bas de page Carte) : padding vertical
     réduit sur mobile pour ne pas avoir un bloc trop haut. */
  .menu-composez { padding-top: 72px; padding-bottom: 56px; }
}

/* =========================================================
   Legal page (Mentions / CGV / Confidentialité)
   ========================================================= */

.legal-article {
  max-width: 820px;
  margin: 0 auto;
  color: var(--fg-base);
}
.legal-article h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 56px;
  margin-bottom: 16px;
}
.legal-article h2:first-of-type { margin-top: 0; }
.legal-article h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  margin-top: 32px;
  margin-bottom: 8px;
}
.legal-article p,
.legal-article li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-base);
}
.legal-article p { margin-bottom: 16px; }
.legal-article ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}
.legal-article ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.legal-article ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fg-accent-gold);
  font-weight: 700;
}
.legal-article a {
  color: var(--bg-accent-warm);
  border-bottom: 1px solid currentColor;
  transition: color var(--transition-fast);
}
.legal-article a:hover { color: var(--bg-inverse); }
.legal-article .meta {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-article .toc {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0 48px;
}
.legal-article .toc-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-accent-gold);
  margin-bottom: 12px;
}
.legal-article .toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  columns: 2;
  gap: 12px;
}
.legal-article .toc ol li {
  counter-increment: toc;
  padding-left: 28px;
  position: relative;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.45;
  break-inside: avoid;
}
.legal-article .toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: 14px;
  color: var(--fg-accent-gold);
}
.legal-article .toc a {
  color: var(--fg-base);
  border-bottom: 0;
}
.legal-article .toc a:hover { color: var(--bg-accent-warm); }
@media (max-width: 700px) {
  .legal-article .toc ol { columns: 1; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-inverse);
  color: var(--fg-on-dark);
  z-index: 20000; /* above cookie banner (10000) & panel (10001) */
  display: none;
  flex-direction: column;
  padding: 24px clamp(20px, 5vw, 40px);
  gap: 32px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}
.mobile-drawer nav a {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(248, 241, 227, 0.12);
}
.mobile-drawer nav a .italic { font-style: italic; }
.mobile-drawer .drawer-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-drawer-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  color: var(--fg-on-dark);
}
.mobile-drawer-close svg { width: 22px; height: 22px; }

/* =========================================================
   Photo-block — clean editorial fallback for image slots.
   Replaces the old dotted-gradient placeholder look. A solid
   brand surface + the Puff Constellation pattern (gold dots
   at 4 scales) + an optional eyebrow-style label. Reads as an
   intentional design block, never as a broken image.
   ========================================================= */

.photo-block {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fg-on-dark);
  background: var(--bg-inverse);
  isolation: isolate;
}
/* Puff Constellation — gold dots, 4 scales, low opacity. The
   signature pattern from DESIGN.md, rendered as layered radial
   gradients so it tiles cleanly with no extra assets. */
.photo-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, var(--gp-gold-dot, rgba(212,176,116,0.5)) 0 13px, transparent 14px),
    radial-gradient(circle at 76% 22%, var(--gp-gold-dot, rgba(212,176,116,0.5)) 0 8px,  transparent 9px),
    radial-gradient(circle at 62% 68%, var(--gp-gold-dot, rgba(212,176,116,0.5)) 0 18px, transparent 19px),
    radial-gradient(circle at 30% 82%, var(--gp-gold-dot, rgba(212,176,116,0.5)) 0 6px,  transparent 7px),
    radial-gradient(circle at 88% 78%, var(--gp-gold-dot, rgba(212,176,116,0.5)) 0 10px, transparent 11px),
    radial-gradient(circle at 46% 14%, var(--gp-gold-dot, rgba(212,176,116,0.5)) 0 4px,  transparent 5px),
    radial-gradient(circle at 8%  62%, var(--gp-gold-dot, rgba(212,176,116,0.5)) 0 5px,  transparent 6px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.photo-block > * { position: relative; z-index: 1; }
.photo-block .pb-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-variation-settings: var(--wonk);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  padding: 24px;
  max-width: 80%;
}
.photo-block.choc   { background: var(--bg-inverse); }
.photo-block.orange { background: var(--bg-accent-warm); }
.photo-block.gold   { background: var(--bg-accent-gold); color: var(--fg-on-gold); --gp-gold-dot: rgba(74,35,23,0.35); }
.photo-block.deep   { background: var(--bg-deep); }

/* When a real photo lives inside a photo-block, hide the pattern */
.photo-block.has-image { background: var(--bg-inverse); }
.photo-block.has-image::before { display: none; }
.photo-block.has-image > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.photo-block.has-image > .pb-label { display: none; }

/* =========================================================
   Initials portrait — elegant stand-in for team photos.
   Big monogram + gold ring on a brand surface. Reads as a
   considered editorial choice, not a missing image.
   ========================================================= */

.initials-portrait {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-accent-warm);
  isolation: isolate;
}
.initials-portrait.choc { background: var(--bg-inverse); }
.initials-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 22%, rgba(232,167,89,0.30), transparent 55%),
    radial-gradient(circle at 72% 80%, rgba(42,19,13,0.45), transparent 55%);
  z-index: 0;
}
.initials-portrait .monogram {
  position: relative;
  z-index: 1;
  width: clamp(120px, 16vw, 168px);
  height: clamp(120px, 16vw, 168px);
  border-radius: 50%;
  border: 2px solid var(--bg-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-variation-settings: var(--wonk);
  font-size: clamp(56px, 8vw, 84px);
  line-height: 1;
  color: var(--fg-on-dark);
}
.initials-portrait .star-mark {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  color: var(--fg-accent-gold);
  font-size: 14px;
  letter-spacing: 0.3em;
}

/* =========================================================
   CTA contrast on orange sections — the gold button blends
   into the brûlé orange and reads washed out. On orange, the
   chocolate button gives the premium gold-on-choc contrast
   prescribed by the design system.
   ========================================================= */
.bg-orange .btn-primary,
.section.bg-orange .btn-primary {
  background: var(--bg-inverse);
  color: var(--fg-accent-gold);
  box-shadow: 0 6px 18px -4px rgba(42, 19, 13, 0.45);
}
.bg-orange .btn-primary:hover,
.section.bg-orange .btn-primary:hover {
  background: var(--bg-deep);
  box-shadow: 0 14px 32px -8px rgba(42, 19, 13, 0.6);
}

/* =========================================================
   Global mobile safety — prevent horizontal scroll
   ========================================================= */
html, body { overflow-x: hidden; }
.row > * { max-width: 100%; }

/* photo-block & initials portrait shrink cleanly on small screens */
@media (max-width: 860px) {
  .photo-block { min-height: 220px; }
  .initials-portrait { height: 360px; }
}

/* =========================================================
   GSAP motion layer
   When animations.js loads GSAP, <html> gets `gsap-on`.
   GSAP then owns the reveal motion, so we neutralise the
   CSS-only .reveal-init transitions to avoid double-play.
   (If GSAP fails to load, this block is inert and the CSS
   fallback in script.js keeps working.)
   ========================================================= */
html.gsap-on .reveal-init {
  opacity: 1;
  transform: none;
  transition: none;
}
html.gsap-on .split-text .word > span {
  transition: none;
}
/* Sur mobile, après animation GSAP, on réactive text-wrap balance
   sur le conteneur .split-text (les spans inline-block sont réabsorbés
   par GSAP une fois l'animation terminée via is-revealed). */
@media (max-width: 860px) {
  html.gsap-on .split-text.is-revealed {
    text-wrap: balance;
  }
  html.gsap-on .split-text.is-revealed .word {
    display: inline;
    overflow: visible;
  }
  html.gsap-on .split-text.is-revealed .word > span {
    display: inline;
  }
}
/* GSAP sets autoAlpha (visibility+opacity); keep will-change tidy */
html.gsap-on [data-split],
html.gsap-on .reveal { backface-visibility: hidden; }

/* =========================================================
   Custom cursor — discreet golden ring + dot (desktop only)
   ========================================================= */
.gp-cursor-on { cursor: none; }
.gp-cursor-on a,
.gp-cursor-on button,
.gp-cursor-on .btn,
.gp-cursor-on input,
.gp-cursor-on select,
.gp-cursor-on textarea,
.gp-cursor-on .flavor-chip,
.gp-cursor-on .pill { cursor: none; }

/* The beignet cursor — centered via negative margin so GSAP can own the
   transform (x / y / rotation) without fighting a CSS translate here. */
.gp-cursor-puff {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 100000; /* above cookie banner (10000) & panel (10001) */
  will-change: transform, width, height, opacity;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  background: url("assets/cursor-puff.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(42, 19, 13, 0.35));
  transition: width 0.25s var(--ease-out-expo), height 0.25s var(--ease-out-expo), opacity 0.3s ease;
}
/* Grow the beignet slightly on interactive targets */
.gp-cursor-hover .gp-cursor-puff {
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
}
.gp-cursor-hidden .gp-cursor-puff { opacity: 0; }

/* Never show the custom cursor on touch / coarse pointers */
@media (hover: none), (pointer: coarse) {
  .gp-cursor-on, .gp-cursor-on * { cursor: auto; }
  .gp-cursor-puff { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-cursor-puff { display: none; }
}

/* =========================================================
   Cookie consent — banner + preferences panel
   Brand-aligned (chocolat / crème / doré), responsive, a11y.
   ========================================================= */
.gp-cc * { box-sizing: border-box; }
.gp-cc-btn,
.gp-cc-link,
.gp-cc-close,
.gp-cc-switch { cursor: pointer; }
.gp-cursor-on .gp-cc-btn,
.gp-cursor-on .gp-cc-link,
.gp-cursor-on .gp-cc-close,
.gp-cursor-on .gp-cc-switch { cursor: none; }

/* ---- Banner (bottom-left card) ---- */
.gp-cc-banner {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 10000;
  width: min(420px, calc(100vw - 32px));
  background: var(--bg-inverse);
  color: var(--fg-on-dark);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: 0 24px 60px -16px rgba(20, 8, 4, 0.55);
  border: 1px solid rgba(212, 176, 116, 0.18);
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 560ms var(--ease-out-expo), opacity 480ms ease, visibility 0s linear 480ms;
}
.gp-cc-banner.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 560ms var(--ease-out-expo), opacity 480ms ease;
}
.gp-cc-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: var(--wonk);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg-on-dark);
  margin: 0 0 10px;
}
.gp-cc-star { color: var(--fg-accent-gold); font-style: normal; }
.gp-cc-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-on-dark);
  opacity: 0.85;
  margin: 0 0 20px;
}
.gp-cc-link { color: var(--fg-accent-gold); text-decoration: underline; text-underline-offset: 2px; }
.gp-cc-link:hover { color: #e6c489; }

.gp-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gp-cc-btn {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease-out-expo), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.gp-cc-btn:hover { transform: translateY(-1px); }
.gp-cc-btn-solid {
  background: var(--bg-accent-gold);
  color: var(--fg-on-gold);
}
.gp-cc-btn-solid:hover { background: #dcb87f; }
.gp-cc-btn-ghost {
  background: transparent;
  color: var(--fg-on-dark);
  border-color: rgba(248, 241, 227, 0.4);
}
.gp-cc-btn-ghost:hover { border-color: var(--fg-accent-gold); color: var(--fg-accent-gold); }

/* ---- Preferences panel (centered modal) ---- */
.gp-cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(20, 8, 4, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 360ms ease, visibility 0s linear 360ms;
}
.gp-cc-overlay.open { opacity: 1; visibility: visible; transition: opacity 360ms ease; }
.gp-cc-panel {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-base);
  color: var(--fg-base);
  border-radius: var(--radius-lg);
  padding: 32px clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 80px -20px rgba(20, 8, 4, 0.6);
  transform: translateY(16px) scale(0.98);
  transition: transform 420ms var(--ease-out-expo);
}
.gp-cc-overlay.open .gp-cc-panel { transform: translateY(0) scale(1); }
.gp-cc-panel .gp-cc-title { color: var(--fg-base); font-size: 26px; margin: 0; }
.gp-cc-panel .gp-cc-text { color: var(--fg-muted); opacity: 1; }
.gp-cc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gp-cc-close {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--fg-muted);
  background: rgba(74, 35, 23, 0.06);
  transition: background 0.2s ease, color 0.2s ease;
}
.gp-cc-close:hover { background: rgba(74, 35, 23, 0.12); color: var(--fg-base); }

.gp-cc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border-on-card);
}
.gp-cc-row-info { display: flex; flex-direction: column; gap: 4px; }
.gp-cc-row-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--fg-base);
}
.gp-cc-row-desc { font-size: 13px; line-height: 1.5; color: var(--fg-muted); max-width: 360px; }

/* ---- toggle switch ---- */
.gp-cc-switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; margin-top: 2px; }
.gp-cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gp-cc-slider {
  position: absolute; inset: 0;
  background: #cdbfa8;
  border-radius: 999px;
  transition: background 0.25s ease;
}
.gp-cc-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.28s var(--ease-out-expo);
}
.gp-cc-switch input:checked + .gp-cc-slider { background: var(--bg-accent-warm); }
.gp-cc-switch input:checked + .gp-cc-slider::before { transform: translateX(20px); }
.gp-cc-switch input:disabled + .gp-cc-slider { background: var(--bg-accent-gold); opacity: 0.6; }
.gp-cc-switch input:focus-visible + .gp-cc-slider { outline: 2px solid var(--bg-accent-warm); outline-offset: 2px; }

.gp-cc-panel .gp-cc-actions { margin-top: 24px; }
.gp-cc-panel .gp-cc-btn-ghost { color: var(--fg-base); border-color: var(--border-subtle); }
.gp-cc-panel .gp-cc-btn-ghost:hover { border-color: var(--bg-accent-warm); color: var(--bg-accent-warm); }

body.gp-cc-lock { overflow: hidden; }

@media (max-width: 560px) {
  .gp-cc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px; }
  .gp-cc-actions { flex-direction: column; }
  .gp-cc-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-cc-banner, .gp-cc-overlay, .gp-cc-panel, .gp-cc-slider::before { transition: none; }
}

/* =========================================================
   Jobs — page carrière (cartes alimentées par jobs-loader.js)
   ========================================================= */
.jobs-list { display: flex; flex-direction: column; gap: 28px; }
.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-on-card);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 10px 40px rgba(74, 35, 23, 0.06);
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--bg-accent-gold), var(--bg-accent-warm));
}
.job-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 12px;
}
.job-head-main { flex: 1; min-width: 240px; }
.job-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.1;
  letter-spacing: -0.01em; color: var(--fg-base); text-wrap: balance;
}
.job-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.job-chip {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-accent-warm); background: rgba(212, 176, 116, 0.18);
  border: 1px solid rgba(212, 176, 116, 0.5);
  border-radius: 999px; padding: 6px 14px;
}
.job-apply { flex-shrink: 0; }
.job-intro {
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6;
  color: var(--fg-muted); max-width: 720px; margin-bottom: 8px; text-wrap: pretty;
}
.job-columns {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-on-card);
}
.job-block-title {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-accent-warm); margin-bottom: 14px;
}
.job-block-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.job-block-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--fg-base); }
.job-block-list li::before { content: '✦'; position: absolute; left: 0; top: 1px; color: var(--fg-accent-gold); font-size: 12px; }
.job-card-empty { text-align: center; padding: clamp(40px, 6vw, 64px); }
.job-card-empty .job-intro { margin: 12px auto 0; }
@media (max-width: 900px) {
  .job-columns { grid-template-columns: 1fr; gap: 28px; }
  .job-apply { width: 100%; justify-content: center; }
}

/* ── Formulaire de candidature (page Jobs) ── */
.apply-form .hint { font-size: 13px; line-height: 1.5; color: var(--fg-muted); margin: 0; }
.apply-form input[type=file] {
  width: 100%;
  background: var(--bg-base);
  border: 1.5px dashed rgba(74, 35, 23, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-muted);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.apply-form input[type=file]:hover,
.apply-form input[type=file]:focus {
  outline: 0;
  border-color: var(--bg-accent-gold);
  background: var(--bg-surface);
}
.apply-form input[type=file]::file-selector-button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-inverse);
  background: var(--bg-accent-gold);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  margin-right: 12px;
  cursor: pointer;
}
.apply-form input[name=_gotcha] { display: none !important; }
.apply-form button[type=submit] { align-self: flex-start; }
@media (max-width: 640px) {
  .apply-form .form-row { flex-direction: column; }
  .apply-form button[type=submit] { align-self: stretch; justify-content: center; }
}
