/* base */
:root {
  --violet: /*#2f0a19*/#350a27









;
  --violet-light: #3a0058;
  --white: #ffffff;
  --text: #222222;
  --radius-big: 64px;
  --radius-pill: 0px;
  --panel-h: 100;
  --page-m: 15px;
  --header-gap: 16px;
}


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  min-height: 100%;
  height: auto;
}



.burger,
.menu-button,
.menu,
.menu-icon {
  display: none !important;
}

/*couleur header*/
.main-nav a.is-active {
  background: var(--white);
  color: var(--violet);
  border: px solid var(--violet);
}

.main-nav a {
  transition: background 0.25s ease, color 0.25s ease, border 0.25s ease;
}


/**/


img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000; /* pour passer au-dessus du contenu */
}

/*BOUTON ANNEE SUIVANTE*/
.next-year-button {
  grid-column: 2;          /* ← force la colonne de droite */
  margin: 40px auto 0;     /* centré dans la colonne */
  display: none;
  font-size: 1.3rem;
    background: var(--violet);
  border: 2px solid var(--violet);
  border-radius: 18px;

  padding: 6px 12px;
  display: inline-block;

  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  color: white;

  transition: 0.2s ease;
}

.year-anchor {
  height: 0;
  margin: 0;
  padding: 0;
}

/* layout générique */

/* =========================
   ZEPLIN VF — GLOBAL
   ========================= */

/* TOUS LES H1, H2 (partout sur le site) */
h1,
h2 {
  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  letter-spacing: 0.02em;
}

/* MENU — toutes les pages */
.site-header a {
  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  letter-spacing: 0.015em;
}

/* TITRES DE CAPSULES (sécurité si structure différente) */
.section-capsule .section-title {
  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.section-capsule {
  position: relative;
  overflow: hidden;
  background: var(--violet);
}

/* grain fort */



/*FIN TYPO*/

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-violet {
  background: var(--violet);
  color: var(--white);
}

.section-white {
  background: #ffffff;
  color: var(--text);
}

section { padding: 16px 0; }

/* CAPSULES : pleine largeur dans le cadre du body (margin 32px => 64px total) */
/* full width dans le cadre du body */
.section-capsule{
  width: calc(100vw - (2 * var(--page-m)));
  margin-left: calc(50% - 50vw + var(--page-m));
  margin-right: calc(50% - 50vw + var(--page-m));
}

/*GRAIN*/
.section-capsule {
  position: relative;
  overflow: hidden;
  background: var(--violet);
}

.section-capsule::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image: url(".png");
  background-size: 240%;   /* ⭐ grain très grossi */
  background-position: center;
  background-repeat: no-repeat;

  mix-blend-mode: multiply; /* ⭐ fusion organique avec le violet */
  opacity: 0.4;             /* ⭐ très marqué */
}















/* HEADER */



.site-header {
  background: var(--white);
  border-bottom: 16px solid var(--white);
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: px 0px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Lang : desktop visible, mobile en menu */
.lang-switch{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-desktop { display: flex; gap: 8px; }
.lang-menu { display: none; position: relative; }

.lang-desktop a{
   color: var(--white);
  font-size: 24px;
  text-transform: lowercase;
  background: var(--violet);
  padding: 6px 18px;
/*border-radius: var(--radius-pill);*/
}

/* menu style (mobile) */
.lang-current{
   color: var(--white);
  list-style: none;
  cursor: pointer;
  background: var(--violet);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lang-current::-webkit-details-marker{ display:none; }
.lang-current::marker{ content:""; }

.lang-panel{
   color: var(--white);
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  background: var(--violet);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
}

.lang-panel a{
  background: var(--violet-light);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  text-transform: lowercase;
  text-align: center;
   
}

/* NAV */
.main-nav {
  display: flex;
  gap: 16px;
  flex: 1;
}

.main-nav a {
  flex: 1;
  text-align: center;

  font-size: 24px;
  text-transform: lowercase;
  background: var(--violet);
  padding: 6px 18px;
  border-radius: var(--radius-pill);

  display: inline-flex;
  align-items: center;
  justify-content: center;
   color: var(--white);
}

/* INTRO IMAGE + TEXTE */

.intro {
  padding-top: 0px;
  padding-bottom: 96px;
}

/* INTRO : on neutralise le container pour que ça fasse la largeur capsule */
.intro .container.intro-grid{
  max-width: none;
  padding: 0;
  width: 100%;
}

.intro-grid{
  width: calc(100vw - (2 * var(--page-m)));
  margin-left: calc(50% - 50vw + var(--page-m));
  margin-right: calc(50% - 50vw + var(--page-m));

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}


.intro-image-block {
   align-items: center;      /* centre horizontalement le contenu */
  margin: 0;
  background: var(--violet);   /* ✅ toute la moitié gauche violette */
  padding: 64px;               /* épaisseur du violet autour de l’image */
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.intro-image-frame {
  padding: 16px;
  background: var(--white);
}

.intro-caption {
  display: inline-block;
  margin-top: 12px;

  background: var(--white);
  color: var(--black);

  padding: 6px 10px;
  border-radius: 0;

  font-size: 8px;
  font-style: italic;     /* ✅ légende assumée */
  font-weight: 400;
  line-height: 1.2;

  width: fit-content;
}

.intro-text {
  padding: 120px;
}

.intro-text p {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

/* TITRES DE SECTION */

.section-title {
  margin: 0;
  font-size: 64px;
  text-transform: lowercase;
}

/* CAPSULE AUTOUR DES GROS TITRES */
/* CAPSULE AUTOUR DES GROS TITRES */


.section-capsule {
  background: var(--violet);
  color: var(--white);

  border-radius: var(--radius-pill);

  /* ⭐ Correction : marge propre de 16px sous la capsule */
  margin: 0 auto 16px;

  padding: 96px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/*STYLEDELA CAPSULE*/
.section-capsule .section-title {
  opacity: 0;
  transform: translateY(18px);
  animation: capsuleTitle 0.9s ease-out forwards;
}

@keyframes capsuleTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/**/
.section-capsule .section-title {
  margin: 0;
  font-size: 96px;
  line-height: 1;
  text-transform: lowercase;
}
.section-capsule .section-title {
  margin-bottom: 64px; /* ou 80px si tu veux encore plus d’air */
}

.section-capsule .section-sub {
  margin-top: 24px;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--violet);
  font-size: 12px;
  font-weight: bold;
}
/*style capsule fond*/



/* =========================
   PROJETS — VERSION PROPRE
   ========================= */

/* Distance générale */
.projects-layout {
  margin-top: 2px;
}
.projects-layout {
  min-height: calc(100vh - 64px - 32px); /* viewport - menu - marge */
}

/* =========================
   ANNÉES — sticky sous le menu
   ========================= */

.projects-years {
  position: sticky;
  top: 64px; /* hauteur du menu */
  z-index: 20;

  background: white;
  padding: 16px;
  display: flex;
  gap: 8px;

  width: calc(100vw - (2 * var(--page-m)));
  margin-left: calc(50% - 50vw + var(--page-m));
  margin-right: calc(50% - 50vw + var(--page-m));

  border-radius: var(--radius-pill);
}

.year-btn {
  flex: 1;
  border: 2px solid var(--violet);
  background: transparent;
  color: var(--violet);
  padding: 2px 0;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;

  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
}

.year-btn--active {
  background: var(--violet);
  color: var(--white);
  font-variation-settings: "CONX" 500, "CONY" 700;
}


/* =========================
   TABLEAU 2 COLONNES
   ========================= */

.projects-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;

  background: white;
  border: 16px solid var(--violet);
  padding: 16px;

  margin-top: 32px;

  min-height: calc(100vh - 64px - 32px); /* viewport - menu - marge */
}



/* =========================
   COLONNE GAUCHE — TITRES
   ========================= */


.projects-list {
  background: #000;
  color: #fff; /* si tu veux que le texte reste lisible */
}



.projects-list {
  
  background: transparent;
  position: sticky;
  top: calc(64px + 16px + 16px);
  align-self: start;
  padding: 32px 24px;
  color: #350a27;
}
.projects-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.projects-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-item {
  margin-bottom: 16px;
  font-size: 14px;
}


.project-item {
  color: var(--violet);
  font-family: "zeplin-vf", sans-serif;
  font-size: 22px;
  font-variation-settings: "CONX" 450, "CONY" 550;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.project-item {
  position: relative;
  padding-left: 16px; /* réserve la place du point */
}

.project-item--active::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 1em;
  line-height: 1;
  color: #000; /* couleur du point */
  font-size: 1.2em;
}

align-self: start;



.projects-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  
}







/* =========================
   COLONNE DROITE — CONTENU
   ========================= */

.project-detail {
  background: #ffffff;
  color: var(--text);
  padding: 16px;

  /* IMPORTANT : plus de scroll interne */
  overflow: visible;
  height: auto;

  border-radius: 24px;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.project-detail.fade-out {
  opacity: 0;
}
/* TYPO pour les titres de la colonne de droite (page Projets) */
.section-projets .project-detail .project-title {
  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  letter-spacing: 0.02em;
  font-size: 70px;
}
.section-projets .project-detail .year-header {
  display: none;
}






@media (max-width: 800px) {
  .next-year-button {
    grid-column: auto;
    width: auto;
    margin: 32px auto;
  }
}


/* =========================
   GALERIE / IMAGES / AUDIO
   ========================= */

.project-gallery {
  text-align: center;
  margin-top: 3rem;
}

.project-gallery img {
  display: block;
  margin: 0 auto;
}

.project-gallery figure {
  margin: 0 auto 3rem;
  text-align: left;
  max-width: 600px;
  font-size: 0.8em;
}

.project-gallery figcaption {
  font-style: italic;
  text-align: left;
  margin-top: 1rem;
}

.project-audio {
  text-align: center;
  margin: 3rem 0;
}

.audio-label {
  text-align: center;
  margin-bottom: 1rem;
}

.audio-player {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
}


/* MP3 — version centrée */
.project-audio {
  text-align: center;        /* centre le bloc */
  margin: 3rem 0;            /* espace autour */
}

.audio-label {
  text-align: center;
  margin-bottom: 1rem;
  font-family: "zeplin-vf", sans-serif;
}

/* Le player lui-même */
.audio-player {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;            /* CENTRAGE RÉEL */
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 12px 0;
}

/* Bouton play/pause */
.audio-play {
  width: 22px;
  height: 22px;
  border: none;
  background: #350A27;
  mask: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><polygon points="5,3 19,12 5,21"/></svg>') center/contain no-repeat;
  cursor: pointer;
}

.audio-player.playing .audio-play {
  mask: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="4" width="4" height="16"/><rect x="14" y="4" width="4" height="16"/></svg>');
}

/* Barre */
.audio-bar {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.audio-progress {
  height: 100%;
  width: 0%;
  background: #350A27;
  border-radius: 4px;
}

/* Temps */
.audio-time {
  font-size: 0.85rem;
  color: #350A27;
  min-width: 48px;
  text-align: right;
}


/*LIENPROJETS*/
.project-links a {
  font-family: "Zeplin", sans-serif; /* ta typo */
  color: #350A27;
  text-decoration: none;
  border-bottom: 1px solid #350A27;
  padding-bottom: 2px;
  display: inline-block;
  margin: 0.5rem 0;
}

.project-links a:hover {
  opacity: 0.7;
}

/* TITRE */
.section-projets .project-detail .project-title {
  text-align: center;
  margin-bottom: 2rem;

}
.section-projets .project-detail .project-title {
  text-align: center;
  margin-bottom: 3.5rem; /* augmente l’espace sous le titre */
}

/* META */
.project-meta {
  text-align: center;
  margin-bottom: 2rem;
  font-family: "zeplin-vf", sans-serif;
}

/* DESCRIPTION — colonne étroite + centrée */


/* PDF */
.project-files {
  text-align: center;
  margin: 3rem 0;
}

.project-files a {
  display: inline-block;
}







/* A PROPOS */

.apropos-sidebar {
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.apropos-item {
  color: white;
  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  cursor: pointer;
    font-size: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); /* ombre douce */
}

.apropos-text h3 {
  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  letter-spacing: 0.02em;
  font-size: 32px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.section-apropos {
  background: white;
  color: var(--text);
  border-radius: 0;
}

.apropos-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}

.apropos-sidebar {
  background: var(--violet);
  padding: 32px 24px;
  height: 100vh;
}



.apropos-sidebar ul { list-style: none; padding: 0; margin: 0; }

.apropos-item {
  margin-bottom: 16px;

}

/*BLOOOOC DROITE 
.apropos-text {
  border: 12px solid var(--violet);


  padding: 32px;
  background: white;

  box-sizing: border-box;
}

*/
.apropos-item {
  color: white;
  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  cursor: pointer;
  padding-left: 0;
}


.section-title--small {
  font-size: 48px;
  margin-bottom: 32px;
}

.apropos-text {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 32px 40px;
  max-height: var(--panel-h);
  overflow-y: auto;
}

.apropos-text p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
}

/*STYLE ETHIQUETTE TELECHARGEMENT*/

.pdf-download {
  background: white;
  border: 2px solid var(--violet);
  border-radius: 12px;

  padding: 6px 12px;
  display: inline-block;

  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  color: var(--text);

  text-decoration: none;
  transition: 0.2s ease;
}

.pdf-download:hover {
  background: var(--violet);
  color: white;
}



/* CONTACT */


.section-contact {
  background: white;
  color: var(--text);
  border-radius: 0;

}



.contact-mail-block {

  text-align: center;
  font-size: 14px;
}

.contact-mail {
  display: inline-block;
 
  border-radius: 64px;
  background: var(--white);
  color: var(--violet);
}

.section-contact {
  display: flex;
  flex-direction: column;
  min-height: auto; /* la section occupe tout l’écran */

  padding-bottom: 0;
}
.contact-mail-block {
  border: 12px solid var(--violet);
  border-radius: 0;
  background: white;

 

   /* ⭐ le cadre remplit toute la hauteur jusqu’au footer */
  width: 100%;
  box-sizing: border-box;

  padding: 0px 0; /* respiration interne */
}
.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0px;
  text-align: center;
}


.contact-mail {
  display: inline-block;
 
  padding: 10px 32px;

  border-radius: 24px;
  border: 2px solid var(--violet);

  background: white;
  color: var(--violet);

  font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  text-decoration: none;
  font-size: 32px;
}


.contact-mail-block {
  border: 12px solid var(--violet);
  border-radius: 0;

  box-sizing: border-box;

  margin-top: 0px;      /* distance avec la capsule */
  padding: 64px 0;       /* hauteur plus forte, très éditoriale */

  background: white;
}

/* Fix marge avant footer pour CONTACT */




/* FOOTER */

.site-footer {
  background: var(--violet);
  color: var(--black);
  padding: 16px 0;
 border-top: 16px solid var(--white);
}


.site-footer small {
  background: white;
  padding: 6px 12px;
 
  display: inline-block;
  color: var(--text);
}

/* COLLER LE FOOTER AU CONTENU (home) */
main > section:last-of-type {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

main > section:last-of-type .container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.site-footer {
  margin-top: 0 !important;
}

.footer-inner {
  text-align: center;
  font-size: 11px;
}

/* RESPONSIVE */

/* =========================
   GAP HEADER -> 1ère CAPSULE (même partout)
   ========================= */


/* on garde ton espacement sous header */
.site-header{
  border-bottom: var(--header-gap) solid var(--white);
}

/* ✅ la 1ère section juste après le header : pas de padding-top */
.site-header + section{
  padding-top: 0 !important;
}

/* si un jour tu remets un <main> juste après le header */
.site-header + main{
  padding-top: 0 !important;
}

/* ✅ la 1ère capsule collée au header */
.site-header + section > .section-capsule:first-child,
.site-header + main > .section-capsule:first-child{
  margin-top: 0 !important;
}


/* MOBILEnav */
@media (max-width: 900px) {
  header,
  .header,
  .header-inner {
    background: var(--violet) !important;
    height: 64px; /* tu peux ajuster : 50px, 70px, 80px… */
 border-bottom: 16px solid white;
  }
}



@media (max-width: 900px) {
  .burger {
    display: block;
  }
.burger {
    font-family: "zeplin-vf", sans-serif;
  font-variation-settings: "CONX" 500, "CONY" 500;
  font-size: 22px; /* ajuste selon ton style */
  letter-spacing: 0.5px; /* optionnel */
    color: white;
 
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    padding: 120px var(--page-m);
    flex-direction: column;
    gap: 32px;
    z-index: 2000;
  }

  .main-nav.mobile-open {
    display: flex;
  }

.burger {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  font-size: 16px;
  background:var(--violet);
  border: none;
  cursor: pointer;
  z-index: 3000;
  font-weight: 500;
}

}



@media (max-width: 900px) {
  .burger {
    display: block;
  }
}


@media (max-width: 900px) {
  .section-capsule .section-title {
    font-size: 55px !important;
    text-align: center !important;
    line-height: 1.1;
    display: block;
    width: 100%;
  }

  .section-capsule .section {
    font-size: 14px !important;
    text-align: center !important;
    display: block;
    width: 100%;
  }
}

/*HOMEMOBILE*/
@media (max-width: 900px) {
  .section-capsule {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: var(--page-m);
    padding-right: var(--page-m);
  }
}
/*MENU*/



/*SUPPRESSION DES LANGUES EN MODE MOBILE*/
@media (max-width: 900px) {
  .lang-switch,
  .lang-desktop {
    display: none !important;
  }
}
 /* langues */
  .lang-desktop a,
  .lang-current,
  .lang-panel a {
    font-size: 26px !important;
    padding: 4px 12px !important;
  }




/*STYLE DES ONGLETS MENU MOBILE*/


/*
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    padding: 80px var(--page-m);
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
  }
*/
  .main-nav.open {
    display: flex !important;
  }
}






/* Cacher le burger en desktop */
@media (min-width: 901px) {
  .burger {
    display: none !important;
  }
}


/* Afficher le burger en mobile */
@media (max-width: 900px) {
  .burger {
    display: block !important;
  }
}




/*APROPOSMOBILE*/
@media (max-width: 900px) {
  .apropos-sidebar {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .apropos-content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-1 * var(--page-m)) !important;
    margin-right: calc(-1 * var(--page-m)) !important;
    box-sizing: border-box !important;
   
    padding: 20px;
  }
}








/*CONTACTMOBILE*/
@media (max-width: 900px) {
  .contact-layout {
    display: block !important;
  }
}
@media (max-width: 900px) {
  .section-contact .section-capsule {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    /* Ce qui t'intéresse : la hauteur */
    padding-top: 60px !important;
    padding-bottom: 60px !important;

    /* Optionnel mais souvent utile */
    min-height: 180px;
    display: flex;
    align-items: center;
  }
}
@media (max-width: 900px) {
  .contact-mail {
    font-size: 18px !important;
    line-height: 1.3;
  }

  .contact-inner span {
    font-size: 14px !important;
  }
}
@media (max-width: 900px) {
  .contact-mail-block {
    width: 100% !important;
    min-height: 60vh; /* prend 60% de la hauteur de l'écran */
    display: flex;
    align-items: center; /* centre verticalement */
    padding: 40px var(--page-m) !important;
  }
}





@media (max-width: 900px) {
  .intro-grid {
    width: 100%;                /* stoppe le débordement */
    margin: 0;                  /* enlève les marges calculées */
    grid-template-columns: 1fr; /* une seule colonne */
  }

  .intro-image-block {
    padding: 32px;              /* réduit le violet pour mobile */
    width: 100%;                /* force l’alignement */
    box-sizing: border-box;     /* évite tout dépassement */
  }

  .intro-text {
    padding: 32px;              /* même logique que l’image */
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 900px) {

  /* boutons du menu */
  .main-nav a {
    font-size: 22px !important;
    padding: 4px 12px !important;
  }

 

  /* réduire un peu la hauteur du header */
  .header-inner {
    padding: 8px 16px !important;
  }
}

/*PROJET*/
@media (max-width: 900px) {

  /* cacher la colonne violette */
  .section-projets .projects-list {
    display: none !important;
  }

  /* passer la grille en 1 colonne */
  .section-projets .projects-layout {
    grid-template-columns: 1fr !important;
  }

  /* optionnel : enlever la grosse bordure violette autour */
  .section-projets .projects-layout {
    border: none !important;
    padding: 0 !important;
  }

  /* rendre le tableau de droite plus respirant */
  .section-projets .project-detail {
    border-radius: 0;
    padding: 16px !important;
  }
}
@media (max-width: 900px) {
  .section-projets .project-detail {
    border: 16px solid var(--violet);
    border-radius: 0px;
    padding: 24px !important;
  }
}


@media (max-width: 900px) {
  .section-projets .project-detail .project-title {
    font-size: 32px !important;
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
  }
}
@media (max-width: 800px) {
  .next-year-button {
    grid-column: auto;   /* ne force plus la colonne 2 */
    width: auto;         /* taille naturelle */
    display: block;
    margin: 32px auto;   /* centré */
  }
}
@media (max-width: 767px) {
  .year-anchor {
    display: none;
  }
}



/* ALIGNER LES PAGES AVEC LES CAPSULES — DESKTOP */

/*TEXTE PROJETS*/
.project-text {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  margin-bottom: 4rem;
}

.project-gallery {
  text-align: center;
}



