/* ==================================================
   CONSTANTES
================================================== */
:root {
    --color: #ea4f36;
    --color-secondary: #094a6d;

    /* Couleur consent */
    --cc-bg: #1a1a1a;

    /* Couleur texte */
    --cc-primary-color: #ffffff;
    --cc-secondary-color: #ffffff;

    /* Bouton principal */
    --cc-btn-primary-bg: var(--color);
    --cc-btn-primary-border-color: var(--color);
    --cc-btn-primary-color: #ffffff;

    /* Bouton secondaire */
    --cc-btn-secondary-bg: var(--color-secondary);;
    --cc-btn-secondary-border-color: var(--color-secondary);;
    --cc-btn-secondary-color: #ffffff;

    --cc-cookie-category-block-hover-bg: var(--color);
    --cc-cookie-category-block-bg: var(--color-secondary);

    /* Toggle actif */
    --cc-toggle-on-bg: var(--color);
}

/* ==================================================
   STYLES GÉNÉRAUX
================================================== */
body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.text-color-primary { color: var(--color) !important; }
.text-color-secondary { color: var(--color-secondary) !important; }
footer a { color: var(--color) !important; }

/* ==================================================
   HEADER & LOGO
================================================== */
.desktop-logo {
    position: fixed;
    top: 50px;
    left: 30px;
    width: 100px;
    z-index: 100;
    transition: all 0.3s ease;
}

/* HEADER PRINCIPAL */
.mobile-header {
    display: none;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 420px;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: 20px;
    background: rgb(16 16 18 / 85%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 1050;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.mobile-header.header-hidden {
    transform: translate(-50%, -150px) !important;
}

.mobile-header img {
    height: 40px;
}

.mobile-toggle-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: white;
    font-size: 24px;
}

.floating-menu.offcanvas {
    position: fixed !important;
    top: 95px !important;
    left: 50% !important;
    bottom: auto !important;
    right: auto !important;

    width: calc(100% - 30px) !important;
    max-width: 420px !important;
    height: auto !important;

    background: rgb(16 16 18 / 95%) !important;
    backdrop-filter: blur(25px);
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
    z-index: 1040 !important;
    transform: translate(-50%, -15px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
}

.floating-menu.offcanvas.show {
    transform: translate(-50%, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.floating-menu.offcanvas.showing,
.floating-menu.offcanvas.hiding {
    transition: none !important;
}
.custom-close-btn {
    width: 30px;
    height: 30px;
    background-size: 16px;
    opacity: 0.8;
}
.custom-close-btn:hover {
    opacity: 1;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mobile-menu-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
}
.mobile-menu-links a.active-link {
    color: #e56545;
}

/* ==================================================
   HERO
================================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    -webkit-animation: kenburns-top 5s ease-out both;
    animation: kenburns-top 5s ease-out both;

}
/**
 * ----------------------------------------
 * animation kenburns-top
 * ----------------------------------------
 */
@-webkit-keyframes kenburns-top {
    0% {
        -webkit-transform: scale(1) translateY(0);
        transform: scale(1) translateY(0);
        -webkit-transform-origin: 50% 16%;
        transform-origin: 50% 16%;
    }
    100% {
        -webkit-transform: scale(1.25) translateY(-15px);
        transform: scale(1.25) translateY(-15px);
        -webkit-transform-origin: top;
        transform-origin: top;
    }
}
@keyframes kenburns-top {
    0% {
        -webkit-transform: scale(1) translateY(0);
        transform: scale(1) translateY(0);
        -webkit-transform-origin: 50% 16%;
        transform-origin: 50% 16%;
    }
    100% {
        -webkit-transform: scale(1.25) translateY(-15px);
        transform: scale(1.25) translateY(-15px);
        -webkit-transform-origin: top;
        transform-origin: top;
    }
}

.hero-bg video,
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.hero-logo, .home-logo {
    width: 180px;
    max-width: 180px;
    margin-bottom: 2rem;
}

.hero-text, .home-text {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    min-height: 5rem;
}

.home-text {
    animation: fadeUp 1.2s ease-out forwards;
    opacity: 0;
}

#homeContent { z-index: 1; width: 500px; }
#homeContent img { width: 500px; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================================================
   SECTIONS GÉNÉRALES
================================================== */
section {
    position: relative;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-content {
    z-index: 3;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.center-content.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 60px;
    font-weight: 700;
    font-size: 2.5rem;
}

.divider {
    width: 50px;
    height: 2px;
    background: var(--color);
    margin: 0 auto 30px;
}

/* ==================================================
   MENU LATÉRAL (DESKTOP)
================================================== */
.side-menu {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10;
}

.side-menu-links a {
    display: block;
    margin: 25px 0;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.side-menu-links a:hover,
.side-menu-links a.active {
    color: #fff;
    transform: translateX(5px);
}

.side-menu-links a.active {
    font-weight: bold;
    border-left: 3px solid var(--color);
    padding-left: 10px;
    margin-left: -13px;
}

.side-menu-lang a { color: rgba(255,255,255,0.5); text-decoration: none; transition: opacity 0.3s; }
.side-menu-lang a.on { color: var(--color); font-weight: bold; }
.side-menu-lang span { margin: 0 6px; opacity: 0.4; }

/* DOTS DROITE */
.dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    margin: 20px 0;
    opacity: 0.2;
    cursor: pointer;
    transition: all 0.3s;
}
.dot:hover, .dot.active { opacity: 1; background: var(--color); transform: scale(1.5); }

/* ==================================================
   OFFCANVAS MOBILE
================================================== */
.offcanvas-fullscreen { background-color: var(--color-secondary); }

.mobile-menu-links a {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s;
}
.mobile-menu-links a:hover { color: var(--color); }

.mobile-lang-switcher {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.mobile-lang-switcher a { color: rgba(255,255,255,0.6); text-decoration: none; }
.mobile-lang-switcher a.active { color: var(--color); font-weight: bold; }
.mobile-lang-switcher span { margin: 0 8px; opacity: 0.4; }

.btn-close-white { filter: invert(1) grayscale(100%) brightness(200%); }

/* ==================================================
   A PROPOS
================================================== */
#aboutText {
    color: white !important;
}

/* ==================================================
   ACTUALITES
================================================== */
#actualites a { color: var(--color) !important; }
.actualites { background-color: #000; }
.actualite-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 25px;
    background-color: #1b5f7a;
}

/* ==================================================
   PRODUCTIONS
================================================== */
.project-item {
    margin-bottom: 30px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 30px;

    background: #1a1a1a;
    border-radius: 14px;
    padding: 25px;

    border: 1px solid rgba(255,255,255,0.08);
    align-items: stretch; /* au lieu de center */

}
.project-card:hover {
}
.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.project-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Meta plus lisible */
.project-meta {
    font-size: 0.85rem;
    opacity: 0.9;
}

.project-meta span {
    font-weight: 500;
}

/* Badge année plus stylé */
.project-year {
    background: var(--color);
    backdrop-filter: blur(6px);
    border-radius: 6px;
}

.project-img-wrapper {
    width: 420px;
    flex-shrink: 0;
}
/* FILTERS - Desktop */
.prod-filters-wrapper {
    position: relative;
}

.prod-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.prod-filter {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prod-filter:hover {
    border-color: var(--color);
    color: var(--color);
}

.prod-filter.active {
    background: var(--color);
    border-color: var(--color);
    color: white;
}

.show-more {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more:hover {
    border-color: var(--color);
    color: var(--color);
}


.scroll-indicator-left, .scroll-indicator-right {
    display: none;
}
/* MOBILE: horizontal scroll */
@media (max-width: 768px) {

    /* Conteneur horizontal */
    .prod-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        justify-content: start;

        padding: 0 40px;  /* 40px à gauche et droite pour “respirer” */
        scrollbar-width: none;
    }

    .prod-filters::-webkit-scrollbar {
        display: none;             /* cache scrollbar Chrome/Safari */
    }

    .prod-filter:first-child {
        margin-left: 10px; /* ou 15px selon l’espace désiré */
    }

    /* Boutons onglets */
    .prod-filter {
        flex: 0 0 auto;            /* largeur automatique, pas de stretch */
        white-space: nowrap;        /* texte sur une seule ligne */
        padding: 8px 20px;
        border-radius: 50px;
        background: transparent;
        border: 1px solid rgba(255,255,255,0.3);
        color: white;
        cursor: pointer;
        transition: all 0.3s;
    }

    .prod-filter.active {
        background: var(--color);
        border-color: var(--color);
        color: white;
    }

    /* Flèches gauche/droite */
    .scroll-indicator-left,
    .scroll-indicator-right {
        position: absolute;
        top: 0;
        height: 100%;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    .scroll-indicator-left {
        left: 0;
        background: linear-gradient(to right, #000 60%, transparent);
        display: none; /* cachée par défaut */
    }

    .scroll-indicator-right {
        right: 0;
        background: linear-gradient(to left, #000 60%, transparent);
    }

    /* icônes */
    .scroll-indicator-left i,
    .scroll-indicator-right i {
        color: var(--color);
        font-size: 1.2rem;
        opacity: 0.8;
    }

    /* Animation flèches */
    @keyframes moveRight {
        0% { transform: translateX(0); }
        50% { transform: translateX(4px); }
        100% { transform: translateX(0); }
    }
    @keyframes moveLeft {
        0% { transform: translateX(0); }
        50% { transform: translateX(-4px); }
        100% { transform: translateX(0); }
    }

    .scroll-indicator-right i { animation: moveRight 1.5s infinite; }
    .scroll-indicator-left i { animation: moveLeft 1.5s infinite; }

    .project-item {
        padding: 0;
        margin-bottom: 16px;
    }

    .project-card {
        flex-direction: column !important;
        background: #202020 !important; /* gris foncé propre */
        border-radius: 12px;
        padding: 14px !important;
        margin: 0 12px;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }

    .project-img-wrapper {
        width: 100%;
        max-width: 100% !important;
    }

    .project-img {
        border-radius: 8px;
    }

    .project-info {
        margin-top: 10px;
    }

    .project-title {
        font-size: 1.05rem;
    }

    .project-meta {
        font-size: 0.8rem;
    }

}

/* ==================================================
   TEAM
================================================== */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team-card {
    text-align: left;
}

.team-img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: all 0.5s ease;
}

.team-card:hover .team-img {
    transform: scale(1.03);
}

.team-text {
    font-size: 0.95rem;
    opacity: 0.85;
}

.team-list {
    margin-top: 60px;
}

.team-list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}
.team-card:hover .team-img { filter: grayscale(0%); transform: scale(1.03); }
.team-name { font-size: 1.2rem; text-transform: uppercase; font-weight: bold; margin-bottom: 5px; }
.team-role { color: var(--color); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ==================================================
   CONTACT
================================================== */

.contact-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    position: relative;
}

/* Colonnes */
.contact-col {
    flex: 1;
    max-width: 360px;
}
.contact-address{
    text-align: end;

}

/* Séparateur vertical */
.contact-separator {
    width: 2px;
    background: var(--color);
    border-radius: 2px;
    height: 320px;
    margin-top: 12px;
}

/* Items */
.contact-item {
    align-items: center;
    gap: 22px;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.5;
    transition: color 0.4s ease;
}

/* Icônes */
.contact-icon {
    color: var(--color);
    font-size: 1.8rem;
    width: 45px;
    flex-shrink: 0;
}


/* Liens à droite */
.contact-info {
    text-align: start;
}

.contact-link {
    text-decoration: none;
    color: #fff;
}

.contact-link:hover {
    color: var(--color);
}


/* Marges verticales */
.mt-5 {
    margin-top: 2.5rem;
}

.contact-columns {
    display: flex;
}

@media (max-width: 768px) {


    .contact-columns {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .contact-col {
        width: 100%;
        text-align: center;
    }

    .contact-separator {
        display: none;
    }

    .contact-separator {
        display: none;
    }

    .contact-col {
        max-width: 100%;
        margin-bottom: 0;
        text-align: center;

    }

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

    .contact-item {
        font-size: 1rem;
        gap: 15px;
    }

    .contact-icon {
        font-size: 1.5rem;
        width: 35px;
    }
}

/* ==================================================
   ANIMATIONS
================================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ==================================================
   RESPONSIVE MOBILE
================================================== */
@media (max-width: 992px) {
    .side-menu, .dots, .desktop-logo { display: none !important; }
    .mobile-header { display: flex; }
    section { padding-top: 100px; padding-bottom: 60px; padding-left: 20px; padding-right: 20px; }
    .prod-square { flex: 0 0 calc(50% - 10px); }
    h2 { font-size: 1.8rem; letter-spacing: 4px; margin-bottom: 40px; }
    .team-card { width: 100%; max-width: 320px; margin: 0 auto 30px; }
    .project-card:hover { transform: none; border-color: #333; }
}


/* ==================================================
   LEGAL PAGE
================================================== */
.legal-mentions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.legal-mentions .legal-block {
    width: 100%;
}

.legal-mentions h3 {
    margin-bottom: 0.5rem;
}

.legal-mentions ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.legal-mentions p,
.legal-mentions li {
    margin-bottom: 0.5rem;
}

.legal-mentions ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem auto;
    text-align: center;
}

/* ==================================================
   PRIVACY PAGE
================================================== */
.privacy-policy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.privacy-policy .privacy-block {
    width: 100%;
}

.privacy-policy h3 {
    margin-bottom: 0.5rem;
}

.privacy-policy p {
    margin-bottom: 0.5rem;
}

/* ===========================
   BACK TO TOP
=========================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
}

.back-to-top:hover {
    background-color: #ffffff;
    color: var(--color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(229, 101, 69, 0.4);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

