/*
Theme Name: IconLab
Theme URI: https://iconlab.fr
Author: Louis Hollier
Description: Thème personnalisé IconLab — Visualisation architecturale
Version: 2.0
*/

/* ============================================
   VARIABLES & RESET
============================================ */
:root {
  --noir:        #0E0D0B;
  --blanc:       #F4F2EE;
  --bordeaux:    #991D2D;   /* accent principal — remplace le jaune */
  --texte:       #1A1917;
  --gris:        #6B6560;
  --gris-clair:  #A8A29E;

  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;

  --transition:  600ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-rapide: 300ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  cursor: none;
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--texte);
  background: var(--noir);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* ============================================
   CURSEUR PERSONNALISÉ
============================================ */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--bordeaux);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor.hover {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 1px solid var(--bordeaux);
}

/* ============================================
   TYPOGRAPHIE
============================================ */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris-clair);
}

p { max-width: 62ch; }

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  transition: background var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(14, 13, 11, 0.95);
  backdrop-filter: blur(12px);
  padding: 20px 60px;
  border-bottom: 1px solid rgba(244, 242, 238, 0.06);
}

/* Logo image */
.nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* Fallback texte si pas de logo */
.nav__logo-text {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanc);
}

.nav__links {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav__links a {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gris-clair);
  transition: color var(--transition-rapide);
}

.nav__links a:hover { color: var(--blanc); }
.nav__links a.active { color: var(--blanc); }
.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav__logo-text {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanc);
}

@media (max-width: 768px) {
  .nav__logo-img {
    height: 28px;
  }
}

/* ============================================
   HAMBURGER — carré, 3 barres
============================================ */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 24px;   /* aussi haut que large → carré */
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blanc);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animation ouverture */
.nav__burger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ============================================
   MENU MOBILE — items centrés superposés
============================================ */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--noir);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav__mobile.open {
  display: flex;
}

/* Chaque lien centré */
.nav__mobile a {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 10vw, 4rem);
  color: var(--blanc);
  transition: color var(--transition-rapide);
  line-height: 1;
}

.nav__mobile a:hover {
  color: var(--bordeaux);
}

/* ============================================
   HERO — vidéos 16:9 / 9:16
============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Conteneur vidéo — les deux versions sont dans le DOM */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

/* Par défaut : 16:9 visible, 9:16 caché */
.hero__video--landscape {
  display: block;
}

.hero__video--portrait {
  display: none;
}

/* Sur mobile portrait ou tablette portrait : on bascule */
@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .hero__video--landscape {
    display: none;
  }
  .hero__video--portrait {
    display: block;
  }
}

/* Fallback image */
.hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.hero__overlay {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  width: 100%;
}

/* ============================================
   HERO CONTENT
============================================ */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  width: 100%;
}

/* Eyebrow ICONLAB - BORDEAUX */
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanc) !important;
  margin: 0 auto 32px auto;
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

.hero__title {
  font-family: var(--serif);
  color: var(--blanc);
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
  text-align: center;
  line-height: 1.1;
}

/* MOBILE FIRST */
.hero__title__top {
  display: block;
  font-size: 8.5vw; /* base mobile */
  font-weight: 300;
  line-height: 1.1;
}

.hero__title__bottom {
  display: block;
  font-size: 9.5vw; /* +30% vs top sur mobile */
  font-weight: 400;
  line-height: 1.1;
  margin-top: 0.06em; /* 150% de l’interligne = 1.1 * 0.15 ≈ 0.165 */
}

/* DESKTOP ≥1024px */
@media (min-width: 1024px) {
  .hero__content {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .hero__title__top {
    font-size: 3.2vw; /* base desktop */
  }
  
  .hero__title__bottom {
    font-size: 3.8vw; /* +18% vs top sur desktop pour matcher la largeur */
    margin-top: 0.06em; /* 150% de l’interligne */
  }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.hero__scroll span {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.4);
}

.hero__scroll__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--bordeaux), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.001% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION MANIFESTE
============================================ */
.manifeste {
  background: var(--blanc);
  padding: 140px 60px;
  display: flex;
  justify-content: center;
}

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

.manifeste__tag {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--bordeaux);
  vertical-align: middle;
  margin-right: 16px;
}

.manifeste__question {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--texte);
  margin-bottom: 40px;
  line-height: 1.25;
}

.manifeste__body {
  font-size: 1.0625rem;
  color: var(--texte);
  line-height: 1.8;
}

.manifeste__body p {
  margin-bottom: 24px;
  max-width: 100%;
}

.manifeste__body p:last-child { margin-bottom: 0; }

.manifeste__signature {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 25, 23, 0.1);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--bordeaux);
}

/* ============================================
   SECTION PROJETS — GRILLE
============================================ */
.projets-section {
  background: var(--noir);
  padding: 120px 60px;
}

.projets-section__header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 80px;
}

.projets-section__titre {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blanc);
  font-weight: 300;
}

.projets-section__count {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gris);
  text-transform: uppercase;
}

.projets-grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.projet-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.projet-card:nth-child(3) {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

.projet-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.projet-card:hover .projet-card__img {
  transform: scale(1.04);
}

.projet-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 11, 0);
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.projet-card:hover .projet-card__overlay {
  background: rgba(14, 13, 11, 0.65);
}

.projet-card__info {
  transform: translateY(12px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.projet-card:hover .projet-card__info {
  transform: translateY(0);
  opacity: 1;
}

.projet-card__lieu {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 6px;
}

.projet-card__titre {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--blanc);
  font-weight: 300;
  line-height: 1.2;
}

/* ============================================
   BOUTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte);
  border-bottom: 1px solid var(--texte);
  padding-bottom: 4px;
  transition: color var(--transition-rapide), border-color var(--transition-rapide);
}

.btn:hover {
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}

.btn--bordeaux {
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}

.btn--blanc {
  color: var(--blanc);
  border-color: var(--blanc);
}

.btn::after {
  content: '→';
  transition: transform var(--transition-rapide);
}

.btn:hover::after {
  transform: translateX(4px);
}

/* ============================================
   CTA
============================================ */
.cta-section {
  background: var(--blanc);
  padding: 160px 60px;
  text-align: center;
}

.cta-section__titre {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--texte);
  font-weight: 300;
  margin-bottom: 48px;
  line-height: 1.2;
}

/* ============================================
   PAGE PROJETS
============================================ */
.page-projets {
  background: var(--noir);
  min-height: 100vh;
  padding: 160px 60px 120px;
}

.page-header { margin-bottom: 100px; }

.page-header__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 16px;
}

.page-header__titre {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--blanc);
  font-weight: 300;
}

.projets-liste {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

/* ============================================
   ÉTUDE DE CAS — LAYOUT COMPLET
============================================ */
.case-study {
  background: var(--noir);
  min-height: 100vh;
}

/* Hero */
.case-study__hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.case-study__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.case-study__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(14,13,11,0.92) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.case-study__lieu {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 16px;
}

.case-study__titre {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--blanc);
  font-weight: 300;
  max-width: 800px;
  line-height: 1.1;
}

/* Body */
.case-study__body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 60px;
}

/* Pitch intro */
.case-study__pitch {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 100px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(244, 242, 238, 0.08);
}

.case-study__pitch-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  padding-top: 6px;
}

.case-study__pitch-texte {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--blanc);
  line-height: 1.65;
  font-weight: 300;
  max-width: 100%;
}

/* ============================================
   PLANS — LAYOUTS FLEXIBLES
   
   Chaque plan est un .cs-plan avec des variantes :
   .cs-plan--standard    : image gauche, texte droite (ou inverse)
   .cs-plan--full        : image pleine largeur + texte dessous
   .cs-plan--triptych    : 3 images côte à côte + texte dessous
   .cs-plan--diptych     : 2 images côte à côte + texte dessous
   .cs-plan--feature     : grande image + petite image + texte
============================================ */
.cs-plans {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

/* --- STANDARD : image + texte en colonnes --- */
.cs-plan--standard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Alternance gauche/droite */
.cs-plan--standard:nth-child(even) .cs-plan__media { order: 2; }
.cs-plan--standard:nth-child(even) .cs-plan__text  { order: 1; }

/* --- FULL : image pleine largeur --- */
.cs-plan--full {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cs-plan--full .cs-plan__media {
  width: 100%;
}

.cs-plan--full .cs-plan__text {
  max-width: 720px;
}

/* --- TRIPTYCH : 3 images côte à côte --- */
.cs-plan--triptych {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-plan--triptych .cs-plan__media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.cs-plan--triptych .cs-plan__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* --- DIPTYCH : 2 images côte à côte --- */
.cs-plan--diptych {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-plan--diptych .cs-plan__media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.cs-plan--diptych .cs-plan__text {
  max-width: 720px;
}

/* --- FEATURE : 1 grande + 1 petite --- */
.cs-plan--feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 6px 6px;
}

.cs-plan--feature .cs-plan__media {
  grid-row: 1;
  grid-column: 1;
}

.cs-plan--feature .cs-plan__media-secondary {
  grid-row: 1;
  grid-column: 2;
  overflow: hidden;
}

.cs-plan--feature .cs-plan__text {
  grid-row: 2;
  grid-column: 1 / -1;
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* --- Images dans les plans --- */
.cs-plan__media img,
.cs-plan__media-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cs-plan__media,
.cs-plan__media-secondary {
  overflow: hidden;
}

.cs-plan__media:hover img,
.cs-plan__media-secondary:hover img {
  transform: scale(1.03);
}

/* Ratios d'images */
.cs-plan--standard .cs-plan__media { aspect-ratio: 4/3; }
.cs-plan--triptych .cs-plan__media > * { aspect-ratio: 3/4; }
.cs-plan--diptych  .cs-plan__media > * { aspect-ratio: 4/3; }
.cs-plan--feature  .cs-plan__media { aspect-ratio: 3/2; }
.cs-plan--feature  .cs-plan__media-secondary { aspect-ratio: 3/4; }
.cs-plan--full     .cs-plan__media { aspect-ratio: 16/7; }

/* --- Texte dans les plans --- */
.cs-plan__numero {
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--bordeaux);
  margin-bottom: 16px;
  font-style: italic;
}

.cs-plan__titre {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.875rem);
  color: var(--blanc);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cs-plan__corps {
  color: var(--gris-clair);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 100%;
}

.cs-plan__vibration {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9375rem;
}

.cs-plan__vibration::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--bordeaux);
  flex-shrink: 0;
  position: relative;
  top: -3px;
}

.cs-plan__vibration-texte {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bordeaux);
  font-size: 1rem;
  max-width: 100%;
}

/* ============================================
   RÉSULTAT
============================================ */
.case-study__resultat {
  margin-top: 100px;
  padding: 60px;
  border: 1px solid rgba(192, 38, 58, 0.2);
  background: rgba(192, 38, 58, 0.04);
}

.case-study__resultat-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 24px;
}

.case-study__resultat-texte {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--blanc);
  font-weight: 300;
  line-height: 1.5;
  max-width: 100%;
}

/* Navigation entre projets */
.case-study__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(244, 242, 238, 0.08);
  margin-top: 100px;
}

.case-study__nav-item {
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition-rapide);
}

.case-study__nav-item:hover {
  background: rgba(244, 242, 238, 0.03);
}

.case-study__nav-item--next {
  text-align: right;
  border-left: 1px solid rgba(244, 242, 238, 0.08);
}

.case-study__nav-dir {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris);
}

.case-study__nav-titre {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--blanc);
  font-weight: 300;
}

/* ============================================
   PAGE À PROPOS
============================================ */
.page-about {
  background: var(--blanc);
  min-height: 100vh;
  padding: 160px 60px 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-photo {
  position: sticky;
  top: 120px;
  align-self: start;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-photo__caption {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--gris);
  line-height: 1.5;
}

.about-content__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 32px;
}

.about-content__titre {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--texte);
  font-weight: 300;
  margin-bottom: 48px;
  line-height: 1.15;
}

.about-content__body {
  font-size: 1.0625rem;
  color: var(--texte);
  line-height: 1.8;
  max-width: 100%;
}

.about-content__body p {
  margin-bottom: 24px;
  max-width: 100%;
}

.about-content__infos {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid rgba(26, 25, 23, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-content__info-ligne {
  display: flex;
  gap: 24px;
}

.about-content__info-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  min-width: 120px;
}

.about-content__info-val {
  font-size: 0.9375rem;
  color: var(--texte);
}

.about-content__cta { margin-top: 60px; }

/* ============================================
   PAGE CONTACT
============================================ */
.page-contact {
  background: var(--noir);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 60px 120px;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.contact-titre {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--blanc);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.1;
}

.contact-sous-titre {
  color: var(--gris-clair);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 64px;
  max-width: 100%;
}

/* Formulaire */
.form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group {
  position: relative;
  border-bottom: 1px solid rgba(244, 242, 238, 0.12);
  padding: 20px 0;
  transition: border-color var(--transition-rapide);
}

.form-group:focus-within {
  border-bottom-color: var(--bordeaux);
}

/* Label : visible mais discret, plus clair que le gris par défaut */
.form-group label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 162, 158, 0.65);   /* gris-clair à 65% */
  margin-bottom: 6px;
  transition: color var(--transition-rapide);
}

/* Focus : label bordeaux */
.form-group:focus-within label {
  color: var(--bordeaux);
}

/* Champs input/textarea */
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--blanc);
  line-height: 1.6;
  resize: none;
}

/* Placeholder : même couleur que par défaut, légèrement plus atténué */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(168, 162, 158, 0.35);
}

.form-group textarea { min-height: 120px; }

.form-submit {
  margin-top: 48px;
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bordeaux);
  color: var(--blanc);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-rapide);
}

.btn-submit:hover { background: #9a1d2f; }
.btn-submit::after { content: '→'; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px;
  border: 1px solid rgba(192, 38, 58, 0.3);
}

.form-success.visible { display: block; }

.form-success p {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--blanc);
  font-style: italic;
  max-width: 100%;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--noir);
  padding: 48px 60px;
  border-top: 1px solid rgba(244, 242, 238, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris);
}

.footer__logo img {
  height: 22px;
  width: auto;
  opacity: 0.5;
  transition: opacity var(--transition-rapide);
}

.footer__logo img:hover { opacity: 0.8; }

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  transition: color var(--transition-rapide);
}

.footer__links a:hover { color: var(--blanc); }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(107, 101, 96, 0.5);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE — TABLETTE
============================================ */
@media (max-width: 1024px) {
  .nav { padding: 24px 32px; }
  .nav.scrolled { padding: 16px 32px; }

  .manifeste,
  .projets-section,
  .cta-section,
  .page-projets,
  .page-about,
  .page-contact { padding-left: 32px; padding-right: 32px; }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .case-study__hero-overlay,
  .case-study__body { padding-left: 32px; padding-right: 32px; }

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

  .cs-plan--standard {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cs-plan--standard:nth-child(even) .cs-plan__media,
  .cs-plan--standard:nth-child(even) .cs-plan__text { order: unset; }

  .cs-plan--feature {
    grid-template-columns: 1fr;
  }

  .cs-plan--feature .cs-plan__media,
  .cs-plan--feature .cs-plan__media-secondary,
  .cs-plan--feature .cs-plan__text {
    grid-column: 1;
    grid-row: auto;
  }

  .cs-plan--feature .cs-plan__text {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
============================================ */
@media (max-width: 768px) {
  html { cursor: auto; }
  .cursor { display: none; }

  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 16px 24px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__title { font-size: clamp(2.2rem, 9vw, 3rem); }

  .manifeste,
  .projets-section,
  .cta-section { padding: 80px 24px; }

  .projets-grille,
  .projets-liste { grid-template-columns: 1fr; }

  .projet-card:nth-child(3) {
    grid-column: 1;
    aspect-ratio: 4/3;
  }

  .page-about { padding: 120px 24px 80px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo {
    position: relative;
    top: 0;
  }

  .page-contact { padding: 120px 24px 80px; }

  .case-study__hero { height: 60vh; }

  .case-study__hero-overlay,
  .case-study__body { padding: 32px 24px; }

  .case-study__resultat { padding: 32px 24px; }

  .case-study__nav { grid-template-columns: 1fr; }

  .case-study__nav-item--next {
    border-left: none;
    border-top: 1px solid rgba(244, 242, 238, 0.08);
    text-align: left;
  }

  .case-study__nav-item { padding: 32px 24px; }

  .cs-plans { gap: 64px; }

  .cs-plan--triptych .cs-plan__media {
    grid-template-columns: 1fr;
  }

  .cs-plan--diptych .cs-plan__media {
    grid-template-columns: 1fr;
  }

  .cs-plan--triptych .cs-plan__text { text-align: left; }

  .footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 40px 24px;
  }

/* Espacement "On la fait vibrer" — 130% du line-height entre les deux premières lignes */
.hero__title__bottom {
  display: block;
  margin-top: -0.5em; /* 30% supplémentaire × line-height 1.1 = 1.43× l'espacement actuel */
}

/* Menu mobile — espacement items 150% de l'actuel (40px → 60px) */
.nav__mobile {
  gap: 60px;
}