/* @font-face — héritées de styles.css (chargé avant ce fichier).
   Les 5 fontes (Fraunces, Cormorant Garamond, Inter, JetBrains Mono)
   sont déclarées une seule fois dans styles.css avec les bons ranges
   font-weight propres au brandbook (300-700 Fraunces, 400-600 Inter
   et Cormorant, 400-500 JetBrains Mono) — pas de synthèse fake-bold. */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --err: #C0392B;            /* rouge erreur formulaire (tokenisé — audit 2026-06-11) */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --gutter: clamp(18px, 3.5vw, 44px);
}

/* Palettes data-palette="ivoire|boheme|encre" : héritées de styles.css.
   Couleurs identiques — pas besoin de redéfinir ici. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); overflow-x: clip; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55; /* aligné sur le body standard du site — spec 15-texte */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Type ─────────────────────────────────────────────────────────────── */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mono b { color: var(--ink); font-weight: 500; }

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  letter-spacing: -.012em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}
.logo-em { color: var(--accent); }
/* .logo-infty : héritée de styles.css (définition identique, conforme spec logo v32-e). */

/* ── Page shell ──────────────────────────────────────────────────────── */
.page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  isolation: isolate;
}

/* Backgrounds */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.23  0 0 0 0 0.21  0 0 0 0 0.19  0 0 0 .12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
html[data-palette="encre"] .grain { mix-blend-mode: screen; opacity: .2; }

/* ── Top bar ───────────────────────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter) 16px;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
}
.topbar-left, .topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.topbar-left .logo { font-size: 22px; }
.topbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}
.topbar-right { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.topbar-right .sep { color: var(--rule); }
.topbar-flag { width: 12px; height: 12px; border-radius: 2px; }

@media (max-width: 720px) {
  .topbar-tag { display: none; }
  .topbar-right .hide-sm { display: none; }
  .topbar-right .sep.hide-sm { display: none; }
}

/* ── Hero image (top, full bleed) ─────────────────────────────────────── */
.hero-spread {
  padding: 0 var(--gutter);
}
.hero-img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  background: var(--ink);
}
.hero-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.94) contrast(1.02);
}

/* Intro sous le bandeau photos — l'essentiel de Myweddoo (rôle lede, dessin
   porté par texte.css : Fraunces italique 300) */
.hero-intro {
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(16px, 1.8vw, 22px) 0 clamp(8px, 1.2vw, 12px);
}
/* ── Main editorial content ───────────────────────────────────────────── */
.main {
  position: relative;
  z-index: 4;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(36px, 5vw, 64px);
}
.content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.6vw, 32px);
}

/* .section-marker : dessin porté par titres.css (eyebrow canonique) */
.section-marker .num {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .1em;
}


/* tiret .cdline-label : porté par titres.css */

/* Wordmark display */
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "opsz" 144;   /* SOFT retiré : conforme spec logo v32-e (terminaisons nettes, = prod) */
  letter-spacing: -.022em;
  line-height: .85;
  font-size: clamp(64px, 20vw, 200px);
  margin: 0;
  color: var(--ink);
  white-space: nowrap;
}
/* .wordmark .logo-infty : ∞ XL identique à master (rond, non penché).
   Surcharge complète (font-size + marge + transform + origin) pour neutraliser
   la base expérimentale de styles.css sans toucher au SPA qui la partage. */
.wordmark .logo-infty {
  font-size: 1em;
  margin: 0 .02em 0 -.02em;
  transform-origin: center;
  transform: scaleY(.9) translateY(.06em);
}

/* Headline */
.headline {
  font-family: var(--serif);
  /* spec 14-titres : H2 droit 350, SOFT abandonné (opsz 60 = adapté à la taille 26-38px) */
  font-weight: 350;
  font-style: normal;
  font-variation-settings: "opsz" 60;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.headline em {
  font-style: italic;
  font-weight: 380; /* spec 14-titres : em = base + 30 */
  color: var(--accent);
}

/* Kicker */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
/* Mobile : column layout + dot caché → pas de point orphelin sur retour ligne */
@media (max-width: 600px) {
  .kicker { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kicker .dot { display: none; }
}
.kicker .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-mute);
}
.kicker .live {
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker .live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5fba7d;
  box-shadow: 0 0 0 0 rgba(95,186,125,.7);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95,186,125,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(95,186,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,186,125,0); }
}

/* ── Offer module ─────────────────────────────────────────────────────── */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;   /* meta à gauche, prix à droite (= master) */
  align-items: end;
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
@media (max-width: 720px) {
  .offer { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .offer-price-wrap { align-items: flex-start; }
}
.offer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
/* .offer-label : dessin porté par titres.css (eyebrow canonique) */
/* .offer-label::after retiré — le trait à droite n'existait que sur ce label,
   créait une incohérence avec les autres eyebrows. */
.offer-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}
.offer-body b { font-style: normal; color: var(--ink); font-weight: 500; }
.offer-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  max-width: 320px;
}
.offer-bar {
  position: relative;
  height: 4px;
  background: var(--bg-soft);
  overflow: hidden;
}
.offer-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--accent);
  transition: width 1.2s var(--ease-out);
}
.offer-meter-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.offer-meter-foot b { color: var(--ink); font-weight: 500; }

/* Price display */
.offer-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;          /* prix collé à droite (= master ; repasse à gauche < 720px) */
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}
.offer-price {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-variation-settings: "opsz" 144;   /* SOFT retiré + opsz 144 = chiffres nets de master */
  font-size: clamp(56px, 7.5vw, 96px);
  line-height: .85;
  color: var(--accent);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.offer-price sup {
  font-size: .28em;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .1em;
  margin-left: 6px;
  vertical-align: .9em;
  color: var(--ink-soft);
  font-family: var(--mono);
}
.offer-strike {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.offer-strike s { text-decoration: line-through; text-decoration-color: var(--accent); }

/* .offer est en single column à toutes les tailles (alignement éditorial cohérent) */

/* ── Form ─────────────────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 540px;
}
.form-row {
  display: flex;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--ink);
  align-items: stretch;
  gap: 8px;
  transition: border-color .2s var(--ease-out);
}
.form-row:focus-within { border-color: var(--accent); }
.form-row input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding: 14px 0 10px;
  outline: none;
  min-width: 0;
}
.form-row input::placeholder {
  color: var(--ink-mute);
}
/* .btn : dessin porté par boutons.css (grammaire canonique) */
.btn {
  white-space: nowrap;
  align-self: stretch;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* CTA principal "Réserver ma place" en terracotta (audit conversion — l'accent attire
   l'œil plus que le brun nuit, cohérent avec le pricing landing). */
.form-row .btn { background: var(--accent); }
.form-row .btn:hover { background: var(--accent-d); }
/* arrow + disabled : boutons.css */

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    border-bottom: none;
    gap: 0;
  }
  .form-row input {
    border-bottom: 1px solid var(--ink);
    padding: 14px 0 12px;
    font-size: 16px; /* évite le zoom auto iOS sur input < 16px */
    transition: border-color .2s var(--ease-out);
  }
  .form-row:focus-within input { border-color: var(--accent); }
  .form-row .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
    margin-top: 12px;
  }
}

.form-help {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
}
.form-help b { font-style: normal; color: var(--ink); font-weight: 500; }
.form-success {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 540px;
}
.form-success strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 18; /* SOFT retiré — spec 15-texte */
  color: var(--ink);
}
.form-success em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--serif);
}

/* ── Bottom inline countdown ──────────────────────────────────────────── */
.cdline {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 14px;
}
/* .cdline-label : dessin porté par titres.css (eyebrow canonique) */
.cdline-value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144;   /* SOFT retiré + opsz 144 = chiffres nets de master */
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cdline-units {
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
}
.cdline-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.cdline-unit small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* .edge-label : retiré 2026-05-30 (audit) — l'effet "Vol. 01 catalogue" jurait
   avec le ton artisan-hôtelier du brandbook. */

/* ── Marquee ──────────────────────────────────────────────────────────── */
.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 0;                 /* l'espacement inter-blocs passe en margin-right (couture seamless) */
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-right: 24px;     /* avance uniforme par bloc → translate -50% sans décalage */
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 14; /* SOFT retiré — spec 15-texte */
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: -.01em;
}
.marquee-track .sep {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1em;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ── Footer minimal : seulement la semelle légale (Confidentialité / Mentions légales / Team + meta).
   Markup en clair dans index.html, styles hérités de assets/site-footer.css.
   Override du padding-top : site-footer.css pose clamp(64-120px) en assumant 4 colonnes
   au-dessus de la semelle ; ici on a juste la semelle, donc on réduit. */
.footer {
  padding-top: 32px;
}
.footer-bottom {
  padding-top: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: .05s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .22s; }
.reveal[data-d="4"] { transition-delay: .30s; }
.reveal[data-d="5"] { transition-delay: .38s; }
.reveal[data-d="6"] { transition-delay: .46s; }
.reveal[data-d="7"] { transition-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ── Accès anticipé (porte codée) ─────────────────────────── */
.access-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 17px 12px;
  min-height: 44px;
  margin-left: 4px;
  cursor: pointer;
  border-left: 1px solid var(--rule);
  transition: color .2s var(--ease-out);
}
.access-trigger:hover { color: var(--accent); }
.access-trigger .key {
  width: 15px; height: 15px;
  opacity: 1;
  color: var(--accent);
}
.access-trigger:hover .key { opacity: 1; }
/* Mobile : on garde le texte « Accès anticipé » visible (demande Ulrich),
   on resserre le bouton pour qu'il tienne dans le topbar. */
@media (max-width: 720px) {
  .access-trigger { gap: 6px; padding: 17px 8px; font-size: 10px; letter-spacing: .08em; }
}

.access-panel {
  position: fixed;
  top: 64px;
  right: var(--gutter);
  z-index: 50;
  width: min(360px, calc(100vw - 32px));
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 60px -20px rgba(58,53,48,.35), 0 2px 0 0 var(--ink);
  padding: 18px 20px 20px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.access-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.access-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
/* .access-panel-title : dessin porté par titres.css (garde son tiret texte) */
.access-panel-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-mute);
}
.access-panel-lede {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.access-panel-lede b {
  font-style: normal;
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
}
.access-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--ink);
  transition: border-color .2s var(--ease-out);
}
.access-row:focus-within { border-color: var(--accent); }
.access-row.shake { animation: shake .4s var(--ease-in-out); border-color: var(--err); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.access-row input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 12px 0 10px;
  outline: none;
  min-width: 0;
}
.access-row input::placeholder {
  color: var(--ink-mute);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
}
.access-row .btn {
  padding: 10px 14px;
  font-size: 10px;
}
.access-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.access-foot .err { color: var(--err); opacity: 0; transition: opacity .2s var(--ease-out); }
.access-foot .err.show { opacity: 1; }
.access-close {
  background: transparent;
  border: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 4px 6px;
}
.access-close:hover { color: var(--ink); }

@media (max-width: 720px) {
  .access-panel { top: 56px; right: 12px; left: 12px; width: auto; }
}

/* ── Onboarding invité depuis site mariage partenaire ─────────────────── */
.access-trigger--invited {
  background: var(--accent);
  color: var(--paper);
  border-left-color: var(--accent);
  border-radius: 4px;
  position: relative;
  animation: invited-ping 2s ease-in-out 4 forwards;
}
.access-trigger--invited:hover {
  color: var(--paper);
  background: var(--accent-d);
}
.access-trigger--invited .key {
  opacity: 1;
  transform-origin: 50% 50%;
  animation: key-fremir .7s ease-out 1.6s 1 both;
}
@keyframes invited-ping {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(194, 98, 65, 0.5);
  }
  40% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(194, 98, 65, 0);
  }
}
@keyframes key-fremir {
  0%   { transform: rotate(0); }
  25%  { transform: rotate(-14deg); }
  50%  { transform: rotate(10deg); }
  75%  { transform: rotate(-5deg); }
  100% { transform: rotate(0); }
}
.access-trigger--invited::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: var(--accent-d);
  border-radius: 50%;
  border: 2px solid var(--paper);
  pointer-events: none;
}
.access-invited-banner {
  position: fixed;
  top: 64px;
  right: var(--gutter);
  z-index: 49;
  background: var(--paper);
  border: 1.5px solid rgba(194, 98, 65, 0.65);
  border-radius: 6px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft); /* était #5A4A3F hardcodé — spec 15-texte */
  max-width: 340px;
  box-shadow: 0 6px 20px -6px rgba(58,45,36,.22);
  animation:
    dramatic-entrance 1.1s cubic-bezier(.34, 1.4, .64, 1) 1.2s both,
    breathing-glow 3.5s ease-in-out 2.6s infinite,
    souffle 6s ease-in-out 3s 3 forwards;
}
.access-invited-banner b {
  font-style: normal;
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 500;
}
@keyframes dramatic-entrance {
  0%   { opacity: 0; transform: translateY(-120px) rotate(-3deg); }
  55%  { opacity: 1; transform: translateY(12px) rotate(.8deg); }
  72%  {              transform: translateY(-5px) rotate(-.5deg); }
  88%  {              transform: translateY(3px) rotate(.2deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes breathing-glow {
  0%, 100% {
    box-shadow: 0 6px 20px -6px rgba(58,45,36,.22),
                0 0 0 0 rgba(194, 98, 65, 0);
  }
  50% {
    box-shadow: 0 6px 20px -6px rgba(58,45,36,.22),
                0 0 28px 6px rgba(194, 98, 65, .30);
  }
}
/* Souffle organique — 80% repos, 20% mouvement micro. 3 cycles puis stop */
@keyframes souffle {
  0%, 80%, 100% { transform: translateY(0) scale(1); }
  88%           { transform: translateY(-1.5px) scale(1.008); }
  94%           { transform: translateY(-0.5px) scale(1.004); }
}

/* Mobile : remplacer le bandeau top-right par un bottom sheet actionnable */
.access-invited-sheet { display: none; }
@media (max-width: 720px) {
  .access-invited-banner { display: none; }
  .access-invited-sheet {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 49;
    background: var(--paper);
    border-top: 1.5px solid rgba(194, 98, 65, 0.55);
    border-radius: 16px 16px 0 0;
    padding: 18px 20px 22px;
    box-shadow: 0 -8px 24px -6px rgba(58, 45, 36, 0.18);
    animation: sheet-slide-up .55s cubic-bezier(.34, 1.2, .64, 1) .9s both;
  }
  @keyframes sheet-slide-up {
    0%   { opacity: 0; transform: translateY(110%); }
    65%  { opacity: 1; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
  }
}
.access-invited-sheet__text {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft); /* était #5A4A3F hardcodé — spec 15-texte */
}
.access-invited-sheet__text b {
  font-style: normal;
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 500;
}
.access-invited-sheet__label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.access-invited-sheet__chip {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1.5px solid rgba(194, 98, 65, 0.55);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
  animation: chip-appear .35s ease-out both;
}
@keyframes chip-appear {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.access-invited-sheet__cta {
  display: block;
  width: 100%;
  padding: 13px 18px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
}
.access-invited-sheet__cta:active { background: var(--accent-d); }
.access-invited-sheet__dismiss {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  background: none;
  border: 0;
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  min-height: 40px;
}

@media (prefers-reduced-motion: reduce) {
  .access-invited-banner,
  .access-invited-banner::after,
  .access-trigger--invited,
  .access-trigger--invited .key,
  .access-invited-sheet {
    animation: none !important;
  }
}
