/* ============================================
   LBDCREATIONS — Styles (même univers visuel)
   ============================================ */

/* Variables : couleurs lisibles sur fond sombre */
:root {
  --fond-sombre: #0d0b0f;
  --fond-card: rgba(28, 25, 32, 0.85);
  --texte-clair: #f2eef5;
  --texte-doux: #d8d0dc;
  --accent: #b898c0;
  --bordure: rgba(200, 185, 205, 0.25);
  --police-titre: 'Cormorant Garamond', Georgia, serif;
  --police-texte: 'Montserrat', sans-serif;
  --ombre-texte: 0 1px 2px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--police-texte);
  color: var(--texte-clair);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  text-shadow: var(--ombre-texte);
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 0;
}

/* Fond : dégradé sombre + légère texture pour l’ambiance du site actuel */
.fond {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('images/fond.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* ========== Header (fixe, commun à toutes les pages) ========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 11, 15, 0.92);
  border-bottom: 1px solid var(--bordure);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--texte-clair);
}

.logo-header .logo-texte {
  font-family: var(--police-titre);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Logo en grand dans le hero (page d'accueil uniquement) */
.hero-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo-hero {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.8rem;
}

.nav {
  display: flex;
  gap: 1.8rem;
}

.nav a {
  color: var(--texte-doux);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--accent);
}

/* ========== Contenu principal (zone large, entre header et footer) ========== */
.contenu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 5.5rem;
  flex: 1;
  width: 100%;
}

.hero {
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .logo-hero {
    max-width: 200px;
  }
}

.titre-principal {
  font-family: var(--police-titre);
  font-size: clamp(1.75rem, 3.8vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.intro,
.texte {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.texte.fin {
  margin-bottom: 0;
}

.titre-section {
  font-family: var(--police-titre);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 0.8rem;
  color: var(--texte-clair);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.bouton {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.bouton:hover {
  border-bottom-color: var(--accent);
}

.bouton.contact {
  color: var(--texte-doux);
}

.liens-sections .titre-section:first-of-type {
  margin-top: 0;
}

/* ========== Footer (fixe en bas, commun à toutes les pages) ========== */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  border-top: 1px solid var(--bordure);
  background: rgba(13, 11, 15, 0.92);
  z-index: 99;
}

.footer-contenu {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-texte {
  font-size: 0.95rem;
  color: #e0dce4;
}

.reseaux {
  display: flex;
  gap: 1.5rem;
}

.lien-reseau {
  color: #e0dce4;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.lien-reseau:hover {
  color: var(--accent);
}

/* ========== Responsive ========== */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav {
    gap: 1.2rem;
  }

  /* Plus d'espace en haut (logo pas coupé par le header) et en bas (texte pas coupé par le footer) */
  .contenu {
    padding: 6.5rem 1.2rem 6.5rem;
  }

  .footer-contenu {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   Galerie (défilement infini, lightbox)
   ============================================ */

.galerie-contenu {
  padding-bottom: 4rem;
}

.titre-page {
  font-family: var(--police-titre);
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--texte-clair);
}

.sous-titre {
  font-size: 1.05rem;
  color: var(--texte-doux);
  margin-bottom: 2.5rem;
}

.carrousel-section {
  margin-bottom: 3.5rem;
}

.carrousel-section .titre-section {
  margin-top: 0;
  margin-bottom: 1rem;
}

.carrousel.defilant {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
}

.defilant .scroll-container {
  overflow: hidden;
  width: 100%;
}

.defilant .scroll-strip {
  display: flex;
  width: max-content;
  animation: defile-infini var(--scroll-duration, 35s) linear infinite;
  will-change: transform;
}

.defilant .scroll-strip .slide {
  flex: 0 0 var(--vignette-size, 140px);
  width: var(--vignette-size, 140px);
  height: var(--vignette-size, 140px);
  padding: 0 6px;
  box-sizing: border-box;
}

.defilant .scroll-strip .slide a,
.defilant .scroll-strip .slide span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.defilant .scroll-strip .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes defile-infini {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--scroll-half))); }
}

@media (max-width: 600px) {
  .defilant .scroll-strip .slide {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
  }
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.ouvert {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-fermer {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.lightbox-fermer:hover {
  background: rgba(255, 255, 255, 0.3);
}
