/* ════════════════════════════════════════════════════════════════════
   landing.css — la page publique dans la langue du reste de l'app
   ════════════════════════════════════════════════════════════════════
   Posée le 28/09/2026, après la refonte des 8 phases (phases.css) et le
   remplacement des illustrations d'émotions. La landing était restée sur
   Fraunces + DM Sans + fond #FBF8F1 : on promettait une chose, on entrait
   dans une autre.

   Même principe que phases.css : cette feuille ne réécrit pas le CSS de
   la landing (il vit dans $css_extra de index.php), elle se charge après
   et surcharge.
   ════════════════════════════════════════════════════════════════════ */

body.view-landing{
  background:var(--eco-bg-page, #FAFAF7);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--eco-ink, #1A1F2E);
}

/* ─── Titres ──────────────────────────────────────────────────────── */
.view-landing h1,
.view-landing h2,
.view-landing h3,
.view-landing h4{
  font-family:'Cormorant Garamond', Georgia, serif !important;
  font-weight:400 !important;
  color:var(--eco-ink, #1A1F2E) !important;
  letter-spacing:-.005em;
}
.view-landing h1{font-size:clamp(38px, 5.4vw, 58px);line-height:1.1;}
.view-landing h2{font-size:clamp(28px, 3.6vw, 40px);line-height:1.15;}
.view-landing h3{font-size:24px;}
.view-landing h1 em,
.view-landing h2 em{font-style:italic;font-weight:500;color:#4F8C66;}
.view-landing p,.view-landing li{font-family:'Inter', sans-serif;line-height:1.62;}
.view-landing .lead{font-size:17px;color:var(--eco-ink-soft, #5A5E6B);}
.view-landing .signature-mono,
.view-landing .label-mono{
  font-family:'DM Mono', ui-monospace, monospace;
  font-size:11px;letter-spacing:.22em;text-transform:uppercase;
  color:var(--eco-ink-muted, #9A9FAB);
}

/* ─── Bandes de section : on garde le rythme, on adoucit le contraste ── */
.view-landing .landing-hero{background:transparent;}
.view-landing .landing-section{background:transparent;}
.view-landing .landing-section[style*="paper-2"]{
  background:var(--eco-bg-soft, #F4F2EC) !important;
}

/* ─── La mosaïque d'émotions : même carte que dans la Phase 1 ─────────
   C'est le premier contact avec les portraits ; elle doit annoncer
   exactement ce qu'on trouvera à l'intérieur. */
.view-landing .landing-mosaic{gap:12px;}
.view-landing .landing-mosaic .perso{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.55);
  padding:20px 14px 16px;
  box-shadow:0 1px 2px rgba(31,45,36,.05);
  background-image:
    radial-gradient(130% 90% at 50% -10%, rgba(255,255,255,.60), rgba(255,255,255,0) 62%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23g)' opacity='0.42'/></svg>");
  background-size:auto, 180px 180px;
  background-blend-mode:soft-light, overlay;
}
.view-landing .landing-mosaic .perso:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 18px rgba(31,45,36,.10);
}
.view-landing .landing-mosaic .perso img{
  max-width:118px;
  filter:drop-shadow(0 2px 5px rgba(31,45,36,.10));
}
.view-landing .landing-mosaic .perso .nm{
  font-family:'DM Mono', ui-monospace, monospace;
  letter-spacing:.18em;color:var(--eco-ink-muted, #9A9FAB);
}

/* ─── Boutons ─────────────────────────────────────────────────────── */
.view-landing .btn{
  font-family:'Inter', sans-serif;font-weight:500;font-size:14.5px;
  border-radius:99px;padding:13px 24px;letter-spacing:0;
}
.view-landing .btn-primary{background:#4F8C66;border-color:#4F8C66;color:#fff;}
.view-landing .btn-primary:hover{background:#40734F;border-color:#40734F;}
.view-landing .btn-ghost{
  background:transparent;border:0.5px solid var(--eco-line, #E8E5DC);
  color:var(--eco-ink-soft, #5A5E6B);
}
.view-landing .btn-ghost:hover{background:var(--eco-bg-soft, #F4F2EC);color:var(--eco-ink, #1A1F2E);}

/* ─── Cartes et listes ────────────────────────────────────────────── */
.view-landing .card,
.view-landing .signal-card,
.view-landing .phase-card,
.view-landing .faq-item{
  background:var(--eco-bg-card, #FFFFFF);
  border:0.5px solid var(--eco-line, #E8E5DC);
  border-radius:12px;box-shadow:none;
}
.view-landing .benefits li{font-size:15px;}

/* ─── Les pastilles d'icône : un cercle sobre, pas un aplat ──────── */
.view-landing .ico{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--eco-bg-soft, #F4F2EC);
  font-size:17px;line-height:1;flex-shrink:0;
}

@media (max-width:820px){
  .view-landing .landing-mosaic{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .view-landing .landing-mosaic{grid-template-columns:repeat(2,1fr);gap:10px;}
  .view-landing .landing-mosaic .perso{padding:16px 10px 12px;}
  .view-landing .landing-mosaic .perso img{max-width:88px;}
}
