/* IMPORTATION POLICES */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #0056b3;
    --secondary-color: #008080;
    --text-dark: #333;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, h3, .logo-text, .footer-logo {
    font-family: var(--font-title) !important;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* --- CONFIGURATION DU LOGO NAV --- */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none; /* Enlève le soulignement du lien */
    gap: 15px;
}

.logo-img {
    height: 75px;    /* Ajustez la hauteur selon vos goûts */
    width: auto;     /* Garde les proportions */
    border-radius: 5px; /* Optionnel : arrondit légèrement les bords */
}

.brand-logo {
    height: 50px; /* Ajuste la taille de votre future image */
    width: auto;
}

/* On s'assure que le texte est bien blanc ou Teal sur la nav noire */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #0056b3; /* Bleu Allesklar */
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text span {
    display: block;
    font-family: 'Poppins', sans-serif; /* Police secondaire pour le sous-titre */
    font-size: 0.75rem;
    color: #008080; /* Vert Allesklar */
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 2px;
}

.logo-text span {
    color: #ffffff; /* Multi-services en blanc pour trancher sur le noir */
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .logo-text { font-size: 1.3rem; }
    .logo-text span { font-size: 0.65rem; }
}

.logo-container { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-size: 1.5rem; color: var(--primary-color); font-weight: 900; }
.logo-text span { color: var(--secondary-color); font-size: 0.8rem; display: block; font-family: var(--font-body); }

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; }
.btn-devis { background: var(--secondary-color); color: white !important; padding: 10px 20px; border-radius: 5px; }

/* --- FOOTER COMMUN --- */
footer {
    background: #222;
    color: #ddd;
    padding: 60px 5% 20px;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-logo { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 15px; }
.footer-logo span { color: var(--secondary-color); }

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: white; }

.contact-link { display: block; margin-bottom: 10px; color: #bbb; text-decoration: none; }
.contact-link i { color: var(--secondary-color); margin-right: 10px; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-weight: bold; font-size: 1.5rem; color: var(--primary-color); }
.logo span { color: var(--secondary-color); }

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; }

.btn-devis {
    background: var(--secondary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    height: 60px; /* Ajustez la hauteur selon votre logo */
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0056b3;
    line-height: 1;
    text-transform: uppercase;
}

.logo-text span {
    display: block;
    font-size: 0.9rem;
    color: #008080;
    letter-spacing: 1px;
}

/* Responsive : logo plus petit sur mobile */
@media (max-width: 600px) {
    .brand-logo { height: 45px; }
    .logo-text { font-size: 1.1rem; }
}

#hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('cleaning-bg.jpg') center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px 5%;
}

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

.service-card:hover { transform: translateY(-10px); }
/* Style pour la section services de l'accueil */
.services-home { padding: 100px 5%; background: #fff; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { color: #0056b3; font-size: 2.2rem; margin: 10px 0; }

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

.service-item {
    background: #fdfdfd;
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: #28a745;
}

.service-icon {
    font-size: 2.5rem;
    color: #008080;
    margin-bottom: 20px;
}

.service-item h3 { color: #333; margin-bottom: 15px; font-size: 1.3rem; }
.service-item p { color: #666; margin-bottom: 20px; font-size: 0.95rem; flex-grow: 1; }

/* Sous-services (tags) */
.service-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.service-sub span {
    font-size: 0.75rem;
    background: #eef4fb;
    color: #0056b3;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.link-arrow {
    text-decoration: none;
    color: #28a745;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* Bouton principal */
.btn-main {
    background: #008080;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.3s;
}

.btn-main:hover { background: #218838; transform: scale(1.05); }

/* --- Témoignages --- */
.testimonials { background: #fdfdfd; padding: 100px 5%; }
.subtitle { color: #008080; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.intro-text { color: #666; max-width: 600px; margin: 10px auto 40px; }

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon { color: #28a745; margin-bottom: 15px; font-size: 1.2rem; }

.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; border-top: 1px solid #f0f0f0; padding-top: 15px; }

.client-avatar {
    width: 45px;
    height: 45px;
    background: #0056b3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.client-info strong { display: block; color: #333; font-size: 1rem; }
.client-info span { font-size: 0.85rem; color: #888; }

/* --- Barre de Stats --- */
.stats-bar {
    background: #0056b3;
    padding: 50px 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    color: white;
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #008080;
}

.stat-item .stat-label { font-size: 1.1rem; opacity: 0.9; }

/* --- Section CTA Final sur la page Services --- */
.final-cta-section {
    background-color: #0056b3; /* Bleu Allesklar */
    color: white;
    padding: 80px 5%;
    text-align: center;
    margin-top: 50px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-devis-final {
    display: inline-block;
    background-color: #008080; /* Vert Allesklar */
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-devis-final:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: white;
}

/* --- ADAPTATION TABLETTES (Moins de 992px) --- */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr; /* On empile les infos et le formulaire */
        gap: 30px;
    }

    .service-row, .service-row:nth-child(even) {
        flex-direction: column !important; /* On empile les images et textes des services */
        text-align: center;
        padding: 40px 5%;
    }

    .history-section {
        grid-template-columns: 1fr;
    }
}

/* --- ADAPTATION MOBILES (Moins de 768px) --- */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
        padding: 0;
    }

    .nav-links li {
        margin: 5px;
    }

    /* Logo */
    .logo-text {
        font-size: 1.2rem;
    }

    /* Hero Sections (Titres plus petits sur mobile) */
    .about-hero, .services-detail-hero, .service-detail-hero {
        padding: 60px 5%;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr; /* Une seule colonne dans le pied de page */
        text-align: center;
    }

    .contact-link {
        justify-content: center;
    }

    /* Grilles d'icônes */
    .icon-grid, .values-grid {
        grid-template-columns: 1fr; 
    }

    /* Statistiques */
    .stats-bar {
        flex-direction: column;
        gap: 40px;
    }
}
