/* ======================== */
/*      VARIABLES           */
/* ======================== */

/*
 * The original Canva design is laid out on a 1366px-wide canvas.
 * Every font-size and spacing below is proportional to 1366 so the
 * composition stays faithful at any viewport width.
 *
 * Reference scale (px at 1366 width → vw):
 *   100px → 7.32vw   (hero title)
 *    78.7 → 5.76vw   (section titles : COMMUNICATION, MONTAGE/VFX, LOGICIELS, MERCI…)
 *    76.9 → 5.63vw   (PHOTO title)
 *    72.2 → 5.29vw   (COLLABORATIONS)
 *    60.8 → 4.45vw   (SHINOLAFRITE)
 *    56   → 4.10vw   (large prose : "Création de visuels…")
 *    54.7 → 4.00vw   (big subtitles : "Projets récents", "VISUELS", "Visuels")
 *    54.3 → 3.98vw   (stats numbers 38K/34K/28K)
 *    52.8 → 3.87vw   (MES RÉSEAUX)
 *    51.7 → 3.78vw   ("Pour ne citer que les plus connus")
 *    42.9 → 3.14vw   (stats "Abonnés")
 *    40.0 → 2.93vw   (collab names, "Vidéos", "Visuels")
 *    39.8 → 2.91vw   (stats platforms "YouTube/TikTok/Twitch")
 *    33.4 → 2.44vw   ("Voir plus...")
 *    29.3 → 2.15vw   (collab "XX abonnés")
 *    24.0 → 1.76vw   (project titles, year, software names)
 *    20.9 → 1.53vw   ("Ciel éther", "MJM")
 *    20.0 → 1.46vw   (CTA "Contactez-moi par e-mail")
 *    18.7 → 1.37vw   (hero subtitle)
 *    18.1 → 1.33vw   (sidebar "Projets récents")
 *    16.4 → 1.20vw   ("L'agence smile")
 *    16.0 → 1.17vw   (body text, hero nav, descriptions)
 */

:root {
  --black: #111111;
  --white: #ffffff;
  --gray: #6b6b6b;
  --light-gray: #e5e5e5;
  --dashed-border: 2px dashed #111111;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.4;
}

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

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 65%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0) 65%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.6vw 5.6vw 4vw;
  max-width: 66%;
  color: var(--white);
}

/* 100px @ 1366 : scale down on smaller, cap at 100px (the design size) */
.hero h1 {
  font-weight: 700;
  font-size: min(7.32vw, 100px);
  line-height: 1;
  margin-bottom: 1.7vw;
  color: var(--white);
}

/* 18.7px = 1.37vw, cap at 18.7px */
.hero-subtitle {
  font-size: min(1.37vw, 18.7px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2.5vw;
  color: var(--white);
}

.hero-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3vw;
  margin-bottom: 3vw;
}

/* 16px = 1.17vw */
.hero-nav a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-style: italic;
  font-weight: 700;
  font-size: min(1.17vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  width: max-content;
}

.hero-nav a:hover { opacity: 0.7; }

/* 20px = 1.46vw */
.hero-cta {
  display: inline-block;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  font-size: min(1.46vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.hero-cta:hover { opacity: 0.7; }

/* ======================== */
/*   GENERIC SECTION TITLES */
/* ======================== */

section { padding: 3vw 5.6vw; }

/* 78.7px = 5.76vw — COMMUNICATION, MONTAGE/VFX, LOGICIELS... */
.section-title {
  display: inline-block;
  font-weight: 700;
  font-size: min(5.76vw, 6.5rem);
  line-height: 1;
  border: var(--dashed-border);
  padding: 0.5em 0.8em 0.55em;
  margin-bottom: 2vw;
  text-transform: uppercase;
}

/* Inline subtitle "Projets récents" at 54.7/78.7 = 0.695em */
.section-title .subtitle {
  display: block;
  font-weight: 400;
  font-size: 0.695em;
  margin-top: 0.05em;
  padding-left: 1em;
  text-transform: uppercase;
}

/* 40px = 2.93vw — "Vidéos" / "Visuels" mini-label */
.mini-label {
  display: block;
  font-weight: 700;
  font-size: min(2.93vw, 3.3rem);
  text-transform: uppercase;
  margin-bottom: 1vw;
}

/* 33.4px = 2.44vw — "Voir plus..." */
.voir-plus {
  display: inline-block;
  color: var(--black);
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: min(2.44vw, 2.75rem);
  margin-top: 1vw;
  transition: opacity 0.2s;
}

.voir-plus:hover { opacity: 0.6; }

/* ======================== */
/*   RÉSEAUX SECTION        */
/* ======================== */

.reseaux { padding: 3vw 5.6vw 2vw; background: var(--white); }

.reseaux-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3vw;
}

/* SHINOLAFRITE is 60.8px = 4.45vw ; MES RÉSEAUX is 52.8px = smaller line */
.reseaux-header .section-title {
  margin-bottom: 0;
  font-size: min(4.45vw, 5rem);
  padding: 0.5em 0.7em 0.55em;
  line-height: 1.05;
}

.reseaux-header .section-title .line-mes {
  display: block;
  font-size: 0.87em; /* 52.8 / 60.8 */
}

.reseaux-avatar {
  width: min(14vw, 190px);
  height: min(14vw, 190px);
  border-radius: 50%;
  background: #f0e0c0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: min(5vw, 5rem);
}

.reseaux-avatar img { width: 100%; height: 100%; object-fit: cover; }

.stats-row {
  display: flex;
  justify-content: space-around;
  gap: 2vw;
  margin: 2.5vw auto;
  max-width: 80%;
}

.stat-item { text-align: center; }

/* 39.8px = 2.91vw */
.stat-platform {
  font-size: min(2.91vw, 3.25rem);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.3em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* 54.3px = 3.98vw italic bold */
.stat-number {
  font-weight: 700;
  font-style: italic;
  font-size: min(3.98vw, 4.5rem);
  line-height: 1;
  margin-bottom: 0.2em;
}

/* 42.9px = 3.14vw */
.stat-label {
  font-size: min(3.14vw, 3.5rem);
  color: var(--black);
  font-weight: 300;
}

/* ======================== */
/*   COLLABORATIONS         */
/* ======================== */

.collaborations { padding: 3vw 5.6vw 2vw; background: var(--white); }

/* 72.2px = 5.29vw */
.collaborations .section-title {
  display: block;
  width: fit-content;
  margin: 0 auto 3vw;
  padding: 0.5em 1.5em 0.55em;
  font-size: min(5.29vw, 5.95rem);
  text-align: center;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw 2vw;
  max-width: 72%;
  margin: 0 auto 2vw;
}

.collab-item { text-align: left; }

.collab-avatar {
  width: min(12vw, 170px);
  height: min(12vw, 170px);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.7vw;
  background: var(--light-gray);
}

.collab-avatar img { width: 100%; height: 100%; object-fit: cover; }

.collab-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gray);
  text-align: center;
  padding: 0.5rem;
}

/* 40.1px = 2.93vw */
.collab-name {
  font-weight: 700;
  font-size: min(2.93vw, 3.3rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.1em;
}

/* 29.3px = 2.15vw — italic bold */
.collab-subs {
  font-size: min(2.15vw, 2.4rem);
  color: var(--black);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.collab-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  max-width: 72%;
  margin: 0 auto;
  align-items: center;
}

.collab-note .collab-item { grid-column: 1; }

/* 51.7px = 3.78vw */
.collab-note-text {
  grid-column: 2 / span 2;
  font-weight: 400;
  font-size: min(3.78vw, 4.25rem);
  line-height: 1.1;
  text-transform: uppercase;
  align-self: center;
}

/* ======================== */
/*   COMMUNICATION          */
/* ======================== */

.communication { padding: 3vw 5.6vw 2vw; background: var(--white); }

.comm-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
  margin-bottom: 1vw;
}

.comm-project {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 16 / 10;
}

.comm-project iframe, .comm-project img {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}

.comm-project-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 0.8rem; font-style: italic;
  padding: 1rem; text-align: center;
  background: var(--light-gray);
}

.comm-project-info {
  display: flex;
  gap: 1.5vw;
  align-items: baseline;
  margin-top: 0.6vw;
  margin-bottom: 2vw;
  flex-wrap: wrap;
}

/* 24px = 1.76vw */
.comm-project-title {
  font-weight: 700;
  font-size: min(1.76vw, 2rem);
  text-transform: uppercase;
}

/* 16px = 1.17vw */
.comm-project-desc {
  font-size: min(1.17vw, 1.35rem);
  color: var(--black);
  max-width: 32vw;
  line-height: 1.4;
}

.comm-project-year {
  font-weight: 700;
  font-size: min(1.76vw, 2rem);
  margin-left: auto;
}

/* Visuels subsection */
.visuels-block {
  margin-top: 1vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  align-items: start;
}

/* 56px = 4.1vw — thin/light big prose */
.visuels-text p {
  font-size: min(4.1vw, 4.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5vw;
}

.visuels-text .year-client {
  font-size: min(1.76vw, 2rem);
  color: var(--black);
}

.visuels-text .year-client strong {
  font-weight: 700;
  margin-right: 0.8em;
}

.visuels-text .year-client .client {
  font-size: min(1.2vw, 1.35rem);
  font-weight: 400;
}

.visuels-image {
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 3 / 4;
  max-width: 26vw;
  margin-left: auto;
}

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

/* ======================== */
/*   MONTAGE / VFX          */
/* ======================== */

.montage-vfx { padding: 3vw 5.6vw 2vw; background: var(--white); }

.montage-content {
  display: grid;
  grid-template-columns: 2.8fr 1fr;
  gap: 2vw;
  margin-top: 1.5vw;
}

.montage-video {
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 16 / 11;
}

.montage-video img, .montage-video iframe {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}

.montage-sidebar { padding-top: 0.25rem; }

/* 18.1px = 1.33vw */
.montage-sidebar .sidebar-label {
  font-weight: 700;
  font-size: min(1.33vw, 1.5rem);
  text-transform: uppercase;
  margin-bottom: 2vw;
}

/* 20.9px = 1.53vw */
.montage-project-info h4 {
  font-weight: 700;
  font-size: min(1.53vw, 1.75rem);
  margin-bottom: 0.1em;
}

.montage-project-info .school {
  font-weight: 700;
  font-size: min(1.53vw, 1.75rem);
  margin-bottom: 1.5vw;
}

.montage-project-info .year {
  font-weight: 700;
  font-size: min(1.76vw, 2rem);
  margin-bottom: 0.3em;
}

.montage-project-info .desc {
  font-size: min(1.17vw, 1.35rem);
  color: var(--black);
  line-height: 1.45;
}

.montage-full {
  margin-top: 1.5vw;
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 21 / 9;
}

.montage-full img, .montage-full iframe {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}

.montage-full-info {
  display: flex;
  gap: 1.5vw;
  align-items: baseline;
  margin-top: 0.6vw;
  margin-bottom: 2vw;
  flex-wrap: wrap;
}

/* ======================== */
/*   PHOTO                  */
/* ======================== */

.photo-section { padding: 3vw 5.6vw 2vw; background: var(--white); }

/* 76.9px = 5.63vw */
.photo-section > .section-title { font-size: min(5.63vw, 6.35rem); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3vw;
  margin-top: 1.5vw;
}

.photo-grid-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light-gray);
}

.photo-grid-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s ease;
}

.photo-grid-item:hover img { transform: scale(1.03); }

.photo-project-info {
  display: flex;
  gap: 1.5vw;
  align-items: baseline;
  margin-top: 0.6vw;
  margin-bottom: 2vw;
  flex-wrap: wrap;
}

/* ======================== */
/*   LOGICIELS / MATÉRIELS  */
/* ======================== */

.logiciels { padding: 3vw 5.6vw 2vw; background: var(--white); }

.logiciels > .section-title {
  display: block;
  width: fit-content;
  margin: 0 auto 3vw;
  padding: 0.5em 1.5em 0.55em;
  text-align: center;
}

.logiciels-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  margin-top: 1vw;
  align-items: start;
}

.materiel-item { margin-bottom: 2.5vw; }

.materiel-img {
  width: min(20vw, 240px);
  margin-bottom: 0.5vw;
}

.materiel-img img { width: 100%; display: block; }

.materiel-img .img-placeholder {
  height: min(12vw, 150px);
  width: 100%;
}

/* 24px = 1.76vw */
.materiel-name {
  font-weight: 700;
  font-size: min(1.76vw, 2rem);
  margin-bottom: 0.2em;
}

.materiel-specs {
  font-size: min(1.76vw, 2rem);
  color: var(--black);
  line-height: 1.4;
  padding-left: 1.3em;
  font-weight: 400;
}

.materiel-specs li { list-style-type: disc; }

/* Software icons scattered on the right */
.software-cloud {
  position: relative;
  min-height: 30vw;
}

.software-icon {
  position: absolute;
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: min(1.2vw, 1.35rem);
  color: white;
  text-align: center;
  transition: transform 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.software-icon:hover { transform: scale(1.08); }

.sw-davinci {
  top: 0; left: 18%;
  width: 10vw; height: 10vw;
  max-width: 130px; max-height: 130px;
  background: linear-gradient(135deg, #1a1a2e, #2a2a3e);
  border-radius: 28%;
}

.sw-canva {
  top: 3vw; right: 22%;
  width: 7vw; height: 7vw;
  max-width: 95px; max-height: 95px;
  background: linear-gradient(135deg, #7b2ff7 0%, #00c4cc 100%);
  border-radius: 50%;
  font-style: italic;
  font-family: Georgia, serif;
}

.sw-ps {
  top: 11vw; right: 8%;
  width: 8.5vw; height: 8.5vw;
  max-width: 115px; max-height: 115px;
  background: linear-gradient(135deg, #001e36, #31a8ff);
  font-size: min(3vw, 2.4rem);
  font-weight: 900;
}

.sw-ae {
  top: 13vw; left: 10%;
  width: 9vw; height: 9vw;
  max-width: 120px; max-height: 120px;
  background: linear-gradient(135deg, #2a0845, #9c4dff);
  font-size: min(3vw, 2.4rem);
  font-weight: 900;
}

.sw-c4d {
  top: 22vw; left: 40%;
  width: 6.2vw; height: 6.2vw;
  max-width: 85px; max-height: 85px;
  background: linear-gradient(135deg, #0a1628, #1a3a5c);
  border-radius: 50%;
  font-size: 0.7rem;
}

.sw-blender {
  top: 24vw; right: 18%;
  width: 6vw; height: 6vw;
  max-width: 80px; max-height: 80px;
  background: transparent;
  box-shadow: none;
  color: #ea7600;
  font-size: min(3.5vw, 2.8rem);
  border-radius: 50%;
}

/* ======================== */
/*   FOOTER                 */
/* ======================== */

.footer {
  padding: 5vw 5.6vw 3vw;
  background: var(--white);
  position: relative;
  min-height: 40vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-inner {
  max-width: 60%;
  margin-left: 18%;
}

/* 78.7px = 5.76vw */
.footer h2 {
  font-weight: 700;
  font-size: min(5.76vw, 6.5rem);
  line-height: 1.05;
  margin-bottom: 0.2em;
  text-transform: uppercase;
}

/* 24px = 1.76vw */
.footer p {
  font-size: min(1.76vw, 2rem);
  color: var(--black);
}

/* 20px = 1.46vw */
.footer-cta {
  align-self: flex-end;
  display: inline-block;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  font-size: min(1.46vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  margin-top: 5vw;
}

.footer-cta:hover { opacity: 0.6; }

/* ======================== */
/*   SUB-PAGES              */
/* ======================== */

.subpage { padding: 3vw 5.6vw 2vw; }
.subpage-header { margin-bottom: 2vw; }

.subpage-header h1 {
  font-weight: 700;
  font-size: min(5.76vw, 6.5rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0.15em;
}

.subpage-header h2 {
  font-weight: 400;
  font-size: min(4vw, 4.5rem);
  color: var(--black);
  text-transform: uppercase;
  padding-left: 1em;
}

.back-link {
  display: inline-block;
  margin-top: 2vw;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--black);
  font-size: min(2vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  float: right;
}

.back-link:hover { opacity: 0.6; }

.video-item { margin-bottom: 2vw; }

.video-embed {
  width: 85%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-size: 0.9rem;
  margin: 0 auto 0.8rem;
}

.video-embed img, .video-embed iframe {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}

.video-item-info {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  width: 85%;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.visuels-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3vw;
  margin-bottom: 1.5vw;
}

.visuels-gallery-item {
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 3 / 4;
}

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

.visuels-large-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5vw;
  margin-bottom: 2vw;
}

.visuels-large-item {
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 4 / 5;
}

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

.dark-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3vw;
  margin-top: 1vw;
}

.dark-photo-item {
  overflow: hidden;
  background: #111;
  aspect-ratio: 4/3;
}

.dark-photo-item.full-width {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

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

/* Placeholders */
.img-placeholder {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.75rem;
  font-style: italic;
  text-align: center;
  padding: 0.5rem;
}

.separator {
  border: none;
  border-top: 1px solid var(--light-gray);
  margin: 2vw 5.6vw;
}

/* ======================== */
/*   RESPONSIVE             */
/* ======================== */

@media (max-width: 900px) {
  .hero-content { padding: 6vw; max-width: 100%; }
  .hero h1 { font-size: 12vw; }
  .hero-subtitle { font-size: 3.2vw; }
  .hero-nav a, .hero-cta { font-size: 2.6vw; }
  .hero-overlay {
    background: linear-gradient(to right,
      rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
  }

  section, .subpage, .reseaux, .collaborations, .communication,
  .montage-vfx, .photo-section, .logiciels, .footer { padding: 6vw 4vw; }

  .separator { margin: 3vw 4vw; }
  .section-title { font-size: 8vw; }
  .mini-label { font-size: 4.5vw; }
  .voir-plus { font-size: 3.8vw; }

  .reseaux-header { flex-direction: column; align-items: flex-start; gap: 4vw; }
  .reseaux-header .section-title { font-size: 7vw; }
  .reseaux-avatar { width: 22vw; height: 22vw; font-size: 8vw; }

  .stats-row { gap: 3vw; max-width: 100%; justify-content: space-between; }
  .stat-platform { font-size: 3.5vw; }
  .stat-number { font-size: 6vw; }
  .stat-label { font-size: 3.5vw; }

  .collab-grid { grid-template-columns: repeat(2, 1fr); gap: 4vw; max-width: 100%; }
  .collab-avatar { width: 22vw; height: 22vw; }
  .collab-name { font-size: 4vw; }
  .collab-subs { font-size: 3vw; }
  .collab-note { grid-template-columns: 1fr; max-width: 100%; }
  .collab-note-text { grid-column: 1; font-size: 5vw; }
  .collaborations .section-title { font-size: 8vw; }

  .comm-projects-grid { grid-template-columns: 1fr; }
  .comm-project-title, .comm-project-year { font-size: 3.5vw; }
  .comm-project-desc { font-size: 3vw; max-width: 100%; }

  .montage-content { grid-template-columns: 1fr; }
  .montage-sidebar .sidebar-label,
  .montage-project-info h4,
  .montage-project-info .school { font-size: 3.5vw; }
  .montage-project-info .year { font-size: 4vw; }
  .montage-project-info .desc { font-size: 3vw; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 1vw; }

  .visuels-block { grid-template-columns: 1fr; }
  .visuels-text p { font-size: 6vw; }
  .visuels-image { margin-left: 0; max-width: 100%; }

  .logiciels-content { grid-template-columns: 1fr; }
  .software-cloud { min-height: 80vw; }
  .materiel-img { width: 50vw; max-width: none; }
  .materiel-name, .materiel-specs { font-size: 3.5vw; }

  .footer-inner { margin-left: 0; max-width: 100%; }
  .footer h2 { font-size: 9vw; }
  .footer p, .footer-cta { font-size: 3.5vw; }

  .subpage-header h1 { font-size: 8vw; }
  .subpage-header h2 { font-size: 6vw; }
  .back-link { font-size: 3.5vw; }

  .video-embed, .video-item-info { width: 100%; }
  .visuels-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .collab-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .visuels-gallery { grid-template-columns: repeat(2, 1fr); }
  .visuels-large-grid { grid-template-columns: 1fr; }
}
