/* ======================================================
   ANNE BONNY INK — Stylesheet
   Dark Gothic Elegant Theme
   ====================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --dark:       #0e0e0e;
  --dark-2:     #141414;
  --dark-3:     #1a1a1a;
  --dark-4:     #222222;
  --gold:       #c9a866;
  --gold-light: #dfc38e;
  --gold-dark:  #a07c3e;
  --cream:      #f5f0e8;
  --cream-muted:#c8c0b0;
  --text:       #e8e0d0;
  --text-muted: #8a8070;
  --white:      #ffffff;

  --ff-title:  'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --ff-body:   'Inter', system-ui, sans-serif;
  --ff-accent: 'Cormorant Garamond', Georgia, serif;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;

  --max-w: 1200px;
  --section-py: 100px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ---------- Selection ---------- */
::selection { background: var(--gold-dark); color: var(--cream); }

/* ======================================================
   UTILITIES
   ====================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-label {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-title);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.section-title.large {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.gold-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 20px;
}

.gold-divider.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--dark);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,102,0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-primary.large {
  padding: 18px 48px;
  font-size: 0.9rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: transparent;
  color: var(--gold);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(201, 168, 102, 0.1);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Pulse animation */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,102,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(201,168,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,102,0); }
}
.pulse { animation: pulse-ring 2.5s ease infinite; }

/* ======================================================
   SCROLL ANIMATIONS
   ====================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ======================================================
   NAVBAR
   ====================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(201,168,102,0.12);
}

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

.nav-logo { display: flex; align-items: center; gap: 10px; }

.nav-logo-text {
  font-family: var(--ff-title);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.2em;
  transition: color var(--transition);
}
.nav-logo-text:hover { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-btn {
  padding: 9px 22px;
  border: 1px solid var(--gold-dark) !important;
  color: var(--gold) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em;
  transition: all var(--transition) !important;
}
.nav-btn:hover {
  background: var(--gold-dark) !important;
  color: var(--dark) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s ease;
}
.nav-burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(14,14,14,0.98);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(201,168,102,0.1);
}
.nav-mobile.open { display: flex; }

.mobile-link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-muted);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover, .mobile-cta { color: var(--gold) !important; }

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: grayscale(30%);
  transform: scale(1.06);
  transition: transform 8s ease;
}

.hero:hover .hero-bg-img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14,14,14,0.5) 0%, rgba(14,14,14,0.85) 70%, rgba(14,14,14,0.97) 100%);
}

/* Subtle noise texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Ornament above title */
.hero-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.ornament-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-ornament .ornament-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.ornament-icon {
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.8;
}

.hero-title {
  font-family: var(--ff-title);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-main {
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--cream);
  display: block;
}

.hero-title-ink {
  font-size: clamp(2rem, 6vw, 4.5rem);
  color: var(--gold);
  display: block;
  letter-spacing: 0.5em;
  margin-top: -8px;
}

/* Hero divider */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}
.divider-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,102,0.5));
}
.hero-divider .divider-line:last-child {
  background: linear-gradient(90deg, rgba(201,168,102,0.5), transparent);
}
.divider-diamond {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-subtitle {
  font-family: var(--ff-accent);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-cta {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-dark);
  font-size: 1rem;
  animation: bounce 2s ease infinite;
}

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

/* ======================================================
   MON UNIVERS
   ====================================================== */
.univers { background: var(--dark-2); }

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

.img-frame {
  position: relative;
}

.img-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  /* Même traitement unifié que la galerie */
  filter: contrast(1.08) brightness(0.88) saturate(0.72) sepia(0.08);
}

/* Decorative golden frame corners */
.img-frame::before,
.img-frame::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.7;
  z-index: 1;
}
.img-frame::before {
  top: -8px; left: -8px;
  border-width: 2px 0 0 2px;
}
.img-frame::after {
  bottom: -8px; right: -8px;
  border-width: 0 2px 2px 0;
}

/* Extra frame corners via pseudo on inner element */
.img-frame img::before {
  content: '';
}

.univers-text { padding: 20px 0; }

.univers-para {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--cream-muted);
  margin-bottom: 18px;
}
.univers-para strong { color: var(--cream); font-weight: 400; }

.univers-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(201,168,102,0.3);
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.tag:hover {
  border-color: var(--gold);
  background: rgba(201,168,102,0.08);
}

/* ======================================================
   STYLES
   ====================================================== */
.styles { background: var(--dark); }

.styles::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,102,0.2), transparent);
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(201,168,102,0.06);
  border: 1px solid rgba(201,168,102,0.1);
}

.style-card {
  padding: 48px 36px;
  background: var(--dark);
  text-align: center;
  transition: background var(--transition);
  border: 1px solid transparent;
}

.style-card:hover {
  background: var(--dark-3);
  border-color: rgba(201,168,102,0.1);
}

.style-icon-wrap {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201,168,102,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--transition);
}

.style-icon-wrap i {
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform var(--transition);
}

.style-card:hover .style-icon-wrap {
  border-color: var(--gold);
  background: rgba(201,168,102,0.08);
}

.style-card:hover .style-icon-wrap i { transform: scale(1.2); }

.style-card h3 {
  font-family: var(--ff-title);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.style-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ======================================================
   PORTFOLIO
   ====================================================== */
.portfolio { background: var(--dark-2); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  /* Rows auto pour que les "large" s'étirent naturellement */
  grid-auto-rows: 320px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-3);
}

.portfolio-item.large {
  grid-row: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  /*
   * Filtre unifié : harmonise toutes les photos
   * - contrast(1.08)   : légère hausse du contraste pour unifier les noirs
   * - brightness(0.88) : assombrit légèrement pour coller au thème sombre
   * - saturate(0.72)   : désature un peu pour rapprocher les photos couleur des N&B
   * - sepia(0.08)       : teinte chaude très subtile pour cohérence avec les dorés du site
   */
  filter: contrast(1.08) brightness(0.88) saturate(0.72) sepia(0.08);
}

.portfolio-item:hover img {
  transform: scale(1.06);
  /* Au survol : on révèle les vraies couleurs progressivement */
  filter: contrast(1.04) brightness(0.98) saturate(0.92) sepia(0.04);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,14,14,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.4s ease;
  color: var(--cream);
}

.portfolio-item:hover .portfolio-overlay {
  background: rgba(14,14,14,0.5);
}

.portfolio-overlay i {
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.portfolio-overlay span {
  font-family: var(--ff-accent);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease 0.05s;
}

.portfolio-item:hover .portfolio-overlay i {
  opacity: 1;
  transform: scale(1);
}

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

/* ======================================================
   FLASH
   ====================================================== */
.flash {
  background: var(--dark);
  position: relative;
}

.flash::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,102,0.25), transparent);
}

.flash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.flash-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.flash-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--dark-3);
  overflow: hidden;
  /* Golden ornamental frame */
  border: 1px solid rgba(201,168,102,0.3);
  box-shadow:
    0 0 0 4px rgba(14,14,14,0.8),
    0 0 0 5px rgba(201,168,102,0.15);
  transition: all 0.3s ease;
}

/* Corner ornaments */
.flash-frame::before,
.flash-frame::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(201,168,102,0.6);
  border-style: solid;
  z-index: 2;
  transition: all 0.3s ease;
}
.flash-frame::before { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
.flash-frame::after  { bottom: 4px; right: 4px; border-width: 0 1px 1px 0; }

.flash-item:hover .flash-frame {
  border-color: rgba(201,168,102,0.65);
  box-shadow:
    0 0 0 4px rgba(14,14,14,0.8),
    0 0 0 5px rgba(201,168,102,0.35),
    0 8px 30px rgba(201,168,102,0.15);
}

.flash-item:hover .flash-frame::before,
.flash-item:hover .flash-frame::after {
  border-color: var(--gold);
  width: 20px;
  height: 20px;
}

.flash-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.flash-item:hover .flash-frame img { transform: scale(1.05); }

.flash-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,14,14,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 1;
}

.flash-item:hover .flash-overlay { background: rgba(14,14,14,0.4); }

.flash-overlay i {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flash-item:hover .flash-overlay i { opacity: 1; }

.flash-label {
  font-family: var(--ff-accent);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream-muted);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.flash-item:hover .flash-label { color: var(--gold-light); }

.flash-cta {
  text-align: center;
}

/* ======================================================
   INSTAGRAM
   ====================================================== */
.instagram-section {
  background: var(--dark-2);
  position: relative;
}

.instagram-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,102,0.2), transparent);
}

.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: color var(--transition);
  text-decoration: none;
}
.insta-handle i { font-size: 1.1rem; }
.insta-handle:hover { color: var(--gold); }

.behold-wrapper {
  margin-bottom: 40px;
  /* Force le widget à s'adapter au thème sombre */
  --behold-font-color: var(--cream);
  --behold-background-color: transparent;
}

/* Override styles Behold pour coller au thème */
behold-widget {
  --behold-font-color: #f5f0e8;
  --behold-background: transparent;
  display: block;
  width: 100%;
}

.insta-cta {
  text-align: center;
}

/* ======================================================
   RÉSERVATION
   ====================================================== */
.reservation {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.reservation-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(201,168,102,0.04) 0%, transparent 70%),
    linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

.reservation::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,102,0.25), transparent);
}

.reservation::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,102,0.15), transparent);
}

.reservation-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ornament-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.ornament-row .ornament-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,102,0.4));
}

.ornament-row .ornament-line:last-child {
  background: linear-gradient(90deg, rgba(201,168,102,0.4), transparent);
}

.ornament-small {
  font-size: 0.5rem;
  color: var(--gold);
  opacity: 0.6;
}

.reservation-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--cream-muted);
  max-width: 550px;
  margin: 24px auto 40px;
}

.reservation-text strong { color: var(--cream); font-weight: 400; }

.social-links {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all var(--transition);
}

.social-link i { font-size: 1rem; color: var(--gold-dark); transition: color var(--transition); }

.social-link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(201,168,102,0.3);
}
.social-link:hover i { color: var(--gold); }

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,168,102,0.1);
  padding: 56px 0 36px;
  text-align: center;
}

.footer-logo {
  font-family: var(--ff-title);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.3em;
  margin-bottom: 20px;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-sep { color: rgba(201,168,102,0.3); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.footer-seo {
  font-size: 0.65rem;
  color: rgba(138,128,112,0.35);
  letter-spacing: 0.08em;
}

/* ======================================================
   LIGHTBOX
   ====================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  pointer-events: all;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,6,6,0.95);
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,102,0.15);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  /* Lightbox = couleurs originales, juste léger assombrissement du fond */
  filter: contrast(1.02) brightness(0.97);
}

.lightbox-caption {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-muted);
  letter-spacing: 0.05em;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(14,14,14,0.7);
  border: 1px solid rgba(201,168,102,0.2);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201,168,102,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .univers-grid { gap: 50px; }
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .flash-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 70px; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-title-main { font-size: clamp(2.5rem, 12vw, 5rem); }
  .hero-title-ink  { font-size: clamp(1.4rem, 7vw, 2.8rem); }

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

  .styles-grid { grid-template-columns: 1fr; }
  .style-card { padding: 36px 28px; }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.large {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .flash-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .flash-grid .flash-item:last-child {
    grid-column: span 1;
  }

  .social-links { flex-direction: column; align-items: center; gap: 16px; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: 0.65rem; letter-spacing: 0.15em; }
  .btn-primary { padding: 14px 26px; font-size: 0.75rem; }
  .btn-primary.large { padding: 15px 30px; font-size: 0.78rem; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .flash-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .nav-logo-text { font-size: 0.9rem; }
}
