﻿/* ===== LAYOUT ===== */
.debat-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text);
}

/* ===== HEADER ===== */
.debat-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.3rem 0.9rem;
    background: #ffd4a4;
    border: 2px solid #8b4513;
    border-radius: 10px;
}

.debat-soustitre {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a3a1a;
}

.debat-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ===== BLOC QUESTION ===== */
.debat-question-bloc {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: #ffd4a4;
    border: 2px solid #8b4513;
    border-radius: 10px;
    text-align: center;
}

.debat-question {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: #4a3018;
    max-width: 620px;
    margin: 0 auto;
}

/* ===== ECHANGES (cartes) ===== */
.debat-echanges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.echange-carte {
    background: #e1c7a7;
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary);
}

    .echange-carte.voix-b {
        border-left-color: var(--secondary);
    }

.echange-theme {
    display: inline-block;
    background: rgba(139, 69, 19, 0.1);
    color: #5a3a1a;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.7rem;
}

.echange-synthese {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #222;
    margin: 0;
}

/* ===== POINT D'ARRIVEE (note conclusive) ===== */
.debat-conclusion {
    background: #fff6ea;
    border: 1px dashed #8b4513;
    border-radius: 8px;
    padding: 0.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.debat-conclusion-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a3a1a;
    display: block;
    margin-bottom: 0.3rem;
}

.debat-conclusion p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: #4a3018;
    margin: 0;
}

/* ===== ETATS ===== */
.debat-chargement,
.debat-erreur {
    text-align: center;
    font-style: italic;
    color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .debat-page {
        padding: 1rem;
    }

    .debat-header,
    .debat-question-bloc {
        padding: 1rem;
    }

    .debat-echanges {
        grid-template-columns: 1fr;
    }
}
