/* ═══════════════════════════════════════════════════
   landing.css — Nemobilier
   ═══════════════════════════════════════════════════ */

/* ─── BASE LANDING ────────────────────────────────── */
.landing-body {
    background: var(--bg);
    font-family: 'DM Sans', sans-serif;
}

/* ─── NAVBAR ──────────────────────────────────────── */
.lnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.lnav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.lnav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.lnav__brand-icon {
    width: 34px;
    height: 34px;
    background: var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}

.lnav__links {
    display: flex;
    gap: 24px;
    flex: 1;
}

.lnav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .15s;
}

.lnav__links a:hover { color: var(--blue); }

.lnav__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* ─── SECTIONS LAYOUT ─────────────────────────────── */
.lsection {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.lsection--hero {
    padding-top: 140px;
    padding-bottom: 60px;
}

.lsection--alt {
    background: var(--white);
    max-width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lsection--alt .lsection__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hero__title {
    font-family: 'Sora', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 18px;
}

.hero__title em {
    color: var(--blue);
    font-style: normal;
}

.hero__subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero__note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__visual {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(26,58,92,0.12);
}

.hero__visual-bar {
    background: var(--blue-dark);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__visual-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.hero__visual-url {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-family: monospace;
}

.hero__visual-content {
    padding: 20px;
}

/* ─── PAIN POINTS ─────────────────────────────────── */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pain-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--blue);
}

.pain-card__icon {
    font-size: 24px;
    color: var(--blue);
    margin-bottom: 14px;
}

.pain-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.pain-card__text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ─── SECTION TITLE ───────────────────────────────── */
.lsection-title {
    text-align: center;
    margin-bottom: 48px;
}

.lsection-title h2 {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.lsection-title p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ─── DEMO ────────────────────────────────────────── */
.demo-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(26,58,92,0.10);
}

.demo-bar {
    background: var(--blue-dark);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-bar__dots {
    display: flex;
    gap: 5px;
}

.demo-bar__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.demo-bar__url {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-family: monospace;
}

.demo-bar__badge {
    background: rgba(234,179,8,0.2);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .04em;
}

.demo-sidebar {
    width: 200px;
    background: var(--blue-dark);
    flex-shrink: 0;
    padding: 16px 0;
}

.demo-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.demo-sidebar__icon {
    width: 26px;
    height: 26px;
    background: var(--blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

.demo-sidebar__fy {
    margin: 12px 10px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.demo-sidebar__fy strong {
    display: block;
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    margin-bottom: 2px;
}

.demo-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    border-radius: 0;
    transition: background .15s, color .15s;
    margin: 1px 8px;
    border-radius: 7px;
}

.demo-nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.demo-nav-item.active { background: rgba(255,255,255,0.12); color: #fff; }
.demo-nav-item i { width: 16px; text-align: center; font-size: 12px; }

.demo-main {
    flex: 1;
    background: var(--bg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.demo-header__title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.demo-header__user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.demo-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.demo-content {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    max-height: 420px;
}

.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* Mini stat cards dans la démo */
.demo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.demo-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
}

.demo-stat__icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-bottom: 8px;
}

.demo-stat__value {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.demo-stat__label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Mini table dans la démo */
.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.demo-table th {
    background: var(--bg);
    padding: 7px 10px;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.demo-table td {
    padding: 7px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.demo-table tr:last-child td { border-bottom: none; }
.demo-table tr.highlight td { background: var(--blue-light); }

.demo-result-box {
    margin-top: 12px;
    background: var(--blue-dark);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-result-box__label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.demo-result-box__value {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.demo-result-box__sub {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

/* ─── FEATURES ────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.feature-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 14px;
}

.feature-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.feature-card__text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ─── PRICING ─────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.pricing-card--pro {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.pricing-card__name {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-card__price {
    font-family: 'Sora', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin: 16px 0 4px;
}

.pricing-card__price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card__alt {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text);
}

.pricing-features li i {
    color: var(--green);
    font-size: 12px;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-features li.disabled i { color: var(--border); }

/* ─── CTA FINAL ───────────────────────────────────── */
.cta-section {
    background: var(--blue-dark);
    text-align: center;
    padding: 80px 24px;
}

.cta-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-section .btn--primary {
    background: #fff;
    color: var(--blue-dark);
    font-size: 15px;
    padding: 13px 28px;
}

.cta-section .btn--primary:hover {
    background: var(--blue-light);
}

.cta-reassurance {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-reassurance span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ─── FOOTER ──────────────────────────────────────── */
.lfooter {
    border-top: 1px solid var(--border);
    background: var(--white);
    padding: 40px 24px;
}

.lfooter__inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── FLOATING CTA ────────────────────────────────── */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .pain-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .demo-sidebar { display: none; }
    .demo-stats { grid-template-columns: repeat(2, 1fr); }
    .lnav__links { display: none; }
}

@media (max-width: 600px) {
    .hero__title { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .lnav__actions .btn--ghost { display: none; }
}

/* ─── À AJOUTER À LA FIN DE landing.css ──────────────────────────────────── */

/* ─── PAGES LÉGALES ───────────────────────────────── */
.legal-doc {
    max-width: 760px;
    line-height: 1.8;
    font-size: 15px;
    color: var(--text);
}

.legal-doc h2 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 36px 0 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text);
}

.legal-doc h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-doc h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 20px 0 8px;
    color: var(--text);
}

.legal-doc p {
    margin: 0 0 14px;
}

.legal-doc ul {
    margin: 0 0 14px;
    padding-left: 24px;
}

.legal-doc ul li {
    margin-bottom: 8px;
}

.legal-doc a {
    color: var(--blue);
    text-decoration: none;
}

.legal-doc a:hover {
    text-decoration: underline;
}