/* --- VARIABLES (Nouvelle DA Fraîche et Minimaliste) --- */
:root {
    --color-bg: #ffffff;           /* Fond blanc pur pour le minimalisme */
    --color-bg-alt: #f4f8fa;       /* Gris-bleu très clair pour les sections alternées */
    
    /* Couleurs extraites de votre logo */
    --color-dark: #0d2b51;         /* Bleu nuit très profond (toit de la maison/textes) */
    --color-accent: #2185d0;       /* Bleu vif principal (texte ANAPURNA) */
    --color-accent-light: #8ccdf5; /* Bleu clair (dégradé) */
    
    --color-text: #555555;         /* Gris doux pour le texte (plus lisible que le noir pur) */
    --color-white: #ffffff;
    
    /* Nouvelles Polices (100% Sans-Serif pour le côté moderne/épuré) */
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Inter', sans-serif;
}

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

body {
    background-color: var(--color-bg);
    font-family: var(--font-text);
    color: var(--color-text);
    line-height: 1.7; /* Interligne plus aéré */
    -webkit-font-smoothing: antialiased; /* Rend le texte plus net sur les écrans modernes */
}

h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--color-dark);
    font-weight: 600;
}

h5{
    font-size: 1.5rem;
    font-weight: 600;
    color:white;
}

h1{
    font-family: var(--font-title);
    color: var(--color-accent-light);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER (Minimaliste, fond blanc) --- */
header {
    background-color: rgba(255, 255, 255, 0.98); /* Blanc presque opaque */
    backdrop-filter: blur(10px); /* Effet de flou moderne au scroll */
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); /* Ombre très discrète */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo texte (si l'image ne charge pas) */
.logo a {
    color: var(--color-accent);
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    color: var(--color-dark);
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

/* Effet de soulignement moderne au survol */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Bouton Contact Navigation */
.btn-cta {
    background: linear-gradient(90deg, var(--color-accent) 0%, #3ba4f5 100%); /* Dégradé inspiré du logo */
    color: var(--color-white) !important;
    padding: 12px 28px;
    border-radius: 4px; /* Coins légèrement arrondis (style architecte) */
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border: none;
}

.btn-cta::after { display: none; /* Désactive le soulignement sur le bouton */ }

.btn-cta:hover {
    box-shadow: 0 5px 15px rgba(33, 133, 208, 0.3);
    transform: translateY(-2px);
}

/* --- CONTENU PRINCIPAL --- */
main {
    min-height: 80vh;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-bg-alt); /* Gris très clair au lieu du gros bloc noir */
    color: var(--color-text);
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
    border-top: 1px solid #eaeaea;
}

/* --- SECTION HERO (BANNIÈRE) --- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--color-white);
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 43, 81, 0.5); /* Bleu nuit transparent pour le contraste */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -1px; /* Typographie plus resserrée, moderne */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* Boutons de la bannière */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-main {
    background: var(--color-accent);
    color: white;
    padding: 16px 35px;
    border-radius: 4px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 16px 35px;
    border-radius: 4px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-main:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--color-dark);
}

/* --- SECTION INTRO --- */
.intro {
    padding: 100px 0;
    text-align: center;
    background-color: var(--color-bg);
}

.intro h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.intro-text {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--color-text);
}

/* --- UTILITAIRES --- */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--color-bg-alt); }
.text-center { text-align: center; }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--color-dark);
}

/* --- GRILLE SERVICES --- */


@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        min-height: auto; /* Sur mobile, la hauteur s'adapte au contenu */
    }
}

/* --- NOUVELLES CARTES PHOTOS --- */
/* =========================================
   SECTION DOMAINES D'EXPERTISE (RESPONSIVE)
   ========================================= */

/* --- 1. LA GRILLE RESPONSIVE --- */
.services-grid {
    display: grid;
    /* Par défaut (Ordinateur) : 5 colonnes de même taille */
    grid-template-columns: repeat(5, 1fr);
}

@media (min-width: 1024px) {
    .service-card h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    top: 0px;
    position: fixed;
    margin: 0 auto;
    background: dodgerblue;
    padding: 0px 10px;
}
}


/* Écrans moyens (Tablettes en mode paysage, petits ordinateurs) : max 1024px */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* Passe sur 3 colonnes */
    }
        .service-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto;
    padding: 0px 10px;
}
}

/* Tablettes en mode portrait : max 768px */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Passe sur 2 colonnes */
    }
    .service-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto;
    padding: 0px 10px;
}
}

/* Téléphones mobiles : max 576px */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr; /* Passe sur 1 seule colonne */
    }
    
    .service-card {
        height: 300px !important; /* On réduit un peu la hauteur des cartes sur mobile pour ne pas devoir scroller à l'infini */
    }
        .service-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto;
    padding: 0px 10px;
}
}

/* --- 2. LES CARTES PHOTOS --- */
.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Pousse le texte et les boutons vers le bas de la carte */
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px; /* Hauteur par défaut sur ordinateur */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* Le filtre sombre sur l'image (pour que le texte blanc soit toujours lisible) */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Dégradé : transparent en haut, presque noir en bas */

}

.service-card:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(255, 255, 255, 0.096) 100%);
    transition: 0.4s ease;
}

/* --- 3. LE CONTENU (Texte et Boutons) --- */
.card-content {
    position: relative;
    z-index: 2; /* S'assure que le texte est AU-DESSUS du filtre sombre */
    padding: 25px 20px;
    width: 100%;
    color: #ffffff;
}

/* Conteneur des boutons */
.cta-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* --- DEFINITION DES IMAGES DE FOND (À REMPLACER PAR VOS PHOTOS) --- */
.card-cuisine {
    background-image: url('https://anapurna.fr/assets/img/photos/cuisine35.jpeg');
}
.card-dressing {
    background-image: url('https://anapurna.fr/assets/img/photos/dressing7.jpeg');
}
.card-amenagement {
    background-image: url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=800&q=80');
}
.card-menuiserie {
    background-image: url('https://anapurna.fr/assets/img/photos/menuiserie16.jpeg');
}
.card-fenetre {
    background-image: url('https://anapurna.fr/assets/img/photos/fenetre32.jpeg');
}


/* --- NOUVEAUX BOUTONS STYLE "HERO" --- */
.cta-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn-hero {
    /* Style exact de la demande */
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff; /* Bordure blanche plus épaisse */
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 400; /* Texte en gras */
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px; /* Coins légèrement arrondis comme sur l'image */
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

/* Effet au survol du bouton */
.btn-hero:hover {
    background-color: #ffffff; /* Le fond devient blanc */
    color: var(--color-dark); /* Le texte prend votre couleur sombre principale (ex: bleu marine) */
    border-color: #ffffff;
}

/* --- SLIDER (CARROUSEL) --- */
.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    aspect-ratio: 16/9;
}

/* ... (le reste du slider HTML/JS est identique, le CSS du slider s'intègre bien) ... */
.slider-wrapper { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    color: white;
    padding: 40px 30px 20px;
}
.prev-btn, .next-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; font-size: 1.5rem; color: rgba(255, 255, 255, 0.712);
    width: 50px; height: 50px; cursor: pointer; border-radius: 50%; /* Boutons ronds minimalistes */
    transition: 0.3s; display: flex; align-items: center; justify-content: center;
}
.prev-btn:hover, .next-btn:hover { background: white; color: var(--color-accent); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- BANNIÈRE CTA BAS --- */
.cta-banner {
    background-color: var(--color-bg-alt);
    color: var(--color-dark);
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid #eaeaea;
}
.cta-banner h2 { color: var(--color-dark); margin-bottom: 15px; }
.cta-banner p { margin-bottom: 30px; font-size: 1.2rem; color: var(--color-text); }
.btn-white {
    background: var(--color-accent);
    color: white;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}
.btn-white:hover { background: var(--color-dark); }

/* --- ANIMATIONS SCROLL --- */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* --- PAGES INTERNES (Header avec image de fond) --- */
.page-services-header {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 150px 0 100px; 
    text-align: center;
    z-index: 1;
}

.page-header {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 150px 0 100px; 
    text-align: center;
    margin-bottom: 80px;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(13, 43, 81, 0.65); /* Bleu du logo transparent */
    z-index: -1;
}

.page-header h1 { font-size: 3.5rem; margin-bottom: 15px; }
.page-header p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

.page-services-header::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(13, 43, 81, 0.65); /* Bleu du logo transparent */
    z-index: -1;
}

.page-services-header h1 { font-size: 3.5rem; margin-bottom: 15px; }
.page-services-header p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* --- PAGE SERVICES --- */
.service-detail {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.service-detail.reverse { flex-direction: row-reverse; }

.service-text { flex: 1; }
.service-text h2 { font-size: 2.2rem; margin-bottom: 25px; }
.service-text ul { margin-top: 25px; }
.service-text ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--color-text);
}
.service-text ul li::before {
    content: ''; /* Remplacement de la coche par un trait minimaliste */
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 2px;
    background-color: var(--color-accent);
}

.service-img { flex: 1; }
.service-img img {
    width: 100%;
    border-radius: 4px; /* Plus sobre */
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* --- PAGE CONTACT --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

.contact-info-box {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eaeaea; /* Bordure claire, pas d'ombre lourde */
}

.contact-item { margin-bottom: 30px; }
.contact-item h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--color-dark);
}

/* Formulaire Épuré */
form label {
    display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; color: var(--color-dark);
}
form input, form textarea {
    width: 100%;
    padding: 15px 0; /* Padding seulement en haut/bas */
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #ccc; /* Ligne de saisie minimaliste */
    border-radius: 0;
    font-family: inherit;
    background: transparent;
    transition: border-color 0.3s;
}
form input:focus, form textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--color-accent);
}

/* --- GALERIE REALISATIONS (Style Masonry Minimaliste) --- */

/* 1. Les Filtres */
.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Plus d'espace */
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-title); /* Police titre pour les filtres */
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    color: #a0a0a0;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--color-dark);
    border-bottom: 2px solid var(--color-accent);
}

.separator { display: none; /* On enlève les "/" pour faire plus propre et aéré */ }

/* 2. La Grille */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.masonry-item.hidden { display: none; }

.masonry-content {
    position: relative; height: 100%; width: 100%; aspect-ratio: 1 / 0.8;
}

.masonry-content img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease;
}

/* 3. Effet de survol (Overlay Blanc/Clair Minimaliste) */
.overlay-text {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Voile blanc au lieu de bleu foncé */
    color: var(--color-dark);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.4s ease; text-align: center; padding: 20px;
}

.overlay-text h3 { font-size: 1.5rem; transform: translateY(15px); transition: transform 0.4s ease; margin-bottom: 5px; color: var(--color-dark); }
.overlay-text p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; transform: translateY(15px); transition: transform 0.4s ease 0.1s; color: var(--color-accent); }

.masonry-item:hover img { transform: scale(1.05); }
.masonry-item:hover .overlay-text { opacity: 1; }
.masonry-item:hover .overlay-text h3, .masonry-item:hover .overlay-text p { transform: translateY(0); }

/* Conteneur des boutons */
.cta-container {
    display: flex;
    flex-direction: column; /* ou 'row' si vous les voulez côte à côte */
    gap: 10px;
    margin-top: 15px;
    align-items: center;
}

/* Style de base des boutons (à adapter selon votre charte graphique) */
.btn-cta {
    display: inline-block;
    padding: 8px 16px;
    background-color: #004080; /* Remplacez par votre couleur */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.8em;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: 400;
}

.btn-cta:hover {
    background-color: #00264d; /* Couleur au survol */
    color: #ffffff;
    transition: 0.3s ease;
}

.icon i {
    font-size: 45px; /* Taille de l'icône */
    color: #003366; /* Remplacez par le bleu exact de vos titres */
    margin-bottom: 15px;
}

/* --- GALERIE PHOTOS --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.photo-grid img {
    width: 100%;
    height: 250px; /* Force toutes les images à avoir la même hauteur */
    object-fit: cover; /* Recadre proprement l'image sans la déformer */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.03); /* Petit effet de zoom au survol */
}

/* --- CARROUSEL DE LOGOS INFINI (Pur CSS) --- */
.logos-marquee {
    overflow: hidden;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
    margin-top: 30px;
}

.logos-track {
    display: inline-flex;
    gap: 50px; /* Espace entre les logos */
    align-items: center;
    animation: scroll-left 20s linear infinite; /* 20s = vitesse du carrousel */
}

.logos-track img {
    height: 60px; /* Hauteur fixe pour uniformiser les logos */
    width: auto;
    filter: grayscale(100%); /* Met les logos en noir et blanc pour plus d'élégance */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logos-track img:hover {
    filter: grayscale(0%); /* Remet la couleur au survol */
    opacity: 1;
}

/* L'animation qui fait défiler le carrousel */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
    /* -50% car on a doublé les images dans le HTML pour l'illusion d'infini */
}


/* --- SECTION SAVOIR-FAIRE AMÉLIORÉE --- */

/* Fond légèrement gris pour détacher la section */
.bg-light-grey {
    background-color: #f8f9fa; 
    padding: 60px 0; /* Espace en haut et en bas */
}

/* Texte d'introduction plus élégant */
.intro-savoir-faire {
    max-width: 800px; /* Évite que le texte soit trop large sur grand écran */
    margin: 0 auto 40px auto; /* Centre le bloc et met une marge en bas */
}

.lead-text {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
}

/* Grille des 3 points forts */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
    gap: 30px;
}

/* Style des petites cartes */
.feature-box {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Ombre douce et moderne */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px); /* Petit effet de soulèvement au survol */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Style de l'icône dans la carte */
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background-color: #e6f0fa; /* Un bleu très clair (fond de l'icône) */
    border-radius: 50%; /* Fait un cercle parfait */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper i {
    font-size: 30px;
    color: #1a365d; /* Votre bleu marine */
}

.feature-box h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

/* Curseur en forme de loupe pour indiquer la lightbox */

.gallery-link img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease; /* Animation fluide */
    cursor: zoom-in; /* Le fameux curseur loupe */
}

/* Léger zoom au survol de l'image */
.gallery-link:hover img {
    transform: scale(1.03);
}


/* Espacement et alignement des boutons CTA dans la page Prestations */
.cta-group {
    display: flex;
    gap: 15px; /* Espace entre les boutons */
    flex-wrap: wrap; /* Permet aux boutons de passer à la ligne sur les petits écrans mobiles */
    margin-top: 25px;
}


/* --- SOUS-MENU (DROPDOWN) --- */

/* Position relative sur le parent pour que le sous-menu se cale par rapport à lui */
nav ul li.has-dropdown {
    position: relative;
}

/* Style du sous-menu (caché par défaut) */
nav ul li.has-dropdown .submenu {
    display: none; /* Cache le menu */
    position: absolute;
    top: 100%; /* Se place juste en dessous de "Nos Prestations" */
    left: 0;
    background-color: #ffffff;
    min-width: 220px; /* Largeur du sous-menu */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1); /* Belle ombre portée */
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000; /* Assure que le menu passe par-dessus le reste du site */
}

/* Affichage du sous-menu au survol de la souris */
nav ul li.has-dropdown:hover .submenu {
    display: block;
}

/* Style des liens à l'intérieur du sous-menu */
nav ul li.has-dropdown .submenu li {
    display: block; /* Les liens se mettent les uns sous les autres */
    margin: 0;
}

nav ul li.has-dropdown .submenu li a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    font-size: 0.95rem;
    text-transform: none; /* Annule les majuscules s'il y en a sur le menu principal */
    transition: all 0.2s ease;
}

/* Style au survol d'un lien du sous-menu */
nav ul li.has-dropdown .submenu li a:hover {
    background-color: #f4f6f9; /* Gris très clair / bleuté */
    color: #1a365d; /* Votre bleu marine */
    padding-left: 25px; /* Petit effet de décalage du texte très élégant */
}

/* --- PAGE CATALOGUES --- */

.catalog-grid {
    display: grid;
    /* Crée une grille réactive de 3 colonnes, qui passe à 2 ou 1 sur petits écrans */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.catalog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.catalog-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.catalog-icon {
    width: 50px;
    height: 50px;
    background-color: #f1f5f9;
    color: #1a365d; /* Votre bleu marine */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
}

.catalog-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #1a365d;
}

.catalog-body {
    flex-grow: 1; /* Pousse les boutons vers le bas si le texte est court */
    display: flex;
    flex-direction: column;
}

.catalog-body p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.catalog-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Style spécifique pour les boutons de type lien texte */
.btn-text {
    color: #3182ce;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.2s ease;
}

.btn-text:hover {
    color: #1a365d;
    text-decoration: underline;
}

/* Les icônes à l'intérieur des boutons */
.catalog-actions i {
    margin-right: 8px;
}

/* --- SECTION MAGASIN --- */

.store-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes de taille égale */
    gap: 40px;
    align-items: center; /* Centre verticalement le texte par rapport à la carte */
    margin-top: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Belle ombre douce */
}

/* Informations texte */
.store-info h3 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.store-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.store-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #444;
}

.store-details li i {
    font-size: 24px;
    color: #3182ce; /* Bleu clair */
    margin-right: 15px;
    margin-top: 3px;
    width: 25px;
    text-align: center;
}

.store-details li strong {
    color: #1a365d;
    font-size: 1.1rem;
}

/* Conteneur de la carte */
.store-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Force l'iframe à s'adapter au conteneur (très important pour le mobile) */
.store-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsive pour tablettes et mobiles */
@media (max-width: 992px) {
    .store-grid {
        grid-template-columns: 1fr; /* Passe sur 1 seule colonne */
        padding: 25px;
    }
    
    .store-map iframe {
        min-height: 300px; /* Réduit un peu la hauteur de la carte sur mobile */
    }
}


/* --- RÉSEAUX SOCIAUX DANS LE HEADER --- */
nav ul li.nav-social a {
    font-size: 1.3rem; /* Rend les icônes légèrement plus grandes que le texte */
    color: #1a365d; /* Votre bleu marine par défaut */
    padding: 10px 8px; /* Espacement autour des icônes */
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* Couleurs au survol dans le Header */
nav ul li.nav-social a:hover .fa-instagram {
    color: #E1306C; /* Rose/Rouge officiel Instagram */
    transform: scale(1.1); /* Petit effet de grossissement */
}

nav ul li.nav-social a:hover .fa-facebook-f {
    color: #1877F2; /* Bleu officiel Facebook */
    transform: scale(1.1);
}










/* =========================================
   FOOTER MINIMALISTE (Style Maquette)
   ========================================= */

.site-footer-minimal {
    background-color: #2186D1;
    color: #ffffff;
    padding: 70px 0 40px 0;
    font-family: 'Inter', sans-serif; /* Utilisez votre police habituelle */
}

/* Grille du haut (4 colonnes) */
.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; /* La 1ère colonne (logo) est un peu plus large */
    gap: 30px;
    align-items: flex-start;
}

/* Colonne Logo */
.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.footer-slogan {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Listes de liens (Mise en page identique à l'image) */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #95D5FA; /* Touche de bleu au survol */
}

/* Ligne fine de séparation */
.footer-divider {
    border: 0;
    height: 1px;
    background-color: #ffffff;
    margin: 50px 0 40px 0;
}

/* Partie basse (Centrée) */
.footer-bottom-section {
    text-align: center;
}

/* Cercles des réseaux sociaux */
.footer-social-circles {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social-circles a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #ffffff; /* Bordure blanche fine */
    border-radius: 50%; /* Fait un cercle parfait */
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Effet au survol des cercles */
.footer-social-circles a:hover {
    background-color: #ffffff;
    color: #111111; /* L'icône devient noire quand le fond devient blanc */
    transform: translateY(-3px);
}

/* Copyright */
.footer-copyright {
    font-size: 0.85rem;
    margin: 0;
}

.footer-copyright a {
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #ffffff;
}

/* --- RESPONSIVE MOBILE & TABLETTE --- */
@media (max-width: 992px) {
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-top-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur téléphone */
        text-align: center; /* Centre tout sur mobile pour faire plus propre */
    }
}



/* --- BOUTON HAMBURGER (Caché par défaut) --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1a365d; /* Votre bleu marine */
    cursor: pointer;
    padding: 10px;
}

/* --- RESPONSIVE NAVIGATION (< 1024px) --- */
@media (max-width: 1024px) {
    
    /* 1. On affiche le bouton hamburger */
    .mobile-menu-toggle {
        display: block;
    }

    /* 2. On cache la liste des liens par défaut */
    nav.main-nav ul {
        display: none; /* Caché */
        flex-direction: column;
        position: absolute;
        top: 100%; /* S'ouvre juste en dessous du header */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }

    /* 3. Classe '.active' qui sera rajoutée par le JS pour afficher le menu */
    nav.main-nav ul.active {
        display: flex;
    }

    /* 4. On aligne les liens proprement au centre */
    nav.main-nav ul li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    nav.main-nav ul li a {
        display: block;
        padding: 10px 20px;
    }

    /* 5. Les icônes sociales côte à côte */
    nav.main-nav ul li.nav-social {
        display: inline-block;
        width: auto;
        margin: 10px 15px;
    }

    /* 6. Fix pour le sous-menu "Nos Prestations" sur mobile */
    nav ul li.has-dropdown .submenu {
        position: static; /* Ne flotte plus par-dessus, mais pousse le reste vers le bas */
        box-shadow: none;
        background-color: #f8fafc; /* Fond très légèrement gris pour le différencier */
        width: 100%;
        padding: 10px 0;
    }
}





.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover.instagram {
    background-color: #E1306C;
    color: #ffffff;
    transform: translateY(-3px);
}

.social-icon:hover.facebook {
    background-color: #1877F2;
    color: #ffffff;
    transform: translateY(-3px);
}


/* Responsive pour tablettes et mobiles */
@media (max-width: 992px) {
    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .features-grid-3 {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
    }
}


/* --- RESPONSIVE (Mobile) --- */
@media (max-width: 768px) {
    .service-detail, .service-detail.reverse, .contact-grid { flex-direction: column; display: flex; gap: 40px; }
    .header-content { flex-direction: column; gap: 20px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 2.5rem; }
}