body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER / NAVBAR
========================== */

.custom-navbar {
    padding: 12px 0;
    background: #fff;
}

.custom-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;   /* logo à 20px du bord gauche */
    padding-right: 20px;
    flex-wrap: nowrap;
}

.custom-navbar-brand {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.logo {
    display: block;
    height: 60px;
    width: auto;
}

.custom-navbar-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.custom-navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.custom-navbar-nav .nav-item {
    margin: 0;
    padding: 0;
}

.custom-navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    margin: 0;
    color: #111 !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.custom-navbar-nav .nav-link:hover {
    opacity: 0.7;
}

/* =========================
   MENU LANGUE
========================== */

.lang-dropdown .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 8px 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: #fff;
    transition: all 0.2s ease;
}

.lang-dropdown .lang-toggle:hover,
.lang-dropdown .lang-toggle:focus {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.2);
}

.lang-menu {
    min-width: 210px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.lang-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #111;
    transition: background 0.2s ease;
}

.lang-menu .dropdown-item:hover {
    background: #f5f5f5;
}

.lang-menu .dropdown-item.active,
.lang-menu .dropdown-item:active {
    background: #111;
    color: #fff;
}

.lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 28px;
    border-radius: 8px;
    background: #f1f1f1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.lang-menu .dropdown-item.active .lang-code {
    background: #fff;
    color: #111;
}

.lang-label {
    font-size: 14px;
}

/* =========================
   NAVIGATION PRINCIPALE / DROPDOWNS
========================== */

.dropdown-menu {
    background: #fff !important;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.dropdown-item {
    padding: 8px 20px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }

    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

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

.hero-wrapper {
    background: #fff;
}

.hero-banner {
    width: 100%;
    max-width: 1536px;
    aspect-ratio: 1536 / 453;
    margin: 0 auto;
    background: url('/img/graphisme/Bandeau-TOP_01.jpg') center center / cover no-repeat;
}

/* =========================
   SECTION "WORDPRESS-LIKE"
========================== */

.wp-section {
    padding: 80px 0;
}

.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
}

.reveal-left {
    transform: translateX(-40px) translateY(10px);
}

.reveal-right {
    transform: translateX(40px) translateY(10px);
}

.is-visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.wp-image {
    display: block;
    width: 350px;
    height: 350px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 12px;
}

.text-block {
    width: 100%;
    max-width: 650px;
}

@media (min-width: 992px) {
    .text-block-right {
        margin-left: 0;
        margin-right: auto;
    }

    .text-block-left {
        margin-left: auto;
        margin-right: 0;
    }

    .align-with-image-left {
        margin-left: calc(50% - 175px);
    }
}

@media (max-width: 991.98px) {
    .wp-image {
        width: min(350px, 90vw);
        height: min(350px, 90vw);
        margin: 24px auto 0;
    }

    .text-block {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
}