/*
 * Styles partagés par les pages de destination SEO (comparatifs, alternatives,
 * page mini-jeu). Ces pages utilisent templates/public_header.php et n'ont donc
 * pas besoin de redéclarer la navigation ni le pied de page.
 */

.seo-page {
    /* Palette officielle : brand/brandos/01-brand/03-colors.md */
    --seo-nuit: #0E1627;
    --seo-surface: #18243A;
    --seo-cyan: #00D8FF;
    --seo-or: #D7A43C;
    --seo-text: #F5F7FA;
    --seo-muted: rgba(245, 247, 250, 0.66);
    --seo-card: rgba(24, 36, 58, 0.72);
    --seo-border: rgba(0, 216, 255, 0.18);

    /* Typographie officielle : brand/brandos/01-brand/04-typography.md
       Titres Sora ExtraBold, sous-titres Manrope SemiBold, texte courant Inter. */
    font-family: 'Inter', 'Source Sans Pro', sans-serif;
    color: var(--seo-text);
    line-height: 1.8;
}

.seo-page h1,
.seo-page h2 {
    font-family: 'Sora', 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--seo-text);
    line-height: 1.25;
}

.seo-page h3 {
    font-family: 'Manrope', 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--seo-text);
    line-height: 1.3;
}

.seo-page h1 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    background: linear-gradient(90deg, var(--seo-cyan), var(--seo-or));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-page h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.seo-page h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.seo-page p {
    color: var(--seo-text);
    margin-bottom: 1.15rem;
}

.seo-page .seo-lead {
    font-size: 1.15rem;
    color: var(--seo-muted);
}

.seo-page a {
    color: var(--seo-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-page a:hover {
    color: #6FE8FF;
}

/* Cartes et encadrés */
.seo-card {
    background: var(--seo-card);
    border: 1px solid var(--seo-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.seo-callout {
    background: rgba(0, 216, 255, 0.10);
    border-left: 4px solid var(--seo-cyan);
    border-radius: 0 12px 12px 0;
    padding: 1.15rem 1.35rem;
    margin: 2rem 0;
}

.seo-callout--nuance {
    background: rgba(215, 164, 60, 0.12);
    border-left-color: var(--seo-or);
}

/* Tableau comparatif : défile horizontalement sur mobile plutôt que de
   déborder de la page. */
.seo-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid var(--seo-border);
}

.seo-table {
    width: 100%;
    min-width: 640px;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.seo-table th,
.seo-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--seo-border);
    text-align: left;
    vertical-align: top;
}

.seo-table thead th {
    background: rgba(14, 22, 39, 0.9);
    color: var(--seo-text);
    font-weight: 700;
    white-space: nowrap;
}

.seo-table tbody tr:last-child td {
    border-bottom: none;
}

.seo-table .is-footland {
    background: rgba(0, 216, 255, 0.09);
}

/* Appel à l'action */
.seo-cta {
    background: linear-gradient(135deg, rgba(0, 216, 255, 0.14), rgba(215, 164, 60, 0.14));
    border: 1px solid var(--seo-border);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    margin: 3rem 0 1rem;
}

.seo-cta .btn {
    font-family: 'Manrope', 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 99px;
    padding: 0.75rem 2rem;
}

/* Deux chemins d'entrée : la partie immédiate et la création classique. */
.seo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.seo-btn-express {
    background: var(--seo-cyan);
    border: 1px solid var(--seo-cyan);
    color: #0E1627;
}

.seo-btn-express:hover:not(:disabled) {
    background: #6FE8FF;
    border-color: #6FE8FF;
    color: #0E1627;
}

.seo-btn-express:disabled {
    opacity: 0.7;
    cursor: progress;
}

.seo-btn-classique {
    background: transparent;
    border: 1px solid var(--seo-or);
    color: var(--seo-or);
}

.seo-btn-classique:hover {
    background: rgba(215, 164, 60, 0.14);
    color: var(--seo-or);
}

.seo-cta-note {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--seo-muted);
}

/* FAQ */
.seo-faq dt {
    font-weight: 700;
    color: var(--seo-text);
    margin-top: 1.5rem;
}

.seo-faq dd {
    margin-left: 0;
    color: var(--seo-muted);
}

/* Liens vers les autres pages du même univers */
.seo-related {
    border-top: 1px solid var(--seo-border);
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.seo-related ul {
    list-style: none;
    padding-left: 0;
}

.seo-related li {
    margin-bottom: 0.5rem;
}
