/* ========================================
   THE GIRL BEHIND V2 — Stylesheet
   ======================================== */

@font-face {
  font-family: 'Righteous';
  src: url('../assets/fonts/Righteous-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Comfortaa uniquement pour le caractère & — meilleure lisibilité */
@font-face {
  font-family: 'Righteous';
  src: url('../assets/fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0026;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #a0a0a0;
  --transition: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  scroll-behavior: smooth;
  background: #000;
}

html, body {
  height: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Righteous', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  display: block;
  max-width: 100%;
}

/* --- Intro animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.94); filter: blur(14px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes overlayLift {
  from { opacity: 1; }
  to   { opacity: 0; visibility: hidden; }
}

/* --- Preloader (1ère visite seulement) --- */
.preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.7s var(--transition);
}

.preloader--hide {
  opacity: 0;
  pointer-events: none;
}

.preloader__logo {
  width: 180px;
  height: auto;
  opacity: 0;
  transform: translateY(8px);
  animation: preloaderLogoIn 0.7s var(--transition) forwards;
}

.preloader__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.preloader__bar {
  width: 160px;
  height: 1.5px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
  opacity: 0;
  animation: preloaderBarIn 0.6s var(--transition) 0.25s forwards;
}

.preloader__bar-fill {
  height: 100%;
  width: 0;
  background: rgba(255,255,255,0.85);
  animation: preloaderBarFill 1.4s cubic-bezier(0.5, 0, 0.2, 1) forwards 0.4s;
}

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

@keyframes preloaderBarIn {
  to { opacity: 1; }
}

@keyframes preloaderBarFill {
  0%   { width: 0; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* Pages internes : transition fluide — fade du contenu uniquement */

/* Le nav reste statique d'une page à l'autre (apparition instantanée) */
.page--inner .header,
.page--inner .nav__brand,
.page--inner .nav__link,
.page--inner .nav__link:nth-child(1),
.page--inner .nav__link:nth-child(2),
.page--inner .nav__link:nth-child(4),
.page--inner .nav__link:nth-child(5) {
  opacity: 1 !important;
  animation: none !important;
  animation-delay: 0s !important;
  transform: none !important;
}

/* Seul le contenu principal fade en douceur */
.page--inner .page,
.page--inner .projects,
.page--inner .project-detail {
  opacity: 0;
  animation: fadeContent 0.6s var(--transition) 0.15s forwards;
}

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

/* Conteneur des pages internes — point de départ sous le header fixe
   (logo titre = 180px + padding 56px = ~236px → on prévoit 17rem = 272px) */
.page {
  min-height: calc(100vh - 100px);
  padding-top: 17rem;
}

/* Annule les marges du conteneur .section quand il est dans une page interne */
.page--inner .section {
  padding: 0 3rem 4rem;
  min-height: 0;
  justify-content: flex-start;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  padding: 1.75rem 4rem;
  opacity: 0;
  animation: fadeInUp 1.1s var(--transition) 1.4s forwards;
}

.nav {
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr 1fr;
  align-items: center;
}

/* Rapprocher les paires extérieures sans toucher à l'écart vers le logo */
.nav__link:nth-child(1) { text-align: right; padding-right: 2rem; }
.nav__link:nth-child(5) { text-align: left;  padding-left: 2rem; }

.nav__link {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.3s var(--transition);
  opacity: 0;
  animation: fadeInUp 0.9s var(--transition) forwards;
}

/* Reveal en cascade depuis le centre */
.nav__link:nth-child(1) { animation-delay: 1.95s; }
.nav__link:nth-child(2) { animation-delay: 1.75s; }
.nav__link:nth-child(4) { animation-delay: 1.75s; }
.nav__link:nth-child(5) { animation-delay: 1.95s; }

.nav__link:hover {
  opacity: 0.65;
}

.nav__link--active {
  opacity: 0.6;
}

.nav__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 1s var(--transition) 1.55s forwards;
}

.nav__brand img {
  height: 105px;
  width: auto;
  object-fit: contain;
}

/* --- Hero --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding-top: 6vh;
}

.hero__logo {
  width: min(230vw, 4800px);
  max-height: 230vh;
  height: auto;
  pointer-events: none;
  opacity: 0;
  animation: logoReveal 1.6s var(--transition) 0.9s forwards;
}

/* --- Sections génériques --- */
.section {
  position: relative;
  padding: 9rem 3rem 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section__title {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 4rem;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
}

/* --- About --- */
.about {
  align-items: center;
}

.about__content {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.about__intro {
  font-family: 'Righteous', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  color: var(--white);
}

.about__description {
  font-family: 'Righteous', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.9;
  color: var(--grey);
  margin-bottom: 1.4rem;
}

.about__clients {
  width: 100%;
  margin-top: 6rem;
  text-align: center;
}

.about__clients-title {
  font-family: 'Righteous', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 140px));
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
}

.client-logo {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s var(--transition);
}

.client-logo:hover {
  opacity: 1;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.1);
}

/* --- Contact --- */
.contact {
  align-items: center;
  justify-content: center;
}

.contact__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact__text {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.04em;
  margin-bottom: 4rem;
  color: var(--white);
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.contact__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.3s var(--transition);
}

.contact__link:hover {
  opacity: 0.65;
}

.contact__link-label {
  font-family: 'Righteous', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
}

.contact__link-value {
  font-family: 'Righteous', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

/* --- Carrousel projets --- */
.page--carousel {
  overflow: hidden;
}

.projects {
  height: 100vh;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

.projects__carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
}

.projects__carousel.is-dragging {
  cursor: grabbing;
}

.projects__track {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.projects__slide {
  flex: 0 0 100vh;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.projects__slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.projects__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition);
}

.projects__slide:hover video {
  transform: scale(1.04);
}

/* Slides image (Graphisme) */
.projects__slide--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition);
}

.projects__slide--image:hover img {
  transform: scale(1.04);
}

/* --- Slide composé (poster complet desktop / éléments séparés mobile) --- */
.projects__slide--composed {
  background: #000;
}

.projects__slide--composed .projects__slide-link {
  cursor: default;
}

/* Desktop par défaut : poster complet, split caché */
.poster-full {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 3rem 4.5rem;
  overflow: hidden;
}

.poster-full img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Zoom au survol — bien réversible quand la souris quitte le slide */
.projects__slide--composed:hover .poster-full img {
  transform: scale(1.04);
}

/* Slide composé : esthétique cohérente avec les anciens slides image
   (titre + catégorie en bas à gauche, gradient permanent) */
.projects__slide--composed {
  position: relative;
}

.projects__slide--composed .projects__slide-info {
  position: absolute;
  bottom: 3rem;
  left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 3;
  pointer-events: none;
}

/* Titre + catégorie : invisibles par défaut, animés quand le slide est actif */
.projects__slide--composed .projects__slide-name,
.projects__slide--composed .projects__slide-cat {
  opacity: 0;
  transform: translateY(24px);
}

@keyframes slideTitleIn {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.projects__slide--composed.is-active .projects__slide-name {
  animation: slideTitleIn 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) 0.35s forwards;
}

.projects__slide--composed.is-active .projects__slide-cat {
  animation: slideTitleIn 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) 0.5s forwards;
}

/* Gradient sombre permanent pour faire ressortir le titre */
.projects__slide--composed .projects__slide-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 45%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.45s var(--transition);
}

/* Léger renforcement du gradient au survol */
.projects__slide--composed:hover .projects__slide-link::after {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
}

/* Conteneur des éléments séparés — caché sur desktop, visible sur mobile */
.poster-compose {
  display: none;
  width: 100%;
  height: 100%;
}

/* Desktop : mosaïque 3 visuels (1 portrait + 2 paysage) — déjà inutilisée
   mais on conserve la règle au cas où le mobile soit ouvert en mode desktop */
.hgallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
  border-radius: 0;
  background: transparent;
}

.hgallery > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Image 1 (portrait) : colonne gauche, 2 lignes */
.hgallery > img:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 9 / 16;
}

/* Image 2 (paysage) : haut droit */
.hgallery > img:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 16 / 10;
}

/* Image 3 (paysage) : bas droit */
.hgallery > img:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 16 / 10;
}

/* Dots cachés sur desktop (visibles uniquement en mobile) */
.hgallery__dots-wrap {
  display: none;
}

.hgallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}

.hgallery__dot.is-active {
  background: var(--white);
  transform: scale(1.3);
}

/* Colonne droite : bloc info (PNG) — fond blanc, comme un encart */
.poster-compose__info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-compose__info img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
}

.projects__slide-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 45%);
  pointer-events: none;
}

.projects__slide-info {
  position: absolute;
  bottom: 4rem;
  left: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.projects__slide-name {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.projects__slide-cat {
  font-family: 'Righteous', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--grey);
}

.projects__slide-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-family: 'Righteous', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: max-content;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.projects__slide-link:hover .projects__slide-more {
  background: rgba(255,255,255,0.18);
  border-color: var(--white);
  transform: translateX(4px);
}

.projects__slide-more svg {
  transition: transform 0.3s;
}

.projects__slide-link:hover .projects__slide-more svg {
  transform: translateX(2px);
}

/* Dots à droite */
.projects__dots {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 10;
}

.projects__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.projects__dot.active {
  background: var(--white);
  transform: scale(1.35);
}

/* Compteur */
.projects__counter {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  font-family: 'Righteous', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  z-index: 10;
}

/* Flèches */
.projects__arrow {
  position: absolute;
  left: 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s, opacity 0.3s;
}

.projects__arrow:hover {
  background: rgba(255,255,255,0.18);
}

.projects__arrow--up {
  bottom: calc(50% + 2rem);
}

.projects__arrow--down {
  top: calc(50% + 2rem);
}

.projects__arrow:disabled {
  opacity: 0.2;
  cursor: default;
}

/* --- Pages détail projet --- */
.project-detail {
  position: relative;
  padding: 11rem 4rem 5rem;
  max-width: 1700px;
  margin: 0 auto;
}

.project-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Righteous', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 3rem;
  transition: color 0.3s;
}

.project-detail__back:hover {
  color: var(--white);
}

.project-detail__header {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.project-detail__title {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project-detail__category {
  font-family: 'Righteous', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

.project-detail__description {
  font-family: 'Righteous', sans-serif;
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--grey);
  margin-bottom: 1.3rem;
}

.project-detail__video {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a0a0a;
}

.project-detail__video--vertical {
  aspect-ratio: 9/16;
  width: 70%;
  justify-self: end;
}

.project-detail__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.project-detail__gallery-item {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0a0a0a;
}

.project-detail__gallery-item {
  cursor: pointer;
  transition: transform 0.4s var(--transition);
}

.project-detail__gallery-item:hover {
  transform: scale(1.012);
}

/* Bouton "+" en haut à droite au hover */
.project-detail__gallery-item::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(178,119,255,0.85);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'><path d='M12 5v14M5 12h14'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.35s var(--transition);
  pointer-events: none;
  z-index: 2;
}

.project-detail__gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.project-detail__gallery-item video,
.project-detail__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Lightbox plein écran --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--transition),
              visibility 0s linear 0.4s;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--transition),
              visibility 0s linear 0s;
}

.lightbox__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.5s var(--transition),
              opacity 0.5s var(--transition);
}

.lightbox--open .lightbox__media {
  transform: scale(1);
  opacity: 1;
}

.lightbox__media video,
.lightbox__media img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

/* Boutons (close + prev + next) */
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  z-index: 2;
}

.lightbox__close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.18);
  transform: rotate(90deg);
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__nav:hover {
  background: rgba(178,119,255,0.35);
  border-color: rgba(178,119,255,0.7);
}

.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox__counter {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Righteous', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Désactive le hover quand lightbox ouverte */
body.lightbox-open {
  overflow: hidden;
}

.project-detail__gallery-item--logo {
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-detail__gallery-item--logo img {
  object-fit: contain;
  padding: 2rem;
}

/* --- Digital Marketing --- */
.digital-marketing {
  align-items: center;
}

.dm__content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.dm__lead {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 3.5rem;
}

.dm__heading {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin: 2.5rem 0 1.4rem;
}

.dm__paragraph {
  font-family: 'Righteous', sans-serif;
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--grey);
  margin-bottom: 1.3rem;
}

/* --- Module : Do you need a website ? --- */
.website-module {
  padding: 5rem 3rem 6rem;
  min-height: auto;
}

.website-module__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

.website-module__title {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #b277ff;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

.website-module__subtitle {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 3rem;
}

.website-module__paragraph {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.6rem;
}

.website-module__paragraph strong {
  font-weight: 400;
  color: var(--white);
}

.website-module__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 700px;
  margin: 0 auto;
}

.website-module__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.website-module__placeholder {
  width: 100%;
  height: 100%;
  background: rgba(178, 119, 255, 0.08);
  border: 1px dashed rgba(178, 119, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Righteous', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(178, 119, 255, 0.6);
}

/* ====== Animation poster — laptop + texte ====== */
.website-mockup {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  /* Plus de bg ni d'overflow:hidden — le halo se fond dans le noir de la page */
}

/* Halo violet derrière, doux et discret, qui se dissipe en bordure */
.website-mockup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(178,119,255,0.20) 0%, rgba(178,119,255,0.06) 35%, transparent 70%);
  filter: blur(55px);
  animation: haloPulse 7s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.9; transform: translate(-50%, -50%) scale(1.08); }
}

/* Légende façon poster */
.website-mockup__caption {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.05;
  opacity: 0;
  animation: captionIn 1s var(--transition) 0.4s forwards;
}

@keyframes captionIn {
  to { opacity: 1; }
}

.caption__small {
  font-family: 'Righteous', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.caption__big {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 500;
  color: #b277ff;
  line-height: 1;
}

.caption__bold {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* Laptop */
.laptop {
  position: relative;
  z-index: 2;
  width: 75%;
  max-width: 320px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.laptop__screen {
  background: linear-gradient(135deg, #1a0d2e 0%, #2d1654 50%, #1a0d2e 100%);
  border: 2px solid #2c2c2c;
  border-radius: 8px;
  padding: 0.6rem;
  aspect-ratio: 16/10;
  box-shadow: 0 0 40px rgba(178,119,255,0.4), inset 0 0 30px rgba(178,119,255,0.1);
  overflow: hidden;
  position: relative;
}

.laptop__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 100% { transform: translateX(-100%); }
  50%      { transform: translateX(100%); }
}

.laptop__bar {
  display: flex;
  gap: 0.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.4rem;
}

.laptop__bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(178,119,255,0.5);
}

.laptop__content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Lignes / blocs animés */
.mock-line {
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(178,119,255,0.6), rgba(178,119,255,0.2));
  transform-origin: left;
  animation: lineGrow 4s ease-in-out infinite;
}

.mock-line--xl { width: 90%; animation-delay: 0.2s; }
.mock-line--l  { width: 70%; animation-delay: 0.4s; }
.mock-line--m  { width: 55%; animation-delay: 1.6s; }
.mock-line--s  { width: 35%; animation-delay: 1.8s; }

@keyframes lineGrow {
  0%, 100% { transform: scaleX(0); opacity: 0; }
  10%      { transform: scaleX(0); opacity: 1; }
  40%, 80% { transform: scaleX(1); opacity: 1; }
  95%      { transform: scaleX(1); opacity: 0; }
}

.mock-block {
  height: 28px;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(178,119,255,0.35), rgba(80,40,160,0.2));
  border: 1px solid rgba(178,119,255,0.3);
  animation: blockIn 4s ease-in-out infinite;
  animation-delay: 0.7s;
  opacity: 0;
}

@keyframes blockIn {
  0%, 100% { opacity: 0; transform: translateY(6px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.mock-grid > div {
  height: 22px;
  border-radius: 3px;
  background: rgba(178,119,255,0.15);
  border: 1px solid rgba(178,119,255,0.25);
  animation: blockIn 4s ease-in-out infinite;
  opacity: 0;
}

.mock-grid > div:nth-child(1) { animation-delay: 1s; }
.mock-grid > div:nth-child(2) { animation-delay: 1.15s; }
.mock-grid > div:nth-child(3) { animation-delay: 1.3s; }

.laptop__base {
  width: 110%;
  height: 6px;
  margin: 0 auto;
  margin-top: -1px;
  background: linear-gradient(to bottom, #2c2c2c, #0a0a0a);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
  .website-module__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* "Aplatit" le wrapper text : ses enfants deviennent direct dans la grid */
  .website-module__text {
    display: contents;
  }

  /* Ordre mobile : titre → visuel laptop → subtitle → paragraphes */
  .website-module__title    { order: 1; margin-bottom: 0.3rem; white-space: normal; }
  .website-module__visual   { order: 2; margin: 1rem auto 1.5rem; max-width: 400px; aspect-ratio: 16 / 11; max-height: 340px; }
  .website-module__subtitle { order: 3; margin-top: 1.5rem; margin-bottom: 1.2rem; }
  .website-module__paragraph {
    order: 4;
    margin-bottom: 0.6rem;
    line-height: 1.45;
    font-size: 0.92rem;
  }
}

/* --- Placeholder pages en construction --- */
.page__placeholder {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: center;
  margin-top: 2rem;
  opacity: 0.5;
}

/* --- Magazine scroll snap (desktop uniquement, pages avec sections) --- */
@media (min-width: 901px) {
  html.snap-enabled {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
    scroll-padding-top: 17rem;
  }

  /* On ne snap PAS la première section (sinon le haut de page disparaît).
     Seules les sections suivantes (et le footer) sont des points d'ancrage. */
  .snap-enabled .section ~ .section,
  .snap-enabled .project-detail__gallery,
  .snap-enabled .footer {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

/* --- Reveal au scroll --- */
/* Tous les éléments ciblés démarrent invisibles + décalés ; révèlés via JS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--transition),
              transform 0.9s var(--transition);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variation : reveal depuis la gauche */
.reveal--left {
  transform: translateX(-28px);
}
.reveal--left.is-visible {
  transform: translateX(0);
}

/* Variation : reveal depuis la droite */
.reveal--right {
  transform: translateX(28px);
}
.reveal--right.is-visible {
  transform: translateX(0);
}

/* Délais en cascade */
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* --- Indicateur scroll (Digital Marketing) --- */
.scroll-hint {
  position: fixed;
  bottom: 3rem;
  /* Centré entre le bord droit du texte (max-width 780px) et le bord de page */
  right: calc((100vw - 780px) / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05rem;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  animation: scrollHintIn 0.7s var(--transition) 0.4s forwards;
}

@keyframes scrollHintIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 0.95; transform: translateY(0); }
}

.scroll-hint__label {
  font-family: 'Righteous', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.scroll-hint__line {
  width: 1.5px;
  height: 55px;
  position: relative;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.scroll-hint__line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(178,119,255,0.9), transparent);
  animation: scrollDrop 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDrop {
  0%   { top: -60%; }
  100% { top: 100%; }
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 2.5rem 3rem;
  font-family: 'Righteous', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  opacity: 0.45;
}

/* --- Hamburger (mobile) --- */
.hamburger {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 26px;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--transition),
              top 0.4s var(--transition),
              opacity 0.3s var(--transition);
}

.hamburger span:nth-child(1) { top: 5px; }
.hamburger span:nth-child(2) { top: 12px; }
.hamburger span:nth-child(3) { top: 19px; }

.hamburger.active span:nth-child(1) {
  top: 12px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 12px;
  transform: rotate(-45deg);
}

/* --- Menu mobile plein écran --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--transition),
              visibility 0s linear 0.45s;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 600px;
  max-height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(178,119,255,0.18) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--transition),
              visibility 0s linear 0s;
}

.mobile-menu__link {
  position: relative;
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--transition),
              transform 0.5s var(--transition),
              color 0.3s var(--transition);
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: #b277ff;
}

.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 0.36s; }

.mobile-menu--open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .header {
    padding: 1rem 1.25rem;
  }

  .nav {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  /* Liens de la nav desktop cachés sur mobile */
  .nav__link {
    display: none !important;
  }

  .hamburger {
    display: block;
  }

  .nav__brand {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }

  .nav__brand img {
    height: 50px;
  }

  .hero__logo {
    width: 200vw;
    max-width: none;
    max-height: 200vh;
  }

  /* Carousels mobile — tap targets agrandis (48px) */
  .projects__slide-info {
    bottom: 6rem;
    left: 2rem;
  }

  .projects__arrow {
    left: 1rem;
    width: 48px;
    height: 48px;
  }

  .projects__dots {
    right: 1rem;
    gap: 0.9rem;
  }

  .projects__dot {
    width: 9px;
    height: 9px;
  }

  .projects__counter {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  /* Pages projet — galerie 1 col, vidéos plein largeur */
  .project-detail {
    padding: 8rem 1rem 4rem;
  }

  .project-detail__header {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .project-detail__video,
  .project-detail__video--vertical {
    width: 100%;
    justify-self: stretch;
  }

  .project-detail__gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Vidéos galerie plus lisibles : line-height texte aéré */
  .project-detail__description {
    line-height: 2;
  }

  /* Bouton "Back to Projects" plus visible */
  .project-detail__back {
    font-size: 0.85rem;
  }

  .lightbox {
    padding: 4rem 0.5rem;
  }

  /* Tap targets lightbox agrandis (48px → 52px) + position plus accessible */
  .lightbox__close,
  .lightbox__nav {
    width: 52px;
    height: 52px;
  }

  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }

  .lightbox__media img,
  .lightbox__media video {
    max-width: 95vw;
    max-height: 80vh;
  }

  /* Graphisme mobile : poster entier affiché avec object-fit: contain */
  .projects__slide--image img {
    object-fit: contain;
    background: #000;
    padding: 4.5rem 0.5rem 7rem;
  }

  .projects__slide--image .projects__slide-info,
  .projects__slide--composed .projects__slide-info {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }

  .projects__slide--image .projects__slide-link::after,
  .projects__slide--composed .projects__slide-link::after {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 14%);
  }

  /* Mobile : on cache le poster complet, on affiche la carte composée */
  .poster-full {
    display: none;
  }

  /* Carte unique aux coins arrondis : top noir (mosaïque) + bottom blanc (info) */
  .poster-compose {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
    width: auto;
    height: auto;
    scrollbar-width: none;
    margin: 1rem;
    border-radius: 20px;
    background: #000;
    box-sizing: border-box;
  }
  .poster-compose::-webkit-scrollbar { display: none; }

  /* Graphisme mobile : mosaïque 3 visuels + bloc info dans une carte unique
     aux coins arrondis (top noir + bottom blanc, comme un mockup phone) */
  .page--graphisme .hgallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.4rem;
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    flex: 0 0 auto;
    padding: 0.5rem;
    background: #000;
    overflow: visible;
    scroll-snap-type: none;
    border-radius: 0;
  }
  .page--graphisme .hgallery::-webkit-scrollbar { display: none; }

  /* Images : reset complet, mosaïque desktop-like sur mobile aussi */
  .page--graphisme .hgallery > img,
  .page--graphisme .hgallery > img:nth-child(1),
  .page--graphisme .hgallery > img:nth-child(2),
  .page--graphisme .hgallery > img:nth-child(3) {
    flex: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: none;
    border-radius: 4px;
  }

  .page--graphisme .hgallery > img:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: 9 / 16;
    object-fit: cover;
  }
  .page--graphisme .hgallery > img:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #000;
  }
  .page--graphisme .hgallery > img:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  /* Dots cachés sur graphisme mobile (plus de carrousel) */
  .page--graphisme .hgallery__dots-wrap {
    display: none;
  }

  /* Bloc info — partie blanche en bas de la carte */
  .page--graphisme .poster-compose__info {
    flex: 0 0 auto;
    width: 100%;
    background: #fff;
    padding: 1.2rem 0 1.5rem;
    overflow: hidden;
  }

  /* Légère mise à l'échelle pour masquer la fine bordure noire du PNG */
  .page--graphisme .poster-compose__info img {
    width: 105%;
    height: auto;
    max-height: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    display: block;
    margin-left: -2.5%;
  }

  /* On masque les flèches verticales du carrousel principal sur Graphisme :
     navigation au swipe uniquement */
  .page--carousel .projects__arrow {
    display: none;
  }

  /* --- Graphisme mobile : scroll libre, plus de carousel imbriqué --- */
  /* L'overflow: hidden du body bloque le scroll → on l'annule */
  .page--graphisme.page--carousel {
    overflow: visible;
  }

  .page--graphisme .projects {
    height: auto;
    overflow: visible;
    padding: 0 !important;
  }

  .page--graphisme .projects__carousel {
    height: auto;
    overflow: visible;
    width: 100%;
    cursor: auto;
  }

  .page--graphisme .projects__track {
    display: block;
    height: auto;
    transform: none !important;
    transition: none;
  }

  .page--graphisme .projects__slide {
    flex: none;
    height: auto;
    min-height: auto;
    margin-bottom: 0;
  }

  /* Le slide composé : hauteur auto, scroll naturel, fond transparent */
  .page--graphisme .projects__slide--composed {
    height: auto;
    background: transparent;
  }

  /* Cache la nav latérale du carrousel principal sur Graphisme uniquement */
  .page--graphisme .projects__dots,
  .page--graphisme .projects__counter,
  .page--graphisme .projects__arrow {
    display: none;
  }

  /* Flux continu : pas de séparation entre les 2 projets */
  .page--graphisme .projects__slide-link::after {
    display: none;
  }

  /* Cache les gros labels "ALAC VISUAL IDENTITY" / "LE BRUIT DES VAGUES POSTER DESIGN" :
     le PNG info-block contient déjà le nom du projet */
  .page--graphisme .projects__slide-info {
    display: none;
  }

  /* Le 1er slide : décalage du haut pour ne pas toucher le header fixe */
  .page--graphisme .projects__slide:first-child .poster-compose {
    margin-top: 5rem;
  }

  /* Le dernier slide : padding-bottom pour respirer avant le footer */
  .page--graphisme .projects__slide:last-child .poster-compose {
    margin-bottom: 3rem;
  }

  /* Mobile : contenu plus haut sur Digital Marketing / About-Contact */
  .page {
    padding-top: 6.5rem;
  }

  /* Titres de section moins gros sur mobile */
  .section__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 2.5rem;
  }

  /* About section : padding latéral plus contenu */
  .section {
    padding: 0 1.5rem 4rem;
  }
}
