/* ==========================================================================
   1. VARIABLES & CONFIGURATION GENERALE
   ========================================================================== */
:root {
    /* Palette de couleurs modernes inspirée du logo SDS */
    --primary-color: #00A3E0;       /* Bleu clair / Cyan dynamique */
    --secondary-color: #0A2540;     /* Bleu nuit profond */
    --accent-color: #FF4500;        /* Orange/Rouge dégradé du logo */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --footer-bg: #0F172A;           /* Gris/Bleu ardoise très sombre */
    
    /* Typographie & Rayon */
    --font-main: 'Inter', sans-serif;
    --border-radius: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (Effet Verre / Glassmorphism)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.site-logo {
    height: 70px;
    object-fit: contain;
    /* Ce filtre magique élimine le fond blanc et garde les couleurs intactes */
    mix-blend-mode: multiply; 
    filter: contrast(1.1); /* Donne un petit coup de boost aux dégradés */
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--secondary-color);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

/* Barre animée sous les liens active/hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Sélecteur de Langue */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    border-color: var(--primary-color);
}

.lang-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.lang-option:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF4FA 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.badge {
    background-color: rgba(0, 163, 224, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Boutons Modernes */
.btn {
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0082B4 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 163, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 224, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   4. SECTION AVIS (Style Google Widget)
   ========================================================================== */
.reviews-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rating-num {
    font-size: 24px;
    font-weight: 700;
    color: #FFB300;
}

.stars i {
    color: #FFB300;
    font-size: 18px;
}

.rating-count {
    color: var(--text-light);
    font-size: 14px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.review-card {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-user {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.user-info h5 {
    font-size: 16px;
    color: var(--secondary-color);
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

.g-icon {
    width: 20px;
    height: 20px;
}

.review-stars {
    color: #FFB300;
    margin-bottom: 16px;
    font-size: 14px;
}

.review-text {
    font-style: italic;
    font-size: 15px;
    color: #4A5568;
    margin-bottom: 20px;
}

.verified-badge {
    font-size: 12px;
    color: #38A169;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   5. FAT FOOTER (Minimaliste & Luxe)
   ========================================================================== */
.fat-footer {
    background-color: var(--footer-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 24px;
    filter: brightness(1.1); /* Ajuste l'éclat si besoin sur fond sombre */
}

.brand-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #94A3B8;
}

.siren-info {
    margin-top: 16px;
    font-size: 12px !important;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

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

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

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-col p i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN & RESPONSIVE MENU
   ========================================================================== */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    /* Menu burger mobile en JS */
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        box-shadow: var(--shadow-medium);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
/* Styles additionnels pour les pages Prestations & À propos */
.page-title-section {
    padding: 25px 0; 
    background-color: var(--secondary-color);
    color: var(--bg-white);
    text-align: center;
}
.page-title-section h1 { font-size: 36px; margin-bottom: 12px; }
.page-title-section p { color: #94A3B8; font-size: 16px; }

.services-large-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 60px 0;
}
.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    align-items: center;
}
.service-detail-card.reverse { direction: rtl; }
.service-detail-card.reverse .service-detail-content { direction: ltr; }
.service-img-wrapper img { border-radius: var(--border-radius); width: 100%; object-fit: cover; height: 320px; }
.service-icon-box { width: 50px; height: 50px; background: rgba(0, 163, 224, 0.1); color: var(--primary-color); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 20px; margin-bottom: 16px; }
.service-features { list-style: none; margin-top: 16px; }
.service-features li { margin-bottom: 8px; font-size: 14px; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.service-features li i { color: #38A169; }

/* À Propos */
.about-section { padding: 80px 24px; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.about-legal-card { background: var(--bg-white); padding: 32px; border-radius: var(--border-radius); box-shadow: var(--shadow-medium); border-left: 4px solid var(--primary-color); }
.about-legal-card h4 { margin-bottom: 20px; color: var(--secondary-color); }
.legal-info-row { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 14px; }
.legal-info-row span { color: var(--text-light); font-size: 12px; text-transform: uppercase; }

@media (max-width: 768px) {
    .service-detail-card, .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-detail-card.reverse { direction: ltr; }
}
/* ==========================================================================
   7. PAGE CONTACT STYLES
   ========================================================================== */
.contact-main-section {
    padding: 80px 24px;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

/* Infos latérales */
.contact-info-sidebar h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.sidebar-intro {
    color: var(--text-light);
    margin-bottom: 32px;
}

.info-card-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.info-item-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(0, 163, 224, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 15px;
    margin-top: 2px;
}

/* Formulaire Moderne */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.form-row-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--bg-light);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-color);
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.1);
}

.w-100 {
    width: 100%;
    border: none;
}

/* Responsive mobile */
@media (max-width: 992px) {
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .form-row-two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
}
@media (max-width: 768px) {
   /* Cache le bouton burger sur écran d'ordinateur */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 24px;
    cursor: pointer;
}

    .nav-menu {
        display: none; /* Caché par défaut sur mobile */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active {
        display: flex; /* S'affiche quand on clique sur les 3 barres */
    }
}
/* Container regroupant la langue et le bouton burger */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 16px; /* Espace entre le choix de la langue et les 3 barres */
}

/* Style du bouton burger (icône FontAwesome) */
.menu-toggle {
    display: none; /* Caché sur ordinateur */
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-smooth);
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* Ajustements Media Query Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Devient visible sur mobile */
    }
    
    .nav-menu {
        display: none; /* Caché par défaut sur mobile */
        position: absolute;
        top: 95px; /* Aligné sur la hauteur du header */
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        box-shadow: var(--shadow-medium);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex; /* S'affiche au clic */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
/* Gestion du formulaire d'avis */
.add-review-trigger {
    text-align: center;
    margin: 2rem 0;
}

.review-form-container {
    background: #f9f9f9;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.review-form-container.hidden {
    display: none;
}

.form-title {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}

.form-group input[type="text"],
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

/* Étoiles du formulaire */
.rating-input-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-input-stars input {
    display: none;
}

.rating-input-stars label {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input-stars input:checked ~ label,
.rating-input-stars label:hover,
.rating-input-stars label:hover ~ label {
    color: #ffc107;
}

/* Boutons & Messages */
.btn-link {
    background: none;
    border: none;
    color: #777;
    text-decoration: underline;
    margin-left: 1rem;
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.user-avatar-icon {
    font-size: 1.5rem;
    color: #3182ce;
}
/* ==========================================================================
   8. SECTION NOS TRAVAUX (GALERIE PHOTOS)
   ========================================================================== */
.works-section {
    padding: 60px 24px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 60px;
}

.works-header {
    text-align: center;
    margin-bottom: 40px;
}

.works-header h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.works-header p {
    color: var(--text-light);
    font-size: 16px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.work-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    height: 250px;
    cursor: pointer;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Le fameux "bail bleu" au survol */
.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Utilisation de tes variables de couleur (Bleu nuit profond vers Bleu cyan dynamique) */
    background: linear-gradient(to top, rgba(10, 37, 64, 0.75), rgba(0, 163, 224, 0.6));
    opacity: 0;
    transition: var(--transition-smooth);
}

/* Cache complètement les écritures proprement */
.work-overlay span {
    display: none;
}

/* Effets de survol */
.work-card:hover img {
    transform: scale(1.08); /* Petit effet de zoom sur la photo */
}

.work-card:hover .work-overlay {
    opacity: 1; /* Rapproche l'overlay bleu à 100% d'opacité */
}

@media (max-width: 576px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}