/* =======================================================
   TRAM-E — PAGE PRÉSENTATION
======================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =======================================================
   VARIABLES DE THÈME
======================================================= */

body.page-presentation {
  font-family: "Mohave", sans-serif;
  overflow-x: hidden;
  background: white;

  --pres-bg: #f8f9f4;
  --pres-dark: #1a1a1a;
  --pres-mid: #e5e5e5;
  --pres-text: #2e2e2e;

  /* Couleurs identité TRAM-E */
  --pres-cyan: #29bad4;
  --pres-pink: #ff00e9;
  --pres-orange: #db5100;
  --pres-gold: gold;

  /* Accent principal : cyan */
  --pres-accent: #29bad4;
  --pres-accent2: #ff00e9;
}

/* =======================================================
   WRAPPER GLOBAL
======================================================= */

.pres-wrapper {
  width: 100%;
  overflow-x: hidden;
}

/* =======================================================
   HERO
======================================================= */

.pres-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.pres-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pres-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pres-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pres-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.3) 50%,
    rgba(10, 10, 10, 0.05) 100%
  );
}

.pres-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 4rem 6rem;
  max-width: 760px;
}

.pres-hero__eyebrow {
  font-family: "Mohave", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pres-gold);
  margin-bottom: 1.5rem;
}

.pres-hero__title {
  font-family: "Matrimoine", sans-serif;
  font-size: clamp(5rem, 14vw, 16rem);
  line-height: 0.88;
  color: #fff;
  margin-bottom: 2.5rem;
  white-space: nowrap;
}

.pres-hero__title em {
  font-style: normal;
  color: var(--pres-cyan);
}

.pres-hero__intro {
  font-family: "Mohave", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  padding-left: 1.5rem;
}

/* Barre colorée en bas du hero */
.pres-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--pres-cyan);
  z-index: 4;
}

/* =======================================================
   NAVIGATION ONGLETS — sticky
======================================================= */
/* Couleurs individuelles par onglet */
.pres-tab[data-tab="projet"] {
  background: #e0457b;
}
.pres-tab[data-tab="lieu"] {
  background: #29bad4;
}
.pres-tab[data-tab="equipe"] {
  background: #e67e22;
}
.pres-tab[data-tab="partenaires"] {
  background: #8e44ad;
}
.pres-tabs {
  position: sticky;
  top: 0;
  z-index: 50;
    background: whitesmoke;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.pres-tabs::-webkit-scrollbar {
  display: none;
}

.pres-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 1.4rem 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  flex: 1;
  min-width: 80px;
  white-space: nowrap;
  transition: background 0.25s ease;
  border-radius: 0 0 30px 30px;
}

.pres-tab:last-child {
  border-right: none;
}


.pres-tab__label {
  font-family: "MatrimoineFeutre", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.05em;
  color: rgb(255, 255, 255);
  transition: color 0.25s;
}

.pres-tab:hover .pres-tab__label,
.pres-tab:hover .pres-tab__num {
  color: rgb(196, 187, 187);
}
.pres-tab.active {
  filter: brightness(1.1);
}

.pres-tab.active .pres-tab__label {
filter: brightness(1.2);
  font-weight: 700;
}

.pres-tab.active::after {
  transform: scaleX(1);
}

/* =======================================================
   PANNEAUX
======================================================= */

.pres-panel {
  display: none;
  background: var(--pres-bg);
}

.pres-panel.active {
  display: block;
  animation: fadePanel 0.4s ease forwards;
}

@keyframes fadePanel {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =======================================================
   INTRO — 3 colonnes (label / titre+texte / cover)
======================================================= */

.pres-intro {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 4rem;
  align-items: start;
  background: var(--pres-bg);
}

/* Version 2 colonnes quand pas de cover */
.pres-intro--solo {
  grid-template-columns: 1fr 2fr;
}

.pres-intro__cover {
  position: sticky;
  top: 6rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.pres-intro__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
 
}
#tab-equipe .pres-intro__cover img {
    object-fit: contain;
}



.pres-intro__label {
  font-family: "Mohave", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pres-cyan);
  padding-top: 0.6rem;
  position: sticky;
  top: 6rem;
}

.pres-intro__title {
  font-family: "Matrimoine", sans-serif;
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.95;
  color: var(--pres-dark);
  margin-bottom: 2.5rem;
}

.pres-intro__title em {
  font-style: normal;
  color: var(--pres-cyan);
}

.pres-intro__text {
  font-family: "Mohave", sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.78;
  color: var(--pres-text);

}

.pres-intro__text p {
  margin-bottom: 1.2em;
}
.pres-intro__text p:last-child {
  margin-bottom: 0;
}

.pres-intro__text strong {
  color: var(--pres-cyan);
}
.pres-intro__text em {
  color: var(--pres-orange);
  font-style: normal;
}
/*LIEU PHOTO*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.facade-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}
.facade {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #10cdf9;
  overflow: hidden;
}
.zone {
  position: absolute;
  overflow: hidden;
  cursor: crosshair;
}
.zone svg {
  width: 100%;
  height: 100%;
  display: block;
}
.overlay-img {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 10;
}
.hint {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

/* =======================================================
   SÉPARATEUR
======================================================= */

.pres-sep {
  height: 4px;
  background: yellow;
}

/* =======================================================
   BLOCS TEXTE + IMAGE ALTERNÉS
======================================================= */

.pres-bloc {
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  min-height: 65vh;
  border-bottom: 1px solid var(--pres-mid);
  position: relative;
}

.pres-bloc--reverse {
  direction: rtl;
}
.pres-bloc--reverse > * {
  direction: ltr;
}

/* Colonne texte */
.pres-bloc__text {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.pres-bloc__text::before {
  content: "";
  position: absolute;
  top: 5rem;
  left: 4rem;
  width: 36px;
  height: 4px;
  background: var(--pres-cyan);
}

.pres-bloc--reverse .pres-bloc__text::before {
  left: auto;
  right: 4rem;
}

.pres-bloc__label {
  font-family: "Mohave", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pres-cyan);
  margin-bottom: 1.5rem;
}

.pres-bloc__title {
  font-family: "Matrimoine", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  color: var(--pres-dark);
  margin-bottom: 2rem;
}

.pres-bloc__corps {
  font-family: "Mohave", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.78;
  color: var(--pres-text);
  max-width: 440px;
}

/* Colonne média */
.pres-bloc__media {
  position: relative;
  overflow: hidden;
  background: var(--pres-mid);
  min-height: 55vh;
}

.pres-bloc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* -----------
 * ---Galerie auto-rotate locale */
.pres-local-galerie {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-top: 1.5rem;
  background: var(--pres-dark);
}

.pres-local-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.pres-local-slide.active {
  opacity: 1;
}

/* Image planning pleine largeur */
.pres-planning {
  width: 100%;
  background: #fff;
  padding: 3rem 4rem;
}

.pres-planning img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .pres-planning {
    padding: 2rem 1.5rem;
  }
}
/* =======================================================
   HOTSPOTS (carte territoire)
======================================================= */

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 180, 180, 0.65);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 9;
}

.hotspot.tram-e {
  width: 36px;
  height: 36px;
  background: rgba(255, 212, 131, 0.85);
}

.hotspot:hover {
  background: rgba(41, 186, 212, 0.75);
}
.hotspot.tram-e:hover {
  background: rgba(255, 0, 233, 0.2);
  border: 3px solid var(--pres-gold);
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-family: "Mohave", sans-serif;
  font-size: 0.9rem;
  text-align: center;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hotspot.tram-e .tooltip {
  background: var(--pres-gold);
  color: #000;
  font-weight: bold;
  border: 2px solid #fff;
  text-transform: uppercase;
}

.hotspot:hover .tooltip,
.hotspot.tram-e:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* =======================================================
   AVANT / APRÈS (section lieu)
======================================================= */

.avant-apres {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  position: relative;
  cursor: none;
  height: 100%;
  min-height: 55vh;
  align-items: stretch;
}

.comparaisonleft {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aa-title {
  font-family: "Mohave", sans-serif;
  font-size: 1.1rem;
  color: var(--pres-pink);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  transform: rotate(-3deg);
  display: inline-block;
}

.aa-img-wrap {
  position: relative;
  flex: 1;
}

.aa-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.5s ease;
}

.comparaisonright {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparaisonright img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  border-radius: 8px;
}

/* Curseur texte */
.cursor-text {
  position: fixed;
  pointer-events: none;
  font-family: "Mohave", sans-serif;
  font-size: 1rem;
  background: rgba(255, 252, 0, 0.55);
  color: #172c02;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.avant-apres:hover .cursor-text {
  opacity: 1;
}

/* =======================================================
   SPLASH — BAS DE PAGE ONGLETS
======================================================= */

.pres-splash {
  background: var(--splash-bg, var(--pres-cyan));
  color: var(--splash-color, #fff);
  padding: 0 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pres-splash::after {
  content: "TRAM-E";
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Matrimoine", sans-serif;
  font-size: 5rem;
  opacity: 0.07;
  pointer-events: none;
  color: currentColor;
  white-space: nowrap;
}
.pres-splash img {
  height: 80px;
  width: auto;
  opacity: 0.07;
}

/* =======================================================
   PARTENAIRES — grille 4 colonnes
======================================================= */

.pres-partenaires {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 5rem 4rem;
  background: var(--pres-bg);
}

.part-col {
  padding: 0 2rem;
  border-right: 1px solid var(--pres-mid);
}

.part-col:first-child {
  padding-left: 0;
}
.part-col:last-child {
  border-right: none;
}

.part-col h3 {
  font-family: "Mohave", sans-serif;
  font-size: 1rem;

  text-transform: uppercase;
  color: var(--pres-orange);
  margin-bottom: 1rem;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pres-cyan);
}

.part-col h3:first-child {
  margin-top: 0;
}

.part-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.part-col li {
  margin: 0.3em 0;
  font-family: "Mohave", sans-serif;
  font-size: 0.95rem;
}

.part-col a {
  color: var(--pres-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.part-col a:hover {
  color: var(--pres-pink);
}

/* =======================================================
   RESPONSIVE — TABLETTE
======================================================= */

@media (max-width: 1024px) {
  .pres-hero__content {
    padding: 0 3rem 4rem;
  }

  .pres-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 5rem 3rem;
  }
  .pres-intro--solo {
    grid-template-columns: 1fr;
  }
  .pres-intro__label {
    position: static;
  }
  .pres-intro__cover {
    position: static;
    aspect-ratio: 16/9;
  }

  .pres-bloc {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pres-bloc--reverse {
    direction: ltr;
  }
  .pres-bloc__media {
    min-height: 50vw;
  }
  .pres-bloc__text {
    padding: 3rem;
  }
  .pres-bloc__text::before {
    top: 3rem;
    left: 3rem;
  }

  .pres-partenaires {
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem 2rem;
  }
  .part-col {
    padding: 0 1.5rem 2rem;
    border-right: none;
    border-bottom: 1px solid var(--pres-mid);
  }
  .part-col:nth-child(odd) {
    border-right: 1px solid var(--pres-mid);
  }
  .part-col:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* =======================================================
   RESPONSIVE — MOBILE
======================================================= */

@media (max-width: 768px) {
  .pres-hero {
    min-height: 100svh;
  }
  .pres-hero__content {
    padding: 0 1.5rem 3rem;
  }
  .pres-hero__title {
    font-size: clamp(4rem, 18vw, 8rem);
  }
  .pres-hero__intro {
    font-size: 1rem;
  }

  .pres-intro {
    padding: 4rem 1.5rem;
    gap: 1.5rem;
  }
  .pres-intro__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  .pres-intro__text {
    font-size: 1rem;
  }

  .pres-tab {
    flex: 1;
    padding: 1rem 1.2rem;
    min-width: auto;
  }
  .pres-tab__label {
    font-size: 1rem;
   align-items: center;
  }

  .pres-bloc__text {
    padding: 2.5rem 1.5rem;
  }
  .pres-bloc__text::before {
    left: 1.5rem;
    top: 1rem;
  }
  .pres-bloc__media {
    min-height: 60vw;
  }

  .avant-apres {
    flex-direction: column;
    min-height: auto;
    padding: 1.5rem;
  }
  .comparaisonleft,
  .comparaisonright {
    flex: none;
  }
  .comparaisonleft {
    min-height: 50vw;
  }
  .comparaisonright {
    flex-direction: row;
  }
  .comparaisonright img {
    height: 30vw;
  }

  .pres-partenaires {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .part-col {
    padding: 0 0 2rem;
    border-right: none;
    border-bottom: 1px solid var(--pres-mid);
  }
  .part-col:last-child {
    border-bottom: none;
  }

  .pres-splash {
    padding: 0.5rem 1.5rem;
  }

}


/* =======================================================
   CONTENUS 2026 — liens, piliers, équipe, partenaires
   (ajouts : le reste de la feuille est inchangé)
======================================================= */

/* ---- Lieu : liens et piliers ---- */
.pres-intro__text a {
  color: var(--pres-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.pres-intro__text a:hover {
  color: var(--pres-pink);
}
.pres-intro__text .pilier {
  display: block;
  font-family: "Matrimoine", sans-serif;
  font-size: 1.35em;
  line-height: 1.1;
  margin-bottom: 0.15em;
}

/* Intro sans image : le texte occupe toute la largeur (texte plus long) */
.pres-intro--solo .pres-intro__body {
  grid-column: 1 / -1;
}
.pres-intro--solo .pres-intro__text {
  max-width: 900px;
}

/* ---- Titres de section (même esprit que .pres-bloc__title) ---- */
.pres-section__title {
  position: relative;
  padding-top: 1.6rem;
  font-family: "Matrimoine", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  color: var(--pres-dark);
  margin-bottom: 1.5rem;
}
.pres-section__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 4px;
  background: var(--pres-cyan);
}

/* ---- Section 2 colonnes : titre / contenu ---- */
.pres-duo {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem 4rem;
  padding: 5rem 4rem;
  background: var(--pres-bg);
  align-items: start;
}
.pres-duo__texte p,
.pres-texte p {
  font-family: "Mohave", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.78;
  color: var(--pres-text);
  margin-bottom: 1em;
}
.pres-texte {
  max-width: 760px;
}

/* ---- Équipe : portraits ---- */
.pres-groupe__title {
  font-family: "Mohave", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pres-orange);
  padding-bottom: 0.5rem;
  margin: 0 0 1.5rem;
  border-bottom: 2px solid var(--pres-cyan);
}
.pres-groupe__title:not(:first-child) {
  margin-top: 3rem;
}

.pres-people {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2rem 1.5rem;
}
.pres-person {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.pres-person img,
.pres-person__ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.pres-person__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Matrimoine", sans-serif;
  font-size: 4rem;
  color: #fff;
  background: var(--pres-cyan);
}
.pres-person:nth-child(even) .pres-person__ph {
  background: var(--pres-orange);
}
.pres-person__nom {
  margin-top: 0.6rem;
  font-family: "Matrimoine", sans-serif;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--pres-dark);
}
.pres-person__role {
  font-family: "Mohave", sans-serif;
  font-size: 1rem;
  color: var(--pres-orange);
}

/* ---- Équipe : mosaïque de photos ---- */
.pres-mosaique {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 2rem;
}
.pres-mosaique li {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}
.pres-mosaique img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.pres-mosaique li:hover img {
  transform: scale(1.06);
}

/* ---- Partenaires : 3 colonnes de texte ---- */
.pres-partenaires--textes {
  grid-template-columns: repeat(3, 1fr);
}
.part-col p {
  font-family: "Mohave", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pres-text);
  margin-bottom: 1em;
}
.part-col li {
  line-height: 1.55;
  margin-bottom: 0.9em;
}
.part-col li a strong,
.part-col p a strong {
  color: var(--pres-dark);
}
.part-col p a {
  color: var(--pres-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.part-col p a:hover {
  color: var(--pres-pink);
}

/* ---- Partenaires : liste "multiples facettes" en accordéons ---- */
.pres-facettes {
  padding: 5rem 4rem;
  background: var(--pres-bg);
}
.pres-facettes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
  align-items: start;
  margin-top: 2rem;
}
.pres-facettes__note {
  margin-top: 2.5rem;
  max-width: 760px;
  font-family: "Mohave", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--pres-text);
}

.part-cat {
  border-top: 2px solid var(--pres-cyan);
}
.part-cat > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font-family: "Mohave", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pres-dark);
  transition: color 0.2s ease;
}
.part-cat > summary::-webkit-details-marker {
  display: none;
}
.part-cat > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--pres-orange);
}
.part-cat[open] > summary::after {
  content: "–";
}
.part-cat > summary:hover {
  color: var(--pres-pink);
}
.part-cat__count {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--pres-orange);
}
.part-cat > p {
  font-family: "Mohave", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pres-text);
  margin-bottom: 1rem;
}

.part-list {
  list-style: none;
  padding: 0 0 1.5rem;
  margin: 0;
  font-family: "Mohave", sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--pres-text);
}
.part-list li {
  display: inline;
}
.part-list li + li::before {
  content: " · ";
  color: var(--pres-orange);
}
.part-list a {
  color: var(--pres-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--pres-cyan);
  transition: color 0.2s ease;
}
.part-list a:hover {
  color: var(--pres-pink);
}

.part-sub > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.4rem 0 1rem;
  font-family: "Mohave", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pres-cyan);
}
.part-sub > summary::-webkit-details-marker {
  display: none;
}
.part-sub > summary::before {
  content: "+ ";
}
.part-sub[open] > summary::before {
  content: "– ";
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pres-duo {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }
  .pres-partenaires--textes {
    grid-template-columns: 1fr;
  }
  .pres-partenaires--textes .part-col,
  .pres-partenaires--textes .part-col:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid var(--pres-mid);
    padding: 0 0 2rem;
    margin-bottom: 2rem;
  }
  .pres-partenaires--textes .part-col:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  .pres-facettes {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .pres-duo,
  .pres-facettes {
    padding: 2.5rem 1.5rem;
  }
  .pres-facettes__grid {
    grid-template-columns: 1fr;
  }
  .pres-people {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .pres-mosaique {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* =======================================================
   ONGLET « LE PROJET » — étiquette, chapeau, phrase de fin
   (ajouts : le reste de la feuille est inchangé)
======================================================= */

p.pres-eyebrow {
  font-family: "Mohave", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e0457b;
  margin-bottom: 1.2rem;
}

/* Couleur de l'onglet : rose */
#tab-projet .pres-intro__title em,
#tab-projet .pres-section__title::before {
  color: #e0457b;
}
#tab-projet .pres-section__title::before {
  background: #e0457b;
}
#tab-projet .pres-intro__text strong {
  color: #e0457b;
}
#tab-projet .pres-intro__text a {
  color: #e0457b;
}

/* « Et si la laine était bien plus qu'une histoire de moutons ? » */
p.pres-chapeau {
  font-family: "Matrimoine", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  line-height: 1.15;
  color: var(--pres-dark);
  margin-bottom: 1.6rem;
}

/* Phrase de conclusion */
.pres-citation-wrap {
  padding: 5rem 4rem;
  background: var(--pres-bg);
  text-align: center;
}
.pres-citation {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Matrimoine", sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1.1;
  color: var(--pres-dark);
}
.pres-citation em {
  font-style: normal;
  color: #e0457b;
}

@media (max-width: 1024px) {
  .pres-citation-wrap {
    padding: 3.5rem 2rem;
  }
}
@media (max-width: 768px) {
  .pres-citation-wrap {
    padding: 3rem 1.5rem;
  }
}

/* =======================================================
   ONGLETS EN BULLES SUR MOBILE — 2 par ligne
   (même rendu que le laboratoire textile)
======================================================= */
@media (max-width: 768px) {
  .pres-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: visible;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  .pres-tab {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 1rem;
    border-radius: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .pres-tab:nth-child(2n) {
    border-right: none;
  }
  .pres-tab:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  .pres-tab__label {
    font-size: 0.9rem;
  }
}
