
/*Bienvenue sur mon code :)*/

* {margin: 0;}

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Notch:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@200..700&family=Stack+Sans+Notch:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&display=swap');
@font-face {
    font-family: 'Stack Sans Headline Custom';
    src: url('fonts/stack-sans-headline.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: 'Stack Sans Notch';
    src: url('fonts/stack-sans-notch.ttf') format('truetype');
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Stack Sans Headline';
    src: url('fonts/stack-sans-headline.ttf') format('truetype');
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap;
}

html{font-size: 1em;}

html, body {
    height:100%;
    background-color: #0d0d0d;
    scroll-behavior: smooth;}

.btn {
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    padding: 5px 25px;
    border: 1.5px solid #f1f1f1;
    color: #f1f1f1;
    border-radius: 100px;
    text-decoration: none;
    font-family: "Stack Sans headline", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    transition: 0.3s ease; }

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

.batn {
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    padding: 5px 25px;
    border: 1.5px solid #111111; 
    color: #1b1b1b;
    border-radius: 100px;
    text-decoration: none;
    font-family: "Stack Sans headline", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    transition: 0.3s ease;
}

.batn:hover {
    -webkit-tap-highlight-color: transparent;
    transition: 0.2s ease;
    background-color: #1b1b1b;
    color: #f0f0f0 ;
    font-weight: 350;
    border: 0px;}

    a:not(.btn) {
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #0d0d0d;
    text-decoration: none;
}


a:not(.btn, .nav-container, footer)::before {
    -webkit-tap-highlight-color: transparent;
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            700px 700px at 0% 35%,
            rgb(0, 16, 79),
            transparent 100%
        ),
        radial-gradient(
            700px 700px at 20% 50%,
            rgb(0, 70, 72),
            transparent 100%
        ),
         radial-gradient(
            700px 700px at 50% 60%,
            rgb(2, 2, 2),
            transparent 100%
        ),
        radial-gradient(
            700px 700px at 60% 50%,
            rgb(57, 20, 8),
            transparent 100%
        ),
        radial-gradient(
            700px 700px at 70% 50%,
            rgb(73, 65, 14),
            transparent 100%
        );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    font-weight: 350;
}

.nav-main a::before a:hover {
    -webkit-tap-highlight-color: transparent;
    background-color: #1b1b1b;
}

a:not(.btn):hover::before {
    -webkit-tap-highlight-color: transparent;
    transform: scaleX(1);
}

a:not(.btn):hover {
    -webkit-tap-highlight-color: transparent;
    font-weight: 350;
    color: #ffffff;
}

.nav-main a {
    -webkit-tap-highlight-color: transparent;
    font-size: 14pt;
    font-family: "Stack Sans headline", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.nav-main a::before {
    -webkit-tap-highlight-color: transparent;
    display: none; 
}

.nav-main a:hover {
    -webkit-tap-highlight-color: transparent;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400; 
    font-size: 16pt;
    color: #1a1a1a; 
}

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



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

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

.overlay-container {
    width: 100%;
    min-height: 100vh; 
    position: relative;
    overflow: visible; 
}

.overlay-container-project {
    top: 10%;
    width: 100%;
    min-height: 50vh; 
    position: relative;
    overflow: visible; 
}

.background-image {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}

.overlay-text {
    position: absolute; 
    top: 50%; 
    left: 20%; 
    transform: translateY(-50%); 
    z-index: 2; 
    color: #ffffff; 
    width: 80%; 
}

.overlay-text-index {
    position: absolute; 
    top: 50%; 
    left: 20%; 
    transform: translateY(-70%);
    z-index: 2; 
    
    display: flex;             
    align-items: center;
    gap: 125px;
    width: 70%;
}

.overlay-text-index h1 {
    line-height: 1;
}

.overlay-text-index p {
    font-size: 1.2rem;
}

.hero-grand-logo {
    flex: 0 0 40%; 
    max-width: 700px; 
}

.hero-grand-logo video {
    width: 100%; 
    height: auto;
    display: block;
}

.overlay-text h1 {
    font-size: 86px;
    line-height: 1;
}

.overlay-text p {
    font-size: 1.2rem;
}


.marge-abstract {
    grid-column: 1;
    padding-top: 15%;
    padding-left: 20%;
    padding-right: 20%;
}

.marge-introview{
    grid-column: 1;
    padding-top: 20%;
    padding-left: 10px;
    padding-right: 250px;
}

.marge-etude{
    grid-column: 1;
    padding-top: 15%;
    padding-left: 10px;
    padding-right: 250px;
}

.interview-row {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    column-gap: 0px;
    margin-bottom: 0px;
    align-items: start;
}

.logo-formation-size {
    transform: translateY(60%);
    width: 100px;
    height: auto;}

.logo-logiciel-size {
    transform: translateY(10%);
    width: 80px;
    height: auto;}

.interview-label {
    grid-column: span 2; 
}

.interview-label h2 {
    font-size: 16px;
    letter-spacing: 2px;
    opacity: 0.6;
}
.intervention {
    grid-column: span 6;
    background-clip: text;
}

.intervention-formation {
    display: grid;
    grid-template-columns: 2fr 8fr;  
}

.intervention-formation aside {
    grid-column: 1 / 2; 
    grid-row: 1 / 3; 
    width : 50px;
}

.intervention-noir{
    grid-column: span 10;
    background-clip: text;
}

.btnintervention {
    -webkit-tap-highlight-color: transparent;
    grid-column: span 3;
    background-clip: text;
}

.btnretour {
    -webkit-tap-highlight-color: transparent;
    position: fixed;
    top: 30px;
    right: 40px; 
    z-index: 1000;
    text-decoration: none;
    display: inline-block;
}

.interview-content {
    grid-column: span 10; 
    border-left: 1px solid; 
    border-image-source: linear-gradient(to right, #f1f1f1); 
    border-image-slice: 1;
    padding-left: 46px;
}

.interview-content p {
    font-size: 18px; 
    line-height: 1.6;
    margin-bottom: 0;
}
.interview-content-noir {
    grid-column: span 10;
    border-left: 1px solid; 
    border-image-source: linear-gradient(to right, #000000); 
    border-image-slice: 1;
    padding-left: 46px;
}

.interview-content-noir p {
    font-size: 18px; 
    line-height: 1.6;
    margin-bottom: 0; 
}

.content-bottom{
  display:grid;
  grid-template-columns: repeat(10,1fr);
  margin-top:2rem;
}

.interview-row.question .interview-content p {
    font-weight: 200;
    color: #f1f1f1;
}

.interview-row.question-noir .interview-content-noir p {
    font-weight: 200;
    color: #121212;
}

.interview-row.question-noir h3 {font-size:16px;
font-family: "Stack Sans Headline", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #121212;
}

strong {font-weight: 700;}

h1 {
    font-weight: 700;
    font-size: clamp(4rem, 3.328rem + 1.493vw, 5rem);
    font-family: "Stack Sans Notch", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin-top: 64px;
    color: #1a1a1a;
}

h2 {
    font-size: clamp(5.75rem, 5.582rem + 0.373vw, 6rem);
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
    color: #1a1a1a;
}
h3 {font-size:16px;
    font-family: "Stack Sans Headline", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #f1f1f1;
}

h4 {font-size:58px;
    color: #f1f1f1;
    font-family: "Stack Sans Notch", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    line-height: 1em;}

h5 {font-size:58px;
    font-family: "Stack Sans Notch", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
    line-height: 1.3em;}

h6 {line-height: 0.9em;
    font-size: 82px;
    font-family: "Stack Sans Notch", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;}

.intervention p {
  font-size: 18px;
  line-height: 1.1em;
}

.text-noir {
    color: #1a1a1a;
}

strong {font-weight: 400;}

.dateproject {
    font-size: 22px;
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    line-height: 0.8em;
    font-style: italic;}

.dateproj {
    font-size: 22px;
    font-family: "Stack Sans Headline", sans-serif;
    font-weight: 500;
    line-height: 0.8em;
    font-style: normal;}

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

ul li { margin-bottom: 8px; font-size: 14px; opacity: 0.8; }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: visible; 
    z-index: 2000;
    background-color: rgba(0,0,0,0.6);
    background-image: linear-gradient(to right, 
    rgba(211, 211, 211, 0.2),
    rgba(255, 255, 255, 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;
}

.nav-container {
    position: relative;
    max-width: 1450px;
    margin: 0 auto;
    padding: 32px 22px;

    display: flex;
    justify-content: center; 
    align-items: flex-start; 
}

.nav-main {
    -webkit-tap-highlight-color: transparent;
    display: flex;
    gap: 100px;
    align-items: flex-start;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-main a {
    -webkit-tap-highlight-color: transparent;
    font-size: 14pt;
    font-family: "Stack Sans headline", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.navbar.is-top {
    padding: 0px 0;
    background: none;
    backdrop-filter: blur(0px);
}

.navbar.is-scrolled {
    padding: 0px 0;
    background-image: linear-gradient(to right, 
    rgb(210, 210, 210),
    rgba(232, 232, 232, 0.56)
);
    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;
    z-index: -1; 
}

.header {
    grid-column: 1 / -1; 
    display: flex;
    gap: 60px;
    align-items: center; 
    margin-bottom: 60px;
    width: 100%;
}

.header-text {
    flex: 0 0 58%; 
    text-align: justify;
}

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

.navbar.is-scrolled::before,
.navbar.is-hidden::before {
    opacity: 0;
}

.logo{
    top: 100%;
    right: 50%;
    transform: translateY(50%) (0deg);
    width: 400px;
    z-index: 3000;
}

.logo-small {
    -webkit-tap-highlight-color: transparent;
    position: fixed; 
    top: 25px;     
    left: 25x;     
    z-index: 2000;
    display: inline-block; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.logo-small img {
    -webkit-tap-highlight-color: transparent;
    max-width: 115px; 
    height: auto;
    display: block;
}

.logo-small:hover {
    -webkit-tap-highlight-color: transparent;
    transform:  scale(1.05); 
}

.btn-link {
    -webkit-tap-highlight-color: transparent;
    display: inline-block; 
    color: #0d0d0d;  
    transition: all 0.3s ease;
    text-decoration: 1px solid;
}

.btn-link:hover {
    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%
        ); 
    color: #0d0d0d;
}


.container-intro {
    max-width: 1450px; 
    margin: 0 auto; 
    padding-left: 0px;
    padding-right: 22px;
    z-index: 5;
}

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

.container-project{
    max-width: 2000px;
    margin: 0;
    padding-bottom: 10%;
    padding-top: 7%;
    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); 
    column-gap: 30px; 
    padding: 0;
    gap: 16px; 
    position: relative;
} 

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

.main-content {
    grid-column: 1 / -1;      
    max-width: 200°px;     
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.intro-section {
    max-width: 60ch;
    width: 100%;
    margin-bottom: 60px;
}

.article-body {
    display: flex;            
    gap: 40px;                
    align-items: flex-start;  
    margin-bottom: 60px;
}

.project-intro-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.text-column-main {
    flex: 0 0 30%; /* On donne un peu plus de place au texte */
}

.media-column-croquis {
    flex: 1;
}

/* Titre Large */

/* Description */
.project-description {
    margin-bottom: 50px;
}

.project-description p {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 90%; /* Pour éviter les lignes trop longues */
}

.project-metadata-list {
    border-top: 1px solid #111111;
    margin-bottom: 40px;
}

.meta-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #131313;
    align-items: baseline;
}

.meta-label {
    width: 120px; /* Largeur fixe pour aligner les valeurs verticalement */
    font-size: 0.75rem;
    color: #1b1b1b;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 1rem;
    font-weight: 200;
    color: #1a1a1a;
}

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

.page-article .article-body {
    display: flex;
    gap: 50px; 
    align-items: flex-start;
}

.page-article .text-column {
    flex: 0 0 55%; 
}

.page-article .media-column {
    flex: 0 0 40%;
}


.page-article .media-item img {
    width: 100%;
    height: auto;
    display: block;
}


.page-article .article-body.is-reversed {
    flex-direction: row-reverse; 
}

.page-article .article-body.is-reversed .media-column {
    padding-right: 40px; 
    padding-left: 0;
    border-left: none;
    border-right: 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;
}

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

.page-article.article-body.is-reversed {
    flex-direction: row-reverse; 
}

.page-article .article-body.is-reversed .media-column {
    padding-right: 40px; 
    padding-left: 0;
    border-left: none;
    border-right: 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;
}

.tem {
    height: auto;
}

.article-footer {
    grid-column: 1 / -1; 
    display: flex;
    justify-content: center; 
    margin-top: 60px;
    padding: 40px 0;
}

.conclusion-centered { 
    text-align: center; 
}

.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 {             
    font-size: 135px;
    font-weight: 900;
    line-height: 1;      
    letter-spacing: -5px;
}

.titre-etude p {
    font-size: 110px;
    font-weight: 900;
    line-height: 1;      
    letter-spacing: -5px;
}

.page-margin {
    margin-right: 100px;
    margin-left : 100px;
    z-index: 1000;
}

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

.decal { 
    height: 3dvb;
}

.item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.legende-partie { 
    height: auto;
}

.paragraph-indent {
    display: grid;
    grid-template-columns: 50% 1fr;
    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;
}

.project-list {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.project-row {
    display: grid;
    grid-template-columns: 80px auto 1fr;
    gap: 30px; 
    align-items: baseline; 
    
    width: 100%;
    padding: 20px 5%; 
    text-decoration: none; 
    color: #000000;
    border-top: 1px solid rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.project-row:hover {
    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%
        );
}

.project-year {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 3rem;
    color: #131313;
}

.project-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
}

.project-tags {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
}

.project-year,
.project-title,
.project-tags {
    transition: color 0.4s ease;
}

.project-row:hover .project-year,
.project-row:hover .project-title,
.project-row:hover .project-tags {
    color: #f1f1f1;
}

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

.legende {
    position: relative;
    overflow: visible;
    z-index: 5; 
}

.legende img {
    width: 100%;
    height: auto;         
    object-fit: contain;  
    display: block;
}

.legende figcaption {
    border-radius: 0 0 8px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box; 
    background-color: rgba(72, 51, 158, 0.8);
    color: #eae3e0;
    padding: 8px;
    font-weight: 300;
    font-size: 16px; 
    text-align: center;
}

.abstract-img + .text-12col {
    grid-column: span 4; 
    padding-left: 24px;
    box-sizing: border-box;
}

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

.titre-section {
    flex: 0 0 250px;
    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;
    grid-template-columns: 200px 1fr; 
    gap: 15px; 
    margin-bottom: 15px;
}

.auteur {
    text-align: right; 
}

.description {
    text-align: left; 
}

.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 8; padding-left: 15%;
padding-right: 15%; 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; }

footer {background-color: #f1f1f1;}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid #1a1a1a; 
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-right: 40px;
    padding-left: 40px;
}

.footer-cta{
    padding-top: 60px;   
    padding-bottom: 40px; 
    padding-left: 28%;
    font-family: "Stack Sans Notch", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.footer-col ul {
    list-style: none; 
    padding: 0;
    margin: 0;
    padding-right: 40px;
    padding-left: 40px;
}

.footer-col ul li {
    margin-bottom: 15px; 
    
}

.footer-col ul li a {
    text-decoration: none;
    color: #171717;
    font-size: 1rem;
    transition: opacity 0.3s ease; 
}

.footer-bottom {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    border-top: 1px solid #1a1a1a; 
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-bottom a {
    text-decoration: none;
    color: #000000;
    margin-left: 20px;
    
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.mobile-overlay {
    display: none;
}

    .mobile-overlay {
        display: flex;
        position: fixed;
        inset: 0; 
        z-index: 9999; 
        justify-content: center;
        align-items: center;
        flex-direction: column; 
        
        padding: 40px;
        text-align: center;
    }

    .mobile-img {
        width: 80px;
        height: auto;
        margin-bottom: 30px;
        opacity: 0.9;
    }

    .mobile-content p {
        font-family: "polymath", sans-serif;
        font-size: 18px;
        line-height: 1.5;
        color: #0d0d0d;
        font-weight: 300;
        text-align: center; 
    }

.image-rotate {
    position: fixed;
    top: 0px;
    right: 0; 
    width: 4vw; 
    height: 4vw;
    
    aspect-ratio: 1 / 1;
    object-fit: contain;

    z-index: 2100;
    cursor: pointer;
    transition: transform 0.1s linear;
}

body {
    font-family: "Stack Sans headline", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    color: #0f0f0f;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    overflow-y: auto; 
    overflow-x: hidden; 
    background-image: url('img/fond_clair.svg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

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

.hamburger {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
}

.hamburger img {
    width: 35px; 
    height: auto;
    transition: transform 0.3s ease; 
}

@media (max-width: 700px) {

    .project-row {
        grid-template-columns: 1fr; 
        gap: 10px;
        padding: 30px 5%;
    }
    .footer-links {
        grid-template-columns: 1fr; 
    }

    .footer-cta{
    padding-left: 8%;
}

    .footer-cta h2 {
        font-size: 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-bottom a {
        margin: 0 10px;
    }

    .decal { 
    height: 20px;
}
    .nav-container {
        position: relative;
        max-width: 1450px;
        margin: 0 auto;
        padding: 52px 22px;
        display: flex;
        justify-content: center; 
        align-items: flex-start; 
    }

    .nav-main {
        position: fixed; 
        top: 0;
        right: -100%; 
        width: 95%;
        height: 100vh;
        background:
        radial-gradient(
            700px 700px at 0% 0%,
            rgb(0, 32, 87),
            transparent 100%
        ),
        radial-gradient(
            700px 700px at 10% 35%,
            rgb(0, 70, 87),
            transparent 100%
        ),
         radial-gradient(
            700px 700px at 30% 50%,
            rgb(87, 87, 87),
            transparent 100%
        ),
        radial-gradient(
            700px 700px at 40% 65%,
            rgb(65, 69, 18),
            transparent 100%
        ),
        radial-gradient(
            700px 700px at 60% 70%,
            rgb(74, 51, 37),
            transparent 100%
        );
        
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;     
        gap: 20px;               
        
        margin: 0;
        padding: 0;
        
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 3000; 
    }

    .nav-main.active {
        right: 0; 
    }

    .nav-main a {
        -webkit-tap-highlight-color: transparent;
        display: block;
        background: none;
        border: none;
        font-family: "Stack Sans Headline", sans-serif;
        font-weight: 600;
        font-size: 32px !important; 
        color: #ffffff !important;
        text-decoration: none;
    }

    .nav-main a:hover {
        font-family: "Instrument Serif", serif !important;
        font-style: italic;
        transform: scale(1.05);
    }

    .hamburger {
        -webkit-tap-highlight-color: transparent;
        width: 48px !important; 
        height: 48px !important;
        position: fixed;
        right: 22px; 
        top: 32px;
        z-index: 4000;
        display: grid !important;
        place-items: center; 
        
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        
        transform-origin: center center;
        transition: transform 0.4s ease;
    }

    .hamburger img {
        grid-area: 1 / 1; 
        
        width: 30px; 
        height: 30px;
        object-fit: contain;
        margin: 0 !important;
        padding: 0 !important;
    }

    .icon-close { display: none; }
    .hamburger.active .icon-open { display: none; }
    .hamburger.active .icon-close { 
        display: block !important;
    }

    .hamburger.active {
    transform: rotate(90deg); 
}

    .logo-small {
        position: fixed;
        top: 30px; 
        left: 5%;
        margin-bottom: 40px;
    }

    .logo-small img {
        max-width: 120px; 
    }

    .overlay-container {
    width: 100%;
    min-height: 60vh; 
}
    .overlay-container-project {
    width: 100%;
    min-height: 80vh; 
}

.media-item {
        width: 100%;        /* Prend toute la largeur disponible entre les marges */
        position: static;    /* Annule le position: relative/left précédent */
        margin-left: 0;
        margin-right: 0;
        transform: none;
        padding: 0;
    }

    /* 2. On s'assure que l'image et la vidéo s'adaptent bien */
    .media-item img, 
    .media-item video {
        width: 100%;
        height: auto;
        display: block;
    }

    /* 3. On vérifie que les parents ne bloquent pas la largeur */
    .media-column-croquis, aside {
        width: 100%;
        margin-bottom: 20px; /* Ajoute un peu d'air sous l'image */
    }


    .container {
        padding: 120px 5% 40px 5%; 
    }

    .article-body {
        flex-direction: column;
        gap: 30px;
    }

    .media-column, .text-column {
        flex: none;
        width: 100%; 
    }

    .transformation{
        height: auto; 
        max-width: 100%;
        margin: 0 auto;}

    .dateproject {
        font-size: 18px;
        margin-top: 5px;
    }

    .text-column p {
        font-size: 16px;
        text-align: left; 
    }
    
    .overlay-text {
        flex-direction: column; 
        justify-content: center;
        text-align: left;
        left: 50%; 
        width: 80%;
        transform: translate(-50%, -95%);
        gap: 0px; 
    }
    .overlay-text-index {
        flex-direction: column; 
        justify-content: center;
        text-align: left;
        left: 50%; 
        width: 90%;
        top : 50%;
        transform: translate(-50%, -45%);
        gap: 0px; 
    }
    .hero-texte {width: 82%}
    .hero-texte p { font-size: 1rem; }
    
    .hero-grand-logo {
        flex: none;
        max-width: 500px; 
        margin: 0 auto;
    }
    .hamburger {
        display: block;
        position: absolute;
        right: 22px;
        top: 50%;
        transform: translateY(-50%);
    }

    .icon-close { display: none; }

    .hamburger.active .icon-open { display: none; }
    .hamburger.active .icon-close { display: block; }

    .nav-main.active {
        right: 0;
    }

    .nav-main a::before { display: none !important; }


    .container {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 15%;
    }
    
    .page-margin { margin-left: 0; margin-right: 0; padding: 0 5%; }

    
    .interview-row, .content-bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .intervention-noir {
        grid-template-columns: 1fr;
        row-gap: 10px; 
    }
    
    .intervention-noir aside,
    .intervention-noir h5,
    .intervention-noir p {
        grid-column: 1 / -1; 
        grid-row: auto; 
    }
    
    .logo-formation-size {
        max-width: 60px;
        transform: translateY(50%);
    }
    
    .interview-label, .intervention, .btnintervention, .interview-content {
        grid-column: span 12; 
    }

    .interview-content, .interview-content-noir {
        padding-left: 0;
        border-left: none; 
        border-top: 1px solid #f1f1f1; 
        padding-top: 20px;
    }
    
    .intervention p { font-size: 16px; }
    .btnintervention { text-align: left; width: 100%; margin-bottom: 20px;}

    h4 { font-size: 32px; }
    h5 { font-size: 32px; }
    h6 { font-size: 42px; text-align: left; }
    .titre-interview p, .titre-etude p { font-size: 50px; }
}