/* ========================================
   HERO SLIDER PRO - STYLE MODERNE 
   ======================================== */

:root {
    --primary-red: #C3002F;
    --primary-red-hover: #a00026;
    --dark-grey: #1a1a1a;
    --light-grey: #f4f4f4;
    --border-color: rgba(0,0,0,0.06);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   CONTENEUR PRINCIPAL
   ======================================== */
.hero-slider {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    min-height: 600px;
    padding: 0;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ========================================
   SLIDES
   ======================================== */
.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 80px 5%;
    position: relative;
}

.hero-slide.active {
    display: block;
    opacity: 1;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de glow décoratif */
.hero-slide::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(195,0,47,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   DISPOSITION DU CONTENU
   ======================================== */
.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ========================================
   SECTION TEXTE
   ======================================== */
.hero-text {
    position: relative;
    z-index: 2;
}

.tagline {
    display: inline-block;
    background: rgba(195,0,47,0.1);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-slide h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-grey);
    margin-bottom: 25px;
    letter-spacing: -2px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-slide h1 .highlight {
    color: var(--primary-red);
    position: relative;
}

.hero-slide p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   BOUTON CTA
   ======================================== */
.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 15px 30px rgba(195,0,47,0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInUp 0.6s ease-out 0.8s both;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(195,0,47,0.4);
    color: white;
    text-decoration: none;
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ========================================
   SECTION IMAGE
   ======================================== */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    z-index: 1;
}

.hero-bg-circle {
    position: absolute;
    width: 550px;
    height: 550px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.hero-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.15));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.hero-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 3%;
    pointer-events: none;
    z-index: 10;
}

.hero-nav-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--dark-grey);
}

.hero-nav-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(195,0,47,0.3);
}

.hero-nav-btn:active {
    transform: scale(1.05);
}

.hero-nav-btn svg {
    stroke: currentColor;
    width: 24px;
    height: 24px;
}

/* ========================================
   INDICATEURS
   ======================================== */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    position: relative;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s;
}

.hero-indicator:hover::before {
    background: rgba(195, 0, 47, 0.1);
}

.hero-indicator.active {
    background: var(--primary-red);
    width: 32px;
    border-radius: 5px;
}

.hero-indicator:hover {
    background: rgba(195, 0, 47, 0.6);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablettes */
@media (max-width: 1024px) {
    .hero-slide {
        padding: 60px 5%;
        min-height: 500px;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-slide h1 {
        font-size: 3rem;
    }
    
    .hero-bg-circle {
        width: 450px;
        height: 450px;
    }
    
    .hero-img {
        max-width: 400px;
        max-height: 450px;
    }
    
    .hero-navigation {
        padding: 0 2%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-slider {
        min-height: 500px;
    }
    
    .hero-slide {
        padding: 40px 5%;
    }
    
    .hero-slide::before {
        width: 400px;
        height: 400px;
        top: -10%;
        right: -20%;
    }
    
    .hero-content-wrapper {
        gap: 30px;
    }
    
    .tagline {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .hero-slide h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        letter-spacing: -1px;
    }
    
    .hero-slide p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 0.95rem;
    }
    
    .hero-image-container {
        min-height: 350px;
    }
    
    .hero-bg-circle {
        width: 300px;
        height: 300px;
    }
    
    .hero-img {
        max-width: 280px;
        max-height: 320px;
    }
    
    .hero-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .hero-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-navigation {
        padding: 0 5%;
    }
    
    .hero-indicators {
        bottom: 25px;
        padding: 10px 16px;
        gap: 8px;
    }
    
    .hero-indicator {
        width: 8px;
        height: 8px;
    }
    
    .hero-indicator.active {
        width: 24px;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .hero-slide h1 {
        font-size: 1.8rem;
    }
    
    .hero-slide p {
        font-size: 0.95rem;
    }
    
    .hero-bg-circle {
        width: 250px;
        height: 250px;
    }
    
    .hero-img {
        max-width: 220px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
}

/* ========================================
   AMÉLIORATIONS D'ACCESSIBILITÉ
   ======================================== */
.hero-nav-btn:focus,
.hero-indicator:focus,
.cta-button:focus {
    outline: 3px solid rgba(195, 0, 47, 0.4);
    outline-offset: 3px;
}

/* Réduction de mouvement pour accessibilité */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .tagline,
    .hero-slide h1,
    .hero-slide p,
    .cta-button,
    .hero-img,
    .hero-bg-circle {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   MODE SOMBRE (optionnel)
   ======================================== */
@media (prefers-color-scheme: dark) {
    .hero-slider {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .hero-slide h1 {
        color: #ffffff;
    }
    
    .hero-slide p {
        color: #cccccc;
    }
    
    .hero-bg-circle {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .hero-nav-btn {
        background: rgba(26, 26, 26, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
    
    .hero-indicators {
        background: rgba(26, 26, 26, 0.9);
    }
}