/* ============================================
   DynaFestival - Styles principaux
   Dark mode / Neon / Rave / Premium
   ============================================ */

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;
    --neon-magenta: #ff006e;
    --neon-purple: #8338ec;
    --neon-cyan: #00f5d4;
    --neon-blue: #3a86ff;
    --neon-yellow: #ffbe0b;
    --gradient-primary: linear-gradient(135deg, #ff006e, #8338ec);
    --gradient-secondary: linear-gradient(135deg, #00f5d4, #3a86ff);
    --gradient-warm: linear-gradient(135deg, #ffbe0b, #ff006e);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.7rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.logo-dyna {
    color: var(--neon-magenta);
}

.logo-festival {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.nav-menu a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    font-size: 0.7rem !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.3);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3), 0 0 60px rgba(131, 56, 236, 0.1);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5), 0 0 80px rgba(131, 56, 236, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    transform: translateY(-2px);
}

.btn-xl {
    padding: 1.3rem 3.5rem;
    font-size: 1rem;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, #1a0a2e 0%, #0a0a0f 70%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 0, 110, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(131, 56, 236, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 245, 212, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--neon-magenta);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-description strong {
    color: var(--neon-cyan);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

/* Glitch effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
}

.glitch:hover::before {
    animation: glitch1 0.3s linear;
    opacity: 0.7;
    color: var(--neon-cyan);
    z-index: -1;
}

.glitch:hover::after {
    animation: glitch2 0.3s linear;
    opacity: 0.7;
    color: var(--neon-magenta);
    z-index: -2;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    min-width: 80px;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gradient-primary);
    animation: scrollLine 2s ease infinite;
}

/* === SECTIONS === */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--neon-magenta);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.8;
}

/* Concept cards */
.concept-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.concept-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.concept-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 0, 110, 0.2);
}

.concept-card:hover::before {
    transform: scaleX(1);
}

.concept-card-icon {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.concept-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.concept-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Backstage section */
.section-backstage {
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
}

.backstage-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 0, 110, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(131, 56, 236, 0.05) 0%, transparent 50%);
}

.backstage-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.backstage-feature {
    text-align: center;
    padding: 2rem;
}

.backstage-icon {
    font-size: 2.5rem;
    color: var(--neon-yellow);
    margin-bottom: 1rem;
}

.backstage-feature h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.backstage-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Experience grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 110, 0.2);
}

.experience-card-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.experience-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.5rem 1.5rem 0.5rem;
}

.experience-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Urgency section */
.section-urgency {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-urgency::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section-urgency .section-title {
    margin-bottom: 1rem;
}

.section-urgency .section-text {
    margin: 0 auto 2.5rem;
    text-align: center;
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input.error,
.form-textarea.error {
    border-color: #ff4444;
}

.form-error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--neon-magenta);
    cursor: pointer;
}

.form-checkbox label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
}

.form-success.visible {
    display: block;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* === PAGE HERO (for inner pages) === */
.page-hero {
    padding: 10rem 0 5rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% 50%, #1a0a2e 0%, var(--bg-primary) 70%);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.3), transparent);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === FAQ === */
.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--neon-magenta);
}

.faq-question::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--neon-magenta);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 110, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-card .placeholder-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.gallery-card .play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .play-btn {
    opacity: 1;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
}

/* === TIMELINE === */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 2rem);
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 2rem);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 14px;
    height: 14px;
    background: var(--neon-magenta);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    max-width: 400px;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-magenta);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === ADMIN === */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-card);
}

.admin-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.admin-table tr:hover td {
    background: var(--bg-card);
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.en_attente { background: rgba(255, 190, 11, 0.15); color: var(--neon-yellow); }
.status-badge.validee { background: rgba(0, 245, 212, 0.15); color: var(--neon-cyan); }
.status-badge.rejetee { background: rgba(255, 68, 68, 0.15); color: #ff4444; }
.status-badge.gagnant_backstage { background: rgba(255, 0, 110, 0.15); color: var(--neon-magenta); }

/* === FOOTER === */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a,
.footer-col ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--neon-magenta);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--neon-magenta);
}

.newsletter-form button {
    padding: 0.8rem 1.2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: white;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-secondary);
}

.footer-bottom a:hover {
    color: var(--neon-magenta);
}

.footer-fictif {
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.5;
}

/* === LOGIN FORM (Admin) === */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.login-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.login-box h2 {
    font-family: var(--font-display);
    text-align: center;
    margin-bottom: 2rem;
}

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

@keyframes glitch1 {
    0%   { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
    25%  { clip-path: inset(60% 0 10% 0); transform: translate(3px, -2px); }
    50%  { clip-path: inset(10% 0 80% 0); transform: translate(-2px, 3px); }
    75%  { clip-path: inset(80% 0 5% 0);  transform: translate(2px, -3px); }
    100% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
}

@keyframes glitch2 {
    0%   { clip-path: inset(70% 0 10% 0); transform: translate(3px, -2px); }
    25%  { clip-path: inset(10% 0 70% 0); transform: translate(-3px, 2px); }
    50%  { clip-path: inset(50% 0 30% 0); transform: translate(3px, -2px); }
    75%  { clip-path: inset(30% 0 50% 0); transform: translate(-3px, 2px); }
    100% { clip-path: inset(70% 0 10% 0); transform: translate(3px, -2px); }
}

@keyframes scrollLine {
    0%   { opacity: 1; height: 0; }
    50%  { opacity: 1; height: 40px; }
    100% { opacity: 0; height: 40px; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === FESTIVAL FORM (Mon Festival) === */
.festival-section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.festival-section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.festival-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

/* === BILLETTERIE === */
.billetterie-coming-soon {
    padding: 3rem 0;
}

.billetterie-icon {
    font-size: 4rem;
    color: var(--neon-yellow);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

/* === GALLERY PHOTOS === */
.gallery-photos {
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.gallery-photo-card {
    aspect-ratio: 3/2;
    padding: 0;
    overflow: hidden;
}

.gallery-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-photo-card:hover img {
    transform: scale(1.05);
}

/* === RESPONSIVE === */

/* Empêcher tout débordement horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .timeline::before { left: 2rem; }
    .timeline-item { padding-right: 0; padding-left: 4rem; justify-content: flex-start; }
    .timeline-item:nth-child(even) { padding-left: 4rem; }
    .timeline-item::before { left: 2rem; }

    .experience-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Nav mobile */
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1001;
        overflow-y: auto;
    }
    .nav-menu a {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }
    .nav-cta {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.5rem !important;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-container {
        padding: 0 1rem;
    }
    .nav-logo {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(2rem, 12vw, 4rem);
        letter-spacing: 1px;
        word-break: break-word;
    }
    .hero-badge {
        font-size: 0.6rem;
        letter-spacing: 1px;
        padding: 0.4rem 1rem;
    }
    .hero-subtitle {
        letter-spacing: 1px;
        font-size: 0.85rem;
    }
    .hero-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    .hero-content {
        padding: 1rem;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    /* Countdown */
    .countdown {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .countdown-item {
        padding: 0.6rem 0.8rem;
        min-width: 55px;
    }
    .countdown-number {
        font-size: 1.3rem;
    }
    .countdown-label {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        word-break: break-word;
    }
    .section-text {
        font-size: 1rem;
    }

    /* Page hero */
    .page-hero {
        padding: 7rem 0 3rem;
    }
    .page-hero h1 {
        font-size: clamp(1.8rem, 7vw, 3rem);
        word-break: break-word;
    }
    .page-hero p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* Grilles -> 1 colonne */
    .concept-cards,
    .backstage-features,
    .experience-grid,
    .gallery-grid,
    .gallery-photos {
        grid-template-columns: 1fr;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 16px; /* évite le zoom iOS */
    }

    /* FAQ */
    .faq-question {
        padding: 1.2rem 1rem;
        font-size: 0.9rem;
    }
    .faq-answer-content {
        padding: 0 1rem 1.2rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    .footer-container {
        padding: 0 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom p {
        font-size: 0.75rem;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    .btn-xl {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    /* Login box */
    .login-container {
        padding: 7rem 1rem 3rem;
        max-width: 100%;
    }
    .login-box {
        padding: 2rem 1.5rem;
    }

    /* Festival form */
    .festival-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .festival-section-title {
        font-size: 1rem;
    }

    /* Backstage */
    .backstage-feature {
        padding: 1rem;
    }

    /* Experience cards */
    .experience-card h3 {
        font-size: 1rem;
        padding: 1rem 1rem 0.4rem;
    }
    .experience-card p {
        font-size: 0.9rem;
        padding: 0 1rem 1rem;
    }

    /* Billetterie */
    .billetterie-coming-soon {
        padding: 1rem 0;
    }
    .billetterie-icon {
        font-size: 3rem;
    }

    /* Timeline mobile */
    .timeline::before { left: 1rem; }
    .timeline-item { padding-right: 0; padding-left: 3rem; justify-content: flex-start; }
    .timeline-item:nth-child(even) { padding-left: 3rem; padding-right: 0; }
    .timeline-item::before { left: 1rem; }
    .timeline-content {
        padding: 1.5rem;
        max-width: 100%;
    }

    /* Admin table scroll */
    .admin-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }

    /* Hero encore plus petit */
    .hero-title {
        font-size: clamp(1.8rem, 14vw, 3rem);
    }
    .hero-badge {
        font-size: 0.55rem;
        padding: 0.3rem 0.8rem;
        letter-spacing: 0.5px;
    }
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    .hero-description {
        font-size: 0.85rem;
    }

    /* Countdown ultra compact */
    .countdown {
        gap: 0.3rem;
    }
    .countdown-item {
        padding: 0.5rem 0.6rem;
        min-width: 48px;
    }
    .countdown-number {
        font-size: 1.1rem;
    }
    .countdown-label {
        font-size: 0.5rem;
    }

    /* Buttons full width */
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.8rem 1.5rem;
        font-size: 0.7rem;
    }
    .btn-xl {
        padding: 0.9rem 1.5rem;
        font-size: 0.8rem;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }
    .section-badge {
        font-size: 0.6rem;
        letter-spacing: 1px;
        padding: 0.3rem 0.8rem;
    }
    .section-title {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }
    .section-text {
        font-size: 0.9rem;
    }

    /* Page hero */
    .page-hero {
        padding: 6rem 0 2.5rem;
    }
    .page-hero h1 {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-hero p {
        font-size: 0.85rem;
    }

    /* Cards */
    .concept-card {
        padding: 1.5rem;
    }
    .concept-card-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .concept-card h3 {
        font-size: 1.1rem;
    }
    .concept-card p {
        font-size: 0.85rem;
    }

    /* Experience card */
    .experience-card-visual {
        height: 160px;
    }

    /* Gallery */
    .gallery-grid {
        gap: 1rem;
    }
    .gallery-card {
        border-radius: var(--radius-md);
    }

    /* Festival form */
    .festival-section {
        padding: 1.2rem;
    }
    .festival-section-title {
        font-size: 0.9rem;
        gap: 0.7rem;
    }
    .festival-step {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }

    /* Login */
    .login-box {
        padding: 1.5rem 1rem;
    }

    /* Footer */
    .footer-logo {
        font-size: 1.1rem;
    }
    .newsletter-form input {
        font-size: 16px; /* évite le zoom iOS */
        padding: 0.7rem;
    }
    .newsletter-form button {
        padding: 0.7rem 1rem;
        font-size: 0.7rem;
    }

    /* Forms */
    .form-label {
        font-size: 0.7rem;
    }
    .form-checkbox label {
        font-size: 0.8rem;
    }

    /* Success message */
    .form-success {
        padding: 2rem 1rem;
    }
    .form-success h3 {
        font-size: 1.5rem;
    }
    .form-success p {
        font-size: 0.95rem;
    }

    /* Scroll indicator */
    .hero-scroll {
        bottom: 1rem;
    }
}
