/* ─── SEO Landing: Character AI en français ─── */

/* ─── Hero ─── */
.seo-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.seo-hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(24px);
    animation: slideUp 0.7s ease 0.2s forwards;
}

.seo-hero-title {
    font-size: clamp(2.2em, 5vw, 4em);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.seo-hero-title em {
    color: var(--accent);
    font-style: normal;
}

.seo-hero-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1em, 1.6vw, 1.15em);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.seo-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Pain points ─── */
.seo-painpoints {
    padding: 100px 40px;
    text-align: center;
}

.seo-painpoints .section-subtitle {
    margin: 12px auto 48px;
    text-align: center;
}

.seo-painpoints-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.seo-painpoint-card {
    background: var(--panel);
    border: 1px solid var(--border-faint);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.seo-painpoint-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}

.seo-painpoint-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 16px;
}

.seo-painpoint-card h3 {
    color: var(--text);
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 10px;
}

.seo-painpoint-card p {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.6;
}

/* ─── How it works ─── */
.seo-how {
    padding: 100px 40px;
    background: var(--bg-surface);
}

.seo-how .section-title {
    text-align: center;
}

.seo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 48px auto 0;
}

.seo-step {
    text-align: center;
    padding: 32px 24px;
}

.seo-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-bg);
    border: 2px solid var(--accent-border);
    color: var(--accent);
    font-size: 1.2em;
    font-weight: 800;
    margin-bottom: 20px;
}

.seo-step h3 {
    color: var(--text);
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
}

.seo-step p {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.6;
}

/* ─── Characters (reuses carousel from landing.css) ─── */
.seo-characters {
    padding: 100px 40px;
    text-align: center;
}

.seo-characters .section-subtitle {
    margin: 12px auto 48px;
    text-align: center;
}

/* ─── Comparison table ─── */
.seo-compare {
    padding: 100px 40px;
    background: var(--bg-surface);
}

.seo-compare .section-title {
    text-align: center;
}

.seo-compare-table-wrap {
    max-width: 800px;
    margin: 48px auto 0;
    overflow-x: auto;
}

.seo-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.seo-compare-table th,
.seo-compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-faint);
}

.seo-compare-table thead th {
    font-weight: 700;
    color: var(--text);
    font-size: 1.05em;
    border-bottom: 2px solid var(--border);
}

.seo-compare-table thead th:nth-child(2) {
    color: var(--accent);
}

.seo-compare-table td:first-child {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.seo-yes {
    color: var(--accent);
}

.seo-no {
    color: var(--text-muted);
}

/* ─── FAQ ─── */
.seo-faq {
    padding: 100px 40px;
}

.seo-faq .section-title {
    text-align: center;
}

.seo-faq-list {
    max-width: 750px;
    margin: 48px auto 0;
}

.seo-faq-item {
    border-bottom: 1px solid var(--border-faint);
    padding: 28px 0;
}

.seo-faq-item:first-child {
    border-top: 1px solid var(--border-faint);
}

.seo-faq-item h3 {
    color: var(--text);
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 12px;
}

.seo-faq-item p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

/* fade-in-section and @keyframes slideUp are in landing.css */

@media (prefers-reduced-motion: reduce) {
    .seo-hero-content {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .seo-painpoints-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
    .seo-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .seo-painpoints,
    .seo-how,
    .seo-characters,
    .seo-compare,
    .seo-faq {
        padding: 60px 24px;
    }
}

@media (max-width: 600px) {
    .seo-hero { min-height: 60vh; padding: 100px 20px 60px; }
    .seo-hero-actions { flex-direction: column; align-items: center; }
    .seo-hero-actions .btn-hero { width: 100%; max-width: 300px; }
    .seo-painpoints-grid { grid-template-columns: 1fr; max-width: 400px; }
    .seo-compare-table th,
    .seo-compare-table td { padding: 12px 14px; font-size: 0.88em; }
}
