/* ==========================
   SCENE 3 (sv3) - FULL CLEAN CSS
   France centre + DOM en hex
   ========================== */

.sv3scene{
    background: #070A12;
}

/* wrap = zone utile sous navbar */
.sv3scene__wrap{
    position: absolute;
    inset: 0;
    height: 100vh;
    box-sizing: border-box;
    padding-top: 78px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* bande */
.sv3band{
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.04);
}

/* inner */
.sv3band__inner{
    width: min(1100px, calc(100% - 48px));
    height: 100%;
    max-height: calc(100vh - 78px);
    margin: 0 auto;
    padding: clamp(16px, 2.2vw, 40px);
    box-sizing: border-box;

    color: rgba(255,255,255,.92);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: clamp(14px, 2vw, 22px);
}

/* header */
.sv3band__head{
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    margin: 0 0 clamp(10px, 1.6vw, 18px);
}

.sv3band__title{
    margin: 0;
    font-weight: 950;
    letter-spacing: -0.035em;
    font-size: clamp(22px, 3.2vw, 52px);

    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,152,106,.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sv3band__titleAccent{
    display: inline-block;
    margin-left: .35em;
    font-weight: 950;
    opacity: .95;

    background: linear-gradient(90deg, rgba(76,195,189,.95), rgba(255,152,106,.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sv3band__sub{
    margin: 0;
    opacity: .78;
    line-height: 1.45;
    max-width: 70ch;
    font-size: clamp(12px, 1.1vw, 15px);
}

/* ==========================
   HEX LAYOUT
   ========================== */

.sv3hex{
    position: relative;
    width: min(920px, 92vw);
    height: 60vh;
    display: grid;
    place-items: center;
    margin-top: 0;

    /* rayon + offsets */
    --r: clamp(150px, 18vw, 235px);
    --dx: clamp(10px, 1.2vw, 20px);
    --dy: clamp(8px,  1vw, 18px);
}

/* centre */
.sv3hex__center{
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 6px;
    z-index: 3;
}

/* image France */
.sv3hex__center .sv3hex__img--center{
    width: clamp(290px, 30vw, 480px);
    height: auto;
    max-height: min(440px, 44vh);
    display: block;
    filter: drop-shadow(0 28px 90px rgba(0,0,0,.55));
    opacity: .98;
}

/* label France */
.sv3hex__center .sv3hex__label{
    margin-top: -28px;
    font-size: 12px;
    font-weight: 950;
    opacity: .9;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10,10,14,.55);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
}

/* satellites */
.sv3hex__item{
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;

    display: grid;
    gap: 8px;
    justify-items: center;

    width: clamp(120px, 12vw, 170px);
    z-index: 2;

    transform: translate(-50%, -50%);
}

/* images satellites */
.sv3hex__item .sv3hex__img{
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 60px rgba(0,0,0,.55));
    opacity: .95;
}

/* labels satellites */
.sv3hex__item .sv3hex__label{
    font-size: 12px;
    font-weight: 850;
    opacity: .82;
    text-align: center;
    line-height: 1.15;
    max-width: 18ch;
}

/* ==========================
   Positions (PC)
   ========================== */

.sv3hex__item[data-pos="n"]{
    transform: translate(calc(-50% + 0px), calc(-50% - var(--r) - var(--dy)));
}
.sv3hex__item[data-pos="ne"]{
    transform: translate(
            calc(-50% + (var(--r) * 0.866) + var(--dx)),
            calc(-50% - (var(--r) * 0.52) - var(--dy))
    );
}
.sv3hex__item[data-pos="se"]{
    transform: translate(
            calc(-50% + (var(--r) * 0.866) + var(--dx)),
            calc(-50% + (var(--r) * 0.52) + var(--dy))
    );
}
.sv3hex__item[data-pos="s"]{
    transform: translate(calc(-50% + 0px), calc(-50% + var(--r) + var(--dy) + 28px));
}
.sv3hex__item[data-pos="sw"]{
    transform: translate(
            calc(-50% - (var(--r) * 0.866) - var(--dx)),
            calc(-50% + (var(--r) * 0.52) + var(--dy))
    );
}
.sv3hex__item[data-pos="nw"]{
    transform: translate(
            calc(-50% - (var(--r) * 0.866) - var(--dx)),
            calc(-50% - (var(--r) * 0.52) - var(--dy))
    );
}

/* GSAP start state */
.sv3hex__center,
.sv3hex__item{
    opacity: 0;
}

/* ==========================
   Responsive: Tablet (< 980)
   ========================== */
@media (max-width: 980px){
    .sv3hex{
        width: min(780px, 94vw);
        height: min(520px, 58vh);
        --r: clamp(130px, 22vw, 205px);
        --dx: clamp(6px, 1vw, 14px);
        --dy: clamp(6px, 1vw, 14px);
    }

    .sv3hex__item{
        width: clamp(110px, 18vw, 160px);
    }

    .sv3hex__center .sv3hex__img--center{
        width: clamp(240px, 44vw, 430px);
        max-height: 42vh;
    }

    .sv3hex__item[data-pos="s"]{
        transform: translate(calc(-50% + 0px), calc(-50% + var(--r) + var(--dy) + 22px));
    }
}

/* ==========================
   Responsive: Mobile (< 720)
   ========================== */
@media (max-width: 720px){
    .sv3scene__wrap{ padding-top: 70px; }

    .sv3band__inner{
        width: calc(100% - 28px);
        padding: 14px;
        gap: 14px;
    }

    .sv3band__head{ margin-bottom: 12px; }

    .sv3hex{
        width: min(520px, 94vw);
        height: min(430px, 60vh);
        --r: clamp(95px, 26vw, 155px);
        --dx: clamp(0px, 1vw, 10px);
        --dy: clamp(0px, 1vw, 10px);
    }

    .sv3hex__center .sv3hex__img--center{
        width: clamp(200px, 62vw, 330px);
        max-height: 36vh;
    }

    .sv3hex__item{
        width: clamp(92px, 26vw, 150px);
        gap: 6px;
    }

    .sv3hex__item .sv3hex__img{
        width: 62px;
        height: 62px;
    }

    .sv3hex__item .sv3hex__label{
        font-size: 11px;
        max-width: 14ch;
    }

    .sv3hex__item[data-pos="s"]{
        transform: translate(calc(-50% + 0px), calc(-50% + var(--r) + 18px));
    }
}
