/* ============================================================
   KAIZY — Site vitrine — feuille de style unique et partagée
   Rapide, léger, professionnel. Un seul système pour toutes les
   pages (avant : 3 thèmes différents et incohérents).
   ============================================================ */

:root {
  /* Brand (aligné avec l'application) */
  --brand:        #2563eb;
  --brand-dark:   #1d4ed8;
  --brand-soft:   #eff4ff;
  --brand-2:      #4f46e5;

  --cta:          #f97316;
  --cta-dark:     #ea580c;
  --cta-soft:     #fff7ed;

  --ink:          #0f172a;
  --ink-soft:     #475569;
  --ink-muted:    #94a3b8;

  --surface:      #f8fafc;
  --card:         #ffffff;
  --border:       #e2e8f0;
  --border-mid:   #cbd5e1;

  --green:        #16a34a;
  --green-soft:   #f0fdf4;
  --amber:        #d97706;
  --amber-soft:   #fffbeb;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow:    0 4px 16px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1160px;
  --header-h: 68px;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }

/* ── Eyebrow / kicker ─────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid rgba(37,99,235,.15); border-radius: 99px;
  padding: 6px 14px; margin-bottom: 16px;
}
.kicker i { font-size: 10px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  min-height: 48px;
}
.btn:active { transform: scale(.97); }
.btn-cta {
  background: var(--cta); color: #fff;
  box-shadow: 0 6px 20px rgba(249,115,22,.32);
}
.btn-cta:hover { background: var(--cta-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(249,115,22,.4); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 20px rgba(37,99,235,.28);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.36); }
.btn-outline {
  background: #fff; color: var(--ink); border: 1.5px solid var(--border-mid);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(37,211,102,.32); }
.btn-whatsapp:hover { background: #1fb959; transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Header / nav ─────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
#site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; width: 100%; gap: 8px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; flex-shrink: 0; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand em { color: var(--brand); font-style: normal; }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: 40px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 9px 14px; border-radius: 99px; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: flex; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 16px; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-hide-desktop { display: none !important; }
}

#mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 480;
  background: #fff; padding: 16px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .25s var(--ease), opacity .25s;
}
#mobile-menu.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
#mobile-menu a { display: block; padding: 14px 12px; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); }
#mobile-menu .btn { margin-top: 16px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
@media (min-width: 768px) { .hero { padding: 64px 0 80px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { font-size: clamp(30px, 6vw, 50px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { font-size: 17px; color: var(--ink-soft); max-width: 480px; margin-bottom: 28px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-soft); background: #fff; border: 1px solid var(--border); border-radius: 99px; padding: 7px 13px; }
.trust-pill i { color: var(--green); font-size: 11px; }

/* ── Feature grid / cards ─────────────────────────────────── */
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; } @media (min-width:700px){ .grid-2{grid-template-columns:repeat(2,1fr);} }
.grid-3 { grid-template-columns: 1fr; } @media (min-width:700px){ .grid-3{grid-template-columns:repeat(2,1fr);} } @media (min-width:960px){ .grid-3{grid-template-columns:repeat(3,1fr);} }
.grid-4 { grid-template-columns: repeat(2,1fr); } @media (min-width:960px){ .grid-4{grid-template-columns:repeat(4,1fr);} }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 16px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ── Split section (text + visual) ───────────────────────── */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.rev > *:first-child { order: 2; } }
.split h2 { font-size: clamp(24px,3.6vw,34px); margin-bottom: 14px; }
.split p.lead { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 22px; line-height: 1.7; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink); }
.check-list .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); border: 1px solid rgba(22,163,74,.2); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; margin-top: 1px; }
.visual-frame { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.visual-frame img { width: 100%; }

/* ── Steps ────────────────────────────────────────────────── */
.steps { display: grid; gap: 28px; } @media (min-width:800px){ .steps{grid-template-columns:repeat(3,1fr);} }
.step-card { text-align: center; padding: 0 12px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 8px 20px rgba(37,99,235,.28); }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ── Promo countdown banner ───────────────────────────────── */
.promo-countdown {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  max-width: 620px; margin: 0 auto 36px; padding: 14px 22px;
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-dark) 100%);
  color: #fff; border-radius: 99px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(249,115,22,.28);
}
.promo-countdown i { font-size: 14px; }
.promo-countdown-nums { display: flex; gap: 10px; }
.promo-countdown-nums div { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.promo-countdown-nums b { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.promo-countdown-nums small { font-size: 9px; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
@media (max-width: 480px) { .promo-countdown { font-size: 12.5px; padding: 12px 16px; } }

/* ── Pricing ──────────────────────────────────────────────── */
.plans-grid { display: grid; gap: 20px; } @media (min-width:860px){ .plans-grid{grid-template-columns:repeat(3,1fr); align-items:start;} }
.plans-grid-single { max-width: 460px; margin: 0 auto; }
.plans-grid-single .plan-card { padding-top: 36px; }
.plan-features-2col { display: grid; grid-template-columns: 1fr; gap: 10px 14px; }
@media (min-width: 480px) { .plan-features-2col { grid-template-columns: 1fr 1fr; } }
.plans-grid-single .plan-badge { display: inline-flex; align-items: center; gap: 6px; white-space: normal; text-align: center; padding: 6px 16px; }
.plan-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border-color: var(--brand); box-shadow: 0 20px 48px rgba(37,99,235,.18); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.plan-desc { font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }
.plan-price { display: flex; align-items: flex-end; gap: 7px; margin-bottom: 4px; }
.plan-price .old { font-size: 14px; color: var(--ink-muted); text-decoration: line-through; padding-bottom: 6px; }
.plan-price .new { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.plan-price .unit { font-size: 13px; color: var(--ink-muted); padding-bottom: 6px; }
.plan-promo { display: inline-block; font-size: 11px; font-weight: 700; color: var(--cta-dark); background: var(--cta-soft); border: 1px solid rgba(249,115,22,.25); border-radius: 99px; padding: 3px 10px; margin-bottom: 18px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 24px; }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.plan-features li i.ok { color: var(--green); font-size: 12px; margin-top: 2px; }
.plan-features li i.no { color: var(--ink-muted); font-size: 12px; margin-top: 2px; }
.plan-features li.off { color: var(--ink-muted); }

/* ── Testimonials ─────────────────────────────────────────── */
.testi-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--amber); font-size: 13px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-q { font-size: 14.5px; color: var(--ink); line-height: 1.65; margin-bottom: 18px; }
.testi-foot { display: flex; align-items: center; gap: 11px; }
.testi-av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testi-name { font-size: 13.5px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--ink-muted); }

/* ── FAQ accordion ────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 20px 4px; background: none; border: none; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.faq-q i { color: var(--ink-muted); font-size: 13px; transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 4px 20px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); border-radius: var(--radius-xl); padding: 48px 32px; text-align: center; color: #fff; }
@media (min-width: 768px) { .cta-band { padding: 64px 48px; } }
.cta-band h2 { color: #fff; font-size: clamp(24px,4vw,36px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 15.5px; margin-bottom: 26px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-band .btn-outline { background: #fff; color: var(--brand); border: none; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.9); }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 32px; } @media (min-width:768px){ .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;} }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff; margin-bottom: 10px; }
.footer-brand em { color: #7aa3ff; font-style: normal; }
.footer-desc { font-size: 13.5px; line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.footer-socials a:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ── WhatsApp floating button ─────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ── Scroll-reveal (lightweight) ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Simple page hero (docs/legal/faq/etc.) ──────────────── */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 48px 0; text-align: center; }
.page-hero .kicker { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(28px,5vw,42px); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

/* ── Docs layout ──────────────────────────────────────────── */
.docs-layout { display: grid; gap: 32px; padding: 48px 0 80px; } @media (min-width:900px){ .docs-layout{grid-template-columns:240px 1fr;gap:48px;} }
.docs-nav { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.docs-nav-group { margin-bottom: 20px; }
.docs-nav-group h4 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); margin-bottom: 8px; }
.docs-nav a { display: block; font-size: 14px; color: var(--ink-soft); padding: 7px 10px; border-radius: 8px; }
.docs-nav a:hover { background: var(--surface); color: var(--ink); }
.docs-nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.docs-content h2 { font-size: 24px; margin: 36px 0 14px; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { font-size: 17px; margin: 24px 0 10px; }
.docs-content p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.docs-content ul, .docs-content ol { margin: 0 0 16px 20px; }
.docs-content li { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 6px; }
.docs-content li::marker { color: var(--brand); }
.doc-callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); margin: 20px 0; font-size: 14px; line-height: 1.6; }
.doc-callout i { flex-shrink: 0; margin-top: 2px; }
.doc-callout.tip { background: var(--brand-soft); color: #1e3a8a; border: 1px solid rgba(37,99,235,.15); }
.doc-callout.tip i { color: var(--brand); }
.doc-callout.warn { background: var(--amber-soft); color: #78350f; border: 1px solid rgba(217,119,6,.2); }
.doc-callout.warn i { color: var(--amber); }

/* ── Legal pages ──────────────────────────────────────────── */
.legal-layout { max-width: 780px; margin: 0 auto; padding: 48px 0 80px; }
.legal-layout h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-layout h2:first-child { margin-top: 0; }
.legal-layout p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.legal-layout ul { margin: 0 0 16px 20px; }
.legal-layout li { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 6px; }
.legal-updated { font-size: 13px; color: var(--ink-muted); margin-bottom: 8px; }
.legal-placeholder { background: var(--amber-soft); border: 1px dashed rgba(217,119,6,.4); color: #78350f; padding: 2px 6px; border-radius: 4px; font-size: .95em; }

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-brand { background: var(--brand-soft); color: var(--brand); }
