/* ============================================================
   HERO — Section d'accueil spécifique à index.html
   ============================================================ */

/* Hero container */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 7rem 2rem 4rem;
}

/* Decorative elements */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(53, 152, 192, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(14, 62, 73, 0) 0%, var(--bg-main) 100%);
}

/* Confluence SVG background */
.hero-confluence {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

/* Hero content */
.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero title */
.hero-inner h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    color: white;
    letter-spacing: 0.02em;
    text-transform: none;
}

.hero-inner h1 .brand-la {
    font-size: 0.78em;
    font-weight: 700;
}

.hero-inner h1 .brand-fluent {
    margin-left: 0.12em;
    font-weight: 900;
}

.hero-inner h1 .brand-reg {
    font-size: 0.3em;
    font-weight: 400;
    vertical-align: super;
    margin-left: 0.1em;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(1.2rem, 1.8vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.hero-subtitle strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

/* Hero anchor links */
.hero-anchors {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border: 1px solid rgba(53, 152, 192, 0.25);
    border-radius: 100px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.hero-anchor:hover {
    color: white;
    border-color: var(--accent-data);
    background: rgba(53, 152, 192, 0.1);
    transform: translateY(-1px);
}

.hero-anchor svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-territory);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* CTA row in hero */
.cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: pointer;
    animation: gentleBounce 2.5s ease-in-out infinite;
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-7px);
    }
}

.scroll-indicator svg {
    width: 26px;
    height: 26px;
    stroke: rgba(255, 255, 255, 0.35);
    fill: none;
    stroke-width: 2;
}

.scroll-indicator:hover svg {
    stroke: rgba(255, 255, 255, 0.6);
}
