:root {
  --bg: #070508;
  --surface: #0A070A;
  --magenta: #C22784;
  --magenta-light: #DF56A8;
  --magenta-deep: #8C195E;
  --white: #FDFBFD;
  --text-soft: rgba(253, 251, 253, 0.84);
  --border-magenta: rgba(194, 39, 132, 0.45);
  --container-max: 1120px;
}

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

html {
  background-color: var(--bg);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg);
  color: var(--white);
  min-height: 100dvh;
  overflow-x: clip;
  padding-bottom: max(96px, calc(96px + env(safe-area-inset-bottom)));
}

body.intro-active {
  overflow: hidden;
  height: 100dvh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* =========================================================
   INTRO 100dvh (100% OPACA)
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  text-align: center;
  opacity: 1;
}

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

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 380px;
}

.intro-brand {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--magenta);
}

.intro-tagline {
  font-size: 1rem;
  color: var(--white);
}

.intro-skip {
  position: absolute;
  bottom: max(28px, calc(16px + env(safe-area-inset-bottom)));
  right: max(20px, env(safe-area-inset-right));
  min-width: 44px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 22px;
  border: 1px solid var(--magenta);
  background-color: var(--surface);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

/* =========================================================
   LOGO BOLHA
   ========================================================= */
.logo-bubble {
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--magenta);
  background-color: var(--magenta);
  flex-shrink: 0;
}

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

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

.logo-bubble--hero {
  width: 120px;
  height: 120px;
}

.logo-bubble--nav {
  width: 36px;
  height: 36px;
  border-width: 1.5px;
  display: block;
}

/* =========================================================
   NAVBAR FLUTUANTE MINIMALISTA
   ========================================================= */
.navbar-wrap {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 400;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 192px;
  max-width: 320px;
  padding: 6px 10px;
  border-radius: 24px;
  background-color: var(--surface);
  border: 1px solid var(--border-magenta);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

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

.nav-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-magenta);
  background-color: var(--surface);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-icon-btn:hover {
    transform: scale(1.04);
    border-color: var(--magenta);
  }
}

.nav-icon-btn:active {
  transform: scale(0.96);
}

/* =========================================================
   SEÇÕES, CAMADAS E RESPIRO >= 64px
   ========================================================= */
.page-main {
  position: relative;
}

.section-layer {
  position: relative;
  background-color: var(--bg);
}

.section-divider {
  padding-block: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
}

.section-divider span {
  display: block;
  width: min(82%, 680px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--magenta) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--magenta);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  color: var(--text-soft);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(96px + env(safe-area-inset-top));
  padding-bottom: 48px;
  overflow: hidden;
}

.hero-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 24%, rgba(194, 39, 132, 0.22) 0%, transparent 56%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--magenta);
  max-width: 18ch;
}

.hero-phrases {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 440px;
}

.hero-phrases li {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--white);
}

.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* =========================================================
   BOTÕES (SHINY SWEEP APENAS TRANSFORM/OPACITY)
   ========================================================= */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 20px;
  border: 1px solid var(--magenta-light);
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-deep) 100%);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  transition: transform 0.25s ease;
}

.btn-primary--compact {
  min-height: 46px;
  padding: 12px 20px;
  font-size: 0.92rem;
}

.shiny-btn::after {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: 0;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.36) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg);
  animation: shinySweep 4.2s ease-in-out infinite;
}

@keyframes shinySweep {
  0%, 58% {
    transform: translateX(-160%) skewX(-18deg);
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  100% {
    transform: translateX(340%) skewX(-18deg);
    opacity: 0;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 22px;
  border: 1px solid var(--magenta);
  background-color: var(--surface);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--magenta);
  background-color: var(--surface);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-circle:hover {
    transform: scale(1.02);
  }
}

.btn-primary:active,
.btn-outline:active,
.btn-circle:active {
  transform: scale(0.98);
}

/* =========================================================
   PILHA DE CARDS OPACOS (SEM BLUR, OPACITY 1 SEMPRE)
   ========================================================= */
.stack-section {
  padding-block: 32px;
}

.stack-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding-top: 48px;
  height: 360px;
  overflow: hidden;
  isolation: isolate;
}

.stack-card {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  height: 290px;
  padding: 24px;
  border-radius: 24px;
  background-color: var(--surface);
  border: 1px solid var(--magenta);
  opacity: 1;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  transform-origin: center top;
}

.stack-card.is-front {
  pointer-events: auto;
}

.card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 12%, rgba(194, 39, 132, 0.2) 0%, transparent 55%);
}

.stack-card-head,
.stack-card-body {
  position: relative;
  z-index: 1;
}

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

.card-counter {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--magenta);
  border: 1px solid var(--border-magenta);
  border-radius: 14px;
  padding: 6px 12px;
  background-color: var(--surface);
}

.stack-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: clamp(1.2rem, 3.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--magenta);
}

.card-text {
  font-size: 0.96rem;
  color: var(--white);
  line-height: 1.48;
}

.inline-tel {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--magenta);
  text-underline-offset: 4px;
}

/* =========================================================
   ESTEIRA DE PRODUTOS (LARGURA TOTAL, SEM CORTAR NAS BORDAS)
   ========================================================= */
.marquee-section {
  padding-block: 32px;
}

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

.marquee-viewport::before,
.marquee-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(20px, 5vw, 64px);
  z-index: 2;
  pointer-events: none;
}

.marquee-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.marquee-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding-inline: 16px;
}

.product-frame {
  flex: 0 0 auto;
  width: clamp(176px, 46vw, 240px);
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-magenta);
  background-color: var(--surface);
}

.product-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   ATENDIMENTO / CONTATO
   ========================================================= */
.contact-section {
  padding-block: 32px;
}

.contact-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 440px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.whatsapp-status {
  font-size: 0.88rem;
  color: var(--white);
  border: 1px solid var(--border-magenta);
  border-radius: 14px;
  padding: 10px 14px;
  background-color: var(--surface);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  padding-block: 32px;
}

.faq-wrap {
  max-width: 680px;
}

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

.faq-item {
  border: 1px solid var(--border-magenta);
  border-radius: 18px;
  background-color: var(--surface);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  min-height: 52px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
}

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

.faq-question svg {
  flex-shrink: 0;
  color: var(--magenta);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer {
  padding-top: 40px;
  padding-bottom: 24px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--magenta);
}

.footer-phone a {
  font-size: 0.95rem;
  color: var(--white);
}

.footer-social {
  margin-top: 4px;
}

/* =========================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================= */
.fab-whatsapp {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 500;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--magenta-light);
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-deep) 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.fab-whatsapp:active {
  transform: scale(0.95);
}

/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .shiny-btn::after {
    animation: none;
    display: none;
  }

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

  .stack-card {
    position: relative;
    top: auto;
    height: auto;
    min-height: 220px;
    pointer-events: auto;
    transform: none !important;
  }

  .marquee-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Ajustes finos 320px */
@media (max-width: 359px) {
  .container {
    padding-inline: 14px;
  }

  .stack-stage {
    height: 380px;
  }

  .stack-card {
    height: 310px;
    padding: 18px;
  }

  .btn-primary {
    padding-inline: 16px;
    font-size: 0.92rem;
  }
}
