/* =================================================================
   TABLE DES MATIÈRES CSS
   =================================================================
   1.  Variables de Couleur et Polices
   2.  Styles Généraux (Body, Titres)
   3.  Boutons et Éléments Communs
   4.  Header / Navigation
   5.  Section Accueil (Hero)
   6.  Bandeau de Confiance
   7.  Section Services
   8.  Étude de Cas (Réalisations)
   9.  Section À Propos
   10. Foire Aux Questions (FAQ)
   11. Section Contact
   12. Footer (Pied de page)
   13. Animations
================================================================= */

/* 1. VARIABLES DE COULEUR ET POLICES */
:root {
    --primary-color: #FFC107; /* Jaune électrique */
    --secondary-color: #0d2c4a; /* Bleu marine pro */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #495057;
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

/* 2. STYLES GÉNÉRAUX (BODY, TITRES) */
body {
    font-family: var(--font-body);
    padding-top: 80px; /* Espace pour le header fixe */
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}
.section-title.text-start::after {
    left: 0;
    transform: none;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* 3. BOUTONS ET ÉLÉMENTS COMMUNS */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    padding: 12px 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #e6ac00;
    border-color: #e6ac00;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 4. HEADER / NAVIGATION */
.header {
    background-color: rgba(13, 44, 74, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-family: var(--font-title);
    color: #fff !important;
    font-size: 1.5rem;
}
.nav-link {
    color: #fff !important;
    margin: 0 10px;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.2);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 193, 7, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 5. SECTION ACCUEIL (HERO) */
.hero-section {
    padding: 150px 0;
    background: linear-gradient(rgba(13, 44, 74, 0.7), rgba(13, 44, 74, 0.7)), url('https://via.placeholder.com/1920x1080.png?text=CHANTIER+DE+QUALITÉ') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Effet Parallax */
}

/* 6. BANDEAU DE CONFIANCE */
.trust-banner {
    background-color: var(--light-color);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
}
.trust-banner .col-md-3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}
.trust-banner i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

/* 7. SECTION SERVICES */
.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 8. ÉTUDE DE CAS (RÉALISATIONS) */
.case-study h4 {
    color: var(--primary-color);
}
.case-study p {
    font-size: 0.95rem;
}
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.case-study .img-caption {
    background: rgba(13, 44, 74, 0.85);
    color: white;
    text-align: center;
    padding: 5px 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(2px);
}

/* 9. SECTION À PROPOS */
/* (Pas de styles spécifiques additionnels requis, utilise les styles généraux) */


/* 10. FOIRE AUX QUESTIONS (FAQ) */
.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden; /* Pour les coins arrondis */
}
.accordion-button {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    border-radius: 8px !important;
}
.accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    background-color: #fff;
    box-shadow: inset 0 -2px 0 var(--primary-color);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}
.accordion-button::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\2b"; /* plus icon */
    background-image: none;
    transform: rotate(0);
    transition: transform 0.3s ease-in-out;
}
.accordion-button:not(.collapsed)::after {
    content: "\f068"; /* minus icon */
    transform: rotate(180deg);
}
.accordion-body {
    font-size: 0.95rem;
    line-height: 1.7;
    background-color: #fff;
}

/* 11. SECTION CONTACT */
.form-control {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255,193,7,.25);
}

/* 12. FOOTER (PIED DE PAGE) */
.footer {
    background-color: var(--dark-color);
}
.footer .social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer .social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* 13. ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}