/* ============================================
   PROJET.CSS
   Styles pour les pages du projet 
   (manifeste, équipe, histoire, etc.)
   ============================================ */

/* Page générale */
.manifeste-page {
    background: linear-gradient(to bottom, var(--clair) 0%, var(--blanc) 20%);
    min-height: 100vh;
    padding: 2rem 2rem 4rem;
}

.manifeste-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Hero du manifeste */
.manifeste-hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.manifeste-hero h1 {
    font-size: 3.5rem;
    color: var(--bleuFrance);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.manifeste-subtitle {
    font-size: 1.4rem;
    color: var(--sombre);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Résumé "En bref" */
.manifeste-tldr {
    background: linear-gradient(135deg, var(--bleuFrance) 0%, #000070 100%);
    color: var(--blanc);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 4rem;
    box-shadow: 0 8px 24px rgba(0,0,145,0.2);
}

.manifeste-tldr h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--blanc);
    font-weight: 700;
}

.tldr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tldr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tldr-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tldr-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.tldr-item strong {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

/* Sections du manifeste */
.manifeste-section {
    background: var(--blanc);
    padding: 3.5rem 3rem;
    margin-bottom: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.manifeste-section h2 {
    font-size: 2.2rem;
    color: var(--bleuFrance);
    margin-bottom: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid var(--bleuFrance);
    padding-bottom: 1rem;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bleuFrance);
    color: var(--blanc);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.section-intro {
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--sombre);
    margin-bottom: 1.5rem;
}

/* Blocs de contenu */
.content-block {
    margin-bottom: 3rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h3 {
    font-size: 1.7rem;
    color: var(--bleuFrance);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    font-weight: 700;
}

.content-block h4 {
    font-size: 1.3rem;
    color: var(--sombre);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--sombre);
    margin-bottom: 1.2rem;
}

/* Citations */
.citation-block {
    background: var(--clair);
    border-left: 5px solid var(--bleuFrance);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 0 6px 6px 0;
    position: relative;
}

.citation-block::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--bleuFrance);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.citation-block blockquote {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--sombre);
    font-style: italic;
    font-weight: 500;
}

.citation-block cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--bleuFrance);
    font-style: normal;
    font-weight: 700;
}

.citation-block.historical {
    background: linear-gradient(to right, #f8f9fa 0%, var(--clair) 100%);
    border-left-color: var(--rougeMariane);
}

.citation-block.historical::before {
    color: var(--rougeMariane);
}

.citation-block.final-quote {
    background: linear-gradient(135deg, #f0f4ff 0%, var(--clair) 100%);
    border-left: 5px solid var(--bleuFrance);
    text-align: center;
    padding: 3rem;
}

.citation-block.final-quote blockquote {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Boîtes d'information */
.info-box {
    background: #f0f4ff;
    border: 2px solid var(--bleuFrance);
    border-radius: 8px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.info-box h4 {
    color: var(--bleuFrance);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-top: 0;
}

.info-box p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box.highlight {
    background: linear-gradient(135deg, var(--bleuFrance) 0%, #000070 100%);
    color: var(--blanc);
    border: none;
}

.info-box.highlight h4 {
    color: var(--blanc);
}

.info-box.highlight p {
    color: var(--blanc);
}

/* Boîte de statistiques */
.stat-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--clair);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bleuFrance);
    margin-bottom: 1rem;
}

.stat-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sombre);
    margin: 0;
}

/* Listes stylisées */
.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.styled-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--sombre);
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
}

.styled-list li::before {
    content: "›";
    position: absolute;
    left: 0.5rem;
    color: var(--bleuFrance);
    font-weight: 700;
    font-size: 1.6rem;
}

.styled-list li strong {
    color: var(--bleuFrance);
    font-weight: 700;
}

/* Liste numérotée stylisée */
ol.styled-list {
    counter-reset: list-counter;
}

ol.styled-list li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    background: var(--bleuFrance);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

/* Liste "Ce que nous ne sommes pas" */
.not-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.not-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--clair);
    border-radius: 8px;
    border-left: 4px solid var(--rougeMariane);
}

.not-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.not-item h4 {
    color: var(--sombre);
    font-size: 1.2rem;
    margin: 0 0 0.8rem 0;
    font-weight: 700;
}

.not-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    color: var(--sombre);
}

/* Section CTA */
.cta-section {
    background: linear-gradient(to bottom right, #f0f4ff 0%, var(--blanc) 100%);
}

.cta-box {
    background: linear-gradient(135deg, var(--bleuFrance) 0%, #000070 100%);
    color: var(--blanc);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 24px rgba(0,0,145,0.2);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--blanc);
    font-weight: 700;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--blanc);
}

.btn-large {
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
    margin-top: 1rem;
}

.cta-note {
    font-size: 0.95rem;
    margin-top: 1rem;
    opacity: 0.9;
    color: var(--blanc);
}

/* Grille de ressources */
.resources-section {
    background: var(--clair);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.resource-card {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.resource-card:hover {
    border-color: var(--bleuFrance);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,145,0.15);
}

.resource-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-size: 1.3rem;
    color: var(--bleuFrance);
    margin-bottom: 1rem;
    font-weight: 700;
}

.resource-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sombre);
    margin: 0;
}

.resource-card a {
    color: var(--bleuFrance);
    text-decoration: underline;
    font-weight: 600;
}

.resource-card a:hover {
    color: #000070;
}

/* Liste de lectures */
.reading-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.reading-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--sombre);
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reading-list li::before {
    content: none;
}

.icon-livre {
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    fill: var(--bleuFrance);
}

.reading-list li strong {
    color: var(--bleuFrance);
    font-weight: 700;
}

.reading-list li em {
    font-style: italic;
}

.book-link {
    color: var(--bleuFrance);
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.book-link:hover {
    color: #000070;
    text-decoration: none;
}

.affiliate-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--neutre);
    border-radius: 4px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.affiliate-note em {
    font-style: italic;
}

/* Section conclusion */
.conclusion-section {
    background: linear-gradient(to bottom, var(--blanc) 0%, var(--clair) 100%);
    border: none;
}

.conclusion-box {
    text-align: center;
    padding: 2rem;
}

.signature {
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--sombre);
    font-style: italic;
}

.signature strong {
    color: var(--bleuFrance);
    font-weight: 700;
    font-style: normal;
}

.final-cta {
    background: var(--blanc);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
    border: 2px solid var(--bleuFrance);
}

.final-cta h3 {
    font-size: 2rem;
    color: var(--bleuFrance);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.final-cta p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--sombre);
    margin-bottom: 1.5rem;
}

/* Section contact */
.contact-section {
    background: var(--clair);
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.contact-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--sombre);
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
}

.contact-list li::before {
    content: "✉️";
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

.contact-list a {
    color: var(--bleuFrance);
    text-decoration: underline;
    font-weight: 600;
}

.contact-list a:hover {
    color: #000070;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .manifeste-hero h1 {
        font-size: 2.5rem;
    }

    .manifeste-subtitle {
        font-size: 1.2rem;
    }

    .manifeste-section {
        padding: 2.5rem 2rem;
    }

    .manifeste-section h2 {
        font-size: 1.8rem;
        flex-direction: column;
        text-align: center;
    }

    .section-number {
        margin-bottom: 1rem;
    }

    .tldr-grid {
        grid-template-columns: 1fr;
    }

    .citation-block {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }

    .citation-block blockquote {
        font-size: 1.1rem;
    }

    .stat-box {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .not-item {
        flex-direction: column;
        text-align: center;
    }

    .btn-large {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .manifeste-page {
        padding: 1.5rem 1rem 3rem;
    }

    .manifeste-hero {
        padding: 3rem 1rem;
    }

    .manifeste-hero h1 {
        font-size: 2rem;
    }

    .manifeste-subtitle {
        font-size: 1.1rem;
    }

    .manifeste-tldr {
        padding: 2rem 1.5rem;
    }

    .manifeste-section {
        padding: 2rem 1.5rem;
    }

    .manifeste-section h2 {
        font-size: 1.6rem;
    }

    .content-block h3 {
        font-size: 1.4rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .content-block p {
        font-size: 1rem;
    }

    .citation-block {
        padding: 1.5rem 1rem 1.5rem 1.5rem;
    }

    .citation-block blockquote {
        font-size: 1rem;
    }
}