:root {
    --white: #fff;
    --black: #000000;
    --primary-color: #e30613;
    --accent: #e30613;
    --secondary: #111;
    --heading: #0f172a;
    --text: #64748b;
    --header-height: 97px
}
b, strong {
    font-weight: 700;
    font-family: "Century Gothic - Gras", Sans-serif
}
#wpadminbar{
    z-index: 999999;
}
.wrapper {
    padding: 10px;
    width: 100%;
    margin: auto;
}
.wrap {
    display: flex;
}
.flex-row {
    flex-direction: row;
}
.flex-col {
    flex-direction:column;
}
.justify-start {
    justify-content: start;
}
.justify-center {
    justify-content: center;
}
.justify-end {
    justify-content: end;
}
.align-start {
    align-items: start;
}
.align-center {
    align-items: center;
}
.align-end {
    align-items: end;
}

.list-icon {
    list-style: none;
    padding: 0;
    margin: 0;
}
.list-icon li {
    display: flex;
    padding: 10px 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}
.list-icon li.align-start {
    align-items: start;
}
.list-icon li a {
    color: inherit;
}
.list-icon li a:hover{
    color: var(--primary-color);
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: 1px solid var(--white);
    border-radius: 2px;
    color: #64748B;
    font-size: 18px;
    padding: 10px 20px;
    line-height: 28px;
    resize: none;
}

::placeholder,
::-webkit-input-placeholder{
    color: #64748B;
}
.elementor-kit-8 button, .elementor-kit-8 input[type="button"], .elementor-kit-8 input[type="submit"], .elementor-kit-8 .elementor-button{
    color: var(--white);
}

#banner-page::before {
    content: "";
    display: block;
    width: 25.5%;
    height: 100%;
    background: var(--white);
    position: absolute;
    right: 0;
    top: 0;
    left: auto;
}

/* ===========================================
   BOUTON HAMBURGER MENU
   =========================================== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 0 !important;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary, #333);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    transform-origin: center;
    border-radius: 1px;
}

/* Animation vers X quand actif */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    width: 85%;
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    width: 85%;
}

/* Effet hover */
.hamburger-menu:hover .hamburger-line {
    background-color: var(--primary-color, #007cba);
}

/* Focus pour accessibilité */
.hamburger-menu:focus {
    outline: 2px solid var(--primary-color, #007cba);
    outline-offset: 2px;
}

/* Affichage sur mobile uniquement */
@media (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
    }
}

/* ===========================================
   MENU MOBILE
   =========================================== */

@media (max-width: 1024px) {
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white, #fff);
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .main-navigation.active {
        display: flex;
        transform: translateX(0);
    }

    .primary-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .primary-menu li {
        border-bottom: 1px solid #eee;
    }

    .primary-menu li a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        text-decoration: none;
        color: var(--secondary);
        transition: color 0.3s ease;
    }

    .primary-menu li a:hover {
        color: var(--primary-color, #007cba);
    }

    /* Animation d'entrée des items du menu */
    .main-navigation.active .primary-menu li {
        animation: slideInFromLeft 0.3s ease forwards;
        opacity: 0;
    }

    .main-navigation.active .primary-menu li:nth-child(1) { animation-delay: 0.1s; }
    .main-navigation.active .primary-menu li:nth-child(2) { animation-delay: 0.2s; }
    .main-navigation.active .primary-menu li:nth-child(3) { animation-delay: 0.3s; }
    .main-navigation.active .primary-menu li:nth-child(4) { animation-delay: 0.4s; }
    .main-navigation.active .primary-menu li:nth-child(5) { animation-delay: 0.5s; }
    .main-navigation.active .primary-menu li:nth-child(6) { animation-delay: 0.6s; }
}

/* Animation slide in pour les items du menu */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================================
   STYLES GÉNÉRAUX HEADER
   =========================================== */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    flex: 0 0 auto;
    z-index: 1002; /* Au-dessus du menu mobile */
    position: relative;
}

/* Empêcher le scroll quand menu mobile ouvert */
body.menu-open {
    overflow: hidden;
}

#mainHeader.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: var(--white, #fff);
    transition: box-shadow 0.2s, background 0.2s;
}

@media screen and (min-width: 1920px){
    .wrapper {
        max-width: 1680px;
    }
}

@media screen and (max-width: 1900px) {
    :root {
        --header-height: 80px;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1900px) {
    .wrapper {
        max-width: 1200px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .wrapper {
        max-width: 1120px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1024px) {
    .wrapper {
        max-width: 944px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .wrapper {
        max-width: 912px;
    }
}

@media screen and (max-width: 767px) {
    .wrapper {
        max-width: 727px;
    }
}
