/* ============================================================
   VINCENT GARNIER — STYLE GLOBAL (version stable & optimisée)
   ============================================================ */

/* ---------- VARIABLES ---------- */
:root {
  --black: #000;
  --bg-white: #fdfaf5;
  --muted: #66615b;
  --text: #222;
  --gold: #caa76a;
  --gold-soft: #e3c871;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --max-width: 1200px;
}

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

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--bg-white);
  color: var(--text);
  scroll-behavior: smooth;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.reflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .reflow {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 2000;
  overflow: visible !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo img {
  height: 38px;
}

/* ----- Navigation desktop ----- */
.main-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-list a,
.nav-list button {
  text-decoration: none;
  color: var(--gold);
  background: none;
  border: none;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-list a.cta {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.nav-list a:hover,
.nav-list button:hover {
  color: var(--gold-soft);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* ----- Dropdowns ----- */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  padding: 8px 6px;
  min-width: 200px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.has-dropdown.open .dropdown,
.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 8px 12px;
  color: var(--gold-soft);
  font-weight: 400;
}

.dropdown a:hover {
  color: var(--gold);
}

/* ----- Bouton hamburger ----- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2500;
}

/* ----- Navigation mobile ----- */
@media (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 2400;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .nav-list a,
  .nav-list button {
    color: white;
    font-size: 1.4rem;
  }

  .site-header {
    overflow: visible !important;
  }
}
/* === HARMONISATION DES POLICES DU HEADER === */
.site-header,
.main-nav,
.nav-list a,
.nav-list button,
.nav-list .drop-toggle {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--gold);
  text-transform: uppercase;
}

/* Sous-menus (dropdown) */
.dropdown a {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  color: var(--gold-soft);
  text-transform: none;
}

/* Hover effets doux dorés */
.nav-list a:hover,
.nav-list button:hover,
.dropdown a:hover {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
@media (max-width: 900px) {
  .main-nav.open .nav-list a,
  .main-nav.open .nav-list button {
    color: var(--gold-soft);
  }
}
/* === DROPDOWNS STABLES (clic ou hover) === */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 2000;
}

.has-dropdown.open .dropdown {
  display: block;
}

.has-dropdown:hover .dropdown {
  display: block;
}
/* === DROPDOWNS : affichage stable (clic + hover) === */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}

.has-dropdown.open .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--gold-soft);
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: background 0.25s ease, color 0.25s ease;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--gold);
}
.has-dropdown .dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 12px; /* petite zone tampon */
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.featured {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  background: url("img_ressources/bgbandedemo.png") center center / cover no-repeat fixed;
  background-blend-mode: overlay;
  background-color: rgba(202, 167, 106, 0.15);
  overflow: hidden; /* pour contenir le ::before */
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  box-shadow: 0 -20px 40px rgba(0,0,0,0.5) inset;


}

/* Le voile */
.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(202,167,106,0.2),
    rgba(0,0,0,0.5)
  );
  backdrop-filter: blur(3px);
  z-index: 0;
}


/* Tout le contenu au-dessus du voile */
.featured > * {
  position: relative;
  z-index: 1;
}


.featured h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 25px rgba(0,0,0,0.3);
}

/* ===== Section Bande Démo (effet Netflix doré) ===== */
/* === Faire que la section Bande Démo occupe toute la largeur === */
.featured {
  width: 100vw;              /* toute la largeur de la fenêtre */
  margin-left: 50%;
  transform: translateX(-50%); /* recentre le contenu */
  position: relative;
  background: transparent;   /* garde ton fond de page */
}

/* Désactive la limite du container pour cette section */
.featured .container {
  max-width: none;
  width: 100%;
  padding: 0 2rem; /* léger padding pour respirer */
}

.featured-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 1rem 2rem;
  justify-content: center;
  align-items: center;

  /* cacher la barre de défilement */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* Internet Explorer/Edge */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* pour iPhone/iPad */
}

}

.featured-grid::-webkit-scrollbar {
  display: none;                  /* Chrome, Safari */
}

.featured .item {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.featured video {
  width: 550px; /* Taille de la vidéo (ajuste ici pour + ou - grand) */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.featured video:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(202, 167, 106, 0.5);
}

@media (max-width: 900px) {
  .featured video {
    width: 85vw; /* pleine largeur sur mobile */
  }
}


.featured h2 {
  position: relative;
  overflow: hidden;
}

.featured h2::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 5s infinite linear;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.featured video:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(202,167,106,0.4);
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gold);
  overflow: hidden;
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 2;
  animation: fadeZoomIn 2s ease-out forwards;
}


.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  opacity: 0;
  animation: slideFadeIn 2.5s ease-out forwards 0.5s;
}

.hero-text p {
  font-size: 1.8rem;
  opacity: 0;
  animation: fadeUp 2s ease-out forwards 1.5s;
}

@keyframes fadeZoomIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

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

@keyframes fadeUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
/* === HERO TEXT CINÉMATIQUE PREMIUM RESTAURÉ === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--gold);
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(0.95);
  z-index: 0;
}

/* --- Bloc texte animé --- */
/* --- Bloc texte animé (corrigé) --- */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  text-align: center;
  color: white;
  animation: hero-zoom 9s ease-in-out forwards;
  overflow: hidden;
  filter: brightness(0.8) blur(6px);
  opacity: 0;
  animation: hero-focus 2s ease-out forwards, hero-zoom 9s ease-in-out 2s forwards;
}

/* Nouvelle keyframe pour apparition nette */
@keyframes hero-focus {
  0% {
    opacity: 0;
    filter: brightness(0.8) blur(6px);
    transform: translate(-50%, -50%) scale(0.97);
  }
  50% {
    opacity: 1;
    filter: brightness(1) blur(2px);
  }
  100% {
    opacity: 1;
    filter: brightness(1) blur(0);
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Ajustement du zoom global */
@keyframes hero-zoom {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}


/* Halo lumineux mouvant */
.hero-text::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0) 70%
  );
  mix-blend-mode: screen;
  animation: lightSweep 10s ease-in-out infinite;
  pointer-events: none;

}
.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
/* Style commun du menu (reflet métallique doré, sans flou) */
.nav-list a,
.nav-list button {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 0 8px 0;
  background: linear-gradient(90deg, #b58b33, #f5e4b1, #b58b33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300%;
  background-position: center;
  animation: metallicFlow 6s linear infinite;
  transition: transform 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
  opacity: 0.95;
}

/* Animation de dégradé */
@keyframes metallicFlow {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Hover (reflet accentué) */
.nav-list a:hover,
.nav-list button:hover {
  transform: translateY(-1px);
  opacity: 1;
  background: linear-gradient(90deg, #f5e4b1, #ffeab8, #d4af37);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: metallicFlowHover 3s linear infinite;
}

@keyframes metallicFlowHover {
  0% { background-position: 150% center; }
  100% { background-position: -150% center; }
}

/* Soulignement doré */
.nav-list a::after,
.nav-list button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    var(--gold) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-list a:hover::after,
.nav-list button:hover::after {
  opacity: 0.9;
  transform: translateY(0);
}

/* 🔹 CTA (bouton Me contacter) — version dorée nette sans effet texte transparent */
.nav-list a.cta {
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--gold); /* texte doré plein */
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
  -webkit-text-fill-color: var(--gold); /* forcer le plein doré */
  background-clip: border-box; /* empêcher le text-clip de s’appliquer */
}

.nav-list a.cta:hover {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/


/* ============================================================
   SECTIONS GÉNÉRALES
   ============================================================ */
.section {
  padding: 72px 0;
  background: var(--bg-white);
  position: relative;
}

.text-block {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.7;
}

.image-block img {
  border-radius: 12px;
  width: 100%;
  transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.image-block img:hover {
  transform: scale(1.06);
}
/* === Effet faisceau lumineux en mouvement sur le texte === */
.hero-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: lightSweep 6s infinite linear;
  pointer-events: none;
  z-index: 3;
  filter: blur(8px);
  opacity: 0.8;
}

/* Animation du faisceau (déplacement latéral) */
@keyframes lightSweep {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* Légère lueur dorée subtile sur le texte */
.hero-text h1,
.hero-text p {
  position: relative;
  color: #f5e6c8;
  text-shadow:
    0 0 10px rgba(245, 230, 200, 0.25),
    0 0 20px rgba(245, 230, 200, 0.15);
  transition: text-shadow 0.8s ease, color 0.8s ease;
}

.hero-text:hover h1,
.hero-text:hover p {
  color: #fff6db;
  text-shadow:
    0 0 12px rgba(255, 240, 200, 0.5),
    0 0 25px rgba(255, 220, 150, 0.3),
    0 0 45px rgba(255, 210, 120, 0.15);
}
/* === Sous-titre du hero (apparition plus tardive et progressive) === */
.hero-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f5e6c8;
  text-shadow:
    0 0 10px rgba(245, 230, 200, 0.3),
    0 0 20px rgba(245, 230, 200, 0.15);
  opacity: 0;
  transform: translateY(20px);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  width: 0;
  white-space: nowrap;
  overflow: hidden;

  /* ✨ Délai augmenté pour un effet “révélation” */
  animation:
    typing 3.5s steps(40, end) 4.2s forwards,
    blink 0.8s step-end infinite 4.2s,
    fadeIn 0.6s ease-out 4.2s forwards;
}

/* Machine à écrire */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* Clignotement du curseur */
@keyframes blink {
  50% { border-color: transparent; }
}

/* Apparition douce */
@keyframes fadeIn {
  to { opacity: 1; }
}
.hero-text {
  overflow: visible !important; /* permet au texte d’être pleinement visible pendant l’animation */
}
/* === LIGHTBOX AVEC NAVIGATION === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 45px rgba(202, 167, 106, 0.6);
  animation: zoomIn 0.6s ease;
}

/* Bouton de fermeture */
.lightbox .close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: var(--gold-soft);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 100000;
}
.lightbox .close:hover { color: var(--gold); }

/* Flèches de navigation */
.lightbox .nav {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: var(--gold-soft);
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 100000;
}

.lightbox .nav:hover {
  color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox .nav.prev { left: 40px; }
.lightbox .nav.next { right: 40px; }


/* === TRANSITION CINÉMATIQUE ENTRE SECTIONS === */
.section-transition {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 120, 0.3),
    rgba(0, 0, 0, 0.6) 80%
  );
  mix-blend-mode: screen;
  filter: blur(60px) brightness(1.1);
  transition: opacity 0.8s ease;
}

.section-transition.active {
  opacity: 1;
  animation: cinematicSweep 2s ease-out forwards;
}

@keyframes cinematicSweep {
  0% {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(60px) brightness(1.2);
  }
  25% {
    opacity: 1;
    transform: scale(1);
    filter: blur(30px) brightness(1.5);
  }
  70% {
    opacity: 0.9;
    filter: blur(20px) brightness(1.3) contrast(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}
/* === EFFET MIROIR DORÉ / REFLETS MOUVANTS === */

/* 1️⃣ Logo : effet de lumière glissante */
.logo img {
  position: relative;
  display: inline-block;
  filter: brightness(1) contrast(1.1);
  transition: filter 0.6s ease;
}

.logo img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transform: translateX(-100%) rotate(10deg);
  animation: goldReflection 5s linear infinite;
  pointer-events: none;
}

/* 2️⃣ Titres : reflets mouvants dorés */
h1, h2, h3 {
  position: relative;
  background: linear-gradient(90deg, #d4af37, #f5e4b1, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: goldShine 6s linear infinite;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

/* === ANIMATIONS === */

/* Reflet horizontal doré pour le texte */
@keyframes goldShine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Reflet mobile sur le logo */
@keyframes goldReflection {
  0%, 80%, 100% {
    opacity: 0;
    transform: translateX(-120%) rotate(10deg);
  }
  40% {
    opacity: 0.6;
    transform: translateX(120%) rotate(10deg);
  }
}

/* ============================================================
   SECTION QUI SUIS-JE ?
   ============================================================ */
#about {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

#about .container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 4rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#about h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

#about p {
  font-family: 'Quicksand', sans-serif;
  margin-bottom: 1.2rem;
  color: #333;
}

#about .photo-block img {
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 1.4s ease, filter 1.4s ease;
  animation: breathing 12s ease-in-out infinite;
}

#about .photo-block:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.05);
}

@keyframes breathing {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.03) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}
/* Ajustement hauteur image = hauteur texte */
#about .photo-block {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

/* L’image prend la même hauteur que le texte et garde le haut visible */
#about .photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* couvre entièrement sans déformer */
  object-position: top;   /* montre le haut de l’image */
  border-radius: 16px;
  transition: transform 1.5s ease, filter 1.5s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* === HARMONISATION : Ajout d’une bordure dorée à la section "Qui suis-je ?" === */
#about .container.two-col.align-center.reflow {
  border-left: 4px solid #caa76a; /* bordure dorée subtile */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  box-shadow:
    0 0 25px rgba(202, 167, 106, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.6s ease-in-out;
  padding: 4rem 3.5rem;
}

/* Légère lueur dorée au survol */
#about .container.two-col.align-center.reflow:hover {
  box-shadow:
    0 0 135px rgba(202, 167, 106, 0.769),
    0 18px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
/* === ESPACEMENT ENTRE "Qui suis-je ?" ET "Portfolio" === */
#about.section.white-section {
  margin-bottom: 8rem; /* espace avant la section suivante */
}

.section.white-section.portfolio {
  padding-top: 8rem; /* augmente le haut du portfolio pour un effet d'ouverture fluide */
}

.section.white-section {
  padding: 80px 0; /* au lieu de 72px 0 par exemple */
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio .section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 6rem;
}

.portfolio .section-row.reverse {
  flex-direction: row-reverse;
}

.portfolio .text-block {
  flex: 1 1 45%;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,230,210,0.7));
  border-left: 4px solid var(--gold);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.portfolio .image-block {
  flex: 1 1 45%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.portfolio .image-block img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio .image-block:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.05);
  box-shadow: 0 0 35px rgba(202, 167, 106, 0.4);
}
/* === HARMONISATION : Portfolio ↔ Section "Qui suis-je ?" === */

/* Style général des blocs texte du portfolio */
.section.white-section.portfolio .text-block {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #caa76a;
  transition: all 1.2s ease;
  transform: translateY(30px);
  opacity: 0;
  font-family: 'Playfair Display', serif;
}

/* Apparition fluide comme sur .text-block.animate.in-view */
.section.white-section.portfolio .text-block.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* Titre harmonisé */
.section.white-section.portfolio h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #b9935a, #f5e4b1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

/* Paragraphe harmonisé */
.section.white-section.portfolio p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c2c2c;
  margin-bottom: 1rem;
  transition: opacity 1s ease, transform 1s ease;
  opacity: 0;
  transform: translateY(10px);
}

/* Apparition progressive des paragraphes */
.section.white-section.portfolio .text-block.in-view p {
  opacity: 1;
  transform: translateY(0);
}

.section.white-section.portfolio .text-block.in-view p:nth-child(2) { transition-delay: 0.3s; }
.section.white-section.portfolio .text-block.in-view p:nth-child(3) { transition-delay: 0.6s; }
.section.white-section.portfolio .text-block.in-view p:nth-child(4) { transition-delay: 0.9s; }

/* ✨ Effet survol doré renforcé */
.section.white-section.portfolio .text-block:hover {
  box-shadow: 
    0 0 120px rgb(206, 165, 94), /* halo doré plus large et lumineux */
    0 0 125px rgba(255, 230, 180, 0.25);  /* léger éclat secondaire */
  transform: translateY(-6px) scale(1.02);
  transition: all 0.6s ease;
}
.section.white-section.portfolio .image-block:hover {
  box-shadow: 
    0 0 120px rgb(206, 165, 94), /* halo doré plus large et lumineux */
    0 0 125px rgba(255, 230, 180, 0.25);  /* léger éclat secondaire */
  transform: translateY(-6px) scale(1.02);
  transition: all 0.6s ease;
}
/* ===== OPTION A (recommandée) : texture film grain en background du body ===== */
body { /* laisse ta couleur de fond principale et ajoute la texture en couche */ 
  background-color: var(--bg-white); 
  background-image: url("../img_ressources/film-grain-texture.jpg"); 
  background-repeat: repeat; 
  background-position: center center; 
  background-size: auto; /* repeat donc pas cover si tu veux un grain répétitif */ 
  background-attachment: fixed; /* fixe la texture à la fenêtre */ 
}
   /* si tu veux que le grain soit très subtil */ 
   body::before 
   { content: ""; 
    position: fixed; 
    inset: 0; 
    pointer-events: 
    none; 
    background: inherit; /* réutilise background-image du body */ 
    opacity: 0.6;
    mix-blend-mode: multiply; /* ou soft-light si tu préfères */ 
    z-index: 0; }


/* === ESPACEMENT BAS DU PORTFOLIO === */
.section.white-section.portfolio {
  padding-bottom: 8rem; /* espace de fin du portfolio */
}
/* --- Bloc cliquable dans le portfolio --- */
.link-block {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-block:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 45px rgba(202, 167, 106, 0.4);
}

.link-block h3,
.link-block p {
  color: inherit;
}


@media (max-width: 900px) {
  .section.white-section.portfolio {
    padding-bottom: 5rem;
  }
}
.image-block video {
  width: 100%;
  height: 100%;
  max-height: 450px; /* limite la hauteur comme les images */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.6s ease, filter 0.6s ease;
  
}

/* Même effet au survol que pour les images */
.image-block:hover video {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.05);
  box-shadow: 0 0 35px rgba(202, 167, 106, 0.4);
}
.lightbox video {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 45px rgba(202, 167, 106, 0.6);
  animation: zoomIn 0.6s ease;
}
/* Lightbox vidéo (plein écran) */
.lightbox video {
  display: none; /* par défaut, cachée */
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 45px rgba(202, 167, 106, 0.6);
  animation: zoomIn 0.6s ease;
  background: black;
  object-fit: contain; /* important : évite la déformation */
  z-index: 99999; /* force au-dessus des calques */
}

.lightbox[style*="display: none"] video {
  display: none !important;
}
/* Base lightbox (centre, full screen) */
.lightbox {
  display: none; /* cachée par défaut */
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  gap: 20px;
  padding: 40px;
}

/* éléments média */
.lightbox .lightbox-content {
  max-width: 92%;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 0 45px rgba(202,167,106,0.6);
  object-fit: contain;
  background: #000;
}

/* boutons */
.lightbox .close,
.lightbox .nav {
  position: absolute;
  background: transparent;
  border: none;
  color: var(--gold-soft);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 100000;
  padding: 10px;
}
.lightbox .close { top: 18px; right: 28px; }
.lightbox .nav.prev { left: 28px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox .nav.next { right: 28px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* affichage actif */
.lightbox.show { display: flex; }
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
video.fade-in {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: var(--gold-soft);
  backdrop-filter: blur(6px);
  z-index: 900;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-inner a {
  color: var(--gold-soft);
  margin-right: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-inner a:hover {
  color: var(--gold);
}

/* --- Icônes sociales dans le footer --- */
.footer-inner .socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-inner .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  box-shadow: 0 0 8px rgba(202, 167, 106, 0.15);
}

.footer-inner .socials a:hover {
  background: rgba(202, 167, 106, 0.15);
  box-shadow: 0 0 15px rgba(202, 167, 106, 0.4);
  transform: translateY(-2px);
}

.footer-inner .socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(1.4) sepia(0.5) hue-rotate(15deg) saturate(1.5);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-inner .socials a:hover img {
  filter: brightness(2) sepia(0.9) hue-rotate(20deg) saturate(2);
  transform: scale(1.15);
}

/* === Bouton "Mentions légales" aligné avec les icônes === */
.site-footer .left {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* espace entre les icônes et le bouton */
}

.site-footer .legal-link {
  color: var(--gold-soft);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(202, 167, 106, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.site-footer .legal-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  text-shadow: 0 0 6px rgba(255, 220, 160, 0.4);
  background: rgba(202, 167, 106, 0.05);
}

/* ============================================================
   PORTRAITS
   ============================================================ */
/* ===== Hero section pleine largeur ===== */
/* ===== Section Hero ===== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 2; /* passe au-dessus du fond global */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* L’image de fond du hero */
.hero .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(0.7);
}

/* Texte du hero centré */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* ✅ centre parfaitement */
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 3;
  width: 90%;
  max-width: 800px;
}

/* Titre et sous-titre */
.hero-text h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}
/* ===== Galerie Portraits ===== */
.portraits-gallery {
  width: 100%;
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

.portraits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.portrait-item {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portrait-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(202, 167, 106, 0.6);
}

/* Pour les écrans plus grands */
@media (min-width: 1600px) {
  .portrait-item {
    height: 280px;
  }
}
/* ===== Lightbox Portrait ===== */
.portrait-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.portrait-lightbox.active {
  display: flex;
}

.portrait-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 45px rgba(202, 167, 106, 0.6);
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.portrait-close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 2.5rem;
  color: #caa76a;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.portrait-close:hover {
  transform: scale(1.15);
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ===== Lightbox Portrait (indépendante) ===== */
.portrait-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.portrait-lightbox.active {
  display: flex;
}

.portrait-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 45px rgba(202, 167, 106, 0.6);
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.portrait-close,
.portrait-next,
.portrait-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #caa76a;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.portrait-close {
  top: 40px;
  right: 40px;
  transform: none;
  font-size: 2.8rem;
}

.portrait-next {
  right: 40px;
}

.portrait-prev {
  left: 40px;
}

.portrait-next:hover,
.portrait-prev:hover,
.portrait-close:hover {
  transform: scale(1.15);
  opacity: 1;
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ===== Lightbox Portrait (indépendante) ===== */
.portrait-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.portrait-lightbox.active {
  display: flex;
}

.portrait-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 45px rgba(202, 167, 106, 0.6);
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.portrait-close,
.portrait-next,
.portrait-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #caa76a;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.portrait-close {
  top: 40px;
  right: 40px;
  transform: none;
  font-size: 2.8rem;
}

.portrait-next {
  right: 40px;
}

.portrait-prev {
  left: 40px;
}

.portrait-next:hover,
.portrait-prev:hover,
.portrait-close:hover {
  transform: scale(1.15);
  opacity: 1;
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ===== Lightbox Portrait ===== */
.portrait-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.portrait-lightbox.active {
  display: flex;
}
.portrait-lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(202, 167, 106, 0.7);
}
.portrait-close,
.portrait-prev,
.portrait-next {
  position: absolute;
  color: rgba(202, 167, 106, 0.9);
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}
.portrait-close { top: 30px; right: 40px; }
.portrait-prev { left: 40px; top: 50%; transform: translateY(-50%); }
.portrait-next { right: 40px; top: 50%; transform: translateY(-50%); }
.portrait-close:hover,
.portrait-prev:hover,
.portrait-next:hover { color: white; }
body.portrait-page {
  padding-bottom: 6rem;
}

/* ============================================================
   PAGE QUI SUIS-JE — amélioration image + typo + carousel
   ============================================================ */

/* ---------- Image principale responsive ---------- */

.photo-block {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  min-height: 650px;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* remplit sans déformation */
  object-position: center top;
  border-radius: 20px;
  display: block;
  transition: transform 1s ease, filter 1s ease;
}

.photo-block:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* responsive mobile */
@media (max-width: 900px) {
  .photo-block {
    min-height: 420px;
  }
}
/* SECTION */
.photo-carousel-section {
  padding: 0px 0; /* réduit l’espace vertical */
  margin-top: 0;
  background: #fff;
  text-align: center;
}

.photo-carousel-section h2 {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  padding: 10px 22px;
  border-radius: 14px;

  
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  font-family: 'Cinzel Decorative', serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #b9935a;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Lignes dorées */
.photo-carousel-section h2::before,
.photo-carousel-section h2::after {
  content: "";
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #caa76a, transparent);
  display: inline-block;
}

/* 👇 CENTRAGE */
.photo-carousel-section {
  text-align: center;
}

/* CAROUSEL */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  min-width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

/* BOUTONS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}
.section.white-section + .photo-carousel-section {
  margin-top: -40px;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.youtube-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.youtube-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 177.78vh;
  height: 100vh;

  min-width: 100%;
  min-height: 56.25vw;

  transform: translate(-50%, -50%);
  pointer-events: none;
}
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 180px;
  max-width: 60vw;
  margin-bottom: 40px;
  animation: pulse 2s infinite ease-in-out;
}

.loader-line {
  width: 180px;
  height: 2px;
  margin: 0 auto 20px;
  background: linear-gradient(90deg, transparent, white, transparent);
  animation: loadingLine 1.8s infinite;
}

.loader-content p {
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
  letter-spacing: 3px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes loadingLine {
  0%, 100% {
    transform: scaleX(0);
    opacity: 0;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}