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

/* --- DÉBUT LIEN AVEC TYPOGRAPHIE ADOBE FONTS --- */
@import url("https://use.typekit.net/bzi6qxr.css");
/* --- FIN LIEN AVEC TYPOGRAPHIE ADOBE FONTS --- */

* {margin: 0;}

/* --- DÉBUT DU CORPS DE LA PAGE --- */
body {
    padding: 0;
    background-color: #ffffff;
    color: #000;
}

html, body {
    height: auto;
}

p {font-family: "Nexa", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 24px; 
    line-height: 1.4;
}

h1 {
    font-weight: 900;
    font-size: 32px; /*multiple de 8 ou 4*/
    margin-top: 64px;
    margin-bottom: 40px;
    color: #ddb278;
}

h2 {
    font-family: "Strelka", sans-serif;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 24px; /*multiple de 8 ou 4*/
    margin-top: 64px;
    margin-bottom: 8px;
    color: #ff4200;
}

h3 {
    font-family: "Nexa", sans-serif;
    font-weight: 600;
    font-size: 18px; /*multiple de 8 ou 4*/
    color: #ddb278;
}

.questions {
    font-family: "Nexa", sans-serif;
    /*letter-spacing: 0.1em;*/
    font-weight: 700;
    font-size: 16px; /*multiple de 8 ou 4*/
    margin-top: 16px;
    color: #ddb278;
}
.questions-top {
    font-family: "Nexa", sans-serif;
    /*letter-spacing: 0.1em;*/
    font-weight: 700;
    font-size: 16px; /*multiple de 8 ou 4*/
    color: #ddb278;
}

.margin-h3 {
    margin-top: 16px;
    margin-bottom: 12px;
}

.margin-h3-top {
    margin-top: 8px;
    margin-bottom: 12px;
}

.marge-ouvrages {
    margin-top : 16px ;
}

.transition {
    margin-top: 32px;
    margin-bottom: 32px;
}

ul { list-style: none; padding: 0; } /*listes pour biblio et footer par ex*/

ul li { font-family: "Nexa", sans-serif; margin-bottom: 8px; font-size: 14px; }
/* --- FIN DU CORPS DE LA PAGE --- */

/* --- DÉBUT BARRE DE NAVIGATION --- */
.navbar {
    max-width: 90%; /*longueur de la barre*/
    font-family: "Nexa", sans-serif;
    position: sticky;
    top: 24px;
    z-index: 1000;
    background-color: #ff4200;
    padding: 14px ; /*espacefond au-dessus et en-dessous*/
    margin: 0 auto;
    border-radius: 32px;
}


.nav-container {
    /*display: flex;
    gap: 32px;
    align-items: center;*/
    max-width: 1136px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    align-items: center;

}

.logo { grid-column: span 3; font-family: "Strelka", sans-serif; letter-spacing: 0.15em; font-weight: 600; color: rgb(255, 255, 255); margin-left: 10px; }
/* --- FIN BARRE DE NAVIGATION --- */

/* --- DÉBUT DES LIENS HYPERTEXTE --- */
a {
    color: #ffffff; /*couleur des categ du menu*/
    text-decoration: none;
    padding: 4px 8px;
    transition: 0.25s ease;
}

a:hover {
    color: #ff4200; 
    background-color: #FFF;
    /*text-decoration: underline;*/
}

.lien-noir {
    color: #000000;
    padding: 0px;
}
.lien-noir:hover {
    color: #ffffff; 
    background-color: #ff4200;
}
/* --- FIN DES LIENS HYPERTEXTE --- */

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

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


/* MR VILLAIN */
.img-incr{ overflow: hidden; grid-column: span 6; height: 300px; border: 2px red solid; position:relative; background-image: ".../img/niglo_alpina3.png" ;}
.img-incr p{ background-color: #000; color: #fff; padding: 30px; position:absolute; bottom: 0px; left : -400px ; transition : 0.25s ease}
.img-incr:hover p{left : 0px ;}
/* MR VILLAIN */

/* MR VILLAIN COPY
.img-incrustee{ overflow: hidden; grid-column: span 12; height: 300px; border: 2px red solid; position:relative; background-image: ".../img/architecture_1.webp" ;}
.img-incrustee p{ background-color: #000; color: #fff; padding: 30px; position:absolute; bottom: 0px; left : -400px ; transition : 0.25s ease}
.img-incrustee:hover p{left : 0px ;}*/
/* MR VILLAIN COPY */

.item img.num-index,
img.num-index {
    height: 12px;
    width: auto;
    display: inline-block;      /* rester en ligne dans le texte */
    vertical-align: middle;     /* ou super si tu veux en exposant */
    object-fit: contain;        /* garde les proportions si l'image a un viewBox */
}
.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.num-index {
    width : 2;
    height: auto;  /* garde les proportions */
    vertical-align: super; /* bien aligné dans le texte */
}

img.num-index {
    display: inline-block;
    transform: translateY(-5px);
}

.index {
    font-size: 12px;
}

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

a[href="#"] {
  padding: 0;
  margin: 0;
}

.side-index p {
    display: inline-block; /* nécessaire pour que transform fonctionne */
    transition: transform 0.3s ease, font-weight 0.1s ease;
    font-weight: 400; /* poids normal */
}

.side-index-intro p {
    display: inline-block; /* nécessaire pour que transform fonctionne */
    transition: transform 0.3s ease, font-weight 0.1s ease;
    font-weight: 400; /* poids normal */
}

.side-index-left p {
    display: inline-block; /* nécessaire pour que transform fonctionne */
    transition: transform 0.3s ease, font-weight 0.1s ease;
    font-weight: 400; /* poids normal */
}

.side-index-left-small p {
    display: inline-block; /* nécessaire pour que transform fonctionne */
    transition: transform 0.3s ease, font-weight 0.1s ease;
    font-weight: 400; /* poids normal */
}

.highlighted {
    font-weight: 700;      /* gras réel */
    transform: scaleY(1.3); /* simule un effet de gras fluide */
}
.decoupe {
    column-count: 2; 
    /*background-color: yellow;*/ 
}


hr { 
    grid-column: span 10; 
    border: 0; 
    height: 1px; 
    background-image: linear-gradient(to right, rgb(235,232,219), #ff7b00, rgb(235,232,219)); 
    margin: 64px 0 16px 0;
}

.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;*/
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.img-left1{
    object-position: right;
    padding-right: 32px;
}

.img-left2{
    object-position: left;
}

.card {
    background-color: #e1dfd5;
    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;
}

.logo-gros-titre {
    z-index: 5;
    overflow: hidden;
    height: 136px;    
    width: auto;
    margin-top: 120px;
    margin-bottom: 64px;
    margin-left: auto;
    margin-right: auto;
    /*background-color: #bdbdbd;*/
}

.logo-mini-titre {
    z-index: 5;
    overflow: hidden;
    height: 70px;    
    width: auto;
    margin-top: 12px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    /*background-color: #bdbdbd;*/
}

.logo-titre {
    position: relative;
    z-index: 5;
    overflow: hidden;
    align-content: left;
    width: 800px;
    height: auto;
    /*margin-left: -6px;*/
    margin-top: 64px;
    margin-bottom: 8px;
    /*background-color: #bdbdbd;*/
}

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

.legende img {
    border-radius: 15px;
    width: 100%; /* L'image remplit son conteneur */
    height: 100%;
    object-fit: cover; /* Préserve le ratio de l'image (important !) */
    display: block;
}

.legende figcaption {
    border-radius: 0 0 15px 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box; /* Inclut le padding dans le calcul des 100% */
    background-color: #ddb278;
    color: #ffffff;
    padding: 8px;
    font-family: "Nexa", sans-serif;
    font-weight: 300;
  
    /* Ajustement de la police pour mobile */
    font-size: 12px; 
    text-align: center;
}

.margin-top-12 {
     margin-top: 32px;
}

.margin-top-24 {
     margin-top: 40px;
}

/* --- FIN LÉGENDE D'IMAGE --- */

/* --- DÉBUT ÉLÉMENTS DE LA GRILLE DE COMPOSITION - GRILLE DE 12 COLONNES --- */
.header { grid-column: span 12; background: linear-gradient(217deg, #363331, transparent 70.71%), linear-gradient(127deg, #706864, transparent 70.71%), linear-gradient(336deg, #847b76, transparent 70.71%); color: white; border: none; text-align: center; }
.full-img { grid-column: span 12; margin-top: 24px ; margin-bottom: 24px; height: 300px; padding: 0; border: none; }
.full-img-top { grid-column: span 12; margin-bottom: 24px; height: 300px; padding: 0; border: none; }
.text-3col { grid-column: span 3; text-align: right; }
.text-6col { grid-column: span 6;}
.text-7col { grid-column: span 7; }
.text-8col { grid-column: span 8; }
.text-9col { grid-column: span 9; }
.text-12col { grid-column: span 12; }
.vide-1col {grid-column: span 1;}
.align-right {text-align: right;}
.apparition {display : none; color : #fff ;}
.side-img { grid-column: span 3; padding: 0; border: none; }
.side-index { grid-column: span 3; padding: 0; border: none; color: #ff4200; }
.side-index-intro { grid-column: span 12; padding: 24px 0 0 0; border: none; color: #ff4200; }
.side-index-left { grid-column: span 3; padding: 0; border: none; margin-top: 8px; color: #ff4200;}
.side-index-left-small { display: none; }
.video { grid-column: span 12; margin-top: 96px; margin-bottom: 64px;}
/*.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; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

video {
    width: 100%;
    height: auto;
}
/* --- FIN ÉLÉMENTS DE LA GRILLE DE COMPOSITION - GRILLE DE 12 COLONNES --- */


/* --- DÉBUT FOOTER --- */
footer {
    background-color: #ff4200;
    padding: 56px 0px 48px 0px;
    margin-top: 200px;
}

footer::after {
    border-top: 2px solid rgb(255, 0, 0);
}

.text-footer {
    font-family: "Strelka", sans-serif;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    padding: 0;
}

.soustext-footer {
    font-family: "Nexa", sans-serif;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    margin-top: -32px;
    padding: 0;
}

.footer-container {
    max-width: 1136px;
    margin: 0 auto;
    padding: 0 72px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
}

.txt-footer {color: #FFF;}
.footer-section { grid-column: span 4; }
.footer-section h4 { font-family: "Strelka", sans-serif;
    letter-spacing: 0.1em; font-size: 12px ; color :#fff; border-bottom: 1px solid rgba(255, 255, 255, 0.8); padding-bottom: 8px; margin-bottom: 16px; }
/* --- FIN FOOTER --- */


/* --- DÉBUT POINTS DE RUPTURE POUR MOBILE EN DESSOUS DE 768 PIXELS --- */
@media (max-width: 768px) {
    .container { grid-column: span 4; padding: 0 24px; } /* largeur maximale de la grille */
    .nav-container { max-width: 100vw; height: 25px; margin: 0 auto; padding: 0 20px; display: flex; gap: 20px; justify-content: center; align-items: center; }
    .text-3col {grid-column: 1/-1; text-align: left;}   
    .grid-composition { grid-template-columns: repeat(4, 1fr); }
    .header, .text-6col, .text-7col, .text-8col, .text-9col ,.text-12col, .video, .bottom-img, .card { grid-column: 1/-1; }
    .full-img { grid-column: span 4; /*margin-top: 64px ; margin-bottom: 24px;*/ height: 300px; padding: 0; border: none; }
    .full-grande-img, .full-img-top { grid-column: span 4;}
    .side-img {grid-column: span 2;}
    .logo { /*grid-column: span 4; text-align: center;*/ display: none;}
    .logo-mini-titre{margin-bottom: 48px;}
    .decoupe { column-count: 1;}
    .footer-container { max-width: 768px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0px; }
    .footer-section { grid-column: 8; }
    h4 { margin-top: 24px;}
    .marge-ouvrages {margin-top : 0px ;}
    hr { grid-column: span 4; border: 0; height: 1px; background-image: linear-gradient(to right, rgb(235,232,219), #ff7b00, rgb(235,232,219)); margin-top: 48px; }
    .audio_container { padding-left: 13px; }
    .audio_container figcaption { font-size: 12px; font-style: italic; padding: 8px 0 16px 12px; }
    .vide-1col { display: none; }
    .side-index { grid-column: span 4;}
    .side-index-intro { grid-column: span 4; padding:0 ;}
    .disparition{ display: none;}
    .marge-questions {margin-top: 56px;}
    .side-index-left{ display: none; }
    .video {grid-column: 1/-1;}
    .apparition {display: inline-block;}
    .side-index-left-small { display :inline-block; grid-column: span 4; padding: 0; border: none; margin-top: 8px; color: #ff4200; }

}/* --- FIN POINTS DE RUPTURE POUR MOBILE EN DESSOUS DE 768 PIXELS --- */