/* =========================================
   1. CONFIGURATION GÉNÉRALE & VARIABLES
   ========================================= */
:root {
    --accent-color: #00c3ff;   /* Bleu Ciel */
    --primary-dark: #0f3057;   /* Bleu Nuit */
    --text-dark: #333333;      /* Gris Foncé */
    --text-light: #666666;
    --bg-gray: #f9f9f9;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0; padding: 0;
    color: var(--text-dark);
    background-color: white;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin: 0;
    color: var(--primary-dark);
}

a { text-decoration: none; transition: 0.3s; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.section-gray { background-color: var(--bg-gray); }

/* =========================================
   2. HERO SECTION
   ========================================= */
.hero-section {
    min-height: 85vh;
    height: auto;
    background: url('hero.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 50px;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.85); 
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 100px 20px 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.hero-text { font-size: 1.2em; font-weight: 300; margin-bottom: 40px; }

.logo-img {
    height: 200px;
    width: auto;
    display: block;
    margin: 0 auto 30px;
    transition: 0.3s;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

/* =========================================
   3. BOUTONS & ÉLÉMENTS GRAPHIQUES
   ========================================= */
.btn-gold {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 195, 255, 0.3);
}
.btn-gold:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

.btn-return {
    position: absolute;
    top: 30px; left: 30px; z-index: 10;
    color: white; font-size: 0.8em; font-weight: bold;
    background: rgba(0,0,0,0.4); padding: 10px 20px; border-radius: 30px;
}

.section-title { font-size: 2.5em; margin-bottom: 15px; }
.divider-gold, .divider-left {
    width: 60px; height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto 30px auto;
}
.divider-left { margin: 0 0 30px 0; }

/* =========================================
   4. CARTES SERVICES (Accueil)
   ========================================= */
.services-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.card-link { flex: 1; min-width: 300px; max-width: 350px; color: inherit; }

.service-card {
    position: relative; height: 400px;
    background-size: cover; background-position: center;
    border-radius: 4px; overflow: hidden;
    display: flex; align-items: flex-end;
    transition: 0.3s;
}

/* Overlay sombre sur les cartes */
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 48, 87, 0.2), rgba(15, 48, 87, 0.85));
    z-index: 1;
}

.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

.card-content-wrapper { position: relative; z-index: 2; padding: 30px; color: white; }

/* Images de fond des cartes */
.card-remise { background-image: url('service-remise.jpg'); }
.card-aero { background-image: url('service-aero.jpg'); }
.card-nettoyage { background-image: url('service-nettoyage.jpg'); }

/* Styles de texte spécifiques aux cartes */
.service-card h3 { 
    font-size: 1.8em !important; 
    margin-bottom: 10px !important; 
    color: #ffffff !important; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
    position: relative; z-index: 5;
}

.service-card p { 
    color: rgba(255, 255, 255, 0.95) !important; 
    font-size: 1em !important; 
    margin-bottom: 20px !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4) !important;
    position: relative; z-index: 5;
}

.service-card .read-more {
    color: var(--accent-color) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    position: relative; z-index: 5;
}

/* =========================================
   5. STATS & MANAGER
   ========================================= */
.stats-row { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 40px; }
.stat-box { text-align: center; }
.stat-number { display: block; font-size: 2.5em; color: var(--accent-color); font-weight: bold; }
.stat-label { text-transform: uppercase; font-size: 0.8em; letter-spacing: 1px; }

.manager-layout { display: flex; align-items: center; gap: 60px; margin-top: 40px; }
.manager-img { width: 100%; max-width: 400px; border-radius: 5px; box-shadow: 20px 20px 0px var(--bg-gray); }
.manager-quote { font-size: 1.1em; font-style: italic; border-left: 3px solid var(--accent-color); padding-left: 20px; margin-bottom: 30px; }

/* =========================================
   6. PAGES SERVICES (Layout & Sidebar)
   ========================================= */
.page-container {
    display: flex; gap: 50px;
    padding: 60px 5%;
    max-width: 1300px; margin: 0 auto;
}

.content-side { flex: 2; }
.sidebar-side { flex: 1; position: sticky; top: 30px; height: fit-content; }

.sidebar-widget {
    background: white; padding: 30px; border-radius: 8px;
    margin-bottom: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

.widget-title { font-size: 1.3em; font-weight: bold; margin-bottom: 20px; color: var(--primary-dark); }

.service-nav-list { list-style: none; padding: 0; }
.service-nav-list li a {
    display: flex; justify-content: space-between;
    padding: 15px 0; color: #666; border-bottom: 1px solid #eee;
}
.service-nav-list li a.active, .service-nav-list li a:hover { color: var(--accent-color); padding-left: 10px; }

.advantages-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.adv-card {
    background: #fff; padding: 25px; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--accent-color);
}

/* =========================================
   7. BLOC APPEL À L'ACTION (CTA)
   ========================================= */
.service-cta-block {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    gap: 20px;
    border-left: 6px solid var(--accent-color);
}

.cta-text h3 { margin-bottom: 5px; font-size: 1.5em; color: var(--primary-dark); }
.cta-text p { color: #666; margin: 0; font-size: 0.95em; }

.cta-buttons { display: flex; gap: 10px; }

.cta-btn-tel, .cta-btn-mail {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    transition: 0.3s;
    text-align: center;
    color: white !important; /* Important pour surcharger les liens */
}

.cta-btn-tel { background-color: var(--primary-dark); }
.cta-btn-tel:hover { background-color: var(--accent-color); transform: translateY(-2px); }

.cta-btn-mail { background-color: var(--accent-color); }
.cta-btn-mail:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

/* =========================================
   8. FOOTER
   ========================================= */
.flyer-footer {
    background: linear-gradient(90deg, #26c6da 0%, #1565c0 100%);
    color: white; padding: 60px 0 20px; margin-top: 80px;
}

.footer-flex { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: center; }
.footer-col-left { flex: 1; min-width: 280px; }
.footer-col-right { flex: 1.5; min-width: 300px; }

.target-item { font-size: 1.5em; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }

/* STYLE BOUTON LINKEDIN (Modifié) */
.linkedin-btn {
    display: inline-block; 
    background: white; 
    color: #0077b5; /* Le bleu officiel LinkedIn */
    padding: 10px 20px; 
    border-radius: 50px; 
    font-weight: bold; 
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    transition: 0.3s;
}

.linkedin-btn:hover {
    transform: translateY(-2px);
    background-color: #f1f1f1;
}

.checklist-services { list-style: none; padding: 0; margin-bottom: 30px; font-size: 1.2em; }
.checklist-services li { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.check-icon {
    width: 30px; height: 30px; background: white; color: #1565c0;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900;
}

/* --- NOUVEAU STYLE : 2 CADRES INDÉPENDANTS --- */

/* Le conteneur qui tient les deux cadres */
.footer-contact-wrapper {
    display: flex;
    justify-content: center; /* Centre les boites */
    align-items: center;
    gap: 20px; /* Espace entre les deux cadres */
    flex-wrap: wrap; /* Permet de passer à la ligne sur mobile */
    margin-top: 20px;
}

/* Le style commun aux deux cadres (boutons blancs) */
.contact-card {
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* Style spécifique pour le téléphone (Texte plus gros, Bleu) */
.phone-card {
    font-size: 1.3em;
    font-weight: 800;
    color: #1565c0; /* Bleu foncé */
}

/* Style spécifique pour l'email (Texte normal, Gris) */
.email-card {
    font-size: 1em;
    font-weight: 600;
    color: #333;
}

/* Sur mobile, on s'assure que les boites prennent toute la largeur si besoin */
@media (max-width: 600px) {
    .footer-contact-wrapper {
        flex-direction: column; /* L'un en dessous de l'autre */
        gap: 15px;
    }
    .contact-card {
        width: 100%; /* Pleine largeur */
        justify-content: center; /* Texte centré */
        box-sizing: border-box;
    }
}

/* Sur mobile, on enlève le trait et on empile pour que ce soit lisible */
@media (max-width: 768px) {
    .contact-box-white { flex-direction: column; gap: 10px; border-radius: 15px; }
    .big-phone-link::after { content: none; } /* On cache le trait sur mobile */
}

/* =========================================
   9. RESPONSIVE (MEDIA QUERIES)
   ========================================= */
@media (max-width: 992px) {
    .page-container { flex-direction: column; }
    .sidebar-side { width: 100%; position: static; }
    .manager-layout { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 2.5em; }
}

@media (max-width: 768px) {
    .service-cta-block { flex-direction: column; text-align: center; }
    .cta-buttons { flex-direction: column; width: 100%; }
}

@media (max-width: 600px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 20px; }
}

/* --- 10. CLASSES UTILITAIRES POUR PAGES INTERNES --- */

.hero-small {
    min-height: 45vh !important;
    padding-bottom: 40px;
}
.logo-small {
    height: 150px;
    width: auto;
    display: block;
    margin: 0 auto 30px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.intro-text {
    font-size: 1.15em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.media-block {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    align-items: center;
    flex-wrap: wrap;
}

.media-text { flex: 1; min-width: 300px; }
.media-text h3 { color: var(--primary-dark); margin-bottom: 15px; }

.media-img-wrapper { flex: 1; min-width: 300px; }
.content-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-subtitle {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

/* --- 11. CSS SPÉCIFIQUE ACCUEIL --- */

.main-navbar {
    position: absolute;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 20px 0;
}
.nav-flex {
    display: flex; justify-content: space-between; align-items: center;
}
.nav-brand {
    font-weight: 800; color: var(--primary-dark); font-size: 1.2em;
    background: rgba(255,255,255,0.9); padding: 5px 15px; border-radius: 4px;
}
.nav-menu {
    list-style: none; display: flex; gap: 30px; margin: 0; padding: 0;
}
.nav-menu li a {
    color: var(--primary-dark); font-weight: 600; font-size: 0.9em;
    background: rgba(255,255,255,0.8); padding: 8px 15px; border-radius: 20px;
}
.nav-menu li a:hover { color: var(--accent-color); background: white; }
.nav-menu .nav-cta { background: var(--accent-color); color: white; }

.hero-subtitle {
    font-size: 1.5em; letter-spacing: 2px; text-transform: uppercase;
    color: var(--primary-dark); font-weight: 300; margin-bottom: 5px;
    background: rgba(255,255,255,0.6); display: inline-block; padding: 0 10px;
}
.max-width-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

.card-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--accent-color); color: white;
    padding: 5px 15px; font-weight: bold; text-transform: uppercase;
    font-size: 0.8em; border-radius: 30px; z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.manager-image-wrapper { flex: 1; text-align: right; }
.manager-content { flex: 1.2; text-align: left; }
.manager-sign { font-weight: bold; margin-top: 20px; color: var(--primary-dark); }
.role { font-weight: normal; font-style: italic; color: #666; font-size: 0.9em; }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-brand { margin: 0 auto; }
}

/* --- 12. CARTES EXPERTISE (NOUVEAU STYLE) --- */

.expertise-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--accent-color);
}

.expertise-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.expertise-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expertise-card:hover .expertise-img-container img {
    transform: scale(1.05);
}

.expertise-content {
    padding: 25px;
    flex-grow: 1;
    text-align: left;
}

.expertise-content h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.expertise-content p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.small-divider {
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin-bottom: 15px;
}

/* --- 13. SECTION PARTENAIRES / LOGOS --- */

.partners-section {
    background-color: white;
    border-top: 1px solid #eee; /* Légère séparation */
}

.partners-grid {
    display: flex;
    flex-wrap: wrap; /* Permet aux logos de passer à la ligne */
    justify-content: center; /* Centre les logos */
    gap: 40px; /* Espace entre les logos */
    margin-top: 50px;
    align-items: center;
}

.partner-item {
    width: 150px; /* Largeur standard pour chaque emplacement */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    max-width: 100%;
    max-height: 80px; /* Limite la hauteur pour que tout soit aligné */
    object-fit: contain;
    
    /* EFFET NOIR & BLANC */
    filter: grayscale(100%); 
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* Au survol : Retour de la couleur et zoom */
.partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
    cursor: pointer;
}

/* Sur mobile, on réduit l'espace et la taille */
@media (max-width: 768px) {
    .partners-grid {
        gap: 20px;
    }
    .partner-item {
        width: 120px; /* Plus petit sur mobile */
    }
}