/* ═══════════════════════════════════════════════════
   Habite-se DF — Design System v3
   Moderno, limpo, com vida. Inspirado em Stripe,
   Linear e Apple. Tipografia forte, profundidade
   real, animações de scroll, modo escuro nativo.
═══════════════════════════════════════════════════ */

:root {
  --c-blue:    #2563eb;
  --c-blue-dk: #1d4ed8;
  --c-indigo:  #4f46e5;
  --c-teal:    #0d9488;
  --c-amber:   #d97706;
  --c-navy:    #0f172a;
  --c-navy-2:  #1e293b;
  --c-slate:   #334155;
  --c-muted:   #64748b;
  --c-subtle:  #94a3b8;
  --c-border:  #e2e8f0;
  --c-surface: #f8fafc;
  --c-white:   #ffffff;
  --c-gold:    #f59e0b;
  --c-green:   #10b981;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 10px 40px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.05);
  --shadow-xl: 0 20px 60px rgba(15,23,42,.12), 0 8px 20px rgba(15,23,42,.06);
  --shadow-blue: 0 8px 24px rgba(37,99,235,.28);
  --shadow-blue-lg: 0 16px 48px rgba(37,99,235,.35);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease:        cubic-bezier(.25,.46,.45,.94);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-in:     cubic-bezier(.4,0,1,1);

  --max: 1160px;
  --nav-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--c-navy); background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed; inset: 12px auto auto 16px; z-index: 9999;
  padding: 10px 16px; border-radius: 10px;
  background: var(--c-navy); color: #fff; font-weight: 700;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ══════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,.6);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.topbar.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 var(--c-border), var(--shadow-sm);
}
.topbar-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring);
}
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title  { font-size: 1.1rem; font-weight: 800; color: var(--c-navy); letter-spacing: -.03em; }
.brand-subtitle { font-size: .68rem; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 12px; border-radius: 10px;
  font-size: .92rem; font-weight: 600; color: var(--c-slate);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--c-surface); color: var(--c-navy); }
.nav .nav-cta {
  display: flex; align-items: center; gap: 7px;
  margin-left: 8px; padding: 9px 16px;
  background: var(--c-blue); color: #fff !important;
  border-radius: 12px;
  box-shadow: var(--shadow-blue);
  font-weight: 700; font-size: .9rem;
  transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s var(--ease);
}
.nav .nav-cta:hover {
  background: var(--c-blue-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
}

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); border-radius: 10px;
  background: transparent; cursor: pointer;
}
.menu-toggle .bar {
  width: 20px; height: 2px; background: var(--c-navy);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .3s;
}
.menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   ANIMAÇÕES DE SCROLL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-up  { transition-delay: .05s; }
.reveal-up2 { transition-delay: .12s; }
.reveal-up3 { transition-delay: .19s; }
.reveal-up4 { transition-delay: .26s; }

/* ══════════════════════════════════════════
   TIPOGRAFIA GLOBAL
══════════════════════════════════════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-blue);
  margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px;
  background: var(--c-blue); border-radius: 2px;
}
.section-label.light { color: rgba(255,255,255,.7); }
.section-label.light::before { background: rgba(255,255,255,.5); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.04em; color: var(--c-navy);
  margin-bottom: 24px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-blue), var(--c-indigo));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title.light { color: #fff; }
.section-title.light em { -webkit-text-fill-color: transparent; }

/* ══════════════════════════════════════════
   SEÇÕES
══════════════════════════════════════════ */
.section { padding: 96px 0; }
.section-dark {
  background: var(--c-navy);
  background-image:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(37,99,235,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 20%, rgba(79,70,229,.12) 0%, transparent 55%);
}
.section-subtle {
  background: var(--c-surface);
  background-image: radial-gradient(ellipse 70% 60% at 80% 80%, rgba(37,99,235,.04) 0%, transparent 55%);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
  background: #fafbff;
  background-image:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(37,99,235,.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 100% 80%, rgba(245,158,11,.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 70% 10%, rgba(79,70,229,.06) 0%, transparent 50%);
}

/* Orbs decorativos */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .5;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.18), transparent 70%);
  top: -120px; left: -120px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,.16), transparent 70%);
  bottom: -80px; right: -80px;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(16,185,129,.10), transparent 70%);
  top: 40%; right: 20%;
}
/* Linhas de grid sutis */
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center;
}
.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.16);
  border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: var(--c-blue);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37,99,235,.2); }
  50% { box-shadow: 0 0 0 6px rgba(37,99,235,.08); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -.045em; color: var(--c-navy);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-indigo) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 1.1rem; color: var(--c-slate); line-height: 1.65;
  margin-bottom: 32px; max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust { display: flex; flex-direction: column; gap: 10px; }
.hero-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 600; color: var(--c-muted);
}
.hero-trust-item svg { color: var(--c-green); flex-shrink: 0; }

/* ── Hero card ── */
.hero-card-wrap { perspective: 1000px; }
.hero-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 28px; box-shadow: var(--shadow-xl);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transform: translateZ(0);
}
.hero-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 30px 80px rgba(15,23,42,.14), 0 12px 24px rgba(15,23,42,.06);
}

.hero-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
  font-size: .85rem; font-weight: 700; color: var(--c-muted);
}
.hero-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(79,70,229,.1));
  color: var(--c-blue); display: grid; place-items: center;
}

.hero-card-list { display: grid; gap: 14px; }
.hero-card-list li { display: flex; gap: 12px; align-items: flex-start; }
.hcl-icon {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center; margin-top: 1px;
}
.hcl-blue { background: rgba(37,99,235,.1); color: var(--c-blue); }
.hero-card-list strong { display: block; font-size: .95rem; font-weight: 700; color: var(--c-navy); }
.hero-card-list span  { display: block; font-size: .83rem; color: var(--c-muted); margin-top: 1px; }

.hero-card-cta {
  display: block; margin-top: 22px; padding: 14px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-indigo));
  color: #fff; text-align: center; border-radius: 14px;
  font-weight: 700; font-size: .92rem;
  transition: opacity .2s, transform .2s var(--ease-spring);
}
.hero-card-cta:hover { opacity: .92; transform: translateY(-1px); }

/* ══════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════ */
.trust-bar {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: 16px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.trust-bar-label { font-size: .8rem; font-weight: 700; color: var(--c-subtle); white-space: nowrap; }
.trust-bar-items { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trust-bar-items span { font-size: .85rem; font-weight: 600; color: var(--c-muted); }
.trust-bar-items .dot { color: var(--c-border); font-size: 1.2rem; line-height: 1; }

/* ══════════════════════════════════════════
   CARDS DE SERVIÇO
══════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 48px;
}
.svc-card {
  display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 26px;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,99,235,.03), rgba(79,70,229,.03));
  opacity: 0; transition: opacity .3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
}
.svc-card:hover::before { opacity: 1; }

.svc-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-spring);
}
.svc-card:hover .svc-icon { transform: scale(1.1) rotate(-4deg); }

.svc-icon-blue   { background: rgba(37,99,235,.1);  color: var(--c-blue); }
.svc-icon-indigo { background: rgba(79,70,229,.1);  color: var(--c-indigo); }
.svc-icon-teal   { background: rgba(13,148,136,.1); color: var(--c-teal); }
.svc-icon-amber  { background: rgba(217,119,6,.1);  color: var(--c-amber); }

.svc-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-subtle);
  background: var(--c-surface); border: 1px solid var(--c-border);
  padding: 4px 10px; border-radius: 999px;
}

.svc-card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.025em; color: var(--c-navy); margin-bottom: 10px; }
.svc-card p  { font-size: .9rem; color: var(--c-muted); line-height: 1.6; flex: 1; }
.svc-link {
  display: flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: .88rem; font-weight: 700; color: var(--c-blue);
  transition: gap .2s var(--ease);
}
.svc-card:hover .svc-link { gap: 10px; }

/* ══════════════════════════════════════════
   PROCESSO (seção dark)
══════════════════════════════════════════ */
.process-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start; margin-top: 56px;
}
.process-step { text-align: center; padding: 0 8px; }
.process-num {
  width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 20px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: #fff; display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 900; letter-spacing: -.04em;
  backdrop-filter: blur(8px);
  transition: background .3s, transform .3s var(--ease-spring);
}
.process-step:hover .process-num {
  background: rgba(37,99,235,.4);
  transform: scale(1.1);
}
.process-step h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.process-step p  { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6; }

.process-connector {
  width: 40px; display: grid; place-items: center; padding-top: 28px;
}
.process-connector::after {
  content: '→'; font-size: 1.2rem; color: rgba(255,255,255,.25);
}

.process-cta { text-align: center; margin-top: 56px; }

/* ══════════════════════════════════════════
   BOTÕES
══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px; border: none;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .22s var(--ease-spring), box-shadow .22s var(--ease), opacity .15s;
}
.btn:active { transform: scale(.97) !important; }
.btn-lg { padding: 16px 28px; font-size: 1rem; border-radius: 16px; }

.btn-primary {
  background: var(--c-blue); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--c-blue-dk);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue-lg);
}

.btn-ghost {
  background: rgba(15,23,42,.06); color: var(--c-slate);
  border: 1px solid var(--c-border);
}
.btn-ghost:hover { background: rgba(15,23,42,.09); transform: translateY(-2px); }

.btn-white {
  background: #fff; color: var(--c-navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ══════════════════════════════════════════
   SPLIT SECTION (situações)
══════════════════════════════════════════ */
.split-grid { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center; }
.split-lead { font-size: 1.05rem; color: var(--c-slate); line-height: 1.7; margin-bottom: 28px; }

.check-list { display: grid; gap: 12px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; color: var(--c-slate); font-weight: 500;
}
.check-list svg { color: var(--c-blue); flex-shrink: 0; }

.scope-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.scope-section { padding: 26px 28px; }
.scope-yes { background: var(--c-navy); }
.scope-no  { background: var(--c-surface); border-top: 1px solid var(--c-border); }
.scope-header {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 14px;
}
.scope-yes .scope-header { color: rgba(255,255,255,.7); }
.scope-no  .scope-header { color: var(--c-muted); }
.scope-yes .scope-header svg { color: var(--c-green); }
.scope-no  .scope-header svg { color: #f87171; }
.scope-yes ul { display: grid; gap: 10px; }
.scope-yes li {
  font-size: .9rem; color: rgba(255,255,255,.85); padding-left: 16px;
  position: relative;
}
.scope-yes li::before {
  content: '·'; position: absolute; left: 4px;
  color: var(--c-blue); font-size: 1.2rem; line-height: 1;
}
.scope-no p { font-size: .9rem; color: var(--c-muted); line-height: 1.6; }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.faq-item {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.2); }
.faq-item summary {
  padding: 20px 22px; cursor: pointer;
  font-size: .97rem; font-weight: 700; color: var(--c-navy);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  user-select: none;
}
.faq-item summary::after {
  content: '+'; flex-shrink: 0; width: 26px; height: 26px;
  border-radius: 50%; border: 1.5px solid var(--c-border);
  display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 400; color: var(--c-muted);
  transition: transform .3s var(--ease-spring), background .2s, border-color .2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--c-blue); border-color: var(--c-blue); color: #fff;
}
.faq-item p {
  padding: 0 22px 20px; font-size: .92rem; color: var(--c-slate); line-height: 1.65;
  border-top: 1px solid var(--c-border); padding-top: 16px; margin-top: 0;
}

/* ══════════════════════════════════════════
   CONTATO
══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info p { font-size: 1rem; color: var(--c-slate); line-height: 1.7; margin-bottom: 32px; }
.contact-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; font-size: .88rem; color: var(--c-muted); font-weight: 600;
}

.contact-form {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-lg); display: grid; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; font-size: .85rem; font-weight: 700; color: var(--c-navy);
  margin-bottom: 8px; letter-spacing: -.01em;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--c-border); border-radius: 12px;
  background: var(--c-surface); color: var(--c-navy); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-size: .95rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-subtle); }
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: rgba(37,99,235,.35); background: var(--c-white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  background: var(--c-white);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--c-subtle); line-height: 1.5; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--c-navy);
  background-image: radial-gradient(ellipse 60% 80% at 80% 100%, rgba(37,99,235,.12) 0%, transparent 55%);
  padding: 64px 0 32px; color: rgba(255,255,255,.7);
}
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { font-size: 1.2rem; font-weight: 800; color: #fff; letter-spacing: -.03em; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; line-height: 1.65; margin-bottom: 20px; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 700; color: #4ade80;
  transition: color .2s;
}
.footer-wa:hover { color: #86efac; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-links h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-links ul { display: grid; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; margin-top: 32px;
  font-size: .82rem; color: rgba(255,255,255,.35);
}

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease);
}
.wa-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 12px 40px rgba(37,211,102,.6);
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 0 0 12px rgba(37,211,102,0); }
}
.wa-float { animation: wa-pulse 3s ease-in-out infinite; }
.wa-float:hover { animation: none; }

/* ══════════════════════════════════════════
   ESTILOS PÁGINAS INTERNAS (artigos, sidebar)
══════════════════════════════════════════ */
.page-hero {
  padding: 64px 0 48px;
  background: var(--c-surface);
  background-image: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(37,99,235,.06) 0%, transparent 55%);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb { font-size: .85rem; color: var(--c-subtle); margin-bottom: 16px; }
.breadcrumb a { color: var(--c-blue); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: '·'; font-size: 1.4rem; line-height: .5; }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 32px; align-items: start; }
.article {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-sm);
}
.article h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--c-navy); margin: 36px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.15rem; font-weight: 700; color: var(--c-navy); margin: 24px 0 10px; }
.article p  { color: var(--c-slate); margin: 12px 0; line-height: 1.7; }
.article ul, .article ol { padding-left: 22px; margin: 14px 0; }
.article li { color: var(--c-slate); margin: 8px 0; line-height: 1.6; }
.article a  { color: var(--c-blue); font-weight: 600; }
.article a:hover { text-decoration: underline; }

.notice {
  border-left: 3px solid var(--c-amber); border-radius: 0 12px 12px 0;
  background: #fffbeb; padding: 18px 20px;
  font-size: .92rem; color: #92400e; margin: 20px 0;
}
.notice strong { color: #78350f; }

.sidebar { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 14px; }
.sidebar-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-xs);
}
.sidebar-card h3 { font-size: .95rem; font-weight: 700; color: var(--c-navy); margin-bottom: 12px; }
.sidebar-card ul { display: grid; gap: 8px; }
.sidebar-card a { font-size: .88rem; color: var(--c-blue); font-weight: 600; }
.sidebar-card a:hover { text-decoration: underline; }
.sidebar-cta {
  background: var(--c-navy);
  background-image: radial-gradient(ellipse at 80% 0%, rgba(37,99,235,.3), transparent 60%);
  border-radius: var(--radius); padding: 22px;
}
.sidebar-cta h3 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sidebar-cta p  { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.sidebar-cta a  { display: block; text-align: center; padding: 11px; background: var(--c-blue); color: #fff; border-radius: 10px; font-size: .9rem; font-weight: 700; transition: opacity .2s, transform .2s; }
.sidebar-cta a:hover { opacity: .9; transform: translateY(-1px); }

.steps { display: grid; gap: 12px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 20px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-blue), var(--c-indigo));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.step h3 { font-size: .97rem; font-weight: 700; color: var(--c-navy); margin-bottom: 4px; }
.step p  { font-size: .88rem; color: var(--c-muted); line-height: 1.6; }

/* hero para páginas de serviço */
.lead { font-size: 1.08rem; color: var(--c-slate); line-height: 1.65; max-width: 680px; margin-top: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid var(--c-border);
  border-radius: 999px; background: var(--c-white);
  font-size: .82rem; font-weight: 600; color: var(--c-muted);
}

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--c-navy); list-style: none; }
.faq summary::after { content: ' +'; color: var(--c-blue); }
.faq details[open] summary::after { content: ' −'; }
.faq p { margin-top: 10px; color: var(--c-muted); font-size: .92rem; }

/* contact em páginas internas */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-box {
  background: var(--c-navy);
  background-image: radial-gradient(ellipse at 80% 0%, rgba(37,99,235,.3), transparent 55%);
  border-radius: var(--radius-lg); padding: 32px; color: rgba(255,255,255,.8);
}
.contact-box h2 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.contact-box p  { color: rgba(255,255,255,.65); margin-bottom: 24px; }
.contact-box .btn-primary { background: var(--c-blue); }

/* grid-2 para páginas internas */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-xs);
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-navy); margin-bottom: 12px; }
.card p, .card li { font-size: .92rem; color: var(--c-muted); line-height: 1.65; }
.card ul { padding-left: 18px; display: grid; gap: 8px; margin-top: 10px; }
.card .service-link { display: inline-flex; margin-top: 14px; color: var(--c-blue); font-weight: 700; font-size: .9rem; }

/* section genérica para páginas internas */
.section { padding: 72px 0; }
.section-blue {
  background: #f0f6ff;
  background-image: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(37,99,235,.06) 0%, transparent 55%);
}
.section-soft { background: var(--c-surface); }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; color: var(--c-navy); margin-top: 8px; }
.section-head p { color: var(--c-muted); margin-top: 10px; font-size: .97rem; }
.section-head.center { text-align: center; }

/* trust-band em páginas internas */
.trust-band { background: var(--c-navy); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.trust-item {
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  padding: 18px; background: rgba(255,255,255,.04);
  transition: background .25s;
}
.trust-item:hover { background: rgba(255,255,255,.08); }
.trust-item strong { display: block; color: #fff; margin-bottom: 4px; }
.trust-item span { font-size: .88rem; color: rgba(255,255,255,.55); }

/* blog */
.blog-section { margin-bottom: 2.5rem; }
.blog-section h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--c-navy); margin-bottom: 12px; }
.blog-list { display: grid; gap: 4px; }
.blog-list li a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: .95rem; color: var(--c-blue); font-weight: 600;
  transition: background .15s, padding-left .2s var(--ease);
}
.blog-list li a:hover { background: var(--c-surface); padding-left: 20px; }

/* utilitários */
.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; }
.center { text-align: center; }
.mt { margin-top: 24px; }
.mb { margin-bottom: 24px; }
.two-col-list { columns: 2; column-gap: 28px; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-connector { display: none; }
  .split-grid    { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid      { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-card-wrap { max-width: 480px; }
  .content-grid  { grid-template-columns: 1fr; }
  .sidebar       { position: static; }
  .footer-top    { grid-template-columns: 1fr; gap: 40px; }
  .footer-links  { grid-template-columns: repeat(3,1fr); }
  .trust-grid    { grid-template-columns: 1fr; }
  .contact-wrap  { grid-template-columns: 1fr; }
  .grid-2        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .menu-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border); padding: 16px 20px;
    box-shadow: var(--shadow-lg); flex-direction: column; gap: 4px; align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { border-radius: 10px; }
  .nav .nav-cta { margin-left: 0; justify-content: center; }
  .container { width: min(100% - 32px, var(--max)); }
  .hero { padding: 72px 0 56px; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; }
  .two-col-list { columns: 1; }
  .article { padding: 24px; }
}


/* === Correções finais Habite-se DF — layout, mobile, print e compatibilidade local === */
.skip-link:not(:focus):not(:active) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  transform: none !important;
}
.skip-link:focus {
  position: fixed !important;
  inset: 12px auto auto 16px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  z-index: 9999;
}
.menu-toggle { font-size: 0; }
.menu-toggle .bar { display: block; }
.btn-secondary { background: rgba(15,23,42,.06); color: var(--c-slate); border: 1px solid var(--c-border); }
.btn-secondary:hover { background: rgba(15,23,42,.09); transform: translateY(-2px); }
.btn[disabled] { opacity: .72; cursor: wait; transform: none !important; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: .98rem; font-weight: 800; margin-bottom: 12px; }
.footer-grid p { color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.65; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,.76); font-weight: 600; }
.footer-grid a:hover { color: #fff; }
.whatsapp-float,
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease);
}
.whatsapp-float svg,
.wa-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover,
.wa-float:hover { transform: scale(1.12) translateY(-4px); box-shadow: 0 12px 40px rgba(37,211,102,.6); }
.svc-card, .hero-card, .contact-form, .faq-item, .article, .card, .scope-card { -webkit-transform: translateZ(0); transform: translateZ(0); }
.hero-card-list li > div:last-child { min-width: 0; }
.hero-card-list strong, .hero-card-list span { word-spacing: normal; }
.field select { appearance: auto; }
@media (max-width: 768px) {
  .brand-title { font-size: 1rem; }
  .brand-subtitle { font-size: .58rem; letter-spacing: .08em; }
  .brand-logo { width: 40px; height: 40px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .skip-link, .wa-float, .whatsapp-float, .menu-toggle { display: none !important; }
  .topbar { position: static !important; height: auto !important; }
  .nav { display: none !important; }
  a { text-decoration: none !important; }
  .hero, .section, .section-dark, .section-subtle, .footer { page-break-inside: avoid; }
  .btn, .svc-card, .faq-item, .contact-form, .hero-card { box-shadow: none !important; }
}
