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

body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    background-color: #F4F4F4;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;       
    padding: 0;
}

/* ===========================
   BOUTON D'URGENCE FIXE
   =========================== */
.emergency-btn {
    position: fixed;
    bottom: 20px; 
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: #FF0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    z-index: 997;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.emergency-btn svg {
    stroke: #FFFFFF;
}

.emergency-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #F4F4F4;
    color: #000;
    line-height: 1.6;
}

/* ===========================
   HEADER / NAVBAR
   =========================== */
header {
    background-color: #257579;
    padding: 20px;
    position: relative;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    width: 100px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
}

.menu-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-icon span {
    width: 100%;
    height: 2px;
    background-color: #F4F4F4;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon:hover span {
    background-color: #A0C4C2;
}

/* ===========================
   MENU BURGER
   =========================== */
/* Overlay avec blur */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Burger principal */
.menu-burger {
    position: fixed;
    top: 0;
    left: -334px;
    width: 334px;
    height: 100vh;
    background-color: #257579;
    box-shadow: 34px 0px 60px rgba(0, 0, 0, 0.08);
    border-radius: 0 10px 10px 0;
    padding: 30px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
}

.menu-burger.active {
    left: 0;
}

/* Bouton fermer (X) */
.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: -10px;
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.1);
}

.close-btn svg {
    display: block;
}

/* Navigation du menu */
.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 100px;
}

.menu-link {
    color: #F4F4F4;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.menu-link:hover {
    color: #A0C4C2;
    transform: translateX(5px);
}

.menu-link.active {
    color: #A0C4C2;
}

/* Bloquer le scroll quand menu ouvert */
body.menu-open {
    overflow: hidden;
}

/* ===========================
   MENU DÉROULANT SERVICES
   =========================== */
.services-dropdown {
    display: flex;
    flex-direction: column;
}

.menu-link-services {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.menu-link-services span {
    color: #F4F4F4;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.menu-link-services:hover span {
    color: #A0C4C2;
    transform: translateX(5px);
}

.menu-link-services svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.services-submenu {
    max-height: 0;
    overflow: hidden;
    padding-left: 30px;
    transition: max-height 0.3s ease;
}

.services-submenu.open {
    max-height: 300px;
    margin-top: 20px;
}

.submenu-link {
    display: block;
    color: #A0C4C2;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.submenu-link:hover {
    color: #F4F4F4;
    transform: translateX(5px);
}

#servicesChevron {
    transition: transform 0.3s ease;
}

#servicesChevron.rotate {
    transform: rotate(90deg);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    background-color: #FFFFFF;
    padding-bottom: 40px;
    margin-top: -150px;
    padding-left: 0;  
    padding-right: 0;  
}

.hero-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;        
    padding: 0;        
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    padding: 0 20px;
    text-align: left;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #257579;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #1e5d61;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 117, 121, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #257579;
    border: 2px solid #257579;
}

.btn-outline:hover {
    background-color: #257579;
    color: #FFFFFF;
}

.btn-white {
    background-color: #FFFFFF;
    color: #257579;
    margin-top: 30px;
    font-weight: 600;  
    padding: 14px 30px;  
}

.btn-white:hover {
    background-color: #F4F4F4;
}

/* ===========================
   SECTIONS GÉNÉRALES
   =========================== */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #2E7579;
    margin-bottom: 10px;
    text-align: left;
}

.section-subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 25px;
    text-align: left;
}

/* ===========================
   EXPERTISES SECTION
   =========================== */
.expertises-section {
    padding: 50px 20px;
    background-color: #FFFFFF;
}

.expertises-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.expertises-carousel::-webkit-scrollbar {
    display: none;
}

.expertise-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    position: relative;
}

.expertise-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.expertise-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #FFFFFF;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* ===========================
   CONFIANCE SECTION
   =========================== */
   .confiance-section {
    background-color: #257579;
    padding: 40px 20px;  
    color: #FFFFFF;
    text-align: center;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 353px;
    margin-left: auto;
    margin-right: auto;
}

.confiance-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 35px;  
    line-height: 1.2;
    padding: 10px 0;  
}

.confiance-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;  
    margin-bottom: 30px;  
}

.confiance-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    min-height: 70px;  
}

.confiance-icon {
    flex-shrink: 0;
    width: 47px;
    height: 50px;
    background-color: #F4F4F4;  /* ← LE FOND BLANC ICI */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.confiance-icon svg {
    stroke: #000000;
    width: 24px;
    height: 24px;
}

.confiance-text h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.confiance-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 15.6px;
    letter-spacing: 0.06px;
    color: #F4F4F4;
}

/* ===========================
   AVIS SECTION
   =========================== */
.avis-section {
    padding: 50px 20px;
    background-color: #F4F4F4;
}

.avis-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.avis-carousel::-webkit-scrollbar {
    display: none;
}

.avis-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.avis-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.avis-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.avis-info {
    flex: 1;
}

.avis-name {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 2px;
}

.avis-date {
    font-size: 13px;
    color: #999999;
}

.avis-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star {
    color: #257579;
    font-size: 16px;
}

.rating-number {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-left: 4px;
}

.avis-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

/* ===========================
   FOOTER
   =========================== */
   .main-footer {
    background-color: #257579;
    color: #FFFFFF;
    padding: 20px 22px 30px;
    text-align: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 60px;
    max-width: 348px;
    margin-left: auto;
    margin-right: auto;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2.52px;
    text-transform: uppercase;
    padding: 16px 0;
    transition: opacity 0.3s ease;
    text-align: left;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.footer-contact-item:hover {
    opacity: 0.8;
}

.footer-contact-item svg {
    fill: #F4F4F4;
}

.footer-copyright {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 400;
    opacity: 1;
    color: #FFFFFF;
}

/* ===========================
   MEDIA QUERIES - DESKTOP
   =========================== */
@media (min-width: 900px) {
    .header-content,
    .hero-content,
    .expertises-section,
    .confiance-section,
    .avis-section,
    .main-footer {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        max-width: 500px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-content {
        padding: 0 40px;
    }

    .expertises-carousel {
        overflow-x: visible;
        justify-content: space-between;
    }

    .expertise-card {
        flex: 1;
        max-width: 280px;
    }

    .confiance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .avis-carousel {
        overflow-x: visible;
        justify-content: space-between;
    }

    .avis-card {
        flex: 1;
        max-width: 320px;
    }
}