/* G6M_ACCUEIL_PEAU_V1 (16/11/2026) — peau neuve de la page d'accueil (chargee sur l'accueil seul,
   APRES toutes les autres feuilles). Elle ne change ni le contenu ni la structure : elle remet
   au meme gabarit ce que dix feuilles successives avaient habille chacune a leur facon.
     1. Heros : accroche en pastille, titre plus net, quatre boutons d'une seule famille
        (un principal plein, trois en verre), grille 2 x 2 sur telephone.
     2. Sections : meme rythme vertical, meme en-tete (barre neon + titre blanc), meme lien.
     3. Cartes : une seule surface (fond, filet, rayon), halo seulement au survol.
     4. Bandeau d'actualites, guides, Discord et mascotte alignes sur cette surface.
   Tout est prefixe par #main-content : la specificite d'un identifiant passe devant les feuilles
   existantes sans !important (sauf la ou elles en portent deja un).
   L'habillage de lancement (g6m-lancement-v1.css) n'est PAS touche.
   Cache Cloudflare « immutable » : changer le suffixe -p1 dans main.php a chaque modification.
   Retour arriere : retirer la balise <link> de cette feuille dans main.php (deux blocs). */

#main-content {
    --peau-surface: rgba(17, 14, 27, 0.82);
    --peau-filet: rgba(255, 255, 255, 0.09);
    --peau-filet-fort: rgba(255, 255, 255, 0.18);
    --peau-texte-doux: rgba(255, 255, 255, 0.66);
    --peau-rayon: 16px;
    --peau-a: #ff2d9b;
    --peau-b: #8d38ff;
}

/* --- 1. Heros ------------------------------------------------------------------------------- */
#main-content .g6m-hero-welcome {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    padding: 0.42rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(10, 8, 18, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: none;
}
#main-content .g6m-hero-welcome::before {
    content: "";
    flex: none;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #ff2d9b;
    box-shadow: 0 0 10px #ff2d9b, 0 0 0 3px rgba(255, 45, 155, 0.22);
}

#main-content .g6m-hero-title {
    font-style: normal;
    line-height: 1;
}
#main-content .g6m-hero-title > span:first-child {
    font-size: clamp(1.15rem, 0.8rem + 1.5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.1em;
}
#main-content .g6m-hero-title__brand {
    margin-top: 0.12em;
    padding-inline: 0.08em;
    font-size: clamp(3.6rem, 2.2rem + 6.4vw, 6.75rem);
    font-style: italic;
    line-height: 0.95;
    letter-spacing: 0.03em;
    background: linear-gradient(180deg, #ffffff 8%, #ffe1ad 46%, #ff6fb2 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 26px rgba(255, 11, 139, 0.4));
}

#main-content .g6m-hero-baseline {
    max-width: none;
    margin-top: 0.85rem;
    gap: 0.35rem 1.1rem;
    font-size: clamp(0.72rem, 0.62rem + 0.35vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.82);
}

/* Boutons : une seule famille. Le principal est plein, les autres en verre ; la couleur
   d'origine de chaque bouton ne sert plus qu'a l'icone et au survol. */
#main-content .g6m-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    width: 100%;
    max-width: 24rem;
    margin-inline: auto;
}
#main-content .g6m-hero-actions > a {
    --peau-teinte: #ff2d9b;
    min-width: 0;
    min-height: 46px;
    padding: 0.62rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(12, 10, 20, 0.58);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: none;
    color: #fff;
    font-size: 0.84rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
#main-content .g6m-hero-actions > a.btn-outline-yellow { --peau-teinte: #ffd23f; }
#main-content .g6m-hero-actions > a.btn-outline-cyan { --peau-teinte: #2fd8ff; }
#main-content .g6m-hero-actions > a.btn-outline-violet { --peau-teinte: #b06bff; }
#main-content .g6m-hero-actions > a svg {
    flex: none;
    width: 1.1em;
    height: 1.1em;
    color: var(--peau-teinte);
}
#main-content .g6m-hero-actions > a:hover,
#main-content .g6m-hero-actions > a:focus-visible {
    transform: translateY(-2px);
    border-color: var(--peau-teinte);
    background: rgba(24, 20, 38, 0.78);
    box-shadow: 0 10px 28px -14px var(--peau-teinte);
}
#main-content .g6m-hero-actions > a.g6m-peau-principal {
    border-color: transparent;
    background: linear-gradient(120deg, #ff2d9b 0%, #c13cff 100%);
    box-shadow: 0 10px 30px -12px rgba(255, 45, 155, 0.75);
}
#main-content .g6m-hero-actions > a.g6m-peau-principal svg {
    color: #fff;
}
#main-content .g6m-hero-actions > a.g6m-peau-principal:hover,
#main-content .g6m-hero-actions > a.g6m-peau-principal:focus-visible {
    border-color: transparent;
    background: linear-gradient(120deg, #ff4aa9 0%, #cd5bff 100%);
    box-shadow: 0 14px 34px -12px rgba(255, 45, 155, 0.9);
}
@media (min-width: 640px) {
    #main-content .g6m-hero-actions {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        gap: 0.75rem;
        max-width: none;
    }
    #main-content .g6m-hero-actions > a {
        padding: 0.7rem 1.45rem;
        font-size: 0.98rem;
        letter-spacing: 0.08em;
    }
}

/* --- 2. Rythme et en-tetes des sections ----------------------------------------------------- */
#main-content > section[data-page-section]:not(.g6m-home-hero) {
    padding-top: clamp(2.5rem, 1.6rem + 3vw, 4.25rem);
    padding-bottom: 0;
}
#main-content > section[data-page-section]:last-of-type {
    padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem);
}

#main-content .g6m-actus__head {
    align-items: flex-end;
    margin-bottom: clamp(1.1rem, 0.9rem + 0.8vw, 1.75rem);
    padding-bottom: 0;
    border: 0;
    border-image: none;
}
#main-content .g6m-actus__title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
    font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.35rem);
    line-height: 1;
    letter-spacing: 0.035em;
    text-shadow: none;
    filter: none;
}
#main-content .g6m-actus__title::before {
    content: "";
    flex: none;
    width: 0.36rem;
    height: 0.92em;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--peau-a), var(--peau-b));
    box-shadow: 0 0 14px -1px var(--peau-a);
}
#main-content .g6m-accueil-tete--or { --peau-a: #ffc65a; --peau-b: #ff5ea8; }
#main-content .g6m-accueil-tete--cyan { --peau-a: #2fd8ff; --peau-b: #8d6bff; }
#main-content .g6m-accueil-tete--violet { --peau-a: #b06bff; --peau-b: #2fd8ff; }

#main-content .g6m-actus__kicker {
    margin-top: 0.55rem;
    color: var(--peau-texte-doux);
    font-size: 0.95rem;
    line-height: 1.45;
}
#main-content .g6m-actus__all {
    padding: 0.6rem 1.05rem;
    border: 1px solid var(--peau-filet-fort);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    color: #fff;
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
#main-content .g6m-actus__all:hover,
#main-content .g6m-actus__all:focus-visible {
    border-color: var(--peau-a);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px -14px var(--peau-a);
    color: #fff;
}

/* --- 3. Cartes ------------------------------------------------------------------------------ */
#main-content .g6m-actus-card,
#main-content .g6m-accueil-guides > a,
#main-content .g6m-accueil-guides__sujets > a {
    border: 1px solid var(--peau-filet);
    border-radius: var(--peau-rayon);
    background: var(--peau-surface);
    box-shadow: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
#main-content .g6m-actus-card:hover,
#main-content .g6m-actus-card:focus-within {
    border-color: rgba(255, 94, 168, 0.55);
    box-shadow: 0 18px 42px -26px rgba(255, 45, 155, 0.8);
}
#main-content .g6m-actus-card--lead:hover,
#main-content .g6m-actus-card--mid:hover {
    transform: translateY(-3px);
}
#main-content .g6m-accueil-guides > a:hover,
#main-content .g6m-accueil-guides__sujets > a:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 216, 255, 0.5);
    box-shadow: 0 18px 42px -26px rgba(47, 216, 255, 0.75);
}

#main-content .g6m-actus-card--mid .g6m-actus-card__title {
    font-size: clamp(1.08rem, 0.98rem + 0.3vw, 1.3rem);
    line-height: 1.25;
}
#main-content .g6m-actus-card--mid .g6m-actus-card__excerpt {
    color: var(--peau-texte-doux);
}
#main-content .g6m-actus-card--lead .g6m-actus-card__title {
    font-size: clamp(1.3rem, 1rem + 1.25vw, 2.1rem);
    line-height: 1.15;
}
#main-content .g6m-actus-card--lead .g6m-actus-card__excerpt {
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(0.9rem, 0.84rem + 0.25vw, 1.02rem);
    line-height: 1.6;
}
@media (min-width: 1024px) {
    #main-content .g6m-actus-card--lead .g6m-actus-card__media {
        flex-basis: 44%;
    }
    #main-content .g6m-actus-card--lead .g6m-actus-card__body {
        padding: 1.75rem 2.25rem;
    }
}

#main-content .g6m-actus__list-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 0;
    padding-top: 0;
    color: var(--peau-texte-doux);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
}
#main-content .g6m-actus__list-head::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, var(--peau-filet-fort), transparent);
}
#main-content .g6m-actus-card--compact .g6m-actus-card__title {
    font-size: clamp(0.98rem, 0.92rem + 0.2vw, 1.1rem);
    line-height: 1.3;
}

/* --- 4. Bandeau d'actualites, galerie, guides, Discord, mascotte ---------------------------- */
#main-content .g6m-breaking-news--home .g6m-breaking-news__band {
    border-color: var(--peau-filet-fort) !important;
    background: var(--peau-surface) !important;
    box-shadow: none !important;
}

#main-content .g6m-gallery-strip__link {
    border: 1px solid var(--peau-filet);
    border-radius: 14px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
#main-content .g6m-gallery-strip__link:hover,
#main-content .g6m-gallery-strip__link:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 198, 90, 0.6);
    box-shadow: 0 18px 42px -26px rgba(255, 198, 90, 0.8);
}

#main-content .g6m-accueil-guides > a h3 {
    font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.22rem);
}
@media (min-width: 640px) {
    #main-content .g6m-accueil-guides > a .g6m-guide-card__media {
        width: clamp(10rem, 7rem + 7vw, 14rem);
        aspect-ratio: 16 / 9;
        align-self: center;
    }
}

#main-content .discord-card,
#main-content .g6m-mascot--section {
    border: 1px solid var(--peau-filet);
    border-radius: 20px;
    box-shadow: none;
}
#main-content .g6m-mascot__title {
    font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.75rem);
    line-height: 1.08;
}
#main-content .g6m-mascot__text {
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    line-height: 1.6;
}
#main-content .g6m-mascot__actions > a {
    border-radius: 999px;
    padding: 0.7rem 1.45rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}
#main-content .g6m-mascot__actions > a.btn-neon {
    background: linear-gradient(120deg, #ff2d9b 0%, #c13cff 100%);
    box-shadow: 0 10px 30px -12px rgba(255, 45, 155, 0.75);
}
#main-content .g6m-mascot__actions > a.btn-outline-cyan {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    color: #fff;
}
#main-content .g6m-mascot__actions > a.btn-outline-cyan:hover,
#main-content .g6m-mascot__actions > a.btn-outline-cyan:focus-visible {
    border-color: #2fd8ff;
    box-shadow: 0 10px 28px -14px #2fd8ff;
}

@media (prefers-reduced-motion: reduce) {
    #main-content .g6m-hero-actions > a,
    #main-content .g6m-actus-card,
    #main-content .g6m-accueil-guides > a,
    #main-content .g6m-accueil-guides__sujets > a,
    #main-content .g6m-gallery-strip__link {
        transition: none;
        transform: none !important;
    }
}

/* G6M_HERO_SEPARATION_V1 (16/11/2026) — plus de coupure nette sous l'image du heros.
   Cause : le masque de g6m-hero-fondu-v1.css laissait l'image visible a 35 % jusqu'au
   dernier pixel du heros ; sous ce bord commence le fond commun (palmiers + voile sombre),
   d'ou une ligne horizontale franche. L'image se dissout maintenant jusqu'a 0, sur une
   hauteur plus grande et en courbe douce ; les voiles sombres de la V1.2 (::after du heros
   et ::after de la barre Breaking News) prennent le relais sans rupture.
   Specificite (1,2,0) : passe devant les regles « html body ... » (0,2,2) sans !important. */
#main-content .g6m-home-hero .g6m-home-hero__frame {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 300px), rgba(0, 0, 0, 0.82) calc(100% - 220px), rgba(0, 0, 0, 0.5) calc(100% - 140px), rgba(0, 0, 0, 0.2) calc(100% - 70px), rgba(0, 0, 0, 0.05) calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 300px), rgba(0, 0, 0, 0.82) calc(100% - 220px), rgba(0, 0, 0, 0.5) calc(100% - 140px), rgba(0, 0, 0, 0.2) calc(100% - 70px), rgba(0, 0, 0, 0.05) calc(100% - 24px), transparent 100%);
}
@media (max-width: 639px) {
    #main-content .g6m-home-hero .g6m-home-hero__frame {
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 190px), rgba(0, 0, 0, 0.75) calc(100% - 130px), rgba(0, 0, 0, 0.35) calc(100% - 70px), rgba(0, 0, 0, 0.08) calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 190px), rgba(0, 0, 0, 0.75) calc(100% - 130px), rgba(0, 0, 0, 0.35) calc(100% - 70px), rgba(0, 0, 0, 0.08) calc(100% - 24px), transparent 100%);
    }
}

/* G6M_HERO_SEPARATION_V1 (suite) — voiles sombres en courbe continue.
   Le voile du heros montait a 0,9 au bord, celui de la barre Breaking News retombait a 0,72
   en 26 px : les palmiers du fond reapparaissaient d'un coup, seconde ligne visible. Les deux
   voiles se rejoignent maintenant a 0,8 avec une pente qui s'aplatit des deux cotes du bord
   (sommet arrondi), puis le second s'efface plus lentement. */
#main-content .g6m-home-hero::after {
    height: 15rem;
    /* Sans le halo rose de la V1.1 : centre sur le bord bas, il etait coupe net par ce bord. */
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, 0.16) 30%, rgba(10, 10, 11, 0.42) 55%, rgba(10, 10, 11, 0.64) 75%, rgba(10, 10, 11, 0.76) 90%, rgba(10, 10, 11, 0.8) 100%);
}
#main-content .g6m-home-hero + .g6m-breaking-news--home::after {
    height: 150px;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.8) 0%, rgba(10, 10, 11, 0.76) 12%, rgba(10, 10, 11, 0.64) 28%, rgba(10, 10, 11, 0.44) 48%, rgba(10, 10, 11, 0.22) 70%, rgba(10, 10, 11, 0.07) 88%, rgba(10, 10, 11, 0) 100%);
}
@media (max-width: 639px) {
    #main-content .g6m-home-hero::after {
        height: 9rem;
    }
    #main-content .g6m-home-hero + .g6m-breaking-news--home::after {
        height: 120px;
    }
}

/* G6M_HERO_SEPARATION_V2 (22/11/2026) — transition heros / page, refaite.
   Constat (captures de Geoffrey, bureau et mobile) : coupure franche sous le heros et image
   eteinte. Depuis le 19/11 la section qui suit le heros est la banniere de lancement
   (.g6m-evt-banniere), plus la barre Breaking News : le voile qui prolongeait le fondu
   (.g6m-home-hero + .g6m-breaking-news--home::after) ne s'appliquait plus. Le heros finissait
   donc assombri a 0,8 et la page reprenait d'un coup, plus claire. De plus, depuis le retrait
   de la carte du heros (22/11), le heros ne fait plus que 420 px : le fondu de 300 px de la V1
   en eteignait les deux tiers, d'ou des personnages ternes.
   Recette V2 :
     1. l'image reste nette plus longtemps et ne se dissout que sur ses 170 px du bas (130 px
        sous 640 px), en courbe douce jusqu'a 0 ;
     2. voile du heros plus leger (0 -> 0,5) ;
     3. le MEME voile repart de 0,5 en haut de la section suivante, QUELLE QU'ELLE SOIT
        (banniere jusqu'au 26/11, puis Breaking News), et s'efface sur 240 px : pentes
        raccordees, aucune ligne au bord.
   Regle a garder : toute section placee directement sous le heros doit recevoir ce voile. */
#main-content .g6m-home-hero .g6m-home-hero__frame {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 170px), rgba(0, 0, 0, 0.9) calc(100% - 135px), rgba(0, 0, 0, 0.68) calc(100% - 95px), rgba(0, 0, 0, 0.38) calc(100% - 55px), rgba(0, 0, 0, 0.12) calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 170px), rgba(0, 0, 0, 0.9) calc(100% - 135px), rgba(0, 0, 0, 0.68) calc(100% - 95px), rgba(0, 0, 0, 0.38) calc(100% - 55px), rgba(0, 0, 0, 0.12) calc(100% - 20px), transparent 100%);
}
#main-content .g6m-home-hero::after {
    height: 170px;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, 0.1) 30%, rgba(10, 10, 11, 0.28) 58%, rgba(10, 10, 11, 0.42) 82%, rgba(10, 10, 11, 0.5) 100%);
}
/* Suite du voile dans la section suivante. La banniere est positionnee (z-index 2) : son
   ::before en z-index -1 passe sous son contenu mais au-dessus du fond a palmiers. */
#main-content .g6m-home-hero + .g6m-evt-banniere::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 240px;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.5) 0%, rgba(10, 10, 11, 0.47) 12%, rgba(10, 10, 11, 0.38) 30%, rgba(10, 10, 11, 0.24) 52%, rgba(10, 10, 11, 0.11) 74%, rgba(10, 10, 11, 0.03) 90%, rgba(10, 10, 11, 0) 100%);
}
/* Apres le 26/11, la barre Breaking News revient sous le heros : meme voile (son ::after part
   deja du bord du heros, top -36px dans g6m-hero-fondu-v1.css). */
#main-content .g6m-home-hero + .g6m-breaking-news--home::after {
    height: 240px;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.5) 0%, rgba(10, 10, 11, 0.47) 12%, rgba(10, 10, 11, 0.38) 30%, rgba(10, 10, 11, 0.24) 52%, rgba(10, 10, 11, 0.11) 74%, rgba(10, 10, 11, 0.03) 90%, rgba(10, 10, 11, 0) 100%);
}
@media (max-width: 639px) {
    #main-content .g6m-home-hero .g6m-home-hero__frame {
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 130px), rgba(0, 0, 0, 0.88) calc(100% - 100px), rgba(0, 0, 0, 0.62) calc(100% - 68px), rgba(0, 0, 0, 0.32) calc(100% - 38px), rgba(0, 0, 0, 0.1) calc(100% - 14px), transparent 100%);
        mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 130px), rgba(0, 0, 0, 0.88) calc(100% - 100px), rgba(0, 0, 0, 0.62) calc(100% - 68px), rgba(0, 0, 0, 0.32) calc(100% - 38px), rgba(0, 0, 0, 0.1) calc(100% - 14px), transparent 100%);
    }
    #main-content .g6m-home-hero::after {
        height: 130px;
    }
    #main-content .g6m-home-hero + .g6m-evt-banniere::before,
    #main-content .g6m-home-hero + .g6m-breaking-news--home::after {
        height: 200px;
    }
}

/* G6M_HERO_ESPACES_V1 (22/11/2026) — le heros respire.
   « Tout est concentre et colle » (Geoffrey) : depuis le retrait de la carte du compte a rebours,
   le contenu du heros tenait dans 420 px avec ~14 px entre chaque ligne, et la ligne de reperes
   touchait presque les boutons. Le heros reprend une hauteur minimale fluide (416 px sur
   telephone, 592 px a 1920 px) et chaque ecart grandit avec la largeur. Les boutons restent
   au-dessus de la zone de fondu du bas (G6M_HERO_SEPARATION_V2). */
#main-content .g6m-home-hero__content {
    min-height: clamp(26rem, 18rem + 16vw, 37rem);
    padding-top: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
    padding-bottom: clamp(2.75rem, 1.5rem + 3.4vw, 5rem);
    justify-content: center;
}
#main-content .g6m-hero-welcome {
    margin-bottom: clamp(1.1rem, 0.7rem + 1.1vw, 1.6rem);
}
#main-content .g6m-hero-title__brand {
    margin-top: clamp(0.3rem, 0.15rem + 0.5vw, 0.6rem);
}
#main-content .g6m-hero-baseline {
    margin-top: clamp(1.15rem, 0.7rem + 1.3vw, 1.9rem);
}
#main-content .g6m-hero-actions {
    margin-top: clamp(1.6rem, 1rem + 1.8vw, 2.75rem);
    margin-bottom: 0;
}

/* G6M_HERO_DOCK_V1 (23/11/2026) — une seule barre d'acces sous le titre du heros.
   « Elle fait pas pro et jolie » (Geoffrey, captures du 23/11) : quatre pilules isolees,
   de largeurs differentes, flottaient sur l'image sans lien entre elles. Elles deviennent une
   barre en verre a quatre cases egales : pastille d'icone teintee (or, cyan, violet), titre et
   sous-titre, fleche au survol ; « Actus » reste la case pleine. 2 x 2 sous 768 px.
   Balisage : <nav class="g6m-hero-dock"> dans pages/home.php (l'ancienne classe
   .g6m-hero-actions n'y est plus : ses regles dans g6m-btn-discord-v900.css et
   g6m-hero-slides-v1400.css ne s'appliquent plus). La marge du bas de 1,7 rem que
   g6m-hero-slides-v1400.css reservait aux pastilles de banniere est reprise ici.
   Couleurs par classe (--actus, --forum, --mods, --carte) : la CSP refuse les attributs style.
   Retour arriere : /var/backups/g6m/hero-dock-v1-20261123/retour-arriere.sh */
#main-content .g6m-hero-dock {
    --dock-fond: rgba(14, 11, 24, 0.62);
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.375rem;
    width: 100%;
    max-width: 26rem;
    margin: clamp(1.6rem, 1rem + 1.8vw, 2.75rem) auto 1.7rem;
    padding: 0.375rem;
    border: 1px solid transparent;
    border-radius: 1.4rem;
    background:
        linear-gradient(var(--dock-fond), var(--dock-fond)) padding-box,
        linear-gradient(125deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 36%, rgba(255, 255, 255, 0.05) 64%, rgba(255, 45, 155, 0.5) 100%) border-box;
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    text-align: left;
}
#main-content .g6m-hero-dock__case {
    --dock-teinte: #ff2d9b;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    min-height: 3.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: 1.05rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
#main-content .g6m-hero-dock__case--forum { --dock-teinte: #ffc65a; }
#main-content .g6m-hero-dock__case--mods { --dock-teinte: #2fd8ff; }
#main-content .g6m-hero-dock__case--carte { --dock-teinte: #b06bff; }

#main-content .g6m-hero-dock__icone {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-color: color-mix(in srgb, var(--dock-teinte) 40%, transparent);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    background: color-mix(in srgb, var(--dock-teinte) 15%, transparent);
    color: var(--dock-teinte);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#main-content .g6m-hero-dock__icone svg {
    width: 1.15rem;
    height: 1.15rem;
}
#main-content .g6m-hero-dock__texte {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
#main-content .g6m-hero-dock__titre {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}
#main-content .g6m-hero-dock__sous {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.6);
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#main-content .g6m-hero-dock__fleche {
    display: none;
}

#main-content .g6m-hero-dock__case:hover,
#main-content .g6m-hero-dock__case:focus-visible {
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
}
#main-content .g6m-hero-dock__case:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
#main-content .g6m-hero-dock__case:hover .g6m-hero-dock__icone,
#main-content .g6m-hero-dock__case:focus-visible .g6m-hero-dock__icone {
    border-color: color-mix(in srgb, var(--dock-teinte) 75%, transparent);
    background: color-mix(in srgb, var(--dock-teinte) 26%, transparent);
    box-shadow: 0 0 22px -5px var(--dock-teinte);
}

/* Case principale : pleine, dans le degrade du site. */
#main-content .g6m-hero-dock__case--principal {
    background: linear-gradient(120deg, #ff2d9b 0%, #c13cff 100%);
    box-shadow: 0 12px 30px -14px rgba(255, 45, 155, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
#main-content .g6m-hero-dock__case--principal:hover,
#main-content .g6m-hero-dock__case--principal:focus-visible {
    background: linear-gradient(120deg, #ff4aa9 0%, #cd5bff 100%);
    box-shadow: 0 16px 36px -14px rgba(255, 45, 155, 1), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
#main-content .g6m-hero-dock__case--principal .g6m-hero-dock__icone,
#main-content .g6m-hero-dock__case--principal:hover .g6m-hero-dock__icone,
#main-content .g6m-hero-dock__case--principal:focus-visible .g6m-hero-dock__icone {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    color: #fff;
}
#main-content .g6m-hero-dock__case--principal .g6m-hero-dock__sous {
    color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 480px) {
    #main-content .g6m-hero-dock {
        max-width: 31rem;
    }
}

/* Une rangee de quatre : cases egales, filets entre elles, fleche au survol. */
@media (min-width: 768px) {
    #main-content .g6m-hero-dock {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.25rem;
        max-width: 58rem;
        padding: 0.4rem;
        border-radius: 1.55rem;
    }
    #main-content .g6m-hero-dock__case {
        gap: 0.8rem;
        min-height: 4rem;
        padding: 0.7rem 0.85rem 0.7rem 0.75rem;
        border-radius: 1.15rem;
    }
    #main-content .g6m-hero-dock__icone {
        width: 2.6rem;
        height: 2.6rem;
        border-radius: 0.85rem;
    }
    #main-content .g6m-hero-dock__icone svg {
        width: 1.3rem;
        height: 1.3rem;
    }
    #main-content .g6m-hero-dock__titre {
        font-size: 1rem;
    }
    #main-content .g6m-hero-dock__sous {
        font-size: 0.76rem;
    }
    #main-content .g6m-hero-dock__case + .g6m-hero-dock__case::before {
        content: "";
        position: absolute;
        left: -0.125rem;
        top: 26%;
        bottom: 26%;
        width: 1px;
        background: rgba(255, 255, 255, 0.11);
        transition: opacity 0.2s ease;
    }
    #main-content .g6m-hero-dock__case--principal + .g6m-hero-dock__case::before,
    #main-content .g6m-hero-dock__case:hover::before,
    #main-content .g6m-hero-dock__case:hover + .g6m-hero-dock__case::before,
    #main-content .g6m-hero-dock__case:focus-visible::before,
    #main-content .g6m-hero-dock__case:focus-visible + .g6m-hero-dock__case::before {
        opacity: 0;
    }
    #main-content .g6m-hero-dock__fleche {
        display: block;
        flex: none;
        width: 1rem;
        height: 1rem;
        margin-left: auto;
        color: rgba(255, 255, 255, 0.8);
        opacity: 0;
        transform: translateX(-5px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    #main-content .g6m-hero-dock__case--principal .g6m-hero-dock__fleche {
        opacity: 0.8;
        transform: none;
    }
    #main-content .g6m-hero-dock__case:hover .g6m-hero-dock__fleche,
    #main-content .g6m-hero-dock__case:focus-visible .g6m-hero-dock__fleche {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #main-content .g6m-hero-dock__case,
    #main-content .g6m-hero-dock__icone,
    #main-content .g6m-hero-dock__fleche {
        transition: none;
    }
}

/* END G6M_ACCUEIL_PEAU_V1 */

/* --- G6M_ACCUEIL_MODS_V1 (23/11/2026) : section « Mods a telecharger » ------------------------
 * Un seul mod = carte « a la une » sur toute la largeur (couverture 16:9 + texte), pour ne pas
 * laisser de case vide. Plusieurs mods = grille de cartes mod-card (styles existants). */
#main-content .g6m-mod-vedette {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--peau-filet-fort);
    border-radius: var(--peau-rayon);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(176, 107, 255, 0.16), transparent 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(47, 216, 255, 0.10), transparent 60%),
        var(--peau-surface);
    box-shadow: 0 18px 48px -28px rgba(176, 107, 255, 0.55);
}
#main-content .g6m-mod-vedette__visuel {
    position: relative;
    display: block;
    min-height: 100%;
    background: #0b0912;
}
#main-content .g6m-mod-vedette__visuel img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.45s ease;
}
#main-content .g6m-mod-vedette:hover .g6m-mod-vedette__visuel img { transform: scale(1.025); }
#main-content .g6m-mod-vedette__corps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    padding: clamp(1.4rem, 1rem + 1.6vw, 2.6rem);
}
#main-content .g6m-mod-vedette__surtitre {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--peau-texte-doux);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
#main-content .g6m-mod-vedette__pastille {
    padding: 0.28rem 0.6rem;
    border-radius: 99px;
    background: linear-gradient(90deg, #b06bff, #2fd8ff);
    color: #0b0912;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}
#main-content .g6m-mod-vedette__titre {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.2rem);
    line-height: 1.12;
}
#main-content .g6m-mod-vedette__titre a { color: inherit; text-decoration: none; }
#main-content .g6m-mod-vedette__titre a:hover { color: #d9c2ff; }
#main-content .g6m-mod-vedette__accroche {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.55;
}
#main-content .g6m-mod-vedette__infos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--peau-texte-doux);
    font-size: 0.86rem;
}
#main-content .g6m-mod-vedette__infos strong { color: #fff; font-weight: 600; }
#main-content .g6m-mod-vedette__infos li + li::before {
    content: "·";
    margin-right: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
}
#main-content .g6m-mod-vedette__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
}
#main-content .g6m-mod-vedette__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.25rem;
    border: 1px solid var(--peau-filet-fort);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
#main-content .g6m-mod-vedette__btn:hover {
    border-color: rgba(176, 107, 255, 0.7);
    background: rgba(176, 107, 255, 0.12);
}
#main-content .g6m-mod-vedette__btn--plein {
    border-color: transparent;
    background: linear-gradient(90deg, #ff2d9b, #b06bff);
    box-shadow: 0 10px 26px -12px rgba(255, 45, 155, 0.75);
}
#main-content .g6m-mod-vedette__btn--plein:hover {
    border-color: transparent;
    background: linear-gradient(90deg, #ff4fae, #c08aff);
    transform: translateY(-1px);
}
@media (max-width: 900px) {
    #main-content .g6m-mod-vedette { grid-template-columns: 1fr; }
    #main-content .g6m-mod-vedette__visuel img { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
    #main-content .g6m-mod-vedette__visuel img,
    #main-content .g6m-mod-vedette__btn { transition: none; }
}

/* --- G6M_ACCUEIL_MODS_COMPACT_V1 (25/11/2026) : cartes de mods de l'accueil moins grandes ------
 * À partir de 2 mods, chaque carte devient horizontale : couverture 16:9 à gauche, texte à droite.
 * Hauteur divisée par trois environ, sans case vide. Seulement sur l'accueil (/mods inchangé). */
@media (min-width: 640px) {
    #main-content .g6m-accueil-mods > .grid > article {
        display: grid;
        grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
        align-items: stretch;
    }
    #main-content .g6m-accueil-mods > .grid > article > a.block:first-child,
    #main-content .g6m-accueil-mods > .grid > article > a.block:first-child > .aspect-video {
        height: 100%;
    }
    #main-content .g6m-accueil-mods > .grid > article > .p-4 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0.9rem 1.1rem;
    }
    #main-content .g6m-accueil-mods > .grid > article h3 {
        font-size: 1.02rem;
        line-height: 1.3;
    }
}

/* G6M_ACCUEIL_MODS_COMPACT_V1b : la couverture remplit exactement sa colonne (pas de debordement coupe). */
@media (min-width: 640px) {
    #main-content .g6m-accueil-mods > .grid > article > a.block:first-child > .aspect-video { width: 100%; aspect-ratio: auto; }
}
