/* Accertive — design system (mobile-first) */
:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #0c4a6e;
  --primary-hover: #075985;
  --accent: #059669;
  --accent-soft: #d1fae5;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 120px;
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Âncoras com header sticky: evita “cortar” o título */
html {
  scroll-padding-top: calc(var(--header-h) + 18px);
}

/* Fallback: aplica margem de rolagem em qualquer seção com id */
section[id],
main [id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #0369a1);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.logo--brand {
  gap: 0.65rem;
}

.logo--brand img {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.logo--brand.logo--full img {
  width: auto;
  height: 108px;
  max-width: min(560px, 78vw);
}

.logo__name {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(12, 74, 110, 0.35);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: rgba(12, 74, 110, 0.04);
  color: var(--primary);
}

.btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}

/* Mobile menu */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin-inline: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
}

.mobile-nav a:hover {
  background: var(--bg);
  text-decoration: none;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
}

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

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr minmax(280px, 380px);
    align-items: center;
    padding: 2rem 0;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  color: #047857;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.trust-row strong {
  color: var(--text);
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.card--highlight {
  border-color: rgba(12, 74, 110, 0.2);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.card__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
}

.card__price small {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.card__list li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Grid cards */
.grid-3 {
  display: grid;
  gap: 1rem;
}

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

.grid-2 {
  display: grid;
  gap: 1rem;
}

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

.grid-4 {
  display: grid;
  gap: 1rem;
}

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

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

.feature-card {
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(12, 74, 110, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.step {
  position: relative;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 50%;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Comparison */
.compare {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 480px;
}

.compare th,
.compare td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare th {
  background: var(--bg);
  font-weight: 700;
}

.compare tr:last-child td {
  border-bottom: none;
}

.compare .yes {
  color: var(--accent);
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 1rem;
}

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

.quote {
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.quote p {
  margin: 0 0 1rem;
  font-style: italic;
}

.quote footer {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--surface);
}

.faq-item button {
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

.faq-item button::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.is-open button::after {
  content: "−";
}

.faq-panel {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* CTA band */
.cta-band {
  padding: 3rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0e7490 100%);
  color: #fff;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  max-width: 480px;
  margin-inline: auto;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.cta-band .btn--primary:hover {
  background: #f1f5f9;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 calc(2.5rem + 56px + var(--safe-bottom));
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.875rem;
}

@media (min-width: 900px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.site-footer__logo.logo--full img {
  width: auto;
  height: 88px;
  max-width: min(480px, 92vw);
}

.site-footer__tagline {
  margin: 0;
  max-width: 34ch;
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0;
}

.wa-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.wa-float a:hover {
  transform: scale(1.06);
  text-decoration: none;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hide-mobile {
  display: none !important;
}

@media (min-width: 900px) {
  .hide-mobile {
    display: inline-flex !important;
  }
}

/* Hero com foto */
.hero--real {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}

.hero--real .hero__grid {
  align-items: center;
  gap: 2rem;
}

@media (min-width: 880px) {
  .hero--real .hero__grid {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 0 0.5rem;
  }
}

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #e2e8f0;
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.stat-strip div {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-strip strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 480px) {
  .stat-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.section--compact {
  padding: 2.25rem 0;
}

.section__head--left {
  text-align: left;
  max-width: 560px;
  margin: 0 0 1.5rem;
}

.section__head--left h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

.section__head--left p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.buy-path {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .buy-path {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.buy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.buy-card__img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  display: block;
}

.buy-card__body {
  padding: 1rem 1.125rem 1.25rem;
  flex: 1;
}

.buy-card__step {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.buy-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.buy-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.quote--single {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.quote--single p {
  font-size: 1.0625rem;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.55;
}

.quote--single footer {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.split-note {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .split-note {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.note-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
}

.note-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.note-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.cta-band--soft {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-band--soft p {
  color: var(--text-muted);
}

.cta-band--soft .btn--primary {
  background: var(--primary);
  color: #fff;
}

.cta-band--soft .btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* Loja embutida (iframe) */
.embed-store {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #e2e8f0;
  min-height: 400px;
}

.embed-store iframe {
  display: block;
  width: 100%;
  min-height: min(85vh, 920px);
  height: 920px;
  border: 0;
  background: #fff;
}

@media (max-width: 640px) {
  .embed-store iframe {
    min-height: 65vh;
    height: 760px;
  }
}

.embed-store__fallback {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Removido a pedido: botão “Abrir loja em nova aba” */
.embed-store__fallback {
  display: none !important;
}

.embed-store__fallback a {
  font-weight: 600;
}

/* Galeria — fotos reais */
.photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .photo-grid__item--wide {
    grid-column: 1 / -1;
  }
}

.photo-grid__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.photo-grid__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}

.photo-grid__item--wide img {
  aspect-ratio: 21/9;
  max-height: 380px;
}

@media (max-width: 767px) {
  .photo-grid__item--wide img {
    aspect-ratio: 16/10;
    max-height: none;
  }
}

.photo-grid__item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
