/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #B77E65;      /* Terracotta */
    --accent: #843431;       /* Bordeaux */
    --bg-light: #F9F4F2;     /* Beige clair */
    --text-dark: #1A1A1A;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: 0 15px 35px rgba(0,0,0,0.05);
}

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

body { 
    font-family: 'Inter', sans-serif; 
    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: 80px;
    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; }

/* Menu Toggle (Burger) - Caché sur PC */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1100;
}

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 600; 
    font-size: 15px; 
    transition: 0.3s;
}

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

.nav-links a.btn-primary { 
    background: var(--accent); 
    color: white !important; 
    padding: 10px 22px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(132, 52, 49, 0.2);
}

/* ==========================================================================
   3. SECTION CONTACT
   ========================================================================== */
.contact-page { padding: 80px 0; background: var(--bg-light); min-height: 80vh; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }

.badge {
    display: inline-block;
    background: rgba(183, 126, 101, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-info h1 { font-size: 48px; font-weight: 900; margin-bottom: 20px; }
.contact-info h1 span { color: var(--primary); }
.contact-info p { color: var(--text-muted); font-size: 18px; margin-bottom: 40px; }

.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.info-item i { 
    width: 50px; height: 50px; background: var(--white); 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; color: var(--accent); box-shadow: var(--shadow);
}

.social-links { display: flex; gap: 15px; margin-top: 30px; }
.social-links a { 
    width: 45px; height: 45px; background: var(--text-dark); 
    color: white; display: flex; align-items: center; justify-content: center; 
    border-radius: 10px; transition: 0.3s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

/* Formulaire */
.contact-form-container { background: var(--white); padding: 40px; border-radius: 30px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 15px; border: 1px solid #eee; border-radius: 12px; font-family: inherit; outline: none;
}
.form-group input:focus { border-color: var(--primary); }

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
footer { background: #f4f4f4; padding: 80px 0 40px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 50px; }

.footer-about p { font-size: 14px; color: #666; line-height: 1.6; margin-top: 15px; }
.footer-links h4, .footer-newsletter h4 { margin-bottom: 25px; font-weight: 900; font-size: 16px; }
.footer-links a { display: block; text-decoration: none; color: #666; margin-bottom: 12px; transition: 0.3s; font-size: 14px; }
.footer-links a:hover { color: var(--primary); padding-left: 3px; }

.footer-newsletter-form { display: flex; gap: 5px; margin-top: 15px; }
.footer-newsletter-form input { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }
.footer-newsletter-form button { background: var(--primary); color: white; border: none; padding: 0 15px; border-radius: 8px; cursor: pointer; }

/* ==========================================================================
   5. RESPONSIVE (CORRECTIONS)
   ========================================================================== */

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .info-item { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Menu Mobile */
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none; /* Masqué par défaut */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        gap: 20px;
    }

    .nav-links.show { display: flex; } /* Classe activée par JS */

    /* Contenu */
    .contact-info h1 { font-size: 32px; }
    .contact-form-container { padding: 25px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-about, .footer-newsletter { align-items: center; }
    .footer-newsletter-form { width: 100%; }
}