:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #0d0d0d;
  --ink-soft: #2b220d;
  --gold-bright: #f5c518;
  --gold: #d49b0b;
  --gold-deep: #855c00;
  --gold-border: rgba(212, 155, 11, 0.55);
  --gold-glow: rgba(245, 197, 24, 0.22);
  --container-w: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a,
button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container-w));
  margin-inline: auto;
}

/* Logo em formato bolha */
.logo-bubble {
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
}

.logo-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-bubble-lg {
  width: 112px;
  height: 112px;
}

.logo-bubble-hero {
  width: 120px;
  height: 120px;
  margin-inline: auto;
  box-shadow: 0 12px 32px rgba(212, 155, 11, 0.16);
}

.logo-bubble-sm {
  width: 36px;
  height: 36px;
}

/* Intro fullscreen 100dvh */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  height: 100dvh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  text-align: center;
}

.js-enabled body.intro-locked {
  overflow: hidden;
}

.intro-overlay.is-done {
  visibility: hidden;
  pointer-events: none;
}

.intro-skip {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  min-width: 76px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1.5px solid var(--gold);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.intro-skip:active {
  transform: scale(0.97);
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 520px;
}

.intro-brand {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.intro-tagline {
  margin: 0;
  font-size: clamp(0.9375rem, 2.4vw, 1.0625rem);
  font-weight: 500;
  color: var(--gold-deep);
}

/* Navbar flutuante minimalista */
.nav-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(calc(100% - 24px), var(--container-w));
  height: 54px;
  margin-inline: auto;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 28px rgba(13, 13, 13, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  min-width: 0;
}

.nav-brand-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--gold-border);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.icon-btn-gold {
  background: var(--gold-bright);
  border-color: var(--gold);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover,
  .intro-skip:hover,
  .btn-outline:hover {
    transform: scale(1.03);
  }
}

/* Seções e respiro >= 64px */
.section-rise {
  position: relative;
  background: var(--bg);
  padding-block: clamp(64px, 8vw, 88px);
}

.hero {
  padding-top: calc(max(12px, env(safe-area-inset-top)) + 88px);
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin: 20px 0 10px;
  font-size: clamp(2rem, 6vw, 3.125rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-tagline {
  margin: 0 0 12px;
  font-size: clamp(0.9375rem, 2.4vw, 1.0625rem);
  font-weight: 600;
  color: var(--gold-deep);
}

.hero-address {
  margin: 0 0 28px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/* Botões e Shiny Sweep Glow (transform + opacity apenas) */
.btn-gold,
.btn-outline {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.25s ease;
}

.btn-gold {
  background: linear-gradient(135deg, #ffe047 0%, #f5c518 50%, #d49b0b 100%);
  border: 1.5px solid #b58000;
  color: var(--ink);
}

.btn-outline {
  background: var(--bg);
  border: 1.5px solid var(--gold);
  color: var(--ink);
}

.shiny-sweep::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
  animation: sweep-glide 4.5s ease-in-out infinite;
}

@keyframes sweep-glide {
  0%, 55% {
    transform: translateX(-160%) skewX(-18deg);
    opacity: 0;
  }
  70% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(260%) skewX(-18deg);
    opacity: 0;
  }
}

.whatsapp-status {
  margin: 16px 0 0;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--gold);
  background: #fffdf5;
  color: var(--ink);
  font-size: 0.875rem;
}

/* Divider no meio do respiro >= 64px */
.divider-band {
  padding-block: 32px;
  background: var(--bg);
  display: flex;
  justify-content: center;
}

.gold-divider {
  display: block;
  width: min(calc(100% - 32px), var(--container-w));
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

/* Títulos centralizados */
.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--gold-deep);
}

.section-subtitle {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.stack-meta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.stack-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 32px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Pilha de Cards (100% opacos, sem backdrop-filter, opacity sempre 1) */
.stack-section {
  z-index: 2;
}

.stack-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 416px;
  margin-inline: auto;
}

.stack-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 344px;
  margin-inline: auto;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1.5px solid var(--gold);
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.08);
  opacity: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: top center;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, var(--gold-glow) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.card-top,
.card-body,
.card-footer {
  position: relative;
  z-index: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-index {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}

.circle-btn {
  position: relative;
  overflow: hidden;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffe047 0%, #f5c518 55%, #d49b0b 100%);
  border: 1.5px solid #b58000;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.card-body {
  text-align: center;
  padding-inline: 4px;
}

.card-title {
  margin: 0 0 8px;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
}

.card-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.45;
}

.card-footer {
  display: flex;
  justify-content: center;
}

.btn-card {
  width: 100%;
  max-width: 340px;
}

/* Esteira de Produtos GSAP */
.marquee-section {
  z-index: 3;
}

.marquee-viewport {
  width: 100%;
  overflow: hidden;
  padding-block: 8px;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.marquee-item {
  margin: 0;
  width: 180px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  background: var(--bg);
  flex-shrink: 0;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .marquee-item {
    width: 240px;
  }
}

/* Lista de links / Localização */
.location-section {
  z-index: 4;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 14px 16px 14px 20px;
  border-radius: 20px;
  background: var(--bg);
  border: 1.5px solid var(--gold);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.link-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.link-row-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.link-row-text span {
  font-size: 0.875rem;
  color: var(--gold-deep);
  overflow-wrap: anywhere;
}

/* FAQ */
.faq-section {
  z-index: 5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  border: 1.5px solid var(--gold);
  background: var(--bg);
  padding: 0 20px;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  min-height: 56px;
  padding-block: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--gold-deep);
  transform: translateY(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* Rodapé com folga >= 96px */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
  padding-top: 40px;
  padding-bottom: max(112px, calc(96px + env(safe-area-inset-bottom)));
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-deep);
}

.footer-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* Botão flutuante de WhatsApp */
.fab-whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 95;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffe047 0%, #f5c518 50%, #d49b0b 100%);
  border: 1.5px solid #b58000;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(13, 13, 13, 0.16);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease;
}

@media (max-width: 359px) {
  .stack-stage {
    height: 432px;
  }

  .stack-card {
    height: 360px;
    padding: 20px;
  }

  .btn-gold,
  .btn-outline {
    width: 100%;
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shiny-sweep::after {
    animation: none;
    display: none;
  }

  .intro-overlay {
    display: none;
  }

  .stack-stage {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .stack-card {
    position: relative;
    height: auto;
    min-height: 220px;
    opacity: 1;
    pointer-events: auto;
  }

  .marquee-viewport {
    overflow-x: auto;
  }
}
