/* --- VARIABLES GLOBALES --- */
:root {
    --primary-red: #cc0000; /* Rouge CINÉOCC */
    --dark-bg: #0e0e0e; /* Noir profond du cinéma */
    --dark-bg-alt: #1a1a1a; /* Gris très foncé pour contraste des sections */
    --text-light: #f0f0f0;
    --text-grey: #ccc;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

/* -------------------------------------- */
/* --- STYLES GÉNÉRAUX DE LA PAGE MÉCÉNAT --- */
/* -------------------------------------- */

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-secondary);
    line-height: 1.6;
    margin: 0;
}

.text-red {
    color: var(--primary-red) !important;
}

.section-dark {
    background-color: var(--dark-bg);
    padding: 80px 20px;
}

.section-dark-alt {
    background-color: var(--dark-bg-alt);
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

.lead-text-intro {
    font-size: 1.4rem;
    color: var(--text-grey);
    max-width: 900px;
    margin: 0 auto 50px;
    font-family: var(--font-secondary);
}

.lead-text-small {
    font-size: 1rem;
    color: #aaa; 
}

/* --- BOUTONS (BTN) --- */
.btn {
    padding: 12px 25px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-primary);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-red {
    background-color: var(--primary-red);
    color: #fff;
    border: 2px solid var(--primary-red);
}

.btn-red:hover {
    background-color: #ff3333;
    border-color: #ff3333;
}

.btn-red-outline {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-red-outline:hover {
    background-color: var(--primary-red);
    color: #fff;
}


/* -------------------------------------- */
/* --- NOUVEAU : HEADER & NAV (Style index.html) --- */
/* -------------------------------------- */
.navbar {
    background-color: var(--dark-bg);
    padding: 15px 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif; /* Police moderne et géométrique */
    font-weight: 900; /* Le plus gras possible (Black) */
    font-size: 2.2rem; /* Taille augmentée pour correspondre à l'image */
    letter-spacing: -1px; /* Resserre légèrement les lettres pour l'effet "bloc" */
    color: #D9381E; /* La couleur rouge-orange exacte de votre capture */
    text-transform: uppercase;
    line-height: 1;
    /* Ombre portée subtile pour détacher du fond si nécessaire, comme sur l'image */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}

.logo-accent {
    color: #D9381E;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li a {
    color: var(--text-grey);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.2s;
    font-family: var(--font-secondary);
}

.nav-links li a:hover {
    color: var(--primary-red);
}

.btn-red-nav {
    /* Style spécifique pour le bouton dans la nav */
    font-family: var(--font-primary);
    padding: 10px 20px;
    background-color: var(--primary-red);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 3px;
    transition: background-color 0.3s;
}

/* --- HERO SECTION (Vidéo Background) --- */
.hero {
    position: relative;
    height: 70vh; /* Hauteur réduite pour laisser de l'espace aux sections */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Overlay sombre pour lisibilité */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 900px;
    padding: 20px;
}

.subtitle-red {
    color: var(--primary-red);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    font-family: var(--font-primary);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0 20px;
    font-family: var(--font-primary);
}

.lead-text-intro-hero {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin-bottom: 30px;
    font-family: var(--font-secondary);
}


/* -------------------------------------- */
/* --- SECTION 1 : AVANTAGES FISCAUX --- */
/* -------------------------------------- */
.intro-section-footer {
    padding: 40px 20px 80px;
}

.advantages-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}
.advantage-block { max-width: 300px; text-align: center; }
.advantage-block i { font-size: 2.5rem; margin-bottom: 15px; }
.advantage-block h3 { font-size: 1.2rem; font-weight: bold; color: #fff; margin-bottom: 10px; }
.advantage-block p { color: var(--text-grey); font-size: 0.95rem; }

/* -------------------------------------- */
/* --- SECTION 2 : NIVEAUX DE MÉCÉNAT (CARTES) --- */
/* --- MAINTIEN : 2 COLONNES (Grid) --- */
/* -------------------------------------- */

.levels-section { padding-top: 50px; }
.levels-grid {
    display: grid;
    /* 2 colonnes par défaut sur les grands écrans */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px; 
}
.level-card {
    background: var(--dark-bg);
    padding: 40px 30px; 
    border-radius: 5px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}
/* Styles des cartes (inchangés) */
.level-card:hover { transform: translateY(-5px); border-color: var(--primary-red); box-shadow: 0 5px 20px rgba(204, 0, 0, 0.2); }
.featured-level { box-shadow: 0 0 30px rgba(204, 0, 0, 0.5); border: 2px solid var(--primary-red); }
.level-icon { font-size: 3rem; margin-bottom: 15px; line-height: 1; }
.level-title { font-size: 1.6rem; margin-bottom: 8px; color: #fff; font-weight: bold; }
.impact-text, .budget-text { font-size: 0.9rem; color: #aaa; margin: 5px 0; }
.budget-text { font-weight: bold; font-size: 1rem; margin-bottom: 20px; }
.level-card hr { border-color: #222; margin: 15px 0; }
.level-card ul { list-style: none; padding: 0; margin-bottom: 25px; text-align: left; flex-grow: 1; font-size: 0.9rem; }
.level-card ul li { color: var(--text-grey); margin-bottom: 5px; }
.level-card ul li .fa-check, .level-card ul li .fa-plus { color: var(--primary-red); margin-right: 8px; font-size: 0.8rem; }


/* -------------------------------------- */
/* --- SECTION 3 : CATALOGUE (TABLES) --- */
/* --- MAINTIEN : 2 COLONNES (Grid) --- */
/* -------------------------------------- */
.catalogue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.catalogue-block { margin-bottom: 30px; }
.catalogue-block h3 {
    font-size: 1.6rem; 
    color: #fff;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}
/* Styles des tables (inchangés) */
.catalogue-block .block-subtitle { font-style: italic; color: #aaa; margin-bottom: 25px; }
.catalogue-block table { width: 100%; border-collapse: collapse; background: #1a1a1a; border: 1px solid #333; }
.catalogue-block th, .catalogue-block td { padding: 15px; text-align: left; border-bottom: 1px solid #333; color: #fff; font-size: 0.95rem; }
.catalogue-block th { background-color: #2a2a2a; font-weight: bold; color: var(--primary-red); }
.catalogue-block tbody tr:hover { background-color: #222; }
.catalogue-block .valorisation { color: var(--primary-red); font-weight: bold; width: 150px; text-align: center; }


/* -------------------------------------- */
/* --- AUTRES SECTIONS (Timeline, Packages, FAQ) --- */
/* -------------------------------------- */
.timeline-section { padding: 80px 20px; background-color: var(--dark-bg); }
.timeline-roadmap { position: relative; max-width: 1000px; margin: 0 auto; padding-top: 20px; }
.timeline-roadmap::after { content: ''; position: absolute; width: 2px; background-color: #333; top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 10px 0; position: relative; width: 50%; }
.timeline-item.left { left: 0; padding-right: 50px; text-align: right; }
.timeline-item.right { left: 50%; padding-left: 50px; text-align: left; }
.timeline-dot { position: absolute; width: 14px; height: 14px; background-color: var(--primary-red); border: 2px solid #0e0e0e; top: 30px; border-radius: 50%; z-index: 1; }
.timeline-item.left .timeline-dot { right: -7px; }
.timeline-item.right .timeline-dot { left: -7px; }
.timeline-content { background: var(--dark-bg-alt); padding: 25px; border-radius: 5px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); border-left: 3px solid var(--primary-red); }
.timeline-item.left .timeline-content { border-right: 3px solid var(--primary-red); border-left: none; }
.timeline-content h3 { font-size: 1.5rem; margin-bottom: 5px; color: #fff; }
.timeline-subtitle { font-style: italic; color: var(--text-grey); font-size: 0.95rem; margin-bottom: 15px; }
.timeline-content ul { list-style: none; padding: 0; margin: 0; }
.timeline-content ul li { color: var(--text-grey); margin-bottom: 5px; font-size: 0.9rem; }
.timeline-content ul li i { color: var(--primary-red); margin-right: 8px; }

.packages-section { background-color: var(--dark-bg-alt); }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.package-card { background: var(--dark-bg); padding: 25px; border-radius: 5px; border-left: 5px solid var(--primary-red); }
.package-card h4 { color: #fff; font-size: 1.3rem; margin-bottom: 5px; font-weight: 500; }
.package-ideal { color: #aaa; font-style: italic; font-size: 0.9rem; margin-bottom: 10px; }
.package-level { font-weight: bold; margin-bottom: 15px; }
.package-card ul { list-style: none; padding-left: 0; }
.package-card ul li { color: var(--text-grey); font-size: 0.95rem; margin-bottom: 8px; border-left: 2px solid #333; padding-left: 10px; }
.section-subtitle-red { font-size: 1.5rem; color: #fff; font-weight: 500; }
.hr-red { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(255, 255, 255, 0), var(--primary-red), rgba(255, 255, 255, 0)); margin: 60px 0; }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--dark-bg-alt); border: 1px solid #333; margin-bottom: 15px; border-radius: 5px; overflow: hidden; transition: all 0.3s ease; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px; cursor: pointer; border-left: 5px solid transparent; transition: all 0.2s; }
.faq-item.active .faq-question { background-color: #252525; border-left-color: var(--primary-red); }
.faq-question h4 { color: #fff; font-size: 1.1rem; margin: 0; font-weight: 500; }
.faq-question .icon { color: var(--primary-red); transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 20px; transition: max-height 0.3s ease-in-out; }
.faq-answer p { padding: 15px 0 20px 0; margin: 0; color: var(--text-grey); font-size: 0.95rem; border-top: 1px solid #333; }
.contact-name { font-weight: 700; color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.contact-details, .contact-address { font-size: 1.1rem; color: var(--text-grey); margin: 5px 0; }


/* -------------------------------------- */
/* --- RESPONSIVE / MOBILE --- */
/* -------------------------------------- */
@media (max-width: 1050px) {
    /* Niveaux et Catalogue repassent à 1 colonne sur les écrans moins larges */
    .levels-grid, .catalogue-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero { height: 60vh; }
    .hero-content h1 { font-size: 2.5rem; }
    .lead-text-intro-hero { font-size: 1.1rem; }
    .advantages-grid { flex-direction: column; gap: 20px; }
    
    /* Responsive Navigation */
    .nav-content-wrapper { flex-direction: column; }
    .nav-links { margin-top: 15px; }
    .nav-links li { margin: 5px 0; }
    .nav-links li a { margin: 0 10px; }
    .btn-red-nav { margin-top: 10px; }
    
    /* Timeline Mobile */
    .timeline-roadmap::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; left: 0; text-align: left; }
    .timeline-item.left, .timeline-item.right { padding-left: 50px; padding-right: 0; left: 0; }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 13px; right: auto; }
    .timeline-item.left .timeline-content { border-left: 3px solid var(--primary-red); border-right: none; }

    .catalogue-block th:nth-child(3), 
    .catalogue-block td:nth-child(3) {
        /* Masquer la colonne Description sur mobile pour les tables */
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
}