/* Variables de couleurs basées sur l'image A4 - 1.jpg */
:root {
    --navy: #152946;
    --gold: #c5a059;
    --light-gold: #fdf8ef;
    --text: #4a4a4a;
    --white: #ffffff;
    --gray-bg: #f9f9f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, blockquote {
    font-family: 'Playfair Display', serif;
    color: var(--navy);

}

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

/* Header */
header {
    background: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

header .container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 10px 20px;
}

nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* L'image du logo proprement dite */
.logo-img {
    height: 60px;       
    width: auto;       
    object-fit: contain;
    max-width: 100%;
 
}

.nav-menu { display: flex; list-style: none; gap: 30px; margin: 0 auto; padding: 0; }
.nav-menu a { text-decoration: none; color: var(--navy); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 15px;}

.nav-btn {
background: var(--navy);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown {
    position: absolute;
    top: calc(100% - 5px);    left: 0;
    background: #ffffff;
    min-width: 240px; 
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 3px solid #c5a059;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px; 
    background: transparent;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    padding: 12px 20px;
    font-size: 14px;
    color: #152946;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
    background-color: #fdf8ef;
    color: #c5a059;
    padding-left: 25px; 
}


.nav-menu > li {
    position: relative;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: 0.3s;
}

/* ANIMATION CROIX */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero */
.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(21, 41, 70, 0.85), rgba(21, 41, 70, 0.7));
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid var(--gold);
    color: var(--gold);
    margin-bottom: 20px;
    box-shadow: 0 0 25px #c5a059;

}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    z-index: 0;
}

.hero h1 { font-size: 52px; color: white; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero p { max-width: 700px; margin: 0 auto 30px; font-size: 18px; opacity: 0.9; }

.btn { padding: 14px 28px; border-radius: 4px; border: none; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-gold { background: var(--gold); color: var(--navy); margin-right: 15px; }
.btn-gold:hover {  background: #a97d16;  color: var(--navy);}
.btn-outline { background: transparent; border: 1px solid white; color: white; }
.btn-outline:hover {  background: white;  color: var(--navy);}
/* Stats (Flottantes) */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: -60px;
    position: relative;
    z-index: 5;
    text-align: center;
}

.stat-card h2 { font-size: 36px; color: var(--navy); }
.stat-card h2 span { color: var(--gold); }

/* Presentation */
.pres-img {
    width: 100%;
    height: 450px; 
    border-radius: 12px;
    overflow: hidden; 
    border: 5px solid #ffffff; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pres-img img {
    width: 100%;    
    height: 100%;   
    object-fit: cover; 
    display: block;
}

.presentation {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}
.section-label { color: var(--gold); font-weight: bold; font-size: 12px; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.pres-text h2 { font-size: 38px; margin-bottom: 20px; }
.check-list { list-style: none; margin: 25px 0; }
.check-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.check-list i { color: var(--gold); }

.btn-dark { background: var(--navy); color: white; padding: 12px 30px; border: none; border-radius: 4px; cursor: pointer; }

/* Quote */
.quote-section { background: var(--navy); color: white; text-align: center; padding: 80px 0; position: relative; margin-bottom: 40px;}
.quote-icon { font-size: 40px; color: var(--gold); margin-bottom: 20px; opacity: 0.5; }
blockquote { font-size: 28px; font-style: italic; color: white; max-width: 800px; margin: 0 auto; }
cite { display: block; margin-top: 20px; font-size: 16px; font-family: 'Inter', sans-serif; opacity: 0.7; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;        
    height: 200px;      
    object-fit: cover;  
    display: block;
}

.news-body {
    padding: 20px;
}

.news-date {
    color: var(--gold);
    font-size: 13px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.news-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {   text-decoration: none;}

.center-btn {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 80px;
}

.btn-outline-dark {
    background-color: transparent; 
    color: #152946;              
    border: 1.5px solid #152946; 
    padding: 12px 35px;           
    border-radius: 30px;          
    font-size: 14px;
    font-weight: 600;             
    text-transform: none;       
    cursor: pointer;
    transition: all 0.3s ease;    
    font-family: 'Inter', sans-serif;
}

/* Effet au survol (Hover) */
.btn-outline-dark:hover {
    background-color: #152946;    
    color: #ffffff;           
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 41, 70, 0.2);
}

/* Effet au clic (Active) */
.btn-outline-dark:active {
    transform: translateY(0);     
}

.logo-light{
    margin-bottom: 20px;
}

/* Footer */
footer { background: #1a1a1a; color: white; padding: 60px 0; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-about h3 { color: var(--white); margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links a { color: #ccc; text-decoration: none; line-height: 2; }


@media (max-width: 1260px) {
    .burger {
        display: flex;
        z-index: 2001;
    }

    .nav-btn {
        display: none;
    }

    .nav-menu {
position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Aligne en haut au lieu d'étirer */
        padding: 100px 30px; /* Espace pour le bouton burger en haut */
        gap: 10px; /* Espace réduit entre les catégories */
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 2000;
        overflow-y: auto; /* Permet de scroller si le menu est long */
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
width: 100%;
        margin-bottom: 0; /* On gère l'espace via le gap du parent */
        display: block;
    }

    .nav-menu li a {
        padding: 15px 0;
        width: 100%;
        justify-content: space-between; /* Place la flèche à droite */
        border-bottom: 1px solid #f0f0f0;
    }

    .has-dropdown {
        position: relative;
    }

    .dropdown {
max-height: 0;
        overflow: hidden;
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-top: none;
        transform: none;
        padding-left: 20px;
        transition: max-height 0.4s ease-out; 
    }
    
.presentation.container {
        padding-left: 20px;
        padding-right: 20px;
        /* Optionnel : tu peux aussi ajuster l'espace entre l'image et le texte si besoin */
        gap: 40px; 
    }
    
    .logo-img {
        height: 50px;
    }

    .has-dropdown.open .dropdown {
max-height: 500px; /* Assez grand pour contenir les liens */
        padding-top: 10px;
        padding-bottom: 10px;    }

    .has-dropdown i {
        pointer-events: none;
    }
}


@media (max-width: 1024px) {

    .hero h1 {
        font-size: 42px;
    }

    .presentation {
        gap: 40px;
        grid-template-columns: 1fr;

    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-img {
        height: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .hero {
        height: auto;
        padding: 100px 20px 80px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .stats {
        grid-template-columns: 1fr;
        margin-top: -40px;
        padding: 25px;
    }

    .stat-card h2 {
        font-size: 28px;
    }

    .presentation {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 60px 0;
    }

    .pres-img {
        height: 300px;
    }

    .logo-img {
        height: 40px;
    }

    .pres-text h2 {
        font-size: 28px;
    }

    blockquote {
        font-size: 20px;
        padding: 0 10px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 26px;
    }

    .hero-tag {
        font-size: 10px;
    }

    .btn {
        padding: 12px;
        font-size: 14px;
    }

    .stat-card h2 {
        font-size: 24px;
    }

    .logo-img {
        height: 35px;
    }

    .news-card img {
        height: 180px;
    }
}