/* ===== CSS Variables ===== */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-card: #1a1a1a;
    --color-bg-card-hover: #222222;

    --color-primary: #ff6b35;
    --color-primary-dark: #cc5429;
    --color-primary-light: #ff8c5a;
    --color-secondary: #e84545;

    --color-accent: #f39c12;
    --color-accent-dark: #d68910;

    --color-text: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;

    --color-border: #2a2a2a;
    --color-border-light: #3a3a3a;

    --color-success: #2ecc71;
    --color-warning: #f39c12;

    --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #e84545 50%, #f39c12 100%);
    --gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
    --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);

    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(255, 107, 53, 0.5);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);

    --font-heading: 'Russo One', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
    border-radius: var(--radius-sm);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    position: relative;
    padding: 5px 0;
}

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

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

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

.nav-cta {
    padding: 12px 28px;
    background: var(--gradient-fire);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/banner.jpg') center/cover no-repeat;
    filter: brightness(0.3) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.6) 0%,
            rgba(10, 10, 10, 0.4) 50%,
            rgba(10, 10, 10, 0.95) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    margin-bottom: 30px;
}

.title-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.title-main {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255, 107, 53, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    }

    to {
        filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.8));
    }
}

.hero-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.info-icon {
    font-size: 1.5rem;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

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

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--color-text);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border-light);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(255, 107, 53, 0.1);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* ===== Hero Scroll Indicator ===== */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* ===== Programme Section ===== */
.programme {
    background: var(--color-bg-secondary);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.timeline-day {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.day-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.day-icon {
    font-size: 2rem;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-border);
    transition: var(--transition-normal);
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.timeline-item.highlight {
    border-left-color: var(--color-primary);
    background: rgba(255, 107, 53, 0.05);
}

.timeline-item.special {
    border-left-color: var(--color-accent);
    background: rgba(243, 156, 18, 0.05);
}

.timeline-item .time {
    min-width: 70px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.timeline-item .event h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.timeline-item .event p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ===== Mastodontes Section ===== */
.mastodontes {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.mastodontes::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mastos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.masto-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.masto-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.masto-card.featured {
    grid-column: span 1;
}

.masto-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.masto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.masto-card:hover .masto-image img {
    transform: scale(1.1);
}

.masto-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
}

.masto-info {
    padding: 25px;
    text-align: center;
}

.masto-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.masto-title {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Masto Logo Style */
.masto-image.masto-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 10px;
    height: 380px;
}

.masto-image.masto-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    margin: auto;
}

/* Masto Large - images agrandies */
.masto-image.masto-large img {
    max-height: 100%;
    transform: scale(1.3);
}

/* Masto XLarge - images très agrandies */
.masto-image.masto-xlarge img {
    max-height: 100%;
    transform: scale(1.6);
}

/* ===== Tarifs Section ===== */
.tarifs {
    background: var(--color-bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.pricing-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.1) 0%, #0f0f0f 100%);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.1) 0%, #0f0f0f 100%);
}

.pricing-card.ultimate {
    border-color: var(--color-accent);
    background: linear-gradient(145deg, rgba(243, 156, 18, 0.1) 0%, #0f0f0f 100%);
}

.popular-badge,
.ultimate-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-fire);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ultimate-badge {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 5px;
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--color-success);
    font-weight: 700;
}

.addon-section,
.patche-section {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 30px;
}

.addon-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 30px;
}

.addon-grid,
.patch-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.addon-item,
.patch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    min-width: 200px;
}

.addon-price,
.patch-price {
    font-weight: 700;
    color: var(--color-primary);
}

/* ===== Partenaires Section ===== */
.partenaires {
    background: var(--color-bg);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.partner-card {
    display: block;
    padding: 30px 40px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    text-decoration: none;
    min-width: 180px;
}

.partner-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin-bottom: 15px;
}

.partner-logo img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: var(--transition-normal);
}

.partner-card:hover .partner-logo img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.partner-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.exposants {
    text-align: center;
    padding: 40px;
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-lg);
}

.exposants h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.exposants p {
    color: var(--color-text-secondary);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(232, 69, 69, 0.1) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    height: 80px;
    width: auto;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--color-text-secondary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

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

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-info {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .masto-image {
        height: 280px;
    }

    .addon-section,
    .patche-section {
        padding: 30px 20px;
    }

    .addon-item,
    .patch-item {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-item .time {
        min-width: auto;
    }

    .pricing-price .amount {
        font-size: 2.5rem;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Fire Particles Effect ===== */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    animation: rise 3s ease-in infinite;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-200px) scale(0);
    }
}