/* ============================================================
   HERO — Synergyz.fr
   Animation GSAP sur le logo SVG inline
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

/* ── Vidéo de fond ───────────────────────────────────────────── */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ── Overlay sombre sur la vidéo ─────────────────────────────── */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(17, 29, 44, 0.55) 0%,
            rgba(17, 29, 44, 0.72) 50%,
            rgba(17, 29, 44, 0.90) 100%
        );
    z-index: 1;
    pointer-events: none;
}

/* ── Nappes de couleurs radiales (par-dessus la vidéo) ───────── */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 35%, rgba(242, 142, 33, 0.18), transparent 70%),
        radial-gradient(ellipse 40% 40% at 25% 75%, rgba(220, 38, 43, 0.10), transparent 65%),
        radial-gradient(ellipse 40% 40% at 75% 25%, rgba(249, 178, 51, 0.12), transparent 65%);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

/* ── Halo derrière le logo : pulse continu ───────────────────── */
.hero-glow {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 360px;
    background: radial-gradient(ellipse, rgba(242, 142, 33, 0.35), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 3;
    animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* ── Contenu ─────────────────────────────────────────────────── */
.hero-inner {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-logo {
    width: min(720px, 88vw);
    filter: drop-shadow(0 18px 45px rgba(242, 142, 33, 0.28));
}

.hero-logo svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* État initial : tout masqué, GSAP révèle ensuite */
.hero-logo .cls-1,
.hero-logo .cls-3,
.hero-logo .cls-4,
.hero-logo .cls-5 {
    opacity: 0;
}

.hero-accroche {
    font-family: 'Aquatico NoAccentsCaps', 'Aquatico', sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 2.6rem);
    color: var(--color-text-primary);
    line-height: 1.25;
    max-width: 820px;
    margin: 0;
    opacity: 0;
}

.hero-subaccroche {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: var(--color-text-secondary);
    line-height: 1.5;
    max-width: 640px;
    margin: 0;
    opacity: 0;
}

.hero-tagline {
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    opacity: 0;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
}

/* ── Boutons ─────────────────────────────────────────────────── */
.hero-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    transition:
        transform 0.3s var(--ease-smooth),
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.hero-btn--primary {
    background: linear-gradient(135deg, var(--color-blue-primary), var(--color-accent-red));
    color: #fff;
    box-shadow: 0 8px 30px rgba(242, 142, 33, 0.3);
}

.hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 42px rgba(242, 142, 33, 0.5);
}

.hero-btn--ghost {
    border: 1px solid rgba(249, 178, 51, 0.28);
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.hero-btn--ghost:hover {
    background: rgba(249, 178, 51, 0.08);
    border-color: rgba(249, 178, 51, 0.55);
    transform: translateY(-2px);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .hero { padding: 7rem 1.2rem 3rem; }
    .hero-glow { width: 110vw; height: 300px; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-btn { width: 100%; text-align: center; }
}

/* ── Fallback si JS désactivé ────────────────────────────────── */
.no-js .hero-logo .cls-1,
.no-js .hero-logo .cls-3,
.no-js .hero-logo .cls-4,
.no-js .hero-logo .cls-5,
.no-js .hero-tagline,
.no-js .hero-ctas {
    opacity: 1 !important;
}
