﻿/* font */
* {
  box-sizing: border-box;
}

/* général */
body {
  font-weight: normal;
  background-color: black;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0px;
}

body.demarrage_actif {
  overflow: hidden;
}

.demarrage_site {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #63ff75;
  background: #020502;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  opacity: 1;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.demarrage_site::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(99, 255, 117, 0.035) 0,
    rgba(99, 255, 117, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  content: '';
}

.demarrage_site.termine {
  opacity: 0;
  visibility: hidden;
}

.demarrage_contenu {
  position: relative;
  width: min(720px, calc(100% - 40px));
  text-shadow: 0 0 8px rgba(99, 255, 117, 0.65);
}

.demarrage_entete,
.chargement_infos {
  display: flex;
  justify-content: space-between;
  color: rgba(99, 255, 117, 0.65);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.texte_demarrage {
  min-height: 150px;
  margin: 36px 0 45px;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: clamp(11px, 1.7vw, 15px);
  line-height: 2;
}

.chargement_ligne {
  width: 100%;
  height: 12px;
  border: 1px solid #63ff75;
  padding: 2px;
  box-shadow: 0 0 12px rgba(99, 255, 117, 0.35);
}

.barre_demarrage {
  width: 0;
  height: 100%;
  background: #63ff75;
  box-shadow: 0 0 12px #63ff75;
  transition: width 75ms linear;
}

.chargement_infos {
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .demarrage_site,
  .barre_demarrage {
    transition: none;
  }
}

@media (max-width: 600px) {
  .demarrage_contenu {
    width: calc(100% - 28px);
  }

  .demarrage_entete,
  .chargement_infos {
    font-size: 9px;
  }
}

/* gros titre */
h1 {
  font-size: 20px;
  color: white;
  height: 50px;
}

h2 {
  font-size: 40px;
  color: white;
  height: 50px;
}

h3 {
  color: white;
  height: 60px;
  font-size: 50px;
}

/* navigation */
.nav_barre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  background-color: black;
}

.nav_barre_projet {
  box-sizing: border-box;
  justify-content: flex-start;
}

.nav_gauche {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav_barre_projet .nav_projet_retour {
  gap: 0;
}

.nav_barre_projet .nav_lien_retour {
  box-sizing: border-box;
  min-width: 44px;
  padding: 0 6px;
  justify-content: center;
}

.nav_barre_projet .liens_projet_centres {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  margin-left: clamp(12px, 2vw, 28px);
}

.nav_barre_projet .liens_projet_centres a,
.nav_barre_projet .liens_projet_centres button {
  box-sizing: border-box;
  min-width: 44px;
  padding: 0 6px;
  justify-content: center;
}

@media (max-width: 700px) {
  .nav_barre_projet {
    padding: 0 10px;
  }

  .nav_barre_projet .nav_projet_retour {
    width: auto;
  }

  .nav_barre_projet .liens_projet_centres {
    width: auto;
    gap: 0;
    margin-left: 6px;
  }

  .nav_barre_projet .liens_projet_centres a,
  .nav_barre_projet .liens_projet_centres button {
    padding: 0 3px;
    font-size: 11px;
  }

  .nav_barre_projet .nav_lien_retour {
    padding: 0 3px;
  }
}

@media (max-width: 300px) {
  .nav_barre_projet .nav_lien_retour {
    min-width: 36px;
    padding: 0 1px;
    font-size: 10px;
  }

  .nav_barre_projet .liens_projet_centres {
    margin-left: 2px;
  }

  .nav_barre_projet .liens_projet_centres a,
  .nav_barre_projet .liens_projet_centres button {
    min-width: 36px;
    padding: 0 1px;
    font-size: 10px;
  }
}

.nav_gauche a,
.nav_gauche button {
  display: flex;
  align-items: center;
  width: auto;
  height: 50px;
  white-space: nowrap;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  text-decoration: none;
}

.nav_gauche a.nav_lien_actif {
  text-decoration: underline;
  text-decoration-color: white;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.nav_logo {
  position: absolute;
  top: 50%;
  right: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  overflow: hidden;
  color: white;
  font-size: 40px;
  line-height: 1;
  margin: 0;
  text-decoration: none;
  transform: translateY(-50%);
}

.nav_logo img {
  display: block;
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.nav_gauche a:hover,
.nav_gauche button:hover,
.nav_logo:hover {
  color: lightgrey;
}

/* GRILLE ACCUEIL */
.grille_accueil {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
}

.carte_accueil {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  color: white;
  background: #181818;
  text-decoration: none;
}

.carte_media,
.carte_media img {
  width: 100%;
  height: 100%;
}

.carte_media {
  position: absolute;
  inset: 0;
  background: #242424;
}

.carte_media img {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.carte_media img.active {
  opacity: 1;
}

.grille_accueil > .carte_accueil[data-categorie="EPSAA"] .carte_media img,
.grille_accueil > .carte_accueil.carte_photo .carte_media img {
  background: #080808;
  object-fit: contain;
}

.carte_media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carte_media video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.carte_media video.active {
  opacity: 1;
  transform: scale(1);
}

.carte_accueil:focus-visible .carte_media img.active {
  transform: scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .carte_accueil:hover .carte_media img.active {
    transform: scale(1);
  }
}

.carte_accueil::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
  content: '';
}

.carte_infos {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: clamp(28px, 7vh, 76px);
  left: clamp(20px, 5vw, 80px);
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: clamp(12px, 2vw, 24px);
}

.carte_infos h2 {
  height: auto;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.carte_index,
.carte_action {
  font-size: 11px;
  text-transform: uppercase;
}

.carte_index {
  align-self: start;
  color: lightgrey;
}

.carte_action {
  grid-column: 2;
  color: #bdbdbd;
  font-size: clamp(0.7rem, 1.2vw, 0.95rem);
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.carte_accueil:focus-visible .carte_action {
  opacity: 1;
  transform: translateY(0);
}

.carte_categorie_intro:focus-within .carte_action {
  opacity: 1;
  transform: translateY(0);
}

.carte_categorie_intro:focus-within .carte_media img.active {
  transform: scale(1);
}

.carte_categorie_intro .carte_action:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

.carte_categorie_intro .carte_action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .carte_accueil:hover .carte_action {
    opacity: 1;
    transform: translateY(0);
  }
}

.carte_accueil:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

@media (hover: none), (pointer: coarse) {
  .carte_action {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carte_media img,
  .carte_media video,
  .carte_action {
    transition: none;
  }

  .carte_media img,
  .carte_media video,
  .carte_accueil:hover .carte_media img.active,
  .carte_accueil:focus-visible .carte_media img.active,
  .carte_action {
    transform: none;
  }
}

@media (max-width: 700px) {
  .grille_accueil {
    width: 100%;
  }

  .carte_accueil {
    min-height: 100vh;
    min-height: 100svh;
  }

  .carte_infos {
    right: 20px;
    bottom: 28px;
    left: 20px;
  }

  .carte_infos h2 {
    font-size: clamp(2.5rem, 11vw, 5rem);
  }

  .carte_action {
    opacity: 1;
    transform: none;
  }
}

/* BANNIERE DEFILANTE */
.texte_milieu {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
}

.banniere_texte {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: defile 10s linear infinite;
}

.banniere_texte h3 {
  margin: 0;
  padding-right: 20px;
  background-color: lightgrey;
  color: black;
}

@keyframes defile {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* MENU DEROULANT */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0px);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease, visibility 0s linear 0.4s;
}

.overlay.actif {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(8px);
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease, visibility 0s linear 0s;
}

.menu_deroulant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}

.menu_deroulant.actif {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0s;
}

.menu_deroulant a {
  color: white;
  text-decoration: none;
  font-size: 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.menu_deroulant a:hover {
  color: lightgrey;
}

/* PAGES TRAVAUX */
.page_travaux {
  padding: 100px 40px 40px;
}

.titre_section {
  border-bottom: 2px solid white;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.grille_projets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.liste_projets_video {
  display: flex;
  flex-direction: column;
  gap: 120px;
  counter-reset: projet-video;
}

.projet_video {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #444;
  counter-increment: projet-video;
}

.projet_video::before {
  color: #a7a7a7;
  content: "PROJECT / " counter(projet-video, decimal-leading-zero);
  font-size: 11px;
  line-height: 1.4;
}

.projet_video h3 {
  height: auto;
  max-width: 18ch;
  margin: 0;
  color: white;
  font-size: 48px;
  line-height: 1.05;
}

.projet_video video,
.projet_video iframe,
.lecteur_youtube_bloque {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  border: 0;
  background: #090909;
  object-fit: contain;
}

.lecteur_youtube_bloque {
  position: relative;
  overflow: hidden;
  color: white;
  text-decoration: none;
}

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

.lecteur_youtube_bloque span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 15px;
}

.videos_associees {
  display: grid;
  gap: 64px;
}

.video_associee {
  display: grid;
  gap: 20px;
}

.video_associee h4 {
  margin: 0;
  color: #bdbdbd;
  font-size: 20px;
  font-weight: normal;
}

.galerie_captures {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: start;
  gap: 20px;
}

.capture_principale {
  min-width: 0;
  margin: 0;
  background: #090909;
}

.capture_principale img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.capture_principale figcaption {
  padding: 10px 0 0;
  color: #a7a7a7;
  font-size: 10px;
}

.selection_captures {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bouton_capture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid #444;
  background: #090909;
  opacity: 0.62;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

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

.bouton_capture:hover,
.bouton_capture.actif {
  border-color: white;
  opacity: 1;
}

.bouton_capture:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

@media (min-width: 1000px) {
  .grille_projets {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .grille_projets {
    grid-template-columns: 1fr;
  }

  .liste_projets_video {
    gap: 56px;
  }

  .projet_video h3 {
    font-size: 30px;
  }

  .galerie_captures_active {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .selection_captures {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bouton_capture {
    flex: 0 0 min(34vw, 150px);
  }

  .nav_gauche {
    width: calc(100% - 128px);
    display: flex;
    gap: 16px;
  }

  .nav_gauche a,
  .nav_gauche button {
    font-size: 11px;
  }

  .nav_logo,
  .nav_logo img {
    width: 112px;
    height: 112px;
  }

  .nav_logo {
    right: -8px;
  }
}

/* PHOTO PLAYGROUND */
.page_photo_body {
  overflow: hidden;
}

.photo_playground {
  position: fixed;
  inset: 50px 0 0;
  overflow: clip;
  background: #000;
  outline: none;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.photo_playground.deplacement_actif {
  cursor: grabbing;
}

.photo_playground.serie_active {
  cursor: auto;
  touch-action: pan-y;
}

.photo_scene {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
  transform-origin: 0 0;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.photo_scene.scene_en_retrait {
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.photo_vignette {
  position: absolute;
  transition: left 0.7s ease, top 0.7s ease, transform 0.7s ease, width 0.7s ease, height 0.7s ease;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: inherit;
  opacity: 0;
  animation: photo-apparition 0.8s ease forwards;
}

.photo_vignette img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.65, 0.3, 1);
  pointer-events: none;
}

.photo_vignette img.photo_paysage {
  object-fit: contain;
}

.photo_vignette:hover img,
.photo_vignette:focus-visible img {
  transform: scale(1.035);
}

.photo_vignette:focus-visible {
  outline: 1px solid #111;
  outline-offset: 5px;
  z-index: 1;
}

.photo_vignette:nth-child(3n) {
  animation-delay: 0.08s;
}

.photo_vignette:nth-child(3n + 1) {
  animation-delay: 0.16s;
}

.serie_vue {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px clamp(18px, 4vw, 64px) 56px;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: pan-y;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.serie_vue.actif {
  opacity: 1;
  visibility: visible !important;
  pointer-events: auto;
}

.serie_retour {
  position: sticky;
  top: 0;
  z-index: 2;
  display: block;
  width: max-content;
  margin: 0 auto 12px 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #555;
  color: white;
  background: #000;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.serie_retour:hover,
.serie_retour:focus-visible {
  border-color: white;
}

.serie_entete {
  max-width: 1500px;
  margin: 0 auto 28px;
}

.serie_numero {
  margin: 0 0 10px;
  color: #999;
  font-size: 11px;
}

.serie_entete h1 {
  height: auto;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
}

.serie_description {
  max-width: 600px;
  margin: 16px 0 0;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.6;
}

.nuage_photos {
  max-width: 1500px;
  margin: 0 auto;
  column-count: 4;
  column-gap: 12px;
}

.nuage_photo_item {
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  break-inside: avoid;
  vertical-align: top;
  cursor: zoom-in;
  opacity: 0;
  animation: nuage-apparition 0.55s cubic-bezier(0.2, 0.65, 0.3, 1) forwards;
}

.nuage_photo_item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.nuage_photo_item:hover img,
.nuage_photo_item:focus-visible img {
  transform: scale(1.025);
}

.nuage_photo_item:focus-visible {
  outline: 1px solid white;
  outline-offset: 3px;
}

@keyframes nuage-apparition {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes photo-apparition {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

body.visionneuse_ouverte {
  overflow: hidden;
}

.visionneuse_photo {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.visionneuse_photo.actif {
  opacity: 1;
  visibility: visible;
}

.visionneuse_contenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(52vw, 780px);
  max-width: calc(100vw - 80px);
  max-height: calc(100vh - 80px);
  margin: 0;
}

.visionneuse_contenu img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.visionneuse_contenu figcaption {
  color: #bdbdbd;
  font-size: 12px;
}

.visionneuse_presentation {
  position: absolute;
  top: 50%;
  left: 0;
  width: min(38vw, 520px);
  height: calc(100vh - 80px);
  padding: 100px clamp(24px, 5vw, 80px) 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: white;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: translate(-24px, -50%);
  transition: clip-path 0.55s ease, opacity 0.45s ease 0.15s, transform 0.55s ease 0.1s;
}

.visionneuse_photo.actif .visionneuse_presentation {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translate(0, -50%);
}

.visionneuse_presentation h2 {
  height: auto;
  margin: 0 0 20px;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.1;
}

.visionneuse_presentation p {
  max-width: 360px;
  margin: 0;
  color: lightgrey;
  font-size: 15px;
  line-height: 1.6;
}

.visionneuse_fermer,
.visionneuse_precedente,
.visionneuse_suivante {
  position: absolute;
  z-index: 1;
  border: 0;
  color: white;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.visionneuse_fermer {
  top: 24px;
  right: 28px;
  font-size: 24px;
}

.visionneuse_precedente,
.visionneuse_suivante {
  top: 50%;
  padding: 12px;
  font-size: 24px;
  transform: translateY(-50%);
}

.visionneuse_precedente {
  right: min(58vw, 850px);
}

.visionneuse_suivante {
  right: 18px;
}

@media (max-width: 700px) {
  .visionneuse_photo {
    align-items: flex-end;
    justify-content: center;
  }

  .visionneuse_contenu {
    width: calc(100vw - 48px);
    max-width: none;
    margin: 0 0 32px;
  }

  .visionneuse_presentation {
    top: 62px;
    left: 24px;
    width: calc(100% - 48px);
    height: auto;
    padding: 0;
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .visionneuse_presentation h2 {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .visionneuse_presentation p {
    font-size: 12px;
  }

  .visionneuse_contenu img {
    max-height: calc(100vh - 210px);
  }

  .nuage_photos {
    column-count: 2;
    column-gap: 8px;
  }

  .nuage_photo_item {
    margin-bottom: 8px;
  }

  .visionneuse_precedente {
    left: 14px;
    left: 2px;
  }

  .visionneuse_suivante {
    right: 2px;
  }
}

/* ============================================================
   STYLE GRAND FORMAT (Inspiré de Services Généraux)
   ============================================================ */

.section_liste_categorie {
  scroll-margin-top: 50px;
}

.page_travaux_grand_format {
  width: 100%;
  padding: clamp(80px, 6vw, 104px) 0 0;
  box-sizing: border-box;
}

.entete_section {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  max-width: 1880px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  padding: 0 clamp(18px, 2.6vw, 48px) 14px;
  box-sizing: border-box;
}

.titre_section_sg {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0;
  height: auto;
}

.compteur_projets {
  font-size: 13px;
  color: #777;
  letter-spacing: 0.1em;
}

.carte_capture_projet {
  margin: 0;
}

.video_pleine_largeur {
  width: 100%;
  height: auto;
  max-height: 88vh;
  display: block;
  object-fit: cover;
  background-color: #000;
}

/* Bouton minimaliste de gestion du son */
.bouton_son {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 4;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bouton_son:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.bouton_son.son_actif {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .page_travaux_grand_format {
    padding: 70px 0 0;
  }

  .entete_section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .bouton_son {
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* ============================================================
   INTERFACE SERVICES GÉNÉRAUX — NAVIGATION & ACCUEIL
   ============================================================ */

/* Header fixe façon Services Généraux */
.sg_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  box-sizing: border-box;
}

.sg_header_gauche .sg_logo_titre {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sg_header_gauche .sg_logo_titre:hover {
  opacity: 0.7;
}

/* Filtres catégories centraux */
.sg_filtres {
  display: flex;
  align-items: center;
  gap: 24px;
}

.filtre_bouton {
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: #666;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.filtre_bouton:hover {
  color: #bbb;
}

.filtre_bouton.actif {
  color: #fff;
}

.filtre_bouton.actif::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
}

/* Navigation droite */
.sg_header_droite {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sg_header_droite a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sg_header_droite a:hover {
  color: #fff;
}

.sg_logo_gif {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg_logo_gif img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Feed principal plein écran */
.page_accueil_sg {
  background-color: #000;
  color: #fff;
}

.sg_feed_projets {
  width: 100%;
  padding: 80px 24px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.sg_projet_bloc {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sg_projet_bloc.masque {
  display: none;
}

.sg_projet_lien {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  position: relative;
  cursor: pointer;
}

.sg_projet_lien.sans_lien {
  cursor: default;
}

.sg_projet_lien.sans_lien .sg_overlay_hover {
  display: none;
}

.sg_projet_lien video {
  pointer-events: none;
}

.sg_media_conteneur {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #080808;
}

.sg_media_conteneur video,
.sg_media_conteneur img {
  width: 100%;
  height: auto;
  max-height: 86vh;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.sg_projet_lien:hover .sg_media_conteneur video,
.sg_projet_lien:hover .sg_media_conteneur img {
  transform: scale(1.008);
  filter: brightness(1.03);
}

.sg_overlay_hover {
  position: absolute;
  top: 18px;
  right: 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.sg_projet_lien:hover .sg_overlay_hover {
  opacity: 1;
  transform: translateY(0);
}

.badge_decouvrir {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
}

/* Footer de chaque projet dans le feed */
.sg_projet_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #1a1a1a;
  transition: border-color 0.2s ease;
}

.sg_projet_lien:hover .sg_projet_footer {
  border-bottom-color: #444;
}

.sg_projet_footer .col_client {
  color: #fff;
  font-weight: 500;
}

.sg_projet_footer .col_role {
  color: #888;
}

.sg_projet_footer .col_annee {
  color: #555;
}

/* ============================================================
   PAGE DE PROJET DÉDIÉE (façon Services Généraux / La Fève)
   ============================================================ */

.page_projet {
  background-color: #000;
  color: #fff;
}

.header_projet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  box-sizing: border-box;
}

.header_projet a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease;
}

.header_projet a:hover {
  opacity: 0.7;
}

.header_projet a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.header_projet .lien_retour {
  color: #aaa;
  font-size: 11px;
  opacity: 0.75;
  padding-left: 0;
}

.logo_studio {
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav_projet_droite {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 16px);
}

.conteneur_projet {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  box-sizing: border-box;
}

/* Hero vidéo du projet */
.section_hero_projet {
  width: 100%;
  margin-bottom: 40px;
}

.media_hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.media_hero video {
  width: 100%;
  height: auto;
  max-height: 85vh;
  display: block;
  object-fit: contain;
}

/* En-tête et descriptif du projet */
.section_infos_projet {
  padding-bottom: 48px;
  border-bottom: 1px solid #1c1c1c;
  margin-bottom: 56px;
}

.en_tete_titre {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.titre_projet {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 500;
  color: #fff;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.annee_badge {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #777;
  letter-spacing: 0.1em;
}

.grille_details_projet {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 50px;
}

.description_longue {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #a0a0a0;
  margin: 0;
}

.description_longue em {
  color: #fff;
  font-style: normal;
}

.col_metas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item_meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #161616;
}

.label_meta {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.1em;
}

.valeur_meta {
  font-size: 13px;
  color: #ddd;
}

/* Rubriques Stills & Credits */
.entete_rubrique {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid #222;
  margin-bottom: 30px;
}

.entete_rubrique h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0;
  height: auto;
}

.rubrique_compteur {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.1em;
}

/* Grille de captures d'écran / Stills */
.section_stills {
  margin-bottom: 64px;
}

.grille_stills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.still_item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.still_item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: #080808;
}

.still_item figcaption {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #666;
}

.grille_stills_slider {
  display: block;
}

.grille_stills_slider > .still_item[hidden] {
  display: none !important;
}

.slider_captures {
  margin-top: 24px;
  touch-action: pan-y;
}

.slider_captures:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

.slider_captures_commandes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.slider_captures_bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #444;
  background: #080808;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.slider_captures_bouton:hover:not(:disabled) {
  border-color: #fff;
}

.slider_captures_bouton:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.slider_captures_bouton:disabled {
  color: #666;
  cursor: not-allowed;
  opacity: 0.55;
}

.slider_captures_compteur {
  min-width: 3.5em;
  color: #888;
  font-size: 12px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.slider_captures_annonce {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .slider_captures,
  .slider_captures * {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}

/* Section Équipe Technique / Credits */
.section_credits {
  margin-bottom: 80px;
}

.grille_credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 0;
}

.colonne_credit {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ligne_credit {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid #141414;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.role_credit {
  flex: 0 0 auto;
  font-size: 11px;
  color: #777;
  letter-spacing: 0.08em;
}

.nom_credit {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Navigation bas de page de projet */
.navigation_projets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 0;
  border-top: 1px solid #222;
}

.nav_lien_projet {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.nav_lien_projet:hover {
  color: #fff;
}

/* Responsive smartphone */
@media (max-width: 860px) {
  .sg_header {
    padding: 0 14px;
  }

  .sg_filtres {
    gap: 12px;
  }

  .filtre_bouton {
    font-size: 11px;
  }

  .sg_header_droite {
    gap: 12px;
  }

  .sg_header_droite a {
    font-size: 11px;
  }

  .sg_feed_projets {
    padding: 70px 14px 40px;
    gap: 44px;
  }

  .sg_projet_footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 11px;
  }

  .grille_details_projet {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grille_credits {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ligne_credit {
    align-items: flex-start;
    gap: 12px;
  }

  .navigation_projets {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header_projet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    height: auto;
    min-height: 52px;
    padding: 4px 12px 8px;
    row-gap: 4px;
  }

  .nav_projet_gauche {
    grid-column: 1;
    grid-row: 1;
  }

  .nav_projet_centre {
    grid-column: 2;
    grid-row: 1;
  }

  .nav_projet_droite {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 8px;
  }

  .conteneur_projet {
    padding-top: 108px;
  }
}

@media (max-width: 600px) {
  .nav_projet_droite {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 2px 4px;
  }

  .nav_projet_droite a {
    padding: 0 2px;
  }

  .conteneur_projet {
    padding-top: 158px;
  }
}


$contactAndAboutCss = @'

/* ============================================================
   PAGE CONTACT (Style Paulin Gautier)
   ============================================================ */

.page_contact_body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  color: #ffffff;
  background-color: #000000;
}

/* Vidéo Showreel plein écran en arrière-plan (Double buffer crossfade) */
.contact_video_bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact_video_bg .bg_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  filter: contrast(1.1) brightness(0.8);
}

.contact_video_bg .bg_video.actif {
  opacity: 1;
}

.contact_video_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.8) 100%);
  backdrop-filter: blur(1.5px);
  z-index: 2;
}

/* Barre de navigation sur Contact */
.nav_barre_contact {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

/* Conteneur principal */
.contact_main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 130px 54px 54px 54px;
}

/* En-tête : EMILIEN puis BESTEL */
.contact_identite {
  margin-top: 3vh;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact_nom {
display: flex;
  flex-direction: column;
  height: auto; /* CORRECTION IMPORTANTE */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}

.contact_nom .nom_prenom {
  display: block;
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 900;
}

/* BESTEL légèrement plus petit qu'Emilien */
.contact_nom .nom_famille {
  display: block;
  font-size: clamp(3.8rem, 9.3vw, 8.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  opacity: 0.95;
}

/* Positionnement des métiers DIRECTEMENT SOUS BESTEL avec marge de 1px */
.contact_metiers {
  display: block;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(0.75rem, 1.25vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  margin-bottom: 0;
  margin-left: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
}

/* Bloc coordonnées en bas à droite */
.contact_coordonnees {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px 30px;
  backdrop-filter: blur(14px);
  max-width: 460px;
}

.coord_item {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
}

.coord_label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.coord_lien {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.coord_lien:hover {
  color: #ffffff;
  text-decoration: underline;
}

.fleche_externe {
  font-size: 13px;
  opacity: 0.7;
}

.coord_mail_declencheur {
  color: #ffffff;
  font-weight: 500;
}

.badge_chat {
  font-size: 10px;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 4px;
  transition: all 0.2s ease;
}

.coord_mail_declencheur:hover .badge_chat {
  background: #ffffff;
  color: #000000;
}

/* ============================================================
   PANNEAU CHAT EMAIL FLOTTANT
   ============================================================ */

.chat_mail_panneau {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat_mail_panneau.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat_mail_entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.chat_statut {
  display: flex;
  align-items: center;
  gap: 8px;
}

.point_statut {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulsation_point 2s infinite ease-in-out;
}

@keyframes pulsation_point {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.chat_titre {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #ffffff;
}

.chat_bouton_fermer {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.chat_bouton_fermer:hover {
  color: #ffffff;
}

.chat_formulaire {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat_intro {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 4px 0;
}

.champ_groupe {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.champ_groupe label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

.champ_groupe input,
.champ_groupe textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  padding: 10px 12px;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.champ_groupe input:focus,
.champ_groupe textarea:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.champ_groupe textarea {
  resize: vertical;
  min-height: 70px;
}

.chat_actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.bouton_envoyer_chat {
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.bouton_envoyer_chat:hover {
  background: #d1d5db;
}

.bouton_envoyer_chat:disabled {
  opacity: 0.6;
  cursor: wait;
}

.lien_mailto_classique {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease;
}

.lien_mailto_classique:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.chat_retour {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  min-height: 16px;
}

.chat_retour.succes {
  color: #4ade80;
}

/* ============================================================
   PAGE ABOUT (Layout 2 colonnes & Responsive fenêtre réduite)
   ============================================================ */

.page_about_body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  color: #ffffff;
  background-color: #000000;
}

/* Barre de navigation sur About */
.nav_barre_about {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

/* Structure en 2 colonnes plein écran */
.about_split_layout {
  position: relative;
  display: flex;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

/* Colonne GAUCHE : Texte */
.about_col_texte {
  position: relative;
  flex: 1.15;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 140px 60px 80px 64px;
  z-index: 10;
  background-color: #000000;
}

.about_bloc_contenu {
  max-width: 680px;
  width: 100%;
}

.about_titre_section {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 28px 0;
}

.about_grand_texte {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: left;
  margin: 0 0 40px 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.about_signature {
  display: inline-block;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
}

.about_role {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Colonne DROITE : Diaporama Photo */
.about_col_visuel {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.about_diaporama_conteneur {
  position: relative;
  width: 100%;
  height: 100%;
}

.about_diaporama_conteneur .about_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  filter: contrast(1.08) brightness(0.92);
}

.about_diaporama_conteneur .about_slide.actif {
  opacity: 1;
}

/* Fondu doux et discret entre texte et image (réduit selon demande) */
.about_fondu_separateur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(
    to right,
    #000000 0%,
    rgba(0, 0, 0, 0.65) 6%,
    rgba(0, 0, 0, 0.2) 14%,
    transparent 24%
  );
}

/* ============================================================
   RESPONSIVE MOBILE / FENÊTRE RÉDUITE
   ============================================================ */
@media (max-width: 1080px) {
  /* ABOUT */
  .about_split_layout {
    display: block;
    position: relative;
    min-height: 100vh;
  }

  .about_col_texte {
    background-color: transparent;
    min-height: 100vh;
    padding: 130px 36px 60px 36px;
    display: flex;
    align-items: center;
    z-index: 10;
  }

  .about_bloc_contenu {
    max-width: 760px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px 36px;
  }

  .about_grand_texte {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    line-height: 1.48;
    margin: 0 0 28px 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  }

  .about_col_visuel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
  }

  .about_diaporama_conteneur .about_slide {
    filter: contrast(1.05) brightness(0.6);
  }

  .about_fondu_separateur {
    background: radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }

  /* CONTACT */
  .contact_main {
    padding: 100px 24px 32px 24px;
  }

  .contact_nom .nom_prenom {
    font-size: clamp(3.4rem, 14vw, 5.5rem);
  }

  .contact_nom .nom_famille {
    font-size: clamp(2.9rem, 12vw, 4.6rem);
  }

  .contact_coordonnees {
    align-self: stretch;
    align-items: flex-start;
    padding: 18px 20px;
  }

  .coord_item {
    justify-content: flex-start;
  }

  .chat_mail_panneau {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

@media (max-width: 600px) {
  .about_col_texte {
    padding: 110px 18px 40px 18px;
  }

  .about_bloc_contenu {
    padding: 24px 20px;
  }

  .about_grand_texte {
    font-size: 1.15rem;
    line-height: 1.5;
  }
}
