/* --- BASE --- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    /* Ajusté pour faire remonter la section Hero tout en laissant de la place au header */
    padding-top: 135px; 
}

/* --- BANDEAU BLEU SUPÉRIEUR --- */
.top-bar {
    background-color: #0b3c6f; /* Même bleu que vos boutons */
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Doit être au-dessus du header */
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-contact a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social img {
    width: 18px; /* Taille des icônes réseaux sociaux */
    height: 18px;
    filter: brightness(0) invert(1); /* Rend les icônes blanches */
}

/* --- HEADER (BANDEAU BLANC + LOGO) --- */
.header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff; 
    /* Utilise le logo comme image de fond */
    background-image: url('asset/Logo.png');
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: left center; 
    height: 100px; 
    display: flex;
    align-items: center; 
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Pousse le menu à droite */
    padding-right: 40px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #0b3c6f; /* Bleu identique au bouton téléphone */
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #1a73b8;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: #0b3c6f;
    cursor: pointer;
}

.promo-banner {
    color: #e63946; /* Un rouge vif et professionnel */
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px dashed #e63946; /* Cadre pointillé pour l'effet promo */
    border-radius: 8px;
    display: inline-block; /* Pour que le cadre s'adapte au texte */
    width: auto;
    max-width: 90%;
}

/* --- SECTION HERO --- */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
}

.hero h1 { 
    font-size: 38px; 
    margin-bottom: 10px; 
    color: #0b3c6f; /* Bleu Royal / Marine */
    font-weight: 800;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2em;
    color: #0b3c6f;
    max-width: 800px;
    margin: 0 auto;
}

/* --- BOUTONS (TAILLE D'ÉCRITURE HARMONISÉE) --- */
.cta { 
    margin-top: 20px; 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    flex-wrap: wrap; 
}

.btn {
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    /* Taille d'écriture identique pour les deux boutons */
    font-size: 16px; 
    font-family: Arial, sans-serif;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: scale(1.02); }

.primary { background: #0b3c6f; color: #fff; }
.secondary { background: #1a73b8; color: #fff; }
.whatsapp { background: #25D366; color: #fff; }

/* --- SYSTÈME DE POPUP (MODAL) --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 85%;
    max-width: 350px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    right: 15px; 
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.mobile-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- SECTIONS GÉNÉRALES --- */
.section { padding: 50px 20px; text-align: center; }
.section.light { background: #f4f6f8; }

/* --- TARIFS (AJUSTEMENTS D'ESPACE) --- */
#tarifs.section {
    padding-bottom: 0px; /* Réduit l'espace en bas de la section tarifs */
}

.note {
    margin-top: 10px;
    margin-bottom: 0; /* Supprime la marge sous le texte de la note */
    font-size: 0.9em;
    font-style: italic;
}

.tarif-info-box {
    max-width: 800px;
    margin: 0 auto 40px;
    background: #fff;
    padding: 25px;
    border-left: 6px solid #1a73b8;
    text-align: left;
}

.tarifs { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.payment-info {
    color: #0b3c6f;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 5px;
}
.tarif-card {
    background: #0b3c6f;
    color: #fff;
    padding: 25px;
    width: 150px;
    border-radius: 12px;
    font-weight: bold;
}

/* --- AVANTAGES (AJUSTEMENTS D'ESPACE) --- */
#avantages.section {
    padding-bottom: 0px; /* Réduit l'espace en haut de la section avantages */
}

.avantages { 
    list-style: none; 
    padding: 0; 
    max-width: 600px; 
    margin: 0 auto; 
    text-align: center; 
}

.avantages li { 
    margin: 15px 0; 
    font-size: 1.1em; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
}

.icon { font-size: 28px; }

/* --- BANNIÈRE BAS DE PAGE --- */
.banner-bottom {
    width: 100%;
    height: 200px; 
    background-image: url('asset/Bandeau.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    margin-top: 20px;
}

/* --- RESPONSIVE MOBILE --- */
.mobile-only { display: none; }

@media (max-width: 768px) {
    body { padding-top: 130px; }
 .top-bar-container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .top-contact a {
        margin-right: 0;
        font-size: 12px;
    }   
    .header { 
        height: 70px; 
        background-position: left center;
		top: 60px
    }

    .mobile-only { display: inline-flex; }
    .desktop-only { display: none; }
    .menu-toggle { display: block; }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active { display: flex; }
    nav a { margin: 10px 0; text-align: center; }

    .tarifs { flex-direction: column; align-items: center; }
    .tarif-card { width: 80%; }

    .banner-bottom {
        height: 100px;
    }
}

iframe { width: 100%; height: 350px; border: 0; border-radius: 10px; }
footer { background: #0b3c6f; color: #fff; text-align: center; padding: 30px; margin-top: 40px; }
footer a { color: #fff; text-decoration: underline; }

.trust-phrase {
    color: #0b3c6f;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.exemple-tarif {
    background-color: #fff;
    color: #0b3c6f;
    padding: 15px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto 30px auto; /* Centre le bloc et crée un espace avec les cartes dessous */
    font-size: 1.1em;
}