/* =========================================
   HERO V2 — EXCEPTIONAL LANDING
   Cinematic · Clean · Premium
   ========================================= */

/* ── BASE ── */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ── GLOW BORDER ── */
.hero-glow-border {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow:
        inset 0 0 80px 20px rgba(100, 180, 230, 0.12),
        inset 0 0 40px 10px rgba(0, 119, 182, 0.06);
    animation: none;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow:
            inset 0 0 80px 20px rgba(100, 180, 230, 0.10),
            inset 0 0 40px 10px rgba(0, 119, 182, 0.05);
    }

    50% {
        box-shadow:
            inset 0 0 100px 30px rgba(100, 180, 230, 0.18),
            inset 0 0 50px 15px rgba(0, 119, 182, 0.08);
    }
}

/* ── VIDEO BG ── */
.hero-video-wrap {
    position: absolute;
    /* Extended top/bottom so parallax translate doesn't expose hero bg */
    inset: -15% 0 -20% 0;
    z-index: 0;
    background: #02041a;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    top: 0;
    left: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-wrap {
        will-change: auto;
    }
}

.hero-vid {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-vid.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(160deg,
            rgba(2, 4, 20, .55) 0%,
            rgba(3, 8, 30, .50) 40%,
            rgba(0, 15, 40, .42) 70%,
            rgba(0, 25, 55, .35) 100%);
}

/* Smooth fade-out at the bottom of hero → next white section */
.hero-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, .5) 65%,
        rgba(255, 255, 255, 1) 100%);
    z-index: 5;
    pointer-events: none;
}

/* ── PARTICLES ── */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(125, 211, 252, .65);
    box-shadow: 0 0 8px rgba(125, 211, 252, .45),
                0 0 16px rgba(0, 180, 216, .25);
    animation: pFloat var(--duration) ease-in-out infinite var(--delay);
}

.hero-particle:nth-child(even) {
    background: rgba(0, 180, 216, .55);
    box-shadow: 0 0 10px rgba(0, 180, 216, .4),
                0 0 18px rgba(0, 119, 182, .25);
}

.hero-particle:nth-child(3n) {
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 0 6px rgba(255, 255, 255, .5);
}

/* Vertical light beams on the sides for ambient depth */
.hero-beam {
    position: absolute;
    top: 15%;
    bottom: 25%;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(125, 211, 252, .35) 25%,
        rgba(0, 180, 216, .55) 50%,
        rgba(125, 211, 252, .35) 75%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(0, 180, 216, .4);
    z-index: 2;
    pointer-events: none;
    animation: beamShimmer 6s ease-in-out infinite;
}

.hero-beam--left  { left: 6vw; }
.hero-beam--right { right: 6vw; animation-delay: -3s; }

@keyframes beamShimmer {
    0%, 100% { opacity: .45; }
    50%      { opacity: 1; }
}

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

@keyframes pFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    15% {
        opacity: .6;
    }

    85% {
        opacity: .4;
    }

    50% {
        transform: translateY(-90px) translateX(15px) scale(1.1);
    }
}

/* ── LAYOUT — split 2 colonnes (texte | widget actu) ── */
.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    width: 100%;
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 80px 20px 60px;
    text-align: left;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 640px;
}

.hero-ctas {
    justify-content: flex-start;
}

/* ════════════════════════════════════════
   HERO NEWS WIDGET — glassmorphism
   ════════════════════════════════════════ */
.hero-news {
    width: 100%;
    max-width: 520px;
    justify-self: end;
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.035) 72%),
        radial-gradient(135% 95% at 50% -15%, rgba(125, 211, 252, 0.13), transparent 55%);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    box-shadow:
        0 24px 64px -18px rgba(0, 0, 0, 0.60),
        0 6px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    padding: 24px;
    color: #fff;
}
/* Anneau dégradé sur le bord — effet verre haut de gamme (replié sur la bordure si non supporté) */
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .hero-news::before {
        content: '';
        position: absolute; inset: 0; border-radius: inherit; padding: 1px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(125, 211, 252, 0.20) 36%, rgba(255, 255, 255, 0.04) 64%, rgba(0, 180, 216, 0.42));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
                mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
        pointer-events: none;
    }
}
/* Reflet lumineux sur l'arête supérieure */
.hero-news::after {
    content: '';
    position: absolute; top: 0; left: 14%; right: 14%; height: 1px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    pointer-events: none;
}

/* Header */
.hero-news__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-news__live {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7dd3fc;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-news__brand {
    width: 27px;
    height: 27px;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
    /* animation flottante retirée à la demande */
}

/* Le logo flotte doucement, avec une ombre de profondeur + un halo bleu qui respire (effet « décollé » 3D) */
@keyframes heroNewsBrandFloat {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.30)) drop-shadow(0 0 7px rgba(56,189,248,0.45));
    }
    50% {
        transform: translateY(-2px);
        filter: drop-shadow(0 5px 9px rgba(0,0,0,0.38)) drop-shadow(0 0 14px rgba(56,189,248,0.78));
    }
}

.hero-news__view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    transition: color 0.2s ease, gap 0.2s ease;
}

.hero-news__view-all:hover {
    color: #ffffff;
    gap: 7px;
}

.hero-news__view-all i,
.hero-news__view-all svg {
    width: 13px;
    height: 13px;
}

/* List */
.hero-news__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 215px;
}

/* Individual item */
.hero-news-item {
    display: flex;
    gap: 12px;
    padding: 10px 8px;
    margin: 0 -8px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.25s ease;
    position: relative;
}

.hero-news-item + .hero-news-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2px;
    padding-top: 12px;
}

.hero-news-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hero-news-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.20), rgba(0, 119, 182, 0.10));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-news-thumb img {
    width: 64%;
    height: 64%;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    padding: 3px;
}

.hero-news-thumb svg,
.hero-news-thumb i {
    width: 22px;
    height: 22px;
    color: #7dd3fc;
}

.hero-news-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-news-tag {
    color: #7dd3fc;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.hero-news-title {
    color: #ffffff;
    font-size: 0.89rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-news-time {
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Footer */
.hero-news__foot {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-news__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.hero-news__cta:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    gap: 9px;
}

.hero-news__cta i,
.hero-news__cta svg {
    width: 14px;
    height: 14px;
}

/* Skeleton */
.hero-news-skel {
    height: 60px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.10) 50%,
        rgba(255, 255, 255, 0.04) 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    margin-bottom: 6px;
    animation: heroNewsShimmer 1.6s ease-in-out infinite;
}

@keyframes heroNewsShimmer {
    0%, 100% { background-position: 200% 0; }
    50%      { background-position: -200% 0; }
}

.hero-news-empty {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    text-align: center;
    padding: 24px 8px;
}

/* ═══════════════════════════════════════════════════
   ACTUALITÉS « ÉDITORIAL VIVANT » — améliorations
   ═══════════════════════════════════════════════════ */

/* Indicateur « en direct » dans l'en-tête */
.hero-news__pulse {
    display: inline-flex; align-items: center; gap: 5px;
    margin-left: 8px; padding: 2px 8px; border-radius: 999px;
    background: rgba(244, 63, 94, 0.18); color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.30);
    font-size: 0.56rem; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase;
    animation: heroNewsLiveGlow 2.4s ease-in-out infinite;
}
/* Le badge « en direct » respire — halo rouge qui pulse doucement */
@keyframes heroNewsLiveGlow {
    0%, 100% { box-shadow: 0 0 9px -4px rgba(244, 63, 94, 0.45); }
    50%      { box-shadow: 0 0 16px -2px rgba(244, 63, 94, 0.80); }
}
.hero-news__pulse-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #f87171;
    animation: heroNewsLive 1.8s ease-out infinite;
}
@keyframes heroNewsLive {
    0%   { box-shadow: 0 0 0 0 rgba(248,113,113,0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(248,113,113,0); }
    100% { box-shadow: 0 0 0 0 rgba(248,113,113,0); }
}

/* Tag teinté par secteur + icône de secteur */
.hero-news-item .hero-news-tag { color: var(--sec, #7dd3fc); display: inline-flex; align-items: center; gap: 6px; }
.hero-news-sec-ic { width: 13px; height: 13px; color: var(--sec, #7dd3fc); flex-shrink: 0; }
.hero-news-dot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
    background: var(--sec, #7dd3fc); box-shadow: 0 0 8px var(--sec, #7dd3fc);
}

/* Entrée échelonnée + survol soulevé avec accent de secteur */
.hero-news-item {
    border-left: 2px solid transparent;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
    animation: heroNewsItemIn 0.5s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes heroNewsItemIn { from { opacity: 0; transform: translateY(6px) translateX(-7px); } to { opacity: 1; transform: translateY(0) translateX(0); } }
.hero-news-item:hover { border-left-color: var(--sec, #7dd3fc); transform: translateY(-1px); }
/* La vignette zoome et la pastille de secteur s'illumine au survol */
.hero-news-thumb { transition: transform .25s ease, border-color .25s ease; }
.hero-news-item:hover .hero-news-thumb { transform: scale(1.06); border-color: rgba(255, 255, 255, 0.16); }
.hero-news-item:hover .hero-news-dot { box-shadow: 0 0 12px var(--sec, #7dd3fc); }

/* Badge « Important » — UNIQUEMENT sur LA nouvelle du jour (carte en tête).
   Net et assuré : pas de clignotement, juste un petit point + un rouge soutenu. */
.hero-news-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px;
    background: #e11d48; color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 0.58rem; font-weight: 800;
    letter-spacing: 0.07em; text-transform: uppercase;
    box-shadow: 0 3px 10px -2px rgba(225, 29, 72, .55);
}
.hero-news-badge::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .9);
}

/* « Lire → » révélé au survol */
.hero-news-read {
    display: inline-flex; align-items: center; gap: 3px; margin-left: auto;
    color: var(--sec, #7dd3fc); font-family: 'Montserrat', sans-serif;
    font-size: 0.66rem; font-weight: 700;
    opacity: 0; transform: translateX(-4px);
    transition: opacity .25s ease, transform .25s ease;
}
.hero-news-read i, .hero-news-read svg { width: 11px; height: 11px; }
.hero-news-item:hover .hero-news-read { opacity: 1; transform: translateX(0); }
.hero-news-meta-row { display: flex; align-items: center; gap: 8px; margin-top: 2px; }

/* Story « à la une » — LA nouvelle du jour, mise en évidence proprement :
   un panneau légèrement surélevé (verre neutre) + titre plus grand + badge « Important ».
   Net et discret — c'est la seule carte mise en avant ; les autres restent plates. */
.hero-news-item--featured {
    gap: 12px;
    padding: 12px;
    margin: 0 -8px 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero-news-item--featured:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}
/* Vedette : vignette source un peu plus grande pour la hiérarchie */
.hero-news-item--featured .hero-news-thumb { width: 60px; height: 60px; }
.hero-news-feat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hero-news-item--featured .hero-news-title { font-size: 1rem; font-weight: 700; line-height: 1.32; -webkit-line-clamp: 2; }
/* Badge « Important » en haut à droite de la carte vedette (sur la ligne du secteur) */
.hero-news-item--featured .hero-news-tag { display: flex; width: 100%; }
.hero-news-tag .hero-news-badge { margin-left: auto; }
.hero-news-feat-foot { display: flex; align-items: center; gap: 9px; }
.hero-news-src { display: inline-flex; align-items: center; }
.hero-news-src img {
    height: 18px; width: auto; max-width: 72px; object-fit: contain;
    background: rgba(255, 255, 255, 0.92); border-radius: 4px; padding: 2px 4px;
}

/* Ligne « Analysé par IA » (footer) */
.hero-news__meta {
    display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.55); font-size: 0.68rem; font-weight: 500;
}
.hero-news__meta i, .hero-news__meta svg { width: 12px; height: 12px; color: #7dd3fc; }

/* ═══════════════════════════════════════════════════
   « EN DIRECT » RENFORCÉ — sensation de flux temps réel
   ═══════════════════════════════════════════════════ */

/* Barre de balayage le long de la bordure de l'en-tête :
   évoque un fil d'actualité qui se rafraîchit en continu. */
.hero-news__head { position: relative; overflow: hidden; }
.hero-news__head::after {
    content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 38%;
    background: linear-gradient(90deg, transparent, #38bdf8, #00b4d8, transparent);
    border-radius: 2px; pointer-events: none;
    animation: heroNewsScan 3.4s ease-in-out infinite;
}
@keyframes heroNewsScan {
    0%   { transform: translateX(-110%); opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { transform: translateX(330%); opacity: 0; }
}

/* Reflet lumineux qui traverse périodiquement LA nouvelle du jour */
.hero-news-item--featured { overflow: hidden; }
.hero-news-item--featured::after {
    content: ''; position: absolute; top: 0; left: 0; width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    transform: translateX(-160%); pointer-events: none;
    animation: heroNewsSheen 6s ease-in-out infinite;
}
@keyframes heroNewsSheen {
    0%   { transform: translateX(-160%); }
    14%  { transform: translateX(260%); }
    100% { transform: translateX(260%); }
}

/* L'icône de secteur de la vedette respire — détail « vivant » */
.hero-news-item--featured .hero-news-sec-ic {
    animation: heroNewsDotPulse 2.1s ease-in-out infinite;
}
@keyframes heroNewsDotPulse {
    0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 2px var(--sec, #7dd3fc)); }
    50%      { transform: scale(1.16); filter: drop-shadow(0 0 7px var(--sec, #7dd3fc)); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-news-item, .hero-news__pulse-dot, .hero-news-badge, .hero-news__brand,
    .hero-news__pulse, .hero-news__head::after,
    .hero-news-item--featured .hero-news-sec-ic { animation: none !important; }
    .hero-news-item { opacity: 1; transform: none; }
    .hero-news-item--featured::after { display: none; }
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 18px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00b4d8;
    box-shadow: 0 0 12px rgba(0, 180, 216, .6);
    animation: none;
    flex-shrink: 0;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 119, 182, .4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 119, 182, 0);
    }
}

/* Title */
.hero-title {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -.03em;
    margin: 0 0 16px;
    text-shadow: 0 2px 22px rgba(0, 0, 0, .45);
}

/* Second line stays white for maximum legibility over the video; a faint
   cyan tint at the end keeps a touch of brand life without losing contrast. */
.hero-gradient-text {
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 55%, #bfeeff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
}

@keyframes gradShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* Subtitle */
.hero-sub {
    font-size: .98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
    margin: 0 0 24px;
    max-width: 560px;
    text-shadow: 0 1px 9px rgba(0, 0, 0, .4);
}

/* CTAs */
.hero-ctas {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0077b6, #00a8cc);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 119, 182, .28);
    transition: all .3s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 119, 182, .38);
}

.hero-btn-primary i,
.hero-btn-primary svg {
    width: 16px;
    height: 16px;
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #ffffff;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: all .3s ease;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-btn-ghost:hover {
    border-color: rgba(125, 211, 252, .55);
    background: rgba(255, 255, 255, .14);
}

.hero-btn-ghost i,
.hero-btn-ghost svg {
    width: 16px;
    height: 16px;
    transition: transform .3s;
}

.hero-btn-ghost:hover i,
.hero-btn-ghost:hover svg {
    transform: translateX(3px);
}

/* (Explore links removed — replaced by hero-pillars in inline styles) */

/* ── RIGHT: PHOTO ── */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 40, 80, .12),
        0 4px 16px rgba(0, 0, 0, .04);
    border: 3px solid rgba(255, 255, 255, .6);
    transition: transform .5s ease, box-shadow .5s ease;
}

.hero-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(0, 119, 182, .08);
    pointer-events: none;
}

.hero-img-frame:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 70px rgba(0, 40, 80, .16),
        0 6px 20px rgba(0, 0, 0, .06);
}

.hero-img-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 21px;
}

/* ── SCROLL ── */
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #0077b6;
    font-size: .78rem;
    font-weight: 600;
    opacity: .6;
    transition: opacity .3s;
    animation: bounce 2s ease-in-out 3;
}

.hero-scroll:hover {
    opacity: 1;
}

.hero-scroll i,
.hero-scroll svg {
    width: 18px;
    height: 18px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ── ANIMATION ── */
.anim-up {
    opacity: 0;
    transform: translateY(32px);
    animation: animUp .8s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes animUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 36px;
        justify-content: center;
        justify-items: center;
        text-align: center;
        padding: 100px 0 70px;
    }

    .hero-left {
        align-items: center;
        max-width: 100%;
    }

    .hero-sub {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-pillars {
        justify-content: center;
    }

    .hero-img-frame {
        max-width: 500px;
    }

    .hero-news {
        justify-self: center;
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .hero-v2 {
        min-height: 100svh;
    }

    .hero-content {
        padding: 80px 16px 36px;
        gap: 0;
    }

    .hero-left {
        width: 100%;
    }

    .hero-right {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: -.02em;
        margin-bottom: 14px;
        width: 100%;
        text-align: center;
    }

    .hero-gradient-text {
        display: inline;
    }

    .hero-sub {
        font-size: .9rem;
        line-height: 1.55;
        margin-bottom: 18px;
        max-width: 100%;
    }

    .hero-badge {
        margin-bottom: 14px;
        font-size: .7rem;
    }

    /* Stack CTA buttons vertically on mobile so they always fit */
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 20px;
        gap: 10px;
    }

    .hero-btn-primary,
    .hero-btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: .85rem;
        border-radius: 11px;
    }

    .hero-btn-primary i,
    .hero-btn-primary svg,
    .hero-btn-ghost i,
    .hero-btn-ghost svg {
        width: 15px;
        height: 15px;
    }

    /* Overlay — slightly stronger on mobile to keep text readable */
    .hero-overlay {
        background:
            linear-gradient(160deg,
                rgba(2, 4, 20, .62) 0%,
                rgba(3, 8, 30, .56) 40%,
                rgba(0, 15, 40, .48) 70%,
                rgba(0, 25, 55, .40) 100%);
    }

    .hero-scroll {
        display: none;
    }

    .hero-glow-border {
        display: none;
    }

    /* ── Widget actualités : compact + pleine largeur sur mobile
         pour qu'il s'affiche EN ENTIER (plus de coupure du pied/dernière nouvelle) ── */
    .hero-news {
        max-width: 100%;
        margin-top: 10px;
        padding: 16px;
        border-radius: 18px;
    }

    .hero-news__head {
        padding-bottom: 11px;
        margin-bottom: 10px;
    }

    /* Laisse la liste prendre sa hauteur naturelle (le min-height desktop créait du vide) */
    .hero-news__list {
        min-height: 0;
    }

    .hero-news-item--featured .hero-news-thumb {
        width: 50px;
        height: 50px;
    }

    .hero-news-item--featured .hero-news-title {
        font-size: .94rem;
    }

    .hero-news__foot {
        margin-top: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: .85rem;
    }

    .hero-particle {
        display: none;
    }

    .hero-badge {
        font-size: .72rem;
    }

    .hero-btn-primary,
    .hero-btn-ghost {
        padding: 10px 10px;
        font-size: .75rem;
    }

    .hero-btn-primary i,
    .hero-btn-primary svg,
    .hero-btn-ghost i,
    .hero-btn-ghost svg {
        width: 13px;
        height: 13px;
    }
}