/* =========================================================
   Maël Coachia — Page de confirmation RDV
   Tokens et style signature "html-mael" (dark + orange)
   ========================================================= */

:root {
  --ink: #0D0B09;
  --ink-2: #161311;
  --ink-3: #1f1a17;
  --cream: #FFFBF4;
  --brown: #735240;
  --orange: #D14422;
  --tangerine: #DD7243;
  --border: rgba(255, 251, 244, 0.08);
  --border-warm: rgba(209, 68, 34, 0.22);
  --shadow-glow: 0 8px 32px rgba(209, 68, 34, 0.32);
  --shadow-card: 0 1px 0 rgba(255, 251, 244, 0.04) inset, 0 24px 60px rgba(0, 0, 0, 0.35);

  --font-sans: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1100px;
  --pad-x: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--tangerine); }

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  color: var(--cream);
}

p { margin: 0; }

::selection { background: var(--orange); color: var(--cream); }

/* ---------- Background layers ---------- */

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  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'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

main, .site-header, .site-footer { position: relative; z-index: 2; }

/* ---------- Site header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 32px) var(--pad-x) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}
.brand:hover { color: var(--cream); opacity: 0.85; }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--border);
}

.brand-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  background: rgba(209, 68, 34, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.status-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

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

.hero {
  max-width: var(--maxw);
  margin: clamp(48px, 10vw, 96px) auto clamp(64px, 10vw, 120px);
  padding: 0 var(--pad-x);
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  background: rgba(209, 68, 34, 0.05);
  color: var(--tangerine);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 auto 28px;
  padding-bottom: 0.1em;
  max-width: 18ch;
  background: linear-gradient(180deg, #FFFBF4 0%, #DDD2C3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-warning {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--orange);
  background: rgba(209, 68, 34, 0.08);
  border-radius: 12px;
  color: var(--cream);
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.45;
  text-align: left;
  margin: 0 auto 28px;
  max-width: 720px;
  box-shadow: 0 0 0 4px rgba(209, 68, 34, 0.05);
}

.warn-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
}

.hero-lede {
  max-width: 640px;
  margin: 0 auto 32px;
  color: rgba(255, 251, 244, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.03);
  font-size: 13px;
  color: rgba(255, 251, 244, 0.78);
  font-weight: 500;
}

.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tangerine);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.hero-scroll:hover {
  border-color: var(--border-warm);
  background: rgba(209, 68, 34, 0.06);
  color: var(--cream);
  transform: translateY(2px);
}
.hero-scroll svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ---------- Step sections ---------- */

.step {
  max-width: var(--maxw);
  margin: 0 auto clamp(72px, 10vw, 120px);
  padding: 0 var(--pad-x);
}

.step-head {
  text-align: center;
  margin-bottom: 40px;
}

.step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 4px;
  margin-bottom: 20px;
}

.step h2 {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  margin: 0 0 14px;
}

.step-lede {
  color: rgba(255, 251, 244, 0.66);
  font-size: clamp(0.95rem, 1.6vw, 1.0625rem);
  max-width: 560px;
  margin: 0 auto;
}

.step-foot {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px auto 0;
  max-width: 720px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 251, 244, 0.025);
  color: rgba(255, 251, 244, 0.72);
  font-size: 14px;
}

.foot-kbd {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(209, 68, 34, 0.14);
  color: var(--tangerine);
}

/* ---------- Video frame ---------- */

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-card), 0 0 80px rgba(209, 68, 34, 0.08);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(209, 68, 34, 0.4), rgba(209, 68, 34, 0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.video-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Skool card ---------- */

.skool-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.skool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(209, 68, 34, 0.35), rgba(209, 68, 34, 0) 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.skool-visual {
  position: relative;
  padding: 18px 18px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(221, 114, 67, 0.12), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(209, 68, 34, 0.10), transparent 60%),
    var(--ink);
}

.skool-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 251, 244, 0.05);
}

.skool-body {
  padding: 28px clamp(20px, 4vw, 36px) clamp(28px, 5vw, 36px);
}

.skool-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.skool-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 251, 244, 0.82);
  line-height: 1.5;
}

.check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(209, 68, 34, 0.16);
  color: var(--tangerine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-xs);
  background: var(--orange);
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid rgba(255, 251, 244, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 4px 14px rgba(209, 68, 34, 0.28);
}
.cta-primary svg { transition: transform 0.25s ease; }
.cta-primary:hover {
  transform: translateY(-2px);
  background: #DA4D2A;
  color: var(--cream);
  box-shadow: var(--shadow-glow);
}
.cta-primary:hover svg { transform: translateX(3px); }
.cta-primary:active { transform: translateY(0); }
.cta-primary:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: var(--radius-xs);
  background: transparent;
  border: 1px solid rgba(255, 251, 244, 0.18);
  color: var(--cream);
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.cta-ghost:hover {
  border-color: var(--tangerine);
  background: rgba(209, 68, 34, 0.06);
  color: var(--cream);
}

.skool-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.cta-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-proof .stars { line-height: 0; }
.proof-text {
  font-size: 13px;
  color: rgba(255, 251, 244, 0.7);
}
.proof-text strong { color: var(--cream); font-weight: 600; }

/* ---------- Testimonials ---------- */

.testimonials {
  max-width: var(--maxw);
  margin: 0 auto clamp(72px, 10vw, 120px);
  padding: 0 var(--pad-x);
}

.testimonials-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tangerine);
  margin-bottom: 18px;
}

.testimonials h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  max-width: 22ch;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.t-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 19, 17, 0.85) 0%, rgba(13, 11, 9, 0.85) 100%);
  border: 1px solid var(--border-warm);
  transition: transform 0.35s ease, border-color 0.35s ease;
  opacity: 0;
  transform: translateY(16px);
}
.t-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.t-card:hover {
  border-color: rgba(209, 68, 34, 0.4);
  transform: translateY(-4px);
}

.t-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 0 0 2px rgba(209, 68, 34, 0.18);
}

.t-quote {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 251, 244, 0.86);
  margin-bottom: 18px;
}

.t-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.t-name { color: var(--cream); font-weight: 600; }
.t-role { color: rgba(255, 251, 244, 0.55); }

/* ---------- Recap ---------- */

.recap {
  max-width: var(--maxw);
  margin: 0 auto clamp(72px, 10vw, 120px);
  padding: 0 var(--pad-x);
}

.recap-inner {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(209, 68, 34, 0.1) 0%, rgba(13, 11, 9, 0.6) 60%);
  border: 1px solid var(--border-warm);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  overflow: hidden;
}

.recap-inner::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  top: -160px;
  right: -160px;
  background: radial-gradient(circle, rgba(209, 68, 34, 0.18), transparent 60%);
  pointer-events: none;
}

.recap-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.recap h2 {
  font-size: clamp(1.375rem, 3vw, 2rem);
  max-width: 24ch;
  margin: 0 auto 18px;
}

.recap-lede {
  color: rgba(255, 251, 244, 0.7);
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  max-width: 580px;
  margin: 0 auto 32px;
}

.recap-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

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

.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--pad-x) 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 251, 244, 0.45);
  flex-wrap: wrap;
}

.site-footer a { color: rgba(255, 251, 244, 0.7); }
.site-footer a:hover { color: var(--tangerine); }
.dot-sep { color: rgba(255, 251, 244, 0.25); }

/* ---------- Reveal animations ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (min-width: 768px) {
  .skool-visual { padding: 28px 28px 0; }
  .skool-bullets { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-warning { font-size: 1.05rem; }
}

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

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