/* ========================================================================
   FocoStack — style.css
   Palette: Navy #1F3A5F + Amber #D97706
   ======================================================================== */

:root {
  --navy: #1F3A5F;
  --navy-800: #16294A;
  --navy-900: #0E1B33;
  --amber: #D97706;
  --amber-600: #B45309;
  --amber-400: #F59E0B;
  --ink: #1E293B;
  --muted: #64748B;
  --surface: #F8FAFC;
  --line: #E2E8F0;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .18);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--amber);
  font-weight: 900;
  font-size: 18px;
}
.logo-text { font-size: 17px; }
.nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
}
.nav a { position: relative; transition: color .15s ease; }
.nav a:hover { color: var(--amber); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--amber);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  transition: transform .1s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(217, 119, 6, .32);
}
.btn-primary:hover {
  background: var(--amber-600);
  box-shadow: 0 10px 22px rgba(217, 119, 6, .40);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .6);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .10);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 104px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(217, 119, 6, .30), transparent 60%),
    radial-gradient(900px 500px at 90% 90%, rgba(245, 158, 11, .22), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-800) 100%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px;
  opacity: .6;
  mask: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
  -webkit-mask: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
}
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }

.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(217, 119, 6, .14);
  color: var(--amber-400);
  border: 1px solid rgba(217, 119, 6, .45);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.badge-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #FFFFFF 60%, #F59E0B 180%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255, 255, 255, .82);
  max-width: 620px;
  margin: 0 auto 36px;
  text-wrap: balance;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--amber-400);
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============ SECTIONS ============ */
.section {
  padding: 96px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.section.in-view { opacity: 1; transform: translateY(0); }

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  margin: 0 auto 16px;
  max-width: 760px;
  text-wrap: balance;
}
.section-lead {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
  color: var(--muted);
  font-size: 17px;
}

/* ============ SOBRE ============ */
.sobre { background: var(--white); }
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card-feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.icon-wrap {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(217, 119, 6, .12);
  color: var(--amber);
  margin-bottom: 20px;
}
.card-feature h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.card-feature p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ============ PRODUTOS ============ */
.produtos { background: var(--surface); }
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 880px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.popular {
  border: 2px solid var(--amber);
  box-shadow: 0 16px 40px rgba(217, 119, 6, .18);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(217, 119, 6, .32);
}
.pricing-name {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--navy);
}
.price-currency { font-size: 18px; font-weight: 600; color: var(--muted); }
.price-value { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.price-unit { font-size: 13px; color: var(--muted); margin-left: 10px; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.pricing-features li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--amber);
  border-radius: 50%;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M20.3 5.7a1 1 0 0 1 0 1.4l-10 10a1 1 0 0 1-1.4 0l-5-5a1 1 0 1 1 1.4-1.4L9.6 15l9.3-9.3a1 1 0 0 1 1.4 0z'/></svg>") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M20.3 5.7a1 1 0 0 1 0 1.4l-10 10a1 1 0 0 1-1.4 0l-5-5a1 1 0 1 1 1.4-1.4L9.6 15l9.3-9.3a1 1 0 0 1 1.4 0z'/></svg>") center/14px no-repeat;
}
.pricing-note {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* ============ LEAD MAGNET ============ */
.lead-magnet {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.lead-magnet::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(217, 119, 6, .22), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(245, 158, 11, .18), transparent 60%);
  z-index: 0;
}
.lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lead-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead-copy p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 16.5px; }
.lead-form {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.lead-form input[type="email"] {
  background: var(--white);
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 16px;
  font-family: inherit;
  outline: 2px solid transparent;
  transition: outline-color .2s ease;
}
.lead-form input[type="email"]:focus { outline-color: var(--amber); }
.lead-form small { color: rgba(255, 255, 255, .6); text-align: center; font-size: 12.5px; }

/* ============ CANAIS ============ */
.canais { background: var(--white); }
.social-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 820px;
  margin: 0 auto;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--amber);
  color: var(--navy);
}
.social-btn svg { color: var(--amber); flex-shrink: 0; }
.social-btn strong { display: block; color: var(--navy); font-size: 16px; }
.social-btn span { color: var(--muted); font-size: 14px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .8);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand .logo-mark {
  width: 44px; height: 44px; font-size: 20px; border-radius: 12px;
}
.footer-brand strong { display: block; color: var(--white); font-size: 18px; letter-spacing: -0.01em; }
.footer-brand small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.footer-contact p { color: rgba(255, 255, 255, .55); margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.footer-contact a { color: var(--amber-400); font-weight: 600; }
.footer-contact a:hover { color: var(--white); }
.footer-links { display: grid; gap: 10px; font-size: 14px; }
.footer-links a { color: rgba(255, 255, 255, .7); transition: color .15s ease; }
.footer-links a:hover { color: var(--amber-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 0;
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  .nav { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 88px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .lead-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .logo-text { display: none; }
  .pricing-card { padding: 28px 22px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .section { opacity: 1; transform: none !important; }
}
