/* LAPI Website — Modern Design System */

:root {
  --bg: #0a0d06;
  --bg-alt: #0f1209;
  --bg-card: #121610;
  --bg-elev: #161b12;
  --fg: #f5f8f2;
  --fg-muted: #a8b8a0;
  --fg-dim: #7a8a72;
  --primary: #6d8e3d;
  --primary-dark: #4d6629;
  --primary-light: #8ba861;
  --accent: #9bc76d;
  --border: #1f2818;
  --border-light: #2a3620;
  --success: #6bbf4e;
  --gradient-primary: linear-gradient(135deg, #8ba861 0%, #6d8e3d 50%, #4d6629 100%);
  --gradient-text: linear-gradient(135deg, #9bc76d 0%, #6d8e3d 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(109, 142, 61, 0.18) 0%, transparent 70%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 60px rgba(109, 142, 61, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--primary); color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 12px 16px;
  background: var(--primary); color: #fff; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--radius-sm); }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }

/* Gradient text */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0;
  transition: background-color 200ms ease, backdrop-filter 200ms ease, box-shadow 200ms ease;
}
.navbar.scrolled {
  background: rgba(10, 13, 6, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 5px; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--fg-muted); font-size: 15px; font-weight: 500;
  transition: color 150ms ease, background 150ms ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--fg); background: var(--bg-card); }

.nav-lang {
  border: 1px solid var(--border-light);
  font-size: 13px !important; font-weight: 700 !important;
  letter-spacing: 0.05em;
}

.btn-nav {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--fg);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 24px 24px;
    background: rgba(10, 13, 6, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 250ms ease;
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a { padding: 14px 12px; font-size: 16px; border-radius: var(--radius-sm); }
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary); color: #fff;
  box-shadow: 0 6px 24px rgba(109, 142, 61, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(109, 142, 61, 0.5); }

.btn-secondary {
  background: var(--bg-card); color: var(--fg); border: 1px solid var(--border-light);
}
.btn-secondary:hover { background: var(--bg-elev); border-color: var(--primary); }

.btn-outline {
  background: transparent; color: var(--fg); border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--primary); background: var(--bg-card); }

.btn-ghost {
  background: transparent; color: var(--fg-muted); padding: 14px 16px;
}
.btn-ghost:hover { color: var(--fg); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-sm);
}

/* ===== Section header ===== */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 14px; margin-bottom: 16px;
  background: rgba(109, 142, 61, 0.12); color: var(--accent);
  border: 1px solid rgba(109, 142, 61, 0.25);
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(28px, 4.5vw, 48px); line-height: 1.15; letter-spacing: -0.02em;
  font-weight: 800; margin-bottom: 16px;
}
.section-header p { color: var(--fg-muted); font-size: clamp(15px, 1.6vw, 17px); }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 140px 0 80px;
  background: radial-gradient(ellipse at 50% -20%, rgba(109, 142, 61, 0.18), transparent 60%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(155, 199, 109, 0.08), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(109, 142, 61, 0.08), transparent 40%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  position: relative;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-block; padding: 7px 14px; margin-bottom: 24px;
  background: rgba(109, 142, 61, 0.12);
  border: 1px solid rgba(109, 142, 61, 0.3);
  border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent);
}
.hero-content h1 {
  font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 800; margin-bottom: 20px;
}
.hero-subtitle {
  color: var(--fg-muted); font-size: clamp(16px, 2vw, 19px);
  margin-bottom: 32px; max-width: 520px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats span { color: var(--fg-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }

.hero-image { position: relative; display: flex; justify-content: center; }
.hero-image img {
  position: relative; z-index: 2;
  max-height: 640px; width: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}
.phone-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(109, 142, 61, 0.4) 0%, transparent 60%);
  filter: blur(60px);
}

@media (max-width: 960px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-image img { max-height: 520px; }
}

/* ===== Features ===== */
.features { padding: 100px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.feature-card {
  position: relative;
  display: block;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
a.feature-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 142, 61, 0.4);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(109, 142, 61, 0.12);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--fg-muted); font-size: 15px; }
.feature-pro {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px; font-size: 11px; font-weight: 700;
  background: var(--gradient-primary); color: #fff;
  border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ===== Demo ===== */
.demo { padding: 100px 0; background: var(--bg-alt); }
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.6fr;
  gap: 24px;
  align-items: end;
}
.demo-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.demo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.demo-item img { border-radius: var(--radius-md); margin: 0 auto 12px; }
.demo-item figcaption {
  color: var(--fg-muted); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-item img { max-height: 460px; width: auto; }
}

/* ===== Mais features ===== */
.more-features { padding: 100px 0; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mini-card {
  display: block;
  padding: 24px 22px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  color: inherit; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
a.mini-card:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--bg-card-hover, var(--bg-card)); }
.mini-card h4 { font-size: 16px; margin-bottom: 6px; color: var(--accent); }
.mini-card p { color: var(--fg-muted); font-size: 14px; }

/* ===== Pricing ===== */
.pricing { padding: 100px 0; background: var(--bg-alt); }
.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 auto 32px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.billing-toggle-wrap { text-align: center; }
.billing-toggle button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; color: var(--fg-muted);
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--gradient-primary); color: #fff;
}
.billing-save {
  display: inline-block; margin-left: 6px;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(109, 142, 61, 0.15); color: var(--accent);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.billing-toggle button[aria-pressed="true"] .billing-save {
  background: rgba(255,255,255,0.2); color: #fff;
}
[data-billing="monthly"] .price-annual,
[data-billing="annual"] .price-monthly { display: none; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px; margin: 0 auto;
  gap: 20px;
}
/* Carousel layout (4+ planos) */
.pricing-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-carousel .pricing-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 18px 4px 8px;
}
.pricing-carousel .pricing-track::-webkit-scrollbar { display: none; }
.pricing-carousel .pricing-card {
  scroll-snap-align: start;
  min-width: 0;
}
.pricing-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: inherit;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color .15s ease, border-color .15s ease, opacity .2s ease;
}
.pricing-nav:hover { background: rgba(109,142,61,0.12); border-color: rgba(109,142,61,0.4); }
.pricing-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.pricing-nav.prev { left: -22px; }
.pricing-nav.next { right: -22px; }
.pricing-nav svg { width: 20px; height: 20px; }
.pricing-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 18px;
}
.pricing-dots button {
  width: 8px; height: 8px; padding: 0;
  border-radius: 50%;
  background: var(--border);
  border: 0; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.pricing-dots button[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.3);
}
@media (max-width: 1024px) {
  .pricing-carousel .pricing-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .pricing-nav.prev { left: 4px; }
  .pricing-nav.next { right: 4px; }
}
@media (max-width: 720px) {
  .pricing-carousel .pricing-track { grid-auto-columns: 88%; }
  .pricing-nav { display: none; }
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: rgba(109, 142, 61, 0.5);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(109, 142, 61, 0.06) 100%);
  box-shadow: var(--shadow-glow);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; background: var(--gradient-primary); color: #fff;
  border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-size: 24px; margin-bottom: 4px; }
.pricing-tag { color: var(--fg-muted); font-size: 14px; margin-bottom: 16px; }
.pricing-value {
  display: flex; align-items: baseline; gap: 4px;
  font-weight: 800; letter-spacing: -0.03em;
}
.pricing-value .currency { font-size: 18px; color: var(--fg-muted); }
.pricing-value .amount { font-size: 48px; }
.pricing-value .period { font-size: 15px; color: var(--fg-muted); font-weight: 500; }
.pricing-yearly { color: var(--fg-muted); font-size: 14px; margin-top: 8px; }
.pricing-yearly strong { color: var(--accent); }

.pricing-features { flex: 1; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  position: relative; padding-left: 26px; color: var(--fg);
  font-size: 14px;
}
.pricing-features li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.pricing-features li.off { color: var(--fg-dim); }
.pricing-features li.off::before {
  background: var(--fg-dim);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") center/contain no-repeat;
}

/* ===== Platforms ===== */
.platforms { padding: 100px 0; }
.platforms-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
  max-width: 1080px; margin: 0 auto;
}
.platform-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 28px 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--primary); background: var(--bg-elev); }
.platform-card .platform-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px; color: var(--primary);
  background: rgba(178, 220, 89, 0.10);
  border: 1px solid rgba(178, 220, 89, 0.25);
  border-radius: 14px;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.platform-card:hover .platform-icon { background: rgba(178, 220, 89, 0.18); transform: scale(1.05); }
.platform-card .platform-icon svg { width: 26px; height: 26px; }
.platform-card strong { font-size: 16px; }
.platform-card span { font-size: 13px; color: var(--fg-muted); }

/* ===== Security ===== */
.security { padding: 100px 0; background: var(--bg-alt); }
.security-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.security-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.sec-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(109, 142, 61, 0.12); color: var(--accent);
  margin-bottom: 16px;
}
.security-card h3 { font-size: 17px; margin-bottom: 6px; }
.security-card p { color: var(--fg-muted); font-size: 14px; }

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.testimonial {
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stars { color: #f5c518; font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote {
  font-size: 16px; line-height: 1.5; margin-bottom: 16px; color: var(--fg);
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial figcaption strong { font-size: 14px; }
.testimonial figcaption span { color: var(--fg-muted); font-size: 13px; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--bg-alt); }
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color 150ms ease;
}
.faq-list details[open] { border-color: rgba(109, 142, 61, 0.4); }
.faq-list summary {
  font-weight: 600; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-size: 22px; color: var(--accent); font-weight: 400;
  transition: transform 200ms ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin-top: 12px; color: var(--fg-muted); font-size: 15px; line-height: 1.6;
}
.faq-list details p a { color: var(--accent); text-decoration: underline; }

/* ===== CTA ===== */
.cta { padding: 100px 0; }
.cta-card {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, rgba(109, 142, 61, 0.15) 0%, rgba(109, 142, 61, 0.05) 100%);
  border: 1px solid rgba(109, 142, 61, 0.3);
  border-radius: var(--radius-xl);
  max-width: 880px; margin: 0 auto;
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-card p { color: var(--fg-muted); font-size: 17px; margin-bottom: 28px; max-width: 540px; margin-inline: auto; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { width: 44px; height: 44px; margin-bottom: 16px; }
.footer-brand p { color: var(--fg-muted); font-size: 14px; max-width: 320px; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: color 150ms ease, border-color 150ms ease;
}
.social-links a:hover { color: var(--accent); border-color: var(--primary); }

.footer-links h4 { font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-dim); }
.footer-links a { display: block; padding: 5px 0; color: var(--fg-muted); font-size: 14px; }
.footer-links a:hover { color: var(--fg); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--fg-dim); font-size: 13px;
}
.made-in { color: var(--fg-muted); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== Blog ===== */
.blog-hero { padding: 140px 0 40px; text-align: center; }
.blog-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.blog-hero p { color: var(--fg-muted); font-size: 17px; max-width: 600px; margin: 0 auto; }
.blog-empty {
  max-width: 600px; margin: 40px auto 100px;
  padding: 40px 24px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.blog-empty h2 { font-size: 22px; margin-bottom: 8px; color: var(--accent); }
.blog-empty p { color: var(--fg-muted); }

/* ===== Calculadoras / Calculators ===== */
.calc-hero { padding: 120px 0 40px; background: radial-gradient(60% 80% at 50% 0%, rgba(154,193,93,0.10), transparent 60%); }
.calc-hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 16px; }
.calc-hero p.lead { color: var(--fg-muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 720px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--fg-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--fg-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb span { opacity: 0.5; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 32px 0 80px; }
.calc-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card); text-decoration: none; color: var(--fg); transition: all .2s ease; }
.calc-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.calc-card .calc-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(154,193,93,0.12); color: var(--primary); margin-bottom: 14px; }
.calc-card h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
.calc-card p { color: var(--fg-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; margin: 24px 0 60px; }
@media (max-width: 880px) { .calc-layout { grid-template-columns: 1fr; } }
.calc-card-form, .calc-card-result { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card); }
.calc-card-form h2, .calc-card-result h2 { font-size: 20px; margin: 0 0 18px; letter-spacing: -0.01em; }
.calc-form { display: grid; gap: 14px; }
.calc-form label { display: grid; gap: 6px; font-size: 14px; color: var(--fg-muted); font-weight: 500; }
.calc-form input, .calc-form select { padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--fg); font-size: 15px; font-family: inherit; }
.calc-form input:focus, .calc-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(154,193,93,0.18); }
.calc-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-form button { margin-top: 6px; padding: 14px; background: var(--primary); color: #0a0d06; border: 0; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s ease; }
.calc-form button:hover { transform: translateY(-1px); }
.result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.result-row:last-child { border-bottom: 0; }
.result-row span:first-child { color: var(--fg-muted); font-size: 14px; }
.result-row strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.result-highlight { margin-top: 16px; padding: 18px; background: rgba(154,193,93,0.10); border: 1px solid rgba(154,193,93,0.25); border-radius: 12px; }
.result-highlight span { font-size: 13px; color: var(--fg-muted); display: block; margin-bottom: 4px; }
.result-highlight strong { font-size: 28px; color: var(--primary); font-variant-numeric: tabular-nums; }
.calc-explain { padding: 60px 0; border-top: 1px solid var(--border); }
.calc-explain h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; margin: 0 0 16px; }
.calc-explain h3 { font-size: 18px; margin: 28px 0 10px; }
.calc-explain p, .calc-explain li { color: var(--fg-muted); line-height: 1.7; font-size: 15px; }
.calc-explain ul { padding-left: 22px; }
.calc-cta { padding: 60px 0; text-align: center; }
.calc-related { padding: 40px 0 80px; }
.calc-related h2 { font-size: 22px; margin-bottom: 20px; }
.calc-table-wrap { overflow-x: auto; margin: 16px 0; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--border); }
.calc-table th { font-weight: 600; color: var(--fg-muted); text-align: right; }
.calc-table th:first-child, .calc-table td:first-child { text-align: left; }
