/* ==========================================================================
   MEGADINO — OPÇÃO C: "CENTRO DE DISTRIBUIÇÃO" (galpão real, 100% código)
   Cenário fixo dentro de um CD em plena operação: uma pilha de cenas
   (fotos + vídeos) que se funde em crossfade contínuo conforme o scroll,
   seguindo o fluxo de um pedido do recebimento até a entrega. Paleta
   industrial clara — aço/concreto + branco de LED — com o dourado da
   marca Megadino como acento (fita, sinalização, luz de doca).
   ========================================================================== */

:root {
  /* --- Paleta --- */
  --void:        #0E1013;
  --deep:        #16181C;
  --steel-900:   #1D2024;
  --steel-700:   #2C2F34;
  --steel-500:   #3A3D42;
  --steel-300:   #5B6570;
  --led:         #F4F1E9;
  --gold:        #CBA135;
  --gold-light:  #E8C874;
  --gold-dim:    rgba(203, 161, 53, 0.35);
  --ivory:       #F3EFE4;
  --ivory-soft:  rgba(243, 239, 228, 0.76);
  --ivory-faint: rgba(243, 239, 228, 0.48);
  --ink:         #0B0C0E;
  --line:        rgba(243, 239, 228, 0.14);

  --tiktok-pink: #FE2C55;

  /* --- Tipografia --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* --- Layout --- */
  --wrap: min(1180px, 90vw);
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 26px;
  --ease: cubic-bezier(.16, .8, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --header-h: 84px;
}

html, body { overflow-x: hidden; }

/* Fallback sem JS / antes do motor iniciar: tudo visível, sem animação. */
[data-scroll] { --p: 1; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.scroll-ready [data-scroll] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   RESET
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--void);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 var(--radius-s) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.anchor-marker { display: block; height: 0; overflow: hidden; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   CENÁRIO FIXO — centro de distribuição em operação
   ========================================================================== */

.cd-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--void);
}

.cd-void {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(91, 101, 112, 0.30), transparent 70%),
    linear-gradient(180deg, #1D2024 0%, #15171A 55%, #0E1013 100%);
}

/* Feixes de luz — a luz do dia entrando pelas docas, misturada ao LED */
.light-shaft {
  position: absolute;
  top: -10%;
  width: 14vw;
  height: 130%;
  background: linear-gradient(180deg, rgba(244, 241, 233, 0.14), rgba(244, 241, 233, 0) 75%);
  transform: rotate(8deg);
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: shaft-breathe 9s ease-in-out infinite;
}
.light-shaft-1 { left: 8%; animation-delay: 0s; }
.light-shaft-2 { left: 42%; width: 10vw; animation-delay: 2.4s; opacity: 0.7; background: linear-gradient(180deg, rgba(232, 200, 116, 0.16), rgba(232, 200, 116, 0) 75%); }
.light-shaft-3 { left: 74%; width: 16vw; animation-delay: 4.8s; }
@keyframes shaft-breathe {
  0%, 100% { opacity: 0.55; transform: rotate(8deg) translateX(0); }
  50% { opacity: 1; transform: rotate(8deg) translateX(1.5vw); }
}

/* Pilha de cenas — fotos e vídeos do fluxo do pedido, um fundo fixo único
   que se transforma em crossfade contínuo conforme o scroll (o JS cruza a
   opacidade entre a cena atual e a seguinte a cada frame, sem cortes). */
.scene-stack { position: absolute; inset: 0; overflow: hidden; }
.scene {
  position: absolute;
  inset: -2%;
  opacity: 0;
  will-change: opacity;
}
.scene:first-child { opacity: 1; } /* estado inicial antes do JS calcular */
.scene img,
.scene video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.72) saturate(0.92) contrast(1.05);
}
.scene img {
  transform: scale(1);
  animation: scene-kenburns 34s ease-in-out infinite alternate;
}
.scene:nth-child(even) img { animation-name: scene-kenburns-alt; animation-duration: 40s; }
@keyframes scene-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.09) translate(-1.4%, -1%); }
}
@keyframes scene-kenburns-alt {
  from { transform: scale(1.05) translate(-1%, 0); }
  to   { transform: scale(1.12) translate(0.6%, -1.6%); }
}

/* Placeholders — cenas ainda não geradas (marcação visível, sem quebrar o
   layout). Padrão de fita de sinalização industrial + rótulo, para lembrar
   exatamente qual arquivo entra ali quando for gerado. */
.scene-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(203, 161, 53, 0.16) 0px,
      rgba(203, 161, 53, 0.16) 26px,
      rgba(14, 16, 19, 0.5) 26px,
      rgba(14, 16, 19, 0.5) 52px
    ),
    linear-gradient(160deg, var(--steel-700), var(--steel-900));
}
.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 30px;
  border-radius: var(--radius-m);
  border: 1px dashed var(--gold-dim);
  background: rgba(14, 16, 19, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: min(420px, 70vw);
  text-align: center;
}
.placeholder-icon {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ivory-faint);
  line-height: 1.5;
}

/* Véu uniforme sobre a pilha de cenas — garante contraste de texto em
   qualquer cena/seção, mesmo com o fundo claro/industrial. */
.scene-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 12, 14, 0.72) 0%, rgba(11, 12, 14, 0.46) 45%, rgba(11, 12, 14, 0.62) 100%);
}

/* Neblina fina de poeira em suspensão — mesma lógica da neblina anterior,
   agora mais sutil e fria, como poeira flutuando na luz das docas. */
.fog {
  position: absolute;
  left: -30%;
  width: 160%;
  pointer-events: none;
  mix-blend-mode: screen;
}
.fog-back {
  bottom: 30%;
  height: 30%;
  background: radial-gradient(closest-side, rgba(244, 241, 233, 0.10), transparent 70%);
  filter: blur(30px);
  animation: fog-drift 46s linear infinite;
}
.fog-mid {
  bottom: 16%;
  height: 26%;
  background: radial-gradient(closest-side, rgba(244, 241, 233, 0.13), transparent 70%);
  filter: blur(22px);
  animation: fog-drift 32s linear infinite reverse;
}
.fog-front {
  bottom: 0%;
  height: 20%;
  background: radial-gradient(closest-side, rgba(244, 241, 233, 0.16), transparent 72%);
  filter: blur(16px);
  animation: fog-drift 24s linear infinite;
}
@keyframes fog-drift {
  0% { transform: translateX(-6%); }
  50% { transform: translateX(6%); }
  100% { transform: translateX(-6%); }
}

/* Poeira em suspensão nos feixes de luz — substitui os vagalumes da
   selva por um efeito realista de galpão iluminado. */
.particles { position: absolute; inset: 0; }
.particles span {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 5px 1px rgba(244, 241, 233, 0.55);
  opacity: 0;
  animation: particle-rise linear infinite;
}
@keyframes particle-rise {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.35; }
  100% { opacity: 0; transform: translateY(-38vh) translateX(2vw); }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(6, 7, 9, 0.5) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .light-shaft, .fog, .particles span { animation: none !important; }
}

/* ==========================================================================
   PAINÉIS DE VIDRO
   ========================================================================== */

.glass {
  background: rgba(22, 24, 28, 0.6);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(243, 239, 228, 0.12);
  border-radius: var(--radius-l);
}

/* ==========================================================================
   BARRA DE PROGRESSO / NAV LATERAL
   ========================================================================== */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 300;
  background: rgba(243, 239, 228, 0.1);
}
.scroll-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.side-nav {
  position: fixed;
  right: 30px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 20px;
}
.side-dot { position: relative; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
.side-dot span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(243, 239, 228, 0.35);
  box-shadow: 0 0 0 3px rgba(14, 16, 19, 0.4);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  display: block;
}
.side-dot em {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: var(--ink); color: var(--gold-light);
  padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--gold-dim);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.side-dot:hover em, .side-dot:focus-visible em { opacity: 1; }
.side-dot:hover span, .side-dot:focus-visible span { background: var(--gold-light); }
.side-dot.is-active span {
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(232, 200, 116, 0.22);
  transform: scale(1.5);
}

@media (min-width: 1180px) { .side-nav { display: flex; } }

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */

h1, h2, h3 { font-family: var(--font-display); color: var(--ivory); line-height: 1.08; margin: 0; font-weight: 500; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow-center { justify-content: center; }

.section-title {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  font-weight: 500;
  margin-bottom: 22px;
  max-width: 20ch;
}
.section-title-center { text-align: center; margin-inline: auto; }

.section-sub {
  max-width: 56ch;
  color: var(--ivory-soft);
  font-size: 1.08rem;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  position: relative;
}

.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(203, 161, 53, 0.55); }
.btn-primary:hover { background: var(--gold-light); }

.btn-outline { background: transparent; border-color: rgba(243, 239, 228, 0.3); color: var(--ivory); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(243, 239, 228, 0.25); padding: 10px 20px; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ==========================================================================
   LOGO / WORDMARK
   ========================================================================== */

.logo { display: inline-flex; align-items: center; gap: 6px; }
.logo-img { height: 27px; width: auto; display: block; }
.logo-footer .logo-img { height: 24px; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  --nav-p: 0;
  background: rgba(14, 16, 19, calc(0.42 + var(--nav-p) * 0.45));
  backdrop-filter: blur(calc(6px + var(--nav-p) * 10px));
  -webkit-backdrop-filter: blur(calc(6px + var(--nav-p) * 10px));
  border-bottom: 1px solid rgba(243, 239, 228, calc(var(--nav-p) * 0.1));
  transition: background 0.1s linear;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; }

.main-nav { display: none; gap: 36px; }
.main-nav a { color: var(--ivory-soft); font-weight: 500; font-size: 0.92rem; position: relative; padding-bottom: 4px; letter-spacing: 0.01em; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold-light);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover { color: var(--ivory); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta-desktop { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: none; padding: 0;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ivory); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.main-nav.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(14, 16, 19, 0.97);
  padding: 8px max(20px, calc((100% - var(--wrap)) / 2)) 20px;
  border-bottom: 1px solid var(--line);
}
.main-nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }

@media (min-width: 900px) {
  .main-nav { display: flex; position: static; background: none; padding: 0; }
  .header-cta-desktop { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding-block: calc(var(--header-h) + 40px) 56px;
}

.hero-inner { position: relative; z-index: 1; width: min(880px, 88vw); margin-inline: auto; text-align: center; }

.hero-title {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}
.hero-title-accent { color: var(--gold-light); font-style: italic; }

.hero-sub { color: var(--ivory-soft); font-size: 1.2rem; max-width: 48ch; margin: 0 auto 40px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll-cue span {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  display: block;
  animation: cue-fall 2s ease-in-out infinite;
}
.hero-scroll-cue em {
  font-style: normal; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-faint);
}
@keyframes cue-fall {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */

.section { padding-block: 120px; position: relative; }

/* ==========================================================================
   MOTOR DE SCROLL FLUIDO
   ========================================================================== */

html.scroll-ready [data-scroll] { opacity: var(--p); will-change: transform, opacity; }

html.scroll-ready [data-scroll="fade-up"] { transform: translateY(calc((1 - var(--p)) * 30px)); }
html.scroll-ready [data-scroll="pop"]     { transform: translateY(calc((1 - var(--p)) * 24px)) scale(calc(0.96 + var(--p) * 0.04)); }

/* ==========================================================================
   CANAIS — TERRITÓRIOS
   ========================================================================== */

.territory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.territory-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(44, 47, 52, 0.55), rgba(15, 17, 20, 0.55));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.territory-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(140px 140px at var(--mx, 50%) var(--my, 0%), rgba(232, 200, 116, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.territory-card:hover, .territory-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  background: linear-gradient(160deg, rgba(44, 47, 52, 0.72), rgba(15, 17, 20, 0.72));
}
.territory-card:hover::before { opacity: 1; }

.territory-coord {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  opacity: 0.85;
}
.territory-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
}
.territory-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--ivory-soft);
}
.territory-arrow { transition: transform 0.25s var(--ease); color: var(--gold-light); }
.territory-card:hover .territory-arrow { transform: translateX(5px); }

.territory-note {
  margin: 40px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
}

@media (min-width: 700px) { .territory-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   QUEM SOMOS
   ========================================================================== */

.sobre-grid { position: relative; z-index: 1; display: grid; gap: 56px; }
.sobre-copy .sobre-text { color: var(--ivory-soft); font-size: 1.12rem; margin: 0; max-width: 52ch; }

.stat-column { display: flex; flex-direction: column; }
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.stat-row:first-child { border-top: 1px solid var(--line); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 500;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  min-width: 8ch;
}
.stat-number-text { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.stat-row-lead .stat-number { color: var(--ivory); }
.stat-label { color: var(--ivory-faint); font-size: 0.92rem; }

@media (min-width: 900px) { .sobre-grid { grid-template-columns: 1.1fr 1fr; align-items: center; } }

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */

.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 52px;
  grid-template-columns: repeat(2, 1fr);
}
.feature-card {
  padding: 30px 26px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: rgba(22, 24, 28, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--gold-dim); }

.feature-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(203, 161, 53, 0.14); color: var(--gold-light);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 500; }
.feature-card p { color: var(--ivory-soft); font-size: 0.96rem; margin: 0; }

@media (min-width: 800px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   SAC
   ========================================================================== */

.sac-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.sac-text { color: var(--ivory-soft); font-size: 1.08rem; max-width: 50ch; }

.sac-list { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.sac-list li { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.sac-list-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ivory-faint); min-width: 90px; }
.sac-list a { color: var(--ivory); font-weight: 600; }
.sac-list a:hover { color: var(--gold-light); }

.sac-form-wrap {
  padding: 36px 32px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: rgba(22, 24, 28, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.sac-form { display: flex; flex-direction: column; gap: 18px; }
.form-ticket { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--ivory-faint); margin: 0; text-transform: uppercase; }

.field { display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ivory-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 14px; background: rgba(14, 16, 19, 0.45); color: var(--ivory);
  font-weight: 400; resize: vertical; transition: border-color 0.2s var(--ease);
}
.field select option { background: var(--steel-900); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-light); }

.form-submit { align-self: flex-start; }
.form-feedback { margin: 0; font-size: 0.88rem; min-height: 1.2em; color: #7CC49A; font-weight: 600; }
.form-feedback[data-state="error"] { color: #E9836B; }

@media (min-width: 900px) { .sac-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { color: var(--ivory); padding-top: 30px; position: relative; }

.footer-endnote {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ivory-faint);
  margin: 0 0 44px;
}

.footer-grid {
  display: grid; gap: 40px; grid-template-columns: 1fr;
  padding-bottom: 48px; margin-top: 20px;
  border-bottom: 1px solid var(--line);
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h3 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 6px; }
.footer-col a { color: var(--ivory-soft); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }

.logo-footer { margin-bottom: 4px; }
.footer-tagline { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--ivory-soft); }
.footer-address { margin: 0; font-size: 0.85rem; color: var(--ivory-faint); }

.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(243, 239, 228, 0.07); color: var(--ivory-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--void); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom { padding-block: 24px; font-size: 0.8rem; color: var(--ivory-faint); text-align: center; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
