.header-image-billet {
    position: relative;
    height: 65vh;
    background-image: url('../assets/img/billeterie.png'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

.header-image-billet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); 
}

.header-image-billet .container {
    position: relative;
    z-index: 1;
} 


:root {
            --rouge-sport: #d3122a;
            --bleu-fonce: #0a1f44;
            --gris-fond: #f0f0f0;
            --blanc: #ffffff;
        }

        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--gris-fond);
            color: #333;
        }

        /* Header avec le style incliné et dégradé */
        header {
            background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--rouge-sport) 100%);
            height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        header h1 {
            color: var(--blanc);
            font-size: clamp(3rem, 10vw, 5rem);
            font-style: italic;
            font-weight: 900;
            margin: 0;
            letter-spacing: -2px;
            text-transform: uppercase;
        }

        /* Conteneur de la carte blanche */
        .main-container {
            max-width: 850px;
            margin: -40px auto 40px;
            padding: 0 15px;
            position: relative;
            z-index: 2;
        }

        .ticket-card {
            background: var(--blanc);
            padding: 40px;
            border-radius: 4px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        h2 {
            font-style: italic;
            font-weight: 800;
            font-size: 1.8rem;
            margin-top: 0;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .badge {
            background-color: var(--rouge-sport);
            color: white;
            display: inline-block;
            padding: 4px 12px;
            font-size: 0.75rem;
            font-weight: bold;
            border-radius: 2px;
            margin-bottom: 15px;
        }

        /* Liste des options */
        .option-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #f9f9f9;
            margin-bottom: 12px;
            padding: 15px 25px;
            border-left: 6px solid var(--rouge-sport);
            transition: transform 0.2s;
        }

        .option-row:hover {
            background-color: #f2f2f2;
        }

        .ticket-details {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .ticket-icon {
            font-size: 1.8rem;
            opacity: 0.7;
        }

        .ticket-text .main-label {
            display: block;
            font-weight: 800;
            font-size: 1.1rem;
        }

        .ticket-text .main-label span {
            color: var(--rouge-sport);
        }

        .ticket-text .sub-label {
            font-size: 0.85rem;
            color: #777;
        }

        /* Bouton Acheter */
        .btn-buy {
            background-color: var(--rouge-sport);
            color: white;
            border: none;
            padding: 10px 25px;
            font-weight: bold;
            cursor: pointer;
            text-transform: uppercase;
            border-radius: 2px;
        }

        .btn-buy:hover {
            background-color: #b30f24;
        }

        /* Pied de page de la carte */
        .legal-text {
            color: var(--rouge-sport);
            font-size: 0.75rem;
            font-weight: bold;
            margin-top: 30px;
            line-height: 1.4;
            text-transform: uppercase;
        }

        .contact-info {
            margin-top: 25px;
            padding: 15px;
            border: 1px solid #ddd;
            font-size: 0.85rem;
            line-height: 1.6;
        }

        .contact-info strong {
            color: var(--bleu-fonce);
        }

        /* Responsive */
        @media (max-width: 600px) {
            .option-row {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            .ticket-details {
                flex-direction: column;
                gap: 5px;
            }
        }

         /* Structure globale */
    .ticket-card {
        background: white;
        border-radius: 20px;
        padding: 40px;
        border: 1px solid #e0e0e0;
        transition: transform 0.2s;
    }

    .ticket-card h2 {
        color: #0a1f44;
        font-weight: 900;
        text-transform: uppercase;
        font-style: italic;
        letter-spacing: -1px;
    }

    /* Boutons */
    .btn-buy {
        background-color: #d9534f;
        color: white;
        border: none;
        border-radius: 10px;
        transition: all 0.3s;
        min-width: 150px;
    }

    .btn-buy:hover {
        background-color: #c9302c;
        transform: scale(1.05);
    }

    .btn-go-tirage {
        background-color: #0a1f44;
        color: white;
        border: none;
        font-weight: 900;
        border-radius: 15px;
        width: 100%;
        max-width: 600px;
        transition: all 0.3s;
        box-shadow: 0 10px 20px rgba(10, 31, 68, 0.2);
    }

    .btn-go-tirage:hover {
        background-color: #d9534f;
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(217, 83, 79, 0.3);
    }

    /* Utilitaires */
    .option-row {
        transition: background 0.2s;
    }
    
    .option-row:hover {
        border-color: #d9534f !important;
    }

    @media (max-width: 768px) {
        .ticket-details {
            flex-direction: column;
            text-align: center;
        }
        .btn-buy {
            width: 100%;
            margin-top: 15px;
        }
    }


    #ticket-page {
    background-color: #f8f9fa;
    min-height: 80vh;
    padding: 50px 20px;
}

/* Carte du billet */
#ticket-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

#ticket-card:hover {
    transform: translateY(-5px);
}

#ticket-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: black;
}

#ticket-numero, #ticket-email {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #343a40;
}

#btn-print {
    margin-top: 25px;
    padding: 12px 25px;
    background-color: red;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#btn-print:hover {
    transform: scale(1.05);
}

@media print {
    body * {
        visibility: hidden;
    }
    #ticket-card, #ticket-card * {
        visibility: visible;
    }
    #ticket-card {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
    }