:root {
  --deep: #043a45;
  --lagoon: #06737f;
  --aqua: #12b5b0;
  --foam: #e9fbf6;
  --cream: #fff7e6;
  --cream-2: #f6e9cb;
  --sand: #ecd19b;
  --palm: #0d5a37;
  --pink: #e8246f;
  --pink-hot: #ff4f93;
  --ink: #06323a;
  --ink-soft: #4a6d72;
  --line: rgba(6, 50, 58, 0.16);
  --line-light: rgba(255, 247, 230, 0.32);
  --ok: #128a55;
  --warn: #b86a00;
  --bad: #c62a3a;
  --display: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --script: "Pacifico", "Brush Script MT", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Barlow Condensed", "Arial Narrow", sans-serif;
  --syne: "Syne", "Arial", sans-serif;
  --radius: 22px;
  /* Mouvement : une seule courbe (expo out) et trois durées. Voir « Mouvement » plus bas. */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-ui: 0.18s;
  --t-state: 0.4s;
  --t-in: 0.8s;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--deep);
}
input, select, textarea { font-size: 16px !important; }
[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(1200px 700px at 85% -5%, rgba(120, 240, 225, 0.55), transparent 60%),
    radial-gradient(900px 600px at 0% 45%, rgba(4, 58, 69, 0.55), transparent 65%),
    linear-gradient(180deg, #0c9fa0 0%, #078089 34%, #05606b 68%, #043a45 100%);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  font-variant-numeric: lining-nums;
}
/* Reflets de l’eau : un réseau de caustiques (non répété, donc sans raccord) qui dérive lentement. */
body::before, body::after {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' preserveAspectRatio='none'%3E%3Cfilter id='c' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.0045 0.007' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  -11 0 0 0 1.5'/%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.75;
  animation: caustic 26s ease-in-out infinite alternate;
  will-change: transform;
}
body::after {
  opacity: 0.4;
  transform: scale(-1.25, 1.25);
  animation-name: caustic-b;
  animation-duration: 34s;
}
@keyframes caustic {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(3%, 2.5%, 0) scale(1.08); }
}
@keyframes caustic-b {
  from { transform: translate3d(3%, 2%, 0) scale(-1.25, 1.25); }
  to { transform: translate3d(-3%, -3%, 0) scale(-1.35, 1.35); }
}
body > * { position: relative; z-index: 1; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pink-hot); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, calc(100% - 2.4rem)); margin: 0 auto; }

/* ---------- Barre du haut ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 58, 69, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line-light);
}
.topbar-inner {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
.brand { justify-self: start; display: flex; align-items: center; gap: 0.65rem; min-width: 0; text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name strong { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 2.6vw, 1.25rem); letter-spacing: 0.04em; white-space: nowrap; }
.brand-name span { margin-top: 0.22rem; color: var(--sand); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.top-meta { display: flex; align-items: center; gap: 0.65rem; margin: 0; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.2em; text-transform: uppercase; }
.top-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--pink-hot); }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(232, 36, 111, 0.4);
  transition: background-color var(--t-ui) var(--ease), transform 0.12s var(--ease);
}
.header-cta:hover { background: var(--pink-hot); }
.header-cta:active { transform: scale(0.97); }

/* ---------- Accueil ---------- */

.hero {
  position: relative;
  padding: clamp(1.2rem, 4vw, 2.6rem) 0 1.4rem;
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Plage vue du ciel : sable, écume et palmiers dans le coin. */
.shore {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: min(120vh, 1100px);
  overflow: hidden;
  pointer-events: none;
}
.shore::before {
  content: "";
  position: absolute;
  --sand: clamp(400px, 64vw, 880px);
  left: calc(var(--sand) * -0.5);
  top: calc(var(--sand) * -0.6);
  width: var(--sand);
  height: var(--sand);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 40% 40%, #f7e3b6 0%, #ecd19b 62%, #e2c084 100%);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.75),
    0 0 0 26px rgba(233, 251, 246, 0.35),
    0 0 0 54px rgba(160, 240, 228, 0.22),
    0 0 90px 70px rgba(120, 240, 225, 0.3);
}
.palms { position: absolute; left: -70px; top: -80px; width: min(62vw, 520px); height: auto; transform-origin: 20% 20%; }
.palms.two { left: auto; right: -120px; top: auto; bottom: -40px; width: min(48vw, 380px); transform: rotate(160deg); opacity: 0.95; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.kicker {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: 0.4rem 1rem 0.42rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(232, 36, 111, 0.4);
}
.puffy {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.6rem, 17vw, 12.5rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
  transform: rotate(-5deg);
  text-shadow:
    0 -2px 0 #ffffff,
    0 2px 0 #f8ecd0,
    0 4px 0 #f1e0bb,
    0 6px 0 #e8d3a6,
    0 8px 0 #dcc592,
    0 10px 3px rgba(120, 96, 40, 0.35),
    18px 30px 22px rgba(3, 44, 52, 0.5);
}
.puffy span { display: block; }
.puffy .script {
  margin-top: -0.12em;
  font-family: var(--script);
  font-weight: 400;
  font-size: 0.62em;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  text-shadow:
    0 2px 0 #f8ecd0,
    0 4px 0 #ecd9b0,
    0 6px 2px rgba(120, 96, 40, 0.3),
    14px 22px 18px rgba(3, 44, 52, 0.5);
}
.tagline {
  margin: 2.2rem 0 0;
  font-weight: 600;
  font-size: clamp(1.05rem, 3vw, 1.7rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(3, 44, 52, 0.55);
}
.lede {
  max-width: 36rem;
  margin: 0.9rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(3, 44, 52, 0.6);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.5rem; }

/* Infos clés : une seule bande crème façon carte d’embarquement (perforations + encoches). */
.facts-wrap {
  position: relative;
  z-index: 1;
  margin: clamp(1.8rem, 4vw, 2.6rem) 0 0;
  filter: drop-shadow(0 22px 26px rgba(3, 44, 52, 0.38));
}
.facts {
  --notch: 13px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--radius);
  color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.38  0 0 0 0 0.18  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fffbf2, var(--cream) 45%, var(--cream-2));
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 50%, transparent 97%, #000 100%),
    radial-gradient(circle var(--notch) at 100% 50%, transparent 97%, #000 100%);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--notch) at 0 50%, transparent 97%, #000 100%),
    radial-gradient(circle var(--notch) at 100% 50%, transparent 97%, #000 100%);
  mask-composite: intersect;
}
.facts li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: center;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.6rem);
  min-width: 0;
}
.facts li:first-child { padding-left: clamp(1.5rem, 2.6vw, 2.1rem); }
.facts li:last-child { padding-right: clamp(1.5rem, 2.6vw, 2.1rem); }
.facts li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  border-left: 2px dashed rgba(6, 50, 58, 0.26);
}
.facts svg {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(232, 36, 111, 0.1);
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.facts span { align-self: end; color: var(--pink); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.facts b { align-self: start; margin-top: 0.15rem; font-family: var(--display); font-size: clamp(1.15rem, 1.75vw, 1.55rem); font-weight: 600; letter-spacing: 0; line-height: 1.08; text-wrap: balance; }
.facts b::first-letter { text-transform: uppercase; }

section { position: relative; }
.block { padding: clamp(2rem, 6vw, 3.6rem) 0 0.4rem; }
.eyebrow { margin: 0; color: var(--sand); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; }
.card .eyebrow, .panel .eyebrow { color: var(--pink); }
h2 {
  max-width: 20ch;
  margin: 0.45rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 3px 0 rgba(3, 44, 52, 0.28), 6px 12px 18px rgba(3, 44, 52, 0.35);
}

/* Cartes crème : tout le texte courant vit ici pour rester lisible sur l’eau. */
.card, .panel {
  background: linear-gradient(180deg, #fffaf0, var(--cream) 40%, var(--cream-2));
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.9rem);
  box-shadow: 0 2px 0 #fff inset, 0 22px 44px rgba(3, 44, 52, 0.36);
  min-width: 0;
}
.card h3, .panel h2 {
  margin: 0.35rem 0 0.55rem;
  max-width: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: none;
}
.card p:not([class]), .panel p.note, .faq details p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.panel p.note { margin-top: 1rem; }
.panel p.note a { color: var(--ink); font-weight: 700; }

.ticket {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  margin-top: 1.4rem;
  padding: 0;
  overflow: hidden;
}
.price, .reserve { padding: clamp(1.3rem, 3vw, 2rem); min-width: 0; }
.reserve { border-left: 2px dashed rgba(6, 50, 58, 0.28); background: rgba(236, 209, 155, 0.28); }
.amount { margin: 0.3rem 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(3.2rem, 9vw, 6rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); }
.amount small { display: inline-block; margin-left: 0.4rem; font-family: var(--sans); font-size: 0.26em; font-weight: 700; letter-spacing: 0.18em; vertical-align: 0.9em; }
.was { margin: 0.6rem 0 0; color: var(--pink); font-size: 0.98rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hurry { margin: 1.2rem 0 0; padding: 0.95rem 1.1rem 1rem; max-width: 34rem; border-radius: 16px; border: 2px solid rgba(232, 36, 111, 0.5); background: rgba(232, 36, 111, 0.07); }
.hurry p { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.hurry ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.hurry li { text-align: center; border-radius: 12px; background: #fff; padding: 0.45rem 0.15rem 0.4rem; }
.hurry li b { display: block; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-variant-numeric: tabular-nums; line-height: 1; }
.hurry li span { color: var(--ink-soft); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.left-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 100%;
}
.left-count::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(232, 36, 111, 0.2); }
.reserve-title { margin: 0.4rem 0 0; font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 600; line-height: 1.05; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid transparent;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 26px rgba(232, 36, 111, 0.4); }
.btn-primary:hover { background: var(--pink-hot); }
.btn-ghost { border-color: var(--cream); color: var(--cream); background: rgba(4, 58, 69, 0.35); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.card .btn-ghost, .panel .btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.card .btn-ghost:hover, .panel .btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-wave { background: #1dc8ff; color: #04202b; }
.btn-wave:hover { background: #5ad8ff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-bad { background: var(--bad); color: #fff; }
.btn-small { min-height: 38px; padding: 0.3rem 0.95rem; font-size: 0.86rem; letter-spacing: 0.1em; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.card .big { margin: 0.35rem 0 0.4rem; color: var(--ink); font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.05; }
.card .script-word { color: var(--pink); font-family: var(--script); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.7rem 0 0; padding: 0; list-style: none; }
.chips li { padding: 0.35rem 0.85rem 0.38rem; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.steps-list b { color: var(--pink); font-family: var(--display); font-size: 1.6rem; font-weight: 700; }

.faq-list { margin-top: 1.4rem; padding: 0.4rem clamp(1.2rem, 3vw, 1.9rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { position: relative; padding: 1.05rem 2.4rem 1.05rem 0; font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 700; letter-spacing: 0.04em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
/* Icône : un « + » dessiné (deux traits) ; à l’ouverture le trait vertical se couche → « − ». */
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 0.3rem; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--pink); transition: rotate var(--t-state) var(--ease); }
.faq summary::after { rotate: 90deg; }
.faq details.is-open summary::after { rotate: 0deg; }
.faq details p { padding: 0 0 1.15rem; max-width: 46rem; }

footer {
  margin-top: clamp(2rem, 6vw, 3.6rem);
  border-top: 1px solid var(--line-light);
  padding: 1.1rem 0 calc(1.4rem + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
footer a { text-decoration: none; border-bottom: 1px solid var(--line-light); }
.footer-nexa { font-family: var(--syne); text-transform: none; letter-spacing: 0.02em; }
.footer-nexa a { border-bottom: 0; }
.footer-nexa b { color: #7da2ff; font-weight: 800; }

/* ---------- Signature Nexa ---------- */

.nexa {
  position: relative;
  display: grid;
  gap: 0.15rem;
  justify-items: start;
  margin: clamp(2rem, 6vw, 3.6rem) 0 0;
  padding: clamp(1.2rem, 3vw, 1.7rem) clamp(1.2rem, 3vw, 1.9rem);
  border-radius: var(--radius);
  border: 1px solid rgba(47, 107, 255, 0.55);
  background: radial-gradient(600px 180px at 0% 0%, rgba(47, 107, 255, 0.28), transparent 70%), #090b14;
  box-shadow: 0 22px 44px rgba(3, 44, 52, 0.36);
  overflow: hidden;
}
.nexa p { margin: 0; }
.nexa-kicker { color: #9db8ff; font-family: var(--syne); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.nexa-name a { color: #2f6bff; font-family: var(--syne); font-size: clamp(3rem, 8vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; text-shadow: 0 0 28px rgba(47, 107, 255, 0.45); text-decoration: none; }
.nexa-name a:hover { color: #6b9bff; }
.nexa-line { color: #dbe5ff; font-family: var(--syne); font-size: clamp(0.92rem, 2vw, 1.05rem); font-weight: 600; letter-spacing: 0.02em; }
.nexa + footer { margin-top: 1.2rem; }

/* ---------- Défilement fluide (Lenis, lancé par assets/fx.js sur PC uniquement) ---------- */

/* Lenis pose et maintient lui-même la classe « lenis » sur <html> (il réécrit les classes contenant « lenis » :
   ne pas en inventer d’autres). Le défilement natif « smooth » doit alors être coupé. */
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
/* Section visée par une ancre : elle reçoit le focus (clavier) sans afficher de contour. */
section[tabindex="-1"]:focus { outline: none; }
/* Parallaxe du décor (PC) : fx.js fait varier --py au scroll ; `translate` laisse `transform` et `scale` libres. */
.fx-parallax .shore, .fx-parallax .palms { translate: 0 calc(var(--py, 0) * 1px); will-change: translate; }

/* ---------- Formulaires (réserver / payer) ---------- */

.page { padding: clamp(1.4rem, 5vw, 3rem) 0 1rem; }
.page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.95;
  text-shadow: 0 2px 0 #f1e0bb, 0 5px 0 #dcc592, 10px 18px 20px rgba(3, 44, 52, 0.45);
}
.page-head .lede { margin: 0.9rem 0 0; }
.page-head .eyebrow { margin-bottom: 0.6rem; }
.steps { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0 0 1rem; padding: 0; list-style: none; color: rgba(255, 247, 230, 0.6); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.steps li.on { color: var(--sand); }
.steps li.done { color: var(--cream); }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1rem; margin-top: 1.6rem; align-items: start; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label, .field .label { color: var(--ink); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.field small { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.03em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 0.95rem;
  border: 2px solid rgba(6, 50, 58, 0.22);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.35; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(18, 181, 176, 0.22); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.qty { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; gap: 0.4rem; }
.qty button { border: 0; border-radius: 14px; background: var(--ink); color: var(--cream); font-size: 1.5rem; font-weight: 700; cursor: pointer; transition: transform 0.12s var(--ease); }
.qty button:active { transform: scale(0.95); }
.qty input { text-align: center; }
.summary { display: grid; gap: 0.6rem; margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 0.55rem; }
.summary dt { color: var(--ink-soft); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.86rem; font-weight: 700; }
.summary dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.total { margin: 1rem 0 0; font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; line-height: 1; }
.total small { font-family: var(--sans); font-size: 0.34em; letter-spacing: 0.18em; margin-left: 0.35rem; }
.alert { margin: 0 0 1rem; padding: 0.85rem 1rem; border-radius: 14px; border: 2px solid rgba(198, 42, 58, 0.5); background: rgba(198, 42, 58, 0.08); color: #8f1522; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; }
.alert.ok { border-color: rgba(18, 138, 85, 0.5); background: rgba(18, 138, 85, 0.1); color: #0a5d38; }
.alert.wait { border-color: rgba(184, 106, 0, 0.5); background: rgba(184, 106, 0, 0.1); color: #7a4600; }
.wave-card { border-radius: 18px; border: 2px solid rgba(29, 200, 255, 0.7); background: linear-gradient(135deg, rgba(29, 200, 255, 0.2), rgba(29, 200, 255, 0.04) 70%), #fff; padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.wave-card .eyebrow { color: #0679a0; }
.wave-number { margin: 0.35rem 0 0; font-family: var(--display); font-size: clamp(2.1rem, 7vw, 3rem); font-weight: 700; line-height: 1; }
.wave-name { margin: 0.3rem 0 0; color: var(--ink-soft); font-weight: 600; }
.copy { margin-top: 0.8rem; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), transform 0.12s var(--ease); }
.copy:hover { background: var(--ink); color: var(--cream); }
.copy:active { transform: scale(0.97); }
.howto { margin: 0 0 1.2rem; padding-left: 1.3rem; color: var(--ink-soft); font-size: 1.12rem; font-weight: 600; line-height: 1.5; }
.howto b { color: var(--ink); }
.drop { position: relative; display: grid; place-items: center; gap: 0.4rem; min-height: 170px; padding: 1.2rem; border-radius: 18px; border: 2px dashed rgba(6, 50, 58, 0.4); background: #fff; text-align: center; cursor: pointer; transition: border-color var(--t-ui) var(--ease), background-color var(--t-ui) var(--ease); }
.drop:hover, .drop.has { border-color: var(--pink); }
.drop:focus-within { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(18, 181, 176, 0.22); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop strong { font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; overflow-wrap: anywhere; }
.drop span { color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; }
.drop img { max-height: 260px; width: auto; border-radius: 10px; border: 1px solid var(--line); }
.ref { display: inline-block; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 700; letter-spacing: 0.14em; }
.keep-open { display: grid; gap: 0.4rem; justify-items: start; margin: 1.1rem 0 0.4rem; padding: 1rem 1.1rem; border-radius: 16px; border: 2px solid rgba(184, 106, 0, 0.45); background: rgba(236, 209, 155, 0.35); }
.keep-open strong { color: var(--warn); font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.keep-open span { font-size: 1.08rem; font-weight: 600; line-height: 1.4; }
.ticket-rules { margin: 1.1rem 0 0; padding-left: 1.3rem; color: var(--ink-soft); font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.ticket-rules b { color: var(--ink); }
.status-big { margin: 0.3rem 0 0; font-family: var(--display); font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; line-height: 1; }

/* ---------- Billets ---------- */

.pass-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.pass { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(180deg, #fffaf0, var(--cream) 55%, var(--cream-2)); color: var(--ink); box-shadow: 0 22px 44px rgba(3, 44, 52, 0.4); text-align: center; break-inside: avoid; }
.pass-top { padding: 1.3rem 1.2rem 1.5rem; background: radial-gradient(260px 160px at 85% 0%, rgba(160, 240, 228, 0.7), transparent 70%), linear-gradient(160deg, #0c9fa0, #05606b); color: var(--cream); }
.pass-top .t1 { margin: 0; font-family: var(--display); font-size: 2.3rem; font-weight: 700; line-height: 0.9; text-transform: uppercase; text-shadow: 0 2px 0 #f1e0bb, 0 4px 0 #dcc592, 6px 10px 12px rgba(3, 44, 52, 0.45); transform: rotate(-3deg); }
.pass-top .t2 { margin: 0; font-family: var(--script); font-size: 1.6rem; line-height: 1.1; transform: rotate(-3deg); }
.pass-top .t3 { margin: 0.7rem 0 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sand); }
.pass-body { padding: 1.1rem 1.2rem 1.3rem; border-top: 3px dashed rgba(6, 50, 58, 0.3); }
.pass-qr { width: 200px; height: 200px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 16px; }
.pass-qr svg { display: block; width: 100%; height: 100%; }
.pass-name { margin: 0.9rem 0 0; font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.pass-meta { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pass-code { margin: 0.6rem 0 0; font-weight: 700; letter-spacing: 0.22em; }
.pass.used { opacity: 0.6; }

/* ---------- Admin ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 0; }
.tab { min-height: 44px; padding: 0 1.15rem; border-radius: 999px; border: 2px solid var(--cream); background: rgba(4, 58, 69, 0.35); color: var(--cream); font-family: var(--sans); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.tab.on { background: var(--cream); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.7rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.stats li { padding: 0.85rem 0.95rem; border-radius: 16px; background: rgba(4, 58, 69, 0.55); border: 1px solid var(--line-light); min-width: 0; }
.stats b { display: block; font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1; overflow-wrap: anywhere; }
.stats span { display: block; margin-top: 0.35rem; color: var(--sand); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.toolbar input, .toolbar select { min-height: 44px; padding: 0 0.9rem; border: 2px solid rgba(6, 50, 58, 0.22); border-radius: 12px; background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 600; }
.toolbar input { flex: 1 1 200px; min-width: 0; }
.resa { padding: 1rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem 1rem; align-items: start; }
.resa-main { min-width: 0; }
.resa-name { margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.resa-line { margin: 0.25rem 0 0; color: var(--ink-soft); font-weight: 600; overflow-wrap: anywhere; }
.resa-line a { color: var(--ink); }
.resa-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; max-width: 330px; }
.badge { display: inline-block; padding: 0.12rem 0.65rem 0.15rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--ink-soft); vertical-align: 0.15em; }
.badge.validee { background: var(--ok); }
.badge.en_cours { background: var(--warn); }
.badge.refusee { background: var(--bad); }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
.settings-grid .wide { grid-column: 1 / -1; }
.settings-grid h3 { grid-column: 1 / -1; margin: 1rem 0 0.8rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.settings-grid h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.scan-video { width: 100%; max-height: 60vh; border-radius: 16px; background: #000; object-fit: cover; }
.scan-result { margin: 1rem 0 0; padding: 1.1rem 1.2rem; border-radius: 16px; color: #fff; background: var(--ink-soft); }
.scan-result.ok { background: var(--ok); }
.scan-result.deja { background: var(--warn); }
.scan-result.invalide { background: var(--bad); }
.scan-result b { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 700; line-height: 1.05; }
.scan-result span { display: block; margin-top: 0.3rem; font-size: 1.1rem; font-weight: 600; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; background: rgba(3, 30, 36, 0.85); }
.modal img { max-width: 100%; max-height: 82vh; border-radius: 14px; background: #fff; }
.modal button { position: absolute; top: 1rem; right: 1rem; }

/* ---------- Chargement ---------- */

/* Le loader couvre la page jusqu’à ce qu’app.js pose html.is-ready, puis s’efface : un mot, un trait fin. */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 1.15rem; background: linear-gradient(180deg, #0c9fa0, #05606b); transition: opacity 0.4s linear, visibility 0s linear 0.4s; }
html:not(.js) .loader { display: none; }
html.is-ready .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader p { margin: 0; font-family: var(--script); font-size: clamp(2rem, 8vw, 3.2rem); text-shadow: 0 3px 0 #dcc592, 8px 12px 16px rgba(3, 44, 52, 0.45); transition: opacity 0.2s linear; }
html.is-ready .loader p { opacity: 0; }
/* Le nom rempli depuis les réglages n’arrive qu’à la toute fin du chargement : on ne le montre pas (pas de flash). */
.loader p[data-s] { display: none; }
.loader::after { content: ""; width: 64px; height: 2px; border-radius: 2px; background: var(--cream); opacity: 0.9; }

/* ---------- Mouvement ----------
   Système : une seule courbe (--ease, expo out), des décalages courts (16 px), des cascades serrées (70–80 ms),
   0,6–0,9 s pour le contenu (le décor du hero, plus lent, se pose en 1,2–1,4 s).
   Les entrées de page sont des animations CSS « from » lancées par html.is-ready : l’état de repos est toujours
   l’état visible, donc rien ne peut rester masqué si une animation ne part pas (JS absent, onglet en
   arrière-plan, ancien navigateur). Les révélations au scroll et le masque du titre sont pilotés par assets/fx.js.
   Tout ce bloc disparaît en « mouvement réduit ». */

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; translate: 0 16px; } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes settle { from { opacity: 0; scale: 1.04; } }
  @keyframes land { from { scale: 1.1; } }
  @keyframes line-up { from { translate: 0 calc(100% + 68px); } }
  @keyframes dock { from { translate: -100% 0; } }
  @keyframes loader-line { from { scale: 0.25 1; opacity: 0.4; } }

  .loader::after { animation: loader-line 1s ease-in-out infinite alternate; }
  html.is-ready .loader::after { animation-play-state: paused; }

  /* Entrée standard : chaque bloc .rv monte de 16 px en fondu, dans l’ordre de --i. */
  html.is-ready .rv { animation: rise var(--t-in) var(--ease) backwards; animation-delay: calc(0.1s + var(--i, 0) * 0.07s); }
  html.is-ready .page .rv { animation-duration: 0.6s; }

  /* Éléments fixes (PC) : la bande de gauche s’amarre, le bouton flottant arrive en dernier. */
  html.is-ready .spine { animation: dock var(--t-in) var(--ease) 0.1s backwards; }
  @media (min-width: 801px) {
    html.is-ready .header-cta { animation: fade 0.6s var(--ease) 0.7s backwards; }
  }

  /* Accueil : le décor se pose, le titre sort de son masque ligne par ligne, puis tagline, texte, boutons, infos. */
  html.is-ready .shore { transform-origin: 100% 0; animation: settle 1.2s var(--ease) backwards; }
  html.is-ready .palms { animation: land 1.4s var(--ease) backwards; }
  html.is-ready .hero .rv { animation-delay: calc(0.4s + var(--i, 0) * 0.08s); }
  /* Titre : chaque ligne sort d’un masque parallèle à la ligne (il suit la rotation du h1), élargi vers le bas et
     les côtés pour ne jamais rogner l’ombre portée. fx.js enveloppe le texte de chaque ligne dans .ln : la ligne
     est le masque, .ln glisse (transform seul). Sans fx.js, ou s’il arrive après l’affichage, la ligne joue le
     même effet à elle seule (masque et déplacement animés ensemble). */
  @keyframes line-solo {
    from { translate: 0 calc(100% + 68px); clip-path: inset(-0.4em -1.5em calc(100% + 4px) -1.5em); }
    to { clip-path: inset(-0.4em -1.5em -64px -1.5em); }
  }
  .puffy > span:nth-child(2) { --l: 1; }
  .puffy > span:nth-child(n+3) { --l: 2; }
  html.is-ready .puffy.rv { animation: none; }
  html.is-ready .puffy:not(.fx-lines) > span { animation: line-solo 0.9s var(--ease) backwards; animation-delay: calc(0.3s + var(--l, 0) * 0.08s); }
  .puffy.fx-clip > span { clip-path: inset(-0.4em -1.5em -64px -1.5em); }
  html.is-ready .puffy.fx-lines .ln { animation: line-up 0.9s var(--ease) backwards; animation-delay: calc(0.3s + var(--l, 0) * 0.08s); }
  html.is-ready .hero-actions.rv { animation: none; }
  html.is-ready .hero-actions.rv > .btn { animation: rise var(--t-in) var(--ease) 0.72s backwards; }
  html.is-ready .hero-actions.rv > .btn + .btn { animation-delay: 0.78s; }
  html.is-ready .hero-actions.rv > .btn + .btn + .btn { animation-delay: 0.84s; }

  /* Billets (ticket.html) : même entrée, un par un. */
  html.is-ready .billets .billet > * { animation: rise 0.6s var(--ease) backwards; animation-delay: calc(0.24s + var(--n, 0) * 0.07s); }
  .billet:nth-child(2) { --n: 1; }
  .billet:nth-child(3) { --n: 2; }
  .billet:nth-child(4) { --n: 3; }
  .billet:nth-child(n+5) { --n: 4; }

  /* Révélations au scroll, repli sans GSAP : la section entière, quand app.js (IntersectionObserver) pose .in.
     Avec GSAP, fx.js pose html.fx-scroll et révèle titre puis cartes, par groupes. */
  html.is-ready:not(.fx-scroll) .rs:not(.in) { opacity: 0; translate: 0 16px; }
  html.is-ready:not(.fx-scroll) .rs.in { transition: opacity var(--t-in) var(--ease), translate var(--t-in) var(--ease); }
}

/* Billets : le script de ticket.html lance sa propre entrée (gsap.from avec rotation) et un survol incliné avec
   reflet ; on les neutralise ici au profit de l’entrée standard et d’un survol simple. */
.billets .billet { opacity: 1 !important; transform: none !important; }
.billets .billet-frame { transition: translate var(--t-state) var(--ease), box-shadow var(--t-state) var(--ease); }
.billets .billet-frame::after { content: none; }
@media (hover: hover) {
  .billets .billet:hover .billet-frame { transform: none; translate: 0 -4px; box-shadow: 0 32px 60px rgba(3, 44, 52, 0.55); }
}

@media (max-width: 1040px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(odd) { padding-left: clamp(1.5rem, 2.6vw, 2.1rem); }
  .facts li:nth-child(even) { padding-right: clamp(1.5rem, 2.6vw, 2.1rem); }
  .facts li:nth-child(3)::before { display: none; }
  .facts li:nth-child(n+3)::after { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: 2px dashed rgba(6, 50, 58, 0.26); }
  .facts li:nth-child(3)::after { left: 22px; }
  .facts li:nth-child(4)::after { right: 22px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .wrap, .topbar-inner { width: calc(100% - 2rem); }
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; }
  .top-meta { display: none; }
  .brand svg { width: 36px; height: 36px; }
  .hero { min-height: 0; padding-top: 3.2rem; }
  .ticket, .panel-grid, .grid-3, .grid-2, .settings-grid { grid-template-columns: 1fr; }
  .reserve { border-left: 0; border-top: 2px dashed rgba(6, 50, 58, 0.28); }
  .actions, .hero-actions { flex-direction: column; }
  .actions .btn, .hero-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resa { grid-template-columns: 1fr; }
  .resa-actions { justify-content: flex-start; max-width: none; }
  footer { flex-direction: column; }
}
@media (max-width: 420px) {
  .brand-name span { letter-spacing: 0.12em; font-size: 0.64rem; }
  .header-cta { padding: 0 0.9rem; letter-spacing: 0.1em; }
  .facts li { column-gap: 0.6rem; padding: 0.95rem 0.7rem; }
  .facts li:nth-child(odd) { padding-left: 1.15rem; }
  .facts li:nth-child(even) { padding-right: 1.15rem; }
  .facts svg { width: 34px; height: 34px; padding: 7px; }
  .facts span { font-size: 0.66rem; letter-spacing: 0.18em; }
  .facts b { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, body::after { animation: none; }
  .faq summary::after, .billets .billet-frame, .nexa-link span { transition: none; }
}
@media print {
  .rs, .fx-rv { opacity: 1 !important; translate: none !important; transform: none !important; }
  html, body { background: #fff !important; }
  body::before, body::after, .topbar, footer, .no-print, .loader { display: none !important; }
  .pass-list { display: block; margin: 0; }
  .pass { box-shadow: none; border: 1px solid #999; width: 320px; margin: 0 auto 24px; page-break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}



/* =====================================================================
   Structure façon The Nightmare : bande verticale à gauche sur PC,
   pas de barre de navigation, hero aligné à gauche, plage en haut à droite.
   ===================================================================== */

html { overflow-x: hidden; }
body { overflow-x: clip; max-width: 100%; }

.spine {
  position: fixed;
  z-index: 35;
  left: 0;
  top: 0;
  bottom: 0;
  width: 46px;
  display: none;
  place-items: center;
  background: linear-gradient(180deg, #fffaf0, var(--cream) 50%, var(--sand));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  box-shadow: -6px 0 24px rgba(3, 44, 52, 0.35);
}

/* Titre : une ligne par mot, jamais une lettre par ligne. */
.puffy > span { display: block; white-space: nowrap; }
.puffy { font-size: clamp(4rem, 19vw, 13rem); transform-origin: 0 50%; }

.hero-inner { text-align: left; }
.tagline { text-indent: 0; margin-top: 2rem; }
.lede { margin-left: 0; margin-right: 0; }
.hero-actions { justify-content: flex-start; }
.shore { height: min(100svh, 900px); }
.shore::before { left: auto; right: calc(var(--sand) * -0.5); top: calc(var(--sand) * -0.62); border-radius: 54% 46% 42% 58% / 44% 52% 48% 56%; }
.palms { left: auto; right: -110px; top: -90px; transform-origin: 80% 20%; }
.palms.two { display: none; }

/* Sable : grain fin */
.shore::after {
  content: "";
  position: absolute;
  right: calc(clamp(400px, 64vw, 880px) * -0.5);
  top: calc(clamp(400px, 64vw, 880px) * -0.62);
  width: clamp(400px, 64vw, 880px);
  height: clamp(400px, 64vw, 880px);
  border-radius: 54% 46% 42% 58% / 44% 52% 48% 56%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.32  0 0 0 0 0.12  0 0 0 0.55 -0.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.55;
}
/* Cartes : léger grain papier */
.card, .panel, .pass { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.38  0 0 0 0 0.18  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"), linear-gradient(180deg, #fffaf0, var(--cream) 40%, var(--cream-2)); }

/* Accordéon FAQ (hauteur + fondu animés dans index.html, icône plus haut) */
.faq-body { overflow: hidden; }
.faq summary { transition: color var(--t-ui) var(--ease); }
.faq summary:hover { color: var(--pink); }

/* Carte nexa */
.nexa { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.15rem 1.2rem; }
.nexa > p { grid-column: 1; }
.nexa-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 162, 255, 0.6);
  background: rgba(47, 107, 255, 0.16);
  color: #dbe5ff;
  font-family: var(--syne);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease);
}
.nexa-link span { display: inline-block; transition: translate var(--t-state) var(--ease); }
.nexa-link:hover { background: #2f6bff; color: #fff; }
.nexa-link:hover span { translate: 2px -2px; }

@media (min-width: 801px) {
  body { padding-left: 46px; }
  .spine { display: grid; }
  .topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: auto;
    background: none;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .topbar-inner { width: auto; min-height: 0; margin: 0; padding: 1.1rem 1.5rem; display: block; }
  .topbar .brand, .topbar .top-meta { display: none; }
  .header-cta { min-height: 48px; padding: 0 1.6rem; font-size: 1.02rem; }
  .hero { min-height: 100svh; padding-top: 5rem; }
  .page { padding-top: 5.2rem; }
  .lede { max-width: 34rem; }
}
@media (max-width: 800px) {
  .hero { padding-top: clamp(8.5rem, 34vw, 13rem); }
  .palms { right: -70px; top: -60px; width: min(70vw, 420px); }
  .nexa { grid-template-columns: 1fr; }
  .nexa-link { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.9rem; }
}
@media print { .spine, .nexa { display: none !important; } }
@media (max-width: 800px) { .puffy { font-size: clamp(4.4rem, 25vw, 11rem); } }
