/* ========== L'Oasis — Refonte ========== */
:root {
  --bg: #160A12;
  --surface: #1F0F1A;
  --line: rgba(255,220,235,0.10);
  --text: #FFEAF3;
  --muted: #C9A4BA;
  --accent: #FF3D9C;
  --accent2: #4ADE80;

  --heading-font: "Fraunces", serif;
  --body-font: "Inter", sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .6s ease, color .6s ease;
}

/* Grain overlay */
html[data-grain="on"] body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--heading-font); font-weight: 400; color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn--lg { padding: 18px 28px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--full { width: 100%; }

/* ========== Nav ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad);
  transition: padding .35s ease, background .35s ease, border-color .35s ease;
}
.nav--scrolled {
  padding: 12px var(--pad);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
html[data-theme="light"] .nav__link:hover { background: rgba(0,0,0,0.04); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__menu {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav__menu span {
  width: 16px; height: 1.5px;
  background: var(--text);
  display: block;
}
.nav__mobile {
  display: none;
}
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__link--ghost { display: none; }
  .nav__menu { display: flex; }
  .nav__mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    margin-top: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .nav__mobile a:not(.btn) { padding: 10px 12px; color: var(--muted); }
  .nav__mobile a:not(.btn):hover { color: var(--text); }
  .nav__mobile .btn { margin-top: 8px; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px var(--pad) 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.hero__blob--1 {
  width: 60vw; height: 60vw;
  left: -10vw; top: 5%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  transform: translate(calc(var(--mx, 0) * 30px), calc(var(--my, 0) * 30px));
}
.hero__blob--2 {
  width: 55vw; height: 55vw;
  right: -10vw; bottom: -15%;
  background: radial-gradient(circle, var(--accent2) 0%, transparent 65%);
  opacity: 0.22;
  transform: translate(calc(var(--mx, 0) * -20px), calc(var(--my, 0) * -20px));
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 30%, transparent 70%);
  opacity: .35;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  backdrop-filter: blur(10px);
}
.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero__meta {
  display: inline-flex;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta .sep { opacity: .4; }

.hero__content {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.hero__title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero__title em { font-weight: 400; }
.hero__lede {
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.stat {
  padding: 8px 24px 8px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--accent);
}
.stat__lbl {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat:nth-child(2) { border-right: none; }
}

.hero__scroll {
  position: absolute;
  bottom: 24px; right: var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--muted), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--text), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

@media (max-width: 600px) {
  .hero__scroll { display: none; }
}

/* ========== Sections ========== */
.section {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.sh {
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 820px;
}
.sh__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.sh__kicker-line {
  width: 32px; height: 1px;
  background: var(--accent);
}
.sh__title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.sh__lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}

/* ========== Pillars (communauté) ========== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 48px);
  position: relative;
  transition: background .4s ease;
}
.pillar:hover { background: var(--surface); }
.pillar__glyph {
  color: var(--accent);
  margin-bottom: 32px;
}
.pillar__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--heading-font);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.pillar__title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.pillar__body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ========== Features ========== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  position: relative;
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s;
}
.feature__hover {
  position: absolute;
  inset: 0;
  background: var(--surface);
  z-index: -1;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.feature:hover .feature__hover { transform: translateY(0); }
.feature__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.feature__num {
  font-family: var(--heading-font);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.feature__bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .3s;
}
.feature:hover .feature__bullet { transform: scale(1.6); }
.feature__title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.feature__body {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
}

/* ========== Pros ========== */
.pros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.pros__intro .sh__title { font-size: clamp(34px, 5vw, 64px); }
.pros__bullets {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pros__bullets li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.pros__bullets li svg { color: var(--accent); }

.pros__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pros__card {
  padding: clamp(24px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .35s, border-color .35s;
  position: relative;
}
.pros__card:hover { transform: translateX(8px); border-color: var(--accent); }
.pros__card-num {
  font-family: var(--heading-font);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.pros__card h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pros__card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .pros__grid { grid-template-columns: 1fr; }
}

/* ========== Tarifs ========== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  position: relative;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .35s, border-color .35s;
}
.plan:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }
.plan--featured {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 4%, var(--surface));
  box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--accent) 50%, transparent);
}
.plan__ribbon {
  position: absolute;
  top: -12px; right: 24px;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
}
.plan__name {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.plan__amount {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.plan__suffix { color: var(--muted); font-size: 14px; }
.plan__promo {
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan__promo-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-style: italic;
}
.plan__feats {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.plan__feats li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
  align-items: flex-start;
}
.plan__feats svg { color: var(--accent); margin-top: 4px; }
.plan__tag {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}
.tarifs__note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
}

/* ========== Testimonials ========== */
.testi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testi__card {
  padding: clamp(24px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .35s, border-color .35s;
}
.testi__card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
}
.testi__quote { color: var(--accent); opacity: .9; }
.testi__q {
  font-family: var(--heading-font);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.testi__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testi__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading-font);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.testi__name { font-size: 14px; font-weight: 500; }
.testi__since { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 900px) {
  .testi { grid-template-columns: 1fr; }
}

/* ========== Partners ========== */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.partner {
  background: var(--bg);
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .35s;
  position: relative;
  overflow: hidden;
  padding: 24px;
}
.partner:hover { background: var(--surface); }
.partner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
}
.partner__logo {
  max-width: 80%;
  max-height: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .4s, filter .35s;
}
.partner:hover .partner__logo { transform: scale(1.06); filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25)); }
.partners__cta { margin-top: 32px; text-align: center; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* ========== CTA ========== */
.section--cta { padding-bottom: 60px; }
.cta__card {
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 64px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, color-mix(in oklab, var(--accent) 25%, transparent), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.cta__card > * { position: relative; z-index: 1; }
.cta__card .sh__kicker { justify-content: center; }
.cta__title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.cta__lede {
  max-width: 540px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
}
.cta__row {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px var(--pad) 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__brand .nav__logo { color: var(--text); }
.footer__tag {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer__h {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.footer__cols a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}
.footer__cols a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.footer__legal { display: inline-flex; gap: 18px; }
.footer__legal a:hover { color: var(--text); }
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* ========== Modal ========== */
.modal {
  position: fixed; inset: 0;
  z-index: 1100;
  background: color-mix(in oklab, #000 70%, transparent);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalFade .25s ease;
}
  position: fixed; inset: 0;
  z-index: 1100;
  background: color-mix(in oklab, #000 70%, transparent);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalFade .25s ease;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal__card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  animation: modalIn .35s cubic-bezier(.2,.7,.2,1);
}
.modal__card--lg { max-width: 680px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.modal__close:hover { background: rgba(255,255,255,0.05); border-color: var(--accent); }
.modal__title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
  line-height: 1.05;
}
.modal__lede {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 24px;
}
.modal__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.modal__form .btn { grid-column: 1 / -1; margin-top: 8px; }
.field {
  display: flex; flex-direction: column;
  position: relative;
}
.field--ta { grid-column: 1 / -1; }
.field > span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 4%, var(--bg));
}
.field--err input, .field--err textarea { border-color: #FF5C7A; }
.field__err {
  font-style: normal;
  font-family: var(--body-font);
  font-size: 11.5px;
  color: #FF5C7A;
  margin-top: 4px;
}
.modal__sent {
  text-align: center;
  padding: 20px 0;
}
.modal__check {
  color: var(--accent2);
  display: inline-flex;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .modal__form { grid-template-columns: 1fr; }
}

/* ========== Parrainage parcours ========== */
.parr__steps {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.parr__step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.4;
  transition: opacity .3s;
}
.parr__step.is-active, .parr__step.is-done { opacity: 1; }
.parr__step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1.4px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background .3s, border-color .3s, color .3s;
}
.parr__step.is-active .parr__step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.parr__step.is-done .parr__step-num {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #0a0508;
}
.parr__step-label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.parr__step.is-active .parr__step-label,
.parr__step.is-done .parr__step-label { color: var(--text); }

.parr__pane {
  animation: paneIn .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes paneIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.parr__lede {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 8px 0 20px;
}
.parr__lede strong { color: var(--text); font-weight: 500; }

.parr__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.parr__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.parr__list li strong { color: var(--text); font-weight: 500; }
.parr__list li svg { flex-shrink: 0; margin-top: 4px; color: var(--accent2); }

.parr__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.parr__actions .btn { white-space: nowrap; }

.parr__region { margin: 16px 0 24px; }

.parr__clubs { margin: 24px 0; }
.parr__clubs-title {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.parr__clubs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.parr__club {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  transition: border-color .2s, transform .2s, background .2s;
  font-family: var(--body-font);
}
.parr__club:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: color-mix(in oklab, var(--accent) 4%, var(--bg));
}
.parr__club-name {
  font-family: var(--heading-font);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.parr__club-city {
  font-size: 12.5px;
  color: var(--muted);
}
.parr__club svg {
  position: absolute;
  top: 18px; right: 16px;
  color: var(--accent);
  transition: transform .2s;
}
.parr__club:hover svg { transform: translateX(4px); }

.parr__noclub {
  margin: 24px 0;
  padding: 24px;
  background: color-mix(in oklab, var(--accent) 6%, var(--bg));
  border: 1px solid color-mix(in oklab, var(--accent) 20%, var(--line));
  border-radius: 18px;
}
.parr__noclub-icon {
  color: var(--accent);
  margin-bottom: 12px;
}
.parr__noclub-title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.parr__noclub-lede {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.parr__noclub-lede strong { color: var(--accent2); font-weight: 500; }
.parr__noclub .field { margin-bottom: 14px; }

.parr__visit-summary {
  margin: 20px 0 0;
  padding: 16px 20px;
  background: color-mix(in oklab, var(--accent2) 8%, var(--bg));
  border: 1px solid color-mix(in oklab, var(--accent2) 20%, var(--line));
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--muted);
}
.parr__visit-summary strong {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

/* ========== Calendar ========== */
.cal {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal__month {
  font-family: var(--heading-font);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}
.cal__nav {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cal__nav:hover { background: rgba(255,255,255,0.06); border-color: var(--accent); }
.cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.cal__weekdays span {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__cell {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-family: var(--body-font);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.cal__cell--empty { cursor: default; }
.cal__cell:not(.cal__cell--empty):not(:disabled):hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--line);
}
.cal__cell.is-past, .cal__cell:disabled {
  color: color-mix(in oklab, var(--muted) 40%, transparent);
  cursor: not-allowed;
}
.cal__cell.is-today { font-weight: 600; color: var(--accent2); }
.cal__cell.is-sel {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent);
  font-weight: 600;
}

@media (max-width: 600px) {
  .modal { padding: 12px; align-items: flex-start; padding-top: 24px; padding-bottom: 24px; }
  .modal__card,
  .modal__card--lg { padding: 24px 18px; max-height: calc(100vh - 48px); }
  .modal__title { font-size: 26px !important; line-height: 1.1 !important; }
  .modal__close { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 18px; }
  .parr__lede { font-size: 14px; }
  .parr__list li { font-size: 13.5px; }
  .parr__steps { gap: 4px; padding-bottom: 14px; margin-bottom: 20px; }
  .parr__step-label { display: none; }
  .parr__clubs-grid { grid-template-columns: 1fr; }
  .parr__actions { flex-direction: column-reverse; }
  .parr__actions .btn { width: 100%; }
}

/* ========== Video intro ========== */
.section--video {
  padding-top: 60px;
  padding-bottom: 60px;
}
.video__wrap {
  max-width: 1080px;
  margin: 48px auto 0;
  padding: 0 var(--gutter);
}
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.5),
    0 0 0 1px var(--line),
    0 0 100px -20px color-mix(in oklab, var(--accent) 30%, transparent);
}
.video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  cursor: pointer;
  padding: 0;
  display: block;
  font-family: var(--body-font);
  color: #fff;
}
.video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s;
}
.video__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, transparent 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3));
  transition: background .3s;
}
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 0 0 0 color-mix(in oklab, var(--accent) 40%, transparent),
    0 20px 40px -10px color-mix(in oklab, var(--accent) 50%, transparent);
  transition: transform .3s, box-shadow .3s;
  animation: pulseRing 2.4s ease-out infinite;
}
.video__play svg { transform: translateX(3px); }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent), 0 20px 40px -10px color-mix(in oklab, var(--accent) 50%, transparent); }
  70% { box-shadow: 0 0 0 24px color-mix(in oklab, var(--accent) 0%, transparent), 0 20px 40px -10px color-mix(in oklab, var(--accent) 50%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent), 0 20px 40px -10px color-mix(in oklab, var(--accent) 50%, transparent); }
}
.video__label {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  white-space: nowrap;
}
.video__poster:hover img { transform: scale(1.04); }
.video__poster:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }

@media (max-width: 600px) {
  .video__play { width: 72px; height: 72px; }
  .video__play svg { width: 24px; height: 28px; }
  .video__label { bottom: 18px; font-size: 11px; }
}

/* ========== App showcase ========== */
.section--app {
  padding-top: 80px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.section--app::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 50%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section--app > * { position: relative; z-index: 1; }

.app__phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(12px, 3vw, 36px);
  margin: 56px auto 64px;
  perspective: 1400px;
}
.app__phone {
  flex-shrink: 0;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.app__phone--0 {
  transform: rotate(-6deg) translateY(28px) scale(.9);
}
.app__phone--1 {
  transform: translateY(-8px) scale(1.04);
  z-index: 2;
}
.app__phone--2 {
  transform: rotate(6deg) translateY(28px) scale(.9);
}
.app__phones:hover .app__phone--0 {
  transform: rotate(-3deg) translateY(20px) translateX(-12px) scale(.92);
}
.app__phones:hover .app__phone--2 {
  transform: rotate(3deg) translateY(20px) translateX(12px) scale(.92);
}

/* iPhone frame */
.phone {
  position: relative;
  width: 260px;
  height: 540px;
  background: #0a0a0c;
  border-radius: 44px;
  padding: 9px;
  box-shadow:
    0 0 0 2px color-mix(in oklab, #fff 10%, #1a1a1d),
    0 0 0 3px #050507,
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 60px 120px -30px color-mix(in oklab, var(--accent) 30%, transparent);
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  background: #050507;
  border-radius: 14px;
  z-index: 5;
}
.phone__sidebtn {
  position: absolute;
  background: #1a1a1d;
  border-radius: 2px 0 0 2px;
}
.phone__sidebtn--power {
  right: -2px;
  top: 130px;
  width: 3px;
  height: 60px;
  border-radius: 0 2px 2px 0;
}
.phone__sidebtn--vol1 {
  left: -2px;
  top: 110px;
  width: 3px;
  height: 30px;
}
.phone__sidebtn--vol2 {
  left: -2px;
  top: 150px;
  width: 3px;
  height: 50px;
}

.app__captions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.app__caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app__caption-num {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.app__caption-kicker {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.app__caption-title {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.app__caption-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 880px) {
  .app__phones {
    gap: 12px;
    margin: 40px auto 48px;
  }
  .phone {
    width: 200px;
    height: 416px;
    border-radius: 34px;
    padding: 7px;
  }
  .phone__screen { border-radius: 28px; }
  .phone__notch { width: 68px; height: 18px; top: 14px; border-radius: 10px; }
  .app__captions { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
  .app__phone--0 { transform: rotate(-4deg) translateY(20px) scale(.86); }
  .app__phone--2 { transform: rotate(4deg) translateY(20px) scale(.86); }
}
@media (max-width: 520px) {
  .app__phones { gap: 4px; }
  .phone {
    width: 150px;
    height: 312px;
    border-radius: 26px;
    padding: 5px;
  }
  .phone__screen { border-radius: 22px; }
  .phone__notch { width: 50px; height: 14px; top: 10px; }
}

/* ========== Tweaks panel ========== */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1000;
  width: 280px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font-family: var(--body-font);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  font-size: 13px;
  color: var(--text);
}
.tweaks__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--heading-font);
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.tweaks__head button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
}
.tweaks__head button:hover { color: var(--text); }
.tweaks__group { margin-bottom: 14px; }
.tweaks__lbl {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.tweaks__row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__chip {
  flex: 1;
  min-width: 60px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  transition: all .2s;
}
.tweaks__chip:hover { color: var(--text); border-color: color-mix(in oklab, var(--text) 30%, var(--line)); }
.tweaks__chip.is-on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Section variation : alternance de fonds */
.section--features { background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--accent) 4%, transparent), transparent); }
.section--testi { background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--accent2) 5%, transparent), transparent); }

/* Hero : peach decoration accent */
.hero__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero__deco--leaf {
  top: 14%; right: 6%;
  width: 320px; height: 320px;
  opacity: 1;
  transform: rotate(-8deg) translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -14px));
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  animation: peachFloat 6s ease-in-out infinite;
}
@keyframes peachFloat {
  0%, 100% { transform: rotate(-8deg) translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -14px)); }
  50% { transform: rotate(-6deg) translate(calc(var(--mx, 0) * -14px), calc(-14px + var(--my, 0) * -14px)); }
}
@media (max-width: 1100px) { .hero__deco--leaf { width: 220px; height: 220px; right: 3%; opacity: .7; } }
@media (max-width: 800px) { .hero__deco--leaf { display: none; } }

/* Marquee partenaires */
.marquee {
  overflow: hidden;
  margin: 32px -24px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
  padding: 12px 0;
}
.marquee__item {
  font-family: var(--heading-font);
  font-size: clamp(20px, 2vw, 30px);
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}
.marquee__item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
