/* la page d'accueille */

.header-main {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden; /* pour contenir les éclats qui dépasseraient */
    
    /* ===== FOND PRINCIPAL : DÉGRADÉ CHAUFFANT ===== */
    background:
    /* 1. Reflet principal en arc */
    radial-gradient(circle at 15% 25%, rgba(255, 248, 240, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    
    /* 2. Dégradé de fond bordeaux */
    linear-gradient(145deg, #6b2420 0%, #4f1c18 80%, #3a1412 100%);
    
    background-blend-mode: overlay, normal, normal; /* fusion des reflets */
    }
    
    /* ===== CALQUE DE TEXTURE VITRE (MICRO-RAYURES + ÉCLATS) ===== */
    .header-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    
    background:
    /* --- Rayures fines 1 (45°) --- */
    repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 6px,
    rgba(255, 255, 255, 0.02) 6px,
    rgba(255, 255, 255, 0.02) 12px
    ),
    /* --- Rayures fines 2 (125°) pour variété --- */
    repeating-linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 10px,
    rgba(255, 240, 230, 0.015) 10px,
    rgba(255, 240, 230, 0.015) 18px
    ),
    /* --- Éclats lumineux (multiples sources) --- */
    radial-gradient(
    circle at 30% 40%,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 15%
    ),
    radial-gradient(
    circle at 70% 55%,
    rgba(255, 245, 220, 0.18) 0%,
    transparent 20%
    ),
    radial-gradient(
    circle at 90% 20%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 12%
    ),
    radial-gradient(
    circle at 10% 80%,
    rgba(255, 235, 200, 0.08) 0%,
    transparent 18%
    ),
    /* --- Reflet balayé (lumière rasante) --- */
    linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 240, 230, 0.08) 90%,
    rgba(255, 255, 255, 0) 100%
    ),
    /* --- Léger bruit (grain) pour effet verre dépoli --- */
    repeating-radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.01) 0px,
    rgba(255, 255, 255, 0) 1px,
    transparent 2px,
    rgba(255, 255, 255, 0.005) 3px,
    transparent 4px
    );
    
    background-blend-mode: overlay, soft-light, normal, normal, normal, normal, normal;
    mix-blend-mode: screen; /* rend les blancs plus éclatants */
    }
    
    /* ===== LISERÉ SUPÉRIEUR (BORD DE VERRE) ===== */
    .header-main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 30%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 245, 200, 0.3) 100%
    );
    z-index: 2;
    pointer-events: none;
    }
    
    /* ===== LISERÉ LATÉRAL DROIT (ACCENT) ===== */
    .header-main .glass-edge {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
    }

    .header-quote {
    color: #f8b400;
    font-style: italic;
    }

    /* ===== CONTENEUR PRINCIPAL : PILE DE CARTES ===== */
    .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    .hero-cards-stack {
    position: relative;
    width: 220px;
    height: 300px;
    }
    
    .hero-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .hero-card.card-1 {
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    }
    
    .hero-card.card-2 {
    top: 40px;
    left: 40px;
    right: -40px;
    z-index: 2;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transform: rotate(5deg);
    }
    
    .hero-card.card-3 {
    top: 80px;
    left: -40px;
    right: 40px;
    z-index: 1;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transform: rotate(-5deg);
    }
    
    .hero-card i {
    font-size: 2.5rem;
    color: #1a3a8f;
    margin-bottom: 1rem;
    }
    
    .hero-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3a8f;
    margin-bottom: 0.5rem;
    }

    .hero-actions {
        margin-top: 2rem;
    }
    
    .hero-actions .btn {
        padding: 12px 30px;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .hero-actions .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }