/* ===========================
   VARIABLES CSS
   =========================== */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray-dark: #616161;
  --color-gray-light: #a1a1a1;
  --color-gray-lighter: #bdbdbd;
  --color-bg-light: #fdfdfd;
  --color-accent: #ff0000;
  --color-accent-hover: #ff6600;

  --font-primary: "Gabarito", sans-serif;
  --font-secondary: "Familjen Grotesk", sans-serif;
  --font-third: "Unbounded", sans-serif;
  --font-accent: "Playfair Display", serif;

  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-primary);
  font-weight: 300;
  background-color: var(--color-black);
  color: var(--color-gray-dark);
  transition: opacity 0.5s ease-in-out;
  overflow-x: hidden;
  max-width: 100vw;
}

main {
  flex: 1;
}

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

/* ===========================
   NAVIGATION
   =========================== */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: transparent;
}

.navbar .logo img {
  width: 60px;
  height: auto;
  padding-top: 10px;
  transition: transform var(--transition-slow);
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 0 0 0;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-third);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 100;
  transition: color var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* ===========================
   MENU BURGER
   =========================== */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.burger span {
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.nav-overlay.active a {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay a:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-overlay a:nth-child(2) {
  transition-delay: 0.2s;
}
.nav-overlay a:nth-child(3) {
  transition-delay: 0.3s;
}
.nav-overlay a:nth-child(4) {
  transition-delay: 0.4s;
}

.nav-overlay a:hover {
  color: var(--color-accent);
  transform: scale(1.1);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #000;
}

/* Overlay dégradé en bas */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Vignette subtile sur les côtés */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.85) contrast(1.1);
  transition: filter 0.3s ease;
}

.hero:hover .background-video {
  filter: brightness(0.9) contrast(1.15);
}

.content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--color-white);
  text-align: left;
  padding: 0 60px;
  max-width: 100vw;
  overflow: visible;
  pointer-events: none;
}

.content > * {
  pointer-events: auto;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 5rem;
  color: var(--color-white);
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

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

.hero p {
  font-family: var(--font-third);
  font-weight: 200;
  font-size: 1.5rem;
  color: var(--color-white);
}

.tagline {
  text-align: left;
  margin-top: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
}

/* Bandeau défilant - CORRIGÉ */
.scrolling-banner-wrapper {
  width: 100vw;
  max-width: none;
  overflow: hidden;
  position: relative;
  margin-top: 30px;
  margin-left: -60px;
  margin-right: -60px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.9s;
}

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

.scrolling-banner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 15px 0;
  animation: scroll-left 6s linear infinite;
  will-change: transform;
}

.scrolling-banner span {
  font-size: 4rem;
  color: var(--color-white);
  padding-right: 60px;
  font-family: var(--font-secondary);
  font-weight: 300;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.scrolling-banner:hover span {
  opacity: 1;
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Flèche vers le bas - SANS ROND */
.down-arrow {
  display: block;
  font-size: 2rem;
  color: var(--color-white);
  margin-top: 50px;
  text-decoration: none;
  text-align: left;
  cursor: default;
  pointer-events: none;
  opacity: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInBounce 1s ease forwards;
  animation-delay: 1.2s;
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

/* Lance l'animation bounce après le fadeIn */
.down-arrow {
  animation: fadeInBounce 1s ease forwards, bounce 2s ease-in-out 1.2s infinite;
}

/* Effet de particules (optionnel) */
.content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: particles 20s linear infinite;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

@keyframes particles {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* ===========================
   PAGE ACCUEIL - INTRO
   =========================== */
.intro-home {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
  margin-bottom: 1rem;
}

.intro-photo {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.intro-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.4) 0%,
    transparent 100%
  );
  z-index: 1;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0%) brightness(1);
}

.intro-home:hover .intro-photo img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.intro-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(10, 10, 10, 0.98) 100%
  );
  backdrop-filter: blur(10px);
  z-index: 2;
}

.intro-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(255, 0, 0, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.intro-home h2 {
  position: relative;
  font-family: var(--font-secondary);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: var(--color-white);
  z-index: 1;
}

.intro-home h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.intro-container > br + * {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.intro-container .btn-contact {
  align-self: flex-start;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

/* Dynamic text - Style cohérent avec le portfolio */
.dynamic-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-third);
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
  padding: 8rem 2rem;
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.5;
  overflow: hidden;
}

.dynamic-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
}

.dynamic-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
}

.dynamic-text p {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  font-weight: 300;
}

.word-container {
  display: inline-block;
  position: relative;
  padding: 0 0.2em;
}

.word {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-white);
}

.fade-out {
  opacity: 0;
  transform: translateY(-15px) scale(0.95);
}

.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stats section - Nouvelle section entre dynamic text et contact */
.stats-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: var(--color-white);
  margin: 0;
  padding: 0;
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.98) 0%,
    rgba(10, 10, 10, 1) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.05) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Contact reminder - Cohérent avec les autres pages */
.contact-reminder {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
  color: var(--color-white);
  padding: 8rem 2rem;
  overflow: hidden;
}

.contact-reminder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 0, 0, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 0, 0, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-reminder .container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
  padding: 4rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-reminder .container:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-reminder h3 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact-reminder p {
  font-size: 1.3rem;
  font-family: var(--font-primary);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--color-accent);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3), 0 0 0 0 rgba(255, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-contact:hover::before {
  width: 400px;
  height: 400px;
}

.btn-contact:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(255, 0, 0, 0.4), 0 0 0 8px rgba(255, 0, 0, 0.1);
}

.btn-contact::after {
  content: "→";
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-contact:hover::after {
  transform: translateX(5px);
}

/* ===========================
   PROJETS / PORTFOLIO
   =========================== */
.projets-page {
  background-color: var(--color-black);
  color: var(--color-white);
}

.titre-projets {
  text-align: center;
  padding: 140px 20px 20px;
  margin: 0 auto;
}

.titre-projets h1 {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-shine 3s ease-in-out infinite;
}

@keyframes title-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.filtres {
  width: 100%;
  background: transparent;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filtres button {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 300;
  font-family: var(--font-primary);
  cursor: pointer;
  border-radius: 20px;
  transition: all var(--transition-base);
}

.filtres button:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.filtres button.active {
  background-color: var(--color-white);
  color: var(--color-black);
}

.grille-projets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
  padding: 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
  background-color: transparent;
}

.grille-projets > a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.projet {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 520px;
  background-color: #0a0a0a;
  border-radius: 20px;
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.projet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.projet:hover::before {
  opacity: 1;
}

.projet.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.projet:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.projet-media {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.projet img,
.projet video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.projet:hover video,
.projet:hover img {
  transform: scale(1.08);
}

.projet-info {
  position: relative;
  padding: 24px 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(10px);
  z-index: 2;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.projet-titre {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 6px 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.projet-description {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.projet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.projet-tag {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.projet:hover .projet-tag {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.projet .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 360px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.overlay-content {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.overlay-content::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.projet:hover .overlay {
  opacity: 1;
}

.projet:hover .overlay-content::after {
  transform: translateX(5px);
}

/* ===========================
   PAGES PROJETS INDIVIDUELS
   =========================== */
.project-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.project-presentation {
  display: flex;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 4rem;
  color: var(--color-white);
  padding: 0 20%;
}

.project-presentation h1 {
  line-height: 1.2;
  margin: 0;
}

.small-justified-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.4;
}

.project-corps {
  font-size: 1.2rem;
  font-family: var(--font-primary);
}

/* ===========================
   PRESENTATION SANDWICH
   =========================== */
.presentation {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-black);
  padding: 80px 40px 100px;
  gap: 60px;
}

.hero-text-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: -20px;
  z-index: 2;
}

.hero-word {
  font-family: var(--font-secondary);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.hero-word-1 {
  color: var(--color-white);
  align-self: flex-start;
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.hero-word-2 {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-white);
  text-stroke: 2px var(--color-white);
  align-self: center;
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.hero-word-3 {
  color: var(--color-accent);
  align-self: flex-end;
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.hero-word:hover {
  transform: translateX(20px) scale(1.05);
  text-shadow: 0 20px 60px rgba(255, 0, 0, 0.3);
}

.hero-word-4 {
  align-self: center;
  margin-top: 30px;

  /* Taille beaucoup plus discrète */
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;

  /* Couleur soft */
  color: rgba(255, 255, 255, 0.85);

  /* Arrive un peu plus tard */
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 1s backwards;
}

.hero-word-4 a {
  text-decoration: none;
  color: inherit;

  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;

  transition: all 0.35s ease;
  display: inline-block;
}

.hero-word-4 a:hover {
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25);
  transform: translateY(-3px);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.photo-sandwich {
  position: relative;
  width: clamp(500px, 60vw, 900px);
  height: clamp(400px, 48vw, 720px);
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

/* Tech Info - Style épuré */
.tech-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 50px auto 0;
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  opacity: 0;
  animation: fadeInScale 1s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
  transition: all 0.4s ease;
}

.tech-info:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  flex: 1;
}

.tech-label {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

.tech-value {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.3;
}

.tech-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.photo-sandwich::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.2) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255, 0, 0, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.photo-sandwich:hover::after {
  opacity: 1;
}

.photo-sandwich:hover {
  transform: translateY(-10px);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 0, 0, 0.3),
    0 0 80px rgba(255, 0, 0, 0.2);
}

.photo-sandwich img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* ← Rétablit le comportement par défaut */
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: contrast(1.05) saturate(1.1) grayscale(0.1);
}

.photo-sandwich:hover img {
  transform: scale(1.1);
  filter: contrast(1.1) saturate(1.2) grayscale(0);
}

/* ===========================
   PAGE À PROPOS
   =========================== */
.about-page {
  background-color: var(--color-black);
  color: var(--color-white);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  position: relative;
}

.about-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
}

.about-text {
  text-align: center;
}

/* Grille des qualités */
.qualities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 80px 0 60px;
  perspective: 1000px;
}

.quality-item {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  padding: 48px 36px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Barre accent sur le côté */
.quality-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(
    to bottom,
    var(--color-accent) 0%,
    rgba(255, 0, 0, 0.5) 100%
  );
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-item:hover::before {
  height: 100%;
}

/* Effet glow rouge subtil */
.quality-item::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 0, 0, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.quality-item:hover::after {
  opacity: 1;
}

.quality-item:hover {
  transform: translateY(-16px) scale(1.02);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 0, 0, 0.15);
}

.quality-item h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.quality-item:hover h3 {
  transform: translateX(8px);
}

.quality-item p {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.quality-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Style pour le texte d'intro amélioré */
.intro-text {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 80px;
  max-width: 900px;
  position: relative;
  padding: 50px 40px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.intro-text strong {
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    var(--color-accent) 50%,
    var(--color-white) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shine 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes text-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.intro-text br {
  display: block;
  content: "";
  margin-top: 1.2rem;
}

.cta-text {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 80px auto 0;
  max-width: 700px;
  padding: 50px 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.cta-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-accent) 50%,
    transparent 100%
  );
  opacity: 0.5;
}

.cta-text a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--color-accent);
  position: relative;
}

.cta-text a::after {
  content: "→";
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.cta-text a:hover::after {
  transform: translateX(5px);
}

.cta-text a:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

/* Galerie photo */
.photo-gallery {
  padding: 100px 40px 140px;
  background: linear-gradient(
    to bottom,
    var(--color-black) 0%,
    #0a0a0a 50%,
    #000000 100%
  );
  position: relative;
}

.photo-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(255, 0, 0, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 0, 0, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

.gallery-item-1 {
  transform: rotate(-3deg);
}

.gallery-item-2 {
  transform: rotate(3deg);
}

.gallery-item-1:hover {
  transform: translateY(-20px) scale(1.03) rotate(-1deg);
}

.gallery-item-2:hover {
  transform: translateY(-20px) scale(1.03) rotate(1deg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(10%) brightness(0.95);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay span {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: inline-block;
  position: relative;
}

.gallery-overlay span::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.4s ease;
}

.gallery-item:hover .gallery-overlay span::after {
  width: 100%;
}

.cv-button {
  margin-top: 20px;
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-white);
  padding: 14px 34px;
  border: 2px solid var(--color-accent);
  border-radius: 40px;
  text-decoration: none;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.cv-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.3),
    rgba(255, 0, 0, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.cv-button:hover {
  color: var(--color-white);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.25);
  border-color: var(--color-white);
}

.cv-button:hover::before {
  opacity: 1;
}

/* ===========================
   PAGE CONTACT
   =========================== */
.contact-page {
  background-color: var(--color-black);
  color: var(--color-white);
}

.contact-hero {
  position: relative;
  padding: 180px 40px 100px;
  text-align: center;
  background: var(--color-black);
  overflow: hidden;
}

/* Fond visuel animé */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.6) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 50, 50, 0.4) 0%,
    transparent 70%
  );
  top: 50%;
  right: -50px;
  animation-delay: -7s;
}

.hero-shape-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 100, 100, 0.3) 0%,
    transparent 70%
  );
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin: 0 0 30px 0;
  line-height: 1.1;
}

.title-line {
  display: block;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.title-line.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #ff0000 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-shine 3s ease-in-out infinite;
  margin-top: -10px;
}

@keyframes title-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.contact-subtitle {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.contact-subtitle strong {
  color: var(--color-white);
  font-weight: 500;
}

/* Grid de cartes */
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
  background: rgba(255, 255, 255, 0.1); /* Au lieu de rgba(255, 0, 0, 0.15) */
  transform: scale(1.1);
}

.contact-card h2 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.card-description {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 0 0;
  line-height: 1.6;
}

/* Email card */
.contact-link {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
  transition: all 0.3s ease;
  word-break: break-all;
}

.contact-link:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

/* Social card */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.social-link img {
  flex-shrink: 0;
}

.social-link span {
  flex: 1;
}

.social-link svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.social-link:hover svg {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Location card */
.location-text {
  margin: 8px 0 0 0;
}

.location-primary {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 4px;
}

.location-secondary {
  display: block;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.contact-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.05) 0%,
    rgba(255, 0, 0, 0.02) 100%
  );
  border-radius: 24px;
  border: 1px solid rgba(255, 0, 0, 0.1);
}

.contact-cta h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.contact-cta p {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.cta-button:hover {
  background-color: var(--color-white);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

/* ===========================
FOOTER
=========================== */
footer {
  width: 100%;
  background-color: var(--color-black);
  font-family: var(--font-third);
  font-weight: 300;
  color: var(--color-white);
  text-align: center;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer p {
  margin: 0;
  color: var(--color-white);
  font-size: 1rem;
}
footer .italic {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-white);
}
footer a {
  color: var(--color-white);
  text-decoration: none;
}

/* ===========================
SECTION DERNIER PROJET IMMERSIVE
=========================== */
.latest-project-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 0 2rem 2rem 2rem;
  overflow: hidden;
}

.latest-project-wrapper {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Label discret en haut */
.latest-project-label {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-bottom: 3rem;
  display: block;
}

/* Lien cliquable sur tout le projet */
.latest-project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-project-link:hover {
  transform: translateY(-8px);
}

/* Container du visuel */
.latest-project-visual {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-project-link:hover .latest-project-visual {
  box-shadow: 0 60px 160px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 0, 0, 0.3),
    0 0 100px rgba(255, 0, 0, 0.2);
}

/* Overlay gradient sur l'image */
.latest-project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Effet glow rouge au hover */
.latest-project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.15) 0%,
    transparent 50%,
    rgba(255, 0, 0, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.latest-project-link:hover .latest-project-visual::before {
  opacity: 1;
}

/* Image/Video */
.latest-project-visual img,
.latest-project-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.85) contrast(1.1);
}

.latest-project-link:hover .latest-project-visual img,
.latest-project-link:hover .latest-project-visual video {
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.15);
}

/* Informations en bas du visuel */
.latest-project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 4rem 3rem;
  z-index: 2;
}

.latest-project-title {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.latest-project-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Indicateur hover */
.project-hover-indicator {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  z-index: 3;
}

.latest-project-link:hover .project-hover-indicator {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Portfolio en bas à droite */
.portfolio-cta {
  position: absolute;
  bottom: 3rem;
  right: 4rem;
  z-index: 3;
}

.portfolio-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-cta-link:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateX(5px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.portfolio-cta-link::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.portfolio-cta-link:hover::after {
  transform: translateX(4px);
}

/* ===========================
           RESPONSIVE MOBILE
           =========================== */
@media (max-width: 768px) {
  .latest-project-section {
    padding: 2rem 1rem;
    min-height: auto;
  }

  .latest-project-label {
    font-size: 0.7rem;
    margin-bottom: 2rem;
  }

  .latest-project-visual {
    height: 60vh;
    min-height: 400px;
    border-radius: 20px;
  }

  .latest-project-info {
    padding: 2.5rem 2rem 2rem;
  }

  .latest-project-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .latest-project-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .project-hover-indicator {
    display: none;
  }

  /* CTA en bas sur mobile */
  .portfolio-cta {
    position: static;
    margin-top: 2rem;
    text-align: center;
  }

  .portfolio-cta-link {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .latest-project-section {
    padding: 2rem 0.8rem;
  }

  .latest-project-visual {
    height: 50vh;
    min-height: 350px;
    border-radius: 16px;
  }

  .latest-project-info {
    padding: 2rem 1.5rem 1.5rem;
  }

  .latest-project-title {
    font-size: 2rem;
  }

  .latest-project-description {
    font-size: 0.95rem;
  }

  .portfolio-cta-link {
    font-size: 0.85rem;
    padding: 10px 20px;
  }
}

/* ===========================
SCROLL TO TOP
=========================== */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 1000;
}
.scroll-to-top.show {
  opacity: 1;
}
.scroll-to-top:hover {
  transform: translateY(-3px);
}
.scroll-to-top span {
  line-height: 1;
  color: var(--color-white);
}

/* ===========================
UTILITIES
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.light-background {
  background-color: var(--color-bg-light);
}

.no-scroll {
  overflow: hidden;
}

.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

.smooth-transition {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   RESPONSIVE SCROLL IMMERSIF
   =========================== */

/* Responsive Hero */
@media (max-width: 768px) {
  /* Smooth scroll pour l'effet cinématique */
  html {
    scroll-behavior: smooth;
  }

  .content {
    padding: 0 30px;
    top: 40%;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .scrolling-banner-wrapper {
    margin-left: -30px;
    margin-right: -30px;
  }

  .scrolling-banner {
    animation: scroll-left 4s linear infinite;
  }

  .scrolling-banner span {
    font-size: 2.5rem;
    padding-right: 40px;
  }

  .down-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    margin-top: 40px;
  }

  .content::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.1rem;
    margin-top: 15px;
  }

  .scrolling-banner-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    margin-top: 30px;
  }

  .scrolling-banner {
    padding: 10px 0;
    animation: scroll-left 10s linear infinite;
  }

  .scrolling-banner span {
    font-size: 1.8rem;
    padding-right: 30px;
  }

  .down-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p,
  .tagline {
    font-size: 1.3rem;
  }

  .content h1 {
    font-size: 2rem;
  }

  .scrolling-banner span {
    font-size: 2.5rem;
  }

  .content {
    padding: 0 20px 40px 20px;
  }

  .down-arrow {
    margin-top: 30px;
    font-size: 1.8rem;
  }

  /* ===================================
     INTRO HOME - SANS VOILE SOMBRE
     =================================== */
  .intro-home {
    grid-template-columns: 1fr;
    min-height: auto;
    position: relative;
  }

  .intro-photo {
    height: 60vh;
    order: 2;
    position: relative;
    overflow: hidden;
  }

  .intro-photo::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      transparent 100%
    );
  }

  /* Effet zoom progressif au scroll */
  .intro-photo img {
    will-change: transform, filter;
    filter: grayscale(0%) brightness(1) !important;
    transition: transform 0.3s ease-out, filter 0.3s ease-out;
  }

  .intro-container {
    order: 1;
    width: 100%;
    padding: 3rem 2rem;
    min-height: auto;
    position: relative;
  }

  /* Textes sans voile - toujours visibles */
  .intro-home h2,
  .intro-home h3,
  .intro-container > br + *,
  .intro-container .btn-contact {
    opacity: 1 !important;
  }

  .intro-home h2 {
    font-size: clamp(3rem, 12vw, 4.5rem);
    margin-bottom: 1.5rem;
  }

  .intro-home h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .intro-container > br + * {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .intro-container .btn-contact {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
  }

  /* ===================================
     DYNAMIC TEXT - EFFET FADE IN SCROLL
     =================================== */
  .dynamic-text {
    padding: 4rem 1.5rem;
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    position: relative;
  }

  .dynamic-text p {
    will-change: opacity, transform;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .dynamic-text::before,
  .dynamic-text::after {
    width: 80%;
    will-change: width, opacity;
    transition: width 0.8s ease-out, opacity 0.8s ease-out;
  }

  /* ===================================
     STATS - COMPTEUR ANIMÉ AU SCROLL
     =================================== */
  .stats-section {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .stat-card {
    padding: 3rem 2rem;
    position: relative;
    will-change: transform, opacity;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .stat-number {
    font-size: 3rem;
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .stat-label {
    font-size: 0.9rem;
    will-change: opacity;
    transition: opacity 0.5s ease-out;
  }

  /* ===================================
     CONTACT REMINDER - SANS VOILE
     =================================== */
  .contact-reminder {
    padding: 4rem 1.5rem;
    position: relative;
  }

  .contact-reminder .container {
    padding: 2.5rem 1.5rem;
    opacity: 1 !important;
  }

  .contact-reminder h3 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    opacity: 1 !important;
  }

  .contact-reminder p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 1 !important;
  }

  .contact-reminder .btn-contact {
    width: 100%;
    justify-content: center;
    opacity: 1 !important;
  }

  /* ===================================
     PORTFOLIO - EFFET CASCADE SCROLL
     =================================== */
  .titre-projets {
    padding-top: 100px;
  }

  .titre-projets h1 {
    font-size: 3rem;
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filtres {
    padding: 30px 15px;
  }

  .filtres button {
    font-size: 0.95rem;
    padding: 9px 18px;
    will-change: transform, opacity;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .grille-projets {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  /* Effet de révélation en cascade */
  .projet {
    height: 500px;
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(50px) scale(0.95);
    opacity: 0;
  }

  /* Classe ajoutée par JS quand visible */
  .projet.in-view {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .projet-media {
    height: 340px;
    overflow: hidden;
  }

  /* Zoom subtil de l'image au scroll */
  .projet img,
  .projet video {
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .projet.in-view img,
  .projet.in-view video {
    transform: scale(1);
  }

  .projet-info {
    height: 160px;
    padding: 20px;
  }

  .projet-titre {
    font-size: 1.35rem;
    will-change: opacity, transform;
    transition: all 0.5s ease-out;
  }

  .projet-description {
    font-size: 0.85rem;
    will-change: opacity;
    transition: opacity 0.6s ease-out;
  }

  .projet-tag {
    will-change: transform, opacity;
    transition: all 0.4s ease-out;
  }

  /* ===================================
     HERO À PROPOS - MOTS PLUS GRANDS
     =================================== */
  .presentation {
    padding: 60px 20px 80px;
    gap: 40px;
    position: relative;
    overflow: hidden;
  }

  .hero-text-container {
    align-items: center;
    will-change: transform;
    transition: transform 0.3s ease-out;
  }

  .hero-word {
    font-size: clamp(5rem, 15vw, 10rem) !important;
    align-self: center !important;
    will-change: transform;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
  }

  /* MON CV - VERSION MOBILE DISCRÈTE */
  .hero-word-4 {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-top: 40px !important;
    letter-spacing: 0.08em !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  .hero-word-4 a {
    padding: 8px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 25px !important;
    font-size: 0.85rem !important;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
  }

  .hero-word-4 a:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--color-accent) !important;
  }

  .photo-sandwich {
    width: 100%;
    max-width: 500px;
    height: 400px;
    will-change: transform, box-shadow;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .photo-sandwich img {
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Tech Info Mobile */
  .tech-info {
    flex-direction: column;
    gap: 0;
    padding: 30px 20px;
    border-radius: 20px;
    margin-top: 40px;
  }

  .tech-item {
    padding: 20px 0;
    width: 100%;
  }

  .tech-label {
    font-size: 0.65rem;
  }

  .tech-value {
    font-size: 0.95rem;
  }

  .tech-divider {
    width: 60%;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 100%
    );
  }

  .photo-sandwich img {
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* ===================================
     PAGE À PROPOS - REVEAL PROGRESSIF
     =================================== */
  .about-content {
    padding: 60px 20px;
  }

  /* Intro text mobile */
  .intro-text {
    font-size: 1.1rem;
    padding: 30px 24px;
    margin-bottom: 50px;
    border-radius: 20px;
  }

  .intro-text::before {
    font-size: 4rem;
    top: 0;
    left: 5px;
  }

  .qualities-grid {
    gap: 20px;
    margin: 50px 0 40px;
  }

  .quality-item {
    padding: 32px 24px;
    border-radius: 18px;
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50px);
    opacity: 0;
  }

  .quality-item.in-view {
    transform: translateX(0);
    opacity: 1;
  }

  /* Délais en cascade */
  .quality-item:nth-child(1).in-view {
    transition-delay: 0s;
  }
  .quality-item:nth-child(2).in-view {
    transition-delay: 0.1s;
  }
  .quality-item:nth-child(3).in-view {
    transition-delay: 0.2s;
  }
  .quality-item:nth-child(4).in-view {
    transition-delay: 0.3s;
  }
  .quality-item:nth-child(5).in-view {
    transition-delay: 0.4s;
  }

  .quality-item h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .quality-item p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .quality-item:hover {
    transform: translateY(-8px) scale(1);
  }

  .cta-text {
    font-size: 1rem;
    font-weight: 300;
    opacity: 1 !important;
    max-width: 500px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .cta-text:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .cta-text a {
    font-size: 1rem;
    font-weight: 400;
  }

  /* ===================================
     GALERIE PHOTO - ROTATION SCROLL
     =================================== */
  .photo-gallery {
    padding: 60px 20px 80px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-item {
    transform: rotate(0deg);
    will-change: transform, opacity;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(60px) rotate(-5deg) scale(0.9);
  }

  .gallery-item.in-view {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  .gallery-item:nth-child(1).in-view {
    transition-delay: 0s;
  }

  .gallery-item:nth-child(2).in-view {
    transition-delay: 0.2s;
  }

  .gallery-item img {
    will-change: transform;
    transition: transform 0.6s ease-out;
  }

  .gallery-overlay {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* ===================================
     PAGE CONTACT - EFFET WAVE
     =================================== */
  .contact-hero {
    padding: 140px 20px 60px;
    position: relative;
  }

  .hero-background {
    will-change: transform;
    transition: transform 0.3s ease-out;
  }

  .title-line {
    font-size: 2.5rem;
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .contact-subtitle {
    font-size: 1.1rem;
    will-change: opacity;
    transition: opacity 0.6s ease-out;
  }

  .contact-content {
    padding: 60px 20px 80px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }

  .contact-card {
    padding: 32px 24px;
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(40px);
    opacity: 0;
  }

  .contact-card.in-view {
    transform: translateY(0);
    opacity: 1;
  }

  .contact-card:nth-child(1).in-view {
    transition-delay: 0s;
  }
  .contact-card:nth-child(2).in-view {
    transition-delay: 0.15s;
  }
  .contact-card:nth-child(3).in-view {
    transition-delay: 0.3s;
  }

  .card-icon {
    width: 56px;
    height: 56px;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .contact-card.in-view .card-icon {
    transform: scale(1);
  }

  .contact-card h2 {
    font-size: 1.5rem;
  }

  .contact-cta {
    padding: 40px 24px;
    will-change: transform, opacity;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95);
    opacity: 0;
  }

  .contact-cta.in-view {
    transform: scale(1);
    opacity: 1;
  }

  .contact-cta h2 {
    font-size: 2rem;
  }

  .contact-cta p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .navbar .logo img {
    width: 50px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p,
  .tagline {
    font-size: 1.1rem;
  }

  .scrolling-banner span {
    font-size: 1.8rem;
  }

  .down-arrow {
    margin-top: 20px;
    font-size: 1.5rem;
  }

  /* Intro home */
  .intro-photo {
    height: 50vh;
  }

  .intro-container {
    padding: 2.5rem 1.5rem;
  }

  .intro-home h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }

  .intro-home h3 {
    font-size: 1.1rem;
  }

  .intro-container > br + * {
    font-size: 0.95rem;
  }

  .intro-container .btn-contact {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
  }

  /* Dynamic text */
  .dynamic-text {
    padding: 3rem 1rem;
    font-size: 1.2rem;
  }

  /* Stats */
  .stat-card {
    padding: 2.5rem 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  /* AJOUT : Intro text très petit mobile */
  .intro-text {
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 28px 20px;
    margin-bottom: 45px;
    border-radius: 18px;
  }

  .intro-text::before {
    font-size: 3.5rem;
    top: -5px;
    left: 3px;
  }

  /* MODIFICATION : Qualités grid très petit mobile - TOUJOURS VISIBLE */
  .qualities-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 45px 0 35px;
  }

  .quality-item {
    padding: 28px 20px;
    border-radius: 16px;
    /* SUPPRESSION des animations par défaut sur petit écran */
    transform: translateX(0) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
  }

  /* Garde juste l'effet hover simple */
  .quality-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  .quality-item h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }

  .quality-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Contact reminder */
.contact-reminder {
  padding: 3rem 1rem;
}

/* Contact reminder */
.contact-reminder {
  padding: 3rem 1rem;
}

.contact-reminder .container {
  padding: 2rem 1.2rem;
  border-radius: 16px;
}

.contact-reminder h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.contact-reminder p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn-contact {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

.btn-contact::after {
  font-size: 1.1rem;
}

/* Portfolio */
.titre-projets {
  padding-top: 90px;
}

.titre-projets h1 {
  font-size: 2.5rem;
}

.filtres {
  gap: 10px;
  padding: 25px 10px;
}

.filtres button {
  font-size: 0.85rem;
  padding: 8px 16px;
}

.grille-projets {
  gap: 25px;
  padding: 30px 15px;
}

.projet {
  height: 480px;
  border-radius: 16px;
}

.projet-media {
  height: 300px;
  border-radius: 16px 16px 0 0;
}

.projet-info {
  height: 180px;
  padding: 18px;
}

.projet-titre {
  font-size: 1.25rem;
}

.projet-description {
  font-size: 0.8rem;
}

.projet-tag {
  font-size: 0.7rem;
  padding: 5px 12px;
}

/* HERO PAGE À PROPOS - MOBILE PLUS GRAND */
.presentation {
  padding: 40px 15px 60px;
  gap: 30px;
}

.hero-word {
  font-size: clamp(5rem, 15vw, 10rem) !important;
  align-self: center !important;
  will-change: transform, opacity;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  /* SUPPRIMÉ: opacity: 0 et transform */
  /* Les animations CSS natives (slideInLeft) gèrent déjà l'apparition */
}

/* MON CV - ENCORE PLUS PETIT SUR TRÈS PETIT ÉCRAN */
.hero-word-4 {
  font-size: 0.8rem !important;
  margin-top: 30px !important;
}

.hero-word-4 a {
  padding: 6px 16px !important;
  font-size: 0.75rem !important;
}

/* Animation quand visible */

.hero-word:nth-child(1).visible {
  transition-delay: 0s;
}
.hero-word:nth-child(2).visible {
  transition-delay: 0.2s;
}
.hero-word:nth-child(3).visible {
  transition-delay: 0.4s;
}

.hero-word-2 {
  -webkit-text-stroke: 1.5px var(--color-white);
  text-stroke: 1.5px var(--color-white);
}

.photo-sandwich {
  height: 350px;
  border-radius: 16px;
}

.photo-sandwich {
  height: 350px;
  border-radius: 16px;
}

/* Tech Info Petit Mobile */
.tech-info {
  padding: 25px 15px;
  margin-top: 30px;
}

.tech-item {
  padding: 16px 0;
}

.tech-value {
  font-size: 0.9rem;
}

/* Présentation sandwich */
.project-presentation {
  font-size: 1.5rem;
  padding: 0 5%;
}

/* ===========================
   PROJECT PAGE STYLES
   =========================== */

.project-page {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* ===========================
   HERO SECTION
   =========================== */
.project-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #000;
}

.project-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.project-video-wrapper,
.project-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.project-hero video,
.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8) contrast(1.1);
  transition: filter 0.5s ease;
}

.project-hero:hover video,
.project-hero:hover img {
  filter: brightness(0.85) contrast(1.15);
}

/* ===========================
   PROJECT HEADER
   =========================== */
.project-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 60px 80px;
  position: relative;
}

.project-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
}

.project-title {
  font-family: var(--font-secondary);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 30px 0;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

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

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.project-tag {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.project-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ===========================
   PROJECT INTRO
   =========================== */
.project-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px 100px;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.project-description {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.project-description p {
  margin: 0 0 1.5rem 0;
}

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

/* ===========================
   PROJECT INFO BOX
   =========================== */
.project-info-box {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 32px;
  height: fit-content;
  position: sticky;
  top: 120px;
  transition: all 0.4s ease;
}

.project-info-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.info-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.info-value {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
}

/* ===========================
   GALLERY ADAPTATIVE
   =========================== */
.project-gallery {
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2px;
  margin: 0;
  background-color: #000;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 16/10;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInScale 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover {
  transform: scale(1);
  z-index: 10;
}

.gallery-item:hover::before {
  opacity: 1;
}

/* Délais d'animation en cascade */
.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.7s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.8s;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
  filter: brightness(0.9) contrast(1.1) saturate(1.05);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.15) saturate(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    transparent 100%
  );
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-20px);
}

.gallery-item:hover .gallery-caption::before {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

/* ===========================
   PROJECT NAVIGATION
   =========================== */
.project-navigation {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0.05) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 60px;
  text-align: center;
}

.project-navigation h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 40px 0;
  letter-spacing: -0.02em;
}

.nav-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 400px;
  text-decoration: none;
  color: var(--color-white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nav-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nav-project-card:hover img {
  transform: scale(1.1);
}

.nav-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.nav-project-title {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.nav-project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-project-tag {
  font-size: 0.7rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .project-intro {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .project-info-box {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1px;
  }

  .gallery-item {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 768px) {
  .project-header,
  .project-intro,
  .project-navigation {
    padding-left: 30px;
    padding-right: 30px;
  }

  .project-header {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .project-title {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .project-tags {
    margin-bottom: 30px;
    gap: 10px;
  }

  .project-tag {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .project-description {
    font-size: 1.1rem;
  }

  .project-info-box {
    padding: 30px 24px;
  }

  .info-value {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .gallery-caption {
    padding: 20px;
    font-size: 0.85rem;
  }

  .gallery-caption::before {
    left: 20px;
    width: 30px;
  }

  .nav-projects {
    grid-template-columns: 1fr;
  }

  .project-navigation {
    padding: 60px 30px;
  }

  .project-navigation h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .nav-project-card {
    height: 350px;
  }

  .nav-project-title {
    font-size: 1.5rem;
  }
  /* EFFET IMMERSIF MOBILE */
  .gallery-item {
    will-change: transform, opacity;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .gallery-item img,
  .gallery-item video {
    will-change: transform, filter;
    transition: transform 0.3s ease-out, filter 0.3s ease-out;
  }

  /* Animation d'apparition en cascade */
  .gallery-item {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
  }

  .gallery-item.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Délais en cascade pour mobile */
  .gallery-item:nth-child(1).in-view {
    transition-delay: 0s;
  }
  .gallery-item:nth-child(2).in-view {
    transition-delay: 0.15s;
  }
  .gallery-item:nth-child(3).in-view {
    transition-delay: 0.3s;
  }
  .gallery-item:nth-child(4).in-view {
    transition-delay: 0.45s;
  }
  .gallery-item:nth-child(5).in-view {
    transition-delay: 0.6s;
  }
  .gallery-item:nth-child(6).in-view {
    transition-delay: 0.75s;
  }
  .gallery-item:nth-child(7).in-view {
    transition-delay: 0.9s;
  }
  .gallery-item:nth-child(8).in-view {
    transition-delay: 1.05s;
  }
}

@media (max-width: 480px) {
  .project-header {
    padding: 60px 20px 50px;
  }

  .project-intro,
  .project-navigation {
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-title {
    font-size: 2.5rem;
  }

  .project-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .project-info-box {
    padding: 24px 20px;
  }

  .gallery-grid {
    gap: 0;
  }

  .gallery-item {
    aspect-ratio: 1/1;
  }

  .gallery-caption {
    padding: 16px;
    font-size: 0.8rem;
  }

  .gallery-caption::before {
    left: 16px;
    width: 25px;
  }

  .project-navigation {
    padding: 50px 20px;
  }

  .project-navigation h2 {
    font-size: 1.8rem;
  }

  .nav-project-card {
    height: 300px;
  }

  .nav-project-overlay {
    padding: 24px;
  }

  .nav-project-title {
    font-size: 1.3rem;
  }

  .nav-project-tag {
    font-size: 0.65rem;
    padding: 3px 10px;
  }
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

video,
img {
  image-rendering: -webkit-optimize-contrast;
}

/* ===========================
   DISCLAIMER SECTION
   =========================== */
.disclaimer-section {
  width: 100%;
  max-width: 1200px;
  padding: 2rem 2rem;
  margin: 3rem auto 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.disclaimer-content {
  max-width: 850px;
  width: 100%;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.disclaimer-content:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.disclaimer-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
  width: 24px;
  height: 24px;
}

.disclaimer-content:hover .disclaimer-icon {
  color: rgba(255, 255, 255, 0.7);
}

.disclaimer-text {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .disclaimer-section {
    padding: 1.5rem 1.5rem;
    margin: 2rem auto 1.5rem auto;
  }

  .disclaimer-content {
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    flex-direction: column;
    text-align: center;
  }

  .disclaimer-text {
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .disclaimer-section {
    padding: 1rem 1rem;
    margin: 1.5rem auto 1rem auto;
  }

  .disclaimer-content {
    padding: 1.2rem 1.5rem;
    gap: 1rem;
    border-radius: 12px;
  }

  .disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .disclaimer-icon {
    width: 20px;
    height: 20px;
  }
}

/* ===========================
   PAGE MENTIONS LÉGALES
   =========================== */
.legal-page {
  background-color: var(--color-black);
  color: var(--color-white);
}

.legal-hero {
  position: relative;
  padding: 180px 40px 100px;
  text-align: center;
  background: var(--color-black);
  overflow: hidden;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.legal-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin: 0 0 30px 0;
  line-height: 1.1;
}

.legal-title .title-line {
  display: block;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.legal-title .title-line.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #ff0000 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-shine 3s ease-in-out infinite;
  margin-top: 0;
  padding-bottom: 3px;
}

.legal-subtitle {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 120px;
}

.legal-section {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-section:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.legal-section h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 15px;
}

.legal-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
}

.legal-section p {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 15px 0;
}

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

.legal-section a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  transition: all 0.3s ease;
}

.legal-section a:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

.legal-section strong {
  color: var(--color-white);
  font-weight: 500;
}

.legal-cta-section {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.05) 0%,
    rgba(255, 0, 0, 0.02) 100%
  );
  border-color: rgba(255, 0, 0, 0.15);
  text-align: center;
  padding: 50px 40px;
}

.legal-cta-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.legal-cta-section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.legal-cta-section .btn-contact {
  background-color: var(--color-accent) !important;
  color: var(--color-white) !important;
  margin-top: 20px;
}

/* Footer Link */
footer .footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 8px;
}

footer .footer-link:hover {
  color: var(--color-white);
}

/* ===========================
   RESPONSIVE MENTIONS LÉGALES
   =========================== */
@media (max-width: 768px) {
  .legal-hero {
    padding: 140px 30px 60px;
  }

  .legal-title .title-line {
    font-size: 2.5rem;
  }

  .legal-subtitle {
    font-size: 1.1rem;
  }

  .legal-content {
    padding: 0 30px 80px;
  }

  .legal-section {
    padding: 30px 24px;
    margin-bottom: 20px;
  }

  .legal-section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .legal-section h2::after {
    width: 50px;
  }

  .legal-section p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .legal-cta-section {
    padding: 35px 24px;
  }
}

@media (max-width: 480px) {
  .legal-hero {
    padding: 120px 20px 50px;
  }

  .legal-content {
    padding: 0 20px 60px;
  }

  .legal-section {
    padding: 24px 20px;
  }

  .legal-section h2 {
    font-size: 1.4rem;
  }

  .legal-section p {
    font-size: 0.9rem;
  }
}
