/* Page d'accueil — mêmes valeurs que l'app (tamagui.tokens.js, palette Vidara). */
@font-face {
  font-family: "Orso Display";
  src: url(/fonts/RobotoCondensed-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orso Display";
  src: url(/fonts/RobotoCondensed-BoldItalic.ttf) format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101012;
  --header: #121214;
  --panel: #19191d;
  --raised: #222226;
  --line: #303035;
  --white: #f5f4f5;
  --muted: #aaa9b2;
  --soft: #c8c6cd;
  --lime: #d2ff3e;
  --lime-hover: #e1ff78;
  --on-lime: #141611;
  --purple: #bc9afe;
  --link: #cbb0f3;
  --hero: #312046;
  --hero-line: #524163;
  --display: "Orso Display", "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.shell { width: min(1180px, calc(100% - 9vw)); margin: 0 auto; }

/* En-tête */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--header) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 30px; }
.top nav { display: flex; gap: 30px; font-size: 14px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--lime); }

/* Boutons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 750;
  font-size: 16px;
  transition: background .15s ease, transform .15s ease;
}
.cta:hover { background: var(--lime-hover); transform: translateY(-1px); }
.cta svg { width: 20px; height: 20px; flex: none; }
.cta.small { min-height: 40px; padding: 8px 15px; font-size: 14px; border-radius: 10px; }

/* Titres */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.kicker.purple { color: var(--purple); }
h1, h2, .num, .stage-caption strong {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
}
h1 { font-size: clamp(64px, 7.6vw, 112px); line-height: .88; letter-spacing: -.035em; margin: 24px 0 22px; }
h1 em, h2 em { font-style: italic; color: var(--lime); }
h2 { font-size: clamp(40px, 4.4vw, 62px); line-height: .95; letter-spacing: -.03em; margin-top: 12px; }
.dot { color: var(--lime); }
.lead { font-size: 19px; line-height: 1.5; color: var(--soft); max-width: 30rem; }
.quick { margin-top: 14px; font-size: 14px; color: var(--muted); }
.quick span { color: #77737e; padding: 0 6px; }

/* Bannière */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 5%;
  padding: 56px 0 64px;
}
.pitch .cta { margin-top: 28px; }
.stage {
  position: relative;
  isolation: isolate;
  height: clamp(520px, 50vw, 640px);
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 38%, #eae2fa 0%, #c8b3ec 55%, #9f7fd0 100%);
}
.court {
  position: absolute;
  inset: -60% -40%;
  transform: rotate(-22deg) skew(-5deg);
  background:
    repeating-linear-gradient(0deg, transparent 0 124px, #ffffff70 125px 127px, transparent 128px 249px),
    repeating-linear-gradient(90deg, transparent 0 165px, #ffffff70 166px 168px, transparent 169px 379px);
  z-index: -1;
}
.disc {
  position: absolute;
  inset: 16% 12% 14%;
  border: 1px solid #ffffff90;
  border-radius: 50%;
  transform: rotate(-20deg);
  box-shadow: 0 0 0 15px #ffffff12, 0 0 0 16px #ffffff38;
  z-index: -1;
}
.phone {
  position: relative;
  border-radius: 13% / 6%;
  padding: 2.4%;
  background: #0b0b0d;
  box-shadow: 0 0 0 1px #3a3542, 0 30px 60px -18px #1d123199, 0 18px 30px -12px #00000070;
}
.phone img { width: 100%; border-radius: 11% / 5.2%; }
.stage .phone { position: absolute; width: clamp(200px, 21vw, 262px); }
.stage .phone.back { left: 9%; top: 12%; transform: rotate(-9deg); }
.stage .phone.front { right: 9%; top: 6%; transform: rotate(5deg); }
.stage-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: grid;
  line-height: 1;
  color: #211d2b;
}
.stage-caption span { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.stage-caption strong { font-size: 30px; margin-top: 5px; letter-spacing: -.03em; }

/* Sections */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.sectionhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.sectionhead > p { color: var(--muted); max-width: 26rem; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 26px 26px 28px;
}
.num { display: block; font-size: 54px; line-height: 1; color: var(--lime); letter-spacing: -.03em; }
.step h3 { font-size: 21px; line-height: 1.25; margin: 18px 0 8px; }
.step p { color: var(--soft); font-size: 15px; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 6%;
  padding: 26px 0;
}
.feature + .feature { border-top: 1px solid var(--line); padding-top: 52px; margin-top: 26px; }
.feature.flip .shot { order: 2; }
.shot {
  display: grid;
  place-items: center;
  padding: 44px 0;
  border-radius: 22px;
  border: 1px solid var(--hero-line);
  background: radial-gradient(ellipse at 50% 30%, #4a3466 0%, var(--hero) 58%, #1d1527 100%);
}
.shot .phone { width: min(280px, 64%); }
.copy p:not(.kicker) { color: var(--soft); font-size: 17px; margin-top: 18px; max-width: 34rem; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: flex-start; color: var(--white); font-size: 15px; }
.points li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 6px;
  background: #30243e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2ff3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
}
.duo article { padding: 32px 34px; }
.duo article + article { border-left: 1px solid var(--line); }
.duo h2 { font-size: clamp(36px, 3.4vw, 46px); }
.duo p:not(.kicker) { color: var(--soft); margin-top: 16px; max-width: 46ch; }
.levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.levels span {
  font-size: 13px;
  font-weight: 650;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #615269;
  background: #2c2338;
  color: #eee6f4;
}
.score { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.score strong { font: 700 56px/1 var(--display); color: var(--lime); letter-spacing: -.02em; }
.score span { color: var(--muted); font-size: 14px; }

/* Appel final */
.closing { padding: 24px 0 72px; }
.closing-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  padding: 56px 48px;
  background: radial-gradient(ellipse at 80% 20%, #eae2fa 0%, #c8b3ec 50%, #9f7fd0 100%);
  color: #1b1624;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.closing-card .court { opacity: .7; }
.closing-card h2 { margin: 0; color: #1b1624; }
.closing-card h2 em { color: #5e2bcf; }
.closing-card p { margin-top: 12px; color: #3b3049; font-size: 17px; max-width: 30rem; }
.closing-card .cta { background: #141611; color: var(--lime); flex: none; }
.closing-card .cta:hover { background: #26281f; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); }
.foot .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 24px 0 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); }
.foot nav a:hover { color: var(--lime); }
.foot small { color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .top nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 34px 0 40px; gap: 32px; }
  .stage { height: clamp(430px, 108vw, 560px); }
  .stage .phone { width: clamp(170px, 44vw, 250px); }
  .stage .phone.back { left: 6%; }
  .stage .phone.front { right: 6%; }
  .steps { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .shot { order: 0; }
  .duo { grid-template-columns: 1fr; }
  .duo article + article { border-left: 0; border-top: 1px solid var(--line); }
  .closing-card { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .bar { height: 60px; }
  .brand img { height: 26px; }
  h1 { font-size: clamp(54px, 16vw, 80px); margin: 18px 0 16px; }
  .lead { font-size: 17px; }
  .pitch .cta { width: 100%; }
  .section { padding: 44px 0; }
  .sectionhead { display: block; margin-bottom: 22px; }
  .sectionhead > p { margin-top: 12px; }
  .step { padding: 22px; }
  .shot { padding: 32px 0; }
  .duo article { padding: 24px 22px; }
  .closing-card { padding: 36px 22px; }
  .closing-card .cta, .pitch .cta { width: 100%; padding: 13px 14px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
  .cta:hover { transform: none; }
}
