/* 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;
}

/* 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;
}

.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);
}

/* Section titre avec fond coloré */
.page-title-section {
    background-color: #2E7579;
    padding: 30px 20px 25px;
    text-align: center;
}

.page-title-section h1 {
    color: #F4F4F4;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.title-divider {
    width: 177px;
    height: 1px;
    background-color: #A0C4C2;
    margin: 0 auto;
}

/* Contenu principal */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 60px;
}

/* Container pour le texte avec plus de marges */
.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Box info DOGITECH */
.info-box {
    background-color: #A0C4C2;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 30px auto;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    max-width: 350px;
}

.info-box h2 {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 0;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.info-box ul li {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-box a {
    color: #000;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Sections */
h2 {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Listes */
ul {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

ul li {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 0;
}

/* Paragraphes */
p {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Liens dans le texte */
a {
    color: #257579;
    text-decoration: underline;
}

a:hover {
    color: #1a5458;
}

/* Ligne de séparation avant le footer */
.divider-line {
    width: 180px;
    height: 1px;
    background-color: #A0C4C2;
    margin: 40px auto;
}

/* ===========================
   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;
}


/* Responsive */
@media (max-width: 768px) {
    .page-title-section h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 16px;
        padding-left: 10px;
    }

    main {
        padding: 25px 30px;
    }

    .info-box {
        max-width: 100%;
        padding: 15px 20px;
    }

    ul {
        padding-left: 10px;
        padding-right: 10px;
    }

    ul li,
    p {
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-links a {
        font-size: 16px;
        letter-spacing: 2px;
    }
}

/* Mise en page mobile-first (comme dans Figma - 394px) */
@media (max-width: 400px) {
    body {
        max-width: 394px;
        margin: 0 auto;
    }

    .page-title-section h1 {
        font-size: 24px;
    }

    main {
        padding: 15px 20px;
    }

    h2 {
        padding-left: 5px;
    }

    .info-box {
        padding: 12px 15px;
    }

    ul {
        padding-left: 5px;
        padding-right: 5px;
    }

    ul li,
    p {
        padding-left: 5px;
        padding-right: 5px;
    }
}