:root {
      /* Toda tipografia e links = mesma família do azul da logo (#4279FF) */
      --brand-r: 66;
      --brand-g: 121;
      --brand-b: 255;
      --accent: #4279ff;
      --accent-deep: #3663d1;
      --accent-soft: rgba(66, 121, 255, 0.11);
      --text: #122e72;
      --muted: #4664ad;
      --link-hover: #143884;
      --bg: #ffffff;
      --bg-soft: #f3f5ff;
      --surface: #ffffff;
      --border: rgba(66, 121, 255, 0.16);
      --radius: 12px;
      --radius-lg: 20px;
      --shadow: 0 16px 48px rgba(66, 121, 255, 0.1);
      --max: 1120px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
      font-size: 1.0625rem;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      font-feature-settings: "kern" 1, "liga" 1;
    }

    a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
    a:hover { color: var(--link-hover); }

    .wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

    /* Header */
    header.site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.85rem 0;
      flex-wrap: wrap;
    }
    .brand {
      font-family: "Plus Jakarta Sans", system-ui, sans-serif;
      font-weight: 800;
      font-size: 1.3rem;
      letter-spacing: -0.03em;
      color: var(--text);
      text-decoration: none;
    }
    .brand span { color: var(--accent); }
    .brand-lockup {
      display: inline-flex;
      align-items: center;
      line-height: 0;
    }
    /* Logo quadrada: altura fixa, largura proporcional — sem recorte nem achatamento */
    .brand-logo-img {
      height: 44px;
      width: auto;
      max-width: min(160px, 42vw);
      display: block;
      flex-shrink: 0;
      object-fit: contain;
    }
    nav.primary-nav {
      display: flex;
      align-items: center;
      gap: 0.35rem 1.25rem;
      flex-wrap: wrap;
    }
    nav.primary-nav a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 500;
      padding: 0.35rem 0;
      transition: color 0.15s;
    }
    nav.primary-nav a:hover { color: var(--accent); }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.65rem 1.15rem;
      border-radius: 999px;
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
    }
    .btn:active { transform: scale(0.98); }
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-deep));
      color: #fff;
      box-shadow: 0 8px 32px rgba(66, 121, 255, 0.32);
    }
    .btn-primary:hover { box-shadow: 0 12px 40px rgba(66, 121, 255, 0.38); color: #fff; }
    .btn-ghost {
      background: transparent;
      color: var(--text);
      border: 1px solid rgba(66, 121, 255, 0.38);
    }
    .btn-ghost:hover {
      background: var(--accent-soft);
      border-color: rgba(66, 121, 255, 0.52);
      color: var(--accent);
    }
    .btn-whatsapp {
      background: #25d366;
      color: #fff;
    }
    .btn-whatsapp:hover { color: #fff; filter: brightness(1.06); }

    .header-cta { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

    /* Hero */
    .hero {
      position: relative;
      padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 55% at 75% -5%, rgba(66, 121, 255, 0.14), transparent 52%),
        radial-gradient(ellipse 45% 35% at 12% 35%, rgba(66, 121, 255, 0.07), transparent 48%);
      pointer-events: none;
    }
    .hero-grid {
      position: relative;
      display: grid;
      gap: 2.5rem;
      align-items: center;
      grid-template-columns: 1fr;
    }
    @media (min-width: 900px) {
      .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
    }

    .eyebrow {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }
    h1 {
      font-family: "Plus Jakarta Sans", system-ui, sans-serif;
      font-weight: 800;
      font-size: clamp(2rem, 4.5vw, 2.75rem);
      line-height: 1.18;
      letter-spacing: -0.035em;
      margin: 0 0 1rem;
      text-rendering: optimizeLegibility;
    }
    .hero-lead {
      font-size: 1.1rem;
      color: var(--muted);
      max-width: 34ch;
      margin: 0 0 1.75rem;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 2rem; }

    .trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem 2rem;
      padding-top: 0.5rem;
      border-top: 1px solid var(--border);
    }
    .trust-item strong {
      display: block;
      font-size: 1.45rem;
      font-family: "Plus Jakarta Sans", system-ui, sans-serif;
      font-weight: 800;
      color: var(--text);
      line-height: 1.2;
      letter-spacing: -0.03em;
    }
    .trust-item span { font-size: 0.85rem; color: var(--muted); }

    .hero-card {
      background: linear-gradient(165deg, #ffffff, var(--bg-soft));
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      box-shadow: var(--shadow);
    }
    .hero-card h2 {
      font-family: "Plus Jakarta Sans", system-ui, sans-serif;
      font-size: 1.1rem;
      margin: 0 0 1rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .hero-card ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .hero-card li {
      display: flex;
      gap: 0.65rem;
      align-items: flex-start;
      padding: 0.55rem 0;
      border-bottom: 1px solid var(--border);
      font-size: 0.95rem;
      color: var(--muted);
    }
    .hero-card li:last-child { border-bottom: none; }
    .hero-card li svg {
      flex-shrink: 0;
      margin-top: 0.2rem;
      color: var(--accent);
    }

    /* Sections */
    section.block { padding: clamp(3rem, 6vw, 4.5rem) 0; }
    section.block.alt { background: var(--bg-soft); border-block: 1px solid var(--border); }

    .section-head {
      max-width: 640px;
      margin-bottom: 2.25rem;
    }
    .section-head h2 {
      font-family: "Plus Jakarta Sans", system-ui, sans-serif;
      font-size: clamp(1.55rem, 2.8vw, 1.95rem);
      font-weight: 800;
      margin: 0 0 0.6rem;
      letter-spacing: -0.03em;
      text-rendering: optimizeLegibility;
    }
    .section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

    .services {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 600px) {
      .services { grid-template-columns: repeat(2, 1fr); }
    }

    .service-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem 1.35rem;
      text-decoration: none;
      color: inherit;
      transition: border-color 0.15s, transform 0.15s;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .service-card:hover {
      border-color: rgba(66, 121, 255, 0.45);
      transform: translateY(-2px);
    }
    .service-card h3 {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .service-card p {
      margin: 0;
      font-size: 0.92rem;
      color: var(--muted);
      flex: 1;
    }
    .service-card .more {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--accent);
    }

    .about-split {
      display: grid;
      gap: 2rem;
      align-items: start;
    }
    @media (min-width: 800px) {
      .about-split { grid-template-columns: 1fr 1fr; gap: 3rem; }
    }
    .about-split p { color: var(--muted); margin: 0 0 1rem; }
    .about-split p:last-of-type { margin-bottom: 1.25rem; }

    .articles {
      display: grid;
      gap: 1rem;
    }
    @media (min-width: 640px) {
      .articles { grid-template-columns: repeat(2, 1fr); }
    }
    .article-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.35rem;
      text-decoration: none;
      color: inherit;
      transition: border-color 0.15s;
    }
    .article-card:hover { border-color: rgba(66, 121, 255, 0.42); }
    .article-card .tag {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }
    .article-card h3 {
      margin: 0;
      font-size: 1.05rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    /* CTA band */
    .cta-band {
      margin: 0;
      padding: clamp(2.5rem, 5vw, 3.5rem);
      background: linear-gradient(135deg, #eef2ff, #e0e9ff);
      border: 1px solid rgba(66, 121, 255, 0.2);
      border-radius: var(--radius-lg);
      text-align: center;
    }
    .cta-band h2 {
      font-family: "Plus Jakarta Sans", system-ui, sans-serif;
      font-weight: 800;
      font-size: clamp(1.35rem, 2.4vw, 1.75rem);
      letter-spacing: -0.03em;
      margin: 0 0 0.5rem;
      text-rendering: optimizeLegibility;
    }
    .cta-band p { margin: 0 0 1.25rem; color: var(--muted); }
    .cta-band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.65rem; }

    /* Footer */
    footer.site-footer {
      padding: 3rem 0 2rem;
      border-top: 1px solid var(--border);
      font-size: 0.9rem;
    }
    .footer-grid {
      display: grid;
      gap: 2rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 700px) {
      .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    }
    footer h3 {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
      margin: 0 0 0.85rem;
      font-weight: 600;
    }
    footer ul { list-style: none; margin: 0; padding: 0; }
    footer li { margin-bottom: 0.45rem; }
    footer a { color: var(--muted); text-decoration: none; }
    footer a:hover { color: var(--text); }
    .footer-brand p { margin: 0.5rem 0 0; color: var(--muted); line-height: 1.5; }
    .footer-bottom {
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border);
      color: var(--muted);
      font-size: 0.82rem;
      text-align: center;
    }

    /* Mobile menu hint: stack nav */
    @media (max-width: 720px) {
      .header-inner { flex-direction: column; align-items: stretch; }
      nav.primary-nav { justify-content: center; }
      .header-cta { justify-content: center; }
    }

    /* Dores (home) */
    .pain-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px) {
      .pain-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 960px) {
      .pain-grid { grid-template-columns: repeat(3, 1fr); }
    }
    .pain-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.35rem 1.25rem;
      height: 100%;
    }
    .pain-card h3 {
      margin: 0 0 0.5rem;
      font-size: 1.02rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.02em;
      line-height: 1.3;
    }
    .pain-card p {
      margin: 0;
      font-size: 0.94rem;
      color: var(--muted);
      line-height: 1.55;
    }

/* Páginas internas */
.page-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 4vw, 2rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 75% -5%, rgba(66, 121, 255, 0.12), transparent 52%),
    radial-gradient(ellipse 45% 35% at 12% 35%, rgba(66, 121, 255, 0.05), transparent 48%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 0.65rem;
  color: var(--text);
  max-width: 36ch;
}
.page-hero .lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 48ch;
}
.page-main { padding-bottom: clamp(3rem, 6vw, 4rem); }

.prose {
  max-width: 42rem;
  margin: 0 auto;
}
.prose > *:first-child { margin-top: 0; }
.prose p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.prose h2 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 2rem 0 0.65rem;
}
.prose h3 {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
.prose ul, .prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
  color: var(--muted);
}
.prose li { margin-bottom: 0.35rem; }
.prose a { font-weight: 500; }
.prose strong { color: var(--text); }

.page-grid-two {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 880px) {
  .page-grid-two { grid-template-columns: 1fr 1fr; }
}

.contact-panel {
  background: linear-gradient(165deg, #ffffff, var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.contact-panel h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
}
.contact-panel dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-top: 0.85rem;
  font-weight: 600;
}
.contact-panel dt:first-child { margin-top: 0; }
.contact-panel dd { margin: 0.25rem 0 0; color: var(--text); }

.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.region-pills a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.region-pills a:hover {
  border-color: rgba(66, 121, 255, 0.45);
  background: var(--accent-soft);
}

.service-intro p { margin: 0 0 1rem; color: var(--muted); }
.blog-list { display: flex; flex-direction: column; gap: 1rem; }
