/* --- FEUILLE DE STYLES POUR LA PAGE DE L'ARTICLE --- */

* {margin: 0;}

/* --- DÉBUT DU CORPS DE LA PAGE --- */

.btn { 
    display: inline-block;
    padding: 5px 25px;
    border: 1.5px solid #f1f1f1; /* FIX : border correct */
    color: #f1f1f1;
    border-radius: 100px;
    text-decoration: none;
    font-family: "polymath", sans-serif;
    transition: 0.3s ease; }

.btn:hover {
    transition: 0.2s ease;
    background-color: #f1f1f1;
    color: #0d0d0d ;
    font-weight: 350;
    border: 0px;}

.batn {
    position: relative;
    color: #f1f1f1;
    background: none;
    overflow: visible;
}

/* on annule le hover background global */
.batn::before {
    display: none !important;
    font-weight: 900;
}

/* pseudo-couches RGB */
.batn::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    font-weight: 900;
}

/* effet au hover */
.batn:hover {
    color: #ffffff !important;
    background-color: transparent !important;
    font-weight: 900;
    text-shadow:   /* halo blanc */
        2.5px 0 rgba(255, 0, 0, 0.8),
       -2.5px 0 rgba(0, 255, 255, 0.8),
       0 2.5px rgba(231, 197, 0, 0.959);
    animation: chroma-flicker 0.6s infinite alternate;
}

@keyframes chroma-flicker {
    0% {font-weight: 900;
        text-shadow:
            2px 0 rgba(255, 0, 0, 0.6),
           -2.5px 0 rgba(0, 255, 255, 0.8),
           -3.5px 0 rgba(0, 17, 255, 0.8),
             0 2.5px rgba(231, 197, 0, 0.959);
    }
    100% {font-weight: 900;
        text-shadow:
            2px 0 rgba(221, 26, 0, 0.9),
           -2.5px 0 rgba(0, 217, 255, 0.8),
           -3.5px 0 rgba(0, 17, 255, 0.8),
            0 2.5px rgba(231, 197, 0, 0.959);
    }
}

.submenu-interview-global {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    
    /* On pousse le contenu du sous-menu vers le bas pour ne pas
       qu'il chevauche les textes du header principal */
    padding-top: 100px; 
    padding-bottom: 40px;

    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start; padding-left: 2%;

    /* LE FOND : Copie ton dégradé ici */
    background-color: rgba(0, 0, 0, 0.5); 
    background-image: linear-gradient(to right, 
        rgba(13, 13, 13, 0.2), rgba(20, 67, 255, 0.2),
        rgba(40, 230, 255, 0.2), rgba(255, 255, 255, 0.2),
        rgba(255, 217, 0, 0.2), rgba(223, 2, 2, 0.2),
        rgba(13, 13, 13, 0.2)
    );
    backdrop-filter: blur(25px); /* Effet 207 Ouest */
    -webkit-backdrop-filter: blur(25px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    /* ANIMATION & ÉTAGE */
    z-index: 1500; /* Entre la navbar (2000) et la vidéo (800) */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%); /* Il part de tout en haut */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.submenu-interview-global.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* STYLES DES LIENS (Ton effet hover conservé) */
.submenu-interview-global a {
    color: #f0f0f0;
    text-decoration: none;
    font-family: "polymath", sans-serif;
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 1px; /* Un peu plus aéré pour un menu plein écran */
    transition: color 0.3s ease, transform 0.2s ease;
}

.submenu-interview-global a:hover {
    color: #000000;
    
    font-weight: 500;
    transform: translateX(5px); /* Ton petit glissement au survol */
}

body {
    padding: 0;
    font-family: "polymath", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #f0f0f0;
    position: relative;
    z-index: 1;
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ⭐ clé absolue */
    display: block;
    border-right: 0.01px dashed #f1f1f1;

    /* Masque de transparence */
    -webkit-mask-image: 
        linear-gradient(to left, black 70%, transparent 100%),
        linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-composite: intersect;

    mask-image:
        linear-gradient(to left, transparent 0%, black 30%),
        linear-gradient(to bottom, black 70%, transparent 100%);
    mask-composite: intersect;
}


.hero-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 100vh;
    position: relative;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 800;
}

.hero-media {
    position: absolute;
    inset: 0;
}


.marge-abstract {
    grid-column: 1;
    padding-top: 15%; /* espace sous le header */
    padding-left: 20%;
    padding-right: 20%;
}

.marge-introview{
    grid-column: 1;
    padding-top: 20%; /* espace sous le header */
    padding-left: 10px;
    padding-right: 250px;
}

.marge-etude{
    grid-column: 1;
    padding-top: 15%; /* espace sous le header */
    padding-left: 10px;
    padding-right: 250px;
}

.interview-row {
    grid-column: span 12; /* Prend toute la largeur de ta grille de 12 */
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Recréé une sous-grille interne */
    column-gap: 30px;
    margin-bottom: 48px; /* Espace entre les blocs */
    align-items: start;
}

/* La petite colonne à gauche (Le label : Question, Interlocuteur, etc.) */
.interview-label {
    grid-column: span 4; /* Occupe 3 colonnes sur 12 */
}

.interview-label h2 {
    font-size: 14px; /* Plus petit et élégant pour le label */
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-top: 5px; /* Aligne visuellement avec le haut du texte à droite */
    padding-top: 10px;
    
    border-top: 1px solid; /* On définit l'épaisseur */
    border-image-source: linear-gradient(to right, #f1f1f1, #28e6ff, #1443ff); /* Bleu foncé vers bleu clair */
    border-image-slice: 1; /* Obligatoire pour afficher le dégradé */

    /* --- TEXTE EN DÉGRADÉ --- */
    background: linear-gradient(to right,#f1f1f1, #28e6ff, #1443ff);
    -webkit-background-clip: text; /* Découpe le fond selon la forme des lettres */
    -webkit-text-fill-color: transparent; /* Rend l'intérieur des lettres transparent pour voir le fond */
    background-clip: text;
}
.intervention {
    margin-left: 15%; /* Ajuste le pourcentage pour obtenir le décalage voulu */
    background: linear-gradient(to right,#f1f1f1, #28e6ff);
    -webkit-background-clip: text; /* Découpe le fond selon la forme des lettres */
    -webkit-text-fill-color: transparent; /* Rend l'intérieur des lettres transparent pour voir le fond */
    background-clip: text;
}

/* La grande colonne à droite (Le texte de la réponse ou question) */
.interview-content {
    grid-column: span 8; /* Occupe les 9 colonnes restantes */
}

.interview-content p {
    font-size: 18px; /* Confort de lecture */
    line-height: 1.6;
    margin-bottom: 0; /* On gère l'espace avec le parent */
}

/* Optionnel : Différencier visuellement la Question de la Réponse */
.interview-row.question .interview-content p {
    font-style: italic;
    font-weight: 200;
    color: #f1f1f1; /* Utilise une de tes couleurs de dégradé */
}

strong {font-weight: 700;}

h1 {
    font-weight: 900;
    font-size: 32px;
    margin-top: 64px;
    margin-bottom: 40px;
    color: #f0f0f0;
}
html, body { background-color: #0d0d0d;
scroll-behavior: smooth;}
h2 {
    font-weight: 700;
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 8px;
    color: #f1f1f1;
}
h3 {font-weight: 200;
    font-size:18pt;
    margin-top: 24px;
    margin-bottom: 8px;
    color: #f1f1f1;
}

h4 {font-size:20px;
    margin-top: 24px;
    margin-bottom: 8px;
    color: #f1f1f1;}

h5 {font-size:16px;
    margin-bottom: 12px;
    font-weight: 400;
    color: #f1f1f1;}

ul { list-style: none; padding: 0; }

ul li { margin-bottom: 8px; font-size: 14px; opacity: 0.8; }
/* --- FIN DU CORPS DE LA PAGE --- */

/* --- DÉBUT BARRE DE NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: visible; /* permet au menu de dépasser */
    z-index: 2000;
    background-color: rgba(0,0,0,0.6);
    background-image: linear-gradient(to right, 
    rgba(13, 13, 13, 0.2),
  rgba(20, 67, 255, 0.2),
  rgba(40, 230, 255, 0.2),
  rgba(255, 255, 255, 0.2),
  rgba(255, 217, 0, 0.2),
  rgba(223, 2, 2, 0.2),
  rgba(13, 13, 13, 0.2)
);
    backdrop-filter: blur(6px);

    transition:
        transform 0.4s ease,
        padding 0.35s ease,
        background-color 0.35s ease,
        background-image 0.35s ease;
    overflow: hidden; /* pour contenir l'overlay */
}

.nav-container {
    max-width: 1450px;
    margin: 0 0px;
    padding: 12px 22px;

    display: grid;
    grid-template-columns: auto 1fr auto; /* ⭐ CLÉ */
    align-items: center;
    column-gap: 48px;
}

.nav-main {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-main a {
    font-size: 12pt;
    font-weight: 100;
    letter-spacing: 0.04em;
}

.navbar.is-top {
    padding: 0px 0; /* padding LARGE */
    background-image: url("img/ton-background-header.png");
    background-color: transparent;
}

.navbar.is-scrolled {
    padding: 0px 0;
    background-image: linear-gradient(to right, 
    rgba(13, 13, 13, 0.2),
  rgba(20, 67, 255, 0.2),
  rgba(40, 230, 255, 0.2),
  rgba(255, 255, 255, 0.2),
  rgba(255, 217, 0, 0.2),
  rgba(223, 2, 2, 0.2),
  rgba(13, 13, 13, 0.2)
);
    background-color: rgba(0, 0, 0, 0.65);
}

.navbar.is-hidden {
    transform: translateY(-100%);
    background-image: none;
    background-color: transparent;
}

.navbar.is-scrolled .logo {
    font-size: 22px;
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("img/ton-background-header.png");
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 0.5s ease; /* transition smooth */
    z-index: -1; /* derrière le contenu du navbar */
}

.header {
    grid-column: 1 / -1; /* Prend toute la largeur de votre grille de 12 col */
    display: flex;
    gap: 60px;
    align-items: center; /* Centre l'image verticalement par rapport au texte */
    margin-bottom: 60px;
    width: 100%;
}

.header-text {
    flex: 0 0 58%; /* Largeur du texte */
    text-align: justify;
}

/* On réutilise votre style de colonne média */
.header .media-column {
    flex: 0 0 40%;
    padding-left: 40px;
    border-left: 1px solid;
    border-image: linear-gradient(to bottom, 
        rgba(241, 241, 241, 0), 
        rgba(241, 241, 241, 1) 10%, 
        rgba(241, 241, 241, 1) 90%, 
        rgba(241, 241, 241, 0)
    ) 1;
}

/* lorsque scroll → overlay disparaît */
.navbar.is-scrolled::before,
.navbar.is-hidden::before {
    opacity: 0;
}

.logo { 
    font-family: "polymath", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 50px;
    color: #f1f1f1;

    transform: scale(1);
    transform-origin: left center;

    transition:
        transform 0.35s ease,
        font-size 0.35s ease,
        opacity 0.25s ease;
} 
/* --- FIN BARRE DE NAVIGATION --- */

/* --- DÉBUT DES LIENS HYPERTEXTE --- */

.btn-link {
    display: inline-block; /* permet au background de couvrir tout le texte */     /* marge interne pour créer un bouton visible */ /* supprime le soulignement par défaut */
    color: #f1f1f1;  
    transition: all 0.3s ease;
    text-decoration: 1px solid;
}

.btn-link:hover {
    background-color: rgba(255, 255, 255, 0.2); /* ton effet de survol */
    color: #ffffff; /* ou autre couleur */
}

a:not(.btn) {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #f1f1f1;
    text-decoration: none;
}

/* Le fond animé */
a:not(.btn)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #f1f1f1; /* couleur du fond */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    font-weight: 350;
}

/* Hover */
a:not(.btn):hover::before {
    transform: scaleX(1);
}

/* Texte au hover */
a:not(.btn):hover {
    font-weight: 350;
    color: #000000;
}
/* --- FIN DES LIENS HYPERTEXTE --- */

/* --- DÉBUT CONTENEUR PRINCIPAL --- */
.container-intro {
    max-width: 1450px; /* largeur maximale de la grille */
    margin: 0 auto; /* centrage horizontal */ /* marge extérieure de 72px de chaque côté */
    /*background-color: #add25d;*/
    padding-left: 0px;
    padding-right: 22px;
    z-index: 5;
}

.container {
    max-width: 1450px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 17%;
    padding-right:17%;
    padding-bottom: 10%;
    padding-top: 10%;
    box-sizing: border-box;
}


.bobine_de_fil {
    border-left: 5px dashed rgba(255, 255, 255, 4);
    margin-top: 20px;} 

.grid-composition {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Grille de 12 colonnes */
    column-gap: 30px; /* séparation entre les rangées */
    padding: 0;
    gap: 16px; /* séparation entre les rangées */
    position: relative;
} 
/* --- FIN CONTENEUR PRINCIPAL --- */



.note {
    text-decoration: none; 
    font-size: 12px;
    vertical-align: super;
    font-weight: 700;
    color: #4043f5;
}

.main-content {
    grid-column: 1 / -1;        /* prend toute la grille */
    max-width: 1100px;          /* largeur de lecture confortable */
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* Introduction : Elle prend toute la largeur disponible à gauche */
.intro-section {
    max-width: 60ch;
    width: 100%;
    margin-bottom: 60px;
}

/* La partie qui contient les deux colonnes */
.article-body {
    display: flex;             /* Active l'alignement côte à côte */
    gap: 40px;                 /* Espace entre le texte et l'image */
    align-items: flex-start;   /* Aligne les éléments par le haut */
    margin-bottom: 60px;
}

.text-column {
    flex: 0 0 65%;             /* Le texte occupe 65% de la largeur */
    text-align: justify;
}

.media-column {
    flex: 0 0 30%;             /* La colonne média occupe 30% */
    position: sticky;          /* Optionnel : l'image reste visible au scroll */
    top: 100px;
}

.media-item img {
    width: 100%;               /* L'image s'adapte à sa colonne */
    height: auto;       /* Optionnel : bords légèrement arrondis */
}

.caption {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 10px;
    font-style: italic;
}

.page-article .article-body {
    display: flex;
    gap: 50px; /* Espace entre les deux */
    align-items: flex-start;
}

/* On réduit un peu le texte pour laisser de la place à l'image */
.page-article .text-column {
    flex: 0 0 55%; 
}

/* On agrandit la colonne média (ex: 40% au lieu de 30%) */
.page-article .media-column {
    flex: 0 0 40%;
}

/* On s'assure que l'image utilise bien toute la largeur de sa nouvelle colonne */
.page-article .media-item img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body:not(.is-reversed) .media-column {
    padding-left: 40px;
    border-left: 1px solid;
    border-image: linear-gradient(to bottom, 
        rgba(241, 241, 241, 0), 
        rgba(241, 241, 241, 1) 10%, 
        rgba(241, 241, 241, 1) 90%, 
        rgba(241, 241, 241, 0)
    ) 1;
}

/* --- STYLE INVERSÉ (Image à GAUCHE) --- */
.page-article .article-body.is-reversed {
    flex-direction: row-reverse; /* Aligne l'aside à gauche visuellement */
}

.page-article .article-body.is-reversed .media-column {
    padding-right: 40px; /* Padding à droite car le texte est à droite */
    padding-left: 0;
    border-left: none;
    border-right: 1px solid; /* Bordure à droite */
    border-image: linear-gradient(to bottom, 
        rgba(241, 241, 241, 0), 
        rgba(241, 241, 241, 1) 10%, 
        rgba(241, 241, 241, 1) 90%, 
        rgba(241, 241, 241, 0)
    ) 1;
}

/* --- STYLE PAR DÉFAUT (Image à DROITE) --- */
.page-article .article-body:not(.is-reversed) .media-column {
    padding-left: 40px;
    border-left: 1px solid;
    border-image: linear-gradient(to bottom, 
        rgba(241, 241, 241, 0), 
        rgba(241, 241, 241, 1) 10%, 
        rgba(241, 241, 241, 1) 90%, 
        rgba(241, 241, 241, 0)
    ) 1;
}

/* --- STYLE INVERSÉ (Image à GAUCHE) --- */
.page-article.article-body.is-reversed {
    flex-direction: row-reverse; /* Aligne l'aside à gauche visuellement */
}

.page-article .article-body.is-reversed .media-column {
    padding-right: 40px; /* Padding à droite car le texte est à droite */
    padding-left: 0;
    border-left: none;
    border-right: 1px solid; /* Bordure à droite */
    border-image: linear-gradient(to bottom, 
        rgba(241, 241, 241, 0), 
        rgba(241, 241, 241, 1) 10%, 
        rgba(241, 241, 241, 1) 90%, 
        rgba(241, 241, 241, 0)
    ) 1;
}

.media-item {
    /* Permet à l'élément de s'étendre naturellement */
    height: auto;
}

.article-footer {
    grid-column: 1 / -1; /* S'assure qu'il prend toute la largeur de la grille */
    display: flex;
    justify-content: center; /* Centre horizontalement */
    margin-top: 60px;
    padding: 40px 0;
}

.conclusion-centered { /* Limite la largeur pour le confort de lecture */
    text-align: center; /* Centre le texte à l'intérieur du bloc */
}

/* Ajustement pour tes titres */
.sub-title {
    font-size: 32px;
    font-weight: 900;
    margin: 40px 0 20px 0;
}
.decoupe {
    column-count: 2;
}

p { 
    margin-bottom: 24px; 
    line-height: 1.4;
}

video {
    width: 100%;
    height: 100%;
}

img {
    width: 100%;
    height: auto;
}

.décalage {margin-left: 50px;}

.titre-interview p {             /* Supprime l'espace automatique entre les lignes */
    font-size: 135px;
    font-weight: 900;
    line-height: 1;      /* Teste 0.8 pour voir un changement radical */
    letter-spacing: -5px;  /* Optionnel : resserre les lettres pour l'esthétique */
}

.titre-etude p {             /* Supprime l'espace automatique entre les lignes */
    font-size: 110px;
    font-weight: 900;
    line-height: 1;      /* Teste 0.8 pour voir un changement radical */
    letter-spacing: -5px;  /* Optionnel : resserre les lettres pour l'esthétique */
}

.page-margin {
    margin-right: 4%; /* espace AU-DELÀ des bordures */
    margin-left : 25px;
    z-index: 1000;
    border-right: 0.01px dashed #f1f1f1;
}

hr { 
    grid-column: span 12; 
    border: 0; 
    height: 1px; 
    background-image: linear-gradient(to right, #0d0d0d,#1443ff,#28e6ff,#ffffff,#ffd900,#df0202,#0d0d0d); 
}

.decal { /* décalage entre les notes de bas de page et le footer */
    height: 80px;
}


/* --- DÉBUT ÉLÉMENTS DE LA GRILLE DE COMPOSITION - GRILLE DE 12 COLONNES --- */
/* ---.item {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 24px;
    border-radius: 8px;
    border: 1px dotted #bababa;
    position: relative;
    z-index: 5;
    overflow: hidden; 
} --- */

.item img {
    width: 100%;
    height: auto;          /* ⭐ clé */
    object-fit: contain;   /* ⭐ jamais rognée */
    display: block;
}

.legende-partie { 
    height: auto;
}

.paragraph-indent {
    display: grid;
    grid-template-columns: 50% 1fr; /* largeur de l’écart */
    column-gap: 16px;
    align-items: start;
    column-span: all;
}
.paragraph-indent p {
    margin: 0;
    line-height: 1.4;
    break-inside: avoid;
}

.decoupe .paragraph-indent {
    break-inside: avoid;
    column-span: all;
}

.inside-indent {
    font-size: 18px;
    opacity: 0.7;
    text-align: left;
}

.correction-saut-de-ligne { margin-top: -1.5em;}

.card {
    background-color: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 16px;
}

.audio_container {
    padding: 16px 0 0 16px;
}

.audio_container figcaption {
    font-size: 12px;
    font-style: italic;
    padding: 16px 0 0 16px;
}

/* --- DÉBUT LÉGENDE D'IMAGE --- */
.legende {
    position: relative;
    overflow: visible;
    z-index: 5; /* Prend toute la largeur disponible */
}

.legende img {
    width: 100%;
    height: auto;          /* ⭐ clé absolue */
    object-fit: contain;   /* jamais rognée */
    display: block;
}

.legende figcaption {
    border-radius: 0 0 8px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box; /* Inclut le padding dans le calcul des 100% */
    background-color: rgba(72, 51, 158, 0.8);
    color: #eae3e0;
    padding: 8px;
    font-weight: 300;
  
    /* Ajustement de la police pour mobile */
    font-size: 16px; 
    text-align: center;
}

.abstract-img + .text-12col {
    grid-column: span 4;    /* texte à côté */
    padding-left: 24px;
    box-sizing: border-box;
}

.row {
    display: flex;
    margin-bottom: 60px;
    column-gap: 50px;
}

.titre-section {
    flex: 0 0 250px; /* Largeur de la colonne "Ouvrages" */
    font-size: 2.5rem;
    padding-left: 0;
    line-height: 0; 
    text-align: left;
    word-wrap: break-word;
}

.contenu-section {
    flex: 1;
}

.item-biblio {
    display: grid;
    /* On définit deux colonnes : 
       la première s'adapte au nom (max-content), 
       la deuxième prend le reste. */
    grid-template-columns: 200px 1fr; 
    gap: 15px; /* Contrôle l'espace précis entre l'auteur et la description */
    margin-bottom: 15px;
}

.auteur {
    text-align: right; /* Aligné à droite pour "coller" à la séparation */
}

.description {
    text-align: left; /* Aligné à gauche pour s'éloigner de la séparation */
}
/* --- FIN LÉGENDE D'IMAGE --- */

/* --- DÉBUT ÉLÉMENTS DE LA GRILLE DE COMPOSITION - GRILLE DE 12 COLONNES --- */
.header { grid-column: span 12; }

.abstract-img { grid-column: span 7; padding-top: 110px; border: none; }


.parties-img { grid-column: span 6; padding: 16px; border: none; }


.full-img { grid-column: span 12; height: 300px; padding: 0; border: none; }
.text-8col { grid-column: span 8;}
.text-12col { grid-column: span 12; padding-left: 16px;
padding-right: 16px; text-align:justify; } 
.text-6col { grid-column: span 6; text-align: justify; padding-left: 16px; padding-right: 16px;  max-width: 65ch;}
.video { grid-column: span 12; aspect-ratio: 16/9; color: white; display: flex; align-items: center; justify-content: center; }
.bottom-img { grid-column: span 4; padding: 0; border: none; height: 200px; }
.card { grid-column: span 4; }

/* --- FIN ÉLÉMENTS DE LA GRILLE DE COMPOSITION - GRILLE DE 12 COLONNES --- */

/* --- DÉBUT FOOTER --- */
footer {
    position: relative;
    z-index: 10;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
}

footer::after {
    content: "";
    display: block;
    height: 6px;
    background: linear-gradient(
        to right,
        #0d0d0d,
        #1443ff,
        #28e6ff,
        #ffffff,
        #ffd900,
        #df0202,
        #0d0d0d
    );
    margin-top: 40px;
}

.footer-container {
            position: relative;
            max-width: 1136px;
            margin: 0 auto;
            padding: 48px 72px;
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 48px; }
.footer-section { grid-column: span 4; }
.footer-section h4 { border-bottom: 1px solid; /* On définit l'épaisseur */
    border-image-source: linear-gradient(to right, 
        rgba(255, 255, 255, 0), 
        rgba(241, 241, 241, 1), 
        rgba(255, 255, 255, 0)
    );
    border-image-slice: 1; padding-bottom: 8px; margin-bottom: 16px; }
/* --- FIN FOOTER --- */

.mobile-overlay {
    display: none;
}

/* --- 2. SUR MOBILE (TABLETTE ET TÉLÉPHONE) --- */
@media screen and (max-width: 900px) {

    /* A. ON CACHE TOUT LE CONTENU EXISTANT */
    /* On liste ici les classes principales de votre site */
    .navbar, 
    .page-margin, 
    .image-rotate, /* La bobine */
    .submenu-interview-global,
    footer {
        display: none !important;
    }

    /* B. ON AFFICHE L'OVERLAY EN PLEIN ÉCRAN */
    .mobile-overlay {
        display: flex; /* Active le mode flexbox */
        position: fixed;
        inset: 0; /* Prend tout l'écran (top:0, right:0, bottom:0, left:0) */
        z-index: 9999; /* Passe au-dessus de tout */
        
        /* Centrage parfait vertical et horizontal */
        justify-content: center;
        align-items: center;
        flex-direction: column; /* L'image au-dessus du texte */
        
        padding: 40px;
        text-align: center;
        
        /* On ne met pas de background-color ici pour laisser 
           voir votre dégradé body::before existant */
    }

    /* C. STYLE DU TEXTE ET DE L'IMAGE */
    .mobile-img {
        width: 80px; /* Ajustez la taille de l'image ici */
        height: auto;
        margin-bottom: 30px; /* Espace entre l'image et le texte */
        opacity: 0.9;
    }

    .mobile-content p {
        font-family: "polymath", sans-serif;
        font-size: 18px;
        line-height: 1.5;
        color: #f1f1f1;
        font-weight: 300;
        text-align: center; /* Force le centrage du texte */
    }
}

.image-rotate {
    position: fixed;
    top: 0px;
    /* On aligne le bord DROIT de l'image sur le bord DROIT de l'écran */
    right: 0; 
    
    /* On force l'image à faire exactement la largeur de votre marge (4%) */
    width: 4vw; 
    height: 4vw;
    
    /* On utilise l'aspect-ratio pour garantir que l'image reste ronde */
    aspect-ratio: 1 / 1;
    object-fit: contain;

    z-index: 2100;
    cursor: pointer;
    
    /* On simplifie la transition pour éviter les sauts au chargement */
    transition: transform 0.1s linear;
}

/* Quand la bobine est dans le footer */
.image-rotate.is-in-footer {
    position: absolute;
    top: auto;
    bottom: 40px;
    right: 0; /* Reste alignée sur le bord droit de la page-margin */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        radial-gradient(
            700px 700px at 0% 35%,
            rgba(20, 67, 255, 0.18),
            transparent 65%
        ),
        radial-gradient(
            700px 700px at 20% 50%,
            rgba(40, 251, 255, 0.15),
            transparent 70%
        ),
         radial-gradient(
            700px 700px at 50% 60%,
            rgba(255, 255, 255, 0.15),
            transparent 70%
        ),
        radial-gradient(
            700px 700px at 60% 80%,
            rgba(255, 0, 0, 0.15),
            transparent 75%
        ),
        radial-gradient(
            700px 700px at 70% 90%,
            rgba(255, 221, 0, 0.15),
            transparent 75%
        );
        

    animation: gradient-move 10s ease-in-out infinite alternate;
    pointer-events: none;
}
