/* 
==============================================
0. VARIABLES & STYLES DE BASE (MOBILE FIRST)
==============================================
*/

:root {
    --color-black: #121212; /* Un noir profond, plus moderne */
    --color-dark-grey: #1d1d1b;
    --color-light-grey: #2a2a2a;
    --color-white: #ffffff;
    --color-orange: #f3952c;
    --color-pink: #e72e60;
    --gradient-main: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    
    --font-titles: 'Archivo Black', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --container-padding: 5%;
    --section-padding: 4rem 0; /* 4rem en haut/bas, 0 sur les côtés */
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Défilement fluide entre les ancres */
    scroll-padding-top: 80px; /* Espace pour la navbar fixe */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-pink);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-titles);
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-text {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 1.5rem auto; /* Centré horizontalement */
}

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

/* 
==============================================
1. ANIMATIONS (SPLASH & SCROLL)
==============================================
*/
.splash-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--color-dark-grey); z-index: 9999;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.splash-screen.curtain-up { transform: translateY(-100%); }

.main-logo-container {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 85%; max-width: 400px; z-index: 10000;
}
#main-logo { width: 100%; height: auto; }

#main-paths path {
    fill: url(#mainGradient);
    fill-opacity: 0; /* Le remplissage est invisible au début */
    stroke: url(#mainGradient);
    stroke-opacity: 1; /* Le contour est visible pour le dessin */
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    /* Astuce pour forcer l'accélération matérielle sur mobile */
    transform: translateZ(0); 
}

.content-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* La section Menu doit être visible par défaut, car elle n'est pas animée */
#menu-list.content-section {
    opacity: 1;
    transform: none;
}

/* La section Concept gère ses propres animations, on la rend visible par défaut */
.concept-section {
    opacity: 1;
    transform: none;
    transition: none;
}


body.menu-open main,
body.menu-open footer {
    filter: blur(8px) brightness(0.6);
    transition: filter 0.5s ease;
    pointer-events: none; /* Empêche l'interaction avec le contenu flou */
}

/* 
==============================================
2. HEADER & NAVIGATION
==============================================
*/
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* === ANIMATIONS D'APPARITION DU HEADER === */
.site-header .logo,
.site-header .mobile-menu-button {
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    /* Fallback : rendre visible après 2s si JavaScript n'a pas pris le relais */
    animation: header-fallback-show 0.1s ease-out 2s forwards;
}

/* Les nav-links ne sont cachés que sur desktop */
@media (min-width: 768px) {
    .site-header .nav-links {
        opacity: 0;
        will-change: transform, opacity;
        backface-visibility: hidden;
        /* Fallback : rendre visible après 2s si JavaScript n'a pas pris le relais */
        animation: header-fallback-show 0.1s ease-out 2s forwards;
    }
}

/* Animation de fallback pour assurer la visibilité */
@keyframes header-fallback-show {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Logo - Apparition douce avec scale */
.site-header .logo {
    transform: translateY(-20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.header-visible .logo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Navigation desktop - Apparition par la droite (uniquement sur desktop) */
@media (min-width: 768px) {
    .site-header .nav-links {
        transform: translateX(30px);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    }

    .site-header.header-visible .nav-links {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sur mobile, les nav-links sont déjà invisibles par défaut (position fixe hors écran) */
@media (max-width: 767px) {
    .site-header .nav-links {
        /* Pas d'animation d'apparition sur mobile car c'est un menu latéral */
        opacity: 1;
    }
    
    .site-header.header-visible .nav-links {
        /* Garde la fonctionnalité du menu mobile */
        opacity: 1;
    }
}

/* Bouton hamburger mobile - Apparition simple */
.site-header .mobile-menu-button {
    transform: translateY(-15px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.site-header.header-visible .mobile-menu-button {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animation progressive des liens sur desktop */
@media (min-width: 768px) {
    .site-header:not(.header-visible) .nav-links a {
        opacity: 0 !important;
        transform: translateY(-8px) !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    .site-header.header-visible .nav-links a:nth-child(1) { 
        transition-delay: 0.3s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(2) { 
        transition-delay: 0.4s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(3) { 
        transition-delay: 0.5s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(4) { 
        transition-delay: 0.6s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(5) { 
        transition-delay: 0.7s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Reset will-change après animations et annulation du fallback */
.site-header.header-visible .logo,
.site-header.header-visible .nav-links,
.site-header.header-visible .mobile-menu-button {
    will-change: auto;
    animation: none; /* Annule l'animation de fallback */
}

/* --- Base de la barre de navigation --- */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header.scrolled .navbar {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    transition: transform 0.3s ease;
}

/* Ombre pour le logo SAUF sur la page d'accueil */
body:not(.home-page) .logo img {
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8));
}

.logo:hover img {
    transform: scale(1.1);
}

/* --- VERSION MOBILE AMÉLIORÉE (MENU LATÉRAL) --- */

.mobile-menu-button {
    background: none; border: none; cursor: pointer; z-index: 1001; padding: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    width: 32px; height: 24px; position: relative;
}

/* Ombre pour le bouton hamburger SAUF sur la page d'accueil */
body:not(.home-page) .mobile-menu-button .bar {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

/* Ombre pour la navigation desktop SAUF sur la page d'accueil */
body:not(.home-page) .nav-links a {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.mobile-menu-button .bar {
    display: block; width: 100%; height: 3px; background-color: var(--color-white); border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
.mobile-menu-button.active .bar:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.mobile-menu-button.active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-button.active .bar:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

.nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 0; right: 0;
    width: 85%; max-width: 380px; height: 100vh;
    padding: 6rem 2rem 2rem 2rem;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.5rem;
}

.nav-links.active {
    transform: translateX(0);
}

.nav-links a {
    font-family: var(--font-titles); text-transform: uppercase; font-size: 1.4rem;
    padding: 0.8rem 0; color: var(--color-white); text-align: left; width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0; transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-links a:nth-child(4) { border-bottom: none; margin-bottom: 1rem; } /* Dernier lien de nav */

.nav-links a.nav-btn {
    text-align: center; margin-bottom: 1.5rem; font-size: 1.1rem;
    border-bottom: none; padding: 0.8rem 1.5rem;
}

.nav-links .nav-socials {
    display: flex; justify-content: center; width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.nav-links .nav-socials a {
    font-size: 1.8rem; padding: 0 1rem; border: none;
    color: #aaa; transition: color 0.3s ease;
}
.nav-links .nav-socials a:hover { color: var(--color-pink); }

/* Animation des liens */
.nav-links.active a { opacity: 1; transform: translateY(0); }
.nav-links.active a:nth-child(1) { transition-delay: 0.2s; }
.nav-links.active a:nth-child(2) { transition-delay: 0.25s; }
.nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
.nav-links.active a:nth-child(4) { transition-delay: 0.35s; }
.nav-links.active a:nth-child(5) { transition-delay: 0.4s; } /* Bouton commander */
.nav-links.active .nav-socials { 
    opacity: 1; transform: translateY(0); 
    transition: opacity 0.4s ease 0.45s, transform 0.4s ease 0.45s;
}

.nav-socials { opacity: 0; transform: translateY(15px); }

/* --- VERSION DESKTOP (dans la media query) --- */
@media (min-width: 768px) {
    /* Cache le bouton hamburger sur desktop */
    .mobile-menu-button {
        display: none !important;
    }

    /* Réinitialise les styles du menu pour desktop */
    .nav-links {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        padding: 0 !important;
        gap: 1.5rem;
    }

    /* Permettre les animations initiales, puis forcer les styles desktop */
    .site-header.header-visible .nav-links {
        transform: none !important;
    }

    .nav-links a {
        font-size: 0.9rem !important;
        padding: 0 0 5px 0 !important;
        margin: 0 !important;
        position: relative;
        color: var(--color-white) !important;
        font-family: var(--font-body) !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px;
        border-bottom: none !important;
        width: auto !important;
        text-align: left !important;
    }



    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        background: var(--gradient-main);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 50%;
    }

    /* Supprime les liens sociaux sur desktop (ils sont pour mobile uniquement) */
    .nav-links .nav-socials {
        display: none !important;
    }
}



/* 
==============================================
3. BOUTONS
==============================================
*/
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: 200% auto;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--color-white);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    filter: brightness(1.2);
    color: var(--color-white); /* Assure que le texte reste blanc */
}

.btn-secondary {
    color: var(--color-white);
    background-color: transparent;
    border: 2px solid var(--color-pink);
}
.btn-secondary:hover {
    background-color: var(--color-pink);
    border-color: var(--color-pink);
    transform: scale(1.05);
}

/* 
==============================================
4. SECTIONS SPÉCIFIQUES
==============================================
*/

/* --- HERO V2 (PROJET TITAN) --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--color-white);
    padding: 0 var(--container-padding);
    perspective: 1000px; /* Active la perspective pour la 3D */
}

.hero-overlay {
    position: absolute;
    top: 0;
        left: 0;
        width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%); /* Ajout d'une position par défaut pour mobile */
    z-index: 1;
    transition: opacity 0.5s ease;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.hero-title, .hero-subtitle, .hero-btn {
    opacity: 0; /* Caché par défaut, animé par JS */
    will-change: transform, opacity; /* Optimisation des performances */
}

/* Conteneurs pour les animations de "masque" */
.hero-title-wrapper, .hero-subtitle-wrapper {
    display: block;
    overflow: hidden;
}

.hero-title span span {
    display: block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.5rem, 8vw, 4rem); /* Taille légèrement réduite pour une seule ligne */
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transform: rotate(-2deg); /* Ajout de l'inclinaison */
    animation: realistic-flicker 4s infinite linear; /* Ajout de l'animation néon */
}

.hero-title .gradient-text {
        background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Nécessaire pour le dégradé */
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* États animés (contrôlés par JavaScript) */
body.hero-loaded .hero-title,
body.hero-loaded .hero-subtitle,
body.hero-loaded .hero-btn {
    opacity: 1;
}

body.hero-loaded .hero-title span span {
    transform: translateY(0);
}
body.hero-loaded .hero-title-wrapper:nth-child(3) > span { transition-delay: 0.15s; }

body.hero-loaded .hero-subtitle span span {
    transition-delay: 0.3s;
    transform: translateY(0);
}

body.hero-loaded .hero-btn {
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

/* --- CONCEPT SECTION V3 --- */
.concept-section {
    background-color: var(--color-dark-grey);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(29, 29, 27, 0.97), rgba(29, 29, 27, 0.97)), url('assets/images/skate.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 40px;
    padding-bottom: 40px;
}

.concept-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 25%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.concept-details .section-title {
    /* Effet néon cassé réaliste */
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal; /* Annule le gras par défaut du H2 */
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 9vw, 5rem); /* Plus imposant */
    letter-spacing: 0.1em; /* Plus large */
    animation: realistic-flicker 4s infinite linear;
}

.concept-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
    color: #ccc;
}

.points-grid {
    display: grid;
    gap: 2.5rem;
    perspective: 1000px; /* For 3D effect */
}

.point-card {
    position: relative;
    background: linear-gradient(145deg, rgba(42, 42, 42, 0.7), rgba(30, 30, 30, 0.8));
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

.point-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.point-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.point-card .card-icon {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    margin-top: 3px;
    transition: transform 0.5s ease;
}

.point-card:hover .card-icon {
    transform: scale(1.1);
}

.point-card h3 {
    font-family: var(--font-titles);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.point-card p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.7;
}

.concept-outro {
    margin-top: 5rem;
    position: relative;
    padding: 3rem;
    text-align: center;
    border-radius: 20px;
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
}
/* Bordure supprimée */

.outro-text h3 {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.outro-text p {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

.outro-slogan p {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    text-transform: uppercase;
    line-height: 1.2;
}

.outro-slogan span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 
==============================================
SYSTÈME D'ANIMATIONS D'APPARITION PREMIUM OSS'
==============================================
*/

/* === BASE DES ANIMATIONS === */
.concept-details .section-title,
.intro-text,
.point-card,
.concept-outro,
.outro-text,
.outro-slogan {
    opacity: 0;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* === ANIMATION DU TITRE PRINCIPAL === */
.concept-details .section-title {
    transform: translateY(50px) rotate(-3deg) scale(0.96);
    filter: blur(4px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.concept-details .section-title.visible {
    transform: translateY(0) rotate(-2deg) scale(1);
    opacity: 1;
    filter: blur(0);
}

/* === ANIMATION DU TEXTE D'INTRODUCTION === */
.intro-text {
    transform: translateY(40px) rotateX(-10deg);
    filter: blur(3px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.intro-text.visible {
    transform: translateY(0) rotateX(0);
    opacity: 1;
    filter: blur(0);
}

/* === ANIMATIONS DES CARTES === */
.point-card {
    transform: translateY(60px) rotateX(-15deg) scale(0.95);
    filter: blur(4px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.point-card.visible {
    transform: translateY(0) rotateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

/* Délais progressifs pour les cartes */
.point-card:nth-child(1).visible { 
    transition-delay: 0.3s;
}
.point-card:nth-child(2).visible { 
    transition-delay: 0.5s;
}
.point-card:nth-child(3).visible { 
    transition-delay: 0.7s;
}

/* === ANIMATIONS DE LA SECTION OUTRO === */
.concept-outro {
    transform: scale(0.95) translateY(30px);
    filter: blur(3px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.concept-outro.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
}

/* Animations des éléments de l'outro */
.outro-text {
    transform: translateX(-30px);
    filter: blur(2px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s;
}

.outro-slogan {
    transform: translateX(30px);
    filter: blur(2px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.3s;
}

.concept-outro.visible .outro-text,
.concept-outro.visible .outro-slogan {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
}

/* === ANIMATIONS DES ICÔNES (SIMPLIFIÉES) === */
.point-card .card-icon {
    transition: transform 0.3s ease;
}

.point-card:hover .card-icon {
    transform: scale(1.1);
}

/* === KEYFRAMES SUPPRIMÉES (ANIMATIONS SIMPLIFIÉES) === */

/* === OPTIMISATIONS MOBILE === */
@media (max-width: 768px) {
    .concept-details .section-title {
        transform: translateY(30px) rotate(-2deg) scale(0.98);
        filter: blur(2px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .intro-text {
        transform: translateY(30px) rotateX(-5deg);
        filter: blur(2px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    }
    
    .point-card {
        transform: translateY(40px) rotateX(-10deg) scale(0.96);
        filter: blur(2px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .concept-outro {
        transform: scale(0.98) translateY(20px);
        filter: blur(2px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
    }
    
    .outro-text {
        transform: translateX(-20px);
        filter: blur(1px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
    }
    
    .outro-slogan {
        transform: translateX(20px);
        filter: blur(1px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.1s;
    }
}

/* === OPTIMISATIONS DESKTOP === */
@media (min-width: 1024px) {
    /* Effets de survol subtils pour desktop */
    .point-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }
}

/* === PERFORMANCE OPTIMIZATIONS === */
@media (prefers-reduced-motion: reduce) {
    .concept-details .section-title,
    .intro-text,
    .point-card,
    .concept-outro,
    .outro-text,
    .outro-slogan {
        transform: none;
        filter: none;
        transition: opacity 0.6s ease;
    }
    
    .visible {
        animation: none;
        transform: none;
        filter: none;
    }
}

/* Reset will-change après animations */
.visible {
    will-change: auto;
}

/* --- IDENTITY SECTION --- */
.identity-parallax-container {
    position: relative;
    background: url('assets/Mur/LE SANDWICH QUI SE FOUT PAS DE TA GU.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.identity-section {
    background-color: transparent; /* La section elle-même n'a pas de fond */
    min-height: 90vh; /* Hauteur minimale pour mobile */
}

.identity-content-wrapper {
    position: relative;
    /* NOUVEAU STYLE : Fond blanc avec graffiti en transparence */
    background-color: white;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;

    border-radius: 20px;
    padding: clamp(2rem, 5vw, 3rem);
    padding-top: 4.5rem; /* Espace réduit pour rapprocher le texte */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Bordure sombre plus subtile */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Ombre plus douce */
    max-width: 650px;
    text-align: center;
    /* --- Animation Acte 1 --- */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.identity-section.visible .identity-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* On supprime l'effet de hover */

.identity-content-wrapper .section-title {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    margin-bottom: 0;
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 0.9;
    letter-spacing: normal;
    color: var(--color-white);
    text-shadow: -2px -2px 0 var(--color-dark-grey), 2px -2px 0 var(--color-dark-grey), -2px 2px 0 var(--color-dark-grey), 2px 2px 0 var(--color-dark-grey);
    /* --- Animation Acte 2 --- */
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-15deg) scale(0.8);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s; /* Durée 1s, Délai 0.4s */
}

.identity-section.visible .identity-content-wrapper .section-title {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-2deg) scale(1);
}

.identity-text {
    color: #333; /* Texte plus sombre pour un meilleur contraste */
    font-weight: 500; /* Un peu plus épais */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    /* --- Animation Acte 3 --- */
    opacity: 0;
    transition: opacity 0.8s ease 0.8s; /* Délai plus long */
}

.identity-section.visible .identity-text {
    opacity: 1;
}

.identity-text p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
}

.identity-text p:last-child {
    margin-bottom: 0;
}

.identity-text strong {
    color: #000;
    font-weight: 700;
}

.identity-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 5%; /* Ajoute un peu d'espace sur les côtés */
    margin: 2rem -5% 0; /* Compense le padding du container */
    scroll-snap-type: x mandatory; /* Active le défilement "magnétique" */
    scrollbar-width: none; /* Firefox */
}

.identity-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.gallery-img {
    width: 80%;
    flex-shrink: 0;
    height: 300px; /* Hauteur fixe pour toutes les images */
    object-fit: cover; /* Assure que l'image couvre l'espace sans être déformée */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    scroll-snap-align: center; /* Centre l'image lors du défilement "magnétique" */
}


/* --- VALIDATION SECTION (MODIFIÉ POUR LISIBILITÉ) --- */
.validation-parallax-container {
    position: relative;
    background: url('assets/Mur/Mur-grafiti.png') no-repeat right center;
    background-size: cover;
    z-index: 1;
    padding: var(--section-padding); /* Ajout du padding ici */
}

#validation {
    background: transparent;
    padding: 0; /* On enlève le padding de la section interne */
}

#validation .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.2rem, 8vw, 4rem); /* Un peu plus petit que "Concept" */
    letter-spacing: 0.1em;
    transform: rotate(-2deg); /* Ajout de l'inclinaison */
    /* On garde le dégradé de base mais sans l'effet néon */
}

.validation-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Cartes effet "verre dépoli" pour lisibilité et style (sans bordure) */
.validation-card {
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
    
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.validation-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de survol supprimé */

/* Le texte est maintenant lisible, plus besoin d'ombre portée */
.validation-card .card-icon {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.validation-card h3 {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.validation-card p {
    color: #ddd;
    line-height: 1.6;
}

/* --- Influencer & Video Section --- */
.influencer-section {
    margin-top: 4rem;
    text-align: center;
}

/* Texte mis en valeur avec un cadre en dégradé */
.influencer-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem); /* Taille légèrement ajustée */
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem auto; /* Marge inférieure augmentée */
    color: #eee;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);

    /* Cadre stylisé */
    position: relative;
    padding: 1.5rem 1rem;
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image-slice: 1;
    border-image-source: var(--gradient-main);
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.2), rgba(18, 18, 18, 0.4));
}

.video-thumbnails-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.video-thumbnail-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 9;
}

.video-thumbnail-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.video-thumbnail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.video-overlay i {
    font-size: 3.5rem;
    color: var(--color-white);
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-thumbnail-card:hover .video-overlay {
    background: rgba(0,0,0,0.2);
}

.video-thumbnail-card:hover .video-overlay i {
    transform: scale(1.2);
    color: var(--color-pink);
}

/* --- Video Lightbox --- */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001; /* Doit être au-dessus de tout */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    height: 0;
    padding-bottom: 54%; /* Ratio 16:9 pour la vidéo */
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-lightbox.show .lightbox-content {
    transform: scale(1);
}

#youtube-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#youtube-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--color-pink);
    transform: rotate(90deg);
}

/* --- FRANCHISE CTA SECTION --- */
.franchise-cta-parallax-container {
    position: relative;
    background: url('assets/Mur/LE SANDWICH QUI SE FOUT PAS DE TA GU.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

#franchise-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: transparent;
}

.franchise-cta-content {
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;

    border-radius: 20px;
    padding: clamp(2.5rem, 6vw, 4rem);
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.franchise-cta-content .section-title {
    margin-bottom: 1.5rem;
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.2rem, 8vw, 4rem);
    letter-spacing: 0.1em;
    transform: rotate(-2deg);
}

.franchise-cta-content .section-text {
    color: #ddd;
    margin-bottom: 2.5rem;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.8;
}

/* --- FRANCHISE PAGE --- */
.franchise-page-hero {
    padding-top: 90px;
    padding-bottom: 30px;
    background-color: var(--color-dark-grey);
    text-align: center;
    position: relative;
    background-image: url('assets/Mur/LE SANDWICH QUI SE FOUT PAS DE TA GU.png');
    background-size: cover;
    background-position: center;
}

.franchise-page-hero .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--color-white);
    text-shadow: -2px -2px 0 var(--color-dark-grey), 2px -2px 0 var(--color-dark-grey), -2px 2px 0 var(--color-dark-grey), 2px 2px 0 var(--color-dark-grey), 0 10px 30px rgba(0,0,0,0.5);
    transform: rotate(-2deg);
    animation: float 6s ease-in-out infinite;
}

.franchise-page-hero .section-text {
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* --- PAGE FRANCHISE : SECTION AVANTAGES --- */
#franchise-advantages {
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url(assets/Mur/murmur.png);
    background-size: cover;
    background-position: center;
}

#franchise-team .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
}

#franchise-advantages .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(42, 42, 42, 0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.advantage-icon {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.advantage-title {
    font-family: var(--font-titles);
    font-size: 1rem;
    color: var(--color-white);
    line-height: 1.3;
}

/* --- PAGE FRANCHISE : SECTION EQUIPE V2 --- */
.franchise-team-v2 {
    background-color: var(--color-black);
}

.franchise-team-v2 .team-header {
    text-align: left;
    margin-bottom: 4rem;
}

.franchise-team-v2 .section-text {
    max-width: 700px;
}

.franchise-team-v2 .team-layout {
    display: flex;
    justify-content: center; /* Centre la carte horizontalement */
    gap: 2rem;
    margin-top: 3rem;
}

.franchise-team-v2 .single-team-card {
    background: var(--color-dark-grey);
    border: 1px solid var(--color-light-grey);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 700px; /* Limite la largeur pour une meilleure lisibilité */
    text-align: center;
}

.franchise-team-v2 .team-member {
    background: var(--color-dark-grey);
    border: 1px solid var(--color-light-grey);
    border-radius: 15px;
    overflow: hidden;
}

.member-info {
    padding: 2rem;
}

.member-name {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    line-height: 1.1;
}

.member-role {
    font-family: var(--font-titles);
    font-size: 1rem;
    text-transform: uppercase;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.member-description {
    color: #bbb;
    line-height: 1.8;
}

.franchise-team-v2 .team-conclusion {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


/* 
==============================================
5. FOOTER
==============================================
*/
.site-footer {
    background-color: #000;
    padding: 4rem var(--container-padding) 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 100px;
    margin-bottom: 1rem;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #aaa;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    color: var(--color-pink);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-titles);
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul a {
    color: #aaa;
}

.footer-column p {
    color: #aaa;
}
.footer-column p a {
    color: var(--color-white);
    font-weight: 700;
}
.footer-column p a:hover {
    color: var(--color-pink);
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #666;
}

.footer-credit a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--color-orange);
}

/*
==============================================
6. MEDIA QUERIES (TABLETTE ET PLUS GRAND)
==============================================
*/

@media (min-width: 768px) {
    :root {
        --section-padding: 6rem 0;
    }

    .section-text {
        font-size: 1.1rem;
    }

    /* Annuler le flou sur le contenu principal car le menu ne s'ouvre plus par-dessus */
    body.menu-open main,
    body.menu-open footer {
        filter: none;
        pointer-events: auto;
    }

    /* --- CONCEPT --- */
    .points-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .concept-outro {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 4rem;
    }

    .outro-text {
        flex-basis: 50%;
    }
    
    .outro-text p {
        margin: 0;
    }

    .outro-slogan {
        flex-basis: 40%;
        text-align: right;
    }

    .outro-slogan p {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }

    /* --- IDENTITY --- */
    .identity-parallax-container {
        background-attachment: fixed; /* Effet parallaxe activé SEULEMENT sur grand écran */
    }

    .identity-section {
        justify-content: flex-start; /* Aligne le contenu à gauche */
        min-height: auto; /* La hauteur redevient automatique */
    }

    .identity-content-wrapper {
        margin-left: 0; 
        max-width: 550px; 
        text-align: left;
    }

    .identity-content-wrapper .section-title {
        font-size: clamp(2rem, 5vw, 3rem); /* Taille du titre encore réduite pour desktop */
        text-align: center;
    }

    .identity-text p {
        font-size: clamp(1.1rem, 2.5vw, 1.2rem); /* Texte du contenu agrandi pour desktop */
    }

    .identity-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    .identity-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        perspective: 1500px;
        margin-top: 0;
    }

    .gallery-img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .gallery-img:hover {
        transform: scale(1.05) translateZ(20px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }
    
    .gallery-img:nth-child(1) { transform: rotate(-5deg) translate(0, 10px); }
    .gallery-img:nth-child(2) { transform: rotate(4deg) translate(0, -5px); }
    .gallery-img:nth-child(3) { transform: rotate(6deg) translate(0, 15px); }
    .gallery-img:nth-child(4) { transform: rotate(-3deg) translate(0, -10px); }
    .gallery-img:nth-child(5) { 
        grid-column: span 2;
        transform: rotate(2deg) scale(1.05);
    }

    /* --- VALIDATION --- */
    .validation-parallax-container {
        background-attachment: fixed;
        background-position: center center; /* On recentre sur grand écran */
    }

    .validation-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .video-thumbnails-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .video-thumbnails-grid .video-thumbnail-card {
        width: calc(33.333% - 1.5rem);
    }

    .franchise-cta-parallax-container {
        background-attachment: fixed;
    }

    /* --- PAGE FRANCHISE --- */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .franchise-team-v2 .team-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

/* 
==============================================
7. MEDIA QUERIES (GRAND ÉCRAN)
==============================================
*/

@media (min-width: 1024px) {
    :root {
        --section-padding: 8rem 0;
    }
    .nav-links {
        gap: 2.5rem;
    }
    .main-logo-container {
        max-width: 500px;
    }
    #main-paths path {
        stroke-width: 3;
    }

    /* --- PAGE FRANCHISE --- */
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    .advantage-card {
        min-height: 220px; /* Hauteur minimale pour aligner */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}


.franchise-team-v2 .team-header .section-title {
    text-align: center;
}

.franchise-team-v2 .team-header .section-text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

@keyframes realistic-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        filter: none;
    }
    /* Lueur faible */
    20%, 24%, 55% {
        filter: 
            drop-shadow(0 0 5px rgba(243, 149, 44, 0.25))
            drop-shadow(0 0 10px rgba(231, 46, 96, 0.15));
    }
    /* Lueur maximale (équilibrée) */
    21%, 23%, 26%, 54%, 56%, 58% {
        filter: 
            drop-shadow(0 0 7px rgba(243, 149, 44, 0.4)) 
            drop-shadow(0 0 16px rgba(243, 149, 44, 0.3))
            drop-shadow(0 0 32px rgba(231, 46, 96, 0.3));
    }
}

/* --- PAGE FRANCHISE : SECTION CONDITIONS (SIMPLIFIÉ) --- */
#conditions {
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
}

#conditions .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    color: var(--color-white);
    transform: rotate(-2deg);
    margin-bottom: 4rem;
}

#conditions .conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
}

#conditions .condition-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: transparent;
}

#conditions .condition-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#conditions .condition-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 0.9;
    color: #aaa;
    text-align: center;
}

#conditions .condition-text strong {
    font-family: var(--font-titles);
    color: var(--color-white);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.1rem; /* Espacement réduit */
}

#conditions .location-text strong {
    font-size: 1rem; /* Taille de police réduite pour le texte long */
    line-height: 1.3;
}

.conditions-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conditions-cta p {
    font-size: 1.1rem;
    color: #eee;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* Grille à 2 colonnes pour tablettes et plus grand */
@media (min-width: 768px) {
    #conditions .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0px) rotate(-2deg);
    }
    50% {
        transform: translate(0, 15px) rotate(-2deg);
    }
    100% {
        transform: translate(0, -0px) rotate(-2deg);
    }
}

/* 
==============================================
8. PAGE MENU
==============================================
*/
#menu-list {
    background-color: var(--color-dark-grey);
    position: relative;
}

#menu-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        45deg, 
        rgba(0, 0, 0, 0.03) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(0, 0, 0, 0.03) 75%
    ),
    linear-gradient(
        -45deg, 
        rgba(0, 0, 0, 0.03) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(0, 0, 0, 0.03) 75%
    );
    background-size: 3px 3px;
    pointer-events: none;
}

#menu-list .container {
    position: relative;
}

.menu-category-title {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    text-align: center;
    text-transform: uppercase;
    margin: 3rem 0 2rem 0;
    color: var(--color-white);
    transform: rotate(-2deg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.menu-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    cursor: pointer;
}

.menu-item img {
    width: 100%;
    height: auto; /* Changement ici pour la taille réelle */
    object-fit: contain; /* Assure que l'image entière est visible */
    transition: transform 0.4s ease;
}

.menu-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
    font-family: var(--font-titles);
    font-size: 1.1rem;
    text-transform: uppercase;
    text-align: center;
    transform: translateY(0); /* Rendre visible par défaut */
    transition: all 0.4s ease;
}

.menu-item:hover img {
    transform: scale(1.1);
}

.menu-item:hover h3 {
    background: transparent;
    transform: translateY(-3rem); /* Remonte le titre pour laisser place au bouton */
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 
==============================================
9. FENÊTRE MODALE DE COMMANDE
==============================================
*/
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10002; /* Au-dessus de tout */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.order-modal.show {
    opacity: 1;
    visibility: visible;
}

.order-modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(42, 42, 42, 0.9), rgba(30, 30, 30, 0.95));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.order-modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-main);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.7;
}


.order-modal.show .order-modal-content {
    transform: scale(1);
}

.order-modal-content h2 {
    font-family: 'Gasoek One', sans-serif;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.order-modal-content h2 .fa-shipping-fast {
    font-size: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.order-modal-content p {
    color: #ccc;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.order-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.order-buttons .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-family: var(--font-titles);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.btn-deliveroo {
    background-color: #00CCBC;
    color: var(--color-white) !important;
}
.btn-deliveroo:hover {
    background-color: #00B2A2;
    color: var(--color-white) !important;
}

.btn-ubereats {
    background-color: #06C167;
    color: var(--color-white) !important;
}
.btn-ubereats:hover {
    background-color: #05A75A;
    color: var(--color-white) !important;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}
.close-modal-btn:hover {
    transform: rotate(90deg);
    color: var(--color-pink);
}

/* Styles pour le bouton "Commander" sur les cartes du menu */
.menu-item .order-btn-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Important pour ne pas bloquer le survol */
}

.menu-item:hover .order-btn-overlay {
    opacity: 1;
    pointer-events: all; /* Rendre le bouton cliquable */
}

.menu-item .btn {
    width: 80%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.menu-item:hover .btn {
    transform: translateY(0);
}

/* Ajustement pour que le titre reste visible au survol */
.menu-item h3 {
    transition: all 0.4s ease; /* Ajout d'une transition douce */
}
.menu-item:hover h3 {
    background: transparent;
    transform: translateY(-3.5rem); /* Remonte le titre pour laisser place au bouton */
}

@media (max-width: 767px) {
    .order-modal-content h2 {
        font-size: 1.5rem; /* Taille de police réduite pour le titre sur mobile */
    }
    .order-modal-content h2 .fa-shipping-fast {
        font-size: 1.5rem; /* Taille de l'icône réduite également */
    }
}

/* 
==============================================
10. PAGE CONTACT
==============================================
*/
#contact-form-section {
    background-color: var(--color-dark-grey);
    padding: var(--section-padding);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
    padding: clamp(2rem, 6vw, 4rem);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.contact-form-container .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
}

.contact-form {
    display: grid;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1rem;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem 1rem;
    background: var(--color-dark-grey);
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 8px 0 0;
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-bottom-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-orange);
}

/* Animation du label */
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0.3rem;
    font-size: 0.75rem;
    color: var(--color-orange);
}

/* Placeholder vide pour que l'animation fonctionne */
.form-group input,
.form-group textarea {
    padding-top: 1.5rem; /* Espace pour le label animé */
}

.contact-form .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* 
==============================================
3. HEADER & NAVIGATION
==============================================
*/

/* On s'assure que les liens de la nav restent blancs au survol */
.nav-links a:hover {
    color: var(--color-white) !important; /* On force le texte à rester blanc */
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* === ANIMATIONS D'APPARITION DU HEADER === */
.site-header .logo,
.site-header .mobile-menu-button {
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    /* Fallback : rendre visible après 2s si JavaScript n'a pas pris le relais */
    animation: header-fallback-show 0.1s ease-out 2s forwards;
}

/* Les nav-links ne sont cachés que sur desktop */
@media (min-width: 768px) {
    .site-header .nav-links {
        opacity: 0;
        will-change: transform, opacity;
        backface-visibility: hidden;
        /* Fallback : rendre visible après 2s si JavaScript n'a pas pris le relais */
        animation: header-fallback-show 0.1s ease-out 2s forwards;
    }
}

/* Animation de fallback pour assurer la visibilité */
@keyframes header-fallback-show {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Logo - Apparition douce avec scale */
.site-header .logo {
    transform: translateY(-20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.header-visible .logo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Navigation desktop - Apparition par la droite (uniquement sur desktop) */
@media (min-width: 768px) {
    .site-header .nav-links {
        transform: translateX(30px);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    }

    .site-header.header-visible .nav-links {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sur mobile, les nav-links sont déjà invisibles par défaut (position fixe hors écran) */
@media (max-width: 767px) {
    .site-header .nav-links {
        /* Pas d'animation d'apparition sur mobile car c'est un menu latéral */
        opacity: 1;
    }
    
    .site-header.header-visible .nav-links {
        /* Garde la fonctionnalité du menu mobile */
        opacity: 1;
    }
}

/* Bouton hamburger mobile - Apparition simple */
.site-header .mobile-menu-button {
    transform: translateY(-15px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.site-header.header-visible .mobile-menu-button {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animation progressive des liens sur desktop */
@media (min-width: 768px) {
    .site-header:not(.header-visible) .nav-links a {
        opacity: 0 !important;
        transform: translateY(-8px) !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    .site-header.header-visible .nav-links a:nth-child(1) { 
        transition-delay: 0.3s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(2) { 
        transition-delay: 0.4s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(3) { 
        transition-delay: 0.5s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(4) { 
        transition-delay: 0.6s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .site-header.header-visible .nav-links a:nth-child(5) { 
        transition-delay: 0.7s !important; 
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Reset will-change après animations et annulation du fallback */
.site-header.header-visible .logo,
.site-header.header-visible .nav-links,
.site-header.header-visible .mobile-menu-button {
    will-change: auto;
    animation: none; /* Annule l'animation de fallback */
}

/* --- Base de la barre de navigation --- */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header.scrolled .navbar {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    transition: transform 0.3s ease;
}

/* Ombre pour le logo SAUF sur la page d'accueil */
body:not(.home-page) .logo img {
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8));
}

.logo:hover img {
    transform: scale(1.1);
}

/* --- VERSION MOBILE AMÉLIORÉE (MENU LATÉRAL) --- */

.mobile-menu-button {
    background: none; border: none; cursor: pointer; z-index: 1001; padding: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    width: 32px; height: 24px; position: relative;
}

/* Ombre pour le bouton hamburger SAUF sur la page d'accueil */
body:not(.home-page) .mobile-menu-button .bar {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

/* Ombre pour la navigation desktop SAUF sur la page d'accueil */
body:not(.home-page) .nav-links a {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.mobile-menu-button .bar {
    display: block; width: 100%; height: 3px; background-color: var(--color-white); border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
.mobile-menu-button.active .bar:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.mobile-menu-button.active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-button.active .bar:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

.nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 0; right: 0;
    width: 85%; max-width: 380px; height: 100vh;
    padding: 6rem 2rem 2rem 2rem;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.5rem;
}

.nav-links.active {
    transform: translateX(0);
}

.nav-links a {
    font-family: var(--font-titles); text-transform: uppercase; font-size: 1.4rem;
    padding: 0.8rem 0; color: var(--color-white); text-align: left; width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0; transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-links a:nth-child(4) { border-bottom: none; margin-bottom: 1rem; } /* Dernier lien de nav */

.nav-links a.nav-btn {
    text-align: center; margin-bottom: 1.5rem; font-size: 1.1rem;
    border-bottom: none; padding: 0.8rem 1.5rem;
}

.nav-links .nav-socials {
    display: flex; justify-content: center; width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.nav-links .nav-socials a {
    font-size: 1.8rem; padding: 0 1rem; border: none;
    color: #aaa; transition: color 0.3s ease;
}
.nav-links .nav-socials a:hover { color: var(--color-pink); }

/* Animation des liens */
.nav-links.active a { opacity: 1; transform: translateY(0); }
.nav-links.active a:nth-child(1) { transition-delay: 0.2s; }
.nav-links.active a:nth-child(2) { transition-delay: 0.25s; }
.nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
.nav-links.active a:nth-child(4) { transition-delay: 0.35s; }
.nav-links.active a:nth-child(5) { transition-delay: 0.4s; } /* Bouton commander */
.nav-links.active .nav-socials { 
    opacity: 1; transform: translateY(0); 
    transition: opacity 0.4s ease 0.45s, transform 0.4s ease 0.45s;
}

.nav-socials { opacity: 0; transform: translateY(15px); }

/* --- VERSION DESKTOP (dans la media query) --- */
@media (min-width: 768px) {
    /* Cache le bouton hamburger sur desktop */
    .mobile-menu-button {
        display: none !important;
    }

    /* Réinitialise les styles du menu pour desktop */
    .nav-links {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        padding: 0 !important;
        gap: 1.5rem;
    }

    /* Permettre les animations initiales, puis forcer les styles desktop */
    .site-header.header-visible .nav-links {
        transform: none !important;
    }

    .nav-links a {
        font-size: 0.9rem !important;
        padding: 0 0 5px 0 !important;
        margin: 0 !important;
        position: relative;
        color: var(--color-white) !important;
        font-family: var(--font-body) !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px;
        border-bottom: none !important;
        width: auto !important;
        text-align: left !important;
    }



    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        background: var(--gradient-main);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 50%;
    }

    /* Supprime les liens sociaux sur desktop (ils sont pour mobile uniquement) */
    .nav-links .nav-socials {
        display: none !important;
    }
}



/* 
==============================================
3. BOUTONS
==============================================
*/
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: 200% auto;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--color-white);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    filter: brightness(1.2);
    color: var(--color-white); /* Assure que le texte reste blanc */
}

.btn-secondary {
    color: var(--color-white);
    background-color: transparent;
    border: 2px solid var(--color-pink);
}
.btn-secondary:hover {
    background-color: var(--color-pink);
    border-color: var(--color-pink);
    transform: scale(1.05);
}

/* 
==============================================
4. SECTIONS SPÉCIFIQUES
==============================================
*/

/* --- HERO V2 (PROJET TITAN) --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--color-white);
    padding: 0 var(--container-padding);
    perspective: 1000px; /* Active la perspective pour la 3D */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%); /* Ajout d'une position par défaut pour mobile */
    z-index: 1;
    transition: opacity 0.5s ease;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.hero-title, .hero-subtitle, .hero-btn {
    opacity: 0; /* Caché par défaut, animé par JS */
    will-change: transform, opacity; /* Optimisation des performances */
}

/* Conteneurs pour les animations de "masque" */
.hero-title-wrapper, .hero-subtitle-wrapper {
    display: block;
    overflow: hidden;
}

.hero-title span span {
    display: block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.5rem, 8vw, 4rem); /* Taille légèrement réduite pour une seule ligne */
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transform: rotate(-2deg); /* Ajout de l'inclinaison */
    animation: realistic-flicker 4s infinite linear; /* Ajout de l'animation néon */
}

.hero-title .gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Nécessaire pour le dégradé */
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* États animés (contrôlés par JavaScript) */
body.hero-loaded .hero-title,
body.hero-loaded .hero-subtitle,
body.hero-loaded .hero-btn {
    opacity: 1;
}

body.hero-loaded .hero-title span span {
    transform: translateY(0);
}
body.hero-loaded .hero-title-wrapper:nth-child(3) > span { transition-delay: 0.15s; }

body.hero-loaded .hero-subtitle span span {
    transition-delay: 0.3s;
    transform: translateY(0);
}

body.hero-loaded .hero-btn {
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

/* --- CONCEPT SECTION V3 --- */
.concept-section {
    background-color: var(--color-dark-grey);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(29, 29, 27, 0.97), rgba(29, 29, 27, 0.97)), url('assets/images/skate.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 40px;
    padding-bottom: 40px;
}

.concept-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 25%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.concept-details .section-title {
    /* Effet néon cassé réaliste */
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal; /* Annule le gras par défaut du H2 */
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 9vw, 5rem); /* Plus imposant */
    letter-spacing: 0.1em; /* Plus large */
    animation: realistic-flicker 4s infinite linear;
}

.concept-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
    color: #ccc;
}

.points-grid {
    display: grid;
    gap: 2.5rem;
    perspective: 1000px; /* For 3D effect */
}

.point-card {
    position: relative;
    background: linear-gradient(145deg, rgba(42, 42, 42, 0.7), rgba(30, 30, 30, 0.8));
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

.point-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.point-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.point-card .card-icon {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    margin-top: 3px;
    transition: transform 0.5s ease;
}

.point-card:hover .card-icon {
    transform: scale(1.1);
}

.point-card h3 {
    font-family: var(--font-titles);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.point-card p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.7;
}

.concept-outro {
    margin-top: 5rem;
    position: relative;
    padding: 3rem;
    text-align: center;
    border-radius: 20px;
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
}
/* Bordure supprimée */

.outro-text h3 {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.outro-text p {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

.outro-slogan p {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    text-transform: uppercase;
    line-height: 1.2;
}

.outro-slogan span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 
==============================================
SYSTÈME D'ANIMATIONS D'APPARITION PREMIUM OSS'
==============================================
*/

/* === BASE DES ANIMATIONS === */
.concept-details .section-title,
.intro-text,
.point-card,
.concept-outro,
.outro-text,
.outro-slogan {
    opacity: 0;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* === ANIMATION DU TITRE PRINCIPAL === */
.concept-details .section-title {
    transform: translateY(50px) rotate(-3deg) scale(0.96);
    filter: blur(4px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.concept-details .section-title.visible {
    transform: translateY(0) rotate(-2deg) scale(1);
    opacity: 1;
    filter: blur(0);
}

/* === ANIMATION DU TEXTE D'INTRODUCTION === */
.intro-text {
    transform: translateY(40px) rotateX(-10deg);
    filter: blur(3px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.intro-text.visible {
    transform: translateY(0) rotateX(0);
    opacity: 1;
    filter: blur(0);
}

/* === ANIMATIONS DES CARTES === */
.point-card {
    transform: translateY(60px) rotateX(-15deg) scale(0.95);
    filter: blur(4px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.point-card.visible {
    transform: translateY(0) rotateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

/* Délais progressifs pour les cartes */
.point-card:nth-child(1).visible { 
    transition-delay: 0.3s;
}
.point-card:nth-child(2).visible { 
    transition-delay: 0.5s;
}
.point-card:nth-child(3).visible { 
    transition-delay: 0.7s;
}

/* === ANIMATIONS DE LA SECTION OUTRO === */
.concept-outro {
    transform: scale(0.95) translateY(30px);
    filter: blur(3px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.concept-outro.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
}

/* Animations des éléments de l'outro */
.outro-text {
    transform: translateX(-30px);
    filter: blur(2px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s;
}

.outro-slogan {
    transform: translateX(30px);
    filter: blur(2px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.3s;
}

.concept-outro.visible .outro-text,
.concept-outro.visible .outro-slogan {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
}

/* === ANIMATIONS DES ICÔNES (SIMPLIFIÉES) === */
.point-card .card-icon {
    transition: transform 0.3s ease;
}

.point-card:hover .card-icon {
    transform: scale(1.1);
}

/* === KEYFRAMES SUPPRIMÉES (ANIMATIONS SIMPLIFIÉES) === */

/* === OPTIMISATIONS MOBILE === */
@media (max-width: 768px) {
    .concept-details .section-title {
        transform: translateY(30px) rotate(-2deg) scale(0.98);
        filter: blur(2px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .intro-text {
        transform: translateY(30px) rotateX(-5deg);
        filter: blur(2px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    }
    
    .point-card {
        transform: translateY(40px) rotateX(-10deg) scale(0.96);
        filter: blur(2px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .concept-outro {
        transform: scale(0.98) translateY(20px);
        filter: blur(2px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
    }
    
    .outro-text {
        transform: translateX(-20px);
        filter: blur(1px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
    }
    
    .outro-slogan {
        transform: translateX(20px);
        filter: blur(1px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.1s;
    }
}

/* === OPTIMISATIONS DESKTOP === */
@media (min-width: 1024px) {
    /* Effets de survol subtils pour desktop */
    .point-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }
}

/* === PERFORMANCE OPTIMIZATIONS === */
@media (prefers-reduced-motion: reduce) {
    .concept-details .section-title,
    .intro-text,
    .point-card,
    .concept-outro,
    .outro-text,
    .outro-slogan {
        transform: none;
        filter: none;
        transition: opacity 0.6s ease;
    }
    
    .visible {
        animation: none;
        transform: none;
        filter: none;
    }
}

/* Reset will-change après animations */
.visible {
    will-change: auto;
}

/* --- IDENTITY SECTION --- */
.identity-parallax-container {
    position: relative;
    background: url('assets/Mur/LE SANDWICH QUI SE FOUT PAS DE TA GU.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.identity-section {
    background-color: transparent; /* La section elle-même n'a pas de fond */
    min-height: 90vh; /* Hauteur minimale pour mobile */
}

.identity-content-wrapper {
    position: relative;
    /* NOUVEAU STYLE : Fond blanc avec graffiti en transparence */
    background-color: white;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;

    border-radius: 20px;
    padding: clamp(2rem, 5vw, 3rem);
    padding-top: 4.5rem; /* Espace réduit pour rapprocher le texte */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Bordure sombre plus subtile */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Ombre plus douce */
    max-width: 650px;
    text-align: center;
    /* --- Animation Acte 1 --- */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.identity-section.visible .identity-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* On supprime l'effet de hover */

.identity-content-wrapper .section-title {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    margin-bottom: 0;
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 0.9;
    letter-spacing: normal;
    color: var(--color-white);
    text-shadow: -2px -2px 0 var(--color-dark-grey), 2px -2px 0 var(--color-dark-grey), -2px 2px 0 var(--color-dark-grey), 2px 2px 0 var(--color-dark-grey);
    /* --- Animation Acte 2 --- */
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-15deg) scale(0.8);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s; /* Durée 1s, Délai 0.4s */
}

.identity-section.visible .identity-content-wrapper .section-title {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-2deg) scale(1);
}

.identity-text {
    color: #333; /* Texte plus sombre pour un meilleur contraste */
    font-weight: 500; /* Un peu plus épais */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    /* --- Animation Acte 3 --- */
    opacity: 0;
    transition: opacity 0.8s ease 0.8s; /* Délai plus long */
}

.identity-section.visible .identity-text {
    opacity: 1;
}

.identity-text p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
}

.identity-text p:last-child {
    margin-bottom: 0;
}

.identity-text strong {
    color: #000;
    font-weight: 700;
}

.identity-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 5%; /* Ajoute un peu d'espace sur les côtés */
    margin: 2rem -5% 0; /* Compense le padding du container */
    scroll-snap-type: x mandatory; /* Active le défilement "magnétique" */
    scrollbar-width: none; /* Firefox */
}

.identity-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.gallery-img {
    width: 80%;
    flex-shrink: 0;
    height: 300px; /* Hauteur fixe pour toutes les images */
    object-fit: cover; /* Assure que l'image couvre l'espace sans être déformée */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    scroll-snap-align: center; /* Centre l'image lors du défilement "magnétique" */
}


/* --- VALIDATION SECTION (MODIFIÉ POUR LISIBILITÉ) --- */
.validation-parallax-container {
    position: relative;
    background: url('assets/Mur/Mur-grafiti.png') no-repeat right center;
    background-size: cover;
    z-index: 1;
    padding: var(--section-padding); /* Ajout du padding ici */
}

#validation {
    background: transparent;
    padding: 0; /* On enlève le padding de la section interne */
}

#validation .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.2rem, 8vw, 4rem); /* Un peu plus petit que "Concept" */
    letter-spacing: 0.1em;
    transform: rotate(-2deg); /* Ajout de l'inclinaison */
    /* On garde le dégradé de base mais sans l'effet néon */
}

.validation-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Cartes effet "verre dépoli" pour lisibilité et style (sans bordure) */
.validation-card {
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
    
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.validation-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de survol supprimé */

/* Le texte est maintenant lisible, plus besoin d'ombre portée */
.validation-card .card-icon {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.validation-card h3 {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.validation-card p {
    color: #ddd;
    line-height: 1.6;
}

/* --- Influencer & Video Section --- */
.influencer-section {
    margin-top: 4rem;
    text-align: center;
}

/* Texte mis en valeur avec un cadre en dégradé */
.influencer-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem); /* Taille légèrement ajustée */
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem auto; /* Marge inférieure augmentée */
    color: #eee;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);

    /* Cadre stylisé */
    position: relative;
    padding: 1.5rem 1rem;
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image-slice: 1;
    border-image-source: var(--gradient-main);
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.2), rgba(18, 18, 18, 0.4));
}

.video-thumbnails-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.video-thumbnail-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 9;
}

.video-thumbnail-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.video-thumbnail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.video-overlay i {
    font-size: 3.5rem;
    color: var(--color-white);
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-thumbnail-card:hover .video-overlay {
    background: rgba(0,0,0,0.2);
}

.video-thumbnail-card:hover .video-overlay i {
    transform: scale(1.2);
    color: var(--color-pink);
}

/* --- Video Lightbox --- */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001; /* Doit être au-dessus de tout */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    height: 0;
    padding-bottom: 54%; /* Ratio 16:9 pour la vidéo */
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-lightbox.show .lightbox-content {
    transform: scale(1);
}

#youtube-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#youtube-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--color-pink);
    transform: rotate(90deg);
}

/* --- FRANCHISE CTA SECTION --- */
.franchise-cta-parallax-container {
    position: relative;
    background: url('assets/Mur/LE SANDWICH QUI SE FOUT PAS DE TA GU.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

#franchise-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: transparent;
}

.franchise-cta-content {
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;

    border-radius: 20px;
    padding: clamp(2.5rem, 6vw, 4rem);
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.franchise-cta-content .section-title {
    margin-bottom: 1.5rem;
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.2rem, 8vw, 4rem);
    letter-spacing: 0.1em;
    transform: rotate(-2deg);
}

.franchise-cta-content .section-text {
    color: #ddd;
    margin-bottom: 2.5rem;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.8;
}

/* --- FRANCHISE PAGE --- */
.franchise-page-hero {
    padding-top: 90px;
    padding-bottom: 30px;
    background-color: var(--color-dark-grey);
    text-align: center;
    position: relative;
    background-image: url('assets/Mur/LE SANDWICH QUI SE FOUT PAS DE TA GU.png');
    background-size: cover;
    background-position: center;
}

.franchise-page-hero .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--color-white);
    text-shadow: -2px -2px 0 var(--color-dark-grey), 2px -2px 0 var(--color-dark-grey), -2px 2px 0 var(--color-dark-grey), 2px 2px 0 var(--color-dark-grey), 0 10px 30px rgba(0,0,0,0.5);
    transform: rotate(-2deg);
    animation: float 6s ease-in-out infinite;
}

.franchise-page-hero .section-text {
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* --- PAGE FRANCHISE : SECTION AVANTAGES --- */
#franchise-advantages {
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url(assets/Mur/murmur.png);
    background-size: cover;
    background-position: center;
}

#franchise-team .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
}

#franchise-advantages .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(42, 42, 42, 0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.advantage-icon {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.advantage-title {
    font-family: var(--font-titles);
    font-size: 1rem;
    color: var(--color-white);
    line-height: 1.3;
}

/* --- PAGE FRANCHISE : SECTION EQUIPE V2 --- */
.franchise-team-v2 {
    background-color: var(--color-black);
}

.franchise-team-v2 .team-header {
    text-align: left;
    margin-bottom: 4rem;
}

.franchise-team-v2 .section-text {
    max-width: 700px;
}

.franchise-team-v2 .team-layout {
    display: flex;
    justify-content: center; /* Centre la carte horizontalement */
    gap: 2rem;
    margin-top: 3rem;
}

.franchise-team-v2 .single-team-card {
    background: var(--color-dark-grey);
    border: 1px solid var(--color-light-grey);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 700px; /* Limite la largeur pour une meilleure lisibilité */
    text-align: center;
}

.franchise-team-v2 .team-member {
    background: var(--color-dark-grey);
    border: 1px solid var(--color-light-grey);
    border-radius: 15px;
    overflow: hidden;
}

.member-info {
    padding: 2rem;
}

.member-name {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    line-height: 1.1;
}

.member-role {
    font-family: var(--font-titles);
    font-size: 1rem;
    text-transform: uppercase;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.member-description {
    color: #bbb;
    line-height: 1.8;
}

.franchise-team-v2 .team-conclusion {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


/* 
==============================================
5. FOOTER
==============================================
*/
.site-footer {
    background-color: #000;
    padding: 4rem var(--container-padding) 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 100px;
    margin-bottom: 1rem;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #aaa;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    color: var(--color-pink);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-titles);
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul a {
    color: #aaa;
}

.footer-column p {
    color: #aaa;
}
.footer-column p a {
    color: var(--color-white);
    font-weight: 700;
}
.footer-column p a:hover {
    color: var(--color-pink);
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #666;
}

.footer-credit a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--color-orange);
}

/*
==============================================
6. MEDIA QUERIES (TABLETTE ET PLUS GRAND)
==============================================
*/

@media (min-width: 768px) {
    :root {
        --section-padding: 6rem 0;
    }

    .section-text {
        font-size: 1.1rem;
    }

    /* Annuler le flou sur le contenu principal car le menu ne s'ouvre plus par-dessus */
    body.menu-open main,
    body.menu-open footer {
        filter: none;
        pointer-events: auto;
    }

    /* --- CONCEPT --- */
    .points-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .concept-outro {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 4rem;
    }

    .outro-text {
        flex-basis: 50%;
    }
    
    .outro-text p {
        margin: 0;
    }

    .outro-slogan {
        flex-basis: 40%;
        text-align: right;
    }

    .outro-slogan p {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }

    /* --- IDENTITY --- */
    .identity-parallax-container {
        background-attachment: fixed; /* Effet parallaxe activé SEULEMENT sur grand écran */
    }

    .identity-section {
        justify-content: flex-start; /* Aligne le contenu à gauche */
        min-height: auto; /* La hauteur redevient automatique */
    }

    .identity-content-wrapper {
        margin-left: 0; 
        max-width: 550px; 
        text-align: left;
    }

    .identity-content-wrapper .section-title {
        font-size: clamp(2rem, 5vw, 3rem); /* Taille du titre encore réduite pour desktop */
        text-align: center;
    }

    .identity-text p {
        font-size: clamp(1.1rem, 2.5vw, 1.2rem); /* Texte du contenu agrandi pour desktop */
    }

    .identity-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    .identity-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        perspective: 1500px;
        margin-top: 0;
    }

    .gallery-img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .gallery-img:hover {
        transform: scale(1.05) translateZ(20px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }
    
    .gallery-img:nth-child(1) { transform: rotate(-5deg) translate(0, 10px); }
    .gallery-img:nth-child(2) { transform: rotate(4deg) translate(0, -5px); }
    .gallery-img:nth-child(3) { transform: rotate(6deg) translate(0, 15px); }
    .gallery-img:nth-child(4) { transform: rotate(-3deg) translate(0, -10px); }
    .gallery-img:nth-child(5) { 
        grid-column: span 2;
        transform: rotate(2deg) scale(1.05);
    }

    /* --- VALIDATION --- */
    .validation-parallax-container {
        background-attachment: fixed;
        background-position: center center; /* On recentre sur grand écran */
    }

    .validation-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .video-thumbnails-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .video-thumbnails-grid .video-thumbnail-card {
        width: calc(33.333% - 1.5rem);
    }

    .franchise-cta-parallax-container {
        background-attachment: fixed;
    }

    /* --- PAGE FRANCHISE --- */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .franchise-team-v2 .team-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

/* 
==============================================
7. MEDIA QUERIES (GRAND ÉCRAN)
==============================================
*/

@media (min-width: 1024px) {
    :root {
        --section-padding: 8rem 0;
    }
    .nav-links {
        gap: 2.5rem;
    }
    .main-logo-container {
        max-width: 500px;
    }
    #main-paths path {
        stroke-width: 3;
    }

    /* --- PAGE FRANCHISE --- */
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    .advantage-card {
        min-height: 220px; /* Hauteur minimale pour aligner */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}


.franchise-team-v2 .team-header .section-title {
    text-align: center;
}

.franchise-team-v2 .team-header .section-text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

@keyframes realistic-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        filter: none;
    }
    /* Lueur faible */
    20%, 24%, 55% {
        filter: 
            drop-shadow(0 0 5px rgba(243, 149, 44, 0.25))
            drop-shadow(0 0 10px rgba(231, 46, 96, 0.15));
    }
    /* Lueur maximale (équilibrée) */
    21%, 23%, 26%, 54%, 56%, 58% {
        filter: 
            drop-shadow(0 0 7px rgba(243, 149, 44, 0.4)) 
            drop-shadow(0 0 16px rgba(243, 149, 44, 0.3))
            drop-shadow(0 0 32px rgba(231, 46, 96, 0.3));
    }
}

/* --- PAGE FRANCHISE : SECTION CONDITIONS (SIMPLIFIÉ) --- */
#conditions {
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
}

#conditions .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
    color: var(--color-white);
    transform: rotate(-2deg);
    margin-bottom: 4rem;
}

#conditions .conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
}

#conditions .condition-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: transparent;
}

#conditions .condition-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#conditions .condition-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 0.9;
    color: #aaa;
    text-align: center;
}

#conditions .condition-text strong {
    font-family: var(--font-titles);
    color: var(--color-white);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.1rem; /* Espacement réduit */
}

#conditions .location-text strong {
    font-size: 1rem; /* Taille de police réduite pour le texte long */
    line-height: 1.3;
}

.conditions-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conditions-cta p {
    font-size: 1.1rem;
    color: #eee;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* Grille à 2 colonnes pour tablettes et plus grand */
@media (min-width: 768px) {
    #conditions .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0px) rotate(-2deg);
    }
    50% {
        transform: translate(0, 15px) rotate(-2deg);
    }
    100% {
        transform: translate(0, -0px) rotate(-2deg);
    }
}

/* 
==============================================
8. PAGE MENU
==============================================
*/
#menu-list {
    background-color: var(--color-dark-grey);
    position: relative;
}

#menu-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        45deg, 
        rgba(0, 0, 0, 0.03) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(0, 0, 0, 0.03) 75%
    ),
    linear-gradient(
        -45deg, 
        rgba(0, 0, 0, 0.03) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(0, 0, 0, 0.03) 75%
    );
    background-size: 3px 3px;
    pointer-events: none;
}

#menu-list .container {
    position: relative;
}

.menu-category-title {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    text-align: center;
    text-transform: uppercase;
    margin: 3rem 0 2rem 0;
    color: var(--color-white);
    transform: rotate(-2deg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.menu-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    cursor: pointer;
}

.menu-item img {
    width: 100%;
    height: auto; /* Changement ici pour la taille réelle */
    object-fit: contain; /* Assure que l'image entière est visible */
    transition: transform 0.4s ease;
}

.menu-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
    font-family: var(--font-titles);
    font-size: 1.1rem;
    text-transform: uppercase;
    text-align: center;
    transform: translateY(0); /* Rendre visible par défaut */
    transition: all 0.4s ease;
}

.menu-item:hover img {
    transform: scale(1.1);
}

.menu-item:hover h3 {
    background: transparent;
    transform: translateY(-3rem); /* Remonte le titre pour laisser place au bouton */
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 
==============================================
9. FENÊTRE MODALE DE COMMANDE
==============================================
*/
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10002; /* Au-dessus de tout */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.order-modal.show {
    opacity: 1;
    visibility: visible;
}

.order-modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(42, 42, 42, 0.9), rgba(30, 30, 30, 0.95));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.order-modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-main);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.7;
}


.order-modal.show .order-modal-content {
    transform: scale(1);
}

.order-modal-content h2 {
    font-family: 'Gasoek One', sans-serif;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.order-modal-content h2 .fa-shipping-fast {
    font-size: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.order-modal-content p {
    color: #ccc;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.order-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.order-buttons .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-family: var(--font-titles);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.btn-deliveroo {
    background-color: #00CCBC;
    color: var(--color-white) !important;
}
.btn-deliveroo:hover {
    background-color: #00B2A2;
    color: var(--color-white) !important;
}

.btn-ubereats {
    background-color: #06C167;
    color: var(--color-white) !important;
}
.btn-ubereats:hover {
    background-color: #05A75A;
    color: var(--color-white) !important;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}
.close-modal-btn:hover {
    transform: rotate(90deg);
    color: var(--color-pink);
}

/* Styles pour le bouton "Commander" sur les cartes du menu */
.menu-item .order-btn-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Important pour ne pas bloquer le survol */
}

.menu-item:hover .order-btn-overlay {
    opacity: 1;
    pointer-events: all; /* Rendre le bouton cliquable */
}

.menu-item .btn {
    width: 80%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.menu-item:hover .btn {
    transform: translateY(0);
}

/* Ajustement pour que le titre reste visible au survol */
.menu-item h3 {
    transition: all 0.4s ease; /* Ajout d'une transition douce */
}
.menu-item:hover h3 {
    background: transparent;
    transform: translateY(-3.5rem); /* Remonte le titre pour laisser place au bouton */
}

@media (max-width: 767px) {
    .order-modal-content h2 {
        font-size: 1.5rem; /* Taille de police réduite pour le titre sur mobile */
    }
    .order-modal-content h2 .fa-shipping-fast {
        font-size: 1.5rem; /* Taille de l'icône réduite également */
    }
}

/* 
==============================================
10. PAGE CONTACT
==============================================
*/
#contact-form-section {
    background-color: var(--color-dark-grey);
    padding: var(--section-padding);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    /* NOUVEAU STYLE : Fond sombre avec graffiti */
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.95)), url('assets/Mur/grafitiblanc.png');
    background-size: cover;
    background-position: center;
    padding: clamp(2rem, 6vw, 4rem);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.contact-form-container .section-title {
    font-family: 'Gasoek One', sans-serif;
    font-weight: normal;
}

.contact-form {
    display: grid;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1rem;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem 1rem;
    background: var(--color-dark-grey);
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 8px 0 0;
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-bottom-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-orange);
}

/* Animation du label */
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0.3rem;
    font-size: 0.75rem;
    color: var(--color-orange);
}

/* Placeholder vide pour que l'animation fonctionne */
.form-group input,
.form-group textarea {
    padding-top: 1.5rem; /* Espace pour le label animé */
}

.contact-form .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}


/*
==============================================
MENU - DESIGN MODERNE
==============================================
*/

.menu-section-v2 {
    background: var(--color-dark-grey);
    min-height: 100vh;
    padding-bottom: 4rem;
}

.menu-category-title-v2 {
    font-family: var(--font-titles);
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin: 4rem 0 2.5rem;
    letter-spacing: 2px;
}

.menu-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .menu-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .menu-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Style */
.menu-card {
    background: #1a1a1a;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card-image {
    width: 100%;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-card-content {
    padding: 1.5rem 1.25rem 1.25rem;
    text-align: center;
}

.menu-card-title {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.menu-card-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    margin: 0.75rem auto;
    border-radius: 2px;
}

.menu-card-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.menu-card-btn {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    color: #fff;
    font-family: var(--font-titles);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    transition: opacity 0.2s ease;
}

.menu-card-btn:hover {
    opacity: 0.9;
}

/*
==============================================
INSTAGRAM CARDS
==============================================
*/
.instagram-card .instagram-thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    aspect-ratio: 16 / 9;
    color: #fff;
    gap: 1rem;
}

.instagram-card .instagram-thumbnail i {
    font-size: 3rem;
}

.instagram-card .instagram-thumbnail span {
    font-family: var(--font-titles);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instagram-card .video-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.instagram-card .video-overlay i {
    font-size: 2.5rem;
}

/*
==============================================
INSTAGRAM EMBEDS GRID
==============================================
*/
.instagram-embeds-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.instagram-embeds-grid .instagram-media {
    margin: 0 !important;
    max-width: 400px !important;
    min-width: 300px !important;
}
