/* ==== RESET ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F8F6F0;
    color: #2B2B2B;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ==== CONTAINER ==== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #1E3A5F;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #2B2B2B;
}

/* Carousel */


.carousel-caption-background { 
       background: linear-gradient(0deg,rgba(31, 41, 55, 0.27),rgba(31,41,55,0)) !important; 
}

/* Conteneur principal */
.barrenavigation {
    display: flex;
    justify-content: center; /* Centre tout le contenu horizontalement */
    align-items: center;
    gap: 50px; /* Espace entre logo et menu */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

/* Liens du menu */
.nav-links {
    display: flex;
    gap: 40px; /* Espacement entre les liens */
    list-style: none;
}

/* Style des liens */
.nav-links li a {
    text-decoration: none;
    color: #2B2B2B;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Effet au survol */
.nav-links li a:hover {
    color: #2B2B2B/*#77b5fe*/;
    transform: scale(1.05);
}

/* Ombre subtile quand on scroll */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Logo à gauche */
.logo img {
    height: 60px;
    margin-right: 40px;
    margin-left: 100px;
}

/* Menu centré */
.menu ul {
    display: flex;
    gap: 60px; /* Espacement entre les éléments */
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #A3B18A/*#77b5fe; /* Couleur d'accent dynamique */
}

/* ==== SECTION FORMULES ==== */
.formules {
    text-align: center;
    padding: 50px 20px;
}

.formules h1 {
    font-size: 2.2rem;
    margin-bottom: -20px;
    margin-top: 50px;
    color: #000000;
}


 /* Sous titre pour les formules dans la page de présentation */
.sous-titre {
    font-style: italic;
    font-size: 1rem;
    color: #545454;                                     /* Gris doux pour un aspect élégant */
    margin-top: -15px;
    margin-bottom: 30px;
    display: block;
}

 /* Sous titre pour la page Formules */
.sous-titre2 {
    font-style: italic;
    font-size: 1.5rem;
    color: #2B2B2B;                                     
    margin-top: 15px;
    margin-bottom: 80px;
    display: block;
}

/* ---- Texte descriptif ---- */
.card-description {
    font-size: 1rem;
    color: #2B2B2B;
    line-height: 1.5;
    margin-top: -15px;
    margin-bottom: 15px;
}


/* ==== PAGES FORMULES ==== */
.formule-page {
    max-width: 800px;
    margin: 50px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.formule-page h1 {
    color: #A3B18A/*#1e5d73*/;
    margin-bottom: 15px;
}

.formule-page .intro {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #2B2B2B;
}

.formule-page ul {
    list-style: disc;
    padding-left: 30px;
    text-align: left;
    margin-bottom: 25px;
}

.btn.retour {
    margin-top: 10px;
}

/* ---- Style du prix ---- */


.prix-bulle {
    background-color: #D9822B;                      /* couleur de fond */
    color: white;                                   /* texte blanc */
    font-size: 1.5rem;                                /* texte plus gros */
    font-weight: bold;
    padding: 12px 25px;                               /* taille intérieure */
    border-radius: 40px;                              /* arrondi de la bulle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: block; 
    width: fit-content;                                /* la bulle ne prend que la place nécessaire */
    margin: 20px auto;                                 /* centre automatiquement */
}


/* Centrer la bulle */
.formule-page .prix {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* ---- Tableur ---- */


/* Conteneur du tableau */
.table-container {
    max-width: 95%;
    margin: auto;
    overflow-x: auto;
}

/* Style du tableau */
table {
    width: 100%;
    border-collapse: separate;  /* <-- Sépare les cellules pour gérer l'espacement */
    border-spacing: 0 10px;    /* <-- Ajoute de l'air entre les lignes */
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

/* En-têtes */
thead {
    background-color: #bbc9d2;
    color: #2B2B2B;
    font-weight: bold;
}

thead th {
    padding: 12px 10px; /* <-- Plus de hauteur */
    text-align: center;
    vertical-align: middle;
    font-size: 15px;      /* <-- Un peu plus grand */
    font-weight: bold;
    line-height: 1.4;
}

/* Optionnel : pour que l'emoji soit légèrement plus grand */
thead th:first-line {
    font-size: 22px;
}

/* Cellules */
tbody td {
    padding: 14px 18px;   /* <-- Plus d’espace vertical ET horizontal */
    text-align: center;
    border-bottom: 1px solid #e6e6e6;
    font-size: 15px;
}

/* Lignes alternées */
tbody tr:nth-child(even) {
    background-color: #f9fbfd;
}

/* Lignes au survol */
tbody tr:hover {
    background-color: #eef6fc;  /* <-- Effet de survol doux */
    transition: 0.2s ease-in-out;
}

/* Bonus : agrandir un peu les icônes ✅ ❌ */
tbody td {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    thead {
        display: none;
    }

    table, tbody, tr, td {
        display: block;
        width: 100%;
    }

    tr {
        margin-bottom: 15px;
        background: #fff;
        border-radius: 8px;
        padding: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    td {
        text-align: left;
        padding-left: 50%;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        color: #2B2B2B/*#234c66*/;
    }
}

/* ==== GRILLE DE CARTES ==== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==== IMAGES ARRONDIES DANS LES FORMULES ==== */ 
.card img {
    width: 100px;                                        /* Taille fixe */
    height: 100px;                                       /* Hauteur fixe pour forcer un cercle parfait */
    object-fit: cover;                                  /* Centre et rogne correctement */
    border-radius: 50%;                                 /* REND L'IMAGE CIRCULAIRE */
    margin-bottom: 15px;                                /* Espacement avec le titre */
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);      /* Petite ombre douce */
}

.card h2 {
    font-size: 1.3rem;
    color: #A3B18A;
    margin-bottom: 15px;
}

.card ul {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
    margin-bottom: 20px;
 }


/* ==== BOUTONS FORMULES + CONTACT ==== */

.btn{
    background-color: #D8CFC4 !important;
    color: white !important;
    transition: background-color 0.3s ease !important; 
}

.btn:hover {
    background-color: #a3b18a !important;
    color: white !important;
    background-color: #A3B18A;
}

/* ==== LIENS DES RESEAUX SOCIAUX ==== */

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ==== CARROUSEL Lola ==== */
.carrousel {
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
    position: relative;
}
.social-links a {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: #0f172a;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  background: #0f172a;
  color: #fff;
}

/* ==== SEPARATION EN "...." ==== */
.separator {
  border: none;                             /* Supprime la bordure par défaut */
  border-top: 5px dotted #000;            /* Bordure supérieure en pointillés (noire) */
  margin: 50px 100px;                        /* Espacement haut/bas */
}


/* ==== INDEX "NOS délais" ==== */


/* Section globale */
.delais-section {
  background: #f9fafb; /* fond gris clair */
  padding: 50px 20px;
  text-align: center;
  font-family: sans-serif;
}

.delais-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000000;
}

/* Timeline horizontale */
.timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

/* Étape (cercle + texte) */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
}

.step p {
  margin-top: 20px;
  font-weight: 500;
  color: #000000;
}

/* Cercles colorés */
.circle2 {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

/* Couleurs personnalisées */
.C1 { background: #ffffff; }
.C2 { background: #f0e9e1; }
.C3 { background: #e8d2b6; }
.C4 { background: #dbbf9c; }
.C5 { background: #b0926c; }
.C6 { background: #7a582e; }
.C7 { background: #a3b18a; }

/* Flèches */
.arrow {
  font-size: 3.5rem;
  color: #999;
  margin: 10 60px;
}

/* ==== HEADER ==== */
header {
    position: static;
    top: 0;
    width: 100%;
    background-color: #D8CFC4;
    padding: 15px 0;
    z-index: 1000;
}

/* ==== FOOTER ==== */
footer {
    background-color: #D8CFC4;
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 0,9rem;
}



