/* Définition des variables pour la nouvelle DA (Bronze Mât) */
:root {
    --color-primary: #1A2E44; /* Bleu Marine Profond (Confiance) */
    --color-secondary: #F0F4F8; /* Gris Très Clair (Fond des sections) */
    --color-accent: #C28B5C; /* NOUVELLE COULEUR: Bronze Mât / Cuivre Foncé */
    --color-text: #333333; /* Texte principal */
    --color-light-text: #666666; /* Texte secondaire */
    --color-white: #FFFFFF;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --max-width: 1200px;
    --section-padding: 100px 40px; 
}

/* -------------------- RESET & BASICS -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.5rem; font-weight: 600; }

.section-padding {
    padding: var(--section-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* -------------------- BOUTONS (CTA) -------------------- */
.cta-primary {
    display: inline-block;
    background-color: var(--color-accent); /* Couleur premium BRONZE */
    color: var(--color-white);
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid var(--color-accent);
}

.cta-primary:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.cta-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-primary);
    padding: 14px 30px;
    border: 2px solid var(--color-primary);
    border-radius: 5px;
    font-weight: 600;
    margin-left: 20px;
}

.cta-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-text-link {
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 15px;
    display: inline-block;
}

.btn-text-link:hover {
    color: var(--color-accent);
}

/* -------------------- HEADER & NAVIGATION (VERSION BLEUE AVEC LOGO) -------------------- */
.main-header {
    background-color: var(--color-primary); /* Bleu Marine Profond */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    position: sticky; 
    top: 0;
    z-index: 1000;
}

/* 1. LIEN GLOBAL DU LOGO (Conteneur Image + Texte) */
.logo-link {
    display: flex; /* Permet d'aligner l'image et le texte */
    align-items: center; /* Centre verticalement */
    gap: 10px; /* Espace entre le logo et le texte */

    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white); /* Texte BibiClean en blanc */
    transition: color 0.3s;
}

/* 2. Style de l'icône B */
.logo-icon {
    height: 35px; /* Taille de l'icône B */
    width: auto;
    /* IMPORTANT : Si votre fichier .png d'origine est noir, cette ligne le rend blanc pour le fond bleu */
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

/* 3. Style du texte et de l'icône au survol */
.logo-link:hover .logo-text {
    color: var(--color-accent); /* Le texte BibiClean passe au Bronze Mât */
}

/* 4. Liens de navigation (restent blancs) */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 500;
    color: var(--color-white); /* Blanc pour la lisibilité */
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--color-accent); /* Le Bronze au survol */
}

/* Style du bouton CTA dans le Header (BRONZE) */
.cta-button { 
    display: inline-block;
    background-color: var(--color-accent); /* Fond Bronze Mât */
    color: var(--color-white); /* Texte Blanc */
    
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    
    border: 2px solid var(--color-accent); /* Bordure Bronze */
    border-radius: 5px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.cta-button:hover {
    /* Au survol, on inverse les couleurs pour un effet premium */
    background-color: var(--color-primary); /* Fond devient Bleu Marine du header */
    color: var(--color-accent); /* Texte passe au Bronze Mât */
    border-color: var(--color-accent); /* Bordure reste Bronze */
    transform: translateY(-1px);
}


/* -------------------- HERO SECTION -------------------- */
.hero-section {
    position: relative;
    height: 80vh; 
    background: url('../assets/hero-background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-section::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* -------------------- SECTION PREUVE SOCIALE -------------------- */
.social-proof-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--color-secondary);
}

.proof-title {
    font-size: 1rem;
    color: var(--color-light-text);
    margin-bottom: 20px;
}

.logo-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-list img {
    height: 50px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}

.logo-list img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* -------------------- SECTION ENGAGEMENTS CLÉS (4 PILIERS) -------------------- */
.commitment-section {
    background-color: var(--color-white);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.pillar-card {
    padding: 30px 20px;
    border: 1px solid var(--color-secondary);
    border-radius: 8px;
    transition: background-color 0.3s;
}

.pillar-card:hover {
    background-color: var(--color-secondary);
}

.pillar-card i.icon-accent {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pillar-card h3 {
    font-size: 1.3rem;
}


/* -------------------- SECTION QUI SOMMES-NOUS & GÉNERAL -------------------- */
.about-summary-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-summary-section .text-content {
    flex: 1;
}

.about-summary-section .image-placeholder {
    flex: 1;
    min-height: 400px;
    background-color: var(--color-secondary); 
    border-radius: 8px;
}

/* -------------------- SECTION SERVICES -------------------- */
.services-section {
    background-color: var(--color-secondary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-accent {
    color: var(--color-accent); /* Icône en couleur BRONZE */
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-top: 0;
}

/* ============================================== */
/* NOUVEAU STYLE : SECTION RUPTURE (CTA intermédiaire) */
/* ============================================== */
.next-step-cta {
    background-color: var(--color-primary); /* Fond Bleu Marine */
    padding: 60px 40px; 
    text-align: center;
}

.next-step-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.next-step-cta h3 {
    color: var(--color-white); /* Titre en Blanc */
    font-size: 2rem;
    margin-bottom: 15px;
}

.next-step-cta p {
    color: rgba(255, 255, 255, 0.8); /* Texte secondaire clair */
    margin-bottom: 30px;
}

/* -------------------- SECTION CONTACT IMMERSIVE -------------------- */
.contact-immersive-section {
    background-color: var(--color-secondary);
    padding: var(--section-padding);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 80px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-text-area h2 {
    text-align: left;
    margin-bottom: 25px;
}

.contact-info {
    margin: 30px 0;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.contact-info i.icon-accent {
    margin-right: 10px;
}

.small-note {
    font-size: 0.9rem;
    color: var(--color-light-text);
}

/* Style du Formulaire */
.contact-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .big-cta {
    width: 100%;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 20px;
}

.calendly-placeholder {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--color-secondary);
    font-style: italic;
    color: var(--color-light-text);
}

/* -------------------- FOOTER -------------------- */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 40px 20px;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-grid h3, .footer-grid h4 {
    color: var(--color-accent); /* Titres en BRONZE */
    margin-bottom: 20px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom a {
    color: var(--color-white);
}

/* -------------------- RESPONSIVE BASIQUE -------------------- */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .main-header {
        padding: 15px 20px;
    }
    
    .main-nav {
        display: none; 
    }

    .footer-grid, 
    .about-summary-section,
    .contact-content-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .about-summary-section .image-placeholder {
        order: -1; 
    }
    
    .contact-text-area h2 {
        text-align: center;
    }

    .hero-section {
        height: 60vh;
    }
}
/* Style du conteneur de l'icône */
.service-icon {
    margin-bottom: 20px;
    /* ... autres styles ... */
}

.service-icon i {
    font-size: 2.8rem; /* NOUVEAU: Taille légèrement réduite */
    color: var(--color-accent); /* NOUVEAU: Couleur Bronze */
    display: block;
}

/* --- Correction affichage image section "Qui sommes-nous" --- */
.about-summary-section {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.about-summary-section .text-content {
  flex: 1;
}

.about-summary-section .image-placeholder {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background-color: transparent; /* enlève le fond bleu clair */
  display: flex;
  align-items: stretch;
}

.about-summary-section .image-placeholder img {
  width: 100%;
  height: auto; /* conserve les proportions naturelles */
  aspect-ratio: 4/3; /* équilibre la hauteur selon la largeur */
  object-fit: cover;
  border-radius: 8px;
  display: block;
}


