:root {
    --navy: #003366; --cyan: #00AEEF; --dark: #1a1a1a; --white: #ffffff; --grey: #f4f7f6;
}

* { box-sizing: border-box; }
body { 
    font-family: 'Montserrat', sans-serif; 
    margin: 0; padding: 0; 
    color: var(--dark); 
    line-height: 1.6; 
    scroll-behavior: smooth; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* --- TOP BAR --- */
.top-bar { background: var(--navy); color: white; padding: 10px 0; font-size: 0.85rem; font-weight: 600; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: white; text-decoration: none; transition: 0.3s; }
.top-bar a:hover { color: var(--cyan); }
.top-bar i { color: var(--cyan); margin-right: 5px; }

/* --- NAVBAR --- */
.navbar {
    background: #f7f5ef;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.brand-logo {
    display: block;
    width: clamp(170px, 22vw, 240px);
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.brand-link:hover { transform: translateY(-1px); }

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--cyan); }
.btn-rdv { background: var(--cyan); color: white !important; padding: 10px 18px; border-radius: 5px; }
.btn-rdv:hover { background: #17b7f3; transform: scale(1.02); }

/* Menu Burger */
.menu-toggle { display: none; font-size: 1.5rem; color: var(--navy); cursor: pointer; transition: 0.3s; }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 65vh;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 10s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 51, 102, 0.65), rgba(0, 51, 102, 0.65));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    font-weight: 800; 
    letter-spacing: 1px;
}
.hero p { font-size: clamp(1rem, 2vw, 1.4rem); margin-bottom: 35px; font-weight: 400; opacity: 0.9; }

/* --- SERVICES --- */
.section { padding: clamp(40px, 8vw, 80px) 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--navy); margin-bottom: 15px; }
.section-title .divider { width: 60px; height: 5px; background: var(--cyan); margin: 0 auto; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { 
    background: var(--grey); 
    padding: 45px 30px; 
    border-radius: 15px; 
    text-align: center; 
    transition: all 0.4s ease;
    border: 1px solid transparent;
}
.service-card:hover { 
    transform: translateY(-10px); 
    background: white; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    border-color: var(--grey);
}
.service-card i { font-size: 3.5rem; color: var(--cyan); margin-bottom: 25px; display: block; }
.service-card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 15px; }

/* --- CONTACT --- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 50px; }
.contact-info { flex: 1; min-width: 320px; }
.form-box { 
    flex: 1.2; 
    min-width: 320px; 
    background: white; 
    padding: 40px; 
    border-radius: 15px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.1); 
    border-top: 6px solid var(--navy); 
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 14px; 
    border: 2px solid #edf2f7; 
    border-radius: 8px; 
    font-family: inherit; 
    font-size: 1rem;
    transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--cyan); outline: none; background: #fff; }

.btn-send { 
    width: 100%; 
    padding: 18px; 
    background: var(--navy); 
    color: white; 
    border: none; 
    border-radius: 8px; 
    font-weight: 800; 
    cursor: pointer; 
    text-transform: uppercase; 
    transition: 0.3s;
    font-size: 1rem;
    letter-spacing: 1px;
}
.btn-send:hover { background: var(--cyan); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3); }

.hp-field { display: none !important; }

.alert { padding: 18px; border-radius: 8px; margin-bottom: 25px; text-align: center; font-weight: 700; }
.success { background: #c6f6d5; color: #22543d; border: 1px solid #9ae6b4; }
.error { background: #fed7d7; color: #822727; border: 1px solid #feb2b2; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .nav-links { gap: 15px; }
    .hero { height: 50vh; min-height: 400px; }
}

@media (max-width: 768px) {
    .top-bar .socials { display: none; }
    .top-bar .container { justify-content: center; text-align: center; }
    
    .menu-toggle { display: block; }
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: #f7f5ef;
        padding: 30px 20px; 
        box-shadow: 0 15px 15px rgba(0,0,0,0.1); 
        gap: 20px;
        z-index: 1001;
        animation: slideDown 0.4s ease forwards;
    }
    .nav-links.active { display: flex; }
    .nav-links a { width: 100%; text-align: center; font-size: 1.1rem; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .btn-rdv { border-bottom: none !important; margin-top: 10px; }

    .contact-layout { flex-direction: column; }
    .form-box { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .brand-logo { width: 180px; }
    .hero { min-height: 380px; }
    .hero h1 { font-size: 1.6rem; }
    .section-title h2 { font-size: 1.7rem; }
    .service-card { padding: 35px 20px; }
    .meta { gap: 10px; font-size: 0.8rem; }
    .meta a { margin-left: 0 !important; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
