/* =====================================================================
   Marée Club · l'app membre (maquette interactive)
   Sand, deep ocean, a coral sun. The club's affluence is the tide.
   ===================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); }

:root {
  --abysse: #0A2236;
  --ocean: #0E3B5C;
  --houle: #1F5A80;
  --verre: #A9D3CF;
  --verre-pale: #DCEEEB;
  --verre-ink: #24665F;
  --ecume: #FFFFFF;
  --sable: #F7F3EC;
  --sable-2: #EDE4D6;
  --sable-3: #E3D7C4;
  --corail: #FF7A59;
  --corail-2: #E8603F;
  --corail-pale: #FFE3D9;
  --encre: #10222F;
  --muted: #56656F;
  --faint: #8A949A;
  --line: rgba(14, 59, 92, 0.11);
  --line-strong: rgba(14, 59, 92, 0.2);
  --card: #FFFDF9;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;

  --shadow-card: 0 1px 1px rgba(10, 34, 54, 0.04), 0 14px 32px -18px rgba(10, 34, 54, 0.28);
  --shadow-float: 0 1px 2px rgba(10, 34, 54, 0.06), 0 18px 40px -16px rgba(10, 34, 54, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.25, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .13 0 0 0 0 .18 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.075'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  color: var(--encre);
  background: var(--sable);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; }
img, svg { display: block; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--houle); outline-offset: 3px; border-radius: 10px; }
[tabindex="-1"]:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.noscript { padding: 40px; text-align: center; }

/* ---------- Display type: Fraunces with soft, optical-sized curves ---------- */
.d-xl, .d-l, .d-m, .d-s, .d-xs {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-weight: 380;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.d-xl { font-size: 50px; line-height: 0.96; letter-spacing: -0.03em; }
.d-l { font-size: 38px; }
.d-m { font-size: 30px; line-height: 1.06; }
.d-s { font-size: 23px; line-height: 1.12; letter-spacing: -0.012em; }
.d-xs { font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 450; }
.d-xl em, .d-l em, .d-m em, .d-s em, .d-xs em, .panel__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 340;
  color: var(--houle);
}
.on-dark em, .card--navy em, .plan--featured em, .view--dark em, .view--live em, .view--badge em, .opened em { color: var(--verre); }
.eyebrow {
  font-size: 11px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* =====================================================================
   Presentation: stage (desktop), phone (full screen), embed
   ===================================================================== */
.stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  background: var(--grain), radial-gradient(900px 700px at 72% 55%, #FBE6DA 0%, rgba(251, 230, 218, 0) 60%), var(--sable);
  overflow: hidden;
}
.stage__backdrop { position: absolute; inset: 0; color: var(--houle); opacity: 0.16; pointer-events: none; }
.stage__backdrop svg { width: 100%; height: 100%; }

.panel {
  position: relative; z-index: 2;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.75), rgba(247, 243, 236, 0.55));
  backdrop-filter: blur(8px);
}
.panel::-webkit-scrollbar { display: none; }
.panel__inner { min-height: 100%; display: flex; flex-direction: column; padding: 34px 34px 22px; }
.panel__logo { width: 150px; height: auto; }
.panel__eyebrow { margin-top: 26px; font-size: 11px; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; color: var(--corail-2); }
.panel__title {
  margin-top: 10px;
  font-family: var(--font-display); font-optical-sizing: auto; font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: 31px; line-height: 1.04; font-weight: 380; letter-spacing: -0.02em;
}
.panel__lead { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.tours { margin-top: 20px; }
.tours__label { font-size: 11px; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tours__list { display: grid; gap: 2px; }
.tour {
  width: 100%;
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 14px;
  font-size: 14px; font-weight: 600; color: var(--encre);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tour:hover { background: rgba(255, 253, 249, 0.8); }
.tour__num { font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 15px; color: var(--faint); font-weight: 400; }
.tour__count { font-size: 11.5px; font-weight: 600; color: var(--faint); }
.tour[aria-current="true"] { background: var(--card); box-shadow: var(--shadow-card); }
.tour[aria-current="true"] .tour__num { color: var(--corail-2); }

.stepper { position: sticky; bottom: 14px; z-index: 3; margin-top: 18px; padding: 16px; border-radius: 20px; background: var(--ocean); color: #fff; box-shadow: var(--shadow-float); position: relative; overflow: hidden; }
.stepper::after { content: ""; position: absolute; right: -30px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 89, 0.5), rgba(255, 122, 89, 0) 70%); pointer-events: none; }
.stepper__meta { display: grid; gap: 2px; position: relative; z-index: 1; }
.stepper__count { font-size: 11px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--verre); }
.stepper__name { font-family: var(--font-display); font-size: 19px; line-height: 1.2; font-variation-settings: "SOFT" 50; }
.stepper__track { display: flex; gap: 4px; margin: 12px 0 14px; }
.stepper__track i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); transition: background 0.3s; }
.stepper__track i.on { background: var(--corail); }
.stepper__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1; }
.stepper__btn {
  height: 40px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 13.5px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.stepper__btn .i { width: 18px; height: 18px; }
.stepper__btn:hover { background: rgba(255, 255, 255, 0.18); }
.stepper__btn--next { background: var(--corail); color: var(--abysse); }
.stepper__btn--next:hover { background: #FF8D70; }
.stepper__btn:active { transform: scale(0.97); }
.stepper__btn:disabled { opacity: 0.35; cursor: default; }
@media (max-height: 780px) {
  .panel__lead { display: none; }
  .panel__title { font-size: 26px; }
  .panel__eyebrow { margin-top: 18px; }
  .tour { padding-top: 5px; padding-bottom: 5px; }
}
.panel__fine { margin-top: auto; padding-top: 16px; font-size: 12px; color: var(--faint); }

.stage__device { position: relative; display: grid; place-items: center; overflow: hidden; min-width: 0; }
.device {
  position: relative;
  width: 414px; height: 868px;
  padding: 12px;
  border-radius: 68px;
  background: #0d0f11;
  box-shadow:
    0 0 0 2px #b9b2a6,
    0 0 0 3.5px #6f6a62,
    0 0 0 4.5px #d6d0c5,
    0 60px 90px -40px rgba(10, 34, 54, 0.55),
    0 30px 60px -30px rgba(10, 34, 54, 0.35);
  transform-origin: center center;
  flex: none;
}
.device__btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #8d877d, #cfc8bc); }
.device__btn--action { left: -7px; top: 150px; height: 32px; }
.device__btn--up { left: -7px; top: 210px; height: 60px; }
.device__btn--down { left: -7px; top: 284px; height: 60px; }
.device__btn--power { right: -7px; top: 240px; height: 96px; }
.device__screen { position: relative; width: 390px; height: 844px; border-radius: 56px; overflow: hidden; background: var(--sable); isolation: isolate; }

/* Phone: the app alone, full screen. Embed: the bare app inside a host frame. */
html.is-phone .stage, html.is-embed .stage { display: block; background: var(--sable); }
html.is-phone .panel, html.is-embed .panel, html.is-phone .device__btn, html.is-embed .device__btn,
html.is-phone .statusbar, html.is-embed .statusbar, html.is-phone .homebar, html.is-embed .homebar,
html.is-phone .stage__backdrop, html.is-embed .stage__backdrop { display: none; }
html.is-phone .stage__device, html.is-embed .stage__device { position: fixed; inset: 0; display: block; }
html.is-phone .device, html.is-embed .device { width: 100%; height: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; transform: none !important; }
html.is-phone .device__screen, html.is-embed .device__screen { width: 100%; height: 100%; border-radius: 0; }
html.is-phone .device { max-width: 480px; margin: 0 auto; }
html.is-phone .stage__device { background: var(--sable-2); }
@media (min-width: 481px) { html.is-phone .device { box-shadow: 0 0 60px -20px rgba(10, 34, 54, 0.3); } }
html.is-phone .stage { height: 100vh; height: 100dvh; }
html.is-embed .stage { height: 100%; }

.tour-fab, .tour-sheet { display: none; }
html.is-phone .tour-fab { display: grid; }
html.is-phone .tour-sheet:not([hidden]) { display: block; }

/* =====================================================================
   App shell
   ===================================================================== */
.app {
  --top: 54px;
  --bottom: 22px;
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--sable);
}
html.is-phone .app { --top: max(env(safe-area-inset-top, 0px), 14px); --bottom: max(env(safe-area-inset-bottom, 0px), 12px); }
html.is-embed .app { --top: var(--embed-top, 16px); --bottom: var(--embed-bottom, 12px); }

.statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 32px 0 46px;
  font-family: -apple-system, "SF Pro Text", var(--font-ui);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--encre);
  pointer-events: none;
  transition: color 0.35s var(--ease);
}
.statusbar__island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.statusbar__icons { display: flex; align-items: center; gap: 6px; }
.statusbar__icons svg { fill: currentColor; display: block; }
.app[data-status="light"] .statusbar { color: #fff; }
.homebar { position: absolute; left: 50%; bottom: 8px; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: var(--encre); opacity: 0.85; z-index: 70; pointer-events: none; transition: background 0.35s; }
.app[data-status="light"] .homebar { background: #fff; }

.views { position: absolute; inset: 0; overflow: hidden; }
.view {
  position: absolute; inset: 0;
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: var(--grain), var(--sable);
  -webkit-overflow-scrolling: touch;
}
.view::-webkit-scrollbar { display: none; }
.view--dark { background: var(--grain-light), linear-gradient(180deg, var(--abysse), #0B2A42 60%, var(--ocean)); color: #fff; }
.view__pad { padding: calc(var(--top) + 6px) 18px 128px; }
.view__pad--nodock { padding-bottom: calc(var(--bottom) + 28px); }

/* Screen transitions */
.view.enter-push { animation: pushIn 0.52s var(--ease) both; box-shadow: -24px 0 50px rgba(10, 34, 54, 0.14); z-index: 2; }
.view.leave-push { animation: pushOut 0.52s var(--ease) both; z-index: 1; }
.view.enter-pop { animation: popIn 0.48s var(--ease) both; z-index: 1; }
.view.leave-pop { animation: popOut 0.48s var(--ease) both; z-index: 2; box-shadow: -24px 0 50px rgba(10, 34, 54, 0.14); }
.view.enter-fade { animation: fadeIn 0.42s var(--ease) both; z-index: 2; }
.view.leave-fade { animation: fadeOut 0.26s ease both; z-index: 1; }
.view.enter-rise { animation: riseIn 0.6s var(--ease) both; z-index: 2; }
.view.leave-rise { animation: fadeOut 0.4s ease both; z-index: 1; }
@keyframes pushIn { from { transform: translate3d(100%, 0, 0); } }
@keyframes pushOut { to { transform: translate3d(-26%, 0, 0); filter: brightness(0.94); } }
@keyframes popIn { from { transform: translate3d(-26%, 0, 0); filter: brightness(0.94); } }
@keyframes popOut { to { transform: translate3d(100%, 0, 0); } }
@keyframes fadeIn { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.992); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translate3d(0, 40px, 0); } }

/* Staggered reveal for content blocks */
.reveal > * { animation: reveal 0.7s var(--ease) both; }
.reveal > *:nth-child(2) { animation-delay: 0.05s; }
.reveal > *:nth-child(3) { animation-delay: 0.1s; }
.reveal > *:nth-child(4) { animation-delay: 0.15s; }
.reveal > *:nth-child(5) { animation-delay: 0.2s; }
.reveal > *:nth-child(6) { animation-delay: 0.25s; }
.reveal > *:nth-child(n+7) { animation-delay: 0.3s; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } }

/* =====================================================================
   Components
   ===================================================================== */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.topbar__title { font-weight: 700; font-size: 15px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(10, 34, 54, 0.06), 0 6px 16px -8px rgba(10, 34, 54, 0.3);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  color: var(--ocean);
  transition: transform 0.18s var(--ease);
}
.icon-btn:active { transform: scale(0.92); }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--corail); box-shadow: 0 0 0 2px var(--card); }
.icon-btn--dark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: none; }
.avatar {
  text-decoration: none;
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 500; font-variation-settings: "SOFT" 100;
  color: var(--ocean); background: var(--verre);
  box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px rgba(14, 59, 92, 0.18);
}
.avatar--coach { background: linear-gradient(135deg, var(--houle), var(--ocean)); color: #fff; }
.avatar--sm { width: 32px; height: 32px; font-size: 13px; }
.avatar--lg { width: 56px; height: 56px; font-size: 21px; }

.section { margin-top: 30px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 0 2px; }
.section__head .eyebrow { display: block; margin-bottom: 4px; }
.link { display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 700; color: var(--houle); text-decoration: none; white-space: nowrap; }
.link .i { width: 17px; height: 17px; }
.on-dark .link { color: var(--verre); }

.card {
  position: relative;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 18px;
  overflow: hidden;
}
.card--flat { box-shadow: none; border: 1px solid var(--line); }
.card--sand { background: var(--sable-2); box-shadow: none; }
.card--navy { background: linear-gradient(150deg, var(--houle) -20%, var(--ocean) 35%, var(--abysse)); color: #fff; }
.card--glass { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; color: #fff; backdrop-filter: blur(10px); }
.card__contours { position: absolute; inset: 0; color: var(--verre); opacity: 0.22; pointer-events: none; }
.card__contours svg { width: 100%; height: 100%; }
.pressable { transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); cursor: pointer; }
.pressable:active { transform: scale(0.985); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 15px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: var(--sable-2); color: var(--encre);
}
.chip .i { width: 15px; height: 15px; stroke-width: 2; }
.chip--verre { background: var(--verre-pale); color: var(--verre-ink); }
.chip--corail { background: var(--corail-pale); color: #A23A1C; }
.chip--navy { background: var(--ocean); color: #fff; }
.chip--glass { background: rgba(255, 253, 249, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.8); color: var(--ocean); }
.chip--dark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.chip--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--verre-ink); box-shadow: 0 0 0 0 rgba(36, 102, 95, 0.5); animation: live 2.4s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(36, 102, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(36, 102, 95, 0); } }

.btn {
  position: relative;
  width: 100%; height: 56px; border-radius: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15.5px; font-weight: 750; letter-spacing: 0.005em; text-decoration: none;
  background: var(--ocean); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(14, 59, 92, 0.7);
  transition: transform 0.18s var(--ease), background 0.2s, box-shadow 0.2s, opacity 0.2s;
  overflow: hidden;
}
.btn .i { width: 20px; height: 20px; stroke-width: 2; }
.btn:active { transform: scale(0.975); }
.btn:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
.btn--coral { background: var(--corail); color: var(--abysse); box-shadow: 0 12px 26px -12px rgba(232, 96, 63, 0.75); }
.btn--ghost { background: transparent; color: var(--ocean); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--light { background: #fff; color: var(--ocean); box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.5); }
.btn--glass { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--sm { height: 42px; border-radius: 21px; font-size: 14px; width: auto; padding: 0 18px; }
.btn--text { height: auto; width: auto; background: none; box-shadow: none; color: var(--houle); font-size: 14px; padding: 8px 4px; }
.btn.is-loading { color: transparent; }
.btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid currentColor; border-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.35) #fff #fff; animation: spin 0.8s linear infinite; }
.btn--coral.is-loading::after { border-color: rgba(10, 34, 54, 0.25) rgba(10, 34, 54, 0.25) var(--abysse) var(--abysse); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.list { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.row {
  width: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  min-height: 64px; padding: 12px 16px;
  text-decoration: none; text-align: left;
  border-top: 1px solid var(--line);
  transition: background 0.2s;
}
.row:first-child { border-top: 0; }
.row:active { background: rgba(14, 59, 92, 0.04); }
.row__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sable-2); color: var(--ocean); }
.row__icon .i { width: 20px; height: 20px; }
.row__text { display: grid; gap: 1px; min-width: 0; }
.row__text b { font-weight: 700; font-size: 15px; }
.row__text small { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__end { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 13px; font-weight: 600; }
.row__end .i { width: 18px; height: 18px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 22px; background: var(--sable-2); position: relative; }
.seg button, .seg a { position: relative; z-index: 1; height: 38px; border-radius: 18px; display: grid; place-items: center; font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.seg .is-on { color: var(--ocean); background: var(--card); box-shadow: 0 2px 8px -2px rgba(10, 34, 54, 0.2); }
.seg--dark { background: rgba(255, 255, 255, 0.08); }
.seg--dark button { color: rgba(255, 255, 255, 0.65); }
.seg--dark .is-on { background: rgba(255, 255, 255, 0.95); color: var(--ocean); }

.field { display: grid; gap: 6px; }
.field + .field { margin-top: 12px; }
.field label, .field__label { font-size: 12.5px; font-weight: 700; color: var(--muted); padding-left: 4px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.input {
  width: 100%; height: 54px; padding: 0 16px;
  border-radius: 16px; border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 16px; font-weight: 600; color: var(--encre);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.input:focus { border-color: var(--houle); box-shadow: 0 0 0 4px rgba(31, 90, 128, 0.12); }
.input::placeholder { color: #9AA3A8; font-weight: 500; }
.input--mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
#f-iban { font-size: 14px; letter-spacing: 0; padding: 0 12px; }
.forgot-art { position: relative; height: 190px; margin-top: 28px; border-radius: 28px; overflow: hidden; }
.forgot-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.forgot-art .bottle { position: absolute; left: 22px; bottom: 6px; width: 96px; height: 96px; margin: 0; }
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; resize: none; line-height: 1.45; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.input-wrap__btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row .field + .field { margin-top: 0; }
.field-row + .field, .field + .field-row { margin-top: 12px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line-strong); background: var(--card); display: grid; place-items: center; color: #fff; transition: background 0.2s, border-color 0.2s; margin-top: -1px; }
.check__box .i { width: 16px; height: 16px; stroke-width: 2.6; opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.3s var(--spring); }
.check input:checked + .check__box { background: var(--ocean); border-color: var(--ocean); }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2.5px solid var(--houle); outline-offset: 2px; }

.switch { position: relative; width: 52px; height: 32px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch__track { position: absolute; inset: 0; border-radius: 16px; background: var(--sable-3); transition: background 0.25s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(10, 34, 54, 0.25); transition: transform 0.35s var(--spring); }
.switch input:checked + .switch__track { background: var(--verre-ink); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2.5px solid var(--houle); outline-offset: 2px; }

.back-head { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.back-head__title { flex: 1; text-align: center; font-weight: 750; font-size: 15px; margin-right: 54px; opacity: 0.0; transition: opacity 0.2s; }
.page-title { margin: 18px 2px 4px; }
.page-sub { margin: 8px 2px 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.on-dark .page-sub, .on-dark .muted { color: rgba(255, 255, 255, 0.7); }

.divider { height: 1px; background: var(--line); margin: 16px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 700; }

.empty { text-align: center; padding: 30px 20px; color: var(--muted); font-size: 14px; }

/* =====================================================================
   Floating dock: glass pill + the badge as its own round button
   ===================================================================== */
.dock {
  position: absolute; left: 0; right: 0; z-index: 40;
  bottom: calc(var(--bottom) + 4px);
  display: flex; justify-content: center; align-items: center; gap: 10px;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.35s ease;
}
.dock > * { pointer-events: auto; }
.dock.is-hidden { transform: translateY(150%); opacity: 0; }
.dock.is-hidden > * { pointer-events: none; }
.dock__pill {
  position: relative; display: flex; padding: 5px; border-radius: 31px;
  background: rgba(252, 249, 243, 0.74);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 6px rgba(10, 34, 54, 0.07), 0 16px 36px -12px rgba(10, 34, 54, 0.38);
  transition: background 0.35s, border-color 0.35s;
}
.dock__glow {
  position: absolute; z-index: 0; top: 5px; left: 5px; width: 62px; height: 52px; border-radius: 26px;
  background: linear-gradient(160deg, var(--houle), var(--ocean));
  box-shadow: 0 8px 18px -8px rgba(14, 59, 92, 0.8);
  transform: translateX(var(--x, 0px));
  transition: transform 0.55s var(--spring), opacity 0.3s;
}
.dock__glow.is-off { opacity: 0; }
.dock__tab {
  position: relative; z-index: 1;
  width: 62px; height: 52px; border-radius: 26px;
  display: grid; place-items: center; align-content: center; gap: 2px;
  font-size: 10.5px; font-weight: 750; letter-spacing: 0.01em;
  color: #4E5D67; text-decoration: none;
  transition: color 0.3s;
}
.dock__tab .i { width: 22px; height: 22px; transition: transform 0.4s var(--spring); }
.dock__tab.is-active { color: #fff; }
.dock__tab.is-active .i { transform: translateY(-1px); }
.dock__badge {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; text-decoration: none;
  background: radial-gradient(circle at 32% 26%, #2A6B93 0%, var(--ocean) 46%, var(--abysse) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 30px -10px rgba(10, 34, 54, 0.7);
  transition: transform 0.25s var(--spring);
}
.dock__badge .i { width: 26px; height: 26px; stroke-width: 1.8; }
.dock__badge:active { transform: scale(0.92); }
.dock__badge::before { content: ""; position: absolute; top: 9px; left: 50%; width: 12px; height: 6px; margin-left: -6px; border-radius: 6px 6px 0 0; background: var(--corail); opacity: 0; transition: opacity 0.3s; }
.dock__badge.is-active { box-shadow: 0 0 0 3px var(--corail), 0 14px 30px -10px rgba(10, 34, 54, 0.7); }
.dock__ping { position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid rgba(255, 122, 89, 0.9); animation: ping 3.2s var(--ease) infinite; pointer-events: none; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.app[data-dock="dark"] .dock__pill { background: rgba(14, 40, 60, 0.6); border-color: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 36px -12px rgba(0, 0, 0, 0.5); }
.app[data-dock="dark"] .dock__tab { color: rgba(255, 255, 255, 0.72); }
.app[data-dock="dark"] .dock__tab.is-active { color: var(--ocean); }
.app[data-dock="dark"] .dock__glow { background: var(--sable); box-shadow: none; }

/* =====================================================================
   Bottom sheet and toast
   ===================================================================== */
.sheet-layer { position: absolute; inset: 0; z-index: 80; }
.sheet-layer[hidden] { display: none; }
.sheet-layer__scrim { position: absolute; inset: 0; background: rgba(10, 34, 54, 0.42); opacity: 0; transition: opacity 0.4s var(--ease); }
.sheet-layer.is-open .sheet-layer__scrim { opacity: 1; }
.sheet {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  max-height: calc(100% - var(--top) - 12px);
  display: flex; flex-direction: column;
  border-radius: 40px;
  background: var(--grain), var(--sable);
  box-shadow: 0 -10px 50px -10px rgba(10, 34, 54, 0.45);
  transform: translate3d(0, 110%, 0);
  transition: transform 0.55s var(--ease);
  overflow: hidden;
  touch-action: pan-y;
}
html.is-phone .sheet { border-radius: 32px; }
.sheet-layer.is-open .sheet { transform: translate3d(0, var(--drag, 0px), 0); }
.sheet.is-dragging { transition: none; }
.sheet__grab { position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 5; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet__grab span { width: 40px; height: 5px; border-radius: 3px; background: rgba(16, 34, 47, 0.22); }
.sheet--on-art .sheet__grab span { background: rgba(255, 255, 255, 0.6); }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 30px 20px calc(var(--bottom) + 14px); }
.sheet__body::-webkit-scrollbar { display: none; }
.sheet__body--flush { padding-top: 0; }
.sheet__title { margin-bottom: 6px; }
.sheet-photo { position: relative; height: 200px; margin: 0 -20px; overflow: hidden; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.sheet-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 34, 54, 0.25), rgba(10, 34, 54, 0) 40%); }
.sheet__actions { display: grid; gap: 10px; margin-top: 22px; }

.toast {
  position: absolute; z-index: 90; left: 14px; right: 14px; top: calc(var(--top) + 6px);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 22px;
  background: rgba(10, 34, 54, 0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 18px 40px -14px rgba(10, 34, 54, 0.6);
  transform: translateY(-160%) scale(0.96); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.3s ease;
  pointer-events: none;
}
.toast.is-on { transform: none; opacity: 1; }
.toast__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--verre); color: var(--abysse); flex: none; }
.toast__icon .i { width: 19px; height: 19px; stroke-width: 2.4; }
.toast__text { display: grid; gap: 1px; min-width: 0; }
.toast__text b { font-size: 14px; font-weight: 750; }
.toast__text small { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); }

/* Phone mode: journeys behind a discreet edge button */
.tour-fab {
  position: fixed; z-index: 200; right: 0; top: 46%;
  width: 26px; height: 50px; border-radius: 16px 0 0 16px;
  place-items: center;
  background: rgba(10, 34, 54, 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; opacity: 0.6;
  box-shadow: 0 6px 18px -6px rgba(10, 34, 54, 0.5);
  transition: opacity 0.2s, width 0.2s;
}
.tour-fab .i { width: 18px; height: 18px; margin-left: 3px; }
.tour-fab:hover, .tour-fab:focus-visible { opacity: 1; width: 36px; }
.tour-sheet { position: fixed; inset: 0; z-index: 210; }
.tour-sheet__scrim { position: absolute; inset: 0; background: rgba(10, 34, 54, 0.45); animation: fadeInPlain 0.3s ease both; }
@keyframes fadeInPlain { from { opacity: 0; } }
.tour-sheet__panel {
  position: absolute; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom));
  max-height: calc(100% - 60px); overflow-y: auto;
  padding: 20px 16px 16px; border-radius: 30px;
  background: var(--grain), var(--sable);
  box-shadow: 0 -10px 40px -10px rgba(10, 34, 54, 0.4);
  animation: sheetUp 0.45s var(--ease) both;
}
@keyframes sheetUp { from { transform: translateY(100%); } }
.tour-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 4px 12px; }
.tour-sheet__head .panel__eyebrow { margin-top: 0; }
.tour-sheet__head h2 { font-family: var(--font-display); font-size: 28px; font-weight: 380; font-variation-settings: "SOFT" 50; }
.tour-sheet__steps { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 14px; padding: 12px; border-radius: 20px; background: var(--ocean); }
.tour-sheet__steps .stepper__count { text-align: center; }
.tour-sheet .panel__fine { text-align: center; padding-top: 14px; }

/* =====================================================================
   Accueil: the tide
   ===================================================================== */
.tide {
  --level: 0.27;
  position: relative;
  height: 556px;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(180deg, #FBF8F2 0%, #F8EDE3 52%, #F9DDCD 100%);
  isolation: isolate;
}
.tide::before { content: ""; position: absolute; inset: 0; background: var(--grain); z-index: 0; pointer-events: none; }
.tide__sun {
  position: absolute; z-index: 1; right: 64px; bottom: calc(var(--level) * 100% + 10px);
  width: 124px; height: 124px; margin-bottom: -62px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FF9474, var(--corail) 60%, #F96C4A);
  box-shadow: 0 0 80px 30px rgba(255, 122, 89, 0.22);
  transition: bottom 1.8s var(--ease-io), opacity 1s;
}
.tide__head { position: relative; z-index: 4; display: flex; align-items: center; gap: 10px; padding: calc(var(--top) + 4px) 18px 0; }
.tide__mark { width: 42px; height: 42px; border-radius: 14px; flex: none; box-shadow: 0 6px 16px -8px rgba(10, 34, 54, 0.5); }
.tide__club {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px 0 16px; border-radius: 21px;
  background: rgba(255, 253, 249, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-weight: 750; font-size: 14px; color: var(--ocean);
  box-shadow: 0 1px 2px rgba(10, 34, 54, 0.05), 0 6px 16px -8px rgba(10, 34, 54, 0.25);
}
.tide__club .i { width: 17px; height: 17px; stroke-width: 2.2; }
.tide__head .spacer { flex: 1; }
.tide__copy { position: relative; z-index: 4; padding: 28px 22px 0; max-width: 320px; transition: color 0.8s; }
.tide__hello { font-size: 14.5px; font-weight: 650; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.tide__title { margin-top: 8px; font-size: 60px; line-height: 0.92; }
.tide__title em { display: inline-block; }
.tide__advice { margin-top: 14px; font-size: 16px; line-height: 1.45; color: var(--encre); max-width: 270px; }
.tide__advice b { font-weight: 750; }

.tide__gauge { position: absolute; z-index: 3; right: 18px; top: 150px; bottom: 100px; width: 30px; pointer-events: none; }
.tide__gauge svg { width: 100%; height: 100%; overflow: visible; }

.tide__water {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  height: calc(var(--level) * 100%);
  transition: height 1.8s var(--ease-io);
}
.tide__waves { position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; margin-bottom: -2px; overflow: hidden; }
.tide__wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 40px; animation: swellX 14s linear infinite; }
.tide__wave--2 { animation-duration: 9s; animation-direction: reverse; }
.tide__wave--3 { animation-duration: 6.5s; }
.tide__wave svg { width: 100%; height: 100%; }
@keyframes swellX { to { transform: translate3d(-50%, 0, 0); } }
.tide__bob { position: absolute; inset: 0; transform-origin: 50% 100%; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.22); } }
.tide__body { position: absolute; inset: 0; background: linear-gradient(180deg, var(--houle) 0%, var(--ocean) 40%, var(--abysse) 100%); overflow: hidden; }
.tide__body .contours { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--verre); opacity: 0.2; }
.tide__glint { position: absolute; top: 8px; right: 64px; width: 124px; display: grid; gap: 6px; justify-items: center; opacity: 0.75; }
.tide__glint i { height: 2px; border-radius: 2px; background: var(--corail); animation: glint 4s ease-in-out infinite; }
.tide__glint i:nth-child(1) { width: 92px; }
.tide__glint i:nth-child(2) { width: 60px; animation-delay: 0.6s; opacity: 0.8; }
.tide__glint i:nth-child(3) { width: 30px; animation-delay: 1.2s; opacity: 0.6; }
@keyframes glint { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.72); } }
.tide__info {
  position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: #fff;
}
.tide__next { display: grid; gap: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.tide__next b { font-size: 15px; color: #fff; font-weight: 750; }
.tide__more { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px 0 16px; border-radius: 19px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24); color: #fff; font-size: 13px; font-weight: 750; text-decoration: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.tide__more .i { width: 16px; height: 16px; }
.tide.is-high .tide__copy { color: #fff; }
.tide.is-high .tide__hello, .tide.is-high .tide__advice { color: rgba(255, 255, 255, 0.86); }
.tide.is-high .tide__title em { color: var(--verre); }
.tide.is-closed .tide__sun { opacity: 0.85; }

/* Home content below the tide */
.home-body { padding: 0 18px 128px; margin-top: -2px; }
.next-class { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-decoration: none; }
.next-class__time { display: grid; justify-items: center; width: 70px; padding: 10px 0; border-radius: 18px; background: var(--sable); }
.next-class__time small { font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.next-class__time b { font-family: var(--font-display); font-size: 24px; font-weight: 420; line-height: 1.1; font-variation-settings: "SOFT" 50; }
.next-class__info { min-width: 0; }
.next-class__info h3 { font-family: var(--font-display); font-size: 21px; font-weight: 420; line-height: 1.15; font-variation-settings: "SOFT" 50; }
.next-class__info p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.next-class__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 12.5px; color: var(--muted); font-weight: 600; }
.next-class__foot .i { width: 17px; height: 17px; color: var(--houle); }

.prog-card { padding: 0; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; }
.prog-card .cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.prog-card__body { position: relative; z-index: 1; padding: 20px; display: grid; gap: 10px; }
.prog-card__body .eyebrow { color: var(--verre); }
.prog-card__title { font-size: 28px; }
.prog-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prog-card__meta span { font-size: 13px; color: rgba(255, 255, 255, 0.78); font-weight: 600; }
.play-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--corail); color: var(--abysse); box-shadow: 0 10px 22px -8px rgba(232, 96, 63, 0.8); flex: none; transition: transform 0.2s var(--spring); }
.play-btn .i { width: 22px; height: 22px; fill: currentColor; stroke-width: 1.4; margin-left: 2px; }
.pressable:active .play-btn { transform: scale(0.92); }

/* Tide table (the week's best times) */
.tide-table { padding: 6px 4px; }
.tt-row { display: grid; grid-template-columns: 74px 1fr 46px; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; text-decoration: none; }
.tt-row + .tt-row { border-top: 1px solid var(--line); border-radius: 0; }
.tt-row.is-today { background: var(--sable); border-radius: 16px; border-top-color: transparent; }
.tt-row.is-today + .tt-row { border-top-color: transparent; }
.tt-day b { display: block; font-weight: 750; font-size: 14px; }
.tt-day small { font-size: 12px; color: var(--muted); font-weight: 600; }
.tt-curve { height: 34px; width: 100%; overflow: visible; }
.tt-low { font-size: 12.5px; font-weight: 700; color: var(--verre-ink); }
.tt-coef { text-align: right; }
.tt-coef b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 420; line-height: 1; font-variation-settings: "SOFT" 50; }
.tt-coef small { font-size: 10.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tt-head { display: grid; grid-template-columns: 74px 1fr 46px; gap: 10px; padding: 8px 14px 4px; font-size: 10.5px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.tt-head span:last-child { text-align: right; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { padding: 16px; display: grid; gap: 10px; align-content: space-between; min-height: 150px; text-decoration: none; }
.mini__top { display: flex; align-items: center; justify-content: space-between; }
.mini__icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--sable-2); color: var(--ocean); }
.mini__icon .i { width: 18px; height: 18px; }
.mini b.big { font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1; font-variation-settings: "SOFT" 50; letter-spacing: -0.02em; }
.mini b.big small { font-family: var(--font-ui); font-size: 13px; font-weight: 650; color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.mini p { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.waves-meter { display: flex; gap: 3px; height: 18px; align-items: flex-end; }
.waves-meter i { flex: 1; border-radius: 3px; background: var(--sable-3); height: 40%; }
.waves-meter i.on { background: var(--houle); }
.ring { position: relative; width: 58px; height: 58px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.ring__bg { stroke: var(--sable-2); }
.ring__fg { stroke: var(--corail); transition: stroke-dashoffset 1s var(--ease); }

.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 2px 18px 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.news-card { flex: none; width: 252px; scroll-snap-align: start; padding: 0; text-decoration: none; display: flex; flex-direction: column; }
.news-card__art { position: relative; height: 150px; overflow: hidden; background: var(--ocean); }
.news-card__art svg, .news-card__art img { width: 100%; height: 100%; object-fit: cover; }
.news-card__art .chip { position: absolute; left: 12px; top: 12px; height: 26px; font-size: 11.5px; }
.news-card__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.news-card__body small { font-size: 12px; color: var(--muted); font-weight: 650; }
.news-card__body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 420; line-height: 1.18; font-variation-settings: "SOFT" 50; }

/* =====================================================================
   La marée en détail (dark)
   ===================================================================== */
.tide-chart { position: relative; margin: 18px -4px 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.tide-chart svg { width: 100%; height: auto; overflow: visible; }
.tide-chart__read { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px; min-height: 48px; }
.tide-chart__read b { font-family: var(--font-display); font-size: 30px; font-weight: 380; font-variation-settings: "SOFT" 50; }
.tide-chart__read span { font-size: 13px; color: rgba(255, 255, 255, 0.7); font-weight: 650; text-align: right; }
.legend-states { display: grid; gap: 8px; }
.legend-state { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); }
.legend-state svg { width: 42px; height: 28px; }
.legend-state b { display: block; font-size: 14px; }
.legend-state small { font-size: 12.5px; color: rgba(255, 255, 255, 0.68); }
.on-dark .tt-row + .tt-row { border-top-color: rgba(255, 255, 255, 0.08); }
.on-dark .tt-row.is-today { background: rgba(255, 255, 255, 0.07); }
.on-dark .tt-day small, .on-dark .tt-head, .on-dark .tt-coef small { color: rgba(255, 255, 255, 0.55); }
.on-dark .tt-low { color: var(--verre); }
.club-tides { display: grid; gap: 10px; }
.club-tide { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); text-align: left; width: 100%; color: #fff; }
.club-tide.is-on { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1.5px rgba(169, 211, 207, 0.6); }
.vial { position: relative; width: 54px; height: 54px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.vial__water { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, var(--verre), var(--houle)); transition: height 1.4s var(--ease-io); }
.vial__water::before { content: ""; position: absolute; left: 0; top: -5px; width: 200%; height: 10px; background: radial-gradient(circle at 6px 10px, transparent 6px, var(--verre) 6.5px) 0 0 / 13px 10px repeat-x; animation: swellX 3s linear infinite; }
.club-tide b { display: block; font-size: 15px; font-weight: 750; }
.club-tide small { font-size: 12.5px; color: rgba(255, 255, 255, 0.66); }
.club-tide .state { font-family: var(--font-display); font-style: italic; font-size: 17px; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--verre); }
.on-dark .card--glass .switch__track { background: rgba(255, 255, 255, 0.2); }
.on-dark .switch input:checked + .switch__track { background: var(--verre-ink); }

/* =====================================================================
   Badge
   ===================================================================== */
.view--badge { color: #fff; background: var(--grain-light), radial-gradient(600px 400px at 50% 110%, #1F5A80 0%, rgba(31, 90, 128, 0) 70%), linear-gradient(180deg, #071A2A, var(--abysse) 40%, #0C3150); }
.badge-bg { position: absolute; inset: 0; color: var(--verre); opacity: 0.14; pointer-events: none; overflow: hidden; }
.badge-bg svg { position: absolute; width: 140%; height: 140%; left: -20%; top: -20%; animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(6%, 4%, 0) rotate(3deg); } }
.badge-wrap { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.badge-who { margin-top: 10px; }
.badge-who h1 { font-size: 34px; }
.badge-who p { margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); font-weight: 600; }
.qr-card {
  position: relative;
  margin-top: 22px;
  width: 268px; padding: 18px 18px 14px;
  border-radius: 32px;
  background: var(--grain), var(--sable);
  color: var(--encre);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 80px -10px rgba(169, 211, 207, 0.25);
}
.qr-card__code { position: relative; width: 232px; height: 232px; border-radius: 18px; overflow: hidden; background: #fff; padding: 10px; }
.qr-card__code .qr { width: 100%; height: 100%; transition: opacity 0.3s; }
.qr-card__sweep { position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(180deg, rgba(169, 211, 207, 0), rgba(169, 211, 207, 0.85) 70%, rgba(255, 255, 255, 0.95)); pointer-events: none; opacity: 0; }
.qr-card.is-refreshing .qr-card__sweep { animation: sweep 0.9s var(--ease-io) both; }
@keyframes sweep { 0% { top: -40%; opacity: 1; } 100% { top: 100%; opacity: 1; } }
.qr-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 0 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.qr-timer { position: relative; width: 22px; height: 22px; }
.qr-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qr-timer circle { fill: none; stroke-width: 3; }
.qr-timer .bg { stroke: var(--sable-3); }
.qr-timer .fg { stroke: var(--houle); stroke-linecap: round; }

.door-btn {
  position: relative; margin-top: 26px;
  width: 268px; height: 64px; border-radius: 32px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--corail); color: var(--abysse);
  font-size: 16.5px; font-weight: 800;
  box-shadow: 0 16px 34px -12px rgba(255, 122, 89, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s var(--ease);
  overflow: hidden;
}
.door-btn .i { width: 24px; height: 24px; stroke-width: 2; }
.door-btn:active { transform: scale(0.97); }
.door-btn.is-loading .door-btn__label { opacity: 0; }
.door-btn.is-loading::after { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(10, 34, 54, 0.2); border-top-color: var(--abysse); animation: spin 0.8s linear infinite; }
.door-btn__label { display: inline-flex; align-items: center; gap: 10px; transition: opacity 0.2s; }
.badge-hint { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.62); max-width: 260px; }
.badge-stats { margin-top: 26px; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.badge-stats div { padding: 12px 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); }
.badge-stats b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 400; font-variation-settings: "SOFT" 50; }
.badge-stats small { font-size: 11.5px; color: rgba(255, 255, 255, 0.6); font-weight: 650; }

.opened {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; align-content: center; gap: 0;
  text-align: center; padding: 30px;
  background: var(--grain-light), radial-gradient(circle at 50% 42%, #2B6F69 0%, #164A55 38%, var(--abysse) 80%);
  color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.opened.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.opened__rings { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.opened__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(169, 211, 207, 0.6); opacity: 0; }
.opened.is-on .opened__rings i { animation: ripple 2.6s var(--ease) infinite; }
.opened.is-on .opened__rings i:nth-child(2) { animation-delay: 0.5s; }
.opened.is-on .opened__rings i:nth-child(3) { animation-delay: 1s; }
@keyframes ripple { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.3); opacity: 0; } }
.opened__check { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: var(--verre); color: var(--abysse); box-shadow: 0 0 0 10px rgba(169, 211, 207, 0.16), 0 20px 50px -10px rgba(0, 0, 0, 0.5); transform: scale(0.4); }
.opened.is-on .opened__check { animation: pop 0.7s var(--spring) 0.05s both; }
.opened__check .i { width: 56px; height: 56px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; }
.opened.is-on .opened__check .i { animation: draw 0.5s var(--ease) 0.35s both; }
@keyframes pop { from { transform: scale(0.4); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.opened h2 { margin-top: 34px; }
.opened p { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.5; }
.opened .chip { margin-top: 18px; }
.opened .btn { margin-top: 34px; width: 220px; }

/* =====================================================================
   Planning
   ===================================================================== */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 18px; }
.day {
  position: relative; height: 76px; border-radius: 20px;
  display: grid; justify-items: center; align-content: center; gap: 1px;
  background: var(--card); box-shadow: 0 1px 2px rgba(10, 34, 54, 0.05);
  transition: background 0.25s, color 0.25s, transform 0.2s var(--ease);
}
.day small { font-size: 11px; font-weight: 750; text-transform: capitalize; color: var(--muted); }
.day b { font-family: var(--font-display); font-size: 21px; font-weight: 420; font-variation-settings: "SOFT" 50; line-height: 1.15; }
.day__tide { width: 22px; height: 4px; border-radius: 2px; background: var(--sable-2); overflow: hidden; margin-top: 3px; }
.day__tide i { display: block; height: 100%; background: var(--verre-ink); border-radius: 2px; }
.day.is-on { background: var(--ocean); color: #fff; box-shadow: 0 10px 20px -10px rgba(14, 59, 92, 0.8); }
.day.is-on small { color: var(--verre); }
.day.is-on .day__tide { background: rgba(255, 255, 255, 0.2); }
.day.is-on .day__tide i { background: var(--verre); }
.day:active { transform: scale(0.95); }

.slot-group { margin-top: 22px; }
.slot-group__label { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; font-size: 11px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.slot-group__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.slots { display: grid; gap: 10px; }
.slot {
  width: 100%; display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 14px 14px 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-card);
  text-align: left; text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.slot:active { transform: scale(0.985); }
.slot__time b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 420; font-variation-settings: "SOFT" 50; line-height: 1.05; letter-spacing: -0.01em; }
.slot__time small { font-size: 11.5px; color: var(--muted); font-weight: 650; }
.slot__info { min-width: 0; }
.slot__info b { display: block; font-size: 15.5px; font-weight: 750; }
.slot__info small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot__tide { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 11.5px; font-weight: 700; color: var(--verre-ink); }
.slot__tide.is-mi { color: var(--houle); }
.slot__tide.is-haute { color: #A23A1C; }
.slot__tide svg { width: 16px; height: 10px; }
.slot__places { display: grid; justify-items: end; gap: 6px; }
.slot__places .chip { height: 26px; font-size: 11.5px; padding: 0 10px; }
.slot__dots { display: flex; gap: 2px; }
.slot__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--sable-3); }
.slot__dots i.on { background: var(--houle); }
.slot.is-booked { box-shadow: inset 0 0 0 1.5px var(--houle), var(--shadow-card); }
.slot.is-full { opacity: 0.72; }

/* Class sheet */
.class-art { position: relative; height: 210px; margin: 0 -20px; overflow: hidden; color: #fff; }
.class-art .cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.class-art__text { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.class-art__text .eyebrow { color: var(--verre); }
.class-art__text h2 { margin-top: 6px; }
.class-art__close { position: absolute; top: 18px; right: 16px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.info { padding: 14px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 2px rgba(10, 34, 54, 0.05); display: grid; gap: 2px; }
.info small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.info b { font-size: 14.5px; font-weight: 750; }
.info--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.pebbles { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.pebbles i { width: 11px; height: 11px; border-radius: 50%; background: var(--houle); }
.pebbles i.free { background: transparent; box-shadow: inset 0 0 0 1.5px var(--houle); }
.pebbles i.mine { background: var(--corail); animation: pop 0.5s var(--spring) both; }
.intensity { display: inline-flex; gap: 3px; }
.intensity svg { width: 18px; height: 12px; }
.class-desc { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: #34444F; }
.booked-state { text-align: center; padding: 34px 6px 4px; }
.booked-state .opened__rings { margin: 0 auto; width: 120px; height: 120px; }
.booked-state .opened__check { width: 92px; height: 92px; background: var(--ocean); color: #fff; box-shadow: 0 0 0 10px rgba(14, 59, 92, 0.08); animation: pop 0.7s var(--spring) both; }
.booked-state .opened__check .i { width: 44px; height: 44px; animation: draw 0.5s var(--ease) 0.3s both; }
.booked-state .opened__rings i { border-color: rgba(14, 59, 92, 0.3); animation: ripple 2.6s var(--ease) infinite; }
.booked-state .opened__rings i:nth-child(2) { animation-delay: 0.5s; }
.booked-state h2 { margin-top: 24px; }
.booked-state p { margin-top: 8px; color: var(--muted); }

.booking { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; transition: opacity 0.35s, transform 0.4s var(--ease), max-height 0.45s var(--ease), margin 0.45s, padding 0.45s; max-height: 220px; }
.booking.is-leaving { opacity: 0; transform: translateX(30px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -10px; }
.booking__date { width: 62px; padding: 10px 0; border-radius: 18px; background: var(--ocean); color: #fff; display: grid; justify-items: center; }
.booking__date small { font-size: 10.5px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--verre); }
.booking__date b { font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1.1; font-variation-settings: "SOFT" 50; }
.booking__info b { display: block; font-size: 16px; font-weight: 750; }
.booking__info small { display: block; color: var(--muted); font-size: 13px; }
.booking__actions { grid-column: 1 / -1; display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.booking__actions .btn { height: 40px; font-size: 13.5px; }

/* =====================================================================
   Coaching, séance, live player
   ===================================================================== */
.coach-note { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.coach-note__bubble { position: relative; padding: 14px 16px; border-radius: 6px 20px 20px 20px; background: var(--sable); font-size: 14px; line-height: 1.5; }
.coach-note__who { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.coach-note__who b { font-weight: 750; }
.coach-note__who small { color: var(--muted); font-size: 12px; font-weight: 600; }
.cycle { display: flex; gap: 4px; align-items: center; margin-top: 12px; }
.cycle svg { flex: 1; height: 14px; }
.cycle-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--muted); font-weight: 650; }
.session { padding: 0; display: grid; grid-template-columns: 96px 1fr; min-height: 112px; text-decoration: none; }
.session__art { position: relative; overflow: hidden; }
.session__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.session__art span { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-display); font-style: italic; font-size: 30px; color: #fff; font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1; }
.session__body { padding: 14px 16px; display: grid; gap: 4px; align-content: center; }
.session__body small { font-size: 11px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.session__body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 420; line-height: 1.15; font-variation-settings: "SOFT" 50; }
.session__body p { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.session.is-today { box-shadow: inset 0 0 0 1.5px var(--houle), var(--shadow-card); }
.session.is-today .session__body small { color: var(--corail-2); }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 14px 12px; border-radius: 20px; background: var(--card); box-shadow: 0 1px 2px rgba(10, 34, 54, 0.05); }
.stat b small { display: inline; font-family: var(--font-ui); font-weight: 650; color: var(--muted); margin: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1.05; font-variation-settings: "SOFT" 50; }
.stat small { font-size: 11.5px; color: var(--muted); font-weight: 650; line-height: 1.3; display: block; margin-top: 2px; }

.photo-hero { position: relative; height: 330px; margin: 0; overflow: hidden; border-radius: 0 0 36px 36px; color: #fff; background: var(--ocean); }
.photo-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 34, 54, 0.35) 0%, rgba(10, 34, 54, 0) 30%, rgba(10, 34, 54, 0.25) 55%, rgba(10, 34, 54, 0.92) 100%); }
.photo-hero__top { position: absolute; z-index: 2; left: 18px; right: 18px; top: calc(var(--top) + 4px); display: flex; justify-content: space-between; }
.photo-hero__text { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.photo-hero__text .eyebrow { color: var(--verre); }
.photo-hero__text h1 { margin-top: 8px; }
.meta-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }

.ex { padding: 0; }
.ex__head { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; text-align: left; }
.ex__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--ocean); background: var(--sable-2); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ex__head b { display: block; font-size: 15px; font-weight: 750; }
.ex__head small { font-size: 12.5px; color: var(--muted); font-weight: 650; }
.ex__head .i { color: var(--faint); transition: transform 0.3s var(--ease); }
.ex.is-open .ex__head .i { transform: rotate(180deg); }
.ex__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.ex.is-open .ex__more { grid-template-rows: 1fr; }
.ex__more > div { overflow: hidden; }
.ex__more p { margin: 0 16px 14px 68px; padding: 12px 14px; border-radius: 14px; background: var(--sable); font-size: 13.5px; line-height: 1.5; color: #34444F; }
.sticky-cta { position: sticky; bottom: calc(var(--bottom) + 12px); margin-top: 22px; z-index: 5; }

.view--live { background: var(--grain-light), linear-gradient(180deg, #071A2A 0%, var(--abysse) 50%, #0C3150 100%); color: #fff; }
.live { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--top) + 4px) 18px calc(var(--bottom) + 18px); }
.live__top { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; }
.live__segs { display: flex; gap: 4px; }
.live__segs i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; position: relative; }
.live__segs i.done { background: var(--verre); }
.live__segs i.cur::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--corail); border-radius: 2px; transition: width 0.5s var(--ease); }
.live__clock { text-align: center; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, 0.65); margin-top: 8px; }
.live__ex { margin-top: 22px; }
.live__ex .eyebrow { color: var(--verre); }
.live__ex h1 { margin-top: 8px; font-size: 40px; }
.live__ex p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.72); line-height: 1.5; }
.live__card { margin-top: 22px; padding: 18px; border-radius: 28px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.live__setlabel { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
.live__setlabel b { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: #fff; font-variation-settings: "SOFT" 50; }
.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stepper-num { padding: 12px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; text-align: center; }
.stepper-num button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; }
.stepper-num button .i { width: 16px; height: 16px; stroke-width: 2.2; }
.stepper-num button:active { transform: scale(0.9); }
.stepper-num b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 380; line-height: 1; font-variation-settings: "SOFT" 50; }
.stepper-num small { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.06em; text-transform: uppercase; }
.sets { display: flex; gap: 8px; margin-top: 14px; }
.set-pill { flex: 1; height: 44px; border-radius: 16px; display: grid; place-items: center; font-weight: 750; font-size: 14px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.6); transition: background 0.3s, color 0.3s; }
.set-pill .i { width: 20px; height: 20px; stroke-width: 2.4; }
.set-pill.done { background: var(--verre); color: var(--abysse); }
.set-pill.cur { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.live__next { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.live__next b { color: #fff; font-weight: 700; }
.live__last { margin-top: 12px; padding: 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.live__last-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.live__last-head .eyebrow { color: rgba(255, 255, 255, 0.6); }
.live__bars { display: flex; gap: 10px; height: 64px; margin-top: 12px; }
.live__bars span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 5px; }
.live__bars i { display: block; border-radius: 6px 6px 3px 3px; background: rgba(169, 211, 207, 0.32); }
.live__bars i.now { background: var(--corail); }
.live__bars small { font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, 0.5); text-align: center; }
.live__last p { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.66); line-height: 1.45; }
.live__foot { margin-top: auto; padding-top: 20px; display: grid; gap: 6px; }
.live__foot .btn--text { color: rgba(255, 255, 255, 0.7); justify-self: center; }

.rest {
  position: absolute; inset: 0; z-index: 10;
  display: grid; place-items: center; align-content: center; text-align: center;
  padding: 30px;
  background: var(--grain-light), radial-gradient(circle at 50% 40%, #12405F, var(--abysse) 75%);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s linear 0.4s;
}
.rest.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.rest .eyebrow { color: var(--verre); }
.rest__ring { position: relative; width: 236px; height: 236px; margin-top: 22px; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14); }
.rest__water { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 0%); background: linear-gradient(180deg, var(--houle), var(--ocean)); transition: height 1s linear; }
.rest__water::before, .rest__water::after { content: ""; position: absolute; left: 0; bottom: 100%; width: 200%; height: 16px; margin-bottom: -1px; background-repeat: repeat-x; background-size: 118px 16px; animation: swellX 3.2s linear infinite; }
.rest__water::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='16' viewBox='0 0 118 16'%3E%3Cpath d='M0 8 C 14.75 0, 44.25 0, 59 8 S 103.25 16, 118 8 V16 H0Z' fill='%231F5A80'/%3E%3C/svg%3E"); }
.rest__water::after { opacity: 0.5; animation-duration: 5s; animation-direction: reverse; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='16' viewBox='0 0 118 16'%3E%3Cpath d='M0 8 C 14.75 0, 44.25 0, 59 8 S 103.25 16, 118 8 V16 H0Z' fill='%23A9D3CF'/%3E%3C/svg%3E"); }
.rest__time { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.rest__time b { font-family: var(--font-display); font-size: 66px; font-weight: 340; font-variation-settings: "SOFT" 50; line-height: 1; letter-spacing: -0.02em; }
.rest__time small { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }
.rest__actions { display: flex; gap: 10px; margin-top: 26px; }
.rest__actions .btn { width: auto; padding: 0 20px; height: 48px; }
.rest__next { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.rest__next b { color: #fff; }

.done-hero { position: relative; height: 360px; margin: 0 0 0; overflow: hidden; border-radius: 0 0 40px 40px; }
.done-hero svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.done-hero__sun { position: absolute; left: 50%; bottom: 92px; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FF9474, var(--corail) 60%); box-shadow: 0 0 90px 30px rgba(255, 122, 89, 0.3); animation: sunrise 2.2s var(--ease) both; }
@keyframes sunrise { from { transform: translateY(110px); } }
.done-hero__sea { position: absolute; left: 0; right: 0; bottom: 0; height: 142px; background: linear-gradient(180deg, var(--houle), var(--abysse)); }
.done-hero__text { position: absolute; left: 22px; right: 22px; top: calc(var(--top) + 36px); text-align: center; }
.feel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.feel button { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 2px rgba(10, 34, 54, 0.05); font-size: 11px; font-weight: 700; color: var(--muted); transition: background 0.2s, color 0.2s, transform 0.2s var(--spring); }
.feel button svg { width: 30px; height: 20px; }
.feel button.is-on { background: var(--ocean); color: #fff; transform: translateY(-2px); }

/* =====================================================================
   Nutrition
   ===================================================================== */
.kcal { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; }
.kcal__ring { position: relative; width: 132px; height: 132px; }
.kcal__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.kcal__ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.kcal__ring .bg { stroke: var(--sable-2); }
.kcal__ring .fg { stroke: url(#kcalGrad); transition: stroke-dashoffset 1.1s var(--ease); }
.kcal__center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.kcal__center b { font-family: var(--font-display); font-size: 30px; font-weight: 400; line-height: 1; font-variation-settings: "SOFT" 50; }
.kcal__center small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.macros { display: grid; gap: 10px; }
.macro__top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.macro__top span:last-child { color: var(--muted); }
.macro__bar { height: 7px; border-radius: 4px; background: var(--sable-2); overflow: hidden; margin-top: 5px; }
.macro__bar i { display: block; height: 100%; border-radius: 4px; transition: width 1s var(--ease); }
.water { display: flex; gap: 6px; margin-top: 12px; }
.glass { position: relative; flex: 1; height: 46px; border-radius: 8px 8px 12px 12px; background: var(--sable); box-shadow: inset 0 0 0 1.5px var(--line-strong); overflow: hidden; transition: transform 0.2s var(--spring); }
.glass:active { transform: scale(0.92); }
.glass i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, var(--verre), var(--houle)); transition: height 0.6s var(--ease); }
.glass.is-full i { height: 78%; }
.glass i::before { content: ""; position: absolute; left: 0; top: -3px; width: 200%; height: 6px; background: radial-gradient(circle at 3px 6px, transparent 3.2px, var(--verre) 3.6px) 0 0 / 7px 6px repeat-x; animation: swellX 2.4s linear infinite; }
.meal { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.meal small { font-size: 11px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.meal h3 { font-size: 15.5px; font-weight: 700; line-height: 1.3; margin-top: 2px; }
.meal p { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.tick { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: transparent; transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.3s var(--spring); }
.tick .i { width: 20px; height: 20px; stroke-width: 2.4; }
.tick.is-on { background: var(--verre-ink); color: #fff; box-shadow: none; transform: scale(1.04); }
.meal.is-done h3 { color: var(--muted); }
.shop-progress { height: 8px; border-radius: 4px; background: var(--sable-2); overflow: hidden; margin-top: 12px; }
.shop-progress i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--verre-ink), var(--houle)); transition: width 0.5s var(--ease); }
.shop-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-top: 1px solid var(--line); text-align: left; font-size: 15px; font-weight: 600; }
.shop-item:first-child { border-top: 0; }
.shop-item__box { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: #fff; transition: background 0.25s, box-shadow 0.25s; }
.shop-item__box .i { width: 15px; height: 15px; stroke-width: 2.8; opacity: 0; transition: opacity 0.2s; }
.shop-item span:last-child { position: relative; transition: color 0.25s; }
.shop-item span:last-child::after { content: ""; position: absolute; left: 0; top: 52%; height: 1.5px; width: 0; background: var(--muted); transition: width 0.35s var(--ease); }
.shop-item.is-on .shop-item__box { background: var(--verre-ink); box-shadow: none; }
.shop-item.is-on .shop-item__box .i { opacity: 1; }
.shop-item.is-on span:last-child { color: var(--muted); }
.shop-item.is-on span:last-child::after { width: 100%; }

/* =====================================================================
   Compte
   ===================================================================== */
.member-card {
  position: relative; height: 222px; border-radius: 28px; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, var(--houle) -10%, var(--ocean) 40%, var(--abysse) 100%);
  box-shadow: 0 26px 50px -24px rgba(10, 34, 54, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s var(--ease);
  padding: 20px 22px;
  display: flex; flex-direction: column;
}
.member-card .card__contours { opacity: 0.25; }
.member-card__sun { position: absolute; right: 26px; top: 56px; width: 74px; height: 74px; border-radius: 50%; background: var(--corail); clip-path: inset(0 0 46% 0); }
.member-card__waves { position: absolute; right: 14px; top: 86px; width: 98px; }
.member-card__top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.member-card__brand { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.member-card__name { position: relative; margin-top: auto; }
.member-card__name b { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 380; line-height: 1.05; font-variation-settings: "SOFT" 50; letter-spacing: -0.015em; }
.member-card__name small { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.member-card__foot { position: relative; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.08em; }
.member-card__foot .eyebrow { color: var(--verre); font-size: 10px; }
.debit { display: grid; gap: 6px; }
.debit__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.debit b { font-family: var(--font-display); font-size: 30px; font-weight: 400; line-height: 1; font-variation-settings: "SOFT" 50; }
.debit p { font-size: 13px; color: var(--muted); font-weight: 600; }
.debit s { color: var(--faint); font-size: 14px; margin-right: 6px; }
.tag-new { height: 22px; padding: 0 8px; border-radius: 11px; display: inline-flex; align-items: center; background: var(--corail); color: var(--abysse); font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; }
.inv-year { margin: 22px 4px 10px; font-size: 11px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.paid { display: inline-flex; align-items: center; gap: 4px; color: var(--verre-ink); font-weight: 700; font-size: 12.5px; }
.paid .i { width: 14px; height: 14px; stroke-width: 2.6; }
.doc {
  position: relative; padding: 26px 22px; border-radius: 6px 6px 24px 24px; background: #FFFEFB;
  box-shadow: 0 1px 2px rgba(10, 34, 54, 0.06), 0 22px 40px -22px rgba(10, 34, 54, 0.4);
  font-size: 13.5px; line-height: 1.6; color: #2A3A45;
}
.doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--ocean), var(--houle) 60%, var(--corail)); border-radius: 6px 6px 0 0; }
.doc h2 { font-family: var(--font-display); font-size: 24px; font-weight: 420; color: var(--encre); font-variation-settings: "SOFT" 50; line-height: 1.15; }
.doc h3 { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.doc .kv { font-size: 13.5px; }
.doc__sig { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.doc__sig img, .doc__sig svg { width: 150px; height: 64px; object-fit: contain; }
.doc__sig small { color: var(--muted); font-size: 12px; }
.seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 8.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--verre-ink); box-shadow: inset 0 0 0 1.5px var(--verre-ink), inset 0 0 0 4px #FFFEFB, inset 0 0 0 5px rgba(36, 102, 95, 0.4); transform: rotate(-8deg); line-height: 1.2; }

.duo-art { position: relative; height: 190px; margin: 18px 0 0; border-radius: 28px; overflow: hidden; }
.duo-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.duo-price { display: flex; align-items: baseline; gap: 6px; }
.duo-price b { white-space: nowrap; font-family: var(--font-display); font-size: 36px; font-weight: 380; font-variation-settings: "SOFT" 50; line-height: 1; letter-spacing: -0.02em; }
.duo-price span { color: var(--muted); font-weight: 650; font-size: 14px; }
.invite-sent { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.promo-result { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--verre-pale); color: var(--verre-ink); font-size: 13.5px; font-weight: 650; animation: reveal 0.5s var(--ease) both; }
.promo-result.is-error { background: var(--corail-pale); color: #A23A1C; }
.promo-result b { display: block; font-size: 14.5px; font-weight: 800; }
.promo-result .i { width: 22px; height: 22px; stroke-width: 2.2; }
.offer { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.offer__sun { width: 54px; height: 54px; border-radius: 16px; background: var(--abysse); position: relative; overflow: hidden; }
.offer__sun::before { content: ""; position: absolute; left: 50%; top: 18px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--corail); }
.offer__sun::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--houle); }
.settings-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
.settings-row:first-child { border-top: 0; }
.settings-row b { display: block; font-weight: 700; font-size: 15px; }
.settings-row small { font-size: 12.5px; color: var(--muted); }
.group-label { margin: 24px 6px 10px; font-size: 11px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* =====================================================================
   Actualités
   ===================================================================== */
.chips-rail { display: flex; gap: 8px; overflow-x: auto; margin: 16px -18px 0; padding: 0 18px; scrollbar-width: none; }
.chips-rail::-webkit-scrollbar { display: none; }
.chips-rail button { flex: none; height: 38px; padding: 0 16px; border-radius: 19px; background: var(--card); font-size: 13.5px; font-weight: 700; color: var(--muted); box-shadow: 0 1px 2px rgba(10, 34, 54, 0.06); transition: background 0.2s, color 0.2s; }
.chips-rail button.is-on { background: var(--ocean); color: #fff; }
.feature { position: relative; display: block; height: 420px; border-radius: 30px; overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow-float); }
.feature svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 34, 54, 0) 45%, rgba(10, 34, 54, 0.75) 100%); }
.feature__text { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; }
.feature__text .chip { margin-bottom: 12px; }
.feature__text p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.82); line-height: 1.5; }
.feature__cd { position: absolute; z-index: 1; top: 18px; right: 18px; display: grid; justify-items: center; width: 72px; padding: 10px 0; border-radius: 20px; background: rgba(255, 253, 249, 0.85); color: var(--ocean); backdrop-filter: blur(10px); }
.feature__cd b { font-family: var(--font-display); font-size: 26px; font-weight: 420; line-height: 1; font-variation-settings: "SOFT" 50; }
.feature__cd small { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.news-row { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; padding: 10px; text-decoration: none; }
.news-row__art { position: relative; height: 104px; border-radius: 18px; overflow: hidden; background: var(--ocean); }
.news-row__art svg, .news-row__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-row small { font-size: 11px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--corail-2); }
.news-row h3 { font-family: var(--font-display); font-size: 19px; font-weight: 420; line-height: 1.15; margin-top: 3px; font-variation-settings: "SOFT" 50; }
.news-row p { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.article-hero { position: relative; height: 440px; overflow: hidden; color: #fff; border-radius: 0 0 40px 40px; background: var(--ocean); }
.article-hero svg.scene, .article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero__waves { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; overflow: hidden; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 34, 54, 0.15) 0%, rgba(10, 34, 54, 0) 25%, rgba(10, 34, 54, 0) 50%, rgba(10, 34, 54, 0.8) 100%); pointer-events: none; }
.article-hero__top { position: absolute; z-index: 2; left: 18px; right: 18px; top: calc(var(--top) + 4px); display: flex; justify-content: space-between; }
.article-hero__text { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 26px; }
.article-hero__text p { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.75); font-weight: 650; }
.prose { margin-top: 22px; padding: 0 4px; font-size: 16px; line-height: 1.7; color: #24343F; }
.prose p + p { margin-top: 14px; }
.prose .lead { font-family: var(--font-display); font-size: 21px; line-height: 1.4; font-weight: 380; color: var(--encre); font-variation-settings: "SOFT" 50; }
.facts { display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts .row__icon { width: 38px; height: 38px; }
.facts b { display: block; font-size: 14.5px; }
.facts small { font-size: 12.5px; color: var(--muted); }

/* =====================================================================
   Inscription & connexion
   ===================================================================== */
.view--welcome { background: var(--sable); }
.welcome { position: relative; height: 100%; min-height: 640px; overflow: hidden; color: #fff; }
.welcome__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #FBF7F0 0%, #F9E7DA 38%, #F8CDB6 50%); }
.welcome__sun { position: absolute; left: 50%; top: 46%; width: 210px; height: 210px; margin: -170px 0 0 -105px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #FF9C7E, var(--corail) 58%, #F7663F); box-shadow: 0 0 120px 40px rgba(255, 122, 89, 0.28); animation: sunrise 2.6s var(--ease) both; }
.welcome__sea { position: absolute; left: 0; right: 0; top: 46%; bottom: 0; background: linear-gradient(180deg, var(--houle), var(--ocean) 30%, var(--abysse)); }
.welcome__sea .contours { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--verre); opacity: 0.18; }
.welcome__waves { position: absolute; left: 0; right: 0; top: 46%; height: 44px; margin-top: -40px; overflow: hidden; }
.welcome__logo { position: absolute; top: calc(var(--top) + 18px); left: 0; right: 0; display: grid; justify-items: center; gap: 14px; }
.welcome__logo img { width: 168px; height: auto; }
.welcome__content { position: absolute; left: 22px; right: 22px; bottom: calc(var(--bottom) + 22px); }
.welcome__content .eyebrow { color: var(--verre); }
.welcome__content h1 { margin-top: 10px; font-size: 43px; }
.welcome__content p { margin-top: 12px; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.5; max-width: 320px; }
.welcome__actions { display: grid; gap: 10px; margin-top: 24px; }

.flow-head { display: grid; grid-template-columns: 42px 1fr 42px; gap: 12px; align-items: center; min-height: 44px; }
.flow-progress { display: grid; gap: 6px; justify-items: center; }
.flow-progress small { font-size: 11px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.flow-progress svg { width: 150px; height: 12px; overflow: visible; }
.flow-progress .track { stroke: var(--sable-3); }
.flow-progress .fill { stroke: var(--houle); transition: stroke-dashoffset 0.8s var(--ease); }
.flow-foot { position: sticky; bottom: 0; margin: 22px -18px 0; padding: 30px 18px calc(var(--bottom) + 12px); background: linear-gradient(180deg, rgba(247, 243, 236, 0) 0, rgba(247, 243, 236, 0.96) 26px, var(--sable) 100%); z-index: 5; }
.flow-foot__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 10px; font-size: 13px; font-weight: 650; color: var(--muted); }
.flow-foot__sum b { font-size: 15px; color: var(--encre); font-weight: 800; }

.pick { position: relative; display: block; width: 100%; padding: 0; text-align: left; border-radius: 26px; background: var(--card); box-shadow: var(--shadow-card); overflow: hidden; transition: box-shadow 0.25s, transform 0.2s var(--ease); cursor: pointer; }
.pick + .pick { margin-top: 12px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick:has(input:checked), .pick.is-on { box-shadow: inset 0 0 0 2px var(--ocean), var(--shadow-card); }
.pick:has(input:focus-visible) { outline: 2.5px solid var(--houle); outline-offset: 3px; }
.pick:active { transform: scale(0.99); }
.pick__check { position: absolute; z-index: 2; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: transparent; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.pick__check .i { width: 16px; height: 16px; stroke-width: 2.8; }
.pick:has(input:checked) .pick__check, .pick.is-on .pick__check { background: var(--ocean); color: #fff; box-shadow: none; }
.pick__art, .pick__body { display: block; }
.pick__art { position: relative; height: 112px; overflow: hidden; }
.pick__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pick__body { padding: 14px 18px 16px; }
.pick__body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 420; font-variation-settings: "SOFT" 50; line-height: 1.15; }
.pick__body p { font-size: 13px; color: var(--muted); margin-top: 3px; font-weight: 600; }
.pick__body h3, .pick__body p { display: block; }
.pick__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pick__meta .chip { height: 26px; font-size: 11.5px; padding: 0 10px; }

.plan { padding: 18px 18px 16px; }
.plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-right: 34px; }
.plan__head h3 { font-family: var(--font-display); font-size: 22px; font-weight: 420; font-variation-settings: "SOFT" 50; line-height: 1.15; }
.plan__head p { font-size: 12.5px; color: var(--muted); font-weight: 650; margin-top: 2px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 10px; }
.plan__price b { font-family: var(--font-display); font-size: 34px; font-weight: 380; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "SOFT" 50; }
.plan__price span { font-size: 13px; color: var(--muted); font-weight: 650; }
.plan__perks { display: grid; gap: 5px; margin-top: 12px; font-size: 13px; color: #34444F; }
.plan__perks li { display: flex; gap: 8px; align-items: flex-start; }
.plan__perks .i { width: 16px; height: 16px; color: var(--verre-ink); stroke-width: 2.4; margin-top: 2px; }
.plan--featured { background: linear-gradient(150deg, var(--houle) -20%, var(--ocean) 40%, var(--abysse)); color: #fff; }
.plan--featured .plan__head p, .plan--featured .plan__price span { color: rgba(255, 255, 255, 0.7); }
.plan--featured .plan__perks { color: rgba(255, 255, 255, 0.86); }
.plan--featured .plan__perks .i { color: var(--verre); }
.plan--featured.pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--corail), var(--shadow-float); }
.plan--featured .pick__check { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.plan--featured.pick:has(input:checked) .pick__check { background: var(--corail); color: var(--abysse); }
.plan__ribbon { display: inline-flex; margin-bottom: 10px; height: 24px; padding: 0 10px; border-radius: 12px; align-items: center; background: var(--corail); color: var(--abysse); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.promo-box { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.promo-box .btn { width: auto; height: 54px; padding: 0 18px; border-radius: 16px; }
.demo-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--corail-pale); color: #A23A1C; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; text-transform: none; }
.mandate-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.sign-pad { position: relative; height: 196px; border-radius: 22px; background: #FFFEFB; box-shadow: inset 0 0 0 1.5px var(--line-strong); overflow: hidden; touch-action: none; }
.sign-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.sign-pad__line { position: absolute; left: 22px; right: 22px; bottom: 46px; border-bottom: 1.5px dashed var(--line-strong); pointer-events: none; }
.sign-pad__x { position: absolute; left: 22px; bottom: 50px; font-family: var(--font-display); font-size: 22px; color: var(--faint); pointer-events: none; }
.sign-pad__hint { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--faint); font-size: 13.5px; font-weight: 650; pointer-events: none; transition: opacity 0.3s; padding-bottom: 30px; }
.sign-pad__hint .i { width: 26px; height: 26px; }
.sign-pad.is-signed .sign-pad__hint { opacity: 0; }
.sign-pad__clear { position: absolute; right: 10px; top: 10px; height: 34px; padding: 0 12px; border-radius: 17px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 750; color: var(--houle); background: var(--sable); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.sign-pad__clear .i { width: 15px; height: 15px; }
.sign-pad.is-signed .sign-pad__clear { opacity: 1; pointer-events: auto; }
.details { margin-top: 12px; border-radius: 20px; background: var(--card); box-shadow: 0 1px 2px rgba(10, 34, 54, 0.05); }
.details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.details summary::-webkit-details-marker { display: none; }
.details summary .i { transition: transform 0.3s var(--ease); color: var(--faint); }
.details[open] summary .i { transform: rotate(180deg); }
.details__body { padding: 0 16px 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.details__body p + p { margin-top: 8px; }

.welcome-done { position: relative; padding: calc(var(--top) + 20px) 18px calc(var(--bottom) + 20px); min-height: 100%; display: flex; flex-direction: column; }
.welcome-done__head { text-align: center; }
.welcome-done__head h1 { margin-top: 10px; }
.welcome-done__head p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.welcome-badge { position: relative; margin: 26px auto 0; width: 300px; border-radius: 30px; overflow: hidden; background: linear-gradient(150deg, var(--houle) -20%, var(--ocean) 40%, var(--abysse)); color: #fff; padding: 20px; box-shadow: 0 30px 60px -26px rgba(10, 34, 54, 0.75); animation: cardIn 1s var(--ease) 0.2s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(60px) rotateX(18deg) scale(0.94); } }
.welcome-badge__top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.welcome-badge__qr { position: relative; margin: 18px auto 0; width: 176px; height: 176px; padding: 10px; border-radius: 22px; background: #fff; }
.welcome-badge__qr .qr { width: 100%; height: 100%; }
.welcome-badge__name { position: relative; text-align: center; margin-top: 16px; }
.welcome-badge__name b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 400; font-variation-settings: "SOFT" 50; }
.welcome-badge__name small { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 8px; height: 14px; border-radius: 4px; opacity: 0; animation: fall 3.2s var(--ease) both; }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(560px) rotate(540deg); } }

.login { position: relative; min-height: 100%; display: flex; flex-direction: column; }
.login__art { position: relative; height: 330px; flex: none; overflow: hidden; }
.login__art svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.login__art img { position: absolute; left: 50%; top: calc(var(--top) + 34px); width: 168px; margin-left: -84px; z-index: 2; }
.login__waves { position: absolute; left: 0; right: 0; bottom: 28px; height: 44px; overflow: hidden; z-index: 1; }
.login__panel { position: relative; z-index: 3; flex: 1; margin-top: -36px; padding: 28px 20px calc(var(--bottom) + 18px); border-radius: 36px 36px 0 0; background: var(--grain), var(--sable); }
.login__panel h1 { margin-bottom: 6px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.12em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.bottle { width: 150px; height: 150px; margin: 10px auto 0; }
.bottle svg { width: 100%; height: 100%; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(4deg); } }

/* Notifications sheet */
.notif { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.notif:first-of-type { border-top: 0; }
.notif__icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--sable-2); color: var(--ocean); }
.notif__icon .i { width: 20px; height: 20px; }
.notif b { display: block; font-size: 14.5px; font-weight: 750; line-height: 1.35; }
.notif small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.club-option { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 22px; text-align: left; transition: background 0.2s; }
.club-option + .club-option { margin-top: 6px; }
.club-option.is-on { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ocean); }
.club-option .vial { background: var(--sable-2); }
.club-option b { display: block; font-weight: 750; font-size: 15.5px; }
.club-option small { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .tide__wave, .tide__bob, .badge-bg svg, .dock__ping, .rest__water::before, .rest__water::after { animation: none !important; }
}

/* =====================================================================
   Launch splash
   ===================================================================== */
.splash { position: absolute; inset: 0; z-index: 120; display: grid; place-items: center; align-content: center; gap: 18px; background: var(--grain), var(--sable); transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.splash.is-gone { opacity: 0; visibility: hidden; }
.splash__icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 18px 40px -16px rgba(10, 34, 54, 0.45); animation: splashIn 0.9s var(--spring) both; }
.splash__word { width: 120px; height: auto; opacity: 0; animation: reveal 0.6s var(--ease) 0.35s both; animation-name: splashWord; }
@keyframes splashIn { from { transform: scale(0.6); opacity: 0; } }
@keyframes splashWord { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
