/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #B77E65;      /* Terracotta - Identité GUIMAN */
    --accent: #843431;       /* Bordeaux */
    --bg-light: #F9F4F2;     /* Beige très clair */
    --text-dark: #1A1A1A;    /* Noir doux */
    --text-muted: #666666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body { 
    font-family: 'Inter', sans-serif; /* Typographie Inter 900 pour titres */
    background: var(--white); 
    color: var(--text-dark); 
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================================================
   2. NAVIGATION
   ========================================================================== */
nav { 
    height: 90px; 
    display: flex; 
    align-items: center; 
    background: var(--white); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
}

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

.nav-logo-img { height: 45px; width: auto; }

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 600; 
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.partners-hero {
    background: var(--bg-light); 
    padding: 100px 0;
    text-align: center;
}

.subtitle {
    display: inline-block;
    background: rgba(183, 126, 101, 0.1); 
    color: var(--primary);                
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px); 
    font-weight: 900; /* Inter 900 */
    line-height: 1.1;
    margin-bottom: 25px;
}

.text-brown { color: var(--primary); }

/* ==========================================================================
   4. SECTIONS BÉNÉFICES & COLLABORATIONS (FIXED)
   ========================================================================== */
.section-benefits, .section-collaborations { padding: 80px 0; }

h2.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 900;
    margin-bottom: 50px;
}

/* Grille des bénéfices corrigée */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition);
}

.benefit-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-item h4 { margin-bottom: 10px; font-weight: 700; }

/* Liste des collaborations corrigée */
.collaboration-list { max-width: 900px; margin: 0 auto; }

.collaboration-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #EEE;
    border-radius: 15px;
    transition: var(--transition);
}

.collaboration-item:hover { border-color: var(--primary); background: #FFF; }

.collaboration-item i { font-size: 24px; color: var(--primary); margin-top: 5px; }

/* ==========================================================================
   5. TRANSPARENCY BAR & CTA
   ========================================================================== */
.transparency-bar {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    width: 90%;
    margin: -40px auto 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.transparency-bar strong { color: var(--primary); }

.cta-box { padding: 100px 0; text-align: center; }

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white !important;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover { background: var(--primary); transform: translateY(-3px); }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
footer { background: #f4f4f4; padding: 80px 0 40px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; }
.footer-links h4 { margin-bottom: 20px; font-weight: 900; }
.footer-links a { display: block; text-decoration: none; color: #666; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.independence-note { font-size: 13px; margin-top: 15px; color: #aaa; }

.footer-newsletter h4 { margin-bottom: 20px; font-weight: 900; }
.footer-newsletter p { font-size: 14px; color: #666; margin-bottom: 15px; }
.footer-newsletter-form { display: flex; gap: 5px; }
.footer-newsletter-form input { flex: 1; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; outline: none; }
.footer-newsletter-form button { background: var(--primary); color: white; border: none; padding: 0 15px; border-radius: 8px; cursor: pointer; transition: 0.3s; }

@media (min-width: 992px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Nécessite un menu burger JS */
    
    .collaboration-item { flex-direction: column; text-align: center; align-items: center; }
    
    .benefits-grid { grid-template-columns: 1fr; }
    
    .transparency-bar { font-size: 14px; width: 95%; }
}

/* --- Style du bouton Hamburger --- */
.menu-toggle {
    display: none; /* Caché par défaut sur PC */
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary);
}

/* --- Responsive Mobile (Max 992px) --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: block; /* On affiche le bouton sur mobile */
    }

    .nav-links {
        display: none; /* On cache la liste par défaut */
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        gap: 25px;
        text-align: center;
    }

    /* Classe ajoutée par le JS pour ouvrir le menu */
    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s ease forwards;
    }

    .nav-links li {
        width: 100%;
    }

    .btn-primary {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
}

/* Animation d'entrée du menu */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}