:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1f1f2e;
  --muted: #5c5a66;
  --line: rgba(31, 31, 46, 0.08);
  --pink: #e91e8c;
  --purple: #7b4397;
  --blue: #163b68;
  --accent: linear-gradient(135deg, #e91e8c 0%, #7b4397 55%, #163b68 100%);
  --shadow: 0 18px 48px rgba(31, 31, 46, 0.08);
  --radius: 20px;
  --max: 1120px;
  --legal-max: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #fff8f0 0%, var(--bg) 42%, #e8f4ff 100%);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.container--legal {
  width: min(100% - 32px, var(--legal-max));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand__logo:not(.brand__logo--header) {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand__logo--header {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(240px, 72vw);
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: rgba(22, 59, 104, 0.06);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  padding: 48px 0 36px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  align-items: center;
}

.hero__copy {
  min-width: 0;
  max-width: 30rem;
}

.hero__text {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.6;
}

.hero-banner {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-banner--compact {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero .headline-accent {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subheadline {
  margin: 0 0 20px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 28rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-card img {
  width: min(220px, 70%);
  margin: 0 auto 16px;
  display: block;
}

.store-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
}

.store-buttons--center {
  justify-content: center;
  width: 100%;
}

/* Sem caixa extra: só a imagem oficial da loja (sem fundo #111 antigo). */
.store-buttons .store-btn {
  display: contents;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}

.store-buttons .store-btn:focus-visible img {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.store-buttons .store-btn img {
  display: block;
  height: 52px;
  width: auto;
  max-width: none !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  vertical-align: top;
}

@media (max-width: 520px) {
  .store-buttons {
    gap: 10px;
  }

  .store-buttons .store-btn img {
    height: 44px;
    width: auto;
    max-width: none !important;
  }
}

.section {
  padding: 28px 0 48px;
}

.section--showcase {
  padding-top: 12px;
}

.feature-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-inline: auto;
}

.feature-showcase__item {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(31, 31, 46, 0.05);
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-showcase__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31, 31, 46, 0.1);
}

.feature-showcase__item:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.feature-showcase__thumb {
  display: block;
  aspect-ratio: 1080 / 2119;
  overflow: hidden;
  background: #eef2f8;
}

.feature-showcase__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  vertical-align: top;
}

.feature-showcase__caption {
  display: block;
  padding: 8px 8px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.feature-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.feature-lightbox.is-open {
  display: flex;
}

.feature-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 28, 0.82);
  backdrop-filter: blur(4px);
}

.feature-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: calc(100vh - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-lightbox__figure {
  margin: 0;
  width: min(100%, 360px);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-lightbox__img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.feature-lightbox__caption {
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
}

.feature-lightbox__close,
.feature-lightbox__nav {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.feature-lightbox__close:hover,
.feature-lightbox__nav:hover,
.feature-lightbox__close:focus-visible,
.feature-lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.feature-lightbox__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 2;
}

.feature-lightbox__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

body.lightbox-open {
  overflow: hidden;
}

.section__title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 42rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(31, 31, 46, 0.04);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pink);
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.price-card--featured {
  border-color: rgba(233, 30, 140, 0.25);
  box-shadow: 0 16px 40px rgba(233, 30, 140, 0.12);
}

.price-card h3 {
  margin: 0 0 6px;
}

.price-card ul {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(22, 59, 104, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.content-panel h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.content-panel h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.content-panel p,
.content-panel li {
  color: var(--text);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

.email-link {
  font-weight: 800;
  word-break: break-all;
}

.notice {
  border-left: 4px solid var(--pink);
  padding: 12px 14px;
  background: rgba(233, 30, 140, 0.06);
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}

.legal-doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 36px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.legal-doc__title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 900;
}

.legal-doc__meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.legal-doc__section {
  margin: 24px 0 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.legal-doc__subsection {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.legal-doc p {
  margin: 0 0 12px;
}

.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 1.2rem;
}

.legal-doc li {
  margin-bottom: 6px;
}

.site-footer {
  margin-top: 48px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
}

.footer-copy {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-banner--compact {
    max-width: min(100%, 720px);
    margin-inline: auto;
  }

  .feature-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 100%;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header__inner {
    position: relative;
  }
}

@media (max-width: 520px) {
  .hero-banner--compact {
    max-width: 100%;
  }

  .feature-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 360px;
  }

  .feature-lightbox__dialog {
    width: min(100%, 340px);
  }

  .feature-lightbox__nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .brand__logo--header {
    height: 48px;
    max-width: min(200px, 68vw);
  }

  .hero {
    padding-top: 36px;
  }

  .content-panel,
  .legal-doc {
    padding: 20px 16px;
  }
}
