/* ============================================================
   COMPREI BARATO FC — style.css
   Mobile-first · CSS3 puro · Sem frameworks externos
   ============================================================ */

/* ── TOKENS & RESET ─────────────────────────────────────── */
:root {
  --bg:          #0B0F19;
  --bg-card:     #131927;
  --bg-card-2:   #0F1420;
  --green:       #25D366;
  --green-dark:  #1aad52;
  --green-glow:  rgba(37, 211, 102, 0.18);
  --orange:      #FF8A00;
  --orange-glow: rgba(255, 138, 0, 0.15);
  --white:       #FFFFFF;
  --gray:        #8A93A8;
  --gray-light:  #B0B8CC;
  --border:      rgba(255,255,255,0.07);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-green: 0 0 40px rgba(37, 211, 102, 0.25), 0 4px 24px rgba(0,0,0,0.5);
  --shadow-card:  0 2px 20px rgba(0,0,0,0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol { list-style: none; }

/* ── UTILITY ──────────────────────────────────────────────── */
.section-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  margin-top: 0.6rem;
  color: var(--gray);
  font-size: 1rem;
}

/* ── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-icon { font-size: 1.2rem; }

.nav-logo strong { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: #000;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: transform 0.2s var(--ease-back), box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1.25rem 3rem;
  text-align: center;
  overflow: hidden;
}

/* Glow de fundo */
.hero-bg-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 120vw);
  height: min(700px, 120vw);
  background: radial-gradient(ellipse at center,
    rgba(37, 211, 102, 0.12) 0%,
    rgba(255, 138, 0, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

/* Textura de ruído sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 620px;
}

/* ── BOTÕES CTA ───────────────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  animation: fadeUp 0.5s 0.1s var(--ease-out) both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* H1 */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  animation: fadeUp 0.5s 0.15s var(--ease-out) both;
}

.hero-title-accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 2px;
  opacity: 0.7;
}

/* Subtítulo */
.hero-subtitle {
  font-size: clamp(0.92rem, 2.8vw, 1.1rem);
  color: var(--gray-light);
  max-width: 480px;
  animation: fadeUp 0.5s 0.2s var(--ease-out) both;
}

/* Lista de confiança — trust pills */
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  animation: fadeUp 0.5s 0.25s var(--ease-out) both;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.38rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
  transition: border-color 0.2s, background 0.2s;
}

.trust-list li:hover {
  border-color: rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.06);
}

.trust-pill-icon {
  font-size: 0.9rem;
  line-height: 1;
}

/* Micro-gatilho de urgência */
.cta-urgency {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* CTA wrap */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  animation: fadeUp 0.5s 0.3s var(--ease-out) both;
  width: 100%;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  animation: fadeIn 1s 1.5s both;
}

.scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--green), transparent);
  border-radius: 2px;
  animation: scrollDrop 1.6s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── BOTÕES CTA ───────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50px;
  transition:
    transform 0.25s var(--ease-back),
    box-shadow 0.25s,
    filter 0.25s;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

/* Ripple effect */
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-cta:hover::after { opacity: 1; }

.btn-cta--hero {
  background: linear-gradient(135deg, var(--green), #1dba58);
  color: #000;
  font-size: clamp(1rem, 4vw, 1.15rem);
  padding: 1.2rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-green);
  animation: ctaPulse 2.5s ease-in-out 1s infinite;
  /* Altura mínima confortável para touch no mobile */
  min-height: 58px;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: var(--shadow-green); }
  50%       { box-shadow: 0 0 60px rgba(37,211,102,0.45), 0 6px 30px rgba(0,0,0,0.5); }
}

.btn-cta--hero:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 0 60px rgba(37,211,102,0.5), 0 8px 32px rgba(0,0,0,0.5);
  animation: none;
}

.btn-cta--hero:active {
  transform: translateY(0) scale(0.98);
}

.btn-cta--final {
  background: linear-gradient(135deg, var(--green), #1dba58);
  color: #000;
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  padding: 1.2rem 2.5rem;
  box-shadow: var(--shadow-green);
  min-height: 58px;
  width: 100%;
  max-width: 420px;
}

.btn-cta--final:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 0 70px rgba(37,211,102,0.5), 0 10px 40px rgba(0,0,0,0.5);
}

/* ── BENEFÍCIOS ───────────────────────────────────────────── */
.benefits {
  padding: 5rem 0;
  position: relative;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  opacity: 0;
  transition: opacity 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), var(--shadow-card);
  border-color: rgba(37, 211, 102, 0.2);
}

.benefit-card:hover::before { opacity: 1; }

.benefit-icon {
  font-size: 2rem;
  line-height: 1;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.benefit-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ── CATEGORIAS ───────────────────────────────────────────── */
.categories {
  padding: 5rem 0;
  background: var(--bg-card-2);
  position: relative;
}

.categories::before,
.categories::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.categories::before { top: 0; }
.categories::after  { bottom: 0; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-back), box-shadow 0.25s, border-color 0.25s, background 0.25s;
  cursor: pointer;
}

/* Linha decorativa superior no hover */
.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  opacity: 0;
  transition: opacity 0.25s;
}

.cat-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(37, 211, 102, 0.08);
  background: rgba(37, 211, 102, 0.04);
}

.cat-card:hover::before { opacity: 1; }

.cat-card--highlight {
  border-color: rgba(255, 138, 0, 0.25);
  background: rgba(255, 138, 0, 0.04);
}

.cat-card--highlight::before {
  background: linear-gradient(90deg, var(--orange), #ffcc00);
}

.cat-card--highlight:hover {
  border-color: rgba(255, 138, 0, 0.5);
  background: rgba(255, 138, 0, 0.07);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(255, 138, 0, 0.1);
}

.cat-icon {
  font-size: 2.1rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.cat-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* Badge "Novo" no card de Achadinhos */
.cat-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  background: var(--orange);
  color: #000;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── CONFIANÇA ────────────────────────────────────────────── */
.trust {
  padding: 5rem 0;
  position: relative;
}

.trust-reasons {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.trust-item:hover {
  border-color: rgba(37, 211, 102, 0.2);
  transform: translateX(4px);
}

.trust-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-item strong {
  display: block;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── CTA FINAL ────────────────────────────────────────────── */
.cta-final {
  position: relative;
  padding: 5.5rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-final-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(37, 211, 102, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 138, 0, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,211,102,0.3), transparent);
}

.cta-final-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.cta-final-text {
  color: var(--gray-light);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  max-width: 480px;
}

.cta-final-note {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-card-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.footer-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.footer-logo strong { color: var(--green); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(138, 147, 168, 0.65);
  max-width: 520px;
  line-height: 1.5;
}

/* ── ANIMAÇÕES GLOBAIS ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Classe de entrada via JS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVIDADE ───────────────────────────────────────── */

/* Tablet ≥ 560px */
@media (min-width: 560px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .btn-cta--hero {
    width: auto;
    min-width: 360px;
  }

  .cat-icon { font-size: 2.4rem; }
}

/* Desktop ≥ 900px */
@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .nav-container {
    padding: 1rem 2rem;
  }

  .section-container {
    padding: 0 2rem;
  }
}

/* Large ≥ 1200px */
@media (min-width: 1200px) {
  .hero-title { font-size: 5rem; }
}

/* ── ACESSIBILIDADE ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible para teclado */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
