/* ═══════════════════════════════════════════
   KOULOUNI — Premium Scroll-Driven Site
   Design: Moroccan Editorial Dark Luxury
   Fonts: Bebas Neue / Cormorant Garamond / Manrope
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg-dark:      #0C0804;
  --bg-mid:       #1A1008;
  --bg-light:     #F5EFE0;
  --accent:       #D4820A;
  --accent2:      #E8491E;
  --gold:         #C9A84C;
  --text-light:   #F0E8D5;
  --text-dim:     rgba(240, 232, 213, 0.52);
  --text-dark:    #1A1208;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ════════════════════════════════
   NAV SOCIALS
   ════════════════════════════════ */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-socials a {
  font-size: 1rem;
  opacity: .6;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
}
.nav-socials a:hover { opacity: 1; transform: scale(1.15); }

/* ════════════════════════════════
   COMMENT COMMANDER
   ════════════════════════════════ */
.how-section {
  background: var(--bg-dark);
  padding: 100px 6vw;
  border-top: 1px solid rgba(240,232,213,.06);
}
.how-inner { max-width: 1100px; margin: 0 auto; }

.how-header { text-align: center; margin-bottom: 64px; }
.how-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
  margin: 12px 0 0;
}
.how-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
}
.how-step {
  flex: 1;
  text-align: center;
  padding: 36px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  position: relative;
  transition: border-color .3s, background .3s;
}
.how-step:hover {
  border-color: rgba(212,130,10,.3);
  background: rgba(212,130,10,.04);
}
.step-num {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(212,130,10,.12);
  letter-spacing: .05em;
  margin-bottom: -12px;
}
.step-icon { font-size: 2.2rem; margin-bottom: 16px; }
.how-step h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}
.how-step p {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 26ch;
  margin: 0 auto;
}
.how-step-arrow {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  opacity: .4;
  padding: 0 16px;
  flex-shrink: 0;
}
.how-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════
   TÉMOIGNAGES
   ════════════════════════════════ */
.reviews-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0806 100%);
  padding: 100px 6vw;
  border-top: 1px solid rgba(255,255,255,.05);
}
.reviews-inner { max-width: 1100px; margin: 0 auto; }

.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
  margin: 12px 0 20px;
}
.reviews-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.reviews-rating {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}
.rating-stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; }
.rating-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-light);
  letter-spacing: .05em;
}
.rating-count {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .3s, transform .3s;
}
.review-card:hover {
  border-color: rgba(212,130,10,.25);
  transform: translateY(-4px);
}
.review-card--featured {
  border-color: rgba(212,130,10,.3);
  background: rgba(212,130,10,.06);
  grid-row: span 1;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.review-name {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-light);
}
.review-location {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  color: var(--text-dim);
  margin-top: 2px;
}
.review-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.review-text {
  font-family: var(--font-body);
  font-size: .84rem;
  color: rgba(240,232,213,.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.review-badge {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212,130,10,.1);
  border: 1px solid rgba(212,130,10,.2);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 2px;
}

/* Bouton WhatsApp flottant */
#wa-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 899;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
}
#wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

/* ── Responsive how + reviews ── */
@media (max-width: 768px) {
  .how-steps { flex-direction: column; gap: 8px; }
  .how-step-arrow { transform: rotate(90deg); padding: 4px 0; }
  .how-step { padding: 24px 20px; }
  .step-num { font-size: 3.5rem; }

  .reviews-grid { grid-template-columns: 1fr; }

  .nav-socials { display: none; }

  #wa-float { bottom: 88px; right: 14px; width: 44px; height: 44px; }
}

/* ════════════════════════════════
   CHATBOT
   ════════════════════════════════ */

/* Bouton flottant */
#chat-bubble {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(232,73,30,.4);
  transition: transform .25s, box-shadow .25s;
  user-select: none;
}
#chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(232,73,30,.55);
}
#chat-bubble-icon { line-height: 1; }

/* Badge notification */
#chat-notif {
  display: none;
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #E8491E;
  border: 2px solid var(--bg-dark);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: .65rem; font-weight: 800;
  color: #fff;
  align-items: center; justify-content: center;
}
@keyframes notifPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Fenêtre chat */
#chat-window {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: 901;
  width: 360px;
  max-height: 560px;
  background: #120a04;
  border: 1px solid rgba(240,232,213,.1);
  border-radius: 16px;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.7);
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(.97);
  transition: opacity .3s ease, transform .3s ease;
}
#chat-window.open {
  opacity: 1; pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header */
#chat-header {
  background: linear-gradient(135deg, #1a0e06, #2a1508);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(240,232,213,.08);
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.chat-name {
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: .1em;
  color: var(--text-light);
}
.chat-status {
  font-family: var(--font-mono);
  font-size: .58rem; letter-spacing: .08em;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 5px;
  margin-top: 2px;
}
.chat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1DB954;
  animation: pulse 2s infinite;
}
.chat-close-btn {
  background: none; border: none;
  color: var(--text-dim); font-size: .85rem;
  cursor: pointer; padding: 4px;
  transition: color .2s;
}
.chat-close-btn:hover { color: var(--text-light); }

/* Messages */
#chat-messages {
  flex: 1; overflow-y: auto;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}
#chat-messages::-webkit-scrollbar { width: 3px; }
#chat-messages::-webkit-scrollbar-thumb { background: rgba(212,130,10,.3); border-radius: 2px; }

.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }

.msg-bubble {
  font-family: var(--font-body);
  font-size: .82rem; line-height: 1.6;
  padding: 10px 14px;
  border-radius: 12px;
  word-break: break-word;
}
.chat-msg.bot .msg-bubble {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-light);
  border-radius: 4px 12px 12px 12px;
}
.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  border-radius: 12px 4px 12px 12px;
}
.msg-time {
  font-family: var(--font-mono);
  font-size: .55rem; letter-spacing: .08em;
  color: rgba(240,232,213,.25);
  margin-top: 4px;
  padding: 0 4px;
}
.chat-msg.user .msg-time { text-align: right; }

/* Suggestions rapides */
.chat-suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 0 4px;
}
.chat-suggestions button {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600;
  background: rgba(212,130,10,.12);
  border: 1px solid rgba(212,130,10,.3);
  color: var(--accent);
  padding: 6px 12px; border-radius: 20px;
  cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.chat-suggestions button:hover {
  background: rgba(212,130,10,.25);
  border-color: var(--accent);
}

/* Typing indicator */
.typing-indicator .msg-bubble {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px;
}
.typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: typingBounce 1.2s infinite;
  display: inline-block;
}
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input */
#chat-input-area {
  padding: 12px 14px;
  border-top: 1px solid rgba(240,232,213,.08);
  display: flex; gap: 8px; align-items: center;
  background: rgba(0,0,0,.2);
  flex-shrink: 0;
}
#chat-input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 9px 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: .82rem;
  outline: none;
  transition: border-color .2s;
}
#chat-input::placeholder { color: rgba(240,232,213,.3); }
#chat-input:focus { border-color: rgba(212,130,10,.5); }

#chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: none; color: #fff;
  font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
#chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(232,73,30,.4);
}

/* Mobile chatbot */
@media (max-width: 480px) {
  #chat-window {
    right: 12px; left: 12px; width: auto;
    bottom: 88px;
    max-height: 70vh;
  }
  #chat-bubble { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* ════════════════════════════════
   BANDEROLE CONSTRUCTION
   ════════════════════════════════ */
#construction-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  height: 36px;
  background: repeating-linear-gradient(
    -45deg,
    #1a1008 0px, #1a1008 10px,
    #D4820A 10px, #D4820A 20px
  );
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: transform .4s ease, opacity .4s ease;
}
#construction-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.banner-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: bannerScroll 22s linear infinite;
  flex: 1;
  overflow: hidden;
}

.banner-item {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0C0804;
  background: rgba(212,130,10,.92);
  padding: 0 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 36px;
}

@keyframes bannerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.banner-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12,8,4,.35);
  border: 1px solid rgba(12,8,4,.4);
  color: #0C0804;
  font-size: .7rem;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 1;
  line-height: 1;
}
.banner-close:hover { background: rgba(12,8,4,.6); color: #fff; }

/* Décaler header et hero quand la banderole est visible */
body.banner-visible .site-header { top: 36px; }
body.banner-visible .hero-standalone { padding-top: 36px; }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ════════════════════════════════
   LOADER
   ════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  letter-spacing: .12em;
  color: var(--text-light);
  line-height: 1;
}

.loader-track {
  width: min(380px, 80vw);
  height: 2px;
  background: rgba(240,232,213,.15);
  border-radius: 2px;
  overflow: hidden;
}
#loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 2px;
  transition: width 0.15s ease;
}

#loader-percent {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: .2em;
  color: var(--text-dim);
}

/* ════════════════════════════════
   HEADER
   ════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 5vw;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgba(12,8,4,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(240,232,213,.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { font-size: 1.2rem; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .12em;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-light); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-light);
  border: 1px solid rgba(240,232,213,.3);
  padding: 8px 20px;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(212,130,10,.12);
}

/* ════════════════════════════════
   HERO STANDALONE
   ════════════════════════════════ */
.hero-standalone {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8vw;
  overflow: hidden;
  z-index: 2;
}

/* ── Vidéo fond hero ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay sombre pour lisibilité du texte */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 8, 4, 0.72) 0%,
    rgba(12, 8, 4, 0.50) 50%,
    rgba(12, 8, 4, 0.78) 100%
  );
  z-index: 1;
}

/* Grain texture overlay */
.hero-standalone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

/* Warm radial glow */
.hero-standalone::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,130,10,.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-scroll-hint {
  z-index: 3;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 13vw, 13rem);
  line-height: 0.88;
  letter-spacing: .02em;
  color: var(--text-light);
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
}

.word { display: block; overflow: hidden; }
.accent-word { color: var(--accent); }
.sub-word {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--text-dim);
  line-height: 1.2;
  margin-top: 8px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 8vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  opacity: 0.4;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%       { transform: scaleY(0.6); opacity: 0.8; }
}

/* ════════════════════════════════
   CANVAS
   ════════════════════════════════ */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 3;
  clip-path: circle(0% at 50% 50%);
  pointer-events: none;
}
#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ════════════════════════════════
   DARK OVERLAY (for stats)
   ════════════════════════════════ */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 4;
  background: rgba(12, 8, 4, 0.91);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.05s linear;
}

/* ════════════════════════════════
   MARQUEE (fixed)
   ════════════════════════════════ */
.marquee-wrap {
  position: fixed;
  bottom: 10vh;
  left: 0;
  right: 0;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.marquee-text {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(9vw, 12vw, 14vw);
  line-height: 1;
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212,130,10,.5);
  white-space: nowrap;
  will-change: transform;
}

/* ════════════════════════════════
   SCROLL CONTAINER
   ════════════════════════════════ */
#scroll-container {
  position: relative;
  height: 950vh;
  z-index: 5;
}

/* ════════════════════════════════
   SCROLL SECTIONS (generic)
   ════════════════════════════════ */
.scroll-section {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.scroll-section.visible { pointer-events: auto; }

/* Side-aligned zones */
.align-left {
  padding-left: 4vw;
  padding-right: 52vw;
}
.align-right {
  padding-left: 52vw;
  padding-right: 4vw;
}
.align-left .section-inner,
.align-right .section-inner {
  max-width: 42vw;
  /* Fond sombre pour lisibilité sur video */
  background: linear-gradient(135deg,
    rgba(12,8,4,.82) 0%,
    rgba(12,8,4,.68) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 2px solid rgba(212,130,10,.4);
  padding: 32px 28px;
  border-radius: 0 4px 4px 0;
}
.align-right .section-inner {
  border-left: none;
  border-right: 2px solid rgba(212,130,10,.4);
  border-radius: 4px 0 0 4px;
}

/* ── Section labels ── */
.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── Section headings ── */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: -.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
}
.section-heading em,
.section-heading-sm em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Titre réduit pour les blocs semi-transparents */
.section-heading-sm {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 14px;
  letter-spacing: -.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}

/* ── Bullets vendeurs ── */
.section-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.section-bullets li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .08em;
  color: rgba(240,232,213,.55);
  padding-left: 16px;
  position: relative;
}
.section-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Section hook (remplace section-body) ── */
.section-hook {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(240,232,213,.6);
  max-width: 28ch;
  margin-bottom: 28px;
}

/* ── Partner badges ── */
.partner-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.partner-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 2px;
  letter-spacing: .04em;
}
.glovo-tag {
  background: #FFC244;
  color: #000;
}
.indrive-tag {
  background: #1DB954;
  color: #fff;
}

/* ════════════════════════════════
   STATS SECTION
   ════════════════════════════════ */
.section-stats {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 6vw;
  z-index: 6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 1200px;
}

.stat {
  padding: 40px 24px;
  border-right: 1px solid rgba(240,232,213,.1);
  text-align: center;
}
.stat:last-child { border-right: none; }

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  color: var(--text-light);
  letter-spacing: .02em;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ════════════════════════════════
   CTA BUTTONS (sections)
   ════════════════════════════════ */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  border: none;
}
.cta-button:hover { transform: translateY(-2px); }

.btn-glovo {
  background: #FFC244;
  color: #000;
  box-shadow: 0 8px 28px rgba(255,194,68,.25);
}
.btn-glovo:hover { box-shadow: 0 12px 36px rgba(255,194,68,.4); }

.btn-indrive {
  background: #1DB954;
  color: #fff;
  box-shadow: 0 8px 28px rgba(29,185,84,.25);
}
.btn-indrive:hover { box-shadow: 0 12px 36px rgba(29,185,84,.4); }

.btn-primary {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 8px 28px rgba(232,73,30,.25);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(232,73,30,.4); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37,211,102,.25);
}
.btn-whatsapp:hover { box-shadow: 0 12px 36px rgba(37,211,102,.4); }

/* ════════════════════════════════
   CTA FINAL (persisted)
   ════════════════════════════════ */
.section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8vw;
}

.cta-inner {
  text-align: center;
  max-width: 800px;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 12rem);
  line-height: 0.9;
  letter-spacing: .03em;
  color: var(--text-light);
  margin: 20px 0 40px;
}
.cta-accent { color: var(--accent2); }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-footer-info {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dot { color: var(--accent); }

/* ════════════════════════════════
   MENU SECTION
   ════════════════════════════════ */
.menu-section {
  position: relative;
  z-index: 10;
  background: var(--bg-dark);
  padding: 120px 0 80px;
  border-top: 1px solid rgba(240,232,213,.06);
}

/* Header menu */
.menu-header {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 6vw;
}

.menu-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text-light);
  margin: 12px 0 20px;
  letter-spacing: -.02em;
}
.menu-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.menu-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 50ch;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Filtres */
.menu-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 2px;
  border: 1px solid rgba(240,232,213,.15);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover {
  border-color: rgba(240,232,213,.4);
  color: var(--text-light);
}
.filter-btn.active {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}

/* Grille menu */
.menu-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6vw;
}

.menu-row-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.menu-divider {
  height: 1px;
  background: rgba(240,232,213,.07);
  margin: 32px 0;
}

/* Carte sandwich */
.menu-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(240,232,213,.06);
  transition: opacity .25s;
}
.menu-card:last-child { border-bottom: none; }
.menu-card:hover .menu-card-name { color: var(--accent); }

.menu-card-left { flex: 1; }
.menu-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

/* Badge */
.menu-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--accent2);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.menu-badge--new {
  background: var(--accent);
  color: var(--bg-dark);
}

.menu-card-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 8px;
  letter-spacing: -.01em;
  transition: color .2s;
}

/* Indicateur de piment */
.chili {
  font-size: 0.85em;
  letter-spacing: -0.1em;
  opacity: 0.9;
  vertical-align: middle;
}

.menu-card-hook {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 6px 0 12px;
  max-width: 52ch;
}

/* Tags */
.menu-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: .08em;
  padding: 4px 10px;
  border: 1px solid rgba(240,232,213,.13);
  border-radius: 2px;
  color: var(--text-dim);
}

/* Prix */
.menu-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-light);
  letter-spacing: .02em;
  white-space: nowrap;
}
.menu-price small {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: .1em;
  margin-left: 3px;
}

/* Bouton ajouter */
.add-btn {
  width: 40px; height: 40px;
  border-radius: 2px;
  border: 1px solid rgba(240,232,213,.2);
  background: transparent;
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  font-family: var(--font-body);
}
.add-btn:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}

/* Panier sticky */
.cart-sticky {
  position: sticky;
  bottom: 24px;
  z-index: 100;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 6vw;
}
.cart-sticky-inner {
  background: var(--text-light);
  color: var(--bg-dark);
  border-radius: 4px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.cart-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cart-count-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,18,8,.6);
}
.cart-total-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bg-dark);
  letter-spacing: .02em;
}
.cart-order-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: var(--accent2);
  color: #fff;
  padding: 12px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.cart-order-btn:hover { background: #c43a15; }

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.site-footer {
  background: #060402;
  padding: 72px 6vw 32px;
  border-top: 1px solid rgba(240,232,213,.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer-links a,
.footer-links span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text-light); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(240,232,213,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: .12em;
  color: rgba(240,232,213,.25);
  text-transform: uppercase;
}

/* ════════════════════════════════
   RESPONSIVE — TABLETTE (≤ 1024px)
   ════════════════════════════════ */
@media (max-width: 1024px) {
  .align-left  { padding-right: 45vw; }
  .align-right { padding-left: 45vw; }
  .align-left .section-inner,
  .align-right .section-inner { max-width: 50vw; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Loader ── */
  .loader-brand { font-size: clamp(2.8rem, 14vw, 5rem); }

  /* ── Header ── */
  .site-header { padding: 0 5vw; height: 56px; }
  .nav-links   { display: none; }
  .nav-cta     { font-size: .75rem; padding: 7px 14px; }
  .logo-text   { font-size: 1.15rem; }

  /* ── Hero ── */
  .hero-standalone { padding: 0 5vw; align-items: flex-end; padding-bottom: 100px; }
  .hero-heading    { font-size: clamp(4rem, 18vw, 7rem); }
  .sub-word        { font-size: clamp(1.8rem, 8vw, 3.5rem); }
  .hero-tagline    { font-size: 0.65rem; letter-spacing: .12em; }
  .hero-scroll-hint { left: 5vw; bottom: 24px; }

  /* ── Scroll sections ── */
  #scroll-container { height: 600vh; }

  .align-left, .align-right {
    padding-left: 5vw;
    padding-right: 5vw;
    align-items: flex-end;
    padding-bottom: 60px;
  }
  .align-left .section-inner,
  .align-right .section-inner {
    max-width: 100%;
    padding: 20px 18px;
    border-radius: 4px;
    border-left: 2px solid rgba(212,130,10,.4);
    border-right: none;
  }

  .section-heading-sm { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-hook       { font-size: 0.82rem; }
  .section-bullets li { font-size: 0.63rem; }

  /* ── Stats ── */
  .section-stats { padding: 0 4vw; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat { border-right: none; border-bottom: 1px solid rgba(240,232,213,.1); padding: 24px 16px; }
  .stat:nth-child(odd)  { border-right: 1px solid rgba(240,232,213,.1); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-number  { font-size: clamp(3rem, 12vw, 5rem); }
  .stat-suffix  { font-size: clamp(1.5rem, 6vw, 2.5rem); }

  /* ── CTA final ── */
  .section-cta  { padding: 0 5vw; }
  .cta-inner    { text-align: left; }
  .cta-heading  { font-size: clamp(3.2rem, 16vw, 6rem); line-height: .88; }
  .cta-actions  { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cta-button   { width: 100%; justify-content: center; padding: 14px 20px; }
  .cta-footer-info { justify-content: flex-start; font-size: .6rem; }

  /* ── Marquee ── */
  .marquee-text { font-size: 18vw; }
  .marquee-wrap { bottom: 6vh; }

  /* ── Menu section ── */
  .menu-section  { padding: 80px 0 60px; }
  .menu-header   { padding: 0 5vw; margin-bottom: 36px; }
  .menu-title    { font-size: clamp(3rem, 14vw, 5rem); }
  .menu-subtitle { font-size: .85rem; }
  .menu-filters  { gap: 8px; }
  .filter-btn    { font-size: .65rem; padding: 7px 14px; }
  .menu-grid     { padding: 0 5vw; }
  .menu-row-label { font-size: .6rem; }

  /* ── Cartes menu ── */
  .menu-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }
  .menu-card-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .menu-card-name  { font-size: 1.05rem; }
  .menu-card-hook  { font-size: .78rem; }
  .menu-price      { font-size: 1.6rem; }
  .add-btn         { width: 38px; height: 38px; font-size: 1.3rem; }
  .menu-badge      { font-size: .55rem; }

  /* ── Panier sticky ── */
  .cart-sticky { bottom: 16px; padding: 0 4vw; }
  .cart-sticky-inner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 6px;
  }
  .cart-info        { width: 100%; justify-content: space-between; }
  .cart-order-btn   { width: 100%; text-align: center; padding: 11px; }
  .cart-total-label { font-size: 1.3rem; }

  /* ── Footer ── */
  .site-footer  { padding: 48px 5vw 24px; }
  .footer-top   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: .6rem;
  }

  /* ── Partner badges ── */
  .partner-badges { gap: 8px; }
  .partner-tag    { font-size: .72rem; padding: 6px 14px; }

  /* ── CTA group (section commander) ── */
  .cta-group { flex-direction: row; flex-wrap: wrap; }
  .cta-group .cta-button { flex: 1; min-width: 120px; font-size: .78rem; padding: 12px 14px; }
}

/* ════════════════════════════════
   RESPONSIVE — TRÈS PETIT (≤ 380px)
   ════════════════════════════════ */
@media (max-width: 380px) {
  .hero-heading  { font-size: 16vw; }
  .cta-heading   { font-size: 14vw; }
  .menu-title    { font-size: 13vw; }
  .nav-cta       { display: none; }
  .logo-text     { font-size: 1rem; }
}
