/* =====================================================================
   ESCRITÓRIO CONTÁBIL ABC — Folha de estilo principal
   Paleta da marca: azul-marinho #0a113c
   ===================================================================== */

:root {
  --navy: #0a113c;
  --navy-2: #16225a;
  --blue: #2c4a8c;
  --blue-light: #e8eefb;
  --gold: #c9a227;
  --gold-soft: #e2c66a;
  --ink: #1b1f2a;
  --muted: #5b6577;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(10, 17, 60, .06);
  --shadow-md: 0 10px 30px rgba(10, 17, 60, .10);
  --shadow-lg: 0 20px 50px rgba(10, 17, 60, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --header-h: 74px;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Georgia", "Times New Roman", serif;
}

/* ---------- Reset básico ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Utilitários ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.section-title.center, .section-head.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 54px; }
.section-head.center { margin-inline: auto; }
.lead { color: var(--muted); font-size: 1.06rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 40px;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(201,162,39,.3); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color:#fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color:#fff; }

/* =====================================================================
   TOP BAR (redes sociais + contato)
   ===================================================================== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  font-size: .86rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 42px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.9); transition: color .15s; }
.topbar a:hover { color: var(--gold-soft); }
.topbar-contacts { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-contacts span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-social { display: flex; gap: 8px; align-items: center; }
.topbar-social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10);
}
.topbar-social a:hover { background: var(--gold); color: var(--navy); }
.topbar-social svg { width: 15px; height: 15px; }
.topbar .icon { width: 15px; height: 15px; opacity: .85; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-txt strong { color: var(--navy); font-size: 1.02rem; letter-spacing: .02em; }
.brand .brand-txt small { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--blue-light); }
.nav-links a.btn { margin-left: 10px; padding: 11px 22px; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; background: var(--navy-2); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  background: linear-gradient(120deg, #0a113c 0%, #16225a 55%, #223a7a 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(201,162,39,.14), transparent 60%),
    radial-gradient(600px 500px at 10% 90%, rgba(44,74,140,.4), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: 84px; padding-bottom: 84px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem); line-height: 1.1; font-weight: 800;
  letter-spacing: -.015em; margin-bottom: 20px;
}
.hero h1 .hl { color: var(--gold-soft); }
.hero p.sub { font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badges div { }
.hero-badges .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-badges .lbl { font-size: .82rem; color: rgba(255,255,255,.72); letter-spacing: .04em; }
.hero-figure {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.15); background:#fff;
}
.hero-figure img { width: 100%; height: auto; display: block; }

/* =====================================================================
   DIFERENCIAIS (pilares)
   ===================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-light); color: var(--navy); margin-bottom: 14px;
}
.pillar .ic svg { width: 26px; height: 26px; }
.pillar h3 { color: var(--navy); font-size: 1.06rem; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: .94rem; }

/* =====================================================================
   SOBRE
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text p strong { color: var(--ink); }
.mvv { display: grid; gap: 16px; }
.mvv-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm); padding: 20px 16px; box-shadow: var(--shadow-sm);
}
.mvv-card.gold { border-left-color: var(--gold); }
.mvv-card.blue { border-left-color: var(--blue); }
.mvv-card h4 { color: var(--navy); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.mvv-card p { color: var(--muted); font-size: .96rem; }
/* Etiquetas compactadas para os 9 valores caberem em no máximo 3 linhas */
.values-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.values-tags span { background: var(--blue-light); color: var(--navy); font-size: .7rem; font-weight: 600; padding: 4px 8px; border-radius: 20px; white-space: nowrap; }
/* Força a quebra de linha antes de "Inovação", garantindo o agrupamento
   das etiquetas em 3 linhas independentemente da renderização da fonte */
.values-tags .tag-break { flex-basis: 100%; height: 0; margin: 0; }

/* =====================================================================
   SERVIÇOS
   ===================================================================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width .3s;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { width: 100%; }
.service .ic {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 18px;
}
.service .ic svg { width: 28px; height: 28px; }
.service h3 { color: var(--navy); font-size: 1.14rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .96rem; }

/* =====================================================================
   SÓCIOS
   ===================================================================== */
/* Carrossel: trilho horizontal que desliza */
.partners-carousel { position: relative; }
.partners {
  display: flex; gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;            /* Firefox */
  padding: 4px 2px 8px;
}
.partners::-webkit-scrollbar { display: none; } /* Chrome/Safari/Edge */
.partner {
  flex: 0 0 calc(50% - 13px);       /* mostra 2 sócios por vez (desktop) */
  scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); display: flex; gap: 22px; align-items: flex-start;
}

/* Setas + indicadores do carrossel */
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.carousel-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: background .15s, opacity .15s, transform .15s;
}
.carousel-btn:hover:not(:disabled) { background: var(--navy-2); transform: translateY(-2px); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--line); transition: background .2s, width .2s;
}
.carousel-dots button.active { background: var(--gold); width: 24px; border-radius: 5px; }
.partner .avatar {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; font-family: var(--serif);
}
.partner h3 { color: var(--navy); font-size: 1.18rem; margin-bottom: 2px; }
.partner .role { color: var(--gold); font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.partner p { color: var(--muted); font-size: .94rem; }

/* =====================================================================
   FORMULÁRIOS (Contato + Trabalhe Conosco)
   ===================================================================== */
.forms-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-md);
}
.form-card h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 6px; }
.form-card .form-desc { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #c0392b; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fcfdff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,74,140,.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.file-drop {
  border: 1.6px dashed var(--blue); border-radius: 10px; padding: 18px; text-align: center;
  background: var(--blue-light); color: var(--navy); cursor: pointer; transition: background .15s;
  font-size: .92rem;
}
.file-drop:hover { background: #dde7fb; }
.file-drop strong { display: block; }
.file-drop small { color: var(--muted); }
.file-name { margin-top: 8px; font-size: .88rem; color: var(--navy); font-weight: 600; }
/* honeypot anti-spam — invisível para humanos */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 4px 0 18px; }
.consent input { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.form-msg { display: none; padding: 13px 16px; border-radius: 10px; font-size: .92rem; margin-top: 14px; font-weight: 600; }
.form-msg.ok { display: block; background: #e6f6ec; color: #1c7a3f; border: 1px solid #b6e4c6; }
.form-msg.err { display: block; background: #fdeceb; color: #b3261e; border: 1px solid #f4c7c3; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--navy); color: rgba(255,255,255,.78); padding-top: 60px; }
.footer a { color: rgba(255,255,255,.78); transition: color .15s; }
.footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer .f-logo { height: 62px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer .f-about { font-size: .95rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer .f-links li { margin-bottom: 9px; font-size: .95rem; }
.footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .93rem; }
.footer .f-contact svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-soft); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.10);
  display: grid; place-items: center;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.15); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .85rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.62);
}

/* =====================================================================
   BOTÕES FLUTUANTES
   ===================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.to-top {
  position: fixed; right: 22px; bottom: 90px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .2s; border: none; cursor: pointer;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--navy-2); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }

/* =====================================================================
   HERO MARK (logo em vez do banner)
   ===================================================================== */
.hero-mark { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; }
.hero-mark::before {
  content: ""; position: absolute; width: 400px; height: 400px; max-width: 84%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(226,198,106,.30), transparent 62%),
    radial-gradient(circle at 72% 80%, rgba(94,132,214,.45), transparent 60%);
}
.hero-mark img {
  position: relative; width: 340px; max-width: 74%;
  filter: brightness(0) invert(1) drop-shadow(0 18px 40px rgba(0,0,0,.35));
  opacity: .97;
}

/* =====================================================================
   LINHA DO TEMPO (história)
   ===================================================================== */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 4px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg-soft); box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .yr { display: inline-block; font-weight: 800; color: var(--blue); font-size: .9rem; letter-spacing: .05em; margin-bottom: 3px; }
.timeline-item h4 { color: var(--navy); font-size: 1.08rem; margin-bottom: 5px; }
.timeline-item p { color: var(--muted); font-size: .95rem; }

/* =====================================================================
   MISSÃO / VISÃO / VALORES (seção própria)
   ===================================================================== */
/* align-items: stretch faz os 3 cards terem a mesma altura,
   alinhando o topo e a base independentemente do tamanho do texto */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }

/* =====================================================================
   CONTATO (informações + formulário)
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--blue-light); color: var(--navy); display: grid; place-items: center; }
.contact-info-item .ic svg { width: 22px; height: 22px; }
.contact-info-item h4 { color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { color: var(--muted); font-size: .96rem; }
.contact-info-item a:hover { color: var(--blue); }
.contact-hours { margin-top: 6px; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; color: var(--muted); }
.contact-hours strong { color: var(--navy); }

/* Formulário centralizado (Trabalhe Conosco) */
.form-narrow { max-width: 720px; margin: 0 auto; }

/* =====================================================================
   ANIMAÇÃO DE ENTRADA
   ===================================================================== */
/* Conteúdo visível por padrão; só anima quando o JS está ativo (classe .js) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 20px; }
  .hero-figure { order: -1; max-width: 560px; }
  .hero-mark { min-height: 240px; }
  .hero-mark::before { width: 300px; height: 300px; }
  .hero-mark img { width: 240px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 18px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; border-radius: 8px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  .topbar-contacts { gap: 14px; }
  .topbar .hide-sm { display: none; }
  .partner { flex: 0 0 100%; }        /* 1 sócio por vez em telas menores */
}
@media (max-width: 640px) {
  .section { padding: 62px 0; }
  .hero-mark { display: none; }
  .pillars, .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .topbar-contacts .hide-xs { display: none; }
  .hero-badges { gap: 18px; }
  .footer-bottom { flex-direction: column; }
}
