/* =====================================================================
   HERO CAROUSEL — PAGE D'ACCUEIL
   --gv-blue: #01176C;
   --gv-orange: #F29200;
   ===================================================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: black;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-image {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 15, 0.45);
}

/* ===================== CARD CENTRÉE (contenu texte) ===================== */

.hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-card {
    background: rgba(1, 23, 108, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px 32px;
    max-width: 620px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero-slide-title {
    font-family: 'Aldrich', sans-serif;
    font-size: clamp(1rem, 2.4vw, 1.6rem);
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
    min-height: 1.15em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.hero-slide-title .typewriter {
    border-right: 3px solid #F29200;
    padding-right: 6px;
}

.hero-slide-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    color: #d7dae0;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-hero-primary {
    background: #F29200;
    color: #01176C;
    border-color: #F29200;
    box-shadow: 0 4px 20px rgba(242, 146, 0, 0.35);
}

.btn-hero-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* ===================== INDICATEURS VERTICAUX ===================== */

.hero-indicators {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
}

.hero-indicator {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.hero-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F29200;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    order: 2;
}

.hero-indicator.active::after {
    background: #F29200;
    box-shadow: 0 0 0 4px rgba(242, 146, 0, 0.25);
}

.hero-indicator-label {
    font-family: 'Arial', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.hero-indicator:hover .hero-indicator-label,
.hero-indicator.active .hero-indicator-label {
    max-width: 280px;
    opacity: 1;
    margin-right: 4px;
}

.hero-indicator.active .hero-indicator-label {
    color: #F29200;
}

/* ===================== FLÈCHE DE DÉFILEMENT ===================== */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: gv-bounce 2s infinite;
    backdrop-filter: blur(6px);
}

.scroll-indicator svg { width: 18px; height: 18px; }

@keyframes gv-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
    .hero-indicators { display: none; }
}

@media (max-width: 600px) {
    .hero-carousel { height: 100svh; min-height: 520px; }
    .hero-slide-content { padding: 16px; }
    .hero-card {
        padding: 20px 20px;
        border-radius: 14px;
    }
    .hero-slide-title {
        font-size: clamp(0.85rem, 4.5vw, 1.2rem);
    }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn-hero { justify-content: center; width: 100%; }
}