/* =========================================================
   La Dame de Carreau — redesign 2026
   Cartomancie · luxe nocturne · carreau
   ========================================================= */

:root {
  --bg-deep: #07060c;
  --bg: #0c0a14;
  --bg-elev: #14121f;
  --bg-glass: rgba(22, 18, 36, 0.72);
  --line: rgba(255, 220, 180, 0.12);
  --line-strong: rgba(255, 200, 140, 0.28);
  --text: #f4ebe3;
  --text-muted: #a89b92;
  --carreau: #e11d48;
  --carreau-soft: #fb7185;
  --gold: #e8c58a;
  --gold-dim: #b8925a;
  --indigo: #6d5efc;
  --indigo-deep: #2a2158;
  --success: #34d399;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --nav-h: 4.25rem;
  --max: 1120px;
}

html[data-theme="day"] {
  --bg-deep: #f3ebe0;
  --bg: #f8f1e6;
  --bg-elev: #fffaf3;
  --bg-glass: rgba(255, 250, 243, 0.88);
  --line: rgba(92, 58, 42, 0.14);
  --line-strong: rgba(176, 38, 48, 0.32);
  --text: #241812;
  --text-muted: #6a5a4e;
  --gold: #8f5a18;
  --gold-dim: #b07628;
  --indigo: #5c4ec9;
  --indigo-deep: #ece6ff;
  --shadow: 0 16px 40px rgba(60, 32, 24, 0.08);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

html[data-theme="day"] {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

::selection {
  background: rgba(225, 29, 72, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--carreau);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--carreau-soft);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Ambient ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(109, 94, 252, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(225, 29, 72, 0.14), transparent 55%),
    radial-gradient(800px 600px at 50% 100%, rgba(232, 197, 138, 0.08), transparent 50%),
    var(--bg-deep);
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}

.orb-a {
  width: 340px;
  height: 340px;
  background: var(--indigo);
  top: 12%;
  left: -80px;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: var(--carreau);
  top: 40%;
  right: -60px;
  animation-delay: -6s;
}

.orb-c {
  width: 220px;
  height: 220px;
  background: var(--gold-dim);
  bottom: 8%;
  left: 30%;
  animation-delay: -12s;
  opacity: 0.25;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -24px) scale(1.08);
  }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(7, 6, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 6, 12, 0.88);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.nav-logo-white {
  filter: none;
}

html[data-theme="day"] .nav-logo,
html[data-theme="day"] .nav-logo-white {
  filter: brightness(0);
  opacity: 0.88;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  margin-left: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--gold);
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--carreau);
  color: var(--carreau);
}

html[data-theme="day"] .ambient {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(225, 29, 72, 0.08), transparent 55%),
    radial-gradient(800px 400px at 90% 0%, rgba(232, 197, 138, 0.18), transparent 50%),
    var(--bg-deep);
}

html[data-theme="day"] #stars {
  opacity: 0.12;
}

html[data-theme="day"] .orb {
  opacity: 0.18;
}

html[data-theme="day"] .nav {
  background: rgba(250, 246, 239, 0.86);
}

html[data-theme="day"] .nav.is-scrolled {
  background: rgba(250, 246, 239, 0.94);
}

html[data-theme="day"] .mobile-drawer {
  background: #faf6ef;
}

html[data-theme="day"] .price-card,
html[data-theme="day"] .review-card,
html[data-theme="day"] .sign-card,
html[data-theme="day"] .feature-card,
html[data-theme="day"] .module-card-text,
html[data-theme="day"] .benefit-card,
html[data-theme="day"] .faq-item {
  background: #fffdf9;
}

html[data-theme="day"] .hero-glow {
  opacity: 0.35;
}

.footer .nav-logo {
  height: 32px;
  margin-bottom: 0.75rem;
}

.nav-brand .suit,
.suit {
  color: var(--carreau);
  font-size: 1.1em;
  text-shadow: 0 0 18px rgba(225, 29, 72, 0.55);
}

.nav-links {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: none;
  margin-left: 0.5rem;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease;
}

.mobile-drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: rgba(10, 8, 18, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer a {
  color: var(--text);
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.mobile-drawer .btn {
  margin-top: 1rem;
  border-bottom: none;
  text-align: center;
}

@media (min-width: 900px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 45%, #9f1239 100%);
  color: #fff;
  box-shadow: 0 10px 40px rgba(225, 29, 72, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(225, 29, 72, 0.45);
}

/* École : boutons bleu (cohérents avec le logo formation) */
.section.formation .btn-primary,
.page-formation .btn-primary,
.page-rdv .btn-primary {
  background: linear-gradient(135deg, #5b9dff 0%, #2563eb 48%, #1d4ed8 100%);
  box-shadow: 0 10px 36px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.section.formation .btn-primary:hover,
.page-formation .btn-primary:hover,
.page-rdv .btn-primary:hover {
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.42);
}

.page-formation .price-featured {
  border-color: rgba(37, 99, 235, 0.45);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(24, 32, 52, 0.95), rgba(14, 16, 28, 0.98));
}

.page-formation .featured-badge {
  background: linear-gradient(135deg, #7eb0ff, #2563eb);
  color: #071018;
}

html[data-theme="day"] .page-formation .price-featured {
  background:
    radial-gradient(500px 160px at 50% 0%, rgba(37, 99, 235, 0.1), transparent 65%),
    #fffaf3 !important;
  border-color: rgba(37, 99, 235, 0.35);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232, 197, 138, 0.06);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0%,
  60% {
    transform: translateX(-120%);
  }
  80%,
  100% {
    transform: translateX(120%);
  }
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--carreau);
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: 0 0 1.25rem;
}

h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.85rem;
}

.lede,
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-copy .lede {
  max-width: none;
  font-size: 1.12rem;
  line-height: 1.7;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3.5rem) 3rem;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: none;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    min-height: calc(100vh - var(--nav-h) - 2rem);
    gap: 4rem;
  }

  .hero-home {
    max-width: 1200px;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
    gap: 3rem;
  }

  .hero-home .hero-copy h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.6rem);
    line-height: 1.12;
  }

  .hero-home .lede {
    max-width: 40rem;
    font-size: 1.1rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.trust-row strong {
  color: var(--text);
  font-weight: 600;
}

.hero-stage {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.hero-frame {
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(400px, 88vw);
}

.hero-frame-logo {
  width: min(460px, 92vw);
}

.hero-mascot {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}

.portrait-photo-contain {
  object-fit: contain !important;
  background: transparent;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.4rem;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 197, 138, 0.12);
}

.hero-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero-frame figcaption img {
  height: 22px;
  width: auto;
}

.hero-portrait-wrap {
  position: relative;
  width: min(420px, 92vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  z-index: 1;
}

.hero-portrait {
  width: min(300px, 72%);
  height: auto;
  border-radius: 50%;
  border: 3px solid rgba(232, 197, 138, 0.45);
  box-shadow:
    0 0 0 10px rgba(225, 29, 72, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(225, 29, 72, 0.25);
  object-fit: cover;
  position: relative;
  z-index: 2;
  background: #120e1c;
}

.hero-formation-visual {
  position: relative;
  width: min(440px, 92vw);
  display: grid;
  place-items: center;
}

.formation-hero-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
  animation: floatSoft 7s ease-in-out infinite;
}

.formation-hero-portrait {
  width: min(420px, 88vw);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.25rem;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.module-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.module-list li {
  margin: 0.28rem 0;
}

.module-card-text {
  background: linear-gradient(180deg, rgba(28, 24, 44, 0.9), rgba(12, 10, 20, 0.96));
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.35), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.card-fan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.card-fan .fan-card {
  pointer-events: auto;
  background: linear-gradient(160deg, #1a1528, #0d0b14 60%);
}

.pay-logos {
  display: block;
  margin: 1.25rem auto 0;
  height: 36px;
  width: auto;
  opacity: 0.9;
  filter: brightness(1.05);
}

.fan-card {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 92px;
  height: 138px;
  margin-left: -46px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1a1528, #0d0b14 60%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  transform-origin: 50% 140%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  cursor: default;
  overflow: hidden;
  opacity: 0.92;
}

.fan-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(232, 197, 138, 0.2);
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 29, 72, 0.15), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.fan-card .pip {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  color: var(--carreau);
  text-shadow: 0 0 24px rgba(225, 29, 72, 0.5);
  font-family: var(--font-display);
}

.fan-card.is-face {
  background: linear-gradient(165deg, #fff8f2, #f0e4d8);
  color: #1a0a10;
}

.fan-card.is-face .pip {
  color: var(--carreau);
}

.fan-card:hover {
  z-index: 5;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(225, 29, 72, 0.2);
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-head .section-sub {
  margin: 0.5rem auto 0;
}

/* ---------- Ritual ---------- */

.ritual {
  position: relative;
}

.ritual-board {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 0.5rem);
  background: var(--bg-glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

@media (min-width: 800px) {
  .ritual-board {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.ritual-deck {
  display: grid;
  place-items: center;
  min-height: 280px;
}

.deck-stack {
  position: relative;
  width: 150px;
  height: 230px;
  border: none;
  background: transparent;
  padding: 0;
}

.deck-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #2a1f45, #120e1c);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}

.deck-back:nth-child(1) {
  transform: translate(6px, 6px) rotate(3deg);
  opacity: 0.55;
}

.deck-back:nth-child(2) {
  transform: translate(3px, 3px) rotate(1.5deg);
  opacity: 0.8;
}

.deck-top {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(225, 29, 72, 0.25), transparent 60%),
    linear-gradient(145deg, #3a2558, #140f20);
  cursor: pointer;
}

.deck-pattern {
  font-size: 2.8rem;
  color: var(--carreau-soft);
  animation: pulseSoft 2.4s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.deck-hint {
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deck-stack:hover .deck-top {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 50px rgba(225, 29, 72, 0.25);
}

.deck-stack.is-drawing .deck-top {
  animation: deal 0.55s ease forwards;
}

@keyframes deal {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  40% {
    transform: translate(40px, -80px) rotate(12deg) scale(1.05);
  }
  100% {
    transform: translate(120px, -20px) rotate(18deg) scale(0.9);
    opacity: 0;
  }
}

.ritual-result {
  display: grid;
  gap: 1.5rem 2rem;
  justify-items: center;
  width: 100%;
}

@media (min-width: 560px) {
  .ritual-result {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
  }
}

.drawn-card {
  width: 150px;
  height: 230px;
  perspective: 1000px;
}

.drawn-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawn-card.is-flipped .drawn-inner {
  transform: rotateY(180deg);
}

.drawn-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.drawn-back {
  background: linear-gradient(145deg, #2a1f45, #120e1c);
  font-size: 2.5rem;
  color: var(--carreau);
}

.drawn-front {
  background: linear-gradient(165deg, #fffaf5, #f3e6da);
  color: #1c0d12;
  transform: rotateY(180deg);
  grid-template-rows: auto 1fr auto;
  padding: 1rem 0.75rem;
  text-align: center;
}

.card-rank {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--carreau);
  justify-self: start;
}

.card-suit {
  font-size: 3.2rem;
  color: var(--carreau);
  line-height: 1;
}

.card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #3a2430;
}

.oracle {
  text-align: left;
  width: 100%;
  padding: 1.6rem 1.7rem 1.5rem;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}

.oracle-label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.oracle h3 {
  margin: 0 0 0.85rem;
  font-size: 1.75rem;
}

.oracle p {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.oracle .btn {
  margin: 0 0.55rem 0.45rem 0;
}

/* ---------- Pricing ---------- */

.social-proof {
  max-width: 40rem;
  margin: 0 auto 2.25rem;
  padding: 1.35rem 1.5rem 1.25rem;
  text-align: center;
  border-radius: 1.35rem;
  border: 1px solid var(--line-strong);
  background: rgba(225, 29, 72, 0.07);
}

.social-proof-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.social-proof blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
}

.social-proof-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.social-proof-meta cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.social-proof-meta a {
  color: var(--gold);
}

html[data-theme="day"] .social-proof {
  background: rgba(225, 29, 72, 0.06);
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 24, 44, 0.9), rgba(14, 12, 22, 0.95));
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.price-featured {
  border-color: rgba(225, 29, 72, 0.45);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(225, 29, 72, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(36, 22, 40, 0.95), rgba(14, 12, 22, 0.98));
  box-shadow: 0 20px 60px rgba(225, 29, 72, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #c9a06a);
  color: #1a1008;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0;
  font-size: 1.65rem;
}

.price-amount {
  margin: 0.75rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.price-amount span {
  font-size: 1.4rem;
  vertical-align: super;
  color: var(--gold);
  margin-right: 0.15rem;
}

.price-fit {
  display: inline-block;
  margin: 0.45rem 0 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.14);
  color: var(--carreau-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

html[data-theme="day"] .price-fit {
  background: rgba(225, 29, 72, 0.1);
  color: var(--carreau);
}

.price-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: grid;
  gap: 0.55rem;
}

.price-features li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-features li::before {
  content: "♦";
  position: absolute;
  left: 0;
  color: var(--carreau);
  font-size: 0.75rem;
  top: 0.15rem;
}

.price-card .btn {
  width: 100%;
}

.ask-before {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.75rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.ask-before .btn {
  width: auto;
}

.booking-steps {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.steps-title {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 1.4rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  color: var(--carreau-soft);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Method ---------- */

.method-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .method-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 1.5rem;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 30%, rgba(225, 29, 72, 0.2), transparent 50%),
    linear-gradient(160deg, #1c1730, #0c0a14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-frame.has-photo {
  background: #0c0a14;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.5rem;
}

.suit-xl {
  font-size: 5rem;
  color: var(--carreau);
  text-shadow: 0 0 40px rgba(225, 29, 72, 0.5);
  line-height: 1;
}

.portrait-placeholder p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.floating-chip {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(12, 10, 20, 0.85);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(8px);
  animation: chipFloat 5s ease-in-out infinite;
}

.chip-1 {
  top: 14%;
  left: 6%;
}
.chip-2 {
  top: 42%;
  right: 4%;
  animation-delay: -1.5s;
}
.chip-3 {
  bottom: 16%;
  left: 12%;
  animation-delay: -3s;
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.method-copy {
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1.35rem, 3vw, 2rem);
  border-radius: 1.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.method-copy p {
  color: var(--text-muted);
}

.method-copy strong {
  color: var(--text);
}

.method-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.method-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
}

.method-points li > span {
  color: var(--carreau);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.method-points strong {
  display: block;
  margin-bottom: 0.15rem;
}

.method-points p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Reviews ---------- */

.reviews-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 min(340px, 85vw);
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-avatar,
.review-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232, 197, 138, 0.35);
  background: #1a1528;
  flex-shrink: 0;
}

.review-initials {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: linear-gradient(160deg, rgba(225, 29, 72, 0.35), rgba(20, 12, 24, 0.95));
}

.review-stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.review-card blockquote {
  margin: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.98rem;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
}

.review-meta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.review-meta strong {
  color: var(--text);
}

.review-meta span {
  color: var(--text-muted);
}

.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Formation ---------- */

.formation-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 0.25rem);
  border: 1px solid rgba(232, 197, 138, 0.25);
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(109, 94, 252, 0.2), transparent 55%),
    radial-gradient(500px 280px at 100% 100%, rgba(225, 29, 72, 0.15), transparent 50%),
    linear-gradient(145deg, rgba(24, 18, 40, 0.95), rgba(10, 8, 18, 0.98));
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .formation-panel {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.formation-aside {
  display: grid;
  gap: 1rem;
}

.formation-teaser-img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.pricing-two {
  max-width: 820px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .pricing-two {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Formation page extras ---------- */

.sign-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .sign-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sign-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 24, 44, 0.85), rgba(12, 10, 20, 0.95));
  transition: border-color 0.25s, transform 0.25s;
}

.sign-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.sign-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--carreau-soft);
  display: block;
  margin-bottom: 0.5rem;
}

.sign-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.sign-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.role-pills {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.role-pills li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(232, 197, 138, 0.06);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
}

.feature-trio {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .feature-trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.feature-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--gold);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modules-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .modules-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.module-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: transform 0.3s, border-color 0.3s;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.module-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.module-body {
  padding: 1.35rem;
}

.module-body h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.45rem;
}

.module-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.benefits-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, transform 0.25s;
}

.benefit-card:hover {
  border-color: rgba(225, 29, 72, 0.35);
  transform: translateY(-3px);
}

.benefit-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
}

.benefit-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.fit-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  gap: 0.75rem;
}

.fit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.fit-list span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--carreau-soft);
}

.fit-list p {
  margin: 0;
  color: var(--text-muted);
}

.cta-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 2px solid rgba(232, 197, 138, 0.4);
  box-shadow: 0 0 30px rgba(225, 29, 72, 0.25);
}

.cta-formation-panel .cta-logo {
  width: auto;
  height: 64px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ---------- RDV formation ---------- */

.hero-rdv {
  padding-bottom: 2rem;
}

.rdv-hero-card {
  position: relative;
  width: min(360px, 90vw);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: calc(var(--radius) + 0.25rem);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(28, 22, 48, 0.95), rgba(10, 8, 18, 0.98));
  box-shadow: var(--shadow);
  text-align: center;
  z-index: 1;
}

.rdv-portrait {
  width: min(200px, 70%);
  height: auto;
  border-radius: 50%;
  border: 3px solid rgba(232, 197, 138, 0.4);
  margin: 0.5rem auto 1rem;
  display: block;
  box-shadow: 0 0 40px rgba(225, 29, 72, 0.3);
}

.rdv-form-badge {
  height: 48px;
  width: auto;
  margin: 0 auto 0.75rem;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.rdv-hero-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.rdv-steps {
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 800px) {
  .rdv-steps.steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.luxcall-shell {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0.75rem;
  border-radius: calc(var(--radius) + 0.35rem);
  border: 1px solid rgba(232, 197, 138, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.25));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.luxcall-shell-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 50%;
  background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.2), transparent 65%);
  pointer-events: none;
}

.luxcall-embed-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.luxcall-embed-frame iframe {
  border: 0 !important;
  border-radius: var(--radius);
}

.luxcall-footnote {
  text-align: center;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 1.25rem auto 0;
  font-size: 0.95rem;
}

.rdv-book {
  display: grid;
  gap: 2rem;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 0.35rem);
  border: 1px solid rgba(225, 29, 72, 0.35);
  background:
    radial-gradient(720px 280px at 100% 0%, rgba(225, 29, 72, 0.2), transparent 58%),
    radial-gradient(500px 200px at 0% 100%, rgba(232, 197, 138, 0.08), transparent 55%),
    linear-gradient(165deg, rgba(36, 22, 40, 0.96), rgba(12, 10, 20, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

@media (min-width: 860px) {
  .rdv-book {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }
}

.rdv-book-copy h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.rdv-book-copy p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.rdv-book-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem 1.5rem;
}

@media (min-width: 560px) {
  .rdv-book-points {
    grid-template-columns: 1fr 1fr;
  }
}

.rdv-book-points li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text);
  font-size: 0.98rem;
}

.rdv-book-points li::before {
  content: "♦";
  position: absolute;
  left: 0;
  color: var(--carreau);
  font-size: 0.75rem;
  top: 0.2rem;
}

.rdv-book-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(8, 6, 14, 0.45);
  text-align: center;
}

.rdv-book-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rdv-book-cta .btn {
  width: 100%;
}

.rdv-book-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

html[data-theme="day"] .rdv-book {
  background:
    radial-gradient(720px 280px at 100% 0%, rgba(225, 29, 72, 0.1), transparent 58%),
    #fffaf3;
  border-color: rgba(176, 38, 48, 0.28);
  box-shadow: 0 16px 40px rgba(60, 32, 24, 0.08);
}

html[data-theme="day"] .rdv-book-cta {
  background: rgba(255, 255, 255, 0.7);
}

.rdv-reassure {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 0.25rem);
  border: 1px solid var(--line);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
}

@media (min-width: 860px) {
  .rdv-reassure {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.rdv-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.nav-links a.is-active {
  color: var(--gold);
}

.formation-panel p {
  color: var(--text-muted);
  max-width: 36rem;
}

.formation-highlights {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.45rem;
}

.formation-highlights li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--text);
}

.formation-highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

.formation-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat {
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1.1;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 0 1.15rem;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "♦";
  color: var(--carreau);
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  padding-right: 1.5rem;
}

/* ---------- Final CTA ---------- */

.cta-final {
  padding-bottom: 4rem;
}

.cta-panel {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: calc(var(--radius) + 0.25rem);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.22), transparent 55%),
    var(--bg-elev);
}

.cta-panel .suit-xl {
  display: block;
  margin-bottom: 0.5rem;
}

.cta-panel p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer h4 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--text);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-note {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem !important;
  color: var(--text-muted);
  opacity: 0.75;
}

/* =========================================================
   Cinematic interactions 2026
   ========================================================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--carreau), var(--gold), var(--indigo));
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.6);
}

.fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  overflow: hidden;
}

.floater-suit {
  position: absolute;
  bottom: -10%;
  animation: floatUp linear infinite;
  filter: blur(0.2px);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-120vh) rotate(40deg);
  }
}

.spark {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  animation: spark 0.85s ease-out forwards;
  box-shadow: 0 0 8px currentColor;
}

@keyframes spark {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0);
    opacity: 0;
  }
}

/* Page veil */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #2a1530, #07060c 70%);
  transition: opacity 0.7s ease, visibility 0.7s;
}

.page-veil.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-veil.is-enter {
  opacity: 0;
}

.page-veil.is-covering {
  opacity: 1;
}

.page-veil-suit {
  font-size: 3.5rem;
  color: var(--carreau);
  animation: pulseSoft 1s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(225, 29, 72, 0.7);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

body.is-ready .hero-copy h1 {
  animation: titleIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    letter-spacing: 0.08em;
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: -0.01em;
  }
}

/* Fan cards interactive */
.fan-card {
  pointer-events: auto;
  border: none;
  cursor: pointer;
  animation: fanIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.06s);
}

@keyframes fanIn {
  from {
    opacity: 0;
    transform: rotate(0deg) translateY(40px) scale(0.8);
  }
}

.fan-card.is-up {
  z-index: 8 !important;
  transform: rotate(var(--a, 0deg)) translateY(-36px) scale(1.12) !important;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(225, 29, 72, 0.35);
}

/* Ritual power mode */
.ritual.is-active .ritual-board {
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(225, 29, 72, 0.15);
}

.deck-stack.is-shuffle .deck-back:nth-child(1) {
  animation: shuffle1 0.55s ease;
}
.deck-stack.is-shuffle .deck-back:nth-child(2) {
  animation: shuffle2 0.55s ease;
}
.deck-stack.is-shuffle .deck-top {
  animation: shuffleTop 0.55s ease;
}

@keyframes shuffle1 {
  0%,
  100% {
    transform: translate(6px, 6px) rotate(3deg);
  }
  40% {
    transform: translate(-14px, 2px) rotate(-8deg);
  }
}
@keyframes shuffle2 {
  0%,
  100% {
    transform: translate(3px, 3px) rotate(1.5deg);
  }
  50% {
    transform: translate(16px, -6px) rotate(10deg);
  }
}
@keyframes shuffleTop {
  0%,
  100% {
    transform: none;
  }
  30% {
    transform: translateY(-12px) rotate(-6deg);
  }
  60% {
    transform: translate(8px, -20px) rotate(8deg);
  }
}

.drawn-card.is-glow .drawn-front {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(232, 197, 138, 0.45);
}

.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 197, 138, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.price-card:hover::after {
  opacity: 1;
}

.magnetic {
  will-change: transform;
}

/* 3-card spread */
.spread-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.spread-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 560px) {
  .spread-board {
    grid-template-columns: 1fr;
    max-width: 200px;
  }
}

.spread-slot {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.spread-slot-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.spread-card {
  width: 128px;
  height: 192px;
  perspective: 1200px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease;
}

.spread-card:hover:not(.is-open) {
  transform: translateY(-6px) scale(1.04);
}

.spread-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 14px;
}

.spread-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 14px;
}

.spread-card.is-open .spread-inner {
  transform: rotateY(180deg);
}

.spread-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  /* évite les bugs de hit-test sur les faces */
  pointer-events: none;
}

.spread-face-back {
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 29, 72, 0.25), transparent 60%),
    linear-gradient(145deg, #2a1f45, #120e1c);
  color: var(--carreau-soft);
  font-size: 2rem;
  transform: rotateY(0deg);
  animation: cardPulse 2.5s ease-in-out infinite;
}

@keyframes cardPulse {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 16px 40px rgba(225, 29, 72, 0.35);
  }
}

.spread-face-front {
  background: linear-gradient(165deg, #fffaf5, #f3e6da);
  transform: rotateY(180deg);
  grid-template-rows: auto 1fr auto;
  padding: 0.85rem 0.7rem;
  text-align: center;
  color: #1c0d12;
}

.spread-rank {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  justify-self: start;
}

.spread-suit {
  font-size: 2.5rem;
  line-height: 1;
}

.spread-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b4a3a;
}

.spread-result {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.spread-result[hidden] {
  display: none !important;
}

.spread-summary {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.spread-summary li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.spread-summary strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.spread-summary span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-portrait {
  transition: transform 0.4s ease;
  animation: portraitGlow 4s ease-in-out infinite;
}

@keyframes portraitGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 10px rgba(225, 29, 72, 0.08),
      0 30px 80px rgba(0, 0, 0, 0.55),
      0 0 40px rgba(225, 29, 72, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(232, 197, 138, 0.12),
      0 30px 80px rgba(0, 0, 0, 0.55),
      0 0 70px rgba(225, 29, 72, 0.4);
  }
}

.hero-portrait-wrap,
.hero-formation-visual {
  transition: transform 0.25s ease-out;
}

.stat strong {
  transition: color 0.3s;
}

.review-card {
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.review-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--line-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.icon-btn:active {
  transform: scale(0.94);
}

/* Ambient noise shimmer on body ready */
body.is-ready .ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- Reduced motion ---------- */

.dock {
  display: none;
}

@media (max-width: 720px) {
  .dock {
    display: flex;
    position: fixed;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 40;
    gap: 0.5rem;
  }
  .dock .btn {
    flex: 1;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }
  body {
    padding-bottom: 5.2rem;
  }
}

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

/* ---------- Three.js layers ---------- */
.hero-three {
  position: absolute;
  inset: -12% -18% -8%;
  width: 136%;
  height: 120%;
  left: -18%;
  z-index: 3;
  pointer-events: auto;
}

.ritual-three-host {
  position: relative;
  width: min(280px, 78vw);
  height: 340px;
}

.ritual-three {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
}

body.has-three .card-fan,
body.has-three .ritual-three-host .deck-stack .deck-back {
  visibility: hidden;
}

body.has-three .ritual-three-host .deck-stack {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 3;
}

body.has-three .ritual-three-host .deck-hint {
  position: relative;
  z-index: 4;
  margin-top: 280px;
}

/* =========================================================
   Thème jour — surfaces, contrastes, papier
   ========================================================= */

html[data-theme="day"] .ambient {
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(255, 186, 120, 0.55), transparent 58%),
    radial-gradient(900px 520px at 92% 6%, rgba(225, 29, 72, 0.22), transparent 52%),
    radial-gradient(800px 480px at 50% 108%, rgba(109, 94, 252, 0.14), transparent 48%),
    linear-gradient(165deg, #fff6ea 0%, #f3e4d2 48%, #f7ebe0 100%);
  background-size: 140% 140%;
  animation: day-sky 28s ease-in-out infinite;
}

html[data-theme="day"] .ambient::before {
  content: "";
  position: absolute;
  width: min(70vmax, 900px);
  height: min(70vmax, 900px);
  right: -18vmax;
  top: -22vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 160, 0.75) 0%, rgba(255, 176, 110, 0.28) 38%, rgba(225, 29, 72, 0.1) 58%, transparent 72%);
  animation: day-sun 20s ease-in-out infinite;
}

html[data-theme="day"] .ambient::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 20% 70%, rgba(225, 29, 72, 0.1), transparent 32%),
    radial-gradient(circle at 78% 42%, rgba(232, 197, 138, 0.18), transparent 28%);
  animation: day-wash 16s ease-in-out infinite;
}

@keyframes day-sky {
  0%,
  100% {
    background-position: 0% 40%, 100% 0%, 50% 100%, 0 0;
  }
  50% {
    background-position: 18% 58%, 82% 12%, 40% 88%, 0 0;
  }
}

@keyframes day-sun {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-7%, 6%) scale(1.12);
    opacity: 1;
  }
}

@keyframes day-wash {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.85;
  }
  50% {
    transform: translate(3%, -4%);
    opacity: 1;
  }
}

html[data-theme="day"] #stars {
  opacity: 1;
  visibility: visible;
}

html[data-theme="day"] .orb {
  opacity: 0.48;
  filter: blur(52px);
  mix-blend-mode: multiply;
  animation-duration: 11s;
}

html[data-theme="day"] .orb-a {
  background: #fb7185;
  opacity: 0.42;
}

html[data-theme="day"] .orb-b {
  background: #e8c58a;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

html[data-theme="day"] .orb-c {
  background: #c4b5fd;
  opacity: 0.38;
}

html[data-theme="day"] .fx-layer,
html[data-theme="day"] .floater-suit {
  visibility: visible;
}

html[data-theme="day"] .floater-suit {
  opacity: 0.22 !important;
}

html[data-theme="day"] .nav {
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 1px 0 var(--line);
}

html[data-theme="day"] .nav.is-scrolled {
  background: rgba(255, 250, 243, 0.97);
  border-bottom-color: var(--line);
}

html[data-theme="day"] .mobile-drawer {
  background: rgba(255, 250, 243, 0.98);
}

html[data-theme="day"] .nav-logo,
html[data-theme="day"] .nav-logo-white,
html[data-theme="day"] .footer .nav-logo,
html[data-theme="day"] .footer .nav-logo-white {
  filter: brightness(0);
  opacity: 0.82;
}

html[data-theme="day"] .theme-toggle {
  background: #fff;
  box-shadow: 0 2px 10px rgba(60, 32, 24, 0.06);
}

html[data-theme="day"] .btn-ghost {
  background: #fff;
  border-color: rgba(92, 58, 42, 0.18);
  color: var(--text);
}

html[data-theme="day"] .btn-ghost:hover {
  background: #fff8f0;
  border-color: var(--carreau);
  color: var(--carreau);
}

html[data-theme="day"] .btn-primary {
  box-shadow: 0 8px 24px rgba(190, 18, 60, 0.22);
}

html[data-theme="day"] .section.formation .btn-primary,
html[data-theme="day"] .page-formation .btn-primary,
html[data-theme="day"] .page-rdv .btn-primary {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.22);
}

html[data-theme="day"] .price-card,
html[data-theme="day"] .price-featured,
html[data-theme="day"] .review-card,
html[data-theme="day"] .sign-card,
html[data-theme="day"] .feature-card,
html[data-theme="day"] .module-card,
html[data-theme="day"] .module-card-text,
html[data-theme="day"] .benefit-card,
html[data-theme="day"] .faq-item,
html[data-theme="day"] .steps li,
html[data-theme="day"] .proto,
html[data-theme="day"] .method-copy {
  background: #fffaf3 !important;
  border-radius: 1.85rem;
}

html[data-theme="day"] .method-points li {
  background: rgba(243, 232, 218, 0.55);
}

html[data-theme="day"] .formation-panel,
html[data-theme="day"] .booking-steps,
html[data-theme="day"] .rdv-hero-card,
html[data-theme="day"] .rdv-reassure,
html[data-theme="day"] .oracle,
html[data-theme="day"] .ritual-result,
html[data-theme="day"] .spread-result {
  background: #fffaf3 !important;
  box-shadow: 0 10px 28px rgba(60, 32, 24, 0.06);
  border-color: var(--line);
}

html[data-theme="day"] .price-featured {
  background:
    radial-gradient(500px 160px at 50% 0%, rgba(225, 29, 72, 0.08), transparent 65%),
    #fffaf3 !important;
  border-color: rgba(176, 38, 48, 0.35);
}

html[data-theme="day"] .price-card:hover,
html[data-theme="day"] .review-card:hover {
  box-shadow: 0 16px 36px rgba(60, 32, 24, 0.1);
}

html[data-theme="day"] .cta-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.1), transparent 55%),
    #fff6ec;
}

html[data-theme="day"] .footer {
  background: #ebe2d4;
}

html[data-theme="day"] .portrait-frame,
html[data-theme="day"] .portrait-frame.has-photo {
  background: #f3e8dc;
  box-shadow: var(--shadow);
}

html[data-theme="day"] .hero-glow {
  opacity: 0.22;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.18), transparent 70%);
}

html[data-theme="day"] .deck-back,
html[data-theme="day"] .fan-card,
html[data-theme="day"] .spread-face-back {
  background: linear-gradient(160deg, #7a1c2e, #4a1018 70%) !important;
  border-color: rgba(176, 38, 48, 0.35);
}

html[data-theme="day"] .drawn-back {
  background: linear-gradient(160deg, #7a1c2e, #4a1018);
}

html[data-theme="day"] .icon-btn {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

html[data-theme="day"] .dock .btn-ghost {
  background: #fffaf3;
}

html[data-theme="day"] .faq-item summary,
html[data-theme="day"] .trust-row strong {
  color: var(--text);
}

html[data-theme="day"] .nav-brand .suit,
html[data-theme="day"] .suit {
  text-shadow: none;
}

html[data-theme="day"] ::selection {
  background: rgba(225, 29, 72, 0.22);
  color: #1c1412;
}


html[data-theme="day"] .page-veil {
  background: radial-gradient(circle at 50% 40%, #f6e8dc, #efe2d2 70%);
}

html[data-theme="day"] .pay-logos {
  filter: none;
  opacity: 0.95;
}

html[data-theme="day"] .ritual-three,
html[data-theme="day"] body.has-three .card-fan {
  display: none;
}

html[data-theme="day"] body.has-three .ritual-three-host .deck-stack {
  position: relative;
  background: transparent;
}

html[data-theme="day"] body.has-three .ritual-three-host .deck-hint {
  margin-top: 0;
}

html[data-theme="day"] .hero-copy .lede,
html[data-theme="day"] .hero-formation .lede {
  color: #4a3d34;
}

html[data-theme="day"] .floating-chip {
  background: rgba(255, 250, 243, 0.94);
  color: var(--text);
}

html[data-theme="day"] .steps li,
html[data-theme="day"] .fit-list li {
  background: rgba(243, 232, 218, 0.65);
}

html[data-theme="day"] .review-initials {
  background: linear-gradient(160deg, #f3d4c4, #fff6ec);
  color: var(--carreau);
  border-color: rgba(176, 38, 48, 0.25);
}

html[data-theme="day"] .review-avatar {
  background: #f3e8dc;
}

.hero-mascot {
  animation: floatSoft 8s ease-in-out infinite;
}

.nav-links a.is-active {
  color: var(--gold);
}

.section {
  position: relative;
}

.fit-list li {
  border-radius: 1.15rem;
}

.hero-formation .lede {
  max-width: 40rem;
}

.nav {
  gap: 0.75rem 1.25rem;
}

/* ---------- Legal pages ---------- */

.legal-doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.legal-doc h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.legal-doc h2 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.25rem 0 0.85rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal-doc ul {
  padding-left: 1.2rem;
}

.legal-doc a {
  color: var(--carreau-soft);
}

html[data-theme="day"] .legal-doc a {
  color: var(--carreau);
}
