/* Barre de navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

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

.navbar-brand .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

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

/* Menu burger mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Ajustement du padding pour le contenu principal */
.hero {
    padding-top: 80px; /* Hauteur de la navbar */
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-alt: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Hauteur de la navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                url('fond.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    animation: fadeInUp 1s ease-out;
}

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

.logo {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.slogan {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    opacity: 0.95;
}

.draw-date {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    font-weight: 600;
    color: #fbbf24;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

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

.instagram {
    font-size: 1.1rem;
    margin: 0.5rem 0 2rem;
    font-weight: 500;
    color: #e879f9;
    text-shadow: 0 2px 10px rgba(232, 121, 249, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-button-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

/* Prizes Section */
.prizes-section {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    z-index: 1;
    scroll-margin-top: 80px; /* Pour éviter que la section ne soit cachée sous la navbar */
}

.prizes-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin: 80px auto 0;
    max-width: 1200px;
    padding: 30px 20px 0;
}

.prize-card {
    background: white;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    flex: 0 0 320px;
    max-width: 320px;
    margin-top: 20px;
}

/* Style podium */
.prize-card:nth-child(1) {
    order: 2;
    transform: scale(1.15);
    z-index: 3;
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    border: 3px solid #FFD700;
}

.prize-card:nth-child(1)::before {
    content: '🥇 1er Prix';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    z-index: 10;
}

.prize-card:nth-child(2) {
    order: 1;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.4);
    border: 3px solid #C0C0C0;
}

.prize-card:nth-child(2)::before {
    content: '🥈 2ème Prix';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.5);
    z-index: 10;
}

.prize-card:nth-child(3) {
    order: 3;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(205, 127, 50, 0.4);
    border: 3px solid #CD7F32;
}

.prize-card:nth-child(3)::before {
    content: '🥉 3ème Prix';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #CD7F32, #B8860B);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.5);
    z-index: 10;
}

.prize-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.prize-card:nth-child(1):hover {
    transform: translateY(-10px) scale(1.2);
}

.prize-card:nth-child(2):hover,
.prize-card:nth-child(3):hover {
    transform: translateY(-10px) scale(1.1);
}

.prize-image-placeholder {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.prize-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: opacity 0.3s ease;
}

.prize-image.loaded ~ .upload-overlay {
    opacity: 0;
    pointer-events: none;
}

.prize-card:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay span {
    font-size: 3rem;
    margin-bottom: 10px;
}

.upload-overlay p {
    font-size: 1rem;
}

.prize-content {
    padding: 25px;
}

.prize-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.prize-title:focus,
.prize-description:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 5px;
}

.prize-description {
    color: #64748b;
    line-height: 1.6;
}

/* Bouton Voir tous les lots */
.view-all-prizes {
    text-align: center;
    margin-top: 50px;
}

.view-all-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

/* Styles pour les onglets */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #333;
}

.tab-button.active {
    color: #4a6cf7;
    border-bottom-color: #4a6cf7;
}

/* Styles pour les onglets de formules */
.formula-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.formula-tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.formula-tab:hover {
    background: #eee;
}

.formula-tab.active {
    background: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Ticket Selector */
.ticket-custom {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ticket-custom h3 {
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.5rem;
}

.ticket-display {
    font-size: 5rem;
    margin: 20px 0;
    position: relative;
    display: inline-block;
}

.ticket-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f46e5;
    text-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

.quantity-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.quantity-input {
    width: 100px;
    height: 60px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: var(--dark);
}

.price-summary {
    margin: 30px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    text-align: left;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.price-row.total {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #e2e8f0;
}

.checkout-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.savings-note {
    margin-top: 15px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Tickets Section */
.tickets-section {
    padding: 80px 0;
    background: white;
}

.ticket-selector {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ticket-selector h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--dark);
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

.quantity-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.quantity-input {
    width: 100px;
    height: 60px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: var(--dark);
}

.ticket-display {
    font-size: 4rem;
    margin: 20px 0;
    position: relative;
    display: inline-block;
}

.ticket-display::after {
    content: '⭐';
    position: absolute;
    top: -15px;
    right: -25px;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.price-summary {
    margin: 30px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    text-align: left;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.price-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #e2e8f0;
}

.checkout-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1400px;
    padding: 0 1rem;
    margin-top: 50px;
    align-items: stretch;
}

.ticket-card {
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.ticket-card.popular {
    border-color: var(--primary-color);
    border-width: 3px;
}

.ticket-card.best-value {
    border-color: var(--accent-color);
    border-width: 3px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.ticket-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.popular-badge {
    background: var(--primary-color);
}

.best-badge {
    background: var(--accent-color);
}

.ticket-icon {
    font-size: 3rem;
    margin: 20px 0;
}

.ticket-quantity {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.ticket-price {
    margin: 20px 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.price-unit {
    font-size: 0.9rem;
    color: #64748b;
    display: block;
    margin-top: 5px;
}

.ticket-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ticket-features li {
    padding: 8px 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ticket-button {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
}

.ticket-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Formule Personnalisée */
.custom-ticket-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.custom-ticket-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px 50px 50px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.custom-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.custom-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-btn:hover {
    background: white;
    color: #667eea;
    transform: scale(1.1);
}

.custom-display {
    text-align: center;
    color: white;
}

.custom-quantity {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.custom-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.custom-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: white;
}

.custom-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.custom-total-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 600;
}

.custom-total-price {
    font-size: 2rem;
    font-weight: 800;
}

.custom-unit-price {
    font-size: 0.95rem;
    opacity: 0.8;
}

.custom-buy-btn {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #667eea;
    font-weight: 700;
    padding: 15px;
    border-radius: 10px;
    border: 3px solid #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    width: 200px;
    text-align: center;
}

.custom-buy-btn:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
    background: #667eea;
    color: white;
}

@media (max-width: 768px) {
    .custom-ticket-card {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
    }
    
    .custom-title {
        font-size: 1.3rem;
    }
}

/* Section Tous les Lots */
.all-prizes-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, white, #f8fafc);
}

.all-prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.small-prize-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.small-prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.small-prize-image-placeholder {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.small-prize-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: opacity 0.3s ease;
}

.small-prize-image.loaded ~ .upload-overlay-small {
    opacity: 0;
    pointer-events: none;
}

.small-prize-card:hover .upload-overlay-small {
    opacity: 1;
}

.small-prize-title {
    padding: 10px 15px 5px;
    text-align: center;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

.small-prize-description {
    padding: 0 15px 15px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.small-prize-title:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Styles pour les champs obligatoires */
.required {
    color: #ef4444;
    margin-left: 4px;
}

/* Style pour la boîte de suggestions */
.suggestions-container {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    margin-top: 5px;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-count {
    font-size: 0.8em;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Style pour les messages d'erreur */
.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 1.2rem;
}

/* Styles pour les champs invalides */
input:invalid, select:invalid {
    border-color: #ef4444;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--dark);
}

#orderSummary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23646c7a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-note {
    margin-top: 10px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 10px;
    }

    .stat-value {
        font-size: 2rem;
    }
    
    .tickets-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    @media (max-width: 768px) {
        .tickets-grid {
            grid-template-columns: 1fr;
            max-width: 400px;
        }
    }

    .ticket-card.popular {
        transform: scale(1);
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 30px 20px;
        max-height: 85vh;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.footer-section p {
    margin: 10px 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-section a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

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

/* Mobile Portrait - Responsive complet */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .slogan {
        font-size: 1.2rem;
        margin: 1rem 0 0.5rem;
    }
    
    .draw-date {
        font-size: 1rem;
        margin: 0.5rem 0;
    }
    
    .instagram {
        font-size: 0.95rem;
        margin: 0.5rem 0 1.5rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
    
    /* Navigation */
    .navbar-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    /* Prizes Grid - Vertical sur mobile */
    .prizes-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 20px;
        margin-top: 40px;
    }
    
    .prize-card {
        max-width: 100%;
        width: 100%;
        flex: 1 1 auto;
        margin-top: 0 !important;
    }
    
    /* Réinitialiser l'effet podium sur mobile */
    .prize-card:nth-child(1) {
        order: 1;
        transform: scale(1);
        border: 2px solid #FFD700;
    }
    
    .prize-card:nth-child(2) {
        order: 2;
        transform: scale(1);
        border: 2px solid #C0C0C0;
    }
    
    .prize-card:nth-child(3) {
        order: 3;
        transform: scale(1);
        border: 2px solid #CD7F32;
    }
    
    .prize-card:hover {
        transform: scale(1.02) !important;
    }
    
    /* All Prizes Grid */
    .all-prizes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .small-prize-card {
        border-radius: 12px;
    }
    
    .small-prize-image-placeholder {
        height: 150px;
    }
    
    .small-prize-title {
        font-size: 0.95rem;
        padding: 8px 10px 4px;
    }
    
    .small-prize-description {
        font-size: 0.8rem;
        padding: 0 10px 10px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Hero très petit écran */
    .logo {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1rem;
    }
    
    .draw-date {
        font-size: 0.9rem;
    }
    
    .instagram {
        font-size: 0.85rem;
    }
    
    /* Navigation mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 10px 0;
        font-size: 1.1rem;
        text-align: center;
    }
    
    .navbar-brand .logo {
        font-size: 1.5rem;
    }
    
    /* Grille des lots - 1 colonne */
    .all-prizes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .small-prize-image-placeholder {
        height: 200px;
    }
    
    /* Tickets */
    .tickets-grid {
        grid-template-columns: 1fr;
    }
    
    .ticket-card {
        max-width: 100%;
    }
}

/* Section Pourquoi on fait ça ? */
.why-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    scroll-margin-top: 80px;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.why-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.bachelor-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bachelor-image:hover {
    transform: scale(1.05);
}

.why-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.why-text p {
    margin-bottom: 20px;
}

.why-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.why-link:hover {
    color: #764ba2;
    border-bottom: 2px solid #764ba2;
}

/* Responsive pour la section Why */
@media (max-width: 768px) {
    .why-section {
        padding: 60px 0;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .why-section {
        padding: 40px 0;
    }
    
    .why-text {
        font-size: 0.95rem;
    }
}
