/* Site planimeal.app : mêmes couleurs que l'app (src/ui/tokens.ts). */
:root {
  --ink: #20242B;
  --muted: #666B73;
  --primary: #5794E2;
  --primary-strong: #2F6FC4;
  --blue-soft: #EAF2FD;
  --on-blue: #14243A;
  --line: #E3E6EA;
  --surface: #FFFFFF;
  --surface-soft: #F6F8FB;
  --shadow: 0 1px 3px rgba(25, 39, 61, 0.05), 0 4px 12px rgba(25, 39, 61, 0.06), 0 10px 28px rgba(25, 39, 61, 0.06);
  --radius: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55;
}
a { color: var(--primary-strong); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.accent { color: var(--primary); }

/* En-tête et logo, comme l'accueil de l'app */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.top-bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.top-nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.top-nav a { color: var(--ink); text-decoration: none; }
.top-nav a:hover { color: var(--primary-strong); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 32px; width: auto; }

/* Accueil */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--blue-soft) 0%, var(--surface) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--primary-strong); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-weight: 600; }
.checks li { display: flex; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--blue-soft); color: var(--primary-strong); font-weight: 800; font-size: 14px; }
.hero-visual { display: flex; justify-content: center; }
.phone { margin: 0; text-align: center; }
.phone img { width: 100%; max-width: 300px; margin: 0 auto; border-radius: 36px; border: 8px solid #11151B; box-shadow: var(--shadow); background: #fff; }
.phone figcaption { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--muted); }
.section { padding: 72px 0; }
.soft { background: var(--surface-soft); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps p, .card p { color: var(--muted); margin: 0; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 14px; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.phones .phone img { max-width: 260px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.features.three { grid-template-columns: repeat(3, 1fr); margin: 36px 0; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); font-size: 22px; margin-bottom: 14px; }
.button { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--primary-strong); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--primary); }
.button.disabled { background: var(--line); color: var(--muted); cursor: default; }

/* Pages de texte */
main.narrow { padding-top: 48px; padding-bottom: 64px; }
.legal section { padding: 22px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 22px; }
.legal h3 { font-size: 17px; margin-top: 1em; }
.legal p { color: #3B4048; }

/* Page créateurs : même structure que syzel.ai/createurs, aux couleurs de l'app */
[hidden] { display: none !important; }
.top.minimal .top-bar { justify-content: center; }
.creators { padding-bottom: 72px; }
.creators-hero { padding: 40px 0 16px; background: linear-gradient(180deg, var(--blue-soft) 0%, var(--surface) 70%); }
.creators-hero .container { max-width: 940px; }
.creators-hero h1 { margin-top: 4px; }
.creators-hero .lead { max-width: 640px; margin: 0 auto; }
.watch { margin: 36px 0 14px; font-weight: 700; }
.video-frame { padding: 10px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 0 0 6px var(--blue-soft), var(--shadow); }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #11151B; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.placeholder { display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--on-blue); font-weight: 700; }
.video.placeholder p { margin: 0; }
.apply-slot { min-height: 60px; margin-top: 28px; display: flex; align-items: center; justify-content: center; }
.apply-ready { display: flex; justify-content: center; }
.apply-wait { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-weight: 600; }
.spinner { width: 16px; height: 16px; flex: none; border: 2px solid var(--line); border-top-color: var(--primary-strong); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.button-large { padding: 17px 40px; font-size: 18px; }
.button.outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.button.outline:hover { background: var(--blue-soft); }
.key-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0 64px; }
.key-points .card { padding: 20px; }
.key-points .icon { width: 42px; height: 42px; border-radius: 12px; font-size: 20px; margin-bottom: 12px; }
.key-points h3 { font-size: 17px; margin-bottom: 4px; }
.key-points p { font-size: 15px; }
.faq { max-width: 760px; margin: 28px auto 0; padding: 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { position: relative; padding: 18px 36px 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 24px; font-weight: 600; color: var(--primary-strong); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.final-cta { max-width: 760px; margin: 64px auto 0; padding: 40px 28px; text-align: center; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(180deg, var(--blue-soft) 0%, var(--surface) 100%); box-shadow: var(--shadow); }
.final-cta .lead { max-width: 520px; margin: 0 auto; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.footer-links { display: grid; gap: 8px; font-size: 15px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--primary-strong); }
.footer-copy { grid-column: 1 / -1; margin: 0; }

@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps, .features, .features.three { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; gap: 40px; }
  .top-nav a:first-child { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .key-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .key-points { grid-template-columns: 1fr; }
  .faq { padding: 0 18px; }
}
