/* =========================================
   1. RESET & CONFIGURATION GLOBALE
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #555;
    background-color: #f9f9f9; /* Fond très légèrement grisé pour faire ressortir les blocs blancs */
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased; /* Rendu texte net sur iOS/Mac */
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

/* Classe utilitaire pour centrer et gérer les marges */
.container-width {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER
   ========================================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
    position: sticky; /* Le header reste en haut au scroll */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 50px; /* Taille optimale */
}

.top-nav ul {
    display: flex;
    gap: 25px;
}

.top-nav a {
    color: #7a8fa6;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.top-nav a:hover { color: #2659a4; }
.top-nav i { font-size: 1.1rem; }


/* =========================================
   3. BANNIÈRE PROMO (HERO)
   ========================================= */
.red-promo-banner {
    background-color: #be0015;
    color: white;
    padding: 50px 20px;
    text-align: left;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(190, 0, 21, 0.2);
}

.banner-content {
    max-width: 1280px;
    margin: 0 auto;
}

.club-pill {
    background-color: #2659a4;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.red-promo-banner h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    text-transform: uppercase;
}

.banner-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffd700;
}

.banner-details {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.banner-legal {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* =========================================
   4. STEPPER (Barre de progression)
   ========================================= */
.stepper-container {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid #fff; /* Contour blanc pour détacher de la ligne */
}

/* État actif ou complété */
.step.active .step-circle, 
.step.completed .step-circle {
    background-color: #2659a4;
    color: white;
    box-shadow: 0 4px 10px rgba(38, 89, 164, 0.2);
}
.step.active span, 
.step.completed span {
    color: #2659a4;
}

.line {
    flex: 1;
    height: 3px;
    background-color: #e0e0e0;
    margin: 0 10px;
    margin-bottom: 28px; /* Ajusté pour s'aligner au milieu des cercles */
    border-radius: 2px;
}
.line.completed {
    background-color: #2659a4;
}

/* =========================================
   5. CONTENU PRINCIPAL & TICKET
   ========================================= */
.info-content-section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.info-card h2 {
    color: #2659a4;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.info-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Visuel du ticket */
.ticket-visual {
    background: linear-gradient(135deg, #2659a4 0%, #1e3a6e 100%);
    color: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 550px;
    margin: 0 auto 40px;
    border: 2px dashed rgba(255,255,255,0.25);
    position: relative;
    box-shadow: 0 10px 20px rgba(38, 89, 164, 0.2);
}

.ticket-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ticket-logo { font-size: 0.9rem; font-weight: 700; opacity: 0.9; margin-bottom: 5px; }
.ticket-amount { font-size: 3rem; font-weight: 900; color: #ffd700; line-height: 1; margin-bottom: 5px; }
.ticket-label { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }

.ticket-right {
    text-align: right;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.6;
}
.ticket-code {
    display: block;
    font-family: monospace;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.2);
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Bouton d'action */
.btn-main-action {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    background-color: #be0015;
    color: white;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(190, 0, 21, 0.2);
}

.btn-main-action:hover {
    background-color: #a00012;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(190, 0, 21, 0.3);
}

.secure-text {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* =========================================
   6. SECTIONS ADDITIONNELLES (INSPIRATION, AVIS)
   ========================================= */
.section-heading {
    text-align: center;
    font-size: 1.8rem;
    color: #2659a4;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subheading {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.05rem;
}

/* Section Inspiration */
.section-inspiration { padding: 80px 0; background-color: #fff; }
.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.inspire-card {
    background: white; border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}
.inspire-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-image { height: 200px; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.inspire-card:hover img { transform: scale(1.05); }
.card-tag {
    position: absolute; top: 15px; left: 15px; background: #be0015;
    color: white; padding: 5px 12px; font-size: 0.75rem; font-weight: 700;
    border-radius: 4px; text-transform: uppercase;
}
.card-content { padding: 25px; }
.card-content h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: #333; }
.card-content p { color: #777; font-size: 0.95rem; }

/* Section Témoignages */
.section-testimonials { padding: 80px 0; background-color: #f8f9fa; border-top: 1px solid #eee; }
.testimonials-wrapper { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.testi-item {
    background: white; flex: 1; min-width: 300px; padding: 30px;
    border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.testi-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.avatar-circle {
    width: 50px; height: 50px; background-color: #2659a4; color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.2rem;
}
.stars { color: #ffd700; font-size: 0.8rem; }
.verified-badge {
    color: #27ae60; font-size: 0.75rem; font-weight: 700;
    background: rgba(39, 174, 96, 0.1); padding: 4px 10px; border-radius: 20px;
}

/* Section FAQ */
.section-faq { padding: 80px 0; background: white; border-top: 1px solid #eee; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.faq-box { text-align: center; padding: 20px; }
.faq-icon { font-size: 2.5rem; color: #be0015; margin-bottom: 20px; }
.faq-box h4 { font-size: 1.1rem; font-weight: 700; color: #2659a4; margin-bottom: 10px; }

/* =========================================
   7. FOOTER
   ========================================= */
.site-footer {
    background-color: #2659a4;
    color: #fff;
    padding: 60px 0 30px;
    font-size: 0.9rem;
    margin-top: 0; /* Collé aux sections précédentes */
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-col h4 {
    color: #abc4ff;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { text-decoration: underline; }

.footer-logo { width: 150px; margin-bottom: 20px; }
.footer-map-img { width: 130px; opacity: 0.7; }

.social-actions {
    grid-column: 4;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    width: 100%;
    max-width: 260px;
    justify-content: center;
    background: rgba(255,255,255,0.05);
}
.social-btn:hover { background: #fff; color: #2659a4; }


/* =========================================
   8. MEDIA QUERIES (OPTIMISATION MOBILE)
   ========================================= */

/* --- TABLETTES (Max 1024px) --- */
@media (max-width: 1024px) {
    .inspiration-grid, .faq-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .social-actions { grid-column: auto; align-items: flex-start; }
}

/* --- MOBILES (Max 768px) --- */

@media (max-width: 768px) { /* Header Stacké */ .header-inner { flex-direction: column; gap: 20px; } .top-nav ul { flex-wrap: wrap; justify-content: center; }



    /* Bannière */
    .red-promo-banner h1 { font-size: 1.8rem; }
    .banner-subtitle { font-size: 1.1rem; }
    
    /* Carte Info */
    .info-card { padding: 30px 20px; }
    .info-card h2 { font-size: 1.6rem; }
    
    /* Ticket responsive (Empilé) */
    .ticket-visual {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .ticket-left, .ticket-right {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .ticket-code { display: inline-block; }

    /* Grilles en 1 colonne */
    .inspiration-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Centré */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .brand-col, .social-actions { align-items: center; }
}

/* --- PETITS MOBILES (Max 480px) --- */
@media (max-width: 480px) {
    /* Stepper plus petit */
    .stepper-container { padding: 0 10px; }
    .step-circle { width: 32px; height: 32px; font-size: 0.9rem; }
    .step span { font-size: 0.7rem; }
    .line { margin-bottom: 24px; } /* Ajustement alignement */
    
    .red-promo-banner h1 { font-size: 1.5rem; }
    .btn-main-action { font-size: 1rem; padding: 15px; }
    
    .card-image { height: 180px; }
}