/*
1. Palette de couleurs
 Couleur principale : Bleu (#476CBE)
Utilisée pour les éléments dominants : en-têtes, boutons principaux, liens actifs.
Couleurs complémentaires :
Blanc cassé (#F7F9FC)

Usage : Arrière-plans pour garder un design épuré et moderne.
Connotation : Légèreté et lisibilité.
Gris clair (#E2E6EB)

Usage : Bordures, séparateurs, et arrière-plans secondaires.
Connotation : Modernité et structure.
Bleu ciel (#C9DAFF)

Usage : Hover sur les boutons, accents visuels légers.
Connotation : Fraîcheur et dynamisme.
Jaune doré (#FFC857)

Usage : Appels à l'action (CTA), badges, ou détails marquants.
Connotation : Optimisme et mise en avant.
Anthracite (#2B2D42)

Usage : Texte principal (titres et paragraphes).
                                               Connotation : Professionnalisme et lisibilité.
2. Typographie
 Titres : "Playfair Display"
Style : Serif moderne, élégant et haut de gamme.
Usage : Titres des pages, promotions mises en avant.
Exemple de code CSS :
css
Copier le code
font-family: 'Playfair Display', serif;
font-weight: 700; !* Pour des titres en gras *!
Texte : "Roboto"
Style : Sans-serif simple et lisible, adapté au contenu principal.
Usage : Paragraphes, descriptions, et blocs de texte.
Exemple de code CSS :
css
Copier le code
font-family: 'Roboto', sans-serif;
font-weight: 400; !* Normal pour le texte *!
font-weight: 300; !* Pour les sous-titres ou textes discrets *!
3. Boutons et éléments interactifs
 Boutons principaux :
 Couleur : #476CBE (fond) avec un texte blanc.
                          Hover : #C9DAFF (fond plus clair) avec texte bleu anthracite.
                                                            Liens :
                                                            Couleur normale : #476CBE.
                                                            Hover : Souligné ou #C9DAFF pour un effet subtil.
4. Design des sections
 Héros (bannière principale) :
                             Fond : Gradient linéaire entre #476CBE (haut) et #C9DAFF (bas).
                                                                                           Texte : Blanc cassé ou jaune doré.
                                                                                           Bouton : Fond bleu foncé avec texte blanc.
                                                                                           Cartes pour promotions :
                                                                                           Fond : Blanc cassé #F7F9FC.
                                                                                           Bordure : Gris clair #E2E6EB.
                                                                                           Titre : Bleu #476CBE.
                                                                                           Prix : Jaune doré #FFC857.
5. Inspirations d’icônes et visuels
 Icônes :

 Style minimaliste (outline).
                            Couleurs dominantes : #476CBE, #E2E6EB.
Exemples : Maison, localisation, clé, plan.
Images :

Effet overlay : Ajoutez une surcouche légèrement translucide (#476CBE à 30% d’opacité) pour uniformiser le rendu visuel.
                                                                                       Banque d'images : Unsplash ou Pexels, avec des thèmes d'architecture et d'immobilier.*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto:wght@300;400&display=swap');

/* ==================== */
/* 1. Variables Globales */
/* ==================== */
:root {
    --primary-color: #476CBE; /* Bleu principal */
    --secondary-color: #C9DAFF; /* Bleu clair */
    --accent-color: #FFC857; /* Jaune doré */
    --background-light: #F7F9FC; /* Blanc cassé */
    --text-dark: #2B2D42; /* Anthracite pour le texte */
    --border-color: #E2E6EB; /* Gris clair pour bordures */
}

/* ===================== */
/* 2. Paramètres Généraux */
/* ===================== */
html {
    font-size: 16px; /* Taille de police par défaut */
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 500;
    /*font-size: 1.8em;*/
    letter-spacing: 0.02em;
}

h1 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

.navbar-slogan {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;

    color: #6e86a8;
    margin-top: 4px;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .navbar-slogan {
        font-size: 0.8rem;
        color: #6e86a8;
    }
}

@media (max-width: 576px) {
    .navbar-slogan {
        display: none;   /* ou font-size: 0.7rem; si tu veux le garder visible */
    }
}
/* ========================= */
/* 3. Styles des Boutons     */
/* ========================= */
button, .btn-tempo {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover, .btn-tempo:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* ========================= */
/* 4. Navigation             */
/* ========================= */
.navbar {
    padding: 15px;
    border-bottom: 1px solid rgba(71, 108, 190, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-nav {
    font-size: 1.2em; /* Augmente la taille des items */
    text-align: center;
    font-family: 'Roboto', sans-serif; /* Texte principal */
    font-weight: 400;
}

/* ========================== */
/* 5. Sections Spécifiques    */
/* ========================== */
/* Intro Section */

.intro-section {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.intro-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.social-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #197497;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.3s ease;
}

.social-link a i {
    font-size: 1.5rem;
}

.social-link a:hover {
    color: #12678e;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    h1 {
        font-size: 1.625em !important; /* ~26px */
    }

    h2 {
        font-size: 1.375em !important; /* ~22px */
        text-align: left !important;
    }

    h3 {
        font-size: 1.125em !important; /* ~18px */
    }

    p {
        font-size: 1em !important;
    }

    .alternating-section p {
        font-size: 1em !important;
    }
    .intro-section {
        height: 30vh !important;
        max-height: 30vh !important;
    }

    .intro-content h1 {
        font-size: 1.325em !important;
    }


}

.a-max-w {
    max-width: 1200px;
    margin: 0 auto; /* Centre le contenu horizontalement */
    width: 100%; /* Assure que l'élément s'adapte à la largeur disponible */
}


.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-content {
    text-align: center;
}

.intro-content h1 {
    font-size: 2.5em;
    color: #f7f7f7;
}

.intro-content h5 {
    color: #f7f7f7;
}

.intro-content p {
    font-size: 1.2em;
}

/* ======================= */
/* 6. Cartes et Composants */
/* ======================= */
.card {
    min-height: 250px;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.card img {
    border-radius: 5px 5px 0 0;
}

.card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.card-text {
    margin-bottom: 20px;
}


/* Carte promotion */
.card-promotion {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px; /* Hauteur totale de la carte */
    background-color: white;
    height: 100% !important;
}

/* Ligne 1 : Image */
.card-promotion .card-image img {
    width: 100%;
    height: 100%; /* Image occupe 50% de la carte */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

/* Ligne 2 : Titre et description */
.card-promotion .card-content {
    padding: 10px 15px;
    text-align: center;
    flex-grow: 1; /* Étend la description pour égaliser les cartes */

}

.card-promotion .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-promotion .card-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Ligne 3 : Localisation et date */
.card-promotion .card-details {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centre verticalement */
    padding: 10px 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color); /* Séparation avec le corps */
    position: relative;
}

.card-promotion .card-details .detail-item {
    display: flex;
    flex-direction: column; /* Organise l'icône et le texte en colonne */
    align-items: center; /* Centre horizontalement */
    text-align: center; /* Aligne le texte pour éviter des décalages */
    gap: 5px; /* Espace entre l'icône et le texte */
    width: 45%; /* Chaque colonne occupe 45% de la largeur */
}

/* Séparateur vertical */
.card-promotion .card-details::before {
    content: "";
    position: absolute;
    height: 50%; /* Ajuste la hauteur du trait */
    width: 1px; /* Épaisseur du trait */
    background-color: var(--border-color); /* Couleur du trait */
    left: 50%;
    top: 25%; /* Centrage vertical */
    transform: translateX(-50%);
}

/* Icônes dans les colonnes */
.card-promotion .card-details .detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 📜 Limite la hauteur du texte et évite que la carte s'étire trop *//* 📌 Tronquer le texte avec "..." et ajouter un tooltip */
.card-promotion .card-content .card-text {
    max-height: 150px;
    min-height: 30px;
    padding-top: 25px;
    font-size: 1.0em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limite à 3 lignes */
    -webkit-box-orient: vertical;
    cursor: pointer;
    position: relative;
}

/* 🔥 Tooltip (bulle d'info) */
.card-promotion .card-content .card-text::after {
    content: attr(data-full-text); /* Affiche le texte complet */
    position: absolute;
    left: 50%;
    bottom: 120%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}


/* Ligne 4 : Bouton */
.card-promotion .card-actions {
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

.card-promotion:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-tempo.btn-programme {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.95rem !important;
    border-radius: 4px;
    /*transition: transform 0.3s ease, box-shadow 0.3s ease; !* Animation fluide *!*/
}

/* 🔹 Adaptabilité Responsive */
@media (max-width: 768px) {
    /* Tablette */
    .card-promotion {
        margin-bottom: 20px; /* Ajoute un peu d'espace entre les cartes */
    }
}

@media (max-width: 576px) {
    /* Mobile */
    nav img {
        width: 113px !important;
        height: 29px !important;
    }

    h1 {
        font-size: 2em !important;
    }

    h2 {
        font-size: 1.5em !important;
    }

    .alternating-section p {
        font-size: 1em !important;
    }

    .card-promotion {
        margin-bottom: 15px !important;
    }

    .card-promotion .card-image img {
        /*height: 180px!important; !* Réduit légèrement la hauteur des images sur mobile *!*/
    }

    .alternating-section h5 {
        font-size: 1.4rem !important;
    }

    .home-contact {
        min-height: 200px !important;
    }

    /*.alternating-section h5:nth-child(2){*/
    /*    display: none !important;*/
    /*}*/
}


/*.btn-tempo:hover:not(.btn-programme) {*/
/*    background-color: var(--accent-color);*/
/*    color: var(--text-dark);*/
/*    transform: translateY(-10px) scale(1.02); !* Légère élévation et zoom *!*/
/*    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2); !* Ombre renforcée *!*/
/*}*/

.card-promotion .btn-tempo {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.95rem !important;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation fluide */
}

.card-promotion .btn-tempo:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.accent-effect:hover {
    background-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
}


/* ============================ */
/* 7. Sections Alternantes      */
/* ============================ */
/* Contenu centralisé */

.alternating-section:not(:first-child) {
    /*max-width: 1140px;*/
    margin: 0 auto;
    padding: 40px 15px;
}

.alternating-section .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alternating-section .col-md-6 {
    flex: 0 0 48%;
    max-width: 48%;
}


.alternating-section img {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alternating-section h2 {
    font-size: 1.7em !important;
    margin-bottom: 18px;
    color: #476CBE;
}

.alternating-section p {
    font-size: 1em !important;
    line-height: 1.6;
    color: #6c757d;
}

/* Alternance visuelle */
.alternating-section:nth-child(odd) {
    background-color: #E2E6EB;
    width: 100%;
}


.values-section .icon-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.values-section .icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.values-section .row.text-center > div {
    display: flex;
    flex-direction: column; /* Organise les éléments verticalement */
    align-items: center; /* Centre le contenu horizontalement */
    /*justify-content: space-between; !* Répartit les espaces *!*/
    /*min-height: 300px; !* Hauteur minimale uniforme *!*/
    /*padding: 15px; !* Espacement intérieur *!*/
}

.h-value {
    font-size: 1.5rem !important;
    font-family: Roboto, sans-serif;
}

.icon-transparence {
    width: 68% !important;
}

.home-contact {
    min-height: 400px;
    padding-top: 40px;
}

.home-contact .btn-tempo {
    margin-top: auto;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.3em;
    border-radius: 4px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

/*.home-contact .btn-tempo:hover {*/
/*    background-color: var(--accent-color);*/
/*    color: var(--text-dark);*/

/*}*/

.programmes-section {
    background-color: var(--border-color);
}

.programmes-section .btn-tempo:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}


/* ================== */
/* 8. Pied de page    */
/* ================== */
/*
 */

.footer {
    color: var(--background-light);
    background-color: #28292f;
    padding: 50px 10px 10px 20px; /* Espacement vertical étendu */
    font-family: "Roboto", sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

.footer-column {
    flex: 1 1 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-column h5 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--background-light);
}

.footer-column p,
.footer-column ul {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
    color: #d1d1d1;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

/* Centrage vertical du logo */
.footer-column h5 img {
    margin: 0 auto 20px auto; /* Centré horizontalement avec espacement */
}


.footer-column ul li i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 10px;
    margin-top: 40px;
}

/* Footer-bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: var(--background-light);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}


/* Beautification de la map */
.footer-column #map {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Bouton GPS */
.gps-link {
    display: inline-block;
    margin-top: 10px;
    background-color: #d3cfcf;
    color: var(--text-dark);
    padding: 5px 10px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.gps-link:hover {
    background-color: var(--primary-color);
    color: var(--background-light);
    text-underline: none;

}


/* ================== */
/* 9. Portraits       */
/* ================== */
.portrait {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-programmes {
    background-color: #2B2D42;
}

#map {
    position: relative; /* Nécessaire pour positionner le bouton au-dessus de la carte */
    max-width: 400px; /* Gabarit maximum */
    margin: 0 auto; /* Centre la carte */
    border-radius: 15px; /* Coins arrondis */
    overflow: hidden; /* Empêche les débordements */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre subtile */
}

.contact-section {
    background-color: #f8f9fa; /* Fond clair */
    color: var(--text-dark); /* Texte principal */
    padding: 60px 20px; /* Espacement vertical généreux */
}

.contact-section h1 {
    color: var(--primary-color); /* Titre principal */
}

.contact-section p {
    font-size: 1rem;
    color: #6c757d; /* Texte secondaire */
}

.contact-form {
    background-color: #ffffff; /* Fond blanc pour le formulaire */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    padding: 30px; /* Espacement interne */
    font-family: "Roboto", sans-serif;
}

.contact-form .form-label {
    font-size: 1rem;
    color: var(--primary-color); /* Couleur des labels */
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #e2e6eb; /* Bordures discrètes */
    border-radius: 6px; /* Coins arrondis */
    padding: 10px 15px; /* Espacement interne */
    font-size: 1rem; /* Taille du texte */
    color: var(--text-dark);
    background-color: #f8f9fa; /* Fond clair */
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color); /* Couleur de mise en évidence */
    outline: none;
}

.contact-form button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--secondary-color); /* Couleur d'accentuation */
    transform: translateY(-2px); /* Effet de levée au survol */
}


.section-divider {
    width: 100%; /* Le trait s'étend sur toute la largeur */
    height: 2px; /* Épaisseur du trait */
    background-color: var(--primary-color); /* Couleur du trait, peut être ajustée */
    opacity: 0.8; /* Légère transparence pour un effet doux */
}

.image-caption {
    font-size: 1rem;
    color: #555; /* Couleur gris foncé */
    font-style: italic;
    margin-top: 8px;
    text-align: center;
}


/* Pour les écrans petits (moins de 576px) */
@media (max-width: 575.98px) {
    #lightboxModal .modal-dialog {
        width: 90%;
        max-width: none; /* On retire la limite fixe */
        margin: 1rem auto;
    }
}

/* Pour les écrans à partir de 576px */
@media (min-width: 576px) {
    #lightboxModal .modal-dialog {
        max-width: 1200px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.625em !important;
    }

    /* ~26px */
    h2 {
        font-size: 1.375em !important;
    }

    /* ~22px */
    h3 {
        font-size: 1.125em !important;
    }

    /* ~18px */
    h6 {
        text-align: left !important;
    }

    p {
        font-size: 0.95em !important;
    }

    /* ~15px */
    .footer-column ul li {
        margin-bottom: 0 !important;
    }
}



