/* global.css?v=1 — non-critical styles loaded non-blocking */

:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --gold-600: #ca8a04;
  --gold-500: #eab308;
  --gold-100: #fef9c3;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 0.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.12);
  --shadow-md: 0 4px 12px rgba(0,0,0,.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--slate-50); }

/* ─── TYPOGRAPHY ─── */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.section-sub {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-800); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  font-size: 1.0625rem;
}
.btn-whatsapp:hover { background: #1da851; }

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-700);
}
.btn-outline:hover { background: var(--green-100); }

/* ─── NAV ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
  line-height: 1;
}
.nav-logo span { color: var(--gold-600); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a:not(.btn) {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:not(.btn):hover { background: var(--slate-100); color: var(--green-700); }
.nav-links a:not(.btn).active { color: var(--green-700); font-weight: 600; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, #0c2340 50%, var(--green-900) 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(21,128,61,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--gold-500); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 620px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  min-width: 110px;
}
.hero-badge strong {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}
.hero-badge span { font-size: 0.8125rem; color: rgba(255,255,255,0.75); margin-top: 0.25rem; }

/* ─── CARDS ─── */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.625rem;
}
.card p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.75;
}

/* ─── PROCESS STEPS ─── */
.steps { display: grid; gap: 2rem; counter-reset: steps; }
.steps-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.step {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  counter-increment: steps;
}
.step::before {
  content: counter(steps);
  position: absolute;
  top: -0.875rem;
  right: 1.5rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.75rem;
  text-align: center;
}
.step h3 { font-size: 1.0625rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; color: var(--slate-600); line-height: 1.75; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pricing-card {
  background: var(--white);
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem 2rem;
  border: 2px solid var(--slate-200);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.pricing-card:hover { border-color: var(--green-700); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(21,128,61,0.15);
}
.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
}
.pricing-tier { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.pricing-range { font-size: 1.75rem; font-weight: 700; color: var(--green-700); margin-bottom: 0.5rem; }
.pricing-sub { font-size: 0.875rem; color: var(--slate-500); margin-bottom: 1.5rem; }
.pricing-features { text-align: right; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green-700); font-weight: 700; flex-shrink: 0; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  line-height: 1.5;
}
.faq-item summary::after { content: '+'; color: var(--green-700); font-size: 1.25rem; font-weight: 400; flex-shrink: 0; margin-right: 0.5rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--slate-700);
  font-size: 0.9375rem;
  line-height: 1.8;
  border-top: 1px solid var(--slate-100);
}
.faq-answer a { color: var(--green-700); text-decoration: underline; }

/* ─── ARTICLE GRID ─── */
.article-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.article-card {
  background: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700);
  background: var(--green-100);
  padding: 0.25rem 0.625rem;
  border-radius: 2rem;
  width: fit-content;
}
.article-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--slate-900); line-height: 1.4; }
.article-card p { font-size: 0.9rem; color: var(--slate-600); line-height: 1.7; flex: 1; }
.article-card .read-more { color: var(--green-700); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.25rem; }

/* ─── EXTERNAL LINKS ─── */
.ext-links-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ext-link-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.125rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ext-link-card:hover { border-color: var(--green-600); box-shadow: var(--shadow-sm); }
.ext-link-icon { font-size: 1.5rem; flex-shrink: 0; }
.ext-link-card h3 { font-size: 0.9375rem; font-weight: 600; color: var(--slate-900); margin-bottom: 0.25rem; }
.ext-link-card p { font-size: 0.8125rem; color: var(--slate-500); line-height: 1.5; }

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: var(--green-900);
  color: var(--white);
  padding: 2rem 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; }
.trust-item strong { font-weight: 700; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--slate-900) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FLOATING WA BUTTON ─── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1.625rem;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--slate-900);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
p.footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-top: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

/* ─── ARTICLE PAGE ─── */
.article-hero {
  background: linear-gradient(135deg, var(--slate-900), var(--green-900));
  color: var(--white);
  padding: 4rem 0;
}
.article-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: 1rem; }
.article-meta span { display: flex; align-items: center; gap: 0.375rem; }

.article-body { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem; }
.article-body h2 { font-size: 1.625rem; font-weight: 700; color: var(--slate-900); margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--green-100); }
.article-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-800); margin: 2rem 0 0.75rem; }
.article-body p { font-size: 1rem; color: var(--slate-700); line-height: 1.9; margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-body li { font-size: 1rem; color: var(--slate-700); line-height: 1.8; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--green-700); text-decoration: underline; }
.article-body a:hover { color: var(--green-800); }

.article-toc {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.article-toc p { font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; font-size: 0.9375rem; }
.article-toc ol { margin-right: 1rem; }
.article-toc li { font-size: 0.9rem; color: var(--slate-600); line-height: 1.7; list-style: decimal; }
.article-toc a { color: var(--green-700); text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }

.article-cta {
  background: var(--green-100);
  border: 1px solid var(--green-700);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}
.article-cta h3 { font-size: 1.25rem; color: var(--green-900); font-weight: 700; margin-bottom: 0.5rem; }
.article-cta p { color: var(--green-800); margin-bottom: 1.25rem; font-size: 0.9375rem; }

.related-articles { margin-top: 4rem; }
.related-articles h2 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1.5rem; }

/* ─── HIGHLIGHTS ─── */
.highlight-box {
  background: var(--gold-100);
  border-right: 4px solid var(--gold-600);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.highlight-box p { margin: 0; color: var(--slate-800); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links a:not(.btn):not([href*="wa.me"]) { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-badges { gap: 0.75rem; }
  .hero-badge { min-width: 90px; padding: 0.75rem 1rem; }
  .hero-badge strong { font-size: 1.375rem; }
  .wa-float { bottom: 1.5rem; left: 1.5rem; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .article-body { padding: 2rem 1rem; }
}
