/* Réglages de base et image de fond granuleuse locale, on la garde */
body {
    font-family: 'Poppins', sans-serif; 
    background-color: #1a0f2e; /* Couleur sombre de sécurité */
    background-image: url('./photo/fond_ecran.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffebcc; /* Couleur de texte or/crème pour contraster */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
}

/* On désactive les styles ornementaux pour tous les textes */
.ornamental {
    font-family: 'Poppins', sans-serif; /* Police standard, sobre */
    text-transform: none; /* Pas de majuscules automatiques */
    font-weight: 400; /* Poids normal */
}

/* --- STYLES POUR L'EN-TÊTE SOBRE ET STRUCTURÉ --- */

/* Header sobre */
header {
    text-align: center;
    padding: 4rem 1rem 2rem;
    position: relative;
    max-width: 800px;
    width: 90%;
}

/* Badge central ovale en CSS sobre */
.header-badge {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sparkle-badge {
    color: #333;
    font-size: 0.8rem;
}

/* Titre principal structuré */
.title-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.sobre-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    letter-spacing: 5px;
    color: #fff;
    margin: 0;
}

/* Sparkles discrets */
.sparkle {
    color: #fff;
    font-size: 1rem;
}

.left-sparkle {
    margin-right: -10px;
}

.sobre-info {
    font-family: 'Poppins', sans-serif;
    color: #ffcc99;
    font-size: 1.1rem;
    margin: 1rem 0 0.2rem;
}

/* Infos secondaires sobres */
.private-event {
    margin: 1rem 0 0.2rem;
    font-weight: 600; 
}

.dj-set {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.dj-name {
    font-weight: bold;
    color: #fff;
}

/* Conteneur principal */
main {
    max-width: 800px;
    width: 90%;
    margin-bottom: 1.5rem;
}

/* Les cartes (blocs sombres) transparentes */
.card {
    background-color: rgba(26, 15, 46, 0.85); 
    backdrop-filter: blur(5px); 
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 235, 204, 0.1); 
}

/* Titres H2 sobres et propres */
.card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800; 
    text-transform: uppercase;
    margin-top: 0;
    color: #fff;
    border-bottom: 2px solid #ff6633; 
    padding-bottom: 10px;
    letter-spacing: 1px; 
}

/* Liste du programme compacte */
.compact-program .program-list {
    font-size: 1rem;
    color: #ffebcc;
    margin-bottom: 0.5rem;
}

/* --- PARTENAIRES --- */
.partners-section {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 235, 204, 0.2);
    padding-top: 1rem;
}

.partners-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffcc99;
    margin-bottom: 15px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 45px; 
    max-width: 130px;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3)); 
}

/* QR Code */
.text-center {
    text-align: center;
}

.qr-code {
    border-radius: 8px;
    border: 1px solid rgba(255, 235, 204, 0.3);
    margin: 15px 0;
    max-width: 180px;
}

.qr-subtext {
    font-size: 0.9rem;
    color: #ffcc99;
    margin-top: 10px;
    font-style: italic;
}

/* Formulaire */
.input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffcc99;
}

.input-group input {
    padding: 10px;
    border: 1px solid rgba(255, 235, 204, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 235, 204, 0.05);
    color: #fff;
    font-family: 'Poppins', sans-serif; 
}

.input-group input:focus {
    border-color: #ff6633;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 102, 51, 0.4);
}

button {
    background-color: #ff6633; 
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif; 
}

button:hover {
    background-color: #e65c2a;
}

/* Utilitaires JS */
.hidden {
    display: none;
}

#success-message {
    margin-top: 15px;
    padding: 15px;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    border: 1px solid rgba(255, 235, 204, 0.1);
}

/* Pied de page */
footer {
    text-align: center;
    padding: 2rem 1rem 4rem;
    color: #7f8c8d;
    font-size: 0.95rem;
    width: 90%;
    max-width: 800px;
}

/* Bloc de prix encadré blanc sobre */
.price-box-revised {
    background-color: #fff; 
    color: #333; 
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 12px;
    padding: 15px 30px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    text-transform: none; 
}

.price-box-revised .price-line {
    margin: 0;
    font-size: 1.2rem;
}

.organizer {
    margin: 0 0 0.5rem;
}

.instagram-handle {
    color: #fff;
    font-size: 1rem;
    margin-top: 0.2rem;
    font-family: 'Poppins', sans-serif;
    text-transform: none; 
}

/* Zone de contact en bas */
.contact-links {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-btn {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    width: 80%;
    max-width: 300px;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.insta-btn {
    border-color: #E1306C; 
}

.insta-btn:hover {
    background: rgba(225, 48, 108, 0.2);
}

/* Bouton Réserver sous le QR Code (Style Ticket) */
.btn-reserver {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #ff6633;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    margin: 10px 0 15px 0;
    box-shadow: 0 0 20px rgba(255, 102, 51, 0.4);
}

.btn-reserver:hover {
    background-color: #e65c2a;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 102, 51, 0.6);
}
