/* ===================================================================
   Lisan — site vitrine. Identité : crème doré + dégradé de marque
   (corail → magenta → violet → or), croissant, ambiance spirituelle.
   =================================================================== */

:root {
    /* Marque */
    --coral:   #FF7A8A;
    --magenta: #E0479E;
    --violet:  #8A4DFF;
    --gold:    #FFB347;
    --teal:    #2DD4BF;
    --gradient-brand: linear-gradient(120deg, #FF7A8A 0%, #E0479E 35%, #8A4DFF 70%, #FFB347 100%);
    --gradient-warm:  linear-gradient(120deg, #FF7A8A 0%, #8A4DFF 60%, #FFB347 100%);

    /* Fond / texte */
    --bg:        #FBF7EF;   /* crème */
    --bg-card:   #FFFFFF;
    --bg-soft:   #F4EEE2;
    --night:     #1A1B3A;   /* bleu nuit (sections immersives) */
    --title:     #241B43;
    --text:      #5B556B;
    --muted:     #938CA6;
    --border:    #ECE5D8;

    --radius:    22px;
    --radius-sm: 14px;
    --shadow:    0 18px 50px rgba(36, 27, 67, 0.10);
    --shadow-sm: 0 8px 24px rgba(36, 27, 67, 0.08);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); color: var(--title); line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 100px;
    font-weight: 700; font-size: 1rem; cursor: pointer;
    border: none; transition: transform .2s, box-shadow .2s;
}
.btn-primary {
    background: var(--gradient-warm); color: #fff;
    box-shadow: 0 12px 30px rgba(138, 77, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(138, 77, 255, 0.42); }
.btn-light { background: #fff; color: var(--title); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251, 247, 239, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 38px; height: 38px; }
.nav-brand span { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--title); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; color: var(--text); font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--violet); }
.nav-cta { padding: 11px 22px !important; font-size: .9rem !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--title); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(60% 50% at 85% 8%, rgba(255, 179, 71, 0.18), transparent 60%),
      radial-gradient(50% 45% at 10% 30%, rgba(138, 77, 255, 0.12), transparent 60%);
    pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--border);
    padding: 8px 16px; border-radius: 100px; font-weight: 600; font-size: .85rem;
    color: var(--violet); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 { margin-bottom: 18px; }
.hero p.lead { font-size: 1.18rem; color: var(--text); margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 36px; margin-top: 42px; }
.hero-stat .num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--title); }
.hero-stat .label { font-size: .9rem; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img {
    width: 300px; border-radius: 42px;
    box-shadow: 0 40px 80px rgba(36, 27, 67, 0.28);
    transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
}
.hero-crescent { position: absolute; top: -10px; right: 8%; font-size: 3rem; }

/* App Store badge (SVG inline) */
.appstore { display: inline-flex; align-items: center; gap: 12px;
    background: var(--title); color: #fff; padding: 13px 26px; border-radius: 14px; transition: transform .2s; }
.appstore:hover { transform: translateY(-2px); }
.appstore svg { width: 26px; height: 26px; fill: #fff; }
.appstore .small { font-size: .68rem; opacity: .85; display: block; line-height: 1; }
.appstore .big { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-tag {
    display: inline-block; background: var(--bg-soft); color: var(--violet);
    padding: 7px 16px; border-radius: 100px; font-weight: 700; font-size: .8rem;
    letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head p { font-size: 1.1rem; color: var(--text); margin-top: 14px; }

/* ---------- Screenshots ---------- */
.shots { background: var(--bg-soft); }
.shots-row {
    display: flex; gap: 24px; overflow-x: auto; padding: 10px 4px 24px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shots-row::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: 240px; scroll-snap-align: center; text-align: center; }
.shot img { width: 100%; border-radius: 30px; box-shadow: var(--shadow); }
.shot span { display: block; margin-top: 14px; font-weight: 600; color: var(--text); font-size: .95rem; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.6rem; margin-bottom: 18px; color: #fff;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: .98rem; color: var(--text); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; }
.step-num {
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    margin: 0 auto 18px; font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
    color: #fff; background: var(--gradient-warm); box-shadow: 0 10px 26px rgba(138,77,255,.3);
}
.step h3 { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px 26px; }
.faq-item h3 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--title); margin-bottom: 8px; }
.faq-item p { font-size: .95rem; }

/* ---------- CTA finale ---------- */
.cta-final { background: var(--night); color: #fff; text-align: center; border-radius: 36px; padding: 70px 30px; position: relative; overflow: hidden; }
.cta-final::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 80% at 50% 0%, rgba(138,77,255,.45), transparent 70%);
}
.cta-final-inner { position: relative; }
.cta-final h2 { color: #fff; margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.8); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.7); padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: var(--font); font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255,255,255,.65); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Pages légales ---------- */
.legal { padding: 60px 0 80px; }
.legal-wrap { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 48px clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-family: var(--font); font-size: 1.3rem; font-weight: 700; color: var(--title); margin: 32px 0 12px; }
.legal p, .legal li { font-size: 1rem; color: var(--text); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--violet); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet); font-weight: 600; margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .hero-visual img { transform: none; }
    .steps { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
}
@media (max-width: 520px) {
    .hero-stats { gap: 22px; }
    .footer-top { grid-template-columns: 1fr; }
}
