/* =====================================================================
   AF · Anna Freire — Assessoria e Consultoria Tributária
   Sistema de design institucional-editorial
   Paleta verde (identidade do portfólio) + fio de latão heráldico
   ===================================================================== */

:root {
  /* ——— Verde institucional ——— */
  --forest-900: #1F2C20;
  --forest-800: #2C3E2D;
  --forest-700: #3A4E38;
  --forest-600: #4E6446;

  /* ——— Oliva / sálvia (acento) ——— */
  --olive-700: #5E7A3F;
  --olive-500: #84A05A;
  --olive-300: #B8C5A1;
  --olive-200: #D9E0CC;

  /* ——— Latão heráldico (eco do escudo AF) ——— */
  --brass-600: #A8894F;
  --brass-500: #BFA06A;
  --brass-300: #DCC79A;

  /* ——— Superfícies ——— */
  --cream-50: #F6F3EC;
  --cream-100: #ECE7D9;
  --cream-200: #E3DCC9;

  --ink-900: #1A1F1A;
  --ink-700: #3E4A3F;
  --ink-500: #6B7268;
  --ink-300: #A8AFA4;
  --line: #DDD9CB;
  --line-dark: rgba(216, 220, 195, 0.20);

  /* ——— Sinais ——— */
  --danger: #A8412B;
  --warn: #C68B2C;
  --ok: #5E7A3F;
  --info: #3C5A78;

  /* ——— Tipografia ——— */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --script: "Cormorant Infant", "Cormorant Garamond", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* ——— Layout ——— */
  --maxw: 1200px;
  --pad: 40px;
  --radius: 10px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--olive-300); color: var(--forest-900); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ——— Tipografia utilitária ——— */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-700);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "+";
  color: var(--brass-500);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 0;
}
.eyebrow.on-dark { color: var(--olive-300); }
.eyebrow.on-dark::before { color: var(--brass-500); }

.script {
  font-family: var(--script);
  font-style: italic;
  color: var(--olive-700);
  font-weight: 500;
}
.on-dark .script, .script.on-dark { color: var(--brass-300); }

/* ——— Botões ——— */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.01em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--brass-500); outline-offset: 3px; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--forest-800); color: var(--cream-50); }
.btn-primary:hover { background: var(--forest-700); transform: translateY(-2px); }
.btn-gold { background: var(--brass-500); color: var(--forest-900); border-color: var(--brass-600); }
.btn-gold:hover { background: var(--brass-300); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--forest-800); border-color: var(--forest-800); }
.btn-ghost:hover { background: var(--forest-800); color: var(--cream-50); }
.btn-ghost.on-dark { color: var(--cream-50); border-color: rgba(246,243,236,.5); }
.btn-ghost.on-dark:hover { background: var(--cream-50); color: var(--forest-900); border-color: var(--cream-50); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo { height: 46px; width: auto; max-width: none; flex: 0 0 auto; display: block; }
/* troca variante clara (sobre hero escuro) ↔ colorida (sobre header creme ao rolar) */
.brand .logo-on-light { display: none; }
.site-header.scrolled .brand .logo-on-dark { display: none; }
.site-header.scrolled .brand .logo-on-light { display: block; }
.brand .brand-txt { line-height: 1.05; }
.brand .brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--forest-900);
  transition: color .3s var(--ease);
}
.brand .brand-tag {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  transition: color .3s var(--ease);
}
/* header transparent over hero */
.site-header:not(.scrolled) .brand .brand-name { color: var(--cream-50); }
.site-header:not(.scrolled) .brand .brand-tag { color: rgba(246,243,236,.62); }
.site-header:not(.scrolled) .nav-links a { color: rgba(246,243,236,.82); }
.site-header:not(.scrolled) .nav-links a:hover { color: var(--cream-50); }
.site-header:not(.scrolled) .btn-ghost { color: var(--cream-50); border-color: rgba(246,243,236,.5); }
.site-header:not(.scrolled) .btn-ghost:hover { background: var(--cream-50); color: var(--forest-900); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  letter-spacing: 0.01em;
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--brass-500); transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--forest-800);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
  background: var(--forest-800); color: var(--cream-50);
  z-index: 200; transform: translateX(100%);
  transition: transform .35s var(--ease);
  padding: 96px 34px 40px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: -30px 0 60px -30px rgba(0,0,0,.5);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--serif); font-size: 24px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
.menu-backdrop {
  position: fixed; inset: 0; background: rgba(31,44,32,.5); z-index: 150;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.menu-backdrop.open { opacity: 1; pointer-events: auto; }
.menu-close { position: absolute; top: 26px; right: 26px; background: none; border: none; color: var(--cream-50); cursor: pointer; }
.menu-close svg { width: 26px; height: 26px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  background: var(--forest-900);
  color: var(--cream-50);
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(94,122,63,.28), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(44,62,45,.9), transparent 55%);
  pointer-events: none;
}
.hero-frame {
  position: absolute; top: 100px; left: 20px; right: 20px; bottom: 20px;
  border: 1px solid var(--brass-600);
  opacity: .38;
  pointer-events: none;
}
.hero-frame::after {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--brass-600); opacity: .5;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}
.hero h1 .script { color: var(--brass-300); }
.hero .lede {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: rgba(246, 243, 236, 0.82);
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--line-dark);
  max-width: 620px;
}
.hero-stat { padding: 24px 22px 4px 0; }
.hero-stat:not(:first-child) { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.hero-stat .num {
  font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1;
  color: var(--cream-50); letter-spacing: -0.01em;
}
.hero-stat .num .u { color: var(--brass-300); }
.hero-stat .lbl {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(246,243,236,.6); margin-top: 8px; line-height: 1.4;
}

.hero-mark { display: flex; align-items: center; justify-content: center; }
.hero-mark .seal { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.hero-mark .seal::before,
.hero-mark .seal::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--brass-600); opacity: .5;
}
.hero-mark .seal::before { inset: 0; }
.hero-mark .seal::after { inset: 16px; opacity: .28; }
.hero-mark .shield { width: 120px; color: var(--cream-50); }
.hero-mark .ring-text { position: absolute; inset: 0; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-mark .ring-text text { font-family: var(--sans); font-size: 8.4px; letter-spacing: 0.32em; fill: var(--brass-300); text-transform: uppercase; font-weight: 600; }

/* =====================================================================
   SECTIONS (base)
   ===================================================================== */
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 84px 0; }
.section-dark { background: var(--forest-800); color: var(--cream-50); }
.section-deep { background: var(--forest-900); color: var(--cream-50); }
.section-sage { background: var(--cream-100); }

.sec-head { max-width: var(--maxw); margin: 0 auto 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em;
  color: var(--brass-600); text-transform: uppercase; font-weight: 600;
  display: block; margin-bottom: 18px;
}
.section-dark .sec-num, .section-deep .sec-num { color: var(--brass-500); }
.sec-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.03;
  letter-spacing: -0.015em; margin: 0; color: var(--ink-900);
  max-width: 20ch;
}
.center .sec-title { max-width: 26ch; margin-inline: auto; }
.section-dark .sec-title, .section-deep .sec-title { color: var(--cream-50); }
.sec-intro {
  margin: 20px 0 0; max-width: 60ch; color: var(--ink-700);
  font-size: 17px;
}
.center .sec-intro { margin-inline: auto; }
.section-dark .sec-intro, .section-deep .sec-intro { color: rgba(246,243,236,.8); }

/* =====================================================================
   SOBRE — missão / visão / valores
   ===================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch;
}
.mvv { display: grid; gap: 18px; }
.mvv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; position: relative;
}
.mvv-card h3 {
  font-family: var(--script); font-style: italic; font-weight: 600;
  font-size: 30px; color: var(--forest-800); margin: 0 0 8px;
}
.mvv-card p { margin: 0; color: var(--ink-700); font-size: 15.5px; }
.mvv-card .plus { position: absolute; top: 24px; right: 26px; font-family: var(--serif); color: var(--brass-500); font-size: 22px; line-height: 1; }
.valores-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.valor-chip {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 7px 15px 7px 13px; border-radius: 999px;
  background: var(--olive-200); color: var(--forest-800);
  display: inline-flex; align-items: center; gap: 8px;
}
.valor-chip::before { content: "+"; color: var(--brass-600); font-family: var(--serif); font-size: 15px; line-height: 0; }

.proposta {
  background: var(--forest-800); color: var(--cream-50);
  border-radius: var(--radius-lg); padding: 46px 44px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.proposta::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid var(--line-dark); border-radius: 12px; pointer-events: none;
}
.proposta .q-mark { font-family: var(--serif); font-size: 90px; line-height: .5; color: var(--brass-500); height: 40px; }
.proposta blockquote {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 33px);
  line-height: 1.32; margin: 18px 0 24px; font-weight: 500; letter-spacing: -0.01em;
}
.proposta blockquote em { font-family: var(--script); font-style: italic; color: var(--brass-300); }
.proposta cite {
  font-style: normal; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(246,243,236,.62); font-weight: 600;
}

/* =====================================================================
   DIFERENCIAIS
   ===================================================================== */
.dif-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.dif-item {
  background: var(--cream-50); padding: 34px 30px 38px;
  transition: background .25s var(--ease);
}
.dif-item:hover { background: #fff; }
.dif-item .ic {
  width: 40px; height: 40px; color: var(--olive-700); margin-bottom: 20px;
}
.dif-item .ic svg { width: 100%; height: 100%; }
.dif-item h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; margin: 0 0 8px; color: var(--ink-900); line-height: 1.15; }
.dif-item p { margin: 0; color: var(--ink-500); font-size: 14.5px; }

/* =====================================================================
   SERVIÇOS
   ===================================================================== */
.serv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.serv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 34px 36px; display: flex; gap: 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.serv-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(31,44,32,.4); border-color: var(--olive-300); }
.serv-card .serv-num {
  font-family: var(--mono); font-size: 12px; color: var(--brass-600); font-weight: 600;
  padding-top: 6px; letter-spacing: 0.1em;
}
.serv-card .serv-body h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 0 0 10px; line-height: 1.12; color: var(--forest-800); }
.serv-card .serv-body p { margin: 0; color: var(--ink-700); font-size: 15px; }
.serv-card .serv-body .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.serv-card .serv-body .tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--olive-700);
  background: var(--olive-200); padding: 4px 10px; border-radius: 6px;
}

/* =====================================================================
   METODOLOGIA — trilha de 7 passos
   ===================================================================== */
.metodo { position: relative; }
.metodo-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.metodo-step {
  background: rgba(246,243,236,.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 26px 24px 30px; position: relative;
}
.metodo-step .step-n {
  font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1;
  color: var(--brass-500); display: block; margin-bottom: 14px;
}
.metodo-step h3 { font-size: 16px; font-weight: 700; margin: 0; color: var(--cream-50); line-height: 1.35; letter-spacing: 0.01em; }
.metodo-step p { margin: 8px 0 0; font-size: 13.5px; color: rgba(246,243,236,.62); }
.metodo-step.final { background: var(--brass-500); border-color: var(--brass-500); }
.metodo-step.final .step-n { color: var(--forest-900); }
.metodo-step.final h3 { color: var(--forest-900); }
.metodo-step.final p { color: rgba(31,44,32,.72); }

/* =====================================================================
   RESULTADOS
   ===================================================================== */
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 40px 36px; position: relative; overflow: hidden;
}
.result-card .r-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.result-card .r-city { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--forest-800); }
.result-card .r-delta {
  font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5vw, 58px); line-height: 1;
  color: var(--olive-700); letter-spacing: -0.02em;
}
.result-card .r-delta .arrow { color: var(--brass-500); font-size: .6em; }
.r-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.r-year { }
.r-year .y-lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; margin-bottom: 10px; }
.r-bar-track { height: 10px; background: var(--cream-100); border-radius: 999px; overflow: hidden; }
.r-bar-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.3s var(--ease); }
.r-year.base .r-bar-fill { background: var(--olive-300); }
.r-year.now .r-bar-fill { background: var(--forest-800); }
.r-year .y-val { font-family: var(--mono); font-size: 13px; color: var(--ink-900); margin-top: 10px; font-weight: 500; }
.r-foot { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-500); border-top: 1px solid var(--line); padding-top: 18px; }
.r-foot .tax { font-weight: 600; color: var(--olive-700); }
.result-note { text-align: center; margin-top: 34px; font-size: 13.5px; color: var(--ink-500); }

/* =====================================================================
   BENEFÍCIOS (dark)
   ===================================================================== */
.benef-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benef-item { padding: 26px 22px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); position: relative; }
.benef-item .b-ic { width: 34px; height: 34px; color: var(--olive-300); margin-bottom: 18px; }
.benef-item .b-ic svg { width: 100%; height: 100%; }
.benef-item h3 { font-size: 16px; font-weight: 700; margin: 0; color: var(--cream-50); line-height: 1.3; }
.benef-item p { margin: 7px 0 0; font-size: 13px; color: rgba(246,243,236,.6); }
.benef-item.wide { grid-column: span 2; background: rgba(191,160,106,.10); border-color: var(--brass-600); }
.benef-item.wide .b-ic { color: var(--brass-300); }

/* =====================================================================
   TREINAMENTOS — Curso INTEGRA
   ===================================================================== */
.integra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.integra-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px 34px;
}
.integra-col h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--forest-800); margin: 0 0 20px; line-height: 1.2; }
.integra-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.integra-col li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-700); line-height: 1.45; }
.integra-col li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--brass-500); font-family: var(--serif); font-weight: 600; font-size: 17px; }
.integra-col li strong { color: var(--ink-900); font-weight: 700; }
.integra-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 40px;
  padding: 14px 24px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.integra-badge .k { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--forest-800); letter-spacing: 0.02em; }
.integra-badge .k b { color: var(--brass-600); }
.integra-badge .v { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; max-width: 28ch; line-height: 1.4; }

/* =====================================================================
   PORTAL
   ===================================================================== */
.portal { position: relative; overflow: hidden; }
.portal-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.portal-copy .lede { font-family: var(--serif); font-size: 20px; color: rgba(246,243,236,.85); line-height: 1.5; margin: 0 0 30px; max-width: 46ch; }
.portal-types { display: grid; gap: 12px; margin-bottom: 32px; }
.portal-type {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(246,243,236,.03); transition: border-color .25s var(--ease), background .25s var(--ease);
}
.portal-type:hover { border-color: var(--brass-600); background: rgba(191,160,106,.08); }
.portal-type .pt-ic { width: 34px; height: 34px; flex-shrink: 0; color: var(--brass-300); }
.portal-type .pt-ic svg { width: 100%; height: 100%; }
.portal-type h3 { font-size: 16px; font-weight: 700; margin: 2px 0 3px; color: var(--cream-50); }
.portal-type p { margin: 0; font-size: 13.5px; color: rgba(246,243,236,.62); }
.portal-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* portal mockup */
.portal-mock {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.1);
}
.pm-bar { background: var(--cream-100); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.pm-bar .d { width: 10px; height: 10px; border-radius: 50%; background: #cdc7b4; }
.pm-bar .u { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-500); background: var(--cream-50); border: 1px solid var(--line); padding: 4px 14px; border-radius: 999px; }
.pm-top { background: var(--forest-800); color: var(--cream-50); padding: 20px 22px 18px; }
.pm-top .pm-hi { font-size: 12px; letter-spacing: 0.04em; color: rgba(246,243,236,.7); }
.pm-top h4 { font-family: var(--serif); font-size: 22px; margin: 4px 0 0; font-weight: 500; }
.pm-search { margin-top: 14px; background: rgba(246,243,236,.14); border: 1px solid var(--line-dark); border-radius: 8px; padding: 9px 14px; font-size: 12.5px; color: rgba(246,243,236,.7); display: flex; align-items: center; gap: 8px; }
.pm-body { padding: 18px 22px 22px; }
.pm-body .pm-lbl { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; margin-bottom: 12px; }
.pm-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.pm-row:first-of-type { border-top: none; }
.pm-row .pm-t { font-weight: 600; font-size: 14px; color: var(--ink-900); }
.pm-row .pm-s { font-size: 11.5px; color: var(--ink-500); font-family: var(--mono); margin-top: 2px; }
.pm-status { font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.02em; white-space: nowrap; }
.st-aberta { background: #DCE6CD; color: #4F6730; }
.st-valid { background: #D3E0EC; color: #34536E; }
.st-aguard { background: #EDE3CD; color: #8A6A22; }
.st-resolv { background: var(--forest-800); color: var(--cream-50); }

/* =====================================================================
   PREFEITURAS
   ===================================================================== */
.pref-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pref-item {
  background: var(--cream-50); padding: 26px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px; justify-content: center;
  transition: background .25s var(--ease); min-height: 128px;
}
.pref-item:hover { background: #fff; }
.pref-item .pref-crest { width: 30px; height: 34px; color: var(--olive-500); }
.pref-item .pref-name { font-family: var(--serif); font-size: 16px; color: var(--ink-900); line-height: 1.2; font-weight: 500; }
.pref-item .pref-uf { font-size: 10px; letter-spacing: 0.18em; color: var(--ink-500); text-transform: uppercase; font-weight: 600; }

/* =====================================================================
   CONTATO
   ===================================================================== */
.contato-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; }
.contato-info .lede { font-family: var(--serif); font-size: 21px; color: var(--ink-700); line-height: 1.45; margin: 0 0 30px; max-width: 40ch; }
.contact-list { display: grid; gap: 4px; margin-bottom: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item .ci-ic { width: 22px; height: 22px; color: var(--olive-700); flex-shrink: 0; margin-top: 2px; }
.contact-item .ci-ic svg { width: 100%; height: 100%; }
.contact-item .ci-lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; margin-bottom: 3px; }
.contact-item .ci-val { font-size: 15.5px; color: var(--ink-900); font-weight: 500; }
.contact-item a.ci-val:hover { color: var(--olive-700); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--forest-800);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.social-row a:hover { background: var(--forest-800); color: var(--cream-50); border-color: var(--forest-800); }
.social-row a svg { width: 19px; height: 19px; }

.contato-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.contato-form h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--forest-800); margin: 0 0 6px; }
.contato-form .form-sub { font-size: 14px; color: var(--ink-500); margin: 0 0 26px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-700); font-weight: 700; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; color: var(--ink-900);
  border: 1px solid var(--line); background: var(--cream-50);
  padding: 13px 15px; border-radius: 8px; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(94,122,63,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contato-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--ink-500); margin-top: 14px; text-align: center; }
.form-status { margin: 14px 0 0; padding: 12px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 600; text-align: center; }
.form-status.sending { background: var(--cream-100); color: var(--ink-500); }
.form-status.ok { background: var(--olive-200); color: var(--forest-800); }
.form-status.err { background: #F0D6CB; color: #8C3520; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--forest-900); color: rgba(246,243,236,.72); padding: 72px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand .brand .logo { height: 56px; }
.footer-brand .brand .shield { color: var(--cream-50); }
.footer-brand .brand .brand-name { color: var(--cream-50); }
.footer-brand .brand .brand-tag { color: rgba(246,243,236,.55); }
.footer-brand p { font-size: 14px; max-width: 34ch; line-height: 1.6; margin: 0 0 22px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-500); font-weight: 700; margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: rgba(246,243,236,.72); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--cream-50); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 12.5px; color: rgba(246,243,236,.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom .fb-social { display: flex; gap: 14px; }
.footer-bottom .fb-social a:hover { color: var(--brass-300); }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { order: -1; }
  .hero-mark .seal { width: 200px; height: 200px; }
  .hero-mark .shield { width: 92px; }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .metodo-track { grid-template-columns: repeat(2, 1fr); }
  .benef-grid { grid-template-columns: repeat(2, 1fr); }
  .benef-item.wide { grid-column: span 2; }
  .integra-grid { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; gap: 44px; }
  .pref-grid { grid-template-columns: repeat(3, 1fr); }
  .contato-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  :root { --pad: 22px; }
  .nav-links, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .site-header:not(.scrolled) .nav-toggle { color: var(--cream-50); }
  .hero { padding: 130px 0 76px; }
  .hero-stats { grid-template-columns: 1fr; max-width: 100%; }
  .hero-stat, .hero-stat:not(:first-child) { padding: 20px 0; border-left: none; border-top: 1px solid var(--line-dark); }
  .hero-stats { border-top: none; }
  .section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: 1fr; }
  .metodo-track { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .benef-grid { grid-template-columns: 1fr; }
  .benef-item.wide { grid-column: span 1; }
  .pref-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .contato-form { padding: 28px 24px; }
  .proposta { padding: 34px 28px; }
}
