/* ============================================================
   SALONIQA SaaS — Landing page (Phase 10, Task 2)
   Uses css/theme.css tokens + shared .btn/.font-display/gradients.
   Scope: index.html only. No auth/booking/admin/DB.
   ============================================================ */
*{ margin:0; padding:0; box-sizing:border-box; }
body.lp{ font-family:var(--font-body); color:var(--ink); background:var(--ivory); line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip; }
.lp-wrap{ max-width:1200px; margin:0 auto; padding:0 24px; }
.lp h1,.lp h2,.lp h3{ font-family:var(--font-display); font-weight:600; line-height:1.12; letter-spacing:-.015em; color:var(--emerald-deep); }
.lp a{ color:inherit; text-decoration:none; }
.lp section{ position:relative; }
.lp-eyebrow{ display:inline-block; font-family:var(--font-body); font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--gold-dark); margin-bottom:14px; }
.lp-center{ text-align:center; }
.lp-lead{ color:var(--muted); font-size:18px; max-width:620px; }

/* ── Header ─────────────────────────────────────────────── */
.lp-header{ position:sticky; top:0; z-index:100; background:rgba(252,250,246,.85); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.lp-nav{ display:flex; align-items:center; gap:24px; height:70px; }
.lp-logo{ font-family:var(--font-display); font-size:26px; font-weight:700; color:var(--emerald-deep); letter-spacing:.5px; }
.lp-logo span{ color:var(--gold-dark); }
.lp-navlinks{ display:flex; align-items:center; gap:6px; margin-left:18px; }
.lp-navlinks > li{ list-style:none; position:relative; }
.lp-navlinks > li > a{ display:inline-flex; align-items:center; gap:5px; padding:9px 14px; border-radius:var(--radius-pill); font-size:14.5px; font-weight:500; color:var(--ink); transition:var(--transition-smooth); }
.lp-navlinks > li > a:hover{ background:var(--beige); color:var(--emerald); }
.lp-caret{ font-size:10px; opacity:.6; }
.lp-actions{ margin-left:10px; display:flex; align-items:center; gap:10px; }
.lp-lang{ margin-left:auto; display:flex; gap:2px; border:1px solid var(--line); border-radius:var(--radius-pill); padding:3px; background:var(--card); }
.lp-lang button{ border:none; background:none; padding:5px 11px; border-radius:var(--radius-pill); font-size:13px; font-weight:700; color:var(--muted); cursor:pointer; font-family:inherit; transition:var(--transition-smooth); }
.lp-lang button.active{ background:var(--gradient-green); color:#fff; }
/* dropdown (CSS only, hover + focus-within) */
.lp-dd{ position:absolute; top:calc(100% + 6px); right:0; min-width:248px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-soft); padding:8px; display:none; }
.lp-navlinks > li:hover .lp-dd, .lp-navlinks > li:focus-within .lp-dd{ display:block; }
.lp-dd a{ display:block; padding:10px 12px; border-radius:8px; font-size:14px; color:var(--ink); }
.lp-dd a:hover{ background:var(--beige); color:var(--emerald); }
.lp-dd a small{ display:block; color:var(--muted); font-size:12px; font-weight:400; }
.lp-burger{ display:none; margin-left:auto; background:none; border:1px solid var(--line); border-radius:10px; width:42px; height:42px; font-size:20px; cursor:pointer; color:var(--emerald); }

/* ── Hero ───────────────────────────────────────────────── */
.lp-hero{ background:var(--gradient-hero); padding:72px 0 84px; overflow:hidden; }
.lp-hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
.lp-hero h1{ font-size:clamp(36px,5vw,60px); margin-bottom:20px; }
.lp-hero h1 .g{ color:var(--gold-dark); }
.lp-hero p.sub{ font-size:20px; color:var(--ink); opacity:.78; max-width:540px; margin-bottom:28px; }
.lp-cta-row{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
.lp-trust{ display:flex; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:14px; }
.lp-trust span{ display:inline-flex; align-items:center; gap:7px; }
.lp-check{ color:var(--emerald); font-weight:800; }
/* hero mockup (pure CSS — no image asset) */
.lp-mock{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-luxe); padding:20px; }
.lp-mock-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.lp-mock-top strong{ font-family:var(--font-display); font-size:18px; color:var(--emerald-deep); }
.lp-pill{ font-size:12px; font-weight:600; padding:4px 10px; border-radius:var(--radius-pill); background:var(--green-soft,#e6f0ec); color:var(--emerald); }
.lp-mock-row{ display:flex; align-items:center; gap:12px; padding:11px; border-radius:12px; background:var(--ivory); margin-bottom:9px; }
.lp-mock-av{ width:34px; height:34px; border-radius:50%; background:var(--gradient-gold); flex-shrink:0; }
.lp-mock-row .t{ font-size:13.5px; font-weight:600; }
.lp-mock-row .s{ font-size:12px; color:var(--muted); }
.lp-mock-wa{ margin-left:auto; font-size:11px; font-weight:700; color:#fff; background:var(--wa); padding:4px 9px; border-radius:var(--radius-pill); }

/* ── Generic section ────────────────────────────────────── */
.lp-sec{ padding:78px 0; }
.lp-sec--ivory{ background:var(--ivory); }
.lp-sec--white{ background:var(--soft-white); }
.lp-sec--beige{ background:var(--beige); }
.lp-sec h2{ font-size:clamp(28px,3.5vw,42px); }
.lp-sec-head{ max-width:680px; margin:0 auto 48px; text-align:center; }
.lp-sec-head p{ color:var(--muted); font-size:17px; margin-top:12px; }

/* ── Trust band ─────────────────────────────────────────── */
.lp-trustband{ background:var(--emerald-deep); color:#fff; padding:30px 0; }
.lp-trustband .lp-wrap{ display:flex; align-items:center; justify-content:center; gap:14px 40px; flex-wrap:wrap; }
.lp-trustband small{ opacity:.7; letter-spacing:2px; text-transform:uppercase; font-size:11px; font-weight:700; width:100%; text-align:center; margin-bottom:6px; }
.lp-trustband b{ font-family:var(--font-display); font-size:20px; opacity:.92; }

/* ── Cards grid ─────────────────────────────────────────── */
.lp-grid{ display:grid; gap:20px; }
.lp-grid-3{ grid-template-columns:repeat(3,1fr); }
.lp-grid-4{ grid-template-columns:repeat(4,1fr); }
.lp-grid-5{ grid-template-columns:repeat(5,1fr); }
.lp-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; transition:var(--transition-smooth); }
.lp-card:hover{ box-shadow:var(--shadow-soft); transform:translateY(-3px); }
.lp-ico{ width:48px; height:48px; border-radius:14px; display:grid; place-items:center; font-size:22px; background:var(--gradient-soft); margin-bottom:16px; }
.lp-card h3{ font-size:19px; margin-bottom:8px; font-family:var(--font-body); font-weight:700; color:var(--ink); }
.lp-card p{ color:var(--muted); font-size:14.5px; }

/* ── Results / metrics ──────────────────────────────────── */
.lp-metrics{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.lp-metric{ text-align:center; padding:30px 18px; border-radius:var(--radius); background:var(--card); border:1px solid var(--line); }
.lp-metric .n{ font-family:var(--font-display); font-size:46px; font-weight:700; line-height:1; }
.lp-metric .l{ color:var(--muted); font-size:14px; margin-top:10px; }

/* ── Métiers selector ───────────────────────────────────── */
.lp-metiers{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:30px; }
.lp-chip{ padding:11px 22px; border-radius:var(--radius-pill); border:1px solid var(--line); background:var(--card); font-size:14.5px; font-weight:600; cursor:pointer; transition:var(--transition-smooth); }
.lp-chip:hover{ border-color:var(--gold); }
.lp-chip.active{ background:var(--gradient-green); color:#fff; border-color:transparent; }
.lp-metier-panel{ max-width:680px; margin:0 auto; text-align:center; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-soft); padding:34px; }
.lp-metier-panel h3{ font-size:24px; margin-bottom:10px; }
.lp-metier-panel p{ color:var(--muted); }

/* ── Why (split) ────────────────────────────────────────── */
.lp-why{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.lp-why .lp-card{ display:flex; gap:16px; align-items:flex-start; }

/* ── Morocco band ───────────────────────────────────────── */
.lp-morocco{ background:var(--gradient-green); color:#fff; }
.lp-morocco h2{ color:#fff; }
.lp-morocco .lp-card{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16); }
.lp-morocco .lp-card h3{ color:#fff; }
.lp-morocco .lp-card p{ color:rgba(255,255,255,.78); }
.lp-morocco .lp-ico{ background:rgba(255,255,255,.12); }

/* ── Testimonials ───────────────────────────────────────── */
.lp-testi{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.lp-testi-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.lp-testi-video{ aspect-ratio:16/10; background:var(--gradient-green); display:grid; place-items:center; position:relative; }
.lp-play{ width:56px; height:56px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; color:var(--emerald); font-size:20px; box-shadow:var(--shadow-soft); }
.lp-testi-body{ padding:22px; }
.lp-testi-body p{ font-style:italic; color:var(--ink); margin-bottom:14px; }
.lp-testi-who{ display:flex; align-items:center; gap:10px; }
.lp-testi-who .av{ width:38px; height:38px; border-radius:50%; background:var(--gradient-gold); }
.lp-testi-who b{ font-size:14px; } .lp-testi-who small{ display:block; color:var(--muted); font-size:12px; }

/* ── CTA bands ──────────────────────────────────────────── */
.lp-band{ text-align:center; padding:70px 0; }
.lp-band--30{ background:var(--gradient-soft); }
.lp-band--data{ background:var(--card); }
.lp-band h2{ margin-bottom:14px; }
.lp-band p{ color:var(--muted); font-size:17px; max-width:560px; margin:0 auto 26px; }
.lp-final{ background:var(--gradient-green); color:#fff; text-align:center; padding:92px 0; }
.lp-final h2{ color:#fff; font-size:clamp(30px,4vw,48px); margin-bottom:16px; }
.lp-final p{ color:rgba(255,255,255,.82); font-size:19px; max-width:560px; margin:0 auto 30px; }

/* ── Pricing ────────────────────────────────────────────── */
.lp-pricing{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; }
.lp-price{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius-xl); padding:34px 28px; }
.lp-price.featured{ border-color:var(--gold); box-shadow:var(--shadow-gold); position:relative; }
.lp-price-badge{ position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--gradient-gold); color:#3a2c00; font-size:11px; font-weight:800; letter-spacing:1px; text-transform:uppercase; padding:5px 14px; border-radius:var(--radius-pill); }
.lp-price h3{ font-family:var(--font-body); font-weight:700; font-size:20px; color:var(--ink); }
.lp-price .amt{ font-family:var(--font-display); font-size:42px; font-weight:700; color:var(--emerald-deep); margin:10px 0 4px; }
.lp-price .amt small{ font-size:15px; color:var(--muted); font-weight:400; }
.lp-price ul{ list-style:none; margin:20px 0 24px; }
.lp-price li{ padding:8px 0; font-size:14.5px; color:var(--ink); display:flex; gap:9px; }
.lp-price li::before{ content:"✓"; color:var(--emerald); font-weight:800; }
.lp-price .btn{ width:100%; }

/* ── FAQ ────────────────────────────────────────────────── */
.lp-faq{ max-width:760px; margin:0 auto; }
.lp-faq-item{ border:1px solid var(--line); border-radius:var(--radius); background:var(--card); margin-bottom:12px; overflow:hidden; }
.lp-faq-q{ width:100%; text-align:left; background:none; border:none; padding:20px 22px; font-size:16px; font-weight:600; color:var(--ink); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; font-family:var(--font-body); }
.lp-faq-q .ic{ color:var(--gold-dark); transition:var(--transition-smooth); flex-shrink:0; }
.lp-faq-item.open .lp-faq-q .ic{ transform:rotate(45deg); }
.lp-faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.lp-faq-a p{ padding:0 22px 20px; color:var(--muted); font-size:15px; }
.lp-faq-item.open .lp-faq-a{ max-height:300px; }

/* ── Footer ─────────────────────────────────────────────── */
.lp-foot{ background:var(--emerald-deep); color:rgba(255,255,255,.75); padding:60px 0 26px; }
.lp-foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:30px; margin-bottom:40px; }
.lp-foot h4{ color:#fff; font-size:14px; margin-bottom:14px; font-family:var(--font-body); letter-spacing:.5px; }
.lp-foot a{ display:block; padding:5px 0; font-size:14px; color:rgba(255,255,255,.72); }
.lp-foot a:hover{ color:var(--gold); }
.lp-foot-brand .lp-logo{ color:#fff; }
.lp-foot-brand p{ margin-top:12px; font-size:14px; max-width:280px; }
.lp-foot-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width:980px){
  .lp-hero-grid{ grid-template-columns:1fr; } .lp-mock{ order:-1; }
  .lp-grid-3,.lp-grid-4,.lp-grid-5,.lp-metrics,.lp-testi,.lp-pricing,.lp-why,.lp-foot-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px){
  .lp-nav{ flex-wrap:wrap; height:auto; min-height:70px; padding:10px 0; }
  .lp-navlinks, .lp-actions{ display:none; }
  .lp-burger{ display:block; }
  .lp-navlinks.open, .lp-actions.open{ display:flex; flex-direction:column; align-items:stretch; width:100%; gap:6px; margin:6px 0 0; }
  .lp-navlinks.open{ order:3; margin-left:0; }
  .lp-actions.open{ order:4; }
  .lp-navlinks.open > li > a{ padding:11px 12px; }
  .lp-navlinks.open .lp-dd{ display:block; position:static; box-shadow:none; border:none; padding:2px 0 6px 14px; min-width:0; }
}
@media (max-width:620px){
  .lp-grid-3,.lp-grid-4,.lp-grid-5,.lp-metrics,.lp-testi,.lp-pricing,.lp-why,.lp-foot-grid{ grid-template-columns:1fr; }
  .lp-sec{ padding:54px 0; } .lp-hero{ padding:48px 0 60px; }
}

/* ── RTL (Arabic) ───────────────────────────── */
html[dir="rtl"] .lp h1, html[dir="rtl"] .lp h2, html[dir="rtl"] .lp h3,
html[dir="rtl"] .lp-logo, html[dir="rtl"] .lp-metric .n, html[dir="rtl"] .lp-price .amt,
html[dir="rtl"] .font-display { font-family:'Tajawal','Inter',sans-serif; letter-spacing:0; }
html[dir="rtl"] .lp-eyebrow, html[dir="rtl"] .lp-trustband small,
html[dir="rtl"] .lp-info-item h4 { letter-spacing:0; text-transform:none; }
html[dir="rtl"] .lp-navlinks{ margin-left:0; margin-right:18px; }
html[dir="rtl"] .lp-lang{ margin-left:0; margin-right:auto; }
html[dir="rtl"] .lp-actions{ margin-left:0; margin-right:10px; }
html[dir="rtl"] .lp-dd{ right:auto; left:0; }
html[dir="rtl"] .lp-dd a small{ }
html[dir="rtl"] .lp-foot-bottom{ direction:rtl; }
@media (max-width:900px){
  html[dir="rtl"] .lp-lang{ margin-right:auto; }
  html[dir="rtl"] .lp-navlinks.open .lp-dd{ padding:2px 14px 6px 0; }
}
