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

.sv3scene{
    background: #070A12;
}
.sv3hex figure{
    margin: 0;
}
/* wrap = zone utile sous navbar */
.sv3scene__wrap{
    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;
}

/* inner */
.sv3band__inner{
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 78px);
    margin: 0 auto;
    box-sizing: border-box;

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

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

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

/* header */
.sv3band__head{
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    margin:  5.6vh 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;      /* ✅ pas inline-block */
    margin-left: 0;       /* évite l’effet “deuxième bloc” */
    /* garde le reste (gradient) */
}

.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);
}

.sv3hex_bottom,
.sv3hex_center,
.sv3hex_top{
    display: flex;
    width: 100%;
}
.sv3hex__item_center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* ✅ centre img + label sur l’axe horizontal */
    gap: 8px;              /* optionnel, mais propre */
}

/* satellites */
.sv3hex__item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* ✅ centre img + label sur l’axe horizontal */
    gap: 8px;              /* optionnel, mais propre */
}

.sv3hex__item_center .sv3hex__label{
    font-size: 16px;
    font-weight: 850;
    opacity: .82;
    text-align: center;
    line-height: 1.15;
    max-width: 18ch;
}





/* 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)
   ========================== */



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


/* =========================================================
   SV3 — WIDTH ONLY (mobile-first)
   ========================================================= */

/* Base (0 → 360px) : ultra compact */
.sv3hex{
    height: 56vh;
}

.sv3hex_top,

.sv3hex_bottom{
    justify-content: space-between;
    gap: 8px;
}
.sv3hex_center{
    justify-content: center;
}
.sv3hex__item{
    width: 76px;

}

.sv3hex__item_center{
    width: 100px;

}

.sv3hex__img--center{
    width: 100%;
    height: 100%;
}
.sv3hex__item[data-pos="n"],
.sv3hex__item[data-pos="se"]{
    position:relative;
    top:7vh;
}

.sv3hex__item[data-pos="s"],
.sv3hex__item[data-pos="nw"]{
    position:relative;
    bottom:7vh;
}

.sv3hex__item .sv3hex__img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;        /* ✅ ceinture+bretelles (utile si un style externe override) */
}

/* 361 → 420px */
@media (min-width: 361px){
    .sv3hex__item{
        width: 92px;

    }
    .sv3hex__item_center{
        width: 190px;

    }
}

/* 421 → 480px */
@media (min-width: 421px){
    .sv3hex__item{
        width: 92px;

    }
    .sv3hex__item_center{
        width: 190px;

    }
}

/* 481 → 600px */
@media (min-width: 481px){
    .sv3hex__item{
        width: 92px;

    }
    .sv3hex__item_center{
        width: 190px;

    }
}

/* 601 → 768px */
@media (min-width: 601px){
    .sv3hex__item{
        width: 92px;

    }
    .sv3hex__item_center{
        width: 250px;

    }

    .sv3hex__item[data-pos="n"],
    .sv3hex__item[data-pos="se"]{
        position:relative;
        top:10vh;
    }

    .sv3hex__item[data-pos="s"],
    .sv3hex__item[data-pos="nw"]{
        position:relative;
        bottom:15vh;
    }

}

/* 769 → 1024px */
@media (min-width: 769px){
    .sv3hex__item{
        width: 92px;

    }
    .sv3hex__item_center{
        width: 250px;

    }
}

/* 1025 → 1366px */
@media (min-width: 1025px){
    .sv3hex__item{
        width: 92px;

    }
    .sv3hex__item_center{
        width: 380px;

    }
    .sv3hex__item[data-pos="n"],
    .sv3hex__item[data-pos="se"]{
        position:relative;
        top:15vh;
    }

    .sv3hex__item[data-pos="s"],
    .sv3hex__item[data-pos="nw"]{
        position:relative;
        bottom:15vh;
    }
}

/* 1367px+ */
@media (min-width: 1367px){
    .sv3hex__item{
        width: 92px;

    }
    .sv3hex__item_center{
        width: 380px;

    }
    .sv3band__head{
        margin: 25px;
    }
}


@media (min-width: 2000px){
    .sv3band__head{
        margin: 50px 0 90px 0;
    }

    .sv3hex__item[data-pos="n"],
    .sv3hex__item[data-pos="se"]{
        position:relative;
        top:10vh;
    }

    .sv3hex__item[data-pos="s"],
    .sv3hex__item[data-pos="nw"]{
        position:relative;
        bottom:10vh;
    }
}



/* =========================================================
   BONUS: “ultra wide” (21:9, 32:9)
   ========================================================= */

@media (min-aspect-ratio: 21/9) {
    /* souvent besoin d’augmenter le max-width et réduire le height:vh */
}

@media (min-aspect-ratio: 32/9) {
}
