/* ============================================
   QUERO HQ — v2 Premium
   Aesthetic: Comic Book Pop Art + Editorial
   ============================================ */

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

:root {
  --primary: #2d2d8a;
  --primary-bright: #4040b0;
  --primary-glow: rgba(45, 45, 138, 0.4);
  --secondary: #e63946;
  --secondary-bright: #ff4d5a;
  --secondary-glow: rgba(230, 57, 70, 0.35);
  --accent: #ffd300;
  --accent-soft: #fff8cc;
  --dark: #0d0d1a;
  --dark-mid: #141428;

  --wa: #22c55e;
  --wa-hover: #16a34a;
  --wa-glow: rgba(34, 197, 94, 0.35);
  --tg: #229ed9;
  --tg-hover: #1a8ac0;
  --tg-glow: rgba(34, 158, 217, 0.35);

  --white: #fafafa;
  --g50: #f2f2f6;
  --g100: #e3e3e9;
  --g200: #ccccda;
  --g400: #8888a0;
  --g600: #4a4a6a;
  --g800: #1c1c2e;
  --g900: #111118;

  --font-d: "Clash Display", "Space Grotesk", sans-serif;
  --font-b: "Space Grotesk", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  interpolate-size: allow-keywords;

  /* Neo-Comic design tokens */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-light: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.12);
  --card-radius: 12px;
  --card-radius-sm: 8px;
  --btn-radius: 10px;
  --glow-primary: 0 0 24px rgba(45, 45, 138, 0.35);
  --glow-secondary: 0 0 24px rgba(230, 57, 70, 0.35);
  --glow-accent: 0 0 24px rgba(255, 211, 0, 0.3);
  --glow-wa: 0 0 24px rgba(34, 197, 94, 0.35);
  --glow-tg: 0 0 24px rgba(34, 158, 217, 0.35);
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-b);
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--g800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grain texture overlay — comic print materiality */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-d);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

section {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  section {
    padding: 7rem 0;
  }
}

/* --- Section headers --- */
.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(45, 45, 138, 0.06);
  border: 2px solid rgba(45, 45, 138, 0.12);
  padding: 0.35rem 1rem;
  border-radius: var(--card-radius-sm);
  margin-bottom: 1rem;
}
.section-tag-light {
  color: var(--accent);
  background: rgba(255, 214, 10, 0.08);
  border-color: rgba(255, 214, 10, 0.15);
}
.section-sub {
  font-size: 1.125rem;
  color: var(--g600);
  max-width: 600px;
  margin: 0.5rem auto 0;
}
.section-header-light h2 {
  color: #fff;
}
.section-header-light .section-sub {
  color: var(--g400);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: rgba(13, 13, 26, 0.55);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s;
}
.site-header.scrolled {
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    0 2px 0 var(--secondary),
    0 4px 20px rgba(0, 0, 0, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.logo-img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.logo-img-footer {
  height: 72px;
  max-width: 220px;
  margin: 0 auto;
}

.btn-header-cta {
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--secondary);
  padding: 0.5rem 1.5rem;
  border-radius: var(--btn-radius);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.35s var(--ease-out);
}
.site-header.scrolled .btn-header-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.btn-header-cta:hover {
  background: var(--secondary-bright);
  box-shadow: var(--glow-secondary);
  transform: scale(1.03);
}

/* ============================================
   BUTTONS — Neo-Comic
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  min-height: 56px;
  text-align: center;
  line-height: 1.3;
  transition:
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s ease;
  position: relative;
}
.btn:hover {
  transform: scale(1.03);
}
.btn:active {
  transform: scale(0.98);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
}
.btn-whatsapp:hover {
  box-shadow: var(--glow-wa);
}
.btn-telegram {
  background: var(--tg);
  color: #fff;
}
.btn-telegram:hover {
  box-shadow: var(--glow-tg);
}
.btn-lg {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
  min-height: 64px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(5rem + 52px);
  padding-bottom: 6rem;
  background: var(--dark);
  overflow: hidden;
}
@supports not (min-height: 100svh) {
  .hero {
    min-height: 100vh;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 60% at 85% 15%,
      rgba(255, 211, 0, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 50% at 10% 80%,
      rgba(230, 57, 70, 0.08) 0%,
      transparent 60%
    );
}

/* Halftone Ben-Day dots */
.halftone-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(45, 45, 138, 0.07) 2px,
    transparent 2px
  );
  background-size: 28px 28px;
  animation: halftoneShift 30s linear infinite;
}
@keyframes halftoneShift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 28px 28px;
  }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}
.hero-glow-blue {
  top: 15%;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(45, 45, 138, 0.2) 0%,
    transparent 60%
  );
  animation: glowPulse 7s ease-in-out infinite;
}
.hero-glow-red {
  bottom: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(230, 57, 70, 0.1) 0%,
    transparent 60%
  );
  animation: glowPulse 9s ease-in-out infinite 3s;
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Ben-Day dots — classic comic print texture */
.hero-benday {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 65%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 2.5px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: 0.06;
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 20%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 20%,
    transparent 70%
  );
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-benday {
    background-size: 24px 24px;
    background: radial-gradient(circle, var(--accent) 3.5px, transparent 3.5px);
    background-size: 24px 24px;
    opacity: 0.07;
  }
}

/* Dot pattern overlay — hidden (grain texture handles this globally) */
.hero-dots {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

.badge {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(255, 214, 10, 0.08);
  border: 2px solid rgba(255, 214, 10, 0.15);
  padding: 0.5rem 1rem;
  border-radius: var(--card-radius-sm);
  margin-bottom: 1.5rem;
}

/* Hero H1 — Clash Display editorial */
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero-line {
  display: block;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-accent em {
  font-style: normal;
  color: var(--secondary);
  text-shadow: 0 0 40px var(--secondary-glow);
}
@media (min-width: 768px) {
  .hero-line {
    font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  }
}
@media (min-width: 1024px) {
  .hero-line {
    font-size: clamp(3.25rem, 5.25vw, 5.25rem);
  }
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--g400);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.25rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    gap: 1rem;
  }
}

/* Avatar stack */
.social-proof-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.avatar-stack {
  display: flex;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--dark);
  margin-right: -10px;
}
.av-1 {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  z-index: 5;
}
.av-2 {
  background: linear-gradient(135deg, var(--secondary), #f97316);
  z-index: 4;
}
.av-3 {
  background: linear-gradient(135deg, var(--wa), #0ea5e9);
  z-index: 3;
}
.av-4 {
  background: linear-gradient(135deg, var(--accent), #fb923c);
  z-index: 2;
}
.av-5 {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  z-index: 1;
}
.avatar:last-child {
  margin-right: 0;
}
.social-proof-mini p {
  font-size: 0.875rem;
  color: var(--g400);
}
.social-proof-mini strong {
  color: #fff;
}

/* Comic stack (hero visual) */
.hero-visual {
  display: none;
  position: relative;
}
@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
    justify-content: center;
  }
}

.comic-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 320px;
}

.comic-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 1.25rem 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateX(30px);
  animation: cardIn 0.6s var(--ease-out) forwards;
}
.cc-1 {
  animation-delay: 0.5s;
  border-left: 3px solid var(--primary);
}
.cc-2 {
  animation-delay: 1s;
  border-left: 3px solid var(--accent);
}
.cc-3 {
  animation-delay: 1.5s;
  border-left: 3px solid var(--secondary);
}

.comic-card:hover {
  background: var(--glass-bg-light);
  box-shadow: var(--glow-primary);
  transform: translateX(0) translateY(-3px);
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.comic-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--dark);
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.badge-pre {
  background: var(--tg);
  color: #fff;
}
.comic-card-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}
.comic-card-price {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 700;
}
.comic-card-price span {
  color: var(--g600);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 0.5rem;
}

/* Hero diagonal cut */
.hero-cut {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}

/* ============================================
   CONTEXT
   ============================================ */
.context {
  background: var(--white);
  position: relative;
}
.context::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.context-content {
  max-width: 720px;
  margin: 0 auto;
}
.context h2 {
  font-size: 1.875rem;
  color: var(--g800);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .context h2 {
    font-size: 2.25rem;
  }
}
.context p {
  font-size: 1.125rem;
  color: var(--g600);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.context-highlight {
  color: var(--g800);
  font-weight: 600;
  padding-left: 1.25rem;
  border-left: 4px solid var(--secondary);
}

/* ============================================
   WHAT IS — Comic Panel Cards
   ============================================ */
.what-is {
  background: var(--g50);
  position: relative;
  overflow: hidden;
}
.what-is::after {
  display: none;
}
.what-is .container {
  position: relative;
  z-index: 1;
}
.what-is h2 {
  font-size: 1.875rem;
  color: var(--g800);
}
@media (min-width: 768px) {
  .what-is h2 {
    font-size: 2.5rem;
  }
}

.what-is-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .what-is-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Glass panel cards */
.panel-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--primary);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.panel-card:nth-child(2) {
  border-top-color: var(--secondary);
}
.panel-card:nth-child(3) {
  border-top-color: var(--accent);
}
.panel-card:nth-child(4) {
  border-top-color: var(--tg);
}
.panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.panel-card:nth-child(2):hover {
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.08);
}
.panel-card:nth-child(3):hover {
  box-shadow: 0 12px 32px rgba(255, 211, 0, 0.1);
}
.panel-card:nth-child(4):hover {
  box-shadow: 0 12px 32px rgba(34, 158, 217, 0.1);
}

.panel-card-inner {
  padding: 1.75rem;
}
.panel-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: var(--card-radius-sm);
  margin-bottom: 1rem;
  background: var(--primary);
}
.panel-card:nth-child(2) .panel-card-icon {
  background: var(--secondary);
}
.panel-card:nth-child(3) .panel-card-icon {
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: var(--dark);
}
.panel-card:nth-child(4) .panel-card-icon {
  background: var(--tg);
}

.panel-card h3 {
  font-size: 1.125rem;
  color: var(--g800);
  margin-bottom: 0.5rem;
}
.panel-card p {
  font-size: 0.9375rem;
  color: var(--g600);
  line-height: 1.6;
}

.what-is-not {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(230, 57, 70, 0.04);
  border: 2px dashed rgba(230, 57, 70, 0.2);
  border-radius: var(--card-radius-sm);
}
.what-is-not p {
  font-size: 1rem;
  color: var(--g600);
  line-height: 1.6;
}
.what-is-not strong {
  color: var(--secondary);
}

/* ============================================
   CTA BLOCKS
   ============================================ */
.cta-block {
  padding: 4rem 0;
  position: relative;
}
.cta-block-accent {
  background: var(--dark);
  border-top: 4px solid var(--secondary);
  border-bottom: 4px solid var(--primary);
}
.cta-block-dark {
  background: var(--dark-mid);
}
.cta-block:not(.cta-block-accent):not(.cta-block-dark) {
  background: var(--g50);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-lead {
  font-family: var(--font-b);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.cta-block-accent .cta-lead,
.cta-block-dark .cta-lead {
  color: var(--g400);
}
.cta-block-accent .cta-micro,
.cta-block-dark .cta-micro {
  color: var(--g600);
}
@media (min-width: 768px) {
  .cta-lead {
    font-size: 1.5rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}
.cta-micro {
  font-size: 0.875rem;
  color: var(--g600);
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
  background: var(--white);
}
.benefits h2 {
  font-size: 1.875rem;
  color: var(--g800);
}
@media (min-width: 768px) {
  .benefits h2 {
    font-size: 2.5rem;
  }
}

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

.benefit-card {
  padding: 2rem;
  border-radius: var(--card-radius);
  background: var(--g50);
  border: 1px solid var(--g100);
  border-top: 3px solid var(--primary);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.benefit-card:nth-child(2) {
  border-top-color: var(--secondary);
}
.benefit-card:nth-child(3) {
  border-top-color: var(--accent);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(45, 45, 138, 0.08);
}
.benefit-card:nth-child(2):hover {
  box-shadow: var(--glow-secondary);
}
.benefit-card:nth-child(3):hover {
  box-shadow: var(--glow-accent);
}

.benefit-number {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 4.5rem;
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--primary);
}
.benefit-card:nth-child(2) .benefit-number {
  color: var(--secondary);
}
.benefit-card:nth-child(3) .benefit-number {
  color: var(--accent);
}

.benefit-card h3 {
  font-size: 1.125rem;
  color: var(--g800);
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.9375rem;
  color: var(--g600);
  line-height: 1.6;
}

/* ============================================
   HISTORY
   ============================================ */
.history {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.history-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.halftone-dark {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 50% at 20% 30%,
      rgba(45, 45, 138, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 60% at 80% 70%,
      rgba(230, 57, 70, 0.07) 0%,
      transparent 60%
    );
}

.history h2 {
  font-size: 1.875rem;
  color: #fff;
}
@media (min-width: 768px) {
  .history h2 {
    font-size: 2.5rem;
  }
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .history-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .history-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.history-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}
.history-card:hover {
  background: var(--glass-bg-light);
  border-color: var(--glass-border-light);
  border-left-color: var(--accent);
  box-shadow: var(--glow-primary);
  transform: translateY(-4px);
}

.history-badge {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--dark);
  background: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.badge-coupon {
  background: var(--wa);
  color: #fff;
}
.badge-pre {
  background: var(--tg);
  color: #fff;
}

/* Cover image overlay inside history-card */
.history-card:has(.history-cover-wrap) {
  padding-top: 0;
  border-left-width: 0;
  overflow: hidden;
}
.history-cover-wrap {
  position: relative;
  margin: 0 -1.5rem 1rem;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--dark-mid);
}
.history-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.history-card:hover .history-cover {
  transform: scale(1.05);
}
.history-cover-wrap .history-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  margin: 0;
  font-size: 0.875rem;
  padding: 0.3rem 0.7rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.history-card h3 {
  font-family: var(--font-d);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.history-detail {
  font-size: 0.875rem;
  color: var(--g400);
}
.history-detail strong {
  color: var(--accent);
  font-weight: 700;
}
.history-meta {
  font-size: 0.75rem;
  color: var(--g600);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--white);
}
.testimonials h2 {
  font-size: 1.875rem;
  color: var(--g800);
}
@media (min-width: 768px) {
  .testimonials h2 {
    font-size: 2.25rem;
  }
}

.testimonials-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.testimonials-grid::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
}

.testimonial-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  background: var(--g50);
  border-radius: var(--card-radius);
  border: 1px solid var(--g100);
  border-top: 3px solid var(--primary);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.testimonial-card:hover {
  box-shadow: 0 16px 32px rgba(45, 45, 138, 0.08);
  transform: translateY(-4px);
}
@media (min-width: 768px) {
  .testimonial-card {
    flex: unset;
  }
}

.testimonial-quote {
  font-family: var(--font-d);
  font-size: 5rem;
  font-weight: 700;
  color: var(--secondary);
  opacity: 0.1;
  position: absolute;
  top: 0.25rem;
  left: 0.75rem;
  line-height: 1;
}

.testimonial-card blockquote p {
  font-size: 0.9375rem;
  color: var(--g800);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.testimonial-avatar.av-1 {
  background: linear-gradient(135deg, var(--primary), #6366f1);
}
.testimonial-avatar.av-2 {
  background: linear-gradient(135deg, var(--secondary), #f97316);
}
.testimonial-avatar.av-3 {
  background: linear-gradient(135deg, var(--wa), #0ea5e9);
}
.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--g800);
}
.testimonial-card footer span {
  font-size: 0.75rem;
  color: var(--g600);
}

/* Print mockup */
.testimonial-print {
  margin-top: 3rem;
}
.print-label {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--g600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-align: center;
}
.print-mock {
  max-width: 480px;
  margin: 0 auto;
  background: #0b141a;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}
.print-msg {
  background: #1f2c33;
  border-radius: 0 12px 12px 12px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #d1d7db;
  line-height: 1.5;
}
.print-msg strong {
  color: #25d366;
  display: block;
  margin-bottom: 2px;
  font-size: 0.75rem;
}
.print-msg-user {
  background: #005c4b;
  border-radius: 12px 0 12px 12px;
  align-self: flex-end;
  max-width: 85%;
}
.print-msg-user strong {
  color: #96ceb8;
}
.print-link {
  color: #53bdeb;
  font-size: 0.75rem;
}
.print-reactions {
  font-size: 0.75rem;
  color: var(--g400);
  padding: 0.25rem 0.5rem;
}
.print-caption {
  font-size: 0.875rem;
  color: var(--g600);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* ============================================
   WHY FREE
   ============================================ */
.why-free {
  background: var(--g50);
}
.why-free-content {
  max-width: 640px;
  margin: 0 auto;
}
.why-free h2 {
  font-size: 1.875rem;
  color: var(--g800);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .why-free h2 {
    font-size: 2.25rem;
  }
}
.why-free p {
  font-size: 1.125rem;
  color: var(--g600);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.why-free-closing {
  font-weight: 700;
  color: var(--g800) !important;
  font-family: var(--font-d);
  font-size: 1.25rem !important;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--white);
}
.how-it-works h2 {
  font-size: 1.875rem;
  color: var(--g800);
  margin-bottom: 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .how-it-works h2 {
    font-size: 2.25rem;
  }
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
}

.step {
  text-align: center;
  max-width: 240px;
}
.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  background: var(--primary);
  border-radius: var(--card-radius);
  margin: 0 auto 1rem;
  box-shadow: 0 0 0 3px rgba(45, 45, 138, 0.15);
  transition: box-shadow 0.3s;
}
.step:hover .step-number {
  box-shadow: var(--glow-primary);
}
.step h3 {
  font-size: 1.125rem;
  color: var(--g800);
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--g600);
}

.step-connector {
  width: 4px;
  height: 40px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), transparent);
}
@media (min-width: 768px) {
  .step-connector {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
  }
}

.steps-note {
  text-align: center;
  font-family: var(--font-d);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--g600);
  margin-top: 2.5rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--g50);
}
.faq h2 {
  font-size: 1.875rem;
  color: var(--g800);
}
@media (min-width: 768px) {
  .faq h2 {
    font-size: 2.25rem;
  }
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--g100);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--g800);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-b);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 45, 138, 0.06);
  border-radius: 6px;
  transition:
    transform 0.3s var(--ease-out),
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-item summary:hover {
  color: var(--primary);
}
.faq-answer {
  padding-bottom: 1.5rem;
}
.faq-answer p {
  font-size: 1rem;
  color: var(--g600);
  line-height: 1.7;
}

.faq-item::details-content {
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transition:
    block-size 0.35s var(--ease-out),
    opacity 0.25s var(--ease-out) 0.05s,
    content-visibility 0.35s allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(45, 45, 138, 0.15) 0%,
    rgba(230, 57, 70, 0.08) 40%,
    transparent 70%
  );
  animation: glowPulse 6s ease-in-out infinite;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .cta-final h2 {
    font-size: 2rem;
  }
}
.cta-final-sub {
  font-size: 1.125rem;
  color: var(--g400);
  margin-bottom: 2.5rem;
}
.cta-final .cta-buttons {
  margin-bottom: 1.5rem;
}
.cta-final-micro {
  font-size: 0.875rem;
  color: var(--g600);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #080810;
  padding: 3rem 0 2rem;
}
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(2rem + 88px + env(safe-area-inset-bottom));
  }
}
.footer-inner {
  text-align: center;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-mission {
  font-size: 0.875rem;
  color: var(--g600);
  max-width: 400px;
  margin: 0 auto 1.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--g400);
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--secondary);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--g600);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* <details> com transform vira containing block e quebra a animacao
   nativa de ::details-content. Mantemos so o fade por opacity nos FAQ. */
.faq-item.fade-up,
.faq-item.fade-up.visible {
  transform: none;
}
.stagger > .fade-up:nth-child(1) {
  transition-delay: 0s;
}
.stagger > .fade-up:nth-child(2) {
  transition-delay: 0.08s;
}
.stagger > .fade-up:nth-child(3) {
  transition-delay: 0.16s;
}
.stagger > .fade-up:nth-child(4) {
  transition-delay: 0.24s;
}
.stagger > .fade-up:nth-child(5) {
  transition-delay: 0.32s;
}
.stagger > .fade-up:nth-child(6) {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .faq-item::details-content {
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  justify-content: center;
}
.sticky-cta.visible {
  transform: translateY(0);
}
.btn-sticky {
  width: 100%;
  max-width: 480px;
  font-size: 0.9375rem;
  min-height: 50px;
  padding: 0.75rem 1.5rem;
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}
