/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --orange-btp: #ff6b00;
    --dark-blue: #0f172a;
    --bg-blank: #ffffff;
    --bg-soft: #f8fafc;
    --text-main: #1e293b; 
    --text-light: #64748b;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Style de base des icônes Lucide */
[data-lucide] {
    color: var(--orange-btp);
    stroke-width: 2px;
}

/* ==========================================================================
   2. NAVIGATION & BURGER (LOGIQUE DESKTOP VS MOBILE)
   ========================================================================== */

/* CACHER LE BURGER SUR ORDINATEUR */
.menu-toggle {
    display: none !important; 
}

@media (max-width: 1024px) {
    .nav-btn-devis {
        display: none !important; 
    }

    .menu-toggle {
        display: flex !important; 
        background: var(--orange-btp);
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        cursor: pointer;
        justify-content: center;
        align-items: center;
        z-index: 1100;
        padding: 0;
    }

    .menu-toggle svg {
        width: 26px !important;
        height: 26px !important;
        stroke: white !important; 
        stroke-width: 2.5px;
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 75%;
        height: 100vh;
        background-color: var(--dark-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0,0,0,0.5);
        display: flex !important; 
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-menu li a {
        font-size: 1.6rem;
        color: white !important;
        font-family: 'Anton', sans-serif;
        letter-spacing: 1px;
    }
}

/* ==========================================================================
   3. CONTACT HERO
   ========================================================================== */
.contact-hero {
    padding: 160px 0 80px;
    background-color: var(--bg-blank);
    color: var(--dark-blue);
    text-align: center;
    position: relative;
}

/* Cercles décoratifs en arrière-plan */
.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.contact-header-text h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.contact-header-text h2 span {
    color: var(--orange-btp);
    position: relative;
}

.contact-header-text p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    max-width: 650px;
    margin: 40px auto 60px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ==========================================================================
   4. GRILLE DE CARTES (DESIGN REACT-STYLE)
   ========================================================================== */
.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 40px; /* Bords très arrondis comme demandé */
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style spécifique pour la carte Localisation (Fond Sombre) */
.contact-card:last-child {
    background: var(--dark-blue);
    color: white;
}

.contact-card:last-child h3, 
.contact-card:last-child .card-text { 
    color: white; 
}

.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(255, 107, 0, 0.1);
    border-color: var(--orange-btp);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 0, 0.08); 
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition);
}

.contact-card:hover .card-icon {
    background: var(--orange-btp);
}

.contact-card:hover .card-icon svg {
    color: white;
}

.contact-card h3 {
    font-family: 'Anton';
    font-size: 1.6rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contact-card p {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.card-link, .card-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-blue);
    text-decoration: none;
}

/* ==========================================================================
   5. GOOGLE MAPS SECTION
   ========================================================================== */
.map-section {
    padding-bottom: 100px;
    background-color: var(--bg-blank);
}

.map-container {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 10px solid white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
    filter: grayscale(0.2);
}

.map-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--dark-blue);
    color: white;
    padding: 18px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 10;
}

/* ==========================================================================
   6. INFOS COMPLÉMENTAIRES & ANIMATIONS
   ========================================================================== */
.info-footer-contact {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-top: 50px;
    border-top: 1px solid #f1f5f9;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Animations */
.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
/* --- DANS TON HTML (Balise <style>) --- */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 300px;
        height: 100vh;
        background: #0f172a; 
        display: flex !important;
        flex-direction: column;
        
        /* ON REMONTE TOUT */
        justify-content: flex-start !important; 
        align-items: flex-start !important;
        
        /* Espace pour le bouton X en haut */
        padding: 90px 30px 0 30px !important; 
        
        gap: 25px;
        transition: all 0.4s ease-in-out;
        z-index: 999;
        margin: 0;
        list-style: none;
    }

    /* Optionnel : Une petite ligne sous chaque lien pour faire propre */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 15px;
    }
}