:root {
  --black: #0b0b0c;
  --ink: #17171a;
  --white: #ffffff;
  --off-white: #f7f6f4;
  --red: #e5231b;
  --red-dark: #c11a13;
  --gray: #6b6b70;
  --gray-line: #e3e2df;
  --radius: 14px;
  --wrap: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--black);
}

p { margin: 0 0 1em; color: var(--gray); }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--black);
  display: inline-flex;
  align-items: baseline;
}
.logo .dot {
  color: var(--red);
  font-size: 1.2em;
  line-height: 0;
  margin: 0 .02em;
}
.logo-sm { font-size: 1.1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  opacity: .75;
  transition: opacity .15s ease;
}
.nav a:hover { opacity: 1; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost {
  border-color: var(--black);
  color: var(--black);
  background: transparent;
}
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-nav { flex-shrink: 0; }

/* Header nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-mobile-only { display: none; }

/* Hero */
.hero {
  padding: 110px 0 90px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-line);
}
.hero-inner { max-width: 880px; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.hero .lead {
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  margin: 28px 0 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: .01em;
}

/* Sections */
.section {
  padding: 96px 0;
}
.section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  max-width: 18ch;
}
.section-lead {
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 48px;
}
.section-dark {
  background: var(--black);
  border-top: 1px solid var(--gray-line);
}
.section-dark h2 { color: var(--white); }
.section-dark h3 { color: var(--white); }
.section-dark p { color: #b8b8bd; }
.section-dark .card {
  background: transparent;
  border-color: #2a2a2e;
}
.section-dark .card:hover { border-color: var(--red); }
.section-dark .card-link { color: var(--white); }
.section-dark .card-link:hover { color: var(--red); }

/* Service cards */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.card-index {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--red);
  margin-bottom: 14px;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.card p { margin: 0; font-size: .95rem; }
.card-index { text-transform: uppercase; letter-spacing: .04em; }
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--black);
}
.card-link:hover { color: var(--red); }

/* Eyebrow label (Leads, SWAS) */
.eyebrow-label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* Cases */
.cases-placeholder {
  border: 1.5px dashed var(--gray-line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--gray);
  font-size: .95rem;
}
.cases-placeholder p { margin: 0; }

/* Consultoria / Leads */
.consultoria-inner, .leads-inner { max-width: 680px; }

/* SWAS flow */
.swas-inner { max-width: 640px; }
.swas-flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 40px;
}
.swas-step {
  border: 1.5px solid #2a2a2e;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 600;
  color: var(--white);
  font-size: .95rem;
}
.swas-arrow {
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  padding-left: 24px;
}

/* Central */
.central-list {
  display: flex;
  flex-direction: column;
  margin: 32px 0 36px;
  border-top: 1px solid var(--gray-line);
  max-width: 620px;
}
.central-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-line);
}
.central-name { font-weight: 600; color: var(--black); }
.central-tag {
  flex-shrink: 0;
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--gray);
}
.central-tag-free { background: rgba(229,35,27,.08); color: var(--red); }

/* CTA final */
.cta-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid #2a2a2e;
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.cta-choice:hover { border-color: var(--red); transform: translateY(-3px); }
.cta-choice span { color: #b8b8bd; font-size: .9rem; }
.cta-choice strong { color: var(--white); font-size: 1.05rem; font-weight: 700; }

/* Footer contact */
.footer-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-contact a {
  font-size: .85rem;
  color: var(--gray);
}
.footer-contact a:hover { color: var(--red); }

/* Problema */
.problema-close {
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--gray-line);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-row p {
  margin: 0;
  font-size: .85rem;
  color: var(--gray);
}

/* Responsive */
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-line);
    padding: 8px 24px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--gray-line); }
  .nav a:last-child { border-bottom: none; }
  .nav-mobile-only { display: block; }
  .nav-actions { display: none; }
  .btn-nav { display: none; }
  .menu-toggle { display: flex; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
  .section { padding: 64px 0; }
}
