/* --- CONFIGURATION GLOBALE --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --card-bg: #16161a;
    --accent: #FF9F1C;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Outfit', sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- ANIMATIONS D'ENTRÉE --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-content, .s-card, .form-wrapper, .stat-item {
    animation: fadeInUp 0.8s ease forwards;
}

/* --- HEADER RÉPARÉ (RÉVISION MOBILE) --- */
header {
    padding: 15px 5%;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(15px);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav-container { 
    display: flex; 
    flex-direction: column; /* Empilé par défaut pour mobile */
    align-items: center; 
    gap: 15px;
    max-width: 1300px; 
    margin: 0 auto; 
}

.logo-area { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
}

.main-logo { 
    height: 70px; /* Taille mobile */
    width: auto; 
    background: white; 
    padding: 6px; 
    border-radius: 10px; 
    box-shadow: 0 0 20px rgba(255, 159, 28, 0.15);
    transition: var(--transition);
}

.brand-name { 
    font-weight: 700; 
    font-size: 1.1rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    text-align: center;
}
.brand-name span { color: var(--accent); }

/* Menu Mobile (évite les coupures) */
.desktop-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    gap: 15px;
    width: 100%;
}

.desktop-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.phone-link { 
    color: var(--accent) !important; 
    font-weight: 700; 
    text-decoration: none; 
    border: 2px solid var(--accent); 
    padding: 10px 20px; 
    border-radius: 8px; 
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero-premium {
    min-height: 85vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 80px 5%;
    background: radial-gradient(circle at center, rgba(255, 159, 28, 0.05) 0%, var(--bg-dark) 70%);
}

.tagline { color: var(--accent); text-transform: uppercase; letter-spacing: 4px; font-size: 0.9rem; font-weight: 700; display: block; margin-bottom: 15px; }
.hero-premium h1 { font-size: 3.5rem; margin-bottom: 25px; line-height: 1.1; font-weight: 700; }
.highlight { color: var(--accent); text-shadow: 0 0 30px rgba(255, 159, 28, 0.3); }
.hero-premium p { color: var(--text-dim); max-width: 700px; margin: 0 auto 40px; font-size: 1.2rem; }

.btn-primary { 
    background: var(--accent); color: var(--bg-dark); padding: 18px 35px; border-radius: 10px; 
    text-decoration: none; font-weight: 700; margin: 10px; display: inline-block; transition: var(--transition); 
}
.btn-secondary { 
    color: white; border: 1px solid rgba(255,255,255,0.3); padding: 17px 35px; border-radius: 10px; 
    text-decoration: none; font-weight: 700; margin: 10px; display: inline-block; transition: var(--transition); 
}

/* --- STATS BAR --- */
.stats-bar { display: flex; justify-content: center; gap: 60px; padding: 50px; background: var(--card-bg); border-top: 1px solid #222; flex-wrap: wrap; }
.stat-item strong { color: var(--accent); display: block; font-size: 2rem; margin-bottom: 5px; }

/* --- SLIDER ASSURANCES --- */
.assurance-slider {
    background: #0e0e11;
    padding: 30px 0;
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.slider-title {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.slider-track span {
    width: 200px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- SERVICES GRID --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 80px 5%; max-width: 1300px; margin: 0 auto; }
.s-card { background: var(--card-bg); padding: 50px 30px; border-radius: 25px; border: 1px solid #222; text-align: center; transition: var(--transition); }
.s-card:hover { border-color: var(--accent); transform: translateY(-10px); }
.s-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

/* --- TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 0 5% 80px 5%; max-width: 1200px; margin: 0 auto; }
.t-card { background: var(--card-bg); padding: 30px; border-radius: 15px; border: 1px solid #222; }
.stars { color: var(--accent); margin-bottom: 10px; }
.author { display: block; margin-top: 15px; color: var(--accent); font-weight: bold; }

/* --- CONTACT SECTION --- */
.contact-section { padding: 100px 5%; background: #0e0e11; }
.form-wrapper { max-width: 700px; margin: 0 auto; background: var(--card-bg); padding: 50px; border-radius: 30px; border: 1px solid #333; }
.input-row { display: flex; gap: 20px; }

input, textarea { background: #0a0a0c; border: 1px solid #333; padding: 18px; color: white; border-radius: 10px; width: 100%; margin-bottom: 15px; font-family: inherit; }
button { background: var(--accent); color: var(--bg-dark); border: none; padding: 20px; border-radius: 10px; font-weight: 700; width: 100%; cursor: pointer; transition: var(--transition); }
button:hover { transform: scale(1.02); }

/* --- AJUSTEMENTS ÉCRANS LARGES (ORDINATEUR) --- */
@media (min-width: 769px) {
    .nav-container { flex-direction: row; justify-content: space-between; }
    .logo-area { flex-direction: row; }
    .main-logo { height: 90px; }
    .brand-name { font-size: 1.4rem; }
    .desktop-menu { width: auto; gap: 25px; }
    .hero-premium h1 { font-size: 4.5rem; }
}

/* --- AJUSTEMENTS MOBILE (TABLETTE / PHONE) --- */
@media (max-width: 768px) {
    .hero-premium h1 { font-size: 2.5rem; }
    .input-row { flex-direction: column; gap: 0; }
    .stats-bar { gap: 30px; }
}

footer { text-align: center; padding: 60px; color: var(--text-dim); font-size: 0.9rem; border-top: 1px solid #222; }
/* --- LOGOS ASSURANCES EN COULEUR --- */
.slider-track img {
    height: 45px; /* On peut les agrandir un peu puisqu'ils sont en couleur */
    width: auto;
    margin: 0 40px; 
    display: inline-block;
    transition: transform 0.3s ease;
    /* On a supprimé le filtre noir et blanc ici */
}

.slider-track img:hover {
    transform: scale(1.1); /* Petit zoom sympa au survol */
}

.slider-track {
    display: flex;
    align-items: center;
    width: max-content; 
    animation: scroll 25s linear infinite; /* Animation fluide */
}
/* --- TITRES DE SECTIONS CENTRÉS --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-main);
    position: relative;
    width: 100%;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- RÉALISATIONS CENTRÉES --- */
.gallery-section {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    width: 100%;
}

.gallery-item {
    flex: 1 1 300px; /* Permet aux images de s'adapter tout en restant centrées */
    max-width: 380px;
    height: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #222;
}

/* --- AVIS CLIENTS CENTRÉS --- */
.testimonials {
    padding: 80px 5%;
    background: radial-gradient(circle at bottom, rgba(255, 159, 28, 0.03) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1100px;
    width: 100%;
}

.t-card {
    flex: 1 1 300px;
    max-width: 450px;
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #222;
    text-align: center; /* On centre le texte à l'intérieur de la carte */
    transition: var(--transition);
}

.t-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
/* --- SECTION RÉALISATIONS (REPARÉE ET CENTRÉE) --- */
.gallery-section {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0e0e11; /* Petit fond pour démarquer la section */
}

/* Container de la grille pour centrer les éléments */
.gallery-grid {
    display: flex;
    justify-content: center; /* Centre les photos sur la ligne */
    align-items: flex-start; /* Aligne le haut des photos si elles n'ont pas la même hauteur */
    flex-wrap: wrap; /* Passe à la ligne sur mobile */
    gap: 30px; /* Espace entre les photos */
    max-width: 1400px; /* Plus large pour accueillir de belles photos */
    width: 100%;
}

/* Le cadre de chaque photo */
.gallery-item {
    flex: 0 1 calc(33.33% - 20px); /* 3 colonnes par défaut */
    min-width: 300px; /* Évite qu'elles ne deviennent trop petites */
    max-width: 400px; /* Taille max pour garder de la qualité */
    
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    background: #000; /* Fond noir si la photo est transparente */
    transition: var(--transition);
    
    /* Pour s'assurer que le cadre s'adapte à l'image */
    height: auto; 
    display: flex;
}

/* L'image à l'intérieur du cadre */
.gallery-item img {
    width: 100%;
    height: auto; /* S'adapte proportionnellement */
    display: block;
    object-fit: contain; /* S'assure de voir TOUTE la photo, sans coupure */
    transition: transform 0.5s ease;
}

/* Effets au survol (Hover) */
.gallery-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 159, 28, 0.2); /* Ombre orange premium */
}

.gallery-item:hover img {
    transform: scale(1.03); /* Zoom léger et élégant */
}

/* Le texte par-dessus la photo (Overlay) */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9)); /* Dégradé plus doux */
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0; /* Caché par défaut */
    transition: opacity 0.3s ease;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1; /* Apparaît au survol */
}

/* --- RESPONSIVE GALLERY (MOBILE) --- */
@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 1 calc(50% - 15px); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 650px) {
    .gallery-item {
        flex: 1 1 100%; /* 1 colonne centrée sur téléphone */
        max-width: 100%;
    }
}
/* --- SECTION DOMINATION SEO --- */
.seo-section {
    padding: 100px 5%;
    background: var(--bg-dark);
    border-top: 1px solid #222;
}

.seo-container {
    max-width: 1300px;
    margin: 0 auto;
}

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

/* On réutilise tes cartes avec un alignement texte spécifique */
.seo-card {
    text-align: left !important;
    padding: 40px !important;
}

.seo-icon-wrapper {
    margin-bottom: 20px;
}

.seo-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.seo-card p {
    color: var(--text-dim);
    line-height: 1.8;
}

.seo-content-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
}

.seo-main-text {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 2;
    text-align: justify;
}

.seo-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--accent);
    opacity: 0.8;
}
.seo-hidden-tags {
    margin-top: 20px;
    text-align: center;
    color: #111;
    font-size: 0.7rem;
    user-select: none;
}
.seo-hidden-tags {
    display: none; /* Cache complètement l'élément visuellement */
}

/* OU alors, pour être plus discret auprès de Google */
.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    opacity: 0.6; /* Les rend très discrets sans les cacher */
    margin-top: 20px;
}
/* Style par défaut pour mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Cache le menu par défaut */
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px; /* Ajuste selon la hauteur de ton logo */
        left: 0;
        z-index: 1000;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex; /* Affiche le menu quand on clique */
    }

    .nav-links a {
        padding: 15px;
        border-bottom: 1px solid #333;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block; /* Affiche le bouton burger */
        background: none;
        border: none;
        color: #ff9800; /* Ta couleur orange */
        font-size: 30px;
        cursor: pointer;
    }
}

/* Sur PC, on garde l'affichage normal */
@media (min-width: 769px) {
    .mobile-menu-btn { display: none; }
    .nav-links { display: flex; gap: 15px; }
}
.logo-container img {
    width: 100%;
    max-width: 300px; /* Sur PC, il ne dépassera pas 300px */
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .logo-container img {
        max-width: 200px; /* Encore plus petit sur mobile */
    }
}
/* Header de base */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1001;
}

/* Style du bouton Burger */
.menu-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bar {
    width: 30px;
    height: 3px;
    background-color: #ff9800; /* Ton orange */
    border-radius: 2px;
}

/* LE VOLET (Caché à droite par défaut) */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Cache le menu hors de l'écran */
    width: 80%; /* Largeur du volet */
    height: 100vh;
    background: rgba(0, 0, 0, 0.98); /* Noir presque opaque */
    z-index: 2000;
    transition: 0.4s ease-in-out; /* Animation de glisse */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Quand le menu est ouvert */
.nav-overlay.active {
    right: 0; /* Fait glisser le menu vers l'intérieur */
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #ff9800;
    cursor: pointer;
}

.nav-list {
    list-style: none;
    text-align: center;
}

.nav-list li {
    margin: 25px 0;
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    transition: 0.3s;
}

.nav-list a:hover {
    color: #ff9800;
}
/* Pour que le logo ne soit pas trop grand */
.logo-img {
    height: 50px; /* Ajuste la hauteur selon tes goûts */
    width: auto;
    display: block;
}

/* Alignement du header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #000;
}
/* --- CONFIGURATION PC (Par défaut) --- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #000;
}

/* On cache le bouton burger sur PC */
.menu-toggle {
    display: none; 
}

/* On affiche le menu horizontal sur PC */
.nav-desktop {
    display: flex;
    gap: 20px;
}

.nav-desktop a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-desktop a:hover {
    color: #ff9800;
}

/* --- CONFIGURATION MOBILE (En dessous de 992px) --- */
@media (max-width: 992px) {
    /* On cache le menu horizontal */
    .nav-desktop {
        display: none;
    }

    /* On affiche le bouton burger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .bar {
        width: 30px;
        height: 3px;
        background-color: #ff9800;
        border-radius: 2px;
    }
}

/* Style du logo pour les deux */
.logo-img {
    height: 50px;
    width: auto;
}
/* --- LE STYLE EXACT DE TON BOUTON (PC) --- */
.call-button {
    background: transparent; /* Fond transparent pour voir le noir derrière */
    border: 3px solid #FFD000; /* Ta bordure orange épaisse (couleur tirée de ta photo) */
    color: #FFD000 !important; /* Texte de la même couleur orange */
    padding: 12px 25px; /* Espace intérieur pour le gras du bouton */
    border-radius: 12px; /* Coins arrondis exactement comme sur la photo */
    font-size: 1.2rem; /* Taille du texte du numéro */
    font-weight: 800 !important; /* Texte très gras (très épais) */
    text-decoration: none; /* Enlève le souligné du lien */
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espace entre l'icône et le numéro */
    transition: 0.3s; /* Effet fluide au survol */
}

/* L'effet au survol de la souris sur PC */
.call-button:hover {
    background: #FFD000; /* Le bouton se remplit d'orange */
    color: #000000 !important; /* Le texte devient noir */
}

/* --- AJUSTEMENTS POUR LE HEADER PC --- */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 20px; /* Espace entre les liens de menu */
}

.nav-desktop a {
    color: white; /* Les autres liens de menu restent blancs */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- AJUSTEMENTS POUR LE MOBILE (Dans le volet burger) --- */
/* Pour que le bouton soit aussi beau dans le menu mobile */
@media (max-width: 1024px) {
    .mobile-call {
        font-size: 1.1rem !important; /* Ajuste légèrement la taille du texte sur mobile */
        padding: 10px 20px; /* Un peu moins gros sur mobile */
        margin: 0 auto; /* Le centre dans le volet */
        display: inline-flex;
    }
}
.call-button {
    background: transparent;
    border: 3px solid #FFD000; /* Jaune-Orange vif */
    color: #FFD000 !important;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 800 !important; /* Très gras comme sur la photo */
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
}

.call-button:hover {
    background: #FFD000;
    color: #000 !important;
}

/* Ajustement spécifique pour le bouton dans le menu mobile */
.mobile-call {
    margin-top: 10px;
    font-size: 1.3rem !important;
}
/* --- BASE HEADER --- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* --- MENU PC --- */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-desktop a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Style de ton bouton d'appel */
.call-button {
    background: transparent;
    border: 2px solid #ff9800; /* Ta couleur orange */
    color: #ff9800 !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: bold !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.call-button:hover {
    background: #ff9800;
    color: #000 !important;
}

/* --- MOBILE --- */
.menu-toggle { display: none; } /* Caché sur PC */

@media (max-width: 1024px) {
    .nav-desktop { display: none; } /* Cache menu PC */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .bar {
        width: 30px;
        height: 3px;
        background-color: #ff9800;
        border-radius: 2px;
    }
}

/* Style Volet Mobile */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.98);
    z-index: 2000;
    transition: 0.4s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-overlay.active { right: 0; }

.nav-list { list-style: none; text-align: center; padding: 0; }
.nav-list li { margin: 25px 0; }
.nav-list a { color: white; text-decoration: none; font-size: 1.5rem; font-weight: bold; }
.mobile-call { font-size: 1.2rem !important; margin: 0 auto; }