/* ============================================================
   NOOMA — Styles spécifiques à la page d'accueil
   ============================================================ */

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); margin-top: 18px; }
.hero h1 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--gold-light) 30%, #fff6de 42%, var(--gold-light) 54%, var(--gold-light) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmerSweep 5.5s ease-in-out 1.2s infinite;
}
@keyframes shimmerSweep { 0%, 30% { background-position: 100% 0; } 65%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 em { animation: none; background-position: 0 0; } }

.hero .sub { margin-top: 22px; font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .meta-row {
  margin-top: 40px; display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint);
}
.hero .meta-row strong { display: block; color: var(--ink); font-size: 11px; letter-spacing: 0.08em; margin-top: 4px; }

.rings-stage {
  aspect-ratio: 260 / 200; width: 100%; max-width: 460px; margin: 0 auto; position: relative;
  display: flex; align-items: center; justify-content: center; perspective: 900px;
}
.rings-stage canvas, .rings-stage svg { width: 100%; height: 100%; display: block; }
.rings-stage svg { transition: transform .25s cubic-bezier(.2,.6,.2,1); will-change: transform; }
.rings-stage canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.rings-stage.webgl-ready canvas { opacity: 1; }
.rings-stage.webgl-ready svg { opacity: 0; }

@keyframes driftSlow { 0%, 100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-2%, 2%) rotate(3deg); } }
.ring-a { animation: ringDraw 1.8s cubic-bezier(.4,0,.2,1) forwards, driftSlow 14s ease-in-out infinite 1.8s; transform-origin: 37.7% 50%; }
.ring-b { animation: ringDraw 1.8s cubic-bezier(.4,0,.2,1) .25s forwards, driftSlow 16s ease-in-out infinite 2.05s reverse; transform-origin: 62.3% 50%; }
@keyframes orbitSlowRing { to { transform: rotate(360deg); } }
.orbit-dots { transform-origin: 130px 100px; animation: orbitSlowRing 40s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .ring-a, .ring-b { animation: none; stroke-dashoffset: 0; }
  .orbit-dots { animation: none; }
}

/* ---------- Ticker de catégories ---------- */
.ticker-band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; padding: 22px 0; position: relative; z-index: 1; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tickerScroll 34s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation-duration: 90s; } }
.ticker-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; color: var(--ink-soft); white-space: nowrap; }
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Preuve immédiate ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.stat { background: var(--bg); padding: 30px 26px; }
.stat .num { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.stat .label { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 860px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Comment ça marche ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; position: relative; }
.step-card .step-icon { margin-bottom: 20px; }
.step-card .step-num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .1em; }
.step-card h3 { font-size: 21px; margin-top: 10px; }
.step-card p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; }
.step-link { position: relative; }
.step-link svg { position: absolute; top: 50%; left: 100%; width: 20px; height: 12px; transform: translate(-2px,-50%); }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } .step-link svg { display: none; } }

/* ---------- Trois expériences ---------- */
.exp-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; }
.exp-tab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 999px; border: none; background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.exp-tab[aria-selected="true"] { background: var(--tab-accent, var(--gold)); color: var(--gold-ink); }
.exp-tab[data-role="pro"][aria-selected="true"] { --tab-accent: var(--majorelle); color: #fff; }
.exp-tab[data-role="staff"][aria-selected="true"] { --tab-accent: var(--teal); color: #06231f; }

.exp-panel { display: none; }
.exp-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.exp-panel .visual {
  border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 44px 24px;
}
.exp-panel .visual::before {
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(circle at 30% 20%, var(--panel-accent), transparent 60%);
}
.exp-panel[data-role="client"] .visual { --panel-accent: rgba(227,178,76,.35); --panel-solid: #E3B24C; --panel-solid-ink: #2A2010; }
.exp-panel[data-role="pro"] .visual { --panel-accent: rgba(90,79,219,.4); --panel-solid: #7D74E6; --panel-solid-ink: #14122A; }
.exp-panel[data-role="staff"] .visual { --panel-accent: rgba(47,168,154,.4); --panel-solid: #5CC2B5; --panel-solid-ink: #0E2422; }

.exp-panel .visual .mock-frame {
  width: min(62%, 220px); aspect-ratio: 9/17.5; border-radius: 26px; border: 1px solid var(--line);
  background: var(--bg-alt); position: relative; z-index: 1; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; flex: none;
}
.exp-panel .visual .mock-frame .mock-status { display: flex; align-items: center; gap: 8px; }
.exp-panel .visual .mock-frame .mock-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--panel-solid); flex: none; }
.exp-panel .visual .mock-frame .mock-bar { height: 7px; border-radius: 4px; background: rgba(245,239,224,0.18); }
.exp-panel .visual .mock-frame .mock-bar.name { width: 64px; }
.exp-panel .visual .mock-frame .mock-bar.short { width: 55%; }
.exp-panel .visual .mock-frame .mock-title { height: 15px; width: 82%; border-radius: 4px; background: rgba(245,239,224,0.32); }
.exp-panel .visual .mock-frame .mock-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; background: rgba(245,239,224,0.03);
}
.exp-panel .visual .mock-frame .mock-card .mock-swatch { width: 34px; height: 34px; border-radius: 9px; background: var(--panel-solid); opacity: 0.85; flex: none; }
.exp-panel .visual .mock-frame .mock-card .mock-lines { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.exp-panel .visual .mock-frame .mock-chip {
  margin-top: auto; height: 40px; border-radius: 10px; background: var(--panel-solid);
  display: flex; align-items: center; justify-content: center;
}
.exp-panel .visual .mock-frame .mock-chip::after { content: ''; width: 58%; height: 8px; border-radius: 4px; background: var(--panel-solid-ink); opacity: 0.45; }
.exp-panel ul.feature-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.exp-panel ul.feature-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.exp-panel ul.feature-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; margin-top: 8px; flex: none; background: var(--panel-accent, var(--gold)); }
@media (max-width: 860px) { .exp-panel.active { grid-template-columns: 1fr; } .exp-panel .visual { order: -1; } }

/* ---------- Disponibilités ---------- */
.avail-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.avail-demo { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.avail-demo .avail-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.avail-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.avail-slot {
  aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); opacity: 0.4; transform: scale(0.9);
  transition: opacity .4s ease, transform .4s ease, background .4s ease, color .4s ease, border-color .4s ease;
}
.avail-slot.open { opacity: 1; transform: scale(1); background: rgba(227,178,76,.12); border-color: rgba(227,178,76,.4); color: var(--gold-light); }
.avail-slot.taken { opacity: 0.25; text-decoration: line-through; }
.avail-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Double parcours ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { border-radius: 20px; padding: 36px 32px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.split-card.client { background: linear-gradient(160deg, rgba(227,178,76,.1), var(--surface) 55%); }
.split-card.pro { background: linear-gradient(160deg, rgba(90,79,219,.12), var(--surface) 55%); }
.split-card .icon-tile { align-items: flex-start; margin-bottom: 18px; }
.split-card h3 { font-size: 24px; }
.split-card p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; max-width: 42ch; }
.split-card .btn { margin-top: 24px; }
@media (max-width: 780px) { .split-grid { grid-template-columns: 1fr; } }

/* ---------- Preuve sociale (teaser honnête, pas de faux avis) ---------- */
.social-teaser { display: flex; align-items: center; gap: 16px; padding: 26px 30px; border: 1px dashed var(--line); border-radius: 16px; }
.social-teaser .icon-tile svg { width: 30px; height: 30px; }
.social-teaser p { color: var(--ink-soft); font-size: 14.5px; }
.social-teaser strong { color: var(--ink); }

/* ---------- Fidélité (mention légère) ---------- */
.loyalty-strip { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); width: fit-content; }
.loyalty-strip svg { width: 22px; height: 22px; flex: none; }
.loyalty-strip span { font-size: 13.5px; color: var(--ink-soft); }
.loyalty-strip strong { color: var(--gold-light); }

/* ---------- Liste d'attente ---------- */
.waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.waitlist-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.waitlist-form .field.email { grid-column: 1 / -1; }
.waitlist-form .role-choice { grid-column: 1 / -1; display: flex; gap: 10px; }
.role-choice label {
  flex: 1; text-align: center; padding: 12px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer;
  font-size: 13.5px; color: var(--ink-soft); transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.role-choice input { position: absolute; opacity: 0; pointer-events: none; }
.role-choice input:checked + label { border-color: var(--gold-light); color: var(--gold-light); background: rgba(227,178,76,.08); }
.waitlist-form .submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
@media (max-width: 780px) { .waitlist-grid { grid-template-columns: 1fr; } .waitlist-form { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink);
}
.faq-q h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 600; }
.faq-q .plus { width: 20px; height: 20px; position: relative; flex: none; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--gold-light); border-radius: 2px; }
.faq-q .plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-q .plus::after { left: 9px; top: 0; width: 2px; height: 20px; transition: transform .25s ease; }
.faq-item[data-open="true"] .plus::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; color: var(--ink-soft); font-size: 14.5px; max-width: 68ch; }
