/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --onix:       #FAFAF8;
  --grafite:    #F0EDE6;
  --gold:       #8A6A1F;
  --gold-light: #B08930;
  --ivory:      #1A1A1D;
  --muted:      #6B6770;
  --jade:       #2A8A5E;
  --border:     rgba(138, 106, 31, 0.14);
  --border-hover: rgba(138, 106, 31, 0.38);

  --ff-display: 'Fraunces', serif;
  --ff-body:    'Inter', sans-serif;
  --ff-num:     'Space Grotesk', sans-serif;

  --radius:     16px;
  --transition: 0.3s ease;

  --max-w: 1180px;
  --px:    clamp(1rem, 5vw, 2rem);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--onix);
  color: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
.text-center { text-align: center; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--ff-display);
  line-height: 1.15;
  font-weight: 900;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--ff-body);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--ff-body);
  white-space: nowrap;
}
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--gold);
  color: #FAFAF8;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(138, 106, 31, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(26, 26, 29, 0.18);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(138, 106, 31, 0.07);
  border-color: var(--gold);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.1rem;
}
.logo {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--ivory);
  flex-shrink: 0;
}
.logo span { color: var(--gold); }

.nav {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}
.nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.nav a:hover { color: var(--ivory); }

.header .btn-primary { margin-left: 1rem; flex-shrink: 0; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(138, 106, 31, 0.08), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 4rem;
}
.hero-content { max-width: 580px; }
.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--ivory);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-badges i { color: var(--jade); font-size: 1rem; }

/* SVG animation */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wave-anim {
  width: min(420px, 100%);
  overflow: visible;
}
.ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
}
.r1 { opacity: 0.55; animation: pulse 2.5s ease-in-out infinite; }
.r2 { opacity: 0.35; animation: pulse 2.5s ease-in-out 0.4s infinite; }
.r3 { opacity: 0.2;  animation: pulse 2.5s ease-in-out 0.8s infinite; }
.r4 { opacity: 0.1;  animation: pulse 2.5s ease-in-out 1.2s infinite; }
.dot      { fill: var(--gold); opacity: 0.9; }
.dot-inner{ fill: var(--onix); }

@keyframes pulse {
  0%, 100% { opacity: var(--base-op, 0.3); transform-origin: center; transform: scale(1); }
  50%       { opacity: calc(var(--base-op, 0.3) * 1.6); transform: scale(1.04); }
}
.r1 { --base-op: 0.55; }
.r2 { --base-op: 0.35; }
.r3 { --base-op: 0.2; }
.r4 { --base-op: 0.1; }

/* ============================================================
   CREDIBILITY BAR
   ============================================================ */
.credbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 1.4rem;
  background: var(--grafite);
}
.credbar-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.credbar-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ivory);
}
.credbar-items .sep { color: var(--gold); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-dark { background: var(--grafite); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* ============================================================
   CARDS (BENEFÍCIOS)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--grafite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(138, 106, 31, 0.09);
}
.card-icon {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; color: var(--ivory); }
.card p  { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.step { text-align: center; padding: 0 1rem; }
.step-num {
  font-family: var(--ff-num);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-line {
  width: 2px;
  height: 2px;
  margin: 0.75rem auto 1.25rem;
  background: var(--gold);
  opacity: 0.3;
}
.step h3 { margin-bottom: 0.75rem; color: var(--ivory); }
.step p  { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-family: var(--ff-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.tab.active, .tab:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(138, 106, 31, 0.07);
}

/* ============================================================
   PLANS
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 2rem;
}
.plan-card {
  background: var(--grafite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.plan-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.plan-featured {
  border-color: var(--gold);
  background: linear-gradient(145deg, #f5efe0, var(--grafite));
  box-shadow: 0 0 40px rgba(138, 106, 31, 0.1);
}
.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #FAFAF8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.plan-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.plan-name  { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 900; margin-bottom: 0.75rem; }
.plan-price {
  font-family: var(--ff-num);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.currency { font-size: 1.2rem; vertical-align: super; margin-right: 2px; }
.plan-period { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }
.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ivory);
}
.plan-features i { color: var(--jade); flex-shrink: 0; font-size: 1rem; }

.plans-custom {
  text-align: center;
  padding: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.plans-custom p { color: var(--muted); margin-bottom: 0.5rem; font-size: 0.92rem; }
.link-gold {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}
.link-gold:hover { gap: 0.6rem; }

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.payment-badges span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.payment-badges i { color: var(--gold); }

/* ============================================================
   METRICS
   ============================================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.metric-num {
  font-family: var(--ff-num);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  display: inline;
}
.metric-plus {
  font-family: var(--ff-num);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
}
.metric p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testimonial {
  background: var(--grafite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition);
}
.testimonial:hover { border-color: var(--border-hover); }
.testimonial p {
  color: var(--ivory);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #FAFAF8;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--ivory); }
.testimonial-author span  { font-size: 0.78rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }
.faq-answer p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(138, 106, 31, 0.07), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-final h2 {
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.cta-final p {
  color: var(--muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.cta-micro { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--grafite);
  border-top: 1px solid var(--border);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-block: 0.75rem 1rem;
  max-width: 220px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.1rem;
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--ivory); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.footer-disclaimer { font-size: 0.72rem !important; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 99;
  background: #25D366;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}
.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .wave-anim { width: min(280px, 70vw); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(250, 250, 248, 0.97);
    backdrop-filter: blur(16px);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav.open a { font-size: 1.4rem; color: var(--ivory); }
  .menu-toggle { display: block; }
  .header .btn-primary { display: none; }

  .footer-grid { grid-template-columns: 1fr; }

  .credbar-items .sep { display: none; }

  .plans-grid { grid-template-columns: 1fr; }
}
