/* ============================================================
   EMOSON MAIN STYLE - FINAL V14 (FUSIONNÉ)
   Header Descendu + Cartes Alignées + Auth Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* 1. VARIABLES & CONFIGURATION */
:root {
    /* Couleurs de base */
    --bg-primary: #000347;
    --bg-secondary: #251762;
    --color-1: #a900dc;
    --color-2: #1D1054;
    --color-3: #4f0995;
    --accent: #ffffff; /* Couleur d'accentuation principale */
    --auth-accent: #00f2fe; /* Couleur spécifique pour les formulaires Auth */
    
    /* Variables Verre & Interface */
    --glass: rgba(0, 0, 0, 0.267);
    --glass-strong: rgba(5, 20, 5, 0.225);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    --radius: 24px;
    --radius-full: 100px;
    --header-height: 90px;
    --header-scroll: 90px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    
    /* ESPACEMENTS */
    --section-gap: 50px; 
}

/* Base */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--color-2); border-radius: 10px; }

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

body {
    background-color: var(--bg-secondary);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   2. FOND ANIMÉ (BUBBLES - TON FOND PRINCIPAL)
   ============================================================ */

.animated-background { 
    position: fixed; 
    inset: 0; 
    z-index: -10; 
    pointer-events: none; 
}

.gradient-layer {
    position: absolute; inset: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 20% 20%, var(--color-1) 0%, transparent 50%),
        radial-gradient(ellipse 90% 70% at 80% 80%, var(--color-2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 100% at 50% 100%, var(--color-3) 0%, transparent 45%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    opacity: 0.8;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 0%; filter: hue-rotate(0deg); }
    50% { background-position: 100% 100%; filter: hue-rotate(10deg); }
}

.bubbles-container { position: fixed; inset: 0; z-index: -9; overflow: hidden; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; will-change: transform; }

.bubble-1 { width: 600px; height: 600px; background: var(--color-1); top: -15%; left: -10%; animation: bubble1 18s ease-in-out infinite; }
.bubble-2 { width: 500px; height: 500px; background: var(--color-2); bottom: -10%; right: -10%; animation: bubble2 22s ease-in-out infinite; }
.bubble-3 { width: 400px; height: 400px; background: var(--color-3); top: 35%; left: 25%; animation: bubble3 15s ease-in-out infinite; }
.bubble-4 { width: 350px; height: 350px; background: var(--accent); top: 15%; right: 10%; opacity: 0.25; animation: bubble4 20s ease-in-out infinite; }
.bubble-5 { width: 300px; height: 300px; background: var(--color-1); bottom: 25%; left: 5%; opacity: 0.3; animation: bubble5 17s ease-in-out infinite; }
.bubble-6 { width: 700px; height: 700px; background: var(--color-2); top: 50%; right: 15%; opacity: 0.15; filter: blur(150px); animation: bubble6 25s ease-in-out infinite; }

@keyframes bubble1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 120px) scale(1); } }
@keyframes bubble2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, 80px) scale(0.95); } }
@keyframes bubble3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(0, -100px) scale(1.2); } }
@keyframes bubble4 { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-60px, 80px) rotate(30deg); } }
@keyframes bubble5 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, -40px); } }
@keyframes bubble6 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(150px, -100px) scale(1.15); } }

.particles-container { position: fixed; inset: 0; z-index: -8; pointer-events: none; }
.particle { position: absolute; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; opacity: 0; animation: particleRise 10s infinite; }
@keyframes particleRise { 
    0% { transform: translateY(100vh) scale(0); opacity: 0; } 
    20% { opacity: 0.8; } 
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; } 
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 2s; }
.particle:nth-child(3) { left: 70%; animation-delay: 4s; }
.particle:nth-child(4) { left: 50%; animation-delay: 6s; }


/* ============================================================
   3. HEADER PRO
   ============================================================ */

.site-header {
    position: fixed; 
    top: 0; /* header bien en haut */
    left: 0; 
    width: 100%; 
    z-index: 1000;
    min-height: var(--header-height);
    transition: all 0.4s var(--ease);
    background: transparent; 
    border-bottom: 1px solid transparent;
}

/* Correction WordPress : évite que le header passe sous la barre admin */
body.admin-bar .site-header {
    top: 32px;
}

.site-header.scrolled {
    height: var(--header-scroll);
    top: 0; 
    background: rgba(94, 6, 176, 0.35); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Admin bar + scroll */
body.admin-bar .site-header.scrolled {
    top: 32px;
}

/* Bonus : admin bar mobile */
@media screen and (max-width: 782px) {
    body.admin-bar .site-header,
    body.admin-bar .site-header.scrolled {
        top: 46px;
    }
}

.header-container {
    max-width: 1400px; margin: 0 auto; padding: 0 40px; height: 100%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-link { display: flex; align-items: center; z-index: 10; }
.custom-logo { height: 85px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.logo-link:hover .custom-logo { transform: scale(1.05); filter: drop-shadow(0 0 8px rgba(212, 0, 255, 0.4)); }

.main-nav {
    position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 40px;
}
.main-nav a {
    color: var(--text-soft); font-size: 0.9rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1px; padding: 8px 0; position: relative; transition: color 0.3s ease;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--accent); transition: width 0.3s var(--ease); box-shadow: 0 0 8px var(--accent);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-auth { display: flex; align-items: center; justify-content: flex-end; min-width: 140px; }
.btn-login-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0; /* PAS de bouton */
    background: none; /* PAS de fond */
    border: none;
    border-radius: 0;

    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: rgba(255,255,255,0.8);
    text-decoration: none;

    position: relative;
    transition: color 0.25s ease;
}

/* Soulignement subtil comme les autres liens */
.btn-login-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: rgba(255,255,255,0.6);
    transition: width 0.25s ease;
}

/* Hover */
.btn-login-header:hover {
    color: #ffffff;
}

.btn-login-header:hover::after {
    width: 100%;
}

/* Icône */
.btn-login-header i {
    font-size: 0.85rem;
    opacity: 0.85;
}

.user-menu { position: relative; cursor: pointer; padding: 4px; border-radius: 50px; transition: background 0.2s; }
.user-menu:hover { background: rgba(255, 255, 255, 0.08); }
.user-dropdown {
    position: absolute; top: calc(100% + 15px); right: 0; width: 220px;
    background: #0d0a0f; border: 1px solid var(--glass-border); border-radius: 16px;
    padding: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s var(--ease); z-index: 1001;
}
.user-menu.active .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    color: var(--text-soft); font-size: 0.9rem; border-radius: 8px; transition: 0.2s;
}
.dropdown-item:hover { background: rgba(255, 255, 255, 0.08); color: #fff; transform: translateX(4px); }
@media (max-width: 992px) {

  /* 1. LAYOUT GLOBAL DU HEADER */
  .site-header {
    position: relative;
    height: auto;
    padding: 10px 0;
    background: transparent;
    z-index: 1005;
  }

  .header-container { 
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* 2. TAILLE HARMONISÉE : LOGO */
  .custom-logo {
    height: 42px; /* Taille réduite pour mobile */
    width: auto;
  }

  /* 3. TAILLE HARMONISÉE : BOUTON HAMBURGER */
  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Même taille que le profil et logo */
    width: 42px; 
    height: 42px;
    
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%; /* Cercle parfait */
    color: #fff;
    cursor: pointer;
    z-index: 1006;
    margin-left: 12px; /* Espace entre Profil et Hamburger */
    font-size: 1rem;
  }

  /* 4. TAILLE HARMONISÉE : PROFIL / LOGIN */
  .header-auth { 
    min-width: auto;
    margin-left: auto; /* Pousse le groupe à droite */
    display: flex;
    align-items: center;
  }

  /* FORCE LA TAILLE DE L'IMAGE PROFIL (écrase le style inline HTML) */
  .user-menu img {
      width: 42px !important;
      height: 42px !important;
      border: 1px solid #00FF9D !important; /* Bordure plus fine */
  }

  /* Cache la petite flèche à côté de l'avatar sur mobile (inutile) */
  .user-menu .fa-chevron-down {
      display: none !important;
  }

  /* Si non connecté (Bouton Login rond) */
  .btn-login-header { 
    font-size: 0; /* Cache le texte */
    padding: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
  }
  .btn-login-header i { margin: 0; font-size: 1rem; }
  .btn-login-header span { display: none; }


  /* 5. LE MENU POPUP (Carte Centrée) */
  .main-nav {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto;
    
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    visibility: hidden;

    background: rgba(12, 5, 25, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);

    padding: 40px 20px;
    border-radius: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 25px;
    width: 85vw;
    max-width: 300px; /* Carte compacte */
    height: auto;

    z-index: 1002;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .main-nav.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0;
  }

  /* Overlay sombre arrière-plan */
  body.menu-open::after {
      content: '';
      position: fixed;
      inset: 0;
      background: rgba(73, 1, 97, 0.239);
      z-index: 1001;
      backdrop-filter: blur(3px);
  }
  
  body, main { transform: none !important; }
}

/* ============================================================
   4. HOME & SECTIONS (Héro, Cartes, etc.)
   ============================================================ */

.custom-container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.front-page-content { padding: 240px 0 60px; text-align: center; position: relative; z-index: 2; }
.cinema-logo-container { margin-bottom: 20px; }

/* TITRE GÉANT ANIMÉ */
.cinema-title {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -6px;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 50px rgba(144, 0, 255, 0.2));
    opacity: 0; 
    transform: scale(0.5); 
    animation: appearZoom 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appearZoom {
    0% { opacity: 0; transform: scale(0.6) translateY(50px); filter: blur(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0) drop-shadow(0 0 50px rgba(0, 255, 157, 0.2)); }
}

.hero-subtitle { 
    font-size: 1.25rem; color: var(--text-soft); max-width: 700px; 
    margin: 30px auto 40px; font-weight: 300; line-height: 1.6;
    opacity: 0; animation: fadeIn 1s ease 1s forwards; 
}
@keyframes fadeIn { to { opacity: 1; } }

.hero-btn {
    padding: 18px 50px; background: var(--accent); color: #001a0f; 
    border-radius: var(--radius-full); font-weight: 700; font-size: 1.1rem; 
    letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 12px;
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.3); transition: 0.3s var(--ease); 
    text-decoration: none; opacity: 0; animation: fadeIn 1s ease 1.2s forwards;
}
.hero-btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 0 60px rgba(0, 255, 157, 0.6); color: #000; }

/* CARTES PRINCIPALES */
.experience-cards { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; 
    max-width: 1100px; margin: 80px auto 0; width: 100%;
}
.card {
    background: var(--glass-strong); border: 1px solid var(--glass-border); 
    border-radius: var(--radius); padding: 40px 30px; text-align: left; 
    transition: 0.4s var(--ease); position: relative; overflow: hidden; backdrop-filter: blur(20px); width: 100%;
}
.card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.card-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; color: #fff; display: flex; align-items: center; gap: 12px; }
.card-description { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* PROCESS & STATS */
.process-section { padding: 40px 0; position: relative; z-index: 2; }
.section-title-center { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 50px; text-transform: uppercase; color: #fff; letter-spacing: -1px; }
.section-title-center span { color: var(--accent); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1050px; margin: 0 auto; width: 100%; } 
.step-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px; padding: 40px 24px; text-align: center; 
    transition: 0.4s; position: relative; width: 100%;
}
.step-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.05); border-color: var(--accent); }
.step-number { font-size: 4rem; font-weight: 900; color: rgba(255, 255, 255, 0.528); position: absolute; top: 10px; right: 20px; }
.step-icon {
    width: 70px; height: 70px; background: rgba(0, 255, 157, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
    color: var(--accent); font-size: 1.8rem; border: 1px solid rgba(0, 255, 157, 0.2);
}
.step-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.step-card p { font-size: 0.95rem; color: var(--text-soft); margin: 0; }

.stats-section { padding: 60px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: rgba(0,0,0,0.2); margin: var(--section-gap) 0; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; text-align: center; }
.stat-item h4 { font-size: 3rem; font-weight: 800; color: var(--accent); margin-bottom: 4px; text-shadow: 0 0 30px rgba(0, 255, 157, 0.3); line-height: 1; }
.stat-item p { color: var(--text-soft); text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 600; }

/* VISION SECTION */
.vision-section { 
  padding-bottom: var(--section-gap); 
}

.vision-container { 
  display: flex; 
  align-items: center; 
  gap: 80px; 
  flex-wrap: wrap; 
}

/* ✅ CORRECTION ICI : ajout de padding latéral */
.vision-content { 
  flex: 1; 
  min-width: 350px; 
  padding: 40px 60px; /* espace à gauche et à droite */
}

.vision-content h2 { 
  font-size: 2.8rem; 
  font-weight: 800; 
  margin-bottom: 20px; 
  color: #fff; 
  line-height: 1.2; 
}

.vision-visual { 
  flex: 1; 
  min-width: 350px; 
  height: 450px; 
  position: relative; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: radial-gradient(circle, rgba(0,255,157,0.1) 0%, transparent 60%); 
  border-radius: 30px; 
  border: 1px solid var(--glass-border); 
}

.glow-icon { 
  font-size: 8rem; 
  color: var(--accent); 
  filter: drop-shadow(0 0 40px rgba(0,255,157,0.5)); 
  animation: pulse 4s infinite; 
}

@keyframes pulse { 
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.8; 
  } 
  50% { 
    transform: scale(1.1); 
    opacity: 1; 
  } 
  @media (max-width: 768px) {
  .vision-content {
    padding: 0 32px;
  }
}

}

/* TESTIMONIALS SECTION */
.testimonials-section { padding: var(--section-gap) 0; border-top: 1px solid var(--glass-border); background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%); overflow: hidden; position: relative; z-index: 2; }
.testi-header { text-align: center; margin-bottom: 60px; }
.testi-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; color: #fff; }

.mood-selector { display: flex; justify-content: center; gap: 12px; margin-bottom: 60px; flex-wrap: wrap; }
.filter-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-soft); padding: 10px 28px; border-radius: 100px; cursor: pointer; font-weight: 600; transition: 0.3s; font-size: 0.9rem; }
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); box-shadow: 0 0 20px rgba(0, 255, 157, 0.4); }

.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; padding: 20px 0; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: inline-flex; gap: 40px; padding-left: 40px; animation: scroll 60s linear infinite; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.comment-card {
    --card-accent: #ffffff; 
    --card-glow: rgba(255,255,255,0.1);
    width: 400px; flex-shrink: 0; background: rgba(10, 15, 10, 0.9); border: 1px solid var(--glass-border); border-left: 4px solid var(--card-accent);
    border-radius: 20px; padding: 28px; white-space: normal; display: flex; flex-direction: column; gap: 16px; transition: 0.3s; box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.comment-card:hover { transform: translateY(-5px); border-color: var(--card-accent); box-shadow: 0 0 40px var(--card-glow); }
.comment-card.hidden { display: none !important; }

/* Variations Mood */
.comment-card[data-mood="joie"]       { --card-accent: #ff69b4; --card-glow: rgba(255, 105, 180, 0.3); }
.comment-card[data-mood="motivation"] { --card-accent: #00FF9D; --card-glow: rgba(0, 255, 157, 0.3); }
.comment-card[data-mood="stress"]     { --card-accent: #ffe44d; --card-glow: rgba(255, 228, 77, 0.3); }
.comment-card[data-mood="tristesse"]  { --card-accent: #4DA6FF; --card-glow: rgba(77, 166, 255, 0.3); }
.comment-card[data-mood="colere"]     { --card-accent: #FF6600; --card-glow: rgba(255, 102, 0, 0.3); }

.c-user-info { display: flex; align-items: center; gap: 14px; }
.c-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--card-accent); object-fit: cover; }
.c-text { font-size: 0.95rem; color: #eee; font-style: italic; line-height: 1.6; }
.c-author { font-weight: 700; font-size: 0.95rem; color: #fff; }
.c-mood { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--card-accent); letter-spacing: 1px; }

/* FOOTER */
.footer { background: var(--glass-strong); border-top: 1px solid var(--glass-border); padding: 80px 0 40px; }
.footer-heading { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-nav li { margin-bottom: 12px; font-size: 0.9rem; }
.social-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }


/* ============================================================
   5. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .steps-grid, .experience-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    .marquee-wrapper { mask-image: none; }
    .comment-card { width: 300px; padding: 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .vision-container { flex-direction: column-reverse; }
    .cinema-title { font-size: 4rem; letter-spacing: -2px; }
}

/* =========================================================
   6. PAGE AUTHENTIFICATION (Login / Register) - AJOUTÉ
   Gardant le design du formulaire mais le fond principal
========================================================= */

.auth-wrapper {
    position: relative;
    z-index: 10;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 20px; /* Ajout padding-top pour éviter que ça passe sous le header */
}

.auth-card {
    background: rgba(18, 0, 46, 0.7); /* Garde ce fond sombre spécifique à la carte */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    text-align: center;
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-card.register-mode {
    max-width: 500px; 
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* TITRES AUTH */
.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    /* On garde le dégradé Cyan spécifique au design demandé */
    background: linear-gradient(90deg, #fff, var(--auth-accent)); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

/* CHAMPS INPUTS */
.input-field-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.input-field-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: 0.3s;
}

.custom-input {
    width: 100%;
    padding: 14px 15px 14px 45px; /* Espace icône */
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--auth-accent);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.custom-input:focus + i, 
.input-field-group:focus-within i {
    color: var(--auth-accent);
}

/* BOUTON ACTION */
.btn-submit {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--auth-accent) 0%, #ffffff 100%);
    border: none;
    border-radius: 50px;
    color: #000;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
}

/* LIENS FOOTER ) */
.auth-footer-text {
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7); 
}

.auth-footer-text a {
    color: #ffffff !important; 
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    margin-left: 5px;
}

.auth-footer-text a:hover {
    color: var(--auth-accent) !important;
    border-bottom-color: var(--auth-accent);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

/* CHECKBOX */
.remember-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    cursor: pointer;
}
.remember-row input { 
    accent-color: var(--auth-accent); 
    width: 16px; height: 16px; 
}

/* ALERTES */
.alert {
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-error { 
    background: rgba(255, 50, 50, 0.15); 
    border: 1px solid rgba(255, 50, 50, 0.4); 
    color: #ffb3b3; 
}
.alert-success { 
    background: rgba(0, 255, 150, 0.15); 
    border: 1px solid rgba(0, 255, 150, 0.4); 
    color: #ccffeb; 
}


/* =========================================================
   EXTRA FLOATING BUBBLES – AJOUT UNIQUEMENT
   N'affecte RIEN d'autre
========================================================= */

.floating-bubbles {
  position: fixed;
  inset: 0;
  z-index: -7; /* au-dessus du gradient, sous le contenu */
  pointer-events: none;
  overflow: hidden;
}

.floating-bubbles span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: floatBubble linear infinite;
}

/* Ta palette (cohérente avec ton site) */
.floating-bubbles span:nth-child(1)  { width:120px;height:120px;background:#a900dc;left:10%;top:80%;animation-duration:32s; }
.floating-bubbles span:nth-child(2)  { width:260px;height:260px;background:#4f0995;left:30%;top:90%;animation-duration:45s; }
.floating-bubbles span:nth-child(3)  { width:180px;height:180px;background:#00f2fe;left:55%;top:85%;animation-duration:38s; }
.floating-bubbles span:nth-child(4)  { width:90px;height:90px;background:#ff69b4;left:75%;top:95%;animation-duration:30s; }
.floating-bubbles span:nth-child(5)  { width:320px;height:320px;background:#1D1054;left:5%;top:60%;animation-duration:50s; }

.floating-bubbles span:nth-child(6)  { width:140px;height:140px;background:#00ff9d;left:85%;top:70%;animation-duration:36s; }
.floating-bubbles span:nth-child(7)  { width:220px;height:220px;background:#ffe44d;left:40%;top:100%;animation-duration:44s; }
.floating-bubbles span:nth-child(8)  { width:100px;height:100px;background:#4da6ff;left:65%;top:110%;animation-duration:34s; }
.floating-bubbles span:nth-child(9)  { width:280px;height:280px;background:#ff6600;left:15%;top:105%;animation-duration:48s; }
.floating-bubbles span:nth-child(10) { width:160px;height:160px;background:#a900dc;left:50%;top:120%;animation-duration:40s; }

.floating-bubbles span:nth-child(11) { width:90px;height:90px;background:#ffffff;left:90%;top:110%;opacity:0.15;animation-duration:28s; }
.floating-bubbles span:nth-child(12) { width:200px;height:200px;background:#00f2fe;left:25%;top:115%;animation-duration:42s; }

@keyframes floatBubble {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-60vh) translateX(40px) scale(1.15);
  }
  100% {
    transform: translateY(-120vh) translateX(-40px) scale(1);
  }
}
/* =========================================================
   ÉTOILES FIXES – SCINTILLEMENT FORT
========================================================= */

.stars-layer {
  position: fixed;
  inset: 0;
  z-index: -6;
  pointer-events: none;
  overflow: hidden;
}

.stars-layer span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 12px rgba(255,255,255,0.6);
  animation: starBlink ease-in-out infinite;
}

/* Positions + vitesses variées */
.stars-layer span:nth-child(1)  { left: 5%;  top: 20%; animation-duration: 3s; }
.stars-layer span:nth-child(2)  { left: 12%; top: 80%; animation-duration: 4.5s; }
.stars-layer span:nth-child(3)  { left: 18%; top: 45%; animation-duration: 2.8s; }
.stars-layer span:nth-child(4)  { left: 25%; top: 10%; animation-duration: 5s; }
.stars-layer span:nth-child(5)  { left: 30%; top: 70%; animation-duration: 3.6s; }

.stars-layer span:nth-child(6)  { left: 38%; top: 30%; animation-duration: 4s; }
.stars-layer span:nth-child(7)  { left: 42%; top: 85%; animation-duration: 6s; }
.stars-layer span:nth-child(8)  { left: 50%; top: 15%; animation-duration: 3.2s; }
.stars-layer span:nth-child(9)  { left: 55%; top: 60%; animation-duration: 4.8s; }
.stars-layer span:nth-child(10) { left: 62%; top: 40%; animation-duration: 3.5s; }

.stars-layer span:nth-child(11) { left: 68%; top: 75%; animation-duration: 5.5s; }
.stars-layer span:nth-child(12) { left: 72%; top: 25%; animation-duration: 3.8s; }
.stars-layer span:nth-child(13) { left: 78%; top: 50%; animation-duration: 6.5s; }
.stars-layer span:nth-child(14) { left: 85%; top: 15%; animation-duration: 4.2s; }
.stars-layer span:nth-child(15) { left: 90%; top: 65%; animation-duration: 5s; }

/* Animation ON / OFF marquée */
@keyframes starBlink {
  0%   { opacity: 0; transform: scale(0.6); }
  15%  { opacity: 1; transform: scale(1.4); }
  30%  { opacity: 0.3; transform: scale(0.8); }
  55%  { opacity: 1; transform: scale(1.6); }
  70%  { opacity: 0.2; }
  100% { opacity: 0; transform: scale(0.6); }
}
/* =========================================================
   ÉTOILES FILANTES – MOUVEMENT DIAGONAL
========================================================= */

.shooting-stars {
  position: fixed;
  inset: 0;
  z-index: -5; /* au-dessus des étoiles fixes */
  pointer-events: none;
  overflow: hidden;
}

.shooting-stars span {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.9),
    rgba(255,255,255,0)
  );
  opacity: 0;
  transform: rotate(25deg);
  animation: shootingStar linear infinite;
}

/* Délais différents pour effet aléatoire */
.shooting-stars span:nth-child(1) { animation-duration: 6s; animation-delay: 2s; }
.shooting-stars span:nth-child(2) { animation-duration: 8s; animation-delay: 5s; }
.shooting-stars span:nth-child(3) { animation-duration: 7s; animation-delay: 9s; }
.shooting-stars span:nth-child(4) { animation-duration: 10s; animation-delay: 14s; }
.shooting-stars span:nth-child(5) { animation-duration: 9s; animation-delay: 18s; }

/* Animation filante */
@keyframes shootingStar {
  0% {
    opacity: 0;
    transform: translate(-20vw, -20vh) rotate(25deg);
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
    transform: translate(120vw, 120vh) rotate(25deg);
  }
  100% {
    opacity: 0;
    transform: translate(120vw, 120vh) rotate(25deg);
  }
}


/* =========================================================
   FOOTER – FOND TRANSPARENT MAIS VISIBLE (GLASS)
========================================================= */

.footer {
  position: relative;
  background: rgba(10, 5, 30, 0.45); /* transparent mais visible */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 -10px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2;
}

/* Couche interne douce (dégradé cosmique léger) */
.footer-glass-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(169, 0, 220, 0.08) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Halo lumineux en haut du footer */
.footer-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.12),
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

/* Assure que le contenu passe AU-DESSUS du fond */
.footer .container {
  position: relative;
  z-index: 2;
}

/* Liens footer – meilleure lisibilité */
.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* =========================================================
   BOUTON AUTH – UNIFIÉ AVEC LE RESTE DU SITE
========================================================= */

.auth-card .btn-submit {
  background: rgba(255, 255, 255, 0.95);
  color: #0b0b0b;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-card .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.auth-card .btn-submit i {
  font-size: 0.85rem;
}
/* =========================================================
   ESPACE ENTRE FORMULAIRE ET FOOTER
========================================================= */

.auth-wrapper {
  margin-bottom: 140px; /* espace confortable avant le footer */
}


/* --- CORRECTIF FINAL : Cacher le bouton mobile sur PC --- */
@media (min-width: 993px) {
    .hamburger-btn {
        display: none !important;
    }
    .header-auth {
        display: flex !important; /* Force l'affichage du profil sur PC */
    }
}