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

:root {
    --vert-fonce: #467042;
    --vert-clair: #C7E0A5;
    --marron: #7B3C15;
    --blanc: #ffffff;
    --noir: #333333;
}

body {
    font-family: 'Mukta Mahee', 'Optima', sans-serif;
    color: var(--noir);
    background-color: var(--blanc);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== HEADER ===== */
.header {
    background-color: var(--vert-fonce);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 140px;
    padding-right: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 250px;
    width: auto;
    margin: -30px 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-separator {
    width: 1px;
    height: 60px;
    background-color: var(--vert-clair);
    opacity: 0.5;
    margin: 0 25px;
    flex-shrink: 0;
}

/* Navigation */
.nav {
    display: flex;
}

.nav > ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav li a {
    color: var(--blanc);
    font-family: 'Mukta Mahee', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 2.5px;
    padding: 12px 25px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav li a:hover {
    color: var(--vert-clair);
}

.nav-separator {
    color: var(--vert-clair);
    opacity: 0.4;
    font-size: 1.2rem;
    user-select: none;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > a .fa-chevron-down {
    transition: transform 0.3s ease;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--vert-fonce);
    min-width: 200px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    z-index: 150;
}

.nav-dropdown-menu li {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    font-weight: 300;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.3s ease;
}

.nav-dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--vert-clair);
}

/* Desktop: hover to open */
@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover > a .fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.social-icons a {
    color: var(--blanc);
    font-size: 1.15rem;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--blanc);
    color: var(--vert-fonce);
    border-color: var(--blanc);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.slider-container {
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    object-position: center;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--vert-fonce);
    color: var(--blanc);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    opacity: 1;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

/* ===== SECTION PRÉSENTATION ===== */
.presentation {
    text-align: center;
    padding: 60px 20px 70px;
    max-width: 800px;
    margin: 0 auto;
}

.presentation-title {
    font-family: 'Optima', 'Mukta Mahee', sans-serif;
    color: var(--vert-fonce);
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.3;
    margin-bottom: 30px;
}

.presentation-text {
    font-family: 'Mukta Mahee', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: var(--vert-fonce);
    margin-bottom: 10px;
}

.presentation-separator {
    width: 1px;
    height: 120px;
    background-color: var(--noir);
    margin: 20px auto;
    opacity: 0.4;
    transform: rotate(15deg);
}

/* ===== SECTION CONFIANCE ===== */
.confiance {
    padding-bottom: 60px;
}

.confiance-bandeau {
    background-color: var(--vert-fonce);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.confiance-bandeau h2 {
    color: var(--blanc);
    font-family: 'Mukta Mahee', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.confiance-bar {
    color: var(--blanc);
    font-size: 1.5rem;
    opacity: 0.7;
}

.confiance-logos {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px 40px;
    padding: 0 30px;
}

.logo-client {
    width: 130px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-client img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-client img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--vert-fonce);
    color: var(--blanc);
    text-align: center;
    padding: 20px;
    font-family: 'Mukta Mahee', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ===== BURGER BUTTON ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
    z-index: 200;
}

.burger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--blanc);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== RESPONSIVE ===== */

/* Tablette */
@media (max-width: 1100px) {
    .nav li a {
        font-size: 0.95rem;
        padding: 10px 15px;
        letter-spacing: 1.5px;
    }

    .header-separator {
        margin: 0 15px;
    }

    .logo img {
        height: 160px;
        margin: -20px 0;
    }

    .header-inner {
        height: 120px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .burger {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-inner {
        height: 80px;
        padding-right: 60px;
        position: relative;
    }

    .logo img {
        height: 120px;
        margin: -20px 0;
    }

    .header-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--vert-fonce);
        flex-direction: column;
        align-items: center;
        padding: 20px 0 30px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .header-right.open {
        display: flex;
    }

    .header-separator {
        width: 50px;
        height: 1px;
        margin: 15px 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .nav li a {
        font-size: 1rem;
        padding: 12px 20px;
        letter-spacing: 2px;
        display: block;
    }

    .nav-separator {
        display: none;
    }

    /* Mobile dropdown */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        display: none;
        box-shadow: none;
        min-width: 0;
        padding: 0;
        background-color: transparent;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown.open > a .fa-chevron-down {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu li a {
        font-size: 0.9rem;
        padding: 8px 20px;
        letter-spacing: 1.5px;
        opacity: 0.85;
    }

    .social-icons {
        flex-direction: row;
        gap: 15px;
    }

    .slide img {
        height: 35vh;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    .presentation {
        padding: 40px 20px 50px;
    }

    .presentation-title {
        font-size: 1.6rem;
    }

    .presentation-separator {
        height: 80px;
    }

    .confiance-bandeau h2 {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .logo-client {
        width: 100px;
        height: 65px;
    }

    .confiance-logos {
        gap: 20px 25px;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .logo img {
        height: 90px;
        margin: -10px 0;
    }

    .header-inner {
        height: 65px;
    }

    .slide img {
        height: 25vh;
    }

    .presentation-title {
        font-size: 1.3rem;
    }

    .confiance-bandeau h2 {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    .logo-client {
        width: 80px;
        height: 55px;
    }
}
