/* =========================================================================
   Skolaty — Site vitrine (production)
   Charte "Teal Trust". Extrait du cadrage validé par Hichem.
   Mobile-first, aucune dépendance externe (pile de polices système).
   ========================================================================= */

:root {
  /* Palette Teal Trust */
  --teal: #0E7C7B;
  --deep: #0A4F4E;
  --ink: #07302F;
  --mint: #3FC1A8;
  --gold: #F2B441;
  --cream: #F4F8F7;
  --slate: #5B6B6A;
  --line: #E2ECEA;
  --white: #fff;

  /* Piles de polices système (aucun CDN, aucun @font-face distant).
     Reproduit l'esprit du cadrage : titres à fort caractère + corps humaniste. */
  --disp: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1140px;
  --radius: 16px;
  --focus: 0 0 0 3px rgba(14, 124, 123, .35);
}

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

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

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden; /* garde-fou anti scroll horizontal */
}

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

a { text-decoration: none; color: inherit; }

h1, h2, h3 {
  font-family: var(--disp);
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 800;
}

/* Focus visible clavier (a11y) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 11px;
}

/* Lien d'évitement (skip link) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  font-family: var(--body);
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 11px;
  padding: 15px 24px;
  min-height: 48px;            /* cible tactile >= 44px */
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(1.04); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-white { background: #fff; color: var(--deep); }
.btn-wa { background: #25D366; color: #06331d; }
.btn-wa:hover { filter: brightness(1.05); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
.eyebrow.center { justify-content: center; }

/* ---------- Logo (wordmark) ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 22px;
  color: var(--deep);
  letter-spacing: -0.5px;
}
.logo .g { color: var(--gold); }
.logo svg { flex-shrink: 0; display: block; }

/* =========================================================================
   HEADER
   ========================================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 20px;
}
.nav-links {
  display: none;               /* mobile-first : masqué, remplacé par le menu */
  gap: 26px;
  margin-left: 12px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 2px;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-cta .btn { padding: 11px 18px; min-height: 44px; }
.nav-cta .desktop-only { display: none; }

/* Bouton burger (mobile) */
.burger {
  margin-left: auto;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  color: var(--deep);
}
.burger:hover { border-color: var(--teal); color: var(--teal); }

/* Panneau mobile */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { background: var(--cream); color: var(--teal); }
.mobile-menu .m-cta { padding: 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu .m-cta .btn { width: 100%; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  background: linear-gradient(170deg, #fff 0%, var(--cream) 100%);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  max-width: 120vw;
  height: 520px;
  background: radial-gradient(ellipse, rgba(63, 193, 168, .16), transparent 62%);
  pointer-events: none;
}
.hero-col { max-width: 760px; margin: 0 auto; position: relative; }
.hero h1 {
  font-size: 34px;
  color: var(--deep);
  letter-spacing: -1px;
  line-height: 1.08;
  margin-top: 18px;
}
.hero h1 .hl { color: var(--teal); }
.hero p.lead {
  font-size: 17px;
  color: var(--slate);
  margin: 20px auto 28px;
  max-width: 54ch;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero .trust { margin-top: 24px; font-size: 13.5px; color: var(--slate); }
.hero .trust b { color: var(--deep); }

/* =========================================================================
   SECTIONS génériques
   ========================================================================= */
section { padding: 56px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 27px; color: var(--deep); margin: 12px 0 0; }
.sec-head p { font-size: 16px; color: var(--slate); margin-top: 12px; }

/* =========================================================================
   PROBLÈME
   ========================================================================= */
.problem { background: var(--cream); }
.prob-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.prob-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
}
.prob-card .x {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #F8E4E0;
  color: #A23E30;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.prob-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 4px; letter-spacing: 0; }
.prob-card p { font-size: 14px; color: var(--slate); line-height: 1.45; }

/* =========================================================================
   FEATURES
   ========================================================================= */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 79, 78, .08); }
.feat .ic {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat:nth-child(2) .ic { background: var(--mint); }
.feat:nth-child(3) .ic { background: var(--gold); color: var(--ink); }
.feat:nth-child(4) .ic { background: var(--mint); }
.feat:nth-child(5) .ic { background: var(--gold); color: var(--ink); }
.feat:nth-child(6) .ic { background: var(--teal); }
.feat h3 { font-size: 18px; color: var(--deep); margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--slate); }

/* =========================================================================
   POUR QUI
   ========================================================================= */
.audience { background: var(--ink); color: #fff; }
.audience .sec-head h2 { color: #fff; }
.audience .sec-head p { color: #9fc4c1; }
.aud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.aud {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 28px;
}
.aud .tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.aud h3 { font-size: 20px; margin: 10px 0 14px; color: #fff; }
.aud ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aud li {
  font-size: 14.5px;
  color: #cfe5e3;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.aud li .c { color: var(--mint); flex-shrink: 0; font-weight: 700; }

/* =========================================================================
   PREUVE / TÉMOIGNAGE
   ========================================================================= */
.proof { background: var(--cream); }
.proof-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.proof blockquote {
  font-size: 19px;
  color: var(--deep);
  font-family: var(--disp);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.proof .who { margin-top: 16px; font-size: 14px; color: var(--slate); }
.proof-stats { display: flex; gap: 12px; }
.pstat {
  flex: 1;
  text-align: center;
  background: var(--cream);
  border-radius: 14px;
  padding: 20px 8px;
}
.pstat .n { font-family: var(--disp); font-size: 34px; font-weight: 800; color: var(--teal); }
.pstat .l { font-size: 12px; color: var(--slate); margin-top: 4px; }

/* =========================================================================
   FORMULES
   ========================================================================= */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan.hi { background: var(--ink); border: none; }
.plan .pname { font-family: var(--disp); font-size: 22px; font-weight: 800; color: var(--deep); letter-spacing: -0.3px; }
.plan.hi .pname { color: #fff; }
.plan .ptag { font-size: 13px; color: var(--teal); font-weight: 600; margin-top: 2px; }
.plan.hi .ptag { color: var(--mint); }
.plan .badge-pop {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: .5px;
}
.plan .price {
  font-family: var(--disp);
  font-size: 23px;
  font-weight: 800;
  color: var(--deep);
  margin: 16px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.plan.hi .price { color: #fff; border-color: rgba(255, 255, 255, .14); }
.plan .price small { font-size: 13px; font-weight: 400; color: var(--slate); margin-left: 5px; }
.plan.hi .price small { color: #8fb8b5; }
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 22px;
}
.plan li { font-size: 14px; color: var(--ink); display: flex; gap: 9px; align-items: flex-start; }
.plan.hi li { color: #cfe5e3; }
.plan li .c { color: var(--teal); flex-shrink: 0; font-weight: 700; }
.plan.hi li .c { color: var(--mint); }
.plan .btn { width: 100%; }

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta-final { padding: 0 0 64px; }
.cta-box {
  background: linear-gradient(135deg, var(--teal), var(--deep));
  border-radius: 24px;
  padding: 44px 26px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-box .circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.cta-box .inner { position: relative; }
.cta-box h2 { font-size: 26px; margin-bottom: 14px; color: #fff; }
.cta-box p { font-size: 16.5px; color: #eaf4f2; max-width: 50ch; margin: 0 auto 26px; }
.cta-box .cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer { background: var(--ink); color: #9fc4c1; padding: 48px 0 26px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.foot-brand .logo { color: #fff; margin-bottom: 12px; }
.foot-brand .logo .g { color: var(--gold); }
.foot-brand p { font-size: 14px; max-width: 32ch; line-height: 1.55; }
.foot-col h3 { font-family: var(--disp); color: #fff; font-size: 15px; margin-bottom: 12px; letter-spacing: 0; }
.foot-col a { display: block; font-size: 14px; margin-bottom: 9px; color: #9fc4c1; }
.foot-col a:hover { color: var(--mint); }
.foot-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================================
   BREAKPOINTS (mobile-first : on enrichit vers le haut)
   ========================================================================= */

/* Tablette */
@media (min-width: 620px) {
  .prob-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero h1 { font-size: 46px; }
  .hero p.lead { font-size: 19px; }
  .sec-head h2 { font-size: 32px; }
  .cta-box { padding: 56px 40px; }
  .cta-box h2 { font-size: 32px; }
}

/* Desktop */
@media (min-width: 900px) {
  .wrap { padding: 0 28px; }
  .nav { min-height: 74px; gap: 34px; }
  .nav-links { display: flex; }
  .nav-cta .desktop-only { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }

  .hero { padding: 92px 0 100px; }
  .hero h1 { font-size: 58px; letter-spacing: -2px; }
  .hero p.lead { font-size: 20px; }

  section { padding: 84px 0; }
  .sec-head { margin-bottom: 52px; }
  .sec-head h2 { font-size: 38px; }

  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .plan.hi { transform: scale(1.03); }

  .proof-card { grid-template-columns: 1fr 1.2fr; padding: 48px; gap: 44px; }
  .proof blockquote { font-size: 21px; }

  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  .cta-box { padding: 64px; }
  .cta-box h2 { font-size: 38px; }
}

/* =========================================================================
   Respect de prefers-reduced-motion (a11y)
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .feat:hover { transform: none; }
}

/* ---- Badges stores (hero) : boutons HTML/CSS, CSP-safe (aucune image externe) ---- */
.store-badges{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;align-items:center;margin-top:20px}
.store-badge{display:inline-flex;align-items:center;gap:11px;background:#000;color:#fff;border-radius:12px;padding:9px 18px;min-height:54px;box-sizing:border-box;text-decoration:none}
.store-badge .sb-ic{display:flex;align-items:center;justify-content:center}
.store-badge .sb-ic svg{display:block;height:26px;width:auto}
.store-badge .sb-txt{display:flex;flex-direction:column;justify-content:center;line-height:1.12;text-align:left}
.store-badge .sb-txt small{font-size:10px;font-weight:400;letter-spacing:.3px;opacity:.95}
.store-badge .sb-txt strong{font-family:var(--body);font-size:19px;font-weight:600;letter-spacing:.2px}
a.store-badge{transition:transform .15s ease, box-shadow .15s ease}
a.store-badge:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(7,48,47,.28)}
a.store-badge:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.store-badge.soon{position:relative;opacity:.62;cursor:default}
.store-badge.soon .soon-tag{position:absolute;top:-10px;right:-9px;background:var(--gold);color:var(--ink);font:700 10px/1 var(--body);letter-spacing:.03em;padding:5px 9px;border-radius:999px;box-shadow:0 3px 8px rgba(7,48,47,.3)}
