/* ==================== 1. VARIABLES & RESET ==================== */
:root {
    --color-primary: #1C545E; /* Bleu Canard foncé */
    --color-secondary: #EBF2F4; /* Gris très clair / Off-White */
    --color-accent: #DAA520; /* Gold/Jaune pour l'accentuation */
    --font-family-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== 2. TYPOGRAPHIE & HEADINGS ==================== */
h1, h2, h3, h4 {
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15em;
    color: #555;
}

/* ==================== 3. HEADER & NAVIGATION ==================== */
header {
    background-color: #33555F; /* COULEUR BLEUE CANARD */
    color: white;
    padding: 15px 0;
    min-height: 70px; /* Assure une hauteur minimum */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between; /* ALIGNE LOGO À GAUCHE ET MENU À DROITE */
    align-items: center;
}

/* LOGO ET TITRE */
.logo-container {
    display: flex;
    align-items: center; 
}

.logo-img { 
    height: 80px; /* HAUTEUR DU LOGO */
    width: auto;
    margin-right: 5px; 
}

.drapeau-fr {
    height: 40px; /* HAUTEUR DU DRAPEAU (ALIGNÉ SUR LE LOGO) */
    width: auto;
    margin-right: 5px; 
    margin-left: 5px; 
}

.logo {
    font-size: 1.8em;
    font-weight: 900;
    color: white; /* COULEUR BLANCHE POUR ÊTRE VISIBLE SUR LE FOND BLEU */
    margin-left: 10px; 
}

/* NAVIGATION (côté droit) */
nav {
    display: flex;
    align-items: center; 
}
nav ul {
    list-style: none;
    display: flex; /* ALIGNE LES LIENS HORIZONTALEMENT */
    margin: 0; 
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: 500;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==================== 4. SECTIONS GÉNÉRALES ==================== */
.section {
    padding: 80px 0;
}

.section-alt {
    padding: 80px 0;
    background-color: var(--color-secondary);
}

/* ==================== 5. BOUTONS ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: #153E45; 
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    margin-left: 15px;
}

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

/* ==================== 6. HERO (ACCUEIL) ==================== */
.hero {
    /* Utilise l'image et une couleur de secours */
    background: var(--color-secondary) url('hero-background.png') no-repeat center 14%/cover;
    color: var(--color-primary); 
    padding: 120px 0;
    text-align: center;
}

.hero .hero-content {
    /* Opacité réduite à 70% (0.7) pour mieux voir l'arrière-plan */
    background-color: rgba(255, 255, 255, 0.7); 
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.25em;
    margin-bottom: 25px;
    color: #555;
}

.hero-buttons {
    margin-top: 30px;
}

/* ==================== 7. ABOUT (FEATURES) ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.feature-item {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 3em;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.3em;
}

/* ==================== 8. PRESTATIONS (SERVICES) ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon-service {
    font-size: 3.5em;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* ==================== 9. TARIFS (VERSION BUSINESS/ÉPURÉE) ==================== */
.tariffs-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Ombre plus marquée */
    max-width: 650px; 
    margin: 0 auto;
    text-align: center;
}

.tariffs-box h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.tariff-item-new {
    text-align: left;
    margin-bottom: 30px;
}

.price-line {
    display: flex;
    justify-content: space-between; /* ALIGNE GAUCHE/DROITE */
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-secondary);
}

.price-line:last-of-type {
    border-bottom: none;
}

.price-label {
    font-size: 1.1em;
    font-weight: normal;
    color: #333;
}

.price-value {
    font-size: 1.5em; /* Taille du prix */
    font-weight: 900;
    color: var(--color-accent); /* Couleur or pour le prix */
}

.note {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.important-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-secondary);
    text-align: center;
}

/* ==================== 10. RÉALISATIONS (GALERIE) ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* FORCÉ EN 4 COLONNES */
    gap: 20px;
    margin-top: 40px;
}
                
.gallery-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden; 
}
                
.gallery-item img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    display: block;
}
                
.caption {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: var(--color-primary);
    background-color: var(--color-secondary); 
}

/* ==================== 11. PROCESSUS ==================== */
.process-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.process-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-top: 4px solid var(--color-primary);
    border-radius: 5px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.process-item h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

/* ==================== 12. AVIS (REVIEWS) ==================== */
.review-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.placeholder-text {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--color-primary);
}


/* ==================== 13. CONTACT ==================== */
#contact h2 {
    margin-bottom: 10px;
}

#contact iframe {
    border: none; 
    border-radius: 0;
    margin-top: 20px;
    box-shadow: none; 
}

/* ==================== 14. FOOTER ==================== */
footer {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* ==================== 15. RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    
    h2 {
        font-size: 2em;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    /* Le logo et le titre restent alignés */
    .logo-container {
        justify-content: center;
        margin-bottom: 10px;
    }

    nav {
        flex-direction: column; 
        width: 100%;
    }

    .drapeau-fr {
        margin-bottom: 0px; /* Ajusté pour éviter trop d'espace */
        margin-right: 0; 
    }

    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        padding: 5px 10px;
    }

    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero .hero-content {
        padding: 30px 20px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .features-grid, .services-grid, .gallery-grid {
        grid-template-columns: 1fr; /* Galerie repasse à 1 colonne sur mobile */
    }

    .process-list {
        flex-direction: column;
    }
    
    .process-item {
        margin-bottom: 15px;
    }
}
