/* =========================================================
   Studio Mont d'Or — feuille de style statique
   Reproduit la charte du site actuel (thème sombre par défaut,
   thème clair sur la page Location) sans dépendance externe.
   ========================================================= */

:root {
  --gold: #FFB700;
  --gold2: #FFEB83;
  --bg: #0A0A0D;
  --bg-alt: #0B0B0F;
  --card: #0F1117;
  --card-alt: #111118;
  --ring: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.70);
  --text-dimmer: rgba(255, 255, 255, 0.55);

  /* Thème clair (page Location) */
  --cream: #FDF6E3;
  --noir: #0a0a0a;
  --gris: rgb(78, 78, 78);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header.theme-light {
  background: rgba(253,246,227,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-header .logo img { height: 34px; width: auto; }
.site-header nav.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.site-header .nav-link { text-decoration: none; color: #fff; }
.site-header.theme-light .nav-link { color: var(--noir); }
.site-header .nav-link:hover { opacity: 0.8; }
.site-header .dropdown { position: relative; }
.site-header .dropdown-panel {
  position: absolute; top: 100%; left: 0; padding-top: 10px;
  min-width: 220px;
  opacity: 0; pointer-events: none; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.site-header .dropdown-panel-inner {
  padding: 8px; border-radius: 14px;
  background: rgba(15,15,20,0.97); border: 1px solid var(--ring);
}
.site-header .dropdown:hover .dropdown-panel,
.site-header .dropdown:focus-within .dropdown-panel {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.site-header .dropdown-panel a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 12px; border-radius: 10px;
  font-size: 14px; text-decoration: none; color: #fff;
}
.site-header .dropdown-panel a:hover { background: rgba(255,255,255,0.06); }
.site-header .dropdown > button.nav-link {
  background: none; border: none; font: inherit; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 4px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: none;
  background: transparent; color: #fff; cursor: pointer;
}
.site-header.theme-light .icon-btn { color: var(--noir); }
.icon-btn:hover { background: rgba(255,255,255,0.08); }
.site-header.theme-light .icon-btn:hover { background: rgba(0,0,0,0.06); }
.menu-toggle { display: inline-flex; }

@media (min-width: 900px) {
  .site-header nav.main-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden;
}
.mobile-menu.open { visibility: visible; }
.mobile-menu .backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.6);
  opacity: 0; transition: opacity .2s ease;
}
.mobile-menu.open .backdrop { opacity: 1; }
.mobile-menu .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 280px;
  background: #0F0F14; color: #fff; padding: 24px;
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu.open .panel { transform: translateX(0); }
.mobile-menu .panel-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.mobile-menu .panel-head img { height: 26px; width: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 16px; font-size: 15px; font-weight: 500; }
.mobile-menu details summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu details summary::-webkit-details-marker { display: none; }
.mobile-menu .sub-links {
  margin: 10px 0 0 12px; padding: 10px; border-radius: 12px;
  background: #0F0F14; border: 1px solid var(--ring);
  display: flex; flex-direction: column; gap: 8px; font-size: 14px;
}
.mobile-menu .close-btn { background: none; border: none; color: #fff; cursor: pointer; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 16px; padding: 12px 24px; font-size: 14px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: opacity .15s ease;
}
.btn-gold {
  color: #0a0a0a;
  background: linear-gradient(90deg, #FFC119 49%, #FFEB83 100%);
  box-shadow: 0 6px 18px rgba(255,183,0,0.25);
}
.btn-gold:hover { opacity: 0.92; }
.btn-ghost {
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-ghost-dark {
  color: var(--noir);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
}
.btn-ghost-dark:hover { background: rgba(0,0,0,0.05); }
.icon-arrow { width: 14px; height: 14px; }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--gold);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold); }
.section-title { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.section-title .gold { color: var(--gold); }
.section-sub { margin-top: 10px; max-width: 640px; color: var(--text-dim); font-size: 14px; }

/* ---------- Cards ---------- */
.card {
  border-radius: 20px; background: var(--card); border: 1px solid var(--ring); padding: 22px;
}

/* ---------- Layout sections ---------- */
main { display: block; }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; height: 100vh; min-height: 560px; width: 100%;
  overflow: hidden; display: flex; align-items: center;
  background: linear-gradient(135deg, #2a1a5e 0%, #1a1a2e 55%, #0f0f1a 100%);
}
.hero .hero-darken {
  position: absolute; inset: 0;
  background: linear-gradient(360deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.7) 100%);
}
.hero .hero-content { position: relative; z-index: 2; padding: 0 24px; width: 100%; }
.hero .hero-inner { max-width: 560px; }
.hero .kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: #d1d1d6; margin: 0 0 10px; }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: #fff; }
.hero .lead { color: #d1d1d6; margin-top: 16px; }
.hero .start-box {
  margin-top: 22px; max-width: 380px; padding: 20px; border-radius: 18px;
  background: rgba(255,255,255,0.45); backdrop-filter: blur(6px);
  border: 2px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero .start-box p.label { color: var(--noir); font-weight: 600; margin: 0 0 12px; }
.hero .start-box .opt {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-radius: 12px; padding: 12px 16px; font-weight: 600; text-decoration: none; margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,0.08);
}
.hero .start-box .opt.primary { background: var(--gold); color: var(--noir); border: none; }
.hero .start-box .opt.secondary { background: #fff; color: var(--noir); }
.hero .start-box .foot { font-size: 12px; color: var(--gris); text-align: center; margin: 10px 0 0; }
@media (min-width: 768px) { .hero h1 { font-size: 52px; } }

/* ---------- Services (home) ---------- */
.services-grid { margin-top: 32px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; overflow: hidden; border-radius: 20px; background: var(--card); border: 1px solid var(--ring); padding: 24px; display: flex; flex-direction: column; }
.service-card .bar { position: absolute; top:0; left:0; right:0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.service-card .icon { color: var(--gold); margin-bottom: 14px; }
.service-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.service-card .desc { color: rgba(255,255,255,0.8); font-size: 14px; flex: 1; }
.service-card ul { margin: 10px 0 0; padding-left: 18px; }
.service-card ul li { margin-bottom: 4px; }
.service-card .cta { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--gold); text-decoration: none; }
.service-card .cta:hover { text-decoration: underline; }

/* ---------- Productions grid (poster) ---------- */
.poster-grid { margin-top: 24px; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .poster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .poster-grid { grid-template-columns: repeat(4, 1fr); } }
.poster-card { display: block; text-decoration: none; color: inherit; }
.poster-img-wrap {
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px;
  background: #121219; border: 1px solid var(--ring);
  display: flex; align-items: center; justify-content: center;
}
.poster-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.poster-meta { margin-top: 10px; }
.poster-meta h3 { margin: 0; font-size: 14px; font-weight: 700; }
.poster-meta p { margin: 3px 0 0; font-size: 12px; color: var(--text-dimmer); }

/* ---------- Stats row ---------- */
.stats-row { margin-top: 36px; display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .stats-row { grid-template-columns: repeat(3, 1fr); } }
.stat-num { font-size: 44px; font-weight: 800; margin: 0; }
.stat-label { color: var(--text-dim); margin: 2px 0 0; }
.social-row { display: flex; gap: 12px; justify-content: center; }
@media (min-width: 860px) { .social-row { justify-content: flex-end; } }
.social-btn {
  width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); color: #fff; text-decoration: none;
}
.social-btn:hover { background: rgba(255,255,255,0.12); }

/* ---------- Onglets (Distribution) ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 6px; background: var(--card); border: 1px solid var(--ring); border-radius: 16px; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; border: none;
  cursor: pointer; font-weight: 700; font-size: 14px; background: transparent; color: rgba(255,255,255,0.7);
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: #0a0a0a; background: linear-gradient(90deg, #FFC119 0%, #FFEB83 100%); }
.tab-count { border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.tab-btn.active .tab-count { background: rgba(0,0,0,0.1); color: #0a0a0a; }
.tab-panel[hidden] { display: none; }

/* ---------- Offres ---------- */
.offers-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .offers-grid { grid-template-columns: 1fr 1fr; } }
.offer-card { position: relative; overflow: hidden; border-radius: 24px; background: var(--card); border: 1px solid var(--ring); padding: 24px; }
.offer-card .bar { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.offer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.offer-title { display: flex; align-items: center; gap: 12px; }
.offer-badge {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--ring); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5);
}
.offer-title h3 { margin: 0; font-size: 18px; font-weight: 700; }
.offer-price { white-space: nowrap; border-radius: 12px; padding: 4px 12px; font-size: 14px; font-weight: 700; color: #0a0a0a; background: linear-gradient(90deg,#fff 0%, #f5f5f5 100%); }
.offer-body { margin-top: 20px; display: grid; gap: 16px; font-size: 14px; }
.offer-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.offer-value { color: rgba(255,255,255,0.85); line-height: 1.6; }

/* ---------- Valeurs / features ---------- */
.value-grid { margin-top: 32px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .value-grid { grid-template-columns: 1fr 1fr; } }
.value-card { background: var(--card); border: 1px solid var(--ring); border-radius: 16px; padding: 24px; }
.value-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,183,0,0.1); color: var(--gold); }
.value-card h3 { margin: 16px 0 0; font-size: 16px; font-weight: 700; }
.value-card p { margin: 8px 0 0; font-size: 14px; color: var(--text-dim); }

/* ---------- Panneau accent (CNC, etc.) ---------- */
.accent-panel { position: relative; overflow: hidden; border-radius: 24px; background: var(--card); border: 1px solid var(--ring); padding: 28px; }
.accent-panel .glow { position: absolute; top: -60px; right: -60px; width: 190px; height: 190px; border-radius: 999px; background: rgba(255,183,0,0.1); filter: blur(50px); }
.accent-panel-inner { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.accent-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,183,0,0.1); color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 24px; display: grid; gap: 12px; }
details.faq { background: var(--card); border: 1px solid var(--ring); border-radius: 16px; padding: 20px; }
details.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: #fff; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .chev { transition: transform .2s ease; color: rgba(255,255,255,0.4); flex-shrink: 0; }
details.faq[open] summary .chev { transform: rotate(90deg); }
details.faq .faq-body { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; }
details.faq .faq-body p { margin: 0 0 10px; }
details.faq .faq-body a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); }

/* ---------- CTA panel ---------- */
.cta-panel {
  border-radius: 24px; padding: 28px; background: linear-gradient(90deg, #13131A, #0E0E13);
  border: 1px solid var(--ring); display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 760px) { .cta-panel { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-panel h3 { margin: 0; font-size: 22px; font-weight: 700; }
.cta-panel p { margin: 6px 0 0; font-size: 14px; color: var(--text-dim); max-width: 380px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Timeline (about) ---------- */
.timeline { margin-top: 28px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline-step { position: relative; border-radius: 16px; background: var(--card); border: 1px solid var(--ring); padding: 20px; padding-left: 26px; }
.timeline-step .bullet { position: absolute; left: 10px; top: 22px; width: 10px; height: 10px; border-radius: 999px; background: var(--gold); }
.timeline-step .year { font-size: 12px; font-weight: 700; color: var(--gold); margin: 0; }
.timeline-step .ttl { font-weight: 700; margin: 4px 0 0; }
.timeline-step .desc { font-size: 14px; color: var(--text-dim); margin: 4px 0 0; }

/* ---------- Forms ---------- */
.form-grid { margin-top: 24px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .form-grid { grid-template-columns: 1fr 340px; } }
.field { margin-bottom: 16px; }
.field label { font-size: 13px; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border-radius: 10px; background: #0B0D12; border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 12px; font-size: 14px; color: #fff; outline: none; font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: rgba(255,255,255,0.25); }
.field .hint { color: rgba(255,255,255,0.5); margin-left: 4px; font-size: 12px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.checkbox-row input { margin-top: 3px; }
.form-status { margin-top: 10px; font-size: 14px; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.site-footer { background: #1B1B1B; color: #FAFAF0; margin-top: 0; }
.site-footer .grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding: 48px 0; }
@media (min-width: 860px) { .site-footer .grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.footer-newsletter-form { display: flex; gap: 8px; margin-top: 4px; }
.footer-newsletter-form input {
  flex: 1; min-width: 0; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05);
  color: #fff; padding: 9px 10px; font-size: 13px; font-family: inherit;
}
.footer-newsletter-form button {
  flex-shrink: 0; border: none; border-radius: 8px; background: var(--gold); color: #0a0a0a;
  font-weight: 700; font-size: 12.5px; padding: 0 14px; cursor: pointer; font-family: inherit;
}
.footer-newsletter-status { font-size: 12px; margin-top: 8px; min-height: 1em; }
.footer-newsletter-status.ok { color: #4ade80; }
.footer-newsletter-status.err { color: #f87171; }
.site-footer h4 { color: var(--gold); font-weight: 700; margin: 0 0 14px; }
.site-footer .brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.site-footer .brand-row img { height: 34px; width: auto; }
.site-footer p { color: rgba(207,207,199,0.9); margin: 0 0 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; color: #9A9A93; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: #FAFAF0; }
.footer-social { display: flex; gap: 12px; margin-bottom: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,183,0,1) 0%, rgba(255,235,131,1) 100%); color: #1B1B1B; text-decoration: none;
}
.footer-legal { color: #9A9A93; font-size: 13px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: #FAFAF0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 12px; color: #9A9A93; }
.footer-bottom .row span.hide-sm { display: none; }
@media (min-width: 640px) { .footer-bottom .row span.hide-sm { display: inline; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 300; }
.cookie-banner .box {
  max-width: 720px; margin: 16px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,0.70); backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.15); color: var(--noir);
}
.cookie-banner h3 { margin: 0 0 6px; font-weight: 700; }
.cookie-banner p { margin: 0; font-size: 14px; color: #343434; }
.cookie-banner .actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner .btn-outline { border-radius: 12px; padding: 8px 16px; font-size: 13px; font-weight: 700; background: #fff; border: 1px solid rgba(0,0,0,0.1); cursor: pointer; }
.cookie-banner .btn-outline:hover { opacity: 0.9; }
.cookie-modal { position: fixed; inset: 0; z-index: 301; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,0.4); }
.cookie-modal .box { max-width: 520px; width: 100%; border-radius: 16px; background: rgba(255,255,255,0.9); padding: 20px; color: var(--noir); }
.pref-row { display: flex; align-items: flex-start; gap: 10px; border-radius: 12px; padding: 10px; background: #fff; border: 1px solid rgba(0,0,0,0.08); margin-bottom: 8px; }
.pref-row p.t { margin: 0; font-weight: 700; font-size: 14px; }
.pref-row p.d { margin: 2px 0 0; font-size: 12px; color: #6B6B6B; }

/* ---------- Location (thème clair) ---------- */
.page-light { background: var(--cream); color: var(--noir); min-height: 100vh; }
.page-light h1 { color: var(--noir); }
.location-hero { padding: 130px 0 20px; }
.location-hero p { color: var(--gris); }
.location-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 860px) { .location-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); padding: 16px; display: flex; flex-direction: column; }
.product-card img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.product-card h3 { margin: 12px 0 4px; font-size: 15px; }
.product-card p.desc { font-size: 13px; color: var(--gris); margin: 0 0 10px; flex: 1; }
.product-card .quote-btn { width: 100%; text-align: center; }

.lc-badges { display: flex; gap: 6px; margin-top: 10px; }
.lc-badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; }
.lc-badge.rental { background: rgba(0,0,0,0.06); color: #444; }
.lc-badge.purchase { background: rgba(255,183,0,0.16); color: #8a6100; }
.lc-mode-tabs { display: flex; gap: 6px; margin: 12px 0 10px; background: #f2f2ee; border-radius: 999px; padding: 3px; }
.lc-mode-tabs button {
  flex: 1; border: none; background: none; border-radius: 999px; padding: 7px 0; font-size: 12.5px; font-weight: 700;
  color: var(--gris); cursor: pointer; font-family: inherit;
}
.lc-mode-tabs button.active { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.lc-price { font-weight: 800; font-size: 17px; margin: 0 0 4px; }
.lc-deposit-note { font-size: 11.5px; font-weight: 600; color: var(--gris); margin: 0 0 10px; }
.lc-dates { display: flex; gap: 8px; margin-bottom: 10px; }
.lc-dates input { flex: 1; min-width: 0; border-radius: 8px; border: 1px solid rgba(0,0,0,0.1); padding: 8px 9px; font-size: 12.5px; font-family: inherit; }
.lc-owned-note { font-size: 12.5px; font-weight: 700; color: #16a34a; background: rgba(22,163,74,0.1); border-radius: 8px; padding: 8px 10px; text-align: center; }

/* ---------- Arbre de l'équipe (about.html) ---------- */
.team-tree-wrap { position: relative; margin-top: 24px; overflow-x: auto; padding-bottom: 8px; }
.team-tree { position: relative; display: flex; flex-direction: column; align-items: center; gap: 46px; min-width: 320px; padding: 10px 6px; }
.team-tree-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.team-tree-link { fill: none; stroke: rgba(255,183,0,0.4); stroke-width: 1.5; }
.team-tree-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; width: 100%; }
.team-node { display: flex; }
.team-node-card {
  width: 190px; border-radius: 16px; background: var(--card); border: 1px solid var(--ring);
  padding: 18px 16px; text-align: center; transition: transform .15s ease, border-color .15s ease;
}
.team-node-card:hover { transform: translateY(-3px); border-color: rgba(255,183,0,0.35); }
/* Hiérarchie visuelle : le sommet de l'organigramme (niveau 0) est mis en
   avant (plus grand, bordure dorée) ; chaque niveau suivant reste plus
   sobre, comme dans un vrai organigramme d'entreprise. */
.team-node-card.lvl-0 { width: 214px; padding: 22px 18px; border-color: rgba(255,183,0,0.45); box-shadow: 0 0 0 1px rgba(255,183,0,0.2), 0 14px 34px rgba(255,183,0,0.08); }
.team-node-card.lvl-1 { border-color: rgba(255,183,0,0.22); }
.team-node-card.is-inactive { opacity: 0.5; }
.team-node-avatar {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(135deg,#FFC119,#FFEB83); color: #000; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,183,0,0.5);
}
.lvl-0 .team-node-avatar { width: 78px; height: 78px; font-size: 22px; }
.team-node-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-node-name { margin: 0; font-size: 15px; font-weight: 700; }
.lvl-0 .team-node-name { font-size: 17px; }
.team-node-role { margin: 3px 0 0; font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.04em; }
.team-node-desc { margin: 8px 0 0; font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }
.team-node-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 5px; align-items: center; }
.team-node-manager { font-size: 11px; color: var(--text-dimmer); }
.team-node-status { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 999px; }
.team-node-status.on { background: rgba(74,222,128,0.14); color: #4ade80; }
.team-node-status.off { background: rgba(255,255,255,0.06); color: var(--text-dimmer); }

/* ---- Style horizontal : arborescence de gauche à droite ---- */
.team-tree-horizontal { align-items: flex-start; gap: 26px; padding: 6px; }
.team-hz-node { display: flex; align-items: center; gap: 0; }
.team-hz-children { display: flex; flex-direction: column; gap: 18px; margin-left: 38px; position: relative; padding-left: 26px; }
.team-hz-children::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; border-left: 1.5px solid rgba(255,183,0,0.4); }
.team-hz-children > .team-hz-node { position: relative; }
.team-hz-children > .team-hz-node::before { content: ""; position: absolute; left: -26px; top: 50%; width: 26px; border-top: 1.5px solid rgba(255,183,0,0.4); }
.team-hz-node.has-children > .team-hz-self { position: relative; }
.team-hz-node.has-children > .team-hz-self::after { content: ""; position: absolute; right: -38px; top: 50%; width: 38px; border-top: 1.5px solid rgba(255,183,0,0.4); }
.team-tree-horizontal .team-node-card, .team-tree-horizontal .team-node-card.lvl-0 { width: 200px; padding: 14px 12px; }
.team-tree-horizontal .team-node-desc { display: none; }

/* ---- Style compact : listes par niveau, sans connecteurs ---- */
.team-tree-compact { align-items: stretch; gap: 26px; }
.team-compact-section { width: 100%; }
.team-compact-label {
  margin: 0 0 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-dim); display: flex; align-items: center; gap: 8px;
}
.team-compact-label span { background: rgba(255,183,0,0.16); color: var(--gold); border-radius: 999px; padding: 1px 8px; font-size: 11px; }
.team-compact-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.team-compact-row .team-node-card, .team-compact-row .team-node-card.lvl-0 { width: 100%; padding: 12px 12px; display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; text-align: left; align-items: center; }
.team-compact-row .team-node-avatar, .team-compact-row .lvl-0 .team-node-avatar { width: 44px; height: 44px; margin: 0; font-size: 14px; grid-row: span 2; }
.team-compact-row .team-node-desc, .team-compact-row .team-node-foot { display: none; }
.team-compact-row .team-node-name { font-size: 13.5px; }
.team-compact-row .team-node-role { font-size: 10.5px; }
.team-compact-row .team-node { display: block; }

/* ---- Mode builder (admin) : glisser-déposer ---- */
.team-node-card[draggable="true"] { cursor: grab; }
.team-node-card.is-dragging { opacity: 0.4; }
.team-node-card.drop-target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,183,0,0.35); }
.team-root-dropzone {
  border: 1.5px dashed rgba(255,255,255,0.18); border-radius: 12px; padding: 10px; text-align: center;
  font-size: 12px; color: var(--text-dim); margin-bottom: 12px;
}
.team-root-dropzone.drop-target { border-color: var(--gold); color: var(--gold); background: rgba(255,183,0,0.06); }
@media (max-width: 640px) {
  .team-tree { gap: 34px; }
  .team-tree-row { gap: 14px; }
  .team-node-card, .team-node-card.lvl-0 { width: 168px; padding: 14px 12px; }
  .lvl-0 .team-node-avatar { width: 64px; height: 64px; }
}

/* ---------- Vidéo du Hero (Supabase Storage) ---------- */
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-media video.is-ready { opacity: 1; }
.hero-media-state {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 5px 10px;
}

/* ---------- Notes techniques ---------- */
.data-note {
  margin-top: 18px; font-size: 12px; color: var(--text-dimmer);
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.max-w-prose { max-width: 720px; }

/* =========================================================
   Écran de chargement — logo SMD Factory animé
   ---------------------------------------------------------
   La montagne (assets/img/loader/mountain.png) reste fixe ;
   seul le petit élément jaune (l'étincelle du logo) se déplace,
   en boucle continue et parfaitement fluide, comme une route
   infinie qui défile sous les sommets. Animation légère :
   un seul "transform: translateX", accéléré matériellement.
   Se masque (fondu) dès que les données réelles sont prêtes —
   voir assets/js/loading-screen.js.
   ========================================================= */
.smd-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 32%, #17140a 0%, var(--bg) 68%);
  transition: opacity .35s ease;
}
.smd-loader.is-hiding { opacity: 0; pointer-events: none; }
.smd-loader-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.smd-loader-mark { position: relative; width: 176px; --smd-mark-w: 176px; }
.smd-loader-mountain {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 8px 20px rgba(255, 183, 0, 0.16));
}
.smd-loader-road {
  position: relative; margin-top: -8px; width: 100%; height: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.smd-loader-road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 183, 0, 0.35), transparent);
}
.smd-loader-track {
  position: absolute; top: 0; left: 0; display: flex; align-items: center;
  width: calc(var(--smd-mark-w) * 2); height: 100%;
  animation: smd-road-loop 2.4s linear infinite;
  will-change: transform;
}
.smd-loader-spark {
  width: 15px; height: 15px; flex: 0 0 auto;
  margin-right: calc(var(--smd-mark-w) - 15px);
  filter: drop-shadow(0 0 6px rgba(255, 183, 0, 0.8));
}
@keyframes smd-road-loop {
  from { transform: translateX(0); }
  to { transform: translateX(calc(var(--smd-mark-w) * -1)); }
}
.smd-loader-word {
  margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
}
.smd-loader-word span { color: var(--gold); }
.smd-loader-status { margin: -6px 0 0; font-size: 12.5px; color: var(--text-dim); text-align: center; max-width: 320px; }
@media (prefers-reduced-motion: reduce) {
  .smd-loader-track { animation: none; }
}

/* =========================================================
   Modal de détails film (index.html / productions.html / distribution.html)
   ========================================================= */
.smd-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(6, 6, 8, 0.78); backdrop-filter: blur(3px);
}
body.smd-modal-open { overflow: hidden; }
.smd-modal-overlay[hidden], .smd-loader[hidden] { display: none !important; }
.smd-modal {
  position: relative; width: 100%; max-width: 780px; max-height: 88vh; overflow-y: auto;
  display: flex; gap: 28px; background: var(--bg, #0a0a0d); border: 1px solid var(--ring, rgba(255,255,255,0.1));
  border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.smd-modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--ring, rgba(255,255,255,0.14)); background: rgba(255,255,255,0.04); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.smd-modal-close:hover { background: rgba(255,255,255,0.1); }
.smd-modal-poster { flex: 0 0 220px; }
.smd-modal-poster img { width: 100%; border-radius: 10px; display: block; }
.smd-modal-info { flex: 1 1 auto; min-width: 0; }
.smd-modal-info h2 { margin: 0 0 4px; font-size: 26px; }
.smd-modal-meta { margin: 0 0 12px; color: var(--text-dim); font-size: 14px; }
.smd-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.smd-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--ring, rgba(255,255,255,0.14)); color: var(--gold);
}
.smd-modal-synopsis { line-height: 1.6; color: #e8e8ec; }
.smd-modal-synopsis.smd-modal-empty { color: var(--text-dimmer); font-style: italic; }
.smd-modal-actions { margin-top: 20px; }
@media (max-width: 640px) {
  .smd-modal { flex-direction: column; max-height: 90vh; }
  .smd-modal-poster { flex: 0 0 auto; max-width: 220px; margin: 0 auto; }
}

/* =========================================================
   location.html : boutique d'équipement (location + achat)
   ========================================================= */
.lc-toolbar-wrap { position: sticky; top: 64px; z-index: 30; background: rgba(255,251,240,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,0.06); margin-top: 18px; }
.lc-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 8px; scrollbar-width: thin; }
.lc-cat {
  flex-shrink: 0; border: 1px solid rgba(0,0,0,0.1); background: #fff; color: #222; border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; display: inline-flex; gap: 7px; align-items: center;
  transition: border-color .15s ease, background .15s ease;
}
.lc-cat span { font-size: 11px; font-weight: 800; color: #777; background: rgba(0,0,0,0.05); border-radius: 999px; padding: 1px 7px; }
.lc-cat:hover { border-color: var(--gold); }
.lc-cat.active { background: #111; color: #fff; border-color: #111; }
.lc-cat.active span { background: rgba(255,255,255,0.18); color: #fff; }
.lc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 6px 0 12px; }
.lc-count { font-size: 13px; color: var(--gris); flex: 1; }
.lc-sort { font-size: 12.5px; color: var(--gris); display: flex; align-items: center; gap: 8px; }
.lc-sort select { border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; background: #fff; color: #111; font-family: inherit; }
.lc-seg { display: inline-flex; background: #f2f2ee; border-radius: 999px; padding: 3px; gap: 2px; }
.lc-seg button { border: none; background: none; border-radius: 999px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; color: var(--gris); cursor: pointer; font-family: inherit; }
.lc-seg button.active { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,0.14); }

.lc-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 560px) { .lc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .lc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .lc-grid { grid-template-columns: repeat(4, 1fr); } }
.lc-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.lc-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }
.lc-card-media { position: relative; background: #f5f3ec; }
.lc-card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.lc-card-media .lc-badges { position: absolute; left: 10px; top: 10px; margin: 0; }
.lc-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.lc-badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 999px; }
.lc-badge.rental { background: #111; color: #fff; }
.lc-badge.purchase { background: var(--gold); color: #111; }
.lc-card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lc-card-cat { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #a07400; }
.lc-card-body h3 { margin: 0; font-size: 15px; line-height: 1.3; }
.lc-card-brand { font-size: 12px; color: var(--gris); }
.lc-card-desc { margin: 4px 0 0; font-size: 12.5px; color: var(--gris); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-prices { margin: 10px 0 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: flex-end; }
.lc-price-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--gris); margin: 0; }
.lc-price-row strong { color: #111; font-size: 15px; }
.lc-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.lc-actions .btn { width: 100%; text-align: center; justify-content: center; padding: 10px 12px; font-size: 13px; }
.lc-btn-details { border: 1px solid rgba(0,0,0,0.14); color: #111; background: transparent; }
.lc-btn-details:hover { background: rgba(0,0,0,0.04); }

/* Modales (détails / options d'ajout au panier) : variante claire */
.lc-modal-overlay .smd-modal { background: #fff; color: #111; border-color: rgba(0,0,0,0.08); max-width: 820px; display: block; padding: 26px; }
.lc-modal-overlay .smd-modal-close { color: #111; border-color: rgba(0,0,0,0.14); background: rgba(0,0,0,0.04); }
.lc-detail { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .lc-detail { grid-template-columns: 1fr 1.1fr; } }
.lc-detail-media img { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.lc-detail-info h2, .lc-options h2 { margin: 4px 0 2px; font-size: 22px; }
.lc-detail-avail { font-size: 13px; font-weight: 700; color: #111; margin: 6px 0; }
.lc-detail-desc { font-size: 13.5px; line-height: 1.65; color: #444; }
.lc-specs { margin: 10px 0; padding-left: 18px; font-size: 13px; color: #444; line-height: 1.7; }
.lc-deposit-note { font-size: 12px; color: var(--gris); margin: 6px 0 0; }
.lc-options { max-width: 420px; margin: 0 auto; }
.lc-options .lc-seg { margin: 10px 0 14px; }
.lc-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.lc-dates label, .lc-qty { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; color: var(--gris); }
.lc-dates input, .lc-qty input { border: 1px solid rgba(0,0,0,0.14); border-radius: 8px; padding: 9px 10px; font-size: 13.5px; font-family: inherit; color: #111; background: #fff; }
.lc-qty { margin-top: 10px; width: 120px; }
.lc-error { color: #dc2626; font-size: 12.5px; margin: 8px 0 0; }
.lc-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 3000;
  padding: 12px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #fff; transition: all .25s ease;
}
.lc-toast.show { opacity: 1; transform: translate(-50%, 0); }
.lc-toast.ok { background: #16a34a; }
.lc-toast.err { background: #dc2626; }

.smd-modal-h3 { margin: 18px 0 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.smd-credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-height: 210px; overflow-y: auto; }
.smd-credits li { display: flex; flex-direction: column; font-size: 12.5px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.smd-credits li span { color: var(--text-dimmer); font-size: 11px; }
.smd-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.offer-actions { margin-top: 18px; }
.offer-actions .btn { display: inline-flex; }
.footer-social a[hidden] { display: none !important; }

/* Sections de l'accueil pilotées par le dashboard */
@media (min-width: 861px) { .sec-hide-desktop { display: none !important; } }
@media (max-width: 860px) { .sec-hide-mobile { display: none !important; } }
.custom-section-inner.has-image { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .custom-section-inner.has-image { grid-template-columns: 1.1fr 1fr; } }
.custom-section-media img { width: 100%; border-radius: 16px; display: block; }
.custom-section-body { line-height: 1.7; color: var(--text-dim); max-width: 720px; }
.offer-visual { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; display: block; }
