/* =============================================
   GasdProduction — Design System
   Ultra-minimaliste, Premium, Apple/Bento
   ============================================= */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* === CSS VARIABLES === */
:root {
  /* --- Couleurs --- */
  --color-bg: #F5F5F7;
  /* Fond Apple gris très clair */
  --color-bg-white: #FFFFFF;
  --color-text: #1D1D1F;
  /* Texte Apple noir */
  --color-text-secondary: #6E6E73;
  /* Texte secondaire gris */
  --color-border: rgba(0, 0, 0, 0.08);

  /* --- Couleurs des cartes --- */
  --card-1: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
  --card-2: linear-gradient(145deg, #f093fb 0%, #f5576c 100%);
  --card-3: linear-gradient(145deg, #4facfe 0%, #00d2ff 100%);
  --card-4: linear-gradient(145deg, #11998e 0%, #38ef7d 100%);
  --card-5: linear-gradient(145deg, #fc4a1a 0%, #f7b733 100%);
  --card-6: linear-gradient(145deg, #a18cd1 0%, #fbc2eb 100%);
  --card-7: linear-gradient(145deg, #fccb90 0%, #d57eeb 100%);

  /* --- Typographie --- */
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Border radius --- */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 100px;

  /* Arrondis du site, un seul réglage pour tout */
  --radius-card: 28px;   /* cartes, photos, vidéos, blocs */
  --radius-inner: 20px;  /* image posée DANS une carte avec marge (s'emboîte dans les 28px) */

  /* --- Transitions --- */
  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* =============================================
   SECTION VIDÉO DE PRÉSENTATION (ACCUEIL 100VH)
   ============================================= */
.video-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background-color: #0b0b0c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-hero-media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 65%,
      rgba(0, 0, 0, 0.5) 100%);
}

/* Bouton Moderne pour le Son */
.video-sound-wrapper {
  position: absolute;
  bottom: 34px;
  right: 36px;
  z-index: 20;
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 20, 0.68);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  user-select: none;
}

.sound-toggle-btn:hover {
  background: rgba(28, 28, 32, 0.88);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.sound-toggle-btn:active {
  transform: scale(0.97);
}

.sound-toggle-btn.sound-on {
  background: rgba(20, 20, 22, 0.85);
  border-color: rgba(56, 239, 125, 0.55);
  box-shadow: 0 8px 25px rgba(56, 239, 125, 0.2);
}

.sound-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.sound-icon-muted {
  display: block;
}

.sound-wave-active {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.wave-bar {
  display: inline-block;
  width: 2.5px;
  background-color: #38ef7d;
  border-radius: 2px;
  transform-origin: bottom;
  animation: soundBarPulse 0.9s ease-in-out infinite alternate;
}

.wave-bar.bar-1 {
  height: 6px;
  animation-delay: 0.05s;
}

.wave-bar.bar-2 {
  height: 13px;
  animation-delay: 0.25s;
}

.wave-bar.bar-3 {
  height: 9px;
  animation-delay: 0.15s;
}

.wave-bar.bar-4 {
  height: 14px;
  animation-delay: 0.35s;
}

@keyframes soundBarPulse {
  0% {
    transform: scaleY(0.35);
  }

  100% {
    transform: scaleY(1.15);
  }
}

.sound-label {
  font-size: 13px;
  line-height: 1;
}

/* Indicateur de Défilement (Scroll Indicator) */
.video-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  z-index: 20;
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.video-scroll-indicator:hover {
  opacity: 1;
  color: #FFFFFF;
  transform: translateX(-50%) translateY(3px);
}

.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(6px);
  }

  60% {
    transform: translateY(3px);
  }
}

@media (max-width: 600px) {
  .video-sound-wrapper {
    bottom: 24px;
    right: 20px;
  }

  .sound-toggle-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .video-scroll-indicator {
    bottom: 24px;
    font-size: 10px;
  }
}

/* =============================================
   NAVIGATION FLOTTANTE
   ============================================= */
/* =============================================
   NAVIGATION FLOTTANTE
   ============================================= */
.nav {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  padding: 0 48px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Pousse le logo à gauche et le menu à droite */
  background: transparent;
  border: none;
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.nav-hidden {
  opacity: 0;
  transform: translateY(-40px);
  /* Changement de l'animation pour un mouvement vertical pur */
  pointer-events: none;
}

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

/* Contrôle la taille du logo */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  /* Empêche le logo de devenir géant */
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

/* Groupe la barre de menu et le bouton "Me contacter" */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 13px 34px;
  border-radius: 100px;
  background: rgba(244, 244, 247, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin: 0;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
  font-weight: 600;
}

/* Le bouton "Me contacter" dans la nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-text);
  padding: 12px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #333;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(244, 244, 247, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--t-smooth);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-logo {
  height: 150px;
  width: auto;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.35s;
}

.hero-title {
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
  max-width: 600px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--color-text-secondary);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.btn-primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(0, 0, 0, 0.22);
}

.btn-outline:hover {
  border-color: var(--color-text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.card-fan-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards 1.0s;
  perspective: 1400px;
}

.card-fan {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.card {
  position: absolute;
  top: 100%;
  width: 70px;
  height: 100px;
  border-radius: var(--radius-card);
  cursor: pointer;
  transform-origin: bottom center;
  transition: transform var(--t-spring), box-shadow var(--t-smooth), z-index 0s;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.card::after {
  display: none;
}

.card-inner {
  display: none;
}

.card-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.card:nth-child(1) {
  background: var(--card-1);
  transform: rotate(-22deg) translate(-180px, -25px) scale(0.74);
  z-index: 1;
  box-shadow: -4px 8px 30px rgba(102, 126, 234, 0.4);
}

.card:nth-child(2) {
  background: var(--card-2);
  transform: rotate(-13deg) translate(-110px, -35px) scale(0.84);
  z-index: 2;
  box-shadow: -3px 7px 25px rgba(245, 87, 108, 0.35);
}

.card:nth-child(3) {
  background: var(--card-3);
  transform: rotate(-5deg) translate(-50px, -55px) scale(0.92);
  z-index: 3;
  box-shadow: -2px 6px 20px rgba(79, 172, 254, 0.35);
}

.card:nth-child(4) {
  background: var(--card-4);
  transform: rotate(0deg) translate(0px, -70px) scale(1.05);
  z-index: 4;
  box-shadow: 0 12px 45px rgba(17, 153, 142, 0.35);
}

.card:nth-child(5) {
  background: var(--card-5);
  transform: rotate(5deg) translate(50px, -55px) scale(0.92);
  z-index: 3;
  box-shadow: 2px 6px 20px rgba(252, 74, 26, 0.3);
}

.card:nth-child(6) {
  background: var(--card-6);
  transform: rotate(13deg) translate(110px, -35px) scale(0.84);
  z-index: 2;
  box-shadow: 3px 7px 25px rgba(161, 140, 209, 0.35);
}

.card:nth-child(7) {
  background: var(--card-7);
  transform: rotate(22deg) translate(180px, -25px) scale(0.74);
  z-index: 1;
  box-shadow: 4px 8px 30px rgba(252, 203, 144, 0.4);
}

.card:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22) !important;
  z-index: 10 !important;
}

.card:nth-child(1):hover {
  transform: rotate(-17deg) translate(-175px, -65px) scale(0.84);
}

.card:nth-child(2):hover {
  transform: rotate(-9deg) translate(-105px, -75px) scale(0.95);
}

.card:nth-child(3):hover {
  transform: rotate(-2deg) translate(-47px, -95px) scale(1.02);
}

.card:nth-child(4):hover {
  transform: rotate(0deg) translate(0px, -115px) scale(1.15);
}

.card:nth-child(5):hover {
  transform: rotate(2deg) translate(47px, -95px) scale(1.02);
}

.card:nth-child(6):hover {
  transform: rotate(9deg) translate(105px, -75px) scale(0.95);
}

.card:nth-child(7):hover {
  transform: rotate(17deg) translate(175px, -65px) scale(0.84);
}

.section {
  padding: 100px 48px;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-hero {
  padding: 150px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 20px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 520px;
  line-height: 1.65;
}

/* =============================================
   PAGE CRÉATIONS — Dossiers Apple style
   ============================================= */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 70px 40px;
  max-width: 1050px;
  margin: 0 auto;
  padding-top: 40px;
}

.folder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.folder-wrapper {
  position: relative;
  width: 220px;
  height: 150px;
  margin-bottom: 24px;
}

.folder-back {
  position: absolute;
  inset: 0;
  background: #E8E8ED;
  border-radius: 12px;
  z-index: 1;
}

.folder-photos {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.folder-photo {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 4px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.folder-photo.left {
  transform: rotate(-18deg) translateX(-35px) translateY(10px);
  z-index: 2;
}

.folder-photo.right {
  transform: rotate(18deg) translateX(35px) translateY(10px);
  z-index: 2;
}

.folder-photo.center {
  transform: rotate(0) translateY(-10px);
  z-index: 3;
}

.folder-card:hover .folder-photo {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.folder-card:hover .folder-photo.left {
  transform: rotate(-18deg) translateX(-65px) translateY(-15px) scale(1.1);
}

.folder-card:hover .folder-photo.right {
  transform: rotate(18deg) translateX(65px) translateY(-15px) scale(1.1);
}

.folder-card:hover .folder-photo.center {
  transform: rotate(0) translateY(-40px) scale(1.15);
  z-index: 6;
}

.folder-card:hover .folder-front {
  transform: translateY(4px) scale(0.98);
  opacity: 0.95;
}

.folder-front {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0 14px 14px 14px;
  z-index: 4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.folder-front::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 80px;
  height: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: inherit;
  -webkit-backdrop-filter: inherit;
  border-radius: 12px 12px 0 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1);
}

.folder-lines {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.folder-line {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255, 255, 255, 1);
}

.folder-sticker {
  position: absolute;
  background: #fff;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.folder-sticker.stamp {
  top: 25px;
  left: 20px;
  border: 2px dashed #eee;
  padding: 6px;
  border-radius: 4px;
  transform: rotate(-10deg);
}

.folder-sticker.torii {
  bottom: 35px;
  right: 20px;
  transform: rotate(8deg);
  background: transparent;
  box-shadow: none;
  font-size: 32px;
}

.folder-sticker.star {
  top: 15px;
  right: 25px;
  transform: rotate(15deg);
  font-size: 20px;
  padding: 6px;
  border-radius: 50%;
}

.folder-sticker.record {
  bottom: 30px;
  left: 30px;
  transform: rotate(-5deg);
  background: transparent;
  box-shadow: none;
  font-size: 28px;
}

.folder-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.folder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

/* =============================================
   PAGE CRÉATIONS — MODAL (Dossier Ouvert)
   ============================================= */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.modal-content {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thinner;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.project-modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 0;
}

.modal-close {
  background: var(--color-bg-white);
  color: var(--color-text);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-left: 20px;
}

.modal-close:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

.modal-body {
  flex: 1;
}

.project-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}

.project-thumb-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s;
}

.project-thumb-card:hover {
  transform: translateY(-4px);
}

.thumb-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.thumb-image::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.project-thumb-card:hover .thumb-image::after {
  opacity: 1;
}

.thumb-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.thumb-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* =============================================
   PAGE À PROPOS
   ============================================= */
.about-section {
  padding: 0 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-lead {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 680px;
  margin-bottom: 80px;
}

.about-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.about-block {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform var(--t-smooth), box-shadow var(--t-smooth);
}

.about-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

.about-block.wide {
  grid-column: span 2;
}

.about-block.tall {
  grid-row: span 2;
}

.about-block.accent {
  background: var(--color-text);
  color: var(--color-bg);
}

.about-block-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-block h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

.about-block.accent h3 {
  color: rgba(255, 255, 255, 0.5);
}

.about-block h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.about-block.accent h2 {
  color: var(--color-bg);
}

.about-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.about-block.accent p {
  color: rgba(255, 255, 255, 0.65);
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.skill-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-text);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 64px 48px 40px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 240px;
  line-height: 1.6;
}

.footer-nav h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fluidWord {
  from {
    transform: translateY(110%) rotate(3deg);
    opacity: 0;
  }

  to {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s 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;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* =============================================
   RESPONSIVE — Tablette & Mobile
   ============================================= */
@media (max-width: 1024px) {
  .about-bento {
    grid-template-columns: 1fr 1fr;
  }

  .about-block.wide {
    grid-column: span 2;
  }

  .creation-card.featured {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nav {
    top: 16px;
    width: calc(100% - 32px);
    padding: 0;
    background: transparent;
    justify-content: flex-end;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    border-radius: 24px;
    padding: 24px;
    gap: 18px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .hero {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .card-fan-container {
    height: 340px;
  }

  .card {
    width: 180px;
    height: 250px;
  }

  .card:nth-child(1) {
    transform: rotate(-22deg) translate(-320px, 55px) scale(0.7);
  }

  .card:nth-child(2) {
    transform: rotate(-13deg) translate(-175px, 28px) scale(0.8);
  }

  .card:nth-child(3) {
    transform: rotate(-5deg) translate(-85px, 10px) scale(0.9);
  }

  .card:nth-child(4) {
    transform: rotate(0deg) translate(0px, 0px) scale(1);
  }

  .card:nth-child(5) {
    transform: rotate(5deg) translate(85px, 10px) scale(0.9);
  }

  .card:nth-child(6) {
    transform: rotate(13deg) translate(175px, 28px) scale(0.8);
  }

  .card:nth-child(7) {
    transform: rotate(22deg) translate(320px, 55px) scale(0.7);
  }

  .section {
    padding: 70px 24px;
  }

  .page-hero {
    padding: 120px 24px 60px;
  }

  .about-section {
    padding: 0 24px 70px;
  }

  .about-bento {
    grid-template-columns: 1fr;
  }

  .about-block.wide {
    grid-column: span 1;
  }

  .footer {
    padding: 48px 24px 32px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {

  .card:nth-child(1),
  .card:nth-child(7) {
    display: none;
  }

  .card:nth-child(2) {
    transform: rotate(-16deg) translate(-220px, 32px) scale(0.75);
  }

  .card:nth-child(6) {
    transform: rotate(16deg) translate(220px, 32px) scale(0.75);
  }
}

/* =============================================
   EFFET EXPLOSION D'IMAGES (HERO)
   ============================================= */
.hero-floating-images {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-img {
  position: absolute;
  object-fit: contain;
  opacity: 0;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(0.2) translate3d(0, 0, 0) rotate(0deg);
  animation: explodeImg 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

@keyframes explodeImg {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(var(--rot));
  }
}

/* =============================================
   SECTION 1 — LES SERVICES
   ============================================= */
.srv-section {
  background: #1a1a1f;
  padding: 100px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.srv-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.srv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.srv-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.srv-header {
  margin-bottom: 24px;
}

.srv-main-title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
}

.srv-tabs {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 50px;
}

.srv-tab {
  border: none;
  background: transparent;
  padding: 8px 24px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
}

.srv-tab.active {
  background: #ffffff;
  color: #1a1a1f;
  font-weight: 600;
}

.srv-card {
  background: #c5cdb0;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 8px;
  width: 100%;
  max-width: 520px;
  height: 280px;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.5s ease;
}

.srv-card-left {
  flex: 1;
  padding: 0 20px 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.srv-card-label {
  font-size: 16px;
  color: #1a1a1f;
  line-height: 1.3;
}

.srv-card-label strong {
  font-size: 42px;
  font-weight: 400;
  display: block;
  line-height: 1.05;
  margin-top: 10px;
  letter-spacing: -0.02em;
}

.srv-card-right {
  width: 240px;
  border-radius: var(--radius-inner);
  overflow: hidden;
  flex-shrink: 0;
}

.srv-card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.srv-right-col {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.srv-big-title {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.srv-big-title span {
  font-size: clamp(80px, 11vw, 200px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #ffffff;
  transition: opacity 0.4s ease;
}

/* --- Aperçus qui défilent dans la case --- */
.srv-card {
  position: relative;
  color: #1a1a1f;
  text-decoration: none;
  cursor: pointer;
}

.srv-card.is-switching {
  opacity: 0;
  transform: translateY(12px);
}

.srv-big-title {
  transition: opacity 0.25s ease;
}

.srv-big-title.is-switching {
  opacity: 0;
}

.srv-card-right {
  position: relative;
  background: rgba(26, 26, 31, 0.08);
}

.srv-card-right .srv-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s ease, transform 3.6s ease;
}

.srv-card-right .srv-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.srv-card-project {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(26, 26, 31, 0.65);
  min-height: 1.3em;
}

.srv-card-project::after {
  content: ' ↗';
  opacity: 0;
  transition: opacity 0.2s ease;
}

.srv-card:hover .srv-card-project::after {
  opacity: 1;
}

.srv-dots {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.srv-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(26, 26, 31, 0.25);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.srv-dot.is-active {
  width: 18px;
  background: #1a1a1f;
}

.srv-dot:focus-visible,
.srv-card:focus-visible,
.srv-tab:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .srv-card-right .srv-slide {
    transform: none;
    transition: opacity 0.2s ease;
  }
}

@media (max-width: 480px) {
  .srv-dots {
    justify-content: center;
  }
}

/* =============================================
   SECTION 2 — SOURIEZ, VOUS ÊTES FILMÉS
   ============================================= */
.film-section {
  background: #f0f0f0;
  padding: 100px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.film-inner {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

.film-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 60px;
}

.film-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.film-visual {
  background: #c5cdb0;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 420px;
}

.film-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.film-visual:hover .film-visual-img {
  transform: scale(1.03);
}

.film-text {
  padding-top: 20px;
}

.film-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.film-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 2px solid var(--color-text);
  transition: gap 0.3s ease;
}

.film-cta:hover {
  gap: 14px;
}

/* =============================================
   SECTION 3 — FAITES DU BRUIT, ON GÈRE L'ÉCHO
   ============================================= */
.comm-section {
  background: #1a1a1f;
  padding: 100px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comm-inner {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

.comm-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 60px;
}

.comm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.comm-card {
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 400px;
  transition: transform 0.4s ease;
}

.comm-card:hover {
  transform: translateY(-6px);
}

.comm-card-green {
  background: #c5cdb0;
}

.comm-card-pink {
  background: #e8c8c8;
}

.comm-card-blue {
  background: #b8cdd8;
}

.comm-white-box {
  background: #ffffff;
  border-radius: var(--radius-inner);
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  /* Important pour garder l'arrondi de la boîte */
}

/* Remplissage parfait avec imageGas.png sans déformation */
.comm-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comm-card-text {
  text-align: center;
  color: #1a1a1f;
}

.comm-card-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.comm-card-text p {
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a1f;
  opacity: 0.8;
}

.comm-text {
  max-width: 700px;
}

.comm-text p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .srv-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }
}

@media (max-width: 900px) {

  .srv-section,
  .film-section,
  .comm-section {
    padding: 100px 24px;
    height: auto;
    min-height: auto;
  }

  .srv-big-title span {
    font-size: clamp(60px, 12vw, 100px);
  }

  .film-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .film-visual {
    max-width: 100%;
    aspect-ratio: 4/3;
  }

  .comm-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .srv-tab {
    padding: 7px 14px;
    font-size: 12px;
  }

  .srv-card-label strong {
    font-size: 28px;
  }

  .srv-card {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .srv-card-left {
    padding: 20px;
  }

  .srv-card-right {
    width: 100%;
    aspect-ratio: 1/1;
  }
}

/* =============================================
   PAGE DÉTAILS PROJET (projet-da.html)
   ============================================= */

/* ===== HERO PROJECT ===== */
.lt-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-bg);
}

.lt-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lt-hero-media video,
.lt-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}

.lt-hero:hover .lt-hero-media video,
.lt-hero:hover .lt-hero-media img {
  transform: scale(1.04);
}

.lt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.15) 40%,
      rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.lt-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 48px 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.lt-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
  transition: color 0.2s, gap 0.2s;
}

.lt-hero-back:hover {
  color: white;
  gap: 12px;
}

.lt-hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lt-hero-title {
  font-size: clamp(36px, 6.5vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: white;
  max-width: 800px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.7s ease both;
}

/* ===== TEXT SECTION CONCEPT ===== */
.lt-text-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lt-concept-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 24px;
  max-width: 800px;
  line-height: 1.2;
}

.lt-concept-desc {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 800px;
}

/* ===== MEDIA GRID SECTION ===== */
.lt-grid-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 120px;
}

.lt-grid-row {
  margin-bottom: 24px;
}

.lt-grid-row.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lt-grid-row.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lt-media-card {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #E8E8ED;
  position: relative;
}

.lt-media-card img,
.lt-media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.lt-media-card[style*="cursor:zoom-in"]:hover img {
  transform: scale(1.02);
}

/* Ratios personnalisés */
.lt-aspect-video {
  aspect-ratio: 16/9;
}

.lt-aspect-square {
  aspect-ratio: 1/1;
}

.lt-aspect-portrait {
  aspect-ratio: 4/5;
}

.lt-aspect-wide {
  aspect-ratio: 21/9;
}

.lt-aspect-mobile {
  aspect-ratio: 9/19.5;
}

.lt-aspect-bento {
  aspect-ratio: 4/3;
}

/* ===== LIGHTBOX ===== */
.da-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.da-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.da-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-card);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.da-lightbox.open img {
  transform: scale(1);
}

.da-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.da-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.da-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.da-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.da-lightbox-nav.prev {
  left: 24px;
}

.da-lightbox-nav.next {
  right: 24px;
}

/* ===== LOADING / ERROR ===== */
.da-loading {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--color-text-secondary);
}

.da-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== CTA NEXT PROJECTS ===== */
.da-cta {
  text-align: center;
  padding: 60px 0 0;
  border-top: 1.5px solid var(--color-border);
  margin-top: 80px;
}

.da-cta p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.da-cta h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--color-text);
}

/* ===== RESPONSIVE PROJET ===== */
@media (max-width: 900px) {
  .lt-hero-content {
    padding: 60px 24px 60px;
  }

  .lt-text-section {
    padding: 70px 24px 40px;
  }

  .lt-grid-section {
    padding: 0 24px 80px;
  }
}

@media (max-width: 600px) {

  .lt-grid-row.cols-2,
  .lt-grid-row.cols-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lt-grid-row {
    margin-bottom: 16px;
  }
}
/* =============================================
   CARTES « FAITES DU BRUIT » — vrais projets
   ============================================= */
/* Carte 1, mur de logos */
.comm-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background: #f4f2ee;
}

.comm-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  padding: 12%;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.comm-logo-dark {
  background: #232323;
}

.comm-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.comm-card:hover .comm-logo:nth-child(odd) {
  transform: rotate(-2deg);
}

.comm-card:hover .comm-logo:nth-child(even) {
  transform: rotate(2deg);
}

/* Carte 2, planning de publication */
.comm-plan {
  display: flex;
  flex-direction: column;
  padding: 7% 7% 6%;
  color: #1a1a1f;
  font-family: var(--font);
}

.comm-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10%;
}

.comm-plan-month {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.comm-plan-days,
.comm-plan-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.comm-plan-days {
  font-size: 10px;
  font-weight: 600;
  color: #8a8a8e;
  text-align: center;
  margin-bottom: 6px;
}

.comm-plan-grid {
  flex: 1;
  grid-template-rows: repeat(3, 1fr);
}

.comm-plan-grid span {
  position: relative;
  border-radius: 7px;
  background: #f1efeb;
  overflow: hidden;
}

.comm-plan-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comm-plan-grid .is-story { background: #e8c8c8; }
.comm-plan-grid .is-reel  { background: #b8cdd8; }
.comm-plan-grid .is-today { box-shadow: 0 0 0 2px #1a1a1f; }

.comm-plan-legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10%;
  font-size: 11px;
  color: #6e6e73;
}

.comm-plan-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -0.5px;
}

.dot-post  { background: #c5cdb0; }
.dot-story { background: #e8c8c8; }
.dot-reel  { background: #b8cdd8; }

/* Carte 3, posts en éventail */
.comm-posts {
  position: relative;
  background: #f4f2ee;
}

.comm-post {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.comm-post-1 { transform: translate(-95%, -50%) rotate(-10deg); }
.comm-post-2 { transform: translate(-5%, -50%) rotate(10deg); }
.comm-post-3 { transform: translate(-50%, -54%) rotate(0deg); z-index: 2; }

.comm-card:hover .comm-post-1 { transform: translate(-105%, -52%) rotate(-14deg); }
.comm-card:hover .comm-post-2 { transform: translate(5%, -52%) rotate(14deg); }
.comm-card:hover .comm-post-3 { transform: translate(-50%, -58%) rotate(0deg); }

@media (prefers-reduced-motion: reduce) {
  .comm-logo,
  .comm-post {
    transition: none;
  }
}

.comm-logo-fill {
  padding: 0;
  background: #232323;
}

.comm-logo-fill img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

/* =============================================
   SOURIEZ, VOUS ÊTES FILMÉS — rectangles avec images
   ============================================= */
.film-visual {
  position: relative;
  padding: 10px;
}

.film-visual .film-visual-img {
  border-radius: 16px;
  display: block;
}

.film-visual-small {
  position: relative;
  margin-top: 40px;
  padding: 10px;
  max-width: 520px;
  aspect-ratio: 16 / 10;
  background: #e8c8c8;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.film-visual-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.6s ease;
}

.film-visual-small:hover img {
  transform: scale(1.03);
}

.film-chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1f;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .film-visual-small {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-visual-small img {
    transition: none;
  }
}

/* =============================================
   SOURIEZ, VOUS ÊTES FILMÉS — version pleine, sans cadres
   ============================================= */
.film-title {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  margin-bottom: 56px;
}

.film-content {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: stretch;
}

.film-visual {
  max-width: none;
  aspect-ratio: 4 / 5;
  padding: 0;
  background: none;
  border-radius: var(--radius-card);
}

.film-visual .film-visual-img {
  border-radius: 0;
}

.film-text {
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

.film-text p {
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 24px;
}

.film-cta {
  align-self: flex-start;
  font-size: 16px;
}

.film-visual-small {
  margin-top: auto;
  max-width: none;
  padding: 0;
  background: none;
  border-radius: var(--radius-card);
}

.film-visual-small img {
  border-radius: 0;
}

.film-chip {
  left: 16px;
  bottom: 16px;
}

@media (max-width: 900px) {
  .film-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .film-visual {
    aspect-ratio: 4 / 5;
  }

  .film-visual-small {
    margin-top: 32px;
  }
}

/* =============================================
   ACCUEIL — SALUT, MOI C'EST GASPARD
   ============================================= */
.home-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 24px 120px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.home-intro-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 28px;
}

.home-intro-lead {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 560px;
  margin-bottom: 32px;
}

.home-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 26px;
  border-radius: 100px;
  background: var(--color-text);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-intro-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-text);
  font-size: 18px;
  transition: transform 0.3s ease;
}

.home-intro-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.home-intro-btn:hover .home-intro-btn-arrow {
  transform: translateX(3px);
}

.home-intro-btn:focus-visible,
.home-intro-photo:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

.home-intro-photo {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e5e5e5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.home-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-intro-photo:hover img {
  transform: scale(1.03);
}

/* Petite inclinaison, comme une photo posée sur la table */
.home-intro-photo.visible,
.home-intro-photo.revealed,
.home-intro-photo.in-view {
  transform: rotate(2deg);
}

@media (max-width: 960px) {
  .home-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px 100px;
  }

  .home-intro-photo {
    max-width: 420px;
  }

  .home-intro-photo.visible,
  .home-intro-photo.revealed,
  .home-intro-photo.in-view {
    transform: none;
  }
}

@media (max-width: 600px) {
  .home-intro-btn {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-intro-btn,
  .home-intro-photo img {
    transition: none;
  }
}

/* =============================================
   FLÈCHE RETOUR FIXE
   ============================================= */
.back-btn {
  position: fixed;
  left: 24px;
  top: 50%;
  z-index: 900;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.back-btn:hover {
  transform: translateX(-3px);
  background: var(--color-text);
  color: #ffffff;
}

.back-btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

/* Écrans moins larges, la flèche descend en bas à gauche pour ne rien cacher */
@media (max-width: 1340px) {
  .back-btn {
    top: auto;
    bottom: 24px;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .back-btn {
    left: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-btn {
    transition: none;
  }
}

/* =============================================
   AJUSTEMENTS TÉLÉPHONE
   ============================================= */
.footer-brand img {
  height: 34px;
  width: auto;
}

@media (max-width: 600px) {
  .lt-palette-box {
    padding: 28px 22px !important;
  }

  .lt-palette-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px !important;
  }
}

@media (max-width: 600px) {
  .nav-logo img {
    height: 24px;
  }

  .nav-logo {
    margin-right: 12px;
  }
}
