/* =========================================
   1. STYLES GLOBAUX
========================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* =========================================
   2. EN-TÊTE (HEADER & NAVIGATION)
========================================= */
header {
    background-color: #2b2b2b;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin: 0 0 25px 0;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #ffffff;
}

/* =========================================
   3. BOUTONS GLOBAUX
========================================= */
.footer-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    background-color: #3b465e;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background 0.3s;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: #2c3547;
}

/* =========================================
   4. PAGE D'ACCUEIL (index.html)
========================================= */
.hero-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.col {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.col h2 {
    color: #4a2384; 
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.col p {
    font-size: 0.85em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.col img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 2px;
}

.debate-crucial {
    margin-bottom: 60px;
}

.debate-crucial > h2 {
    color: #4a2384;
    text-align: center;
    font-size: 1.4em;
    margin-bottom: 40px;
}

.debate-crucial h3 {
    color: #2b2b2b;
    font-size: 1em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.debate-crucial p, .debate-crucial li {
    font-size: 0.9em;
    line-height: 1.6;
    color: #444;
}

.debate-crucial ul {
    padding-left: 20px;
}

.debate-crucial li {
    margin-bottom: 15px;
}

.video-section {
    text-align: center;
    margin-bottom: 50px;
    background-color: #f2f2f2;
    padding: 40px 20px;
    border-radius: 8px;
}

.video-section iframe {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================================
   5. PAGE "QUI SOMMES NOUS"
========================================= */
.team-intro {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
}

.team-intro h2 {
    color: #3b465e;
    font-size: 2em;
    margin-bottom: 10px;
}

.team-intro > p {
    color: #777;
    font-size: 0.9em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-intro h3 {
    color: #3b465e;
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.team-intro .role {
    color: #888;
    font-size: 0.85em;
    margin: 0;
}

.about-split {
    display: flex;
    flex-wrap: wrap;
    background-color: #f4f5f7;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    color: #3b465e;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.about-text p, .about-text li {
    color: #555;
    font-size: 0.9em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-text ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.about-text .btn {
    align-self: flex-start;
    margin-top: 10px;
}

.text-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.text-section.bg-grey {
    background-color: #f9f9f9;
}

.text-container {
    max-width: 1000px;
    margin: 0 auto;
}

.text-container h2 {
    color: #3b465e;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.text-container p, .text-container li {
    color: #444;
    font-size: 0.95em;
    line-height: 1.8;
    margin-bottom: 20px;
}

footer {
    background-color: #f4f5f7;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 80px;
    border-top: 1px solid #e0e0e0;
}

.footer-item {
    text-align: center;
    color: #3b465e;
}

.footer-icon {
    font-size: 1.5em;
    background-color: #3b465e;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 10px auto;
}

.footer-item p {
    margin: 5px 0;
    font-weight: bold;
    font-size: 0.9em;
}

.footer-item a {
    color: #555;
    text-decoration: none;
    font-size: 0.85em;
}

.footer-item a:hover {
    text-decoration: underline;
}

/* =========================================
   6. PAGE "LE DÉBAT"
========================================= */
.debat-intro {
    text-align: center;
    font-style: italic;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    line-height: 1.6;
}

.debat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; 
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .debat-grid {
        grid-template-columns: 1fr;
    }
}

.title-pour {
    color: #27ae60;
    font-size: 1.3em;
    border-bottom: 3px solid #27ae60;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.title-contre {
    color: #e74c3c;
    font-size: 1.3em;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

details.argument-box {
    background-color: #ffffff;
    border: 2px solid #eaeaea; 
    border-radius: 12px; 
    margin-bottom: 30px; 
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    transition: all 0.3s ease;
}

details.argument-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); 
    border-color: #d0d0d0;
}

details.argument-box summary {
    padding: 25px 30px; 
    cursor: pointer;
    font-weight: bold;
    color: #3b465e;
    background-color: #fcfcfc;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15em;
    line-height: 1.4;
}

details.argument-box summary::-webkit-details-marker {
    display: none; 
}

details.argument-box summary::after {
    content: "▼";
    font-size: 0.9em;
    color: #4a2384;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

details[open].argument-box summary {
    border-bottom: 2px solid #eaeaea; 
}

details[open].argument-box summary::after {
    transform: rotate(180deg);
}

.argument-content {
    padding: 30px; 
    background-color: #ffffff;
}

.argument-content p {
    margin-top: 0;
    font-size: 1em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.argument-content ul {
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 0;
}

.argument-content li {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.bilan-colonne {
    background-color: #f9f9f9;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 800px; 
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.bilan-colonne h2 {
    color: #3b465e;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.6em;
}

.bilan-colonne p {
    font-size: 1.05em;
    color: #444;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.bilan-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.bilan-buttons .btn {
    min-width: 250px;
    padding: 15px 25px; 
    font-size: 1em;
}

/* =========================================
   7. PAGE "VEILLE TECHNOLOGIQUE"
========================================= */
.veille-intro {
    background-color: #3b465e;
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 50px;
}

.veille-intro h2 {
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 20px;
}

.veille-intro p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #d1d8e0;
}

.methode-box {
    background-color: #ffffff;
    border-left: 6px solid #4a2384;
    padding: 30px 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
    margin-bottom: 60px;
}

.methode-box h3 {
    color: #3b465e;
    font-size: 1.5em;
    margin-top: 0;
}

.methode-box ul {
    color: #555;
    line-height: 1.8;
}

.methode-box li strong {
    color: #4a2384;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.source-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-top: 5px solid #27ae60; 
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.3s ease;
}

.source-card:hover {
    transform: translateY(-5px);
}

.source-card h4 {
    color: #3b465e;
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 15px;
}

.source-card p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.source-card a {
    display: inline-block;
    color: #4a2384;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9em;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.source-card a:hover {
    border-color: #4a2384;
}

.article-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border: 1px solid #eaeaea;
}

.article-image {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-content {
    flex: 2;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-tag {
    display: inline-block;
    background-color: #e8e2f2;
    color: #4a2384;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    align-self: flex-start;
    margin-bottom: 15px;
}

.article-content h3 {
    margin-top: 0;
    color: #3b465e;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.article-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================================
   8. PAGE "SOLUTIONS"
========================================= */
.solutions-intro {
    text-align: center;
    margin-bottom: 50px;
}

.solutions-intro h2 {
    color: #27ae60;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.solutions-intro p {
    color: #555;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.solution-card {
    background-color: #ffffff;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: #27ae60;
}

.solution-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.solution-card h3 {
    color: #3b465e;
    font-size: 1.4em;
    margin-bottom: 15px;
    margin-top: 0;
}

.solution-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.solution-card ul {
    text-align: left;
    color: #555;
    font-size: 0.9em;
    line-height: 1.6;
    padding-left: 20px;
}

.solution-card li {
    margin-bottom: 8px;
}

/* =========================================
   9. PAGE "SONDAGES" (QCM en onglets)
========================================= */
.sondages-intro {
    text-align: center;
    margin-bottom: 50px;
}

.sondages-intro h2 {
    color: #4a2384;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.sondages-intro p {
    color: #555;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Design des onglets géants pour les QCM */
details.qcm-details {
    background-color: #ffffff;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

details.qcm-details:hover {
    border-color: #d0d0d0;
}

details.qcm-details summary {
    padding: 30px 40px;
    font-size: 1.5em;
    font-weight: bold;
    color: #3b465e;
    background-color: #fcfcfc;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

details.qcm-details summary::-webkit-details-marker {
    display: none; 
}

details.qcm-details summary::after {
    content: "▼";
    font-size: 0.7em;
    color: #4a2384;
    transition: transform 0.3s ease;
}

details[open].qcm-details summary {
    border-bottom: 2px solid #eaeaea;
}

details[open].qcm-details summary::after {
    transform: rotate(180deg);
}

.qcm-content {
    padding: 40px;
}

.qcm-desc {
    color: #777;
    font-size: 1.05em;
    margin-bottom: 40px;
    font-style: italic;
    border-left: 4px solid #4a2384;
    padding-left: 15px;
}

/* Questions et réponses */
.question-bloc {
    margin-bottom: 40px;
}

.question-text {
    font-weight: bold;
    color: #2b2b2b;
    font-size: 1.15em;
    margin-bottom: 15px;
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 1em;
    color: #555;
}

.option-label:hover {
    background-color: #f1f1f1;
    border-color: #b0b0b0;
}

.option-label:has(input:checked) {
    background-color: #e8e2f2;
    border-color: #4a2384;
    color: #4a2384;
    font-weight: bold;
}

.option-label input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.3);
    accent-color: #4a2384;
}

.submit-bloc {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 60px;
}

.submit-bloc .btn {
    font-size: 1.2em;
    padding: 15px 50px;
}