/* ============================================================
   youads by Coora — mini-site prototype
   Feuille de style partagée — co-branding Coora dominant + youads
   ============================================================ */

:root {
  --navy-950: #070d18;
  --navy-900: #0b1221;
  --navy-800: #0f1b2e;
  --navy-700: #15263d;
  --surface: #131c2e;
  --surface-2: #1b283d;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #e0b23c;
  --gold-soft: #f2cf7a;
  --green: #3ddc97;
  --text: #f5f7fa;
  --muted: #9aa7b8;
  --muted-2: #6f7d90;
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }

.accent { color: var(--gold); }
.accent-green { color: var(--green); }

/* ---------- Top urgency bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #2a1e00;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}
.topbar a { text-decoration: underline; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #1c2430; font-weight: 600; font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--navy-900); color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--gold); color: #2a1e00 !important; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { width: 24px; height: 2px; background: #1c2430; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: 14px 28px; border-radius: 999px; border: 0;
  transition: transform .15s ease, box-shadow .2s, background .2s;
}
.btn-primary { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); color: #2a1e00; box-shadow: 0 10px 30px rgba(224, 178, 60, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(224, 178, 60, 0.45); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(224, 178, 60, 0.16), transparent 60%),
    radial-gradient(800px 400px at 0% 20%, rgba(61, 220, 151, 0.10), transparent 55%),
    var(--navy-950);
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224, 178, 60, 0.12); color: var(--gold-soft);
  border: 1px solid rgba(224, 178, 60, 0.3);
  padding: 7px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.85rem; color: var(--muted-2); margin-top: 16px; }

/* ---------- Countdown card ---------- */
.countdown-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.countdown-card .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cd-unit { background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 8px; text-align: center; }
.cd-num { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.cd-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); margin-top: 4px; }
.cd-closed { text-align: center; padding: 14px 0; color: var(--gold); font-weight: 700; }

.places { margin-top: 22px; }
.places-row { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 8px; }
.places-row strong { color: #fff; }
.bar { height: 9px; background: var(--navy-900); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); border-radius: 999px; }
.places-foot { font-size: 0.78rem; color: var(--muted-2); margin-top: 8px; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }
.section-head h2 { margin: 12px 0 14px; }
.alt { background: var(--navy-800); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(224, 178, 60, 0.4); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(224, 178, 60, 0.12); color: var(--gold); font-size: 1.4rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
}
.step-num {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem; color: #2a1e00;
  background: linear-gradient(160deg, var(--gold), var(--gold-soft));
}
.step h3 { margin-bottom: 6px; }
.step .tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); font-weight: 700; }

/* ---------- Why-free / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel.gold { border-color: rgba(224, 178, 60, 0.4); background: linear-gradient(160deg, rgba(224,178,60,0.08), var(--surface)); }
.panel.green { border-color: rgba(61, 220, 151, 0.35); background: linear-gradient(160deg, rgba(61,220,151,0.07), var(--surface)); }
.panel h3 { margin-bottom: 14px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--text); font-size: 0.96rem; align-items: start; }
.checklist li::before { content: "✓"; color: var(--green); font-weight: 800; }
.panel.gold .checklist li::before { color: var(--gold); }

/* ---------- Quote / proof ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote p { color: var(--text); font-size: 1.02rem; font-style: italic; margin-bottom: 14px; }
.quote .who { color: var(--gold); font-weight: 700; font-size: 0.9rem; font-style: normal; }

/* ---------- Banner CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(224, 178, 60, 0.25);
  border-radius: 22px; padding: 48px; text-align: center;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { max-width: 560px; margin: 0 auto 24px; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat .n { font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.stat .l { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.qa button { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-weight: 700; font-size: 1.02rem; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: inherit; }
.qa button .plus { color: var(--gold); font-size: 1.4rem; transition: transform .2s; }
.qa.open button .plus { transform: rotate(45deg); }
.qa .answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa .answer p { padding: 0 22px 20px; }

/* ---------- Form ---------- */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--navy-900); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 13px 15px; color: var(--text);
  font-family: inherit; font-size: 0.98rem; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { font-size: 0.8rem; color: var(--muted-2); margin-top: 6px; }
.field.error input, .field.error select { border-color: var(--danger); }
.field .err-msg { color: var(--danger); font-size: 0.8rem; margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: 16px; font-size: 0.9rem; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }

.alert { border-radius: var(--radius-sm); padding: 16px 18px; font-size: 0.92rem; margin-bottom: 20px; display: none; }
.alert.warn { background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255,107,107,0.4); color: #ffc9c9; }
.alert.show { display: block; }

.success-state { display: none; text-align: center; padding: 30px 10px; }
.success-state.show { display: block; }
.success-state .big { font-size: 3rem; margin-bottom: 10px; }
.success-state h3 { font-size: 1.6rem; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer img { height: 30px; margin-bottom: 14px; }
.footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.footer a, .footer p { color: var(--muted); font-size: 0.9rem; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; font-size: 0.8rem; color: var(--muted-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: radial-gradient(800px 300px at 70% -20%, rgba(224,178,60,0.14), transparent 60%), var(--navy-950); padding: 64px 0 56px; text-align: center; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head p { max-width: 640px; margin: 14px auto 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .split, .quotes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column;
    padding: 20px 24px; gap: 18px; border-bottom: 1px solid rgba(0,0,0,0.08);
    transform: translateY(-130%); transition: transform .3s ease; align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-burger { display: flex; }
}
@media (max-width: 540px) {
  .row-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .cta-banner { padding: 32px 22px; }
}

/* ============================================================
   youads — co-branding (ajout du 9 juin 2026)
   Coora reste le repère visuel principal ; youads = étiquette.
   ============================================================ */
.nav-logo { display: inline-flex; align-items: center; gap: 12px; }
.nav-prog { font-size: 0.92rem; font-weight: 800; letter-spacing: -0.02em; color: #1c2430; padding-left: 12px; border-left: 1px solid rgba(0,0,0,0.14); }
.nav-prog .yo { color: var(--gold); }
.youads-mark { font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.youads-mark .yo { color: var(--gold); }
.cosign { display: flex; align-items: baseline; gap: 9px; margin: 16px 0 6px; font-size: 1.45rem; }
.cosign .cosign-by { font-size: 0.85rem; color: var(--muted-2); font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 560px) { .nav-prog { display: none; } }
