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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    padding-top: 0 !important;
    background: #f5f6fa;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1e293b;
}

:root {
    --ej-blue: #0F1A2E;
    --ej-orange: #F05D00;
    --ej-white: #FFFFFF;
    --ej-light-bg: #f5f6fa;
    --ej-text-light: rgba(255, 255, 255, 0.85);
    --ej-text-dark: #4a5568;
    --ej-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    --ej-radius: 12px;
    --ej-transition: all 0.3s ease;
}

/* ============================================================
   HEADER
   ============================================================ */
.ve-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--ej-blue);
    padding: 8px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.ve-nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.ve-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ve-logo-img {
    height: 45px;
    width: auto;
    display: block;
}

/* Navigation desktop */
.ve-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.ve-nav ul li a {
    color: var(--ej-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
}

.ve-nav ul li a:hover {
    color: var(--ej-orange);
}

.ve-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ej-orange);
    transition: width 0.3s ease;
}

.ve-nav ul li a:hover::after {
    width: 100%;
}

.ve-nav ul li.active a {
    color: var(--ej-orange);
}

.ve-nav ul li.active a::after {
    width: 100%;
}

/* CTA dans le header */
.ve-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.ve-nav-cta .ve-cta-btn {
    background: var(--ej-orange);
    color: var(--ej-white);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--ej-transition);
    text-decoration: none;
    display: inline-block;
    border: none;
}

.ve-nav-cta .ve-cta-btn:hover {
    background: #d45400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 93, 0, 0.35);
}

/* ============================================================
   SÉLECTEUR DE LANGUE
   ============================================================ */
.ve-lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ve-lang-switcher a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 4px 2px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.ve-lang-switcher a:hover {
    color: var(--ej-white);
}

.ve-lang-switcher a.active {
    color: var(--ej-orange);
}

.ve-lang-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

/* ============================================================
   BURGER MENU
   ============================================================ */
.ve-toggler {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 10px;
    z-index: 10000;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    touch-action: manipulation;
    outline: none;
    border-radius: 8px;
}

.ve-toggler span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--ej-white);
    border-radius: 3px;
    transition: all 0.35s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.ve-toggler span:nth-child(1) {
    top: 12px;
}
.ve-toggler span:nth-child(2) {
    top: 22px;
    opacity: 1;
}
.ve-toggler span:nth-child(3) {
    bottom: 12px;
}

.ve-toggler.active span:nth-child(1) {
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--ej-orange);
}
.ve-toggler.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}
.ve-toggler.active span:nth-child(3) {
    bottom: 22px;
    transform: translateX(-50%) rotate(-45deg);
    background: var(--ej-orange);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.ve-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 26, 46, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 80px 25px 40px;
    z-index: 9998;
    overflow-y: auto;
    display: none !important;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ve-mobile-menu.open {
    display: flex !important;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.ve-mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 400px;
}

.ve-mobile-menu ul li a {
    color: var(--ej-white);
    font-size: 1.4rem;
    font-weight: 600;
    transition: color 0.3s ease, background 0.3s ease;
    padding: 15px 20px;
    display: block;
    border-radius: 10px;
    width: 100%;
    text-decoration: none;
}

.ve-mobile-menu ul li a:active,
.ve-mobile-menu ul li a:focus {
    color: var(--ej-orange);
    background: rgba(240, 93, 0, 0.15);
}

.ve-mobile-menu ul li.active a {
    color: var(--ej-orange);
    background: rgba(240, 93, 0, 0.15);
}

.ve-mobile-cta {
    margin-top: 20px;
    text-align: center;
}

.ve-mobile-cta .ve-cta-btn {
    background: var(--ej-orange);
    color: var(--ej-white);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.ve-mobile-lang {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ve-mobile-lang a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.ve-mobile-lang a:hover {
    color: var(--ej-white);
    background: rgba(255, 255, 255, 0.05);
}

.ve-mobile-lang a.active {
    color: var(--ej-orange);
    background: rgba(240, 93, 0, 0.15);
}

.ve-mobile-lang span {
    color: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   RESPONSIVE HEADER
   ============================================================ */
@media (max-width: 992px) {
    .ve-nav {
        display: none !important;
    }
    .ve-nav-right {
        display: none !important;
    }
    .ve-toggler {
        display: flex !important;
    }
    .ve-logo-img {
        height: 38px;
    }
    .ve-header {
        padding: 6px 0;
        min-height: 55px;
    }
}

@media (max-width: 768px) {
    .ve-header {
        padding: 4px 0;
        min-height: 50px;
    }
    .ve-nav-wrap {
        padding: 0 12px;
    }
    .ve-logo-img {
        height: 34px;
    }
    .ve-toggler {
        width: 44px;
        height: 44px;
        padding: 10px 8px;
    }
    .ve-toggler span {
        width: 24px;
        height: 2.5px;
    }
    .ve-toggler span:nth-child(1) {
        top: 10px;
    }
    .ve-toggler span:nth-child(2) {
        top: 20px;
    }
    .ve-toggler span:nth-child(3) {
        bottom: 10px;
    }
    .ve-toggler.active span:nth-child(1) {
        top: 20px;
    }
    .ve-toggler.active span:nth-child(3) {
        bottom: 20px;
    }
    .ve-mobile-menu {
        padding: 70px 20px 30px;
    }
    .ve-mobile-menu ul li a {
        font-size: 1.2rem;
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .ve-header {
        padding: 3px 0;
        min-height: 44px;
    }
    .ve-logo-img {
        height: 30px;
    }
    .ve-toggler {
        width: 40px;
        height: 40px;
        padding: 8px 6px;
    }
    .ve-toggler span {
        width: 20px;
        height: 2.5px;
    }
    .ve-toggler span:nth-child(1) {
        top: 8px;
    }
    .ve-toggler span:nth-child(2) {
        top: 18px;
    }
    .ve-toggler span:nth-child(3) {
        bottom: 8px;
    }
    .ve-toggler.active span:nth-child(1) {
        top: 18px;
    }
    .ve-toggler.active span:nth-child(3) {
        bottom: 18px;
    }
    .ve-mobile-menu {
        padding: 60px 16px 25px;
    }
    .ve-mobile-menu ul li a {
        font-size: 1.1rem;
        padding: 12px 14px;
    }
}

/* ============================================================
   HERO PAGE
   ============================================================ */
.ve-page-hero {
    position: relative;
    padding: 100px 0 80px;
    background-size: cover;
    background-position: center;
    background-color: var(--ej-blue);
    min-height: 380px;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.ve-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 26, 46, 0.72);
    z-index: 1;
}

.ve-page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--ej-white);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.ve-page-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ve-page-hero-content h1 span {
    color: var(--ej-orange);
}

.ve-breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin-top: 12px;
}

.ve-breadcrumb li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.ve-breadcrumb li a {
    color: var(--ej-white);
    text-decoration: none;
    transition: color 0.3s;
}

.ve-breadcrumb li a:hover {
    color: var(--ej-orange);
}

.ve-breadcrumb .active {
    color: var(--ej-orange);
}

/* ============================================================
   SECTION TAG
   ============================================================ */
.ve-section-tag {
    display: inline-block;
    background: rgba(240, 93, 0, 0.15);
    color: var(--ej-orange);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ve-page-hero-content .ve-section-tag {
    background: rgba(240, 93, 0, 0.2);
    color: #ff8a4a;
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.ve-section {
    padding: 50px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.text-center {
    text-align: center;
}

.ve-section-header {
    margin-bottom: 32px;
}

.ve-section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ej-blue);
}

.ve-section-header h2 span {
    color: var(--ej-orange);
}

.ve-section-header p {
    color: var(--ej-text-dark);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 8px auto 0;
    line-height: 1.6;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.ve-btn-primary {
    background: var(--ej-orange);
    color: var(--ej-white);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--ej-transition);
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.ve-btn-primary:hover {
    background: #d45400;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 93, 0, 0.35);
    color: var(--ej-white);
}

.ve-btn-white {
    background: var(--ej-white);
    color: var(--ej-blue);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--ej-transition);
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.ve-btn-white:hover {
    background: var(--ej-orange);
    color: var(--ej-white);
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ve-footer {
    background: var(--ej-blue);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 40px;
}

.ve-footer .row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.ve-footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 10px 0 14px;
    color: rgba(255, 255, 255, 0.7);
}

.ve-footer-title {
    color: var(--ej-white);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.ve-footer-links {
    list-style: none;
    padding: 0;
}

.ve-footer-links li {
    margin-bottom: 6px;
}

.ve-footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    font-size: 0.88rem;
    text-decoration: none;
}

.ve-footer-links li a:hover {
    color: var(--ej-orange);
}

.ve-footer-contact {
    list-style: none;
    padding: 0;
}

.ve-footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.ve-footer-contact li i {
    color: var(--ej-orange);
    width: 16px;
    flex-shrink: 0;
}

.ve-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
    margin-top: 25px;
}

.ve-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ve-footer-bottom-inner p {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

.ve-footer-bottom-inner ul {
    list-style: none;
    display: flex;
    gap: 14px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.ve-footer-bottom-inner ul li a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.ve-footer-bottom-inner ul li a:hover {
    color: var(--ej-orange);
}

@media (max-width: 992px) {
    .ve-footer .row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ve-footer .row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ve-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .ve-footer-bottom-inner ul {
        justify-content: center;
    }
}

/* ============================================================
   SOCIAL
   ============================================================ */
.ve-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ve-social a {
    background: rgba(255, 255, 255, 0.08);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ej-white);
    transition: var(--ej-transition);
    text-decoration: none;
}

.ve-social a:hover {
    background: var(--ej-orange);
    transform: translateY(-3px);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ej-blue);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--ej-orange);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}
@keyframes lds-ellipsis3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}
@keyframes lds-ellipsis2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(24px, 0); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wow {
    visibility: visible !important;
}

.mt-30 {
    margin-top: 30px;
}