/* ═══════════════════════════════════════════════
   BAB DARNA — Version 2 · Inspirée Salama Saint-Tropez
   Immersive · Cinématographique · Éditorial
═══════════════════════════════════════════════ */

:root {
  --red:        #a51d2b;
  --navy:       #0c101e;
  --white:      #ffffff;
  --cream:      #f2ece4;
  --muted:      #9a8878;
  --gold:       #c8a96e;
  --gold-light: #e2c98a;
  --gold-dark:  #9a7a45;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-italic: 'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: #080a12; color: var(--white); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ════════════════════════════════════════
   NAVIGATION — transparente, minimaliste
════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 52px;
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  padding: 16px 52px;
  background: rgba(8,10,18,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(165,29,43,0.2);
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }

.nav-logo {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.nav-logo img { width: 44px; height: 44px; object-fit: contain; }
.nav-logo-name {
  font-family: var(--font-serif); font-size: 11px; letter-spacing: 5px;
  color: var(--white); font-weight: 600;
}

.nav-reserve {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 24px; transition: all 0.3s;
}
.nav-reserve:hover { background: var(--red); border-color: var(--red); }

.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(--white); transition: all 0.3s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(8,10,18,0.98); flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 22px; font-family: var(--font-serif); color: var(--white); letter-spacing: 3px; }

/* ════════════════════════════════════════
   HERO — Plein écran total, vidéo
════════════════════════════════════════ */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 700px;
  overflow: hidden; display: flex; align-items: flex-end;
}

.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/P1023310.JPG') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(8,10,18,0.1) 0%,
    rgba(8,10,18,0.15) 40%,
    rgba(8,10,18,0.75) 75%,
    rgba(8,10,18,0.95) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 52px 80px; width: 100%;
  display: grid; grid-template-columns: 1fr auto;
  align-items: flex-end; gap: 40px;
}
.hero-left {}
.hero-eyebrow {
  font-size: 9px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px; display: block;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 700; line-height: 0.95;
  color: var(--white); margin-bottom: 12px;
}
.hero-title em { color: var(--red); font-style: italic; display: block; }
.hero-subtitle {
  font-family: var(--font-italic); font-size: clamp(16px, 2vw, 22px);
  font-style: italic; color: rgba(255,255,255,0.5); font-weight: 300;
  margin-bottom: 36px; letter-spacing: 1px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--red); color: var(--white);
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  padding: 16px 36px; border: none; cursor: pointer; font-weight: 600;
  transition: background 0.3s;
}
.btn-hero-primary:hover { background: #7a1520; }
.btn-hero-ghost {
  background: transparent; color: var(--white);
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  padding: 16px 36px; border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.3s;
}
.btn-hero-ghost:hover { border-color: var(--white); }

.hero-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
  padding-bottom: 8px;
}
.hero-info-block { text-align: right; }
.hero-info-block .lbl {
  font-size: 7px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 4px;
}
.hero-info-block .val {
  font-family: var(--font-italic); font-size: 13px;
  font-style: italic; color: rgba(255,255,255,0.7);
}

.hero-scroll-cue {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll-cue span {
  font-size: 7px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.hero-scroll-cue div {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ════════════════════════════════════════
   MANIFESTE — citation plein écran
════════════════════════════════════════ */
.manifeste {
  padding: 120px 52px; background: #080a12;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.manifeste::before {
  content: '◆';
  position: absolute; font-size: 300px; color: rgba(165,29,43,0.04);
  font-family: var(--font-serif); line-height: 1;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.manifeste-inner { max-width: 820px; text-align: center; position: relative; z-index: 1; }
.manifeste-quote {
  font-family: var(--font-italic);
  font-size: clamp(22px, 3.5vw, 42px);
  font-style: italic; font-weight: 300; line-height: 1.5;
  color: var(--cream); letter-spacing: 0.5px; margin-bottom: 32px;
}
.manifeste-quote em { color: var(--red); font-style: normal; }
.manifeste-sig {
  font-size: 8px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--red);
}

/* ════════════════════════════════════════
   GALERIE IMMERSIVE — photos plein largeur
════════════════════════════════════════ */
.galerie-immersive { display: flex; flex-direction: column; gap: 3px; }

.gi-row { display: grid; gap: 3px; }
.gi-row-1 { grid-template-columns: 1.6fr 1fr; }
.gi-row-2 { grid-template-columns: 1fr 1fr 1fr; }
.gi-row-3 { grid-template-columns: 1fr 1.6fr; }

.gi-cell {
  position: relative; overflow: hidden;
  background: #0f1020;
}
.gi-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
  display: block;
}
.gi-cell:hover img { transform: scale(1.04); }

.gi-cell-tall  { aspect-ratio: 4/5; }
.gi-cell-wide  { aspect-ratio: 16/9; }
.gi-cell-sq    { aspect-ratio: 1/1; }
.gi-cell-land  { aspect-ratio: 3/2; }

.gi-label {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  background: rgba(8,10,18,0.7); padding: 6px 14px;
  font-size: 8px; letter-spacing: 4px; text-transform: uppercase; color: var(--white);
  backdrop-filter: blur(4px);
}

/* ════════════════════════════════════════
   SPLIT — Viande / Texte alterné
════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-visual {
  position: relative; overflow: hidden;
  background: #0f1020; min-height: 560px;
}
.split-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.split-visual:hover img { transform: scale(1.03); }
.split-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,10,18,0.2), transparent);
}

.split-content {
  background: #080a12; padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.split.reverse .split-content {
  background: #0c0f1e;
}
.split-eyebrow {
  font-size: 8px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
}
.split-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700; line-height: 1.1; color: var(--white);
  margin-bottom: 16px;
}
.split-title em { color: var(--red); font-style: italic; }
.split-sep { width: 40px; height: 1px; background: var(--red); margin: 24px 0; }
.split-body {
  font-family: var(--font-italic); font-size: 17px;
  line-height: 1.9; color: var(--muted); font-weight: 300;
  margin-bottom: 14px;
}
.split-list { margin: 20px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.split-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.split-list li::before {
  content: ''; width: 5px; height: 5px;
  border: 1px solid var(--red); transform: rotate(45deg); flex-shrink: 0;
}
.btn-split {
  display: inline-block; align-self: flex-start;
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--white); border-bottom: 1px solid var(--red);
  padding-bottom: 4px; transition: color 0.3s, border-color 0.3s;
}
.btn-split:hover { color: var(--red); }

/* ════════════════════════════════════════
   PRODUITS — grille éditorial
════════════════════════════════════════ */
.produits-section {
  padding: 100px 52px; background: #060810;
}
.section-title-block { margin-bottom: 64px; }
.section-eyebrow {
  font-size: 8px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700; color: var(--white); line-height: 1;
}
.section-title em { color: var(--red); font-style: italic; }

.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.produit-item {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; background: #0f1020;
}
.produit-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s;
  filter: brightness(0.75) saturate(0.9);
}
.produit-item:hover img {
  transform: scale(1.06); filter: brightness(0.6) saturate(1);
}
.produit-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,18,1) 0%, rgba(8,10,18,0.2) 50%, transparent 100%);
}
.produit-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(165,29,43,0.15);
  opacity: 0; transition: opacity 0.4s;
}
.produit-item:hover .produit-hover-overlay { opacity: 1; }
.produit-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--red); color: var(--white);
  font-size: 7px; letter-spacing: 3px; text-transform: uppercase;
  padding: 4px 10px;
}
.produit-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3; padding: 24px;
}
.produit-cat {
  font-size: 7px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px;
}
.produit-name {
  font-family: var(--font-serif); font-size: 20px;
  font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: 6px;
}
.produit-price {
  font-family: var(--font-italic); font-size: 14px;
  color: rgba(255,255,255,0.45); font-style: italic;
}

/* ════════════════════════════════════════
   CHIFFRES CLÉS — bande sobre
════════════════════════════════════════ */
.chiffres {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(165,29,43,0.15);
  border-bottom: 1px solid rgba(165,29,43,0.15);
}
.chiffre {
  padding: 52px 20px; text-align: center;
  border-right: 1px solid rgba(165,29,43,0.1);
}
.chiffre:last-child { border-right: none; }
.chiffre-num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; color: var(--red); line-height: 1;
}
.chiffre-unit { font-size: 20px; }
.chiffre-lbl {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-top: 10px;
}

/* ════════════════════════════════════════
   AVIS — fond sombre, grande typographie
════════════════════════════════════════ */
.avis { padding: 100px 52px; background: #080a12; }
.avis-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px;
}
.avis-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(165,29,43,0.1); }
.avis-card {
  background: #080a12; padding: 44px 36px;
  transition: background 0.3s;
}
.avis-card:hover { background: #0c0f1e; }
.avis-stars { color: var(--red); font-size: 11px; letter-spacing: 3px; margin-bottom: 20px; }
.avis-quote {
  font-family: var(--font-italic);
  font-size: clamp(15px, 1.8vw, 20px);
  font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.6); line-height: 1.7;
  margin-bottom: 28px;
}
.avis-author {
  font-size: 8px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--red);
}
.avis-lieu { font-size: 9px; color: rgba(255,255,255,0.2); margin-top: 4px; letter-spacing: 1px; }

/* ════════════════════════════════════════
   CONTACT — sobre, deux colonnes
════════════════════════════════════════ */
.contact-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.contact-visual {
  position: relative; overflow: hidden; background: #0f1020;
}
.contact-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.35);
}
/* Dégradé sombre pour renforcer la lisibilité du texte */
.contact-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,8,16,0.85) 0%,
    rgba(6,8,16,0.4)  50%,
    rgba(6,8,16,0.15) 100%
  );
  pointer-events: none;
}
.contact-visual-text {
  position: absolute; inset: 0; display: flex;
  flex-direction: column; justify-content: flex-end; padding: 52px;
  z-index: 2;
}
.contact-visual-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.cd { display: flex; flex-direction: column; gap: 4px; }
.cd .lbl {
  font-size: 8px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); opacity: 0.85;
}
.cd .val  { font-size: 15px; color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.cd .val2 { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.cd a { color: var(--white); transition: color 0.3s; }
.cd a:hover { color: var(--gold); }

.contact-form-wrap {
  background: #0c0f1e; padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-form-wrap h2 {
  font-family: var(--font-serif); font-size: 32px;
  font-weight: 600; color: var(--white); margin-bottom: 36px;
}
.ff { margin-bottom: 20px; }
.ff label {
  display: block; font-size: 7px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 8px;
}
.ff input, .ff textarea, .ff select {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-size: 15px; padding: 10px 0;
  outline: none; font-family: var(--font-sans);
  transition: border-color 0.3s;
}
.ff input:focus, .ff textarea:focus, .ff select:focus {
  border-bottom-color: var(--red);
}
.ff textarea { min-height: 90px; resize: none; }
.ff select option { background: #0c0f1e; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.btn-submit {
  width: 100%; background: var(--red); border: none;
  color: var(--white); font-size: 9px; letter-spacing: 5px;
  text-transform: uppercase; padding: 18px; cursor: pointer;
  font-weight: 600; font-family: var(--font-sans);
  margin-top: 12px; transition: background 0.3s;
}
.btn-submit:hover { background: #7a1520; }
.form-message {
  margin-top: 12px; padding: 12px; font-size: 13px; display: none;
}
.form-message.success { color: #60d080; display: block; }
.form-message.error   { color: #ff8080; display: block; }

/* ════════════════════════════════════════
   FOOTER — ultra minimaliste
════════════════════════════════════════ */
.footer {
  background: #040508; padding: 60px 52px;
  border-top: 1px solid rgba(165,29,43,0.12);
}
.footer-top {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 40px; margin-bottom: 48px;
}
.footer-links-left, .footer-links-right {
  display: flex; gap: 28px; align-items: center;
}
.footer-links-right { justify-content: flex-end; }
.footer-links-left a, .footer-links-right a {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.2); transition: color 0.3s;
}
.footer-links-left a:hover, .footer-links-right a:hover { color: var(--white); }
.footer-logo-center {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.footer-logo-center img { width: 56px; height: 56px; object-fit: contain; }
.footer-logo-center .brand {
  font-family: var(--font-serif); font-size: 13px; letter-spacing: 5px; color: var(--white);
}
.footer-logo-center .arabic { font-family: serif; font-size: 11px; color: var(--red); letter-spacing: 2px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,0.15); }
.footer-bottom a { color: rgba(255,255,255,0.2); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--red); }
.footer-badges { display: flex; gap: 12px; }
.fbadge {
  font-size: 7px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); border: 1px solid rgba(165,29,43,0.3);
  padding: 4px 12px;
}

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-slow {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.reveal-slow.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-reserve { display: none; }
  .nav-burger { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-visual { min-height: 360px; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-visual { min-height: 360px; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-links-left, .footer-links-right { justify-content: center; }
  .chiffres { grid-template-columns: repeat(2,1fr); }
  .chiffres .chiffre:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero-content { padding: 0 24px 60px; }
  .manifeste { padding: 80px 24px; }
  .produits-section { padding: 70px 24px; }
  .produits-grid { grid-template-columns: repeat(2,1fr); }
  .avis { padding: 70px 24px; }
  .avis-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .avis-grid { grid-template-columns: 1fr; }
  .split-content { padding: 52px 24px; }
  .contact-form-wrap { padding: 52px 24px; }
  .footer { padding: 48px 24px; }
  .ff-row { grid-template-columns: 1fr; }
  .gi-row-1 { grid-template-columns: 1fr; }
  .gi-row-2 { grid-template-columns: 1fr 1fr; }
  .gi-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .produits-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 42px; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-ghost { text-align: center; }
}

/* ════════════════════════════════════════
   BOUTON MUSIQUE
════════════════════════════════════════ */
.music-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(8,10,18,0.85);
  border: 1px solid rgba(165,29,43,0.5);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.music-btn:hover { border-color: #a51d2b; transform: scale(1.08); }
.music-btn svg { width: 18px; height: 18px; }
.music-btn .icon-on  { display: block; }
.music-btn .icon-off { display: none; }
.music-btn.playing .icon-on  { display: none; }
.music-btn.playing .icon-off { display: block; }
.music-btn.playing::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(165,29,43,0.35);
  animation: musicPulse 2s ease infinite;
}
.music-btn.playing::after {
  content: ''; position: absolute; inset: -13px; border-radius: 50%;
  border: 1px solid rgba(165,29,43,0.15);
  animation: musicPulse 2s ease 0.7s infinite;
}
@keyframes musicPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}
.music-tooltip {
  position: absolute; right: 58px; top: 50%; transform: translateY(-50%);
  background: rgba(8,10,18,0.9); color: #fff;
  font-size: 9px; letter-spacing: 2px; white-space: nowrap;
  padding: 6px 12px; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
}
.music-btn:hover .music-tooltip { opacity: 1; }

/* ═══════════════════════════════════════════════
   OR — Couche dorée sur toute la V2
═══════════════════════════════════════════════ */

/* ── NAV : liens & logo en or ── */
.nav-links a:hover            { color: var(--gold) !important; }
.nav-logo-name                { color: var(--gold) !important; }
.nav-reserve                  { border-color: var(--gold); color: var(--gold); }
.nav-reserve:hover            { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nav.scrolled                 { border-bottom-color: rgba(200,169,110,0.25); }

/* ── HERO : eyebrow, titre em, divider ── */
.hero-eyebrow                 { color: var(--gold); }
.hero-title em                { color: var(--gold); }
.hero-scroll-cue div          { background: linear-gradient(to bottom, var(--gold), transparent); }
.btn-hero-primary             { background: var(--gold); color: var(--navy); }
.btn-hero-primary:hover       { background: var(--gold-light); }
.btn-hero-ghost               { border-color: rgba(200,169,110,0.5); color: var(--gold); }
.btn-hero-ghost:hover         { border-color: var(--gold); background: rgba(200,169,110,0.08); }

/* ── MANIFESTE : signature & emphase ── */
.manifeste-quote em           { color: var(--gold); }
.manifeste-sig                { color: var(--gold); }
.manifeste::before            { color: rgba(200,169,110,0.05); }

/* ── GALERIE : labels ── */
.gi-label                     { border-left: 2px solid var(--gold); color: var(--gold-light); background: rgba(8,10,18,0.75); }

/* ── SPLIT sections ── */
.split-eyebrow                { color: var(--gold); }
.split-title em               { color: var(--gold); }
.split-sep                    { background: var(--gold); }
.split-list li::before        { border-color: var(--gold); }
.btn-split                    { border-bottom-color: var(--gold); color: var(--gold-light); }
.btn-split:hover              { color: var(--gold); }

/* ── SECTION EYEBROW & TITRES ── */
.section-eyebrow              { color: var(--gold); }
.section-title em             { color: var(--gold); }

/* ── PRODUITS ── */
.produit-badge                { background: var(--gold); color: var(--navy); font-weight: 600; }
.produit-cat                  { color: var(--gold); }
.produit-hover-overlay        { background: rgba(200,169,110,0.1); }
.produit-item:hover img       { filter: brightness(0.55) saturate(0.9); }

/* ── CHIFFRES ── */
.chiffre-num                  { color: var(--gold); }
.chiffres                     { border-color: rgba(200,169,110,0.15); }
.chiffre                      { border-right-color: rgba(200,169,110,0.1); }

/* ── AVIS ── */
.avis-stars                   { color: var(--gold); }
.avis-author                  { color: var(--gold); }
.avis-grid                    { background: rgba(200,169,110,0.08); }
.avis-card:hover              { background: rgba(200,169,110,0.04); }

/* ── FORMULAIRE ── */
.ff input:focus,
.ff textarea:focus,
.ff select:focus              { border-bottom-color: var(--gold); }
.btn-submit                   { background: var(--gold); color: var(--navy); }
.btn-submit:hover             { background: var(--gold-light); }

/* ── CONTACT VISUEL ── */
.contact-visual-text h2       { text-shadow: 0 2px 20px rgba(0,0,0,0.5); }

/* ── FOOTER ── */
.footer                       { border-top-color: rgba(200,169,110,0.2); }
.footer-links-left a:hover,
.footer-links-right a:hover   { color: var(--gold); }
.footer-logo-center .arabic   { color: var(--gold); }
.fbadge                       { color: var(--gold); border-color: rgba(200,169,110,0.35); }

/* ── BOUTON MUSIQUE ── */
.music-btn                    { border-color: rgba(200,169,110,0.5); }
.music-btn:hover              { border-color: var(--gold); }
.music-btn svg                { stroke: var(--gold) !important; }
.music-btn.playing::before    { border-color: rgba(200,169,110,0.4); }
.music-btn.playing::after     { border-color: rgba(200,169,110,0.15); }

/* ── SÉPARATEURS DORÉS ── */
.gold-sep {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; margin: 32px 0;
}
.gold-sep span   { height: 1px; width: 60px; background: var(--gold); opacity: 0.4; display: block; }
.gold-sep i      { color: var(--gold); font-size: 8px; opacity: 0.6; }

/* ── TITRES EN OR (headings Playfair) ── */
.split-title,
.section-title,
.manifeste-quote              { background: linear-gradient(135deg, var(--white) 60%, var(--gold-light) 100%);
                                -webkit-background-clip: text;
                                -webkit-text-fill-color: transparent;
                                background-clip: text; }

/* em reste en or pur */
.split-title em,
.section-title em,
.manifeste-quote em           { -webkit-text-fill-color: var(--gold);
                                background: none; color: var(--gold); }

/* ── LIGNE DORÉE sous la nav scrolled ── */
.nav.scrolled::after {
  content: '';
  position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ── CADRE DORÉ sur les images galerie au hover ── */
.gi-cell::after {
  content: '';
  position: absolute; inset: 0; z-index: 3;
  border: 0px solid var(--gold);
  transition: border-width 0.4s var(--ease), opacity 0.4s;
  opacity: 0; pointer-events: none;
}
.gi-cell:hover::after { border-width: 3px; opacity: 0.5; }

/* ── PRODUITS : cadre doré hover ── */
.produit-item::after {
  content: '';
  position: absolute; inset: 0; z-index: 4;
  border: 0px solid var(--gold);
  transition: border-width 0.4s var(--ease), opacity 0.4s;
  opacity: 0; pointer-events: none;
}
.produit-item:hover::after { border-width: 2px; opacity: 0.4; }

/* ═══════════════════════════════════════════════
   PORTE ORIENTALE — Animation d'intro
═══════════════════════════════════════════════ */

#doorIntro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #050709;
  perspective: 1800px;
  cursor: pointer;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#doorIntro.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* Battants — centrés dans l'ouverture du cadre (17% murs, 66% ouverture) */
.door-panel {
  position: absolute; top: 0;
  width: 33%;   /* moitié de l'ouverture = 66%/2 */
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
/* Battant gauche : de 17% à 50%, charnière sur le piédroit gauche */
.door-left  { left: 17%;  transform-origin: left center; }
/* Battant droit : de 50% à 83%, charnière sur le piédroit droit */
.door-right { right: 17%; transform-origin: right center; }

/* Ouverte — battants se replient derrière les murs */
.door-left.open  { transform: rotateY(-105deg); }
.door-right.open { transform: rotateY(105deg); }

.door-inner {
  width: 100%; height: 100%;
  box-shadow: inset -4px 0 20px rgba(0,0,0,0.6);
  overflow: hidden;
}
.door-right .door-inner {
  box-shadow: inset 4px 0 20px rgba(0,0,0,0.6);
}
.door-deco { width: 100%; height: 100%; display: block; }

/* Ombre de profondeur sur les bords */
.door-left::after {
  content: '';
  position: absolute; top: 0; right: 0; width: 30px; height: 100%;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.5));
  z-index: 2;
}
.door-right::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 30px; height: 100%;
  background: linear-gradient(to left, transparent, rgba(0,0,0,0.5));
  z-index: 2;
}

/* Logo & texte centré -->*/
.door-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.door-logo {
  width: 90px; height: 90px; object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(200,169,110,0.5));
  animation: doorLogoPulse 2.5s ease infinite;
}
@keyframes doorLogoPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(200,169,110,0.4)); }
  50%       { filter: drop-shadow(0 0 32px rgba(200,169,110,0.7)); }
}
.door-tagline {
  font-family: serif; font-size: 22px; color: var(--gold);
  letter-spacing: 4px; text-shadow: 0 0 20px rgba(200,169,110,0.5);
}
.door-sub {
  font-family: 'Cormorant Garamond', serif; font-size: 13px;
  font-style: italic; color: rgba(255,255,255,0.4); letter-spacing: 3px;
}

/* Bouton Entrer */
.door-cta {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; align-items: center; gap: 16px;
  animation: doorCtaPulse 2s ease infinite;
}
.door-cta span {
  font-size: 9px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.door-cta-line {
  width: 40px; height: 1px; background: var(--gold); opacity: 0.5;
}
@keyframes doorCtaPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* Ligne de jonction entre les deux battants */
#doorIntro::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--gold) 20%,
    var(--gold) 80%,
    transparent 100%
  );
  opacity: 0.3; z-index: 11;
  transition: opacity 0.3s;
}
#doorIntro.opening::before { opacity: 0; }

/* Lumière qui s'échappe derrière la porte */
#doorIntro::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center,
    rgba(200,169,110,0.03) 0%,
    transparent 70%
  );
}

/* ═══════════════════════════════════════════════
   PORTE — Bleu royal + BAB DARNA en évidence
═══════════════════════════════════════════════ */

/* Fond noir derrière la porte */
#doorIntro {
  background: #000000;
}

/* BAB DARNA — typographie imposante */
.door-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 6px;
}
.door-bab {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 10px;
  line-height: 1;
  text-shadow:
    0 0 20px rgba(200,169,110,0.7),
    0 0 50px rgba(200,169,110,0.4),
    0 2px 4px rgba(0,0,0,0.8);
}
.door-darna {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 10px;
  line-height: 1;
  text-shadow:
    0 0 20px rgba(200,169,110,0.9),
    0 0 50px rgba(200,169,110,0.5),
    0 0 90px rgba(200,169,110,0.3),
    0 2px 4px rgba(0,0,0,0.8);
}
.door-diamond {
  font-size: clamp(16px, 2vw, 28px);
  color: var(--gold);
  opacity: 0.65;
  animation: diamondPulse 3s ease infinite;
  line-height: 1;
}
@keyframes diamondPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.2); }
}

/* Tagline et sub sous BAB DARNA */
.door-tagline {
  font-family: serif;
  font-size: clamp(34px, 5.5vw, 64px);
  color: var(--gold);
  letter-spacing: 8px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.75);
  text-shadow:
    0 0 18px rgba(200,169,110,0.95),
    0 0 40px rgba(200,169,110,0.55),
    0 2px 8px rgba(0,0,0,0.9);
  margin-top: 10px;
}
.door-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2.2vw, 26px);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  letter-spacing: 4px;
  margin-top: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* Ligne bleue de jonction entre battants */
#doorIntro::before {
  background: linear-gradient(to bottom,
    transparent 0%,
    #1a4aaa 15%,
    var(--gold) 40%,
    var(--gold) 60%,
    #1a4aaa 85%,
    transparent 100%
  ) !important;
  opacity: 0.55 !important;
  width: 2px !important;
}

/* Reflet bleu sur les bordures des battants */
.door-left .door-inner  { box-shadow: inset -6px 0 30px rgba(10,30,100,0.4), inset -1px 0 0 rgba(30,80,200,0.2); }
.door-right .door-inner { box-shadow: inset  6px 0 30px rgba(10,30,100,0.4), inset  1px 0 0 rgba(30,80,200,0.2); }

/* Halo bleu pulsant autour du logo */
.door-logo {
  filter: drop-shadow(0 0 12px rgba(30,80,200,0.5)) drop-shadow(0 0 28px rgba(200,169,110,0.5));
  animation: logoGlow 3s ease infinite;
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(30,80,200,0.4)) drop-shadow(0 0 24px rgba(200,169,110,0.4)); }
  50%       { filter: drop-shadow(0 0 22px rgba(30,80,200,0.7)) drop-shadow(0 0 44px rgba(200,169,110,0.6)); }
}

/* CTA entrer */
.door-cta span  { color: var(--gold); }
.door-cta-line  { background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0.6; }

/* ═══════════════════════════════════════════════
   PORTE — Transition réaliste multi-phases
═══════════════════════════════════════════════ */

/* Perspective plus profonde pour un effet 3D réel */
#doorIntro {
  perspective: 3200px !important;
  perspective-origin: 50% 38% !important;
}

/* Éasing porte : départ lent, accélération, légère vibration à la fin */
.door-panel {
  transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* Ombre portée sur les battants quand ils s'ouvrent */
.door-left.open  {
  filter: brightness(0.55) drop-shadow(28px 0 50px rgba(0,0,0,0.9)) !important;
}
.door-right.open {
  filter: brightness(0.55) drop-shadow(-28px 0 50px rgba(0,0,0,0.9)) !important;
}

/* ── FISSURE DE LUMIÈRE au centre (avant ouverture) ── */
.door-crack {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 100%;
  z-index: 14;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,250,220,0.9) 20%,
    rgba(255,250,220,1) 50%,
    rgba(255,250,220,0.9) 80%,
    transparent 100%
  );
  opacity: 0;
  box-shadow:
    0 0 8px 4px rgba(255,240,180,0.6),
    0 0 20px 8px rgba(200,169,110,0.3);
  transition: none;
}
#doorIntro.crack-appear .door-crack {
  opacity: 1;
  transition: opacity 0.15s ease;
}

/* ── RAIE QUI S'ÉLARGIT ── */
#doorIntro.opening .door-crack {
  width: 8px;
  box-shadow:
    0 0 20px 12px rgba(255,240,180,0.8),
    0 0 50px 20px rgba(200,169,110,0.5);
  transition: width 0.4s ease, box-shadow 0.4s ease;
}
#doorIntro.doors-open .door-crack {
  width: 40%;
  opacity: 0.95;
  box-shadow:
    0 0 60px 40px rgba(255,245,200,0.7),
    0 0 120px 80px rgba(200,169,110,0.4);
  transition: width 1s cubic-bezier(0.4,0,0.2,1), box-shadow 0.8s ease;
}

/* ── EXPLOSION LUMINEUSE finale ── */
.door-burst {
  position: absolute;
  inset: 0; z-index: 15;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,1)    0%,
    rgba(255,255,255,0.98) 40%,
    rgba(255,255,255,0.95) 100%
  );
  transition: opacity 0.25s ease;
}
#doorIntro.burst .door-burst {
  opacity: 1;
}
#doorIntro.hidden .door-burst {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ── ÉPAISSEUR 3D des battants (visible à l'ouverture) ── */
.door-left  .door-edge {
  position: absolute; top: 0; right: 0;
  width: 20px; height: 100%;
  background: linear-gradient(to right, #0a1535, #1a3a80, #c8a96e30);
  transform-origin: right center;
  transform: rotateY(90deg) translateX(50%);
  transform-style: preserve-3d;
  pointer-events: none;
}
.door-right .door-edge {
  position: absolute; top: 0; left: 0;
  width: 20px; height: 100%;
  background: linear-gradient(to left, #0a1535, #1a3a80, #c8a96e30);
  transform-origin: left center;
  transform: rotateY(-90deg) translateX(-50%);
  transform-style: preserve-3d;
  pointer-events: none;
}

/* ── OVERLAY VIDÉO : overexposé → normal ── */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero.reveal-start::after { opacity: 1; }
.hero.reveal-done::after  { opacity: 0; transition: opacity 1.2s ease; }

/* ── Ligne de jointure améliorée ── */
#doorIntro::before {
  width: 3px !important;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(200,169,110,0.1) 5%,
    rgba(255,250,220,0.95) 30%,
    rgba(255,255,255,1) 50%,
    rgba(255,250,220,0.95) 70%,
    rgba(200,169,110,0.1) 95%,
    transparent 100%
  ) !important;
  box-shadow: 0 0 12px 4px rgba(255,245,200,0.4);
  opacity: 0.7 !important;
  transition: opacity 0.3s ease, width 0.4s ease;
}
#doorIntro.opening::before { opacity: 0 !important; }

/* ═══════════════════════════════════════════════
   CADRE ARCHITECTURAL — Piédroits + Arche nasride
═══════════════════════════════════════════════ */

.door-frame-overlay {
  position: absolute;
  inset: 0;
  z-index: 22;
  pointer-events: none;
}

/* Piédroit gauche */
.dfw-left {
  position: absolute;
  top: 0; left: 0;
  width: 17%;
  height: 100%;
  overflow: hidden;
}

/* Piédroit droit */
.dfw-right {
  position: absolute;
  top: 0; right: 0;
  width: 17%;
  height: 100%;
  overflow: hidden;
}

.dfw-jamb-deco {
  width: 100%;
  height: 100%;
  display: block;
}

/* Couronnement supérieur (arche) */
.dfw-top {
  position: absolute;
  top: 0;
  left: 17%; right: 17%;
  height: 34vh;
  min-height: 220px;
  overflow: hidden;
}

.dfw-arch-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Seuil bas */
.dfw-bottom {
  position: absolute;
  bottom: 0;
  left: 17%; right: 17%;
  height: 3.5vh;
  min-height: 24px;
  overflow: hidden;
}

/* Ombres intérieures sur les piédroits (profondeur) */
.dfw-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 30px; height: 100%;
  background: linear-gradient(to left, rgba(200,169,110,0.08), transparent);
  pointer-events: none;
}
.dfw-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 30px; height: 100%;
  background: linear-gradient(to right, rgba(200,169,110,0.08), transparent);
  pointer-events: none;
}

/* Disparition du cadre en même temps que la porte */
#doorIntro.hidden .door-frame-overlay {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ── Correction centrage battants dans le cadre ── */

/* Le SVG doit remplir tout le panneau */
.door-deco {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Épaisseur de porte ajustée au nouveau centrage */
.door-left .door-edge {
  position: absolute; top: 0; right: 0;
  width: 18px; height: 100%;
  background: linear-gradient(to right, #0a1535, #1e3a80, rgba(200,169,110,0.25));
  transform-origin: right center;
  transform: rotateY(-90deg);
  transform-style: preserve-3d;
  pointer-events: none;
}
.door-right .door-edge {
  position: absolute; top: 0; left: 0;
  width: 18px; height: 100%;
  background: linear-gradient(to left, #0a1535, #1e3a80, rgba(200,169,110,0.25));
  transform-origin: left center;
  transform: rotateY(90deg);
  transform-style: preserve-3d;
  pointer-events: none;
}

/* La fissure de lumière reste au centre de l'ouverture (x=50%) */
.door-crack { left: 50% !important; }

/* Responsive : adapter les largeurs sur mobile */
@media (max-width: 768px) {
  .dfw-left, .dfw-right { width: 8%; }
  .dfw-top  { left: 8%; right: 8%; height: 18vh; }
  .dfw-bottom { left: 8%; right: 8%; }
  .door-left  { left: 8%;  width: 42%; }
  .door-right { right: 8%; width: 42%; }
}

/* ═══════════════════════════════════════════════
   COLONNES — Poutres rondes andalouses
═══════════════════════════════════════════════ */
.door-column {
  position: absolute;
  /* Naissance de l'arche = 228/300 × 34vh ≈ 25.8vh */
  top: 25.8vh;
  height: calc(96.5vh - 25.8vh);
  width: 52px;
  z-index: 23;
  pointer-events: none;
}
/* Position exacte : 17% + (165/1000 × 66%) = 27.9% depuis chaque bord */
.door-col-left  { left:  calc(26.5% - 26px); }
.door-col-right { right: calc(26.5% - 26px); }

/* Disparition avec la porte */
#doorIntro.hidden .door-column {
  opacity: 0;
  transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
  .door-column { width: 32px; top: 18vh; height: calc(96.5vh - 18vh); }
  .door-col-left  { left:  calc(8% - 16px); }
  .door-col-right { right: calc(8% - 16px); }
}

/* ── Bouton retour en haut ── */
.back-to-top {
  position: fixed; bottom: 88px; right: 28px; z-index: 199;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(12,16,30,0.9);
  border: 1px solid rgba(200,169,110,0.5);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s;
  backdrop-filter: blur(8px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover   { border-color: var(--gold); transform: translateY(-3px); }
.back-to-top svg     { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; }

/* ═══════════════════════════════════════════════
   INSTAGRAM FEED
═══════════════════════════════════════════════ */
.insta-section { padding: 80px 52px; background: #060810; }

.insta-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.insta-follow {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--gold);
  padding-bottom: 3px; transition: opacity 0.3s;
}
.insta-follow:hover { opacity: 0.7; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
@media (max-width: 1024px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .insta-grid { grid-template-columns: repeat(2, 1fr); } }

.insta-item {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  display: block; background: #0a0d18;
}
.insta-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.88) saturate(0.9);
}
.insta-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.6) saturate(1);
}
.insta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,8,16,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease;
  padding: 16px;
}
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-caption {
  font-family: var(--font-italic); font-size: 11px; font-style: italic;
  color: rgba(255,255,255,0.8); text-align: center;
  margin-top: 10px; line-height: 1.5;
}

/* Placeholder avant configuration */
.insta-placeholder {
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
.insta-placeholder-inner {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.insta-placeholder-inner p {
  font-family: var(--font-italic); font-size: 18px;
  font-style: italic; color: rgba(255,255,255,0.5);
}
.insta-hint {
  font-size: 12px !important; color: rgba(200,169,110,0.5) !important;
}
.insta-hint code {
  background: rgba(200,169,110,0.1); padding: 2px 6px;
  border-radius: 3px; font-family: monospace;
}

/* ── Instagram CTA simple ── */
.insta-section {
  padding: 90px 52px;
  background: #060810;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.insta-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.insta-icon {
  width: 80px; height: 80px;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  transition: border-color 0.3s;
}
.insta-cta-wrap:hover .insta-icon { border-color: var(--gold); }

.insta-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600; color: var(--white); line-height: 1.2;
}
.insta-cta-title em { color: var(--gold); font-style: italic; }

.insta-cta-sub {
  font-family: var(--font-italic);
  font-size: clamp(14px, 1.8vw, 18px);
  font-style: italic; color: var(--muted);
  line-height: 1.7; max-width: 420px;
}

.insta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px;
  background: var(--gold); color: var(--navy);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; padding: 16px 36px;
  transition: background 0.3s, transform 0.2s;
}
.insta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   PORTE PHOTO RÉELLE — Split image + transition
═══════════════════════════════════════════════ */

/* Chaque demi-panneau affiche sa moitié de la photo */
.door-photo {
  width: 100%;
  height: 100%;
  background-image: url('../images/porte-andalouse.jpg');
  background-size: 200% 100%;  /* image doublée → chaque panneau = 1 moitié */
  background-repeat: no-repeat;
}
.door-photo-left  { background-position: left center; }
.door-photo-right { background-position: right center; }

/* Assombrir légèrement pour que le texte ressorte */
.door-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(6, 8, 20, 0.22);
  pointer-events: none;
}

/* Ombre de profondeur sur le bord intérieur (couture) */
.door-photo-left::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40px; height: 100%;
  background: linear-gradient(to left, rgba(0,0,0,0.55), transparent);
  z-index: 2; pointer-events: none;
}
.door-photo-right::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 40px; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.55), transparent);
  z-index: 2; pointer-events: none;
}

/* Transition : la porte s'ouvre → vidéo apparaît en fondu */
#heroSection {
  opacity: 0;
  transition: opacity 0.5s ease 0.2s; /* commence à s'afficher quand les battants s'ouvrent */
}
#doorIntro.doors-open ~ #heroSection,
body.door-opened #heroSection {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   PORTE — Corrections mobile
═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Perspective réduite pour mobile */
  #doorIntro { perspective: 800px !important; perspective-origin: 50% 40% !important; }

  /* Murs latéraux très fins */
  .dfw-left, .dfw-right { width: 5%; }
  .dfw-top    { left: 5%; right: 5%; height: 22vh; min-height: 120px; }
  .dfw-bottom { left: 5%; right: 5%; height: 2.5vh; }

  /* Battants centrés dans 90% de la largeur */
  .door-panel { width: 45%; }
  .door-left  { left: 5%; }
  .door-right { right: 5%; }

  /* Photo de porte — ajustement split sur mobile */
  .door-photo { background-size: 200% 100%; }

  /* Colonnes cachées sur mobile (trop étroit) */
  .door-column { display: none; }

  /* BAB DARNA — taille réduite */
  .door-bab, .door-darna {
    font-size: clamp(22px, 8vw, 40px) !important;
    letter-spacing: 4px !important;
  }
  .door-diamond { font-size: 14px !important; }
  .door-brand   { gap: 8px !important; }

  /* Logo plus petit */
  .door-logo { width: 60px !important; height: 60px !important; }

  /* Texte arabe et traduction */
  .door-tagline { font-size: clamp(18px, 5vw, 28px) !important; }
  .door-sub     { font-size: clamp(11px, 3vw, 15px) !important; }

  /* CTA Entrer */
  .door-cta { bottom: 20px; }
  .door-cta span { font-size: 8px; letter-spacing: 3px; }

  /* Fissure de lumière */
  .door-crack { width: 1px !important; }

  /* Angle d'ouverture réduit sur mobile */
  .door-left.open  { transform: rotateY(-88deg) !important; }
  .door-right.open { transform: rotateY(88deg)  !important; }
}

@media (max-width: 480px) {
  .dfw-left, .dfw-right { width: 3%; }
  .dfw-top    { left: 3%; right: 3%; height: 18vh; }
  .dfw-bottom { left: 3%; right: 3%; }
  .door-panel { width: 47%; }
  .door-left  { left: 3%; }
  .door-right { right: 3%; }

  .door-bab, .door-darna {
    font-size: clamp(18px, 7vw, 32px) !important;
    letter-spacing: 2px !important;
  }
  .door-tagline { font-size: clamp(14px, 4.5vw, 22px) !important; }
}
