/* ══════════════════════════════════════════════════
   THE TRUSTED ADVISOR — trusted.css
   Navy · Ice · Emerald  |  Manrope + DM Serif Display
   ══════════════════════════════════════════════════ */

:root {
  /* Palette */
  --navy:       #0F2456;
  --navy-2:     #162d6a;
  --navy-3:     #0a1a3e;
  --ice:        #F7F9FC;
  --ice-2:      #EEF2F8;
  --ice-3:      #e2e8f2;
  --emerald:    #059669;
  --emerald-h:  #047857;
  --emerald-lt: #d1fae5;
  --gold:       #B8882A;
  --white:      #ffffff;
  --text:       #1A2540;
  --text-muted: #64748B;
  --text-dim:   #94A3B8;
  --border:     #DDE3EE;
  --border-2:   #C8D4E8;
  --error:      #DC2626;

  /* Typography */
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,36,86,0.06), 0 1px 2px rgba(15,36,86,0.04);
  --shadow-md: 0 4px 16px rgba(15,36,86,0.09), 0 2px 6px rgba(15,36,86,0.05);
  --shadow-lg: 0 12px 40px rgba(15,36,86,0.12), 0 4px 12px rgba(15,36,86,0.06);
  --shadow-xl: 0 24px 60px rgba(15,36,86,0.15);
}

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--emerald);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }

/* ── TYPOGRAPHY TOKENS ──────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.85rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}
.section-tag--light { color: rgba(255,255,255,0.7); }
.section-tag--light::before { background: rgba(255,255,255,0.5); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  color: var(--emerald);
}
.section-title--light { color: var(--white); }
.section-title--light em { color: rgba(255,255,255,0.75); }

.section-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}
.section-desc--light { color: rgba(255,255,255,0.65); }

.section-head { margin-bottom: 3.5rem; }
.section-head--light .section-title { color: var(--white); }

/* ── BUTTONS ────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--emerald);
  color: var(--white);
  border-radius: 6px;
  border: 2px solid var(--emerald);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--emerald-h); border-color: var(--emerald-h); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(5,150,105,0.28); }
.btn-cta:active { transform: none; }
.btn-cta--lg { padding: 1rem 2.2rem; font-size: 0.92rem; }
.btn-cta--full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: var(--white); }

/* Dark variant */
.btn-outline.dark {
  color: var(--navy);
  border-color: var(--border-2);
}
.btn-outline.dark:hover { background: var(--ice-2); border-color: var(--navy); }

/* ══════════════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: var(--navy-3);
  color: var(--white);
  border-top: 3px solid var(--emerald);
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-banner__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
  min-width: 240px;
}
.cookie-banner__text svg { flex-shrink: 0; margin-top: 2px; color: var(--emerald); }
.cookie-banner__text a { color: var(--emerald); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 5px;
  border: 1.5px solid;
  transition: all 0.2s;
}
.cookie-btn--accept { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.cookie-btn--accept:hover { background: var(--emerald-h); }
.cookie-btn--reject { background: transparent; color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.25); }
.cookie-btn--reject:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  transition: padding 0.4s;
}
.nav.scrolled .nav__inner { padding-top: 0.9rem; padding-bottom: 0.9rem; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.3s;
}
.nav.scrolled .nav__logo { color: var(--text); }
.nav__logo strong { font-weight: 800; }
.nav__logo-mark {
  width: 34px; height: 34px;
  background: var(--emerald);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav__link {
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.25s;
  position: relative;
}
.nav.scrolled .nav__link { color: var(--text-muted); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  transition: right 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav.scrolled .nav__link:hover { color: var(--navy); }
.nav__link:hover::after { right: 0; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}
.nav__portal {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 0.5rem 0.9rem;
  border-radius: 5px;
  transition: all 0.25s;
  white-space: nowrap;
}
.nav.scrolled .nav__portal { color: var(--navy); border-color: var(--border-2); }
.nav__portal:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: var(--white); }
.nav.scrolled .nav__portal:hover { background: var(--ice-2); border-color: var(--navy); color: var(--navy); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s, width 0.3s, background 0.3s;
  transform-origin: center;
}
.nav.scrolled .nav__burger span { background: var(--navy); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img { object-position: center 30%; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,26,62,0.88) 0%,
    rgba(15,36,86,0.75) 55%,
    rgba(15,36,86,0.45) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: flex-end;
  padding-bottom: 5rem;
  padding-top: 2rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-lt);
  background: rgba(5,150,105,0.15);
  border: 1px solid rgba(5,150,105,0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 680px;
}
.hero__title em { font-style: italic; color: rgba(255,255,255,0.75); display: block; }
.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: center;
  background: rgba(15,36,86,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  min-width: 200px;
  flex-shrink: 0;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero__stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.hero__stat + .hero__stat { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }

/* ══════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════ */
.trust-bar {
  background: var(--navy);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.trust-item svg { color: var(--emerald); flex-shrink: 0; }
.trust-sep { color: rgba(255,255,255,0.2); font-size: 0.8rem; }

/* ══════════════════════════════════════════════════
   POR QUE NÓS
══════════════════════════════════════════════════ */
.porque { padding: var(--section-pad) 0; background: var(--ice); }
.porque__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.porque-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.porque-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.porque-card__icon {
  width: 48px; height: 48px;
  background: var(--ice-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 0.25rem;
  transition: background 0.3s;
}
.porque-card:hover .porque-card__icon { background: var(--emerald-lt); color: var(--emerald); }
.porque-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.porque-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════
   SERVIÇOS
══════════════════════════════════════════════════ */
.servicos { padding: var(--section-pad) 0; background: var(--navy); }
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--emerald);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease);
}
.service-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__num {
  position: absolute;
  top: 1.75rem; right: 1.75rem;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  font-family: var(--font-display);
  line-height: 1;
}
.service-card__icon { width: 44px; height: 44px; color: var(--emerald); }
.service-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--white); }
.service-card > p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.75; }
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
}
.service-card__list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  padding-left: 1rem;
  position: relative;
}
.service-card__list li::before { content: '—'; position: absolute; left: 0; color: var(--emerald); font-size: 0.7rem; }
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-top: 0.5rem;
  transition: gap 0.25s;
}
.service-card:hover .service-card__cta { gap: 0.7rem; }

/* ══════════════════════════════════════════════════
   CALENDÁRIO FISCAL
══════════════════════════════════════════════════ */
.calendario { padding: var(--section-pad) 0; background: var(--white); }
.calendario__layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.calendario__month-nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.calendario__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  min-width: 220px;
  text-align: center;
}
.cal-arrow {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.cal-arrow:hover { border-color: var(--navy); color: var(--navy); background: var(--ice); }
.calendario__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cal-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cal-item:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.cal-item--urgent { border-color: #FCA5A5; background: #FFF5F5; }
.cal-item--soon   { border-color: #FDE68A; background: #FFFBEB; }
.cal-item--ok     { border-color: #A7F3D0; background: #F0FDF9; }
.cal-item__day {
  text-align: center;
  background: var(--ice-2);
  border-radius: 6px;
  padding: 0.4rem;
  line-height: 1.2;
}
.cal-item--urgent .cal-item__day { background: #FEE2E2; }
.cal-item--soon   .cal-item__day { background: #FEF3C7; }
.cal-item--ok     .cal-item__day { background: #D1FAE5; }
.cal-item__day-num { display: block; font-size: 1.2rem; font-weight: 800; line-height: 1; }
.cal-item__day-mon { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.cal-item__name { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.15rem; }
.cal-item__desc { font-size: 0.75rem; color: var(--text-muted); }
.cal-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}
.cal-badge--urgent { background: #FEE2E2; color: var(--error); }
.cal-badge--soon   { background: #FEF3C7; color: #92400E; }
.cal-badge--ok     { background: #D1FAE5; color: var(--emerald-h); }

.calendario__cta-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  grid-column: 2;
  grid-row: 2;
}
.calendario__cta-box p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; }
.calendario__cta-box strong { color: var(--white); }

/* ══════════════════════════════════════════════════
   CALCULADORAS
══════════════════════════════════════════════════ */
.calculadoras { padding: var(--section-pad) 0; background: var(--navy); }
.calc__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0.3rem;
  width: fit-content;
}
.calc__tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  border-radius: 6px;
  transition: all 0.25s;
}
.calc__tab:hover { color: rgba(255,255,255,0.85); }
.calc__tab.active { background: var(--emerald); color: var(--white); }
.calc__panels {}
.calc__panel { display: none; }
.calc__panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.calc__form { display: flex; flex-direction: column; gap: 1.25rem; }
.calc__fields { display: flex; flex-direction: column; gap: 1rem; }

.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.calculadoras .field-group label { color: rgba(255,255,255,0.65); }
.contato__form .field-group label { color: var(--text-muted); }
.field-group small { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.contato__form .field-group small { color: var(--text-dim); }

.field-group input,
.field-group select,
.field-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}
.calculadoras .field-group input,
.calculadoras .field-group select {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: var(--white);
}
.calculadoras .field-group input::placeholder { color: rgba(255,255,255,0.3); }
.calculadoras .field-group input:focus,
.calculadoras .field-group select:focus { border-color: var(--emerald); background: rgba(255,255,255,0.1); }
.calculadoras .field-group select option { background: var(--navy); color: var(--white); }

.calc__result {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fadeUp 0.4s var(--ease);
}
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.calc__result h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.calc__result-grid { display: flex; flex-direction: column; gap: 0.6rem; }
.calc__result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}
.calc__result-row span:last-child { font-weight: 600; color: var(--white); }
.calc__result-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  background: rgba(5,150,105,0.15);
  border: 1px solid rgba(5,150,105,0.3);
  border-radius: 8px;
}
.calc__result-total span { font-size: 0.78rem; color: rgba(255,255,255,0.65); font-weight: 600; }
.calc__result-total strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); }
.calc__disclaimer { font-size: 0.72rem; color: rgba(255,255,255,0.35); line-height: 1.5; }

/* ══════════════════════════════════════════════════
   PORTAL
══════════════════════════════════════════════════ */
.portal { padding: var(--section-pad) 0; background: var(--ice); }
.portal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.portal__text .section-title { color: var(--text); }
.portal__text > p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin: 1.25rem 0 1.75rem; }
.portal__features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.portal__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.portal__features svg { color: var(--emerald); flex-shrink: 0; }

.portal__visual { display: flex; justify-content: center; }
.portal__mockup {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
}
.mockup__bar {
  background: var(--navy);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.mockup__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup__content { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.mockup__row { display: flex; gap: 1rem; align-items: center; }
.mockup__label { height: 10px; flex: 1; background: var(--ice-3); border-radius: 100px; }
.mockup__val { height: 10px; width: 80px; background: var(--ice-2); border-radius: 100px; }
.mockup__val--short { width: 50px; }
.mockup__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}
.mockup__chart div {
  flex: 1;
  background: linear-gradient(to top, var(--navy), var(--emerald));
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
}
.mockup__badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-lt);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════
   SOBRE
══════════════════════════════════════════════════ */
.sobre { padding: var(--section-pad) 0; background: var(--white); }
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.sobre__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.sobre__img-wrap img { object-position: center; }
.sobre__cert {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-lg);
}
.sobre__cert svg { color: var(--gold); flex-shrink: 0; }
.sobre__cert span { font-size: 0.8rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.sobre__cert small { font-weight: 500; color: var(--text-muted); font-size: 0.7rem; }
.sobre__content > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-top: 1.25rem; }
.sobre__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.sobre__pillar strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.sobre__pillar p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════
   BLOG
══════════════════════════════════════════════════ */
.blog { padding: var(--section-pad) 0; background: var(--ice); }
.blog__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.blog-card__img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { transition: transform 0.7s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__cat {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
}
.blog-card__body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-card__date { font-size: 0.72rem; color: var(--text-dim); font-weight: 500; }
.blog-card__body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; line-height: 1.35; }
.blog-card__body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--emerald);
  transition: gap 0.25s;
}
.blog-card:hover .blog-card__link { gap: 0.7rem; }

.blog__side { display: flex; flex-direction: column; gap: 0.75rem; }
.blog-card-sm {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  transition: border-color 0.25s, background 0.25s;
}
.blog-card-sm:hover { border-color: var(--border-2); background: var(--ice); }
.blog-card__cat--sm {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.blog-card__cat--mei   { background: #047857; }
.blog-card__cat--fiscal { background: var(--gold); color: white; }
.blog-card-sm h4 { font-size: 0.85rem; font-weight: 600; line-height: 1.4; color: var(--text); margin-top: 0.2rem; }
.blog-card-sm .blog-card__date { font-size: 0.68rem; color: var(--text-dim); display: block; margin-top: 0.3rem; }

.blog__all { text-align: center; }

/* ══════════════════════════════════════════════════
   CONTATO
══════════════════════════════════════════════════ */
.contato { padding: var(--section-pad) 0; background: var(--navy); }
.contato__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contato__info { display: flex; flex-direction: column; gap: 2.5rem; }
.contato__block h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 0.85rem; }
.contato__block p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.75; }
.contato__block strong { color: var(--white); }
.contato__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald);
  margin-top: 0.6rem;
  transition: gap 0.25s;
}
.contato__map-link:hover { gap: 0.7rem; }
.contato__emails { display: flex; flex-direction: column; gap: 0.5rem; }
.contato__email-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.25s;
}
.contato__email-item:hover { color: rgba(255,255,255,0.9); }
.contato__dept {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.contato__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: #25D366;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s;
  width: fit-content;
}
.contato__wa:hover { background: #1db857; transform: translateY(-1px); }

/* FORM */
.contato__form {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-xl);
}
.contato__form-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--text); margin-bottom: 0.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contato__form .field-group label { color: var(--text-muted); }
.contato__form .field-group input,
.contato__form .field-group select,
.contato__form .field-group textarea {
  background: var(--ice);
  border: 1.5px solid var(--border);
  color: var(--text);
  resize: vertical;
}
.contato__form .field-group input::placeholder,
.contato__form .field-group textarea::placeholder { color: var(--text-dim); }
.contato__form .field-group input:focus,
.contato__form .field-group select:focus,
.contato__form .field-group textarea:focus { border-color: var(--navy); background: var(--white); }
.contato__form .field-group input.error,
.contato__form .field-group select.error { border-color: var(--error); }

.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--emerald); cursor: pointer; }
.form-check label { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.form-check label a { color: var(--emerald); text-decoration: underline; }
.form-privacy { font-size: 0.75rem; color: var(--text-dim); text-align: center; min-height: 1rem; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer { background: var(--navy-3); border-top: 1px solid rgba(255,255,255,0.06); padding: 4rem 0 2rem; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.75rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}
.footer__logo strong { font-weight: 800; }
.footer__brand > p { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer__socials { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.footer__socials a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.45);
  transition: all 0.25s;
}
.footer__socials a:hover { border-color: var(--emerald); color: var(--emerald); }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; }
.footer__col a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__lgpd { display: flex; align-items: center; gap: 0.4rem; }
.footer__lgpd svg { color: var(--emerald); }

/* ══════════════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 490;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: var(--white);
  border-radius: 100px;
  padding: 0.85rem 1.3rem 0.85rem 1rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.wa-float__pulse {
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.3); opacity: 0; } }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .porque__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; justify-content: space-around; width: 100%; }
  .hero__stat + .hero__stat { border-top: none; border-left: 1px solid rgba(255,255,255,0.08); padding-top: 0; padding-left: 1.5rem; }
  .servicos__grid { grid-template-columns: 1fr; }
  .calc__panel.active { grid-template-columns: 1fr; }
  .portal__inner { grid-template-columns: 1fr; gap: 3rem; }
  .sobre__inner { grid-template-columns: 1fr; gap: 3rem; }
  .sobre__img-wrap { aspect-ratio: 16/9; max-height: 380px; }
  .blog__grid { grid-template-columns: 1fr; }
  .contato__layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top { grid-template-columns: 1fr; gap: 3rem; }
  .calendario__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .calendario__cta-box { grid-column: 1; grid-row: auto; }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    inset: 0;
    background: var(--navy-3);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 495;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; color: rgba(255,255,255,0.75) !important; }
  .nav__portal { display: none; }
  .nav__right .btn-cta { display: none; }
  .nav__burger { display: flex; }

  .hero__stats { padding: 1.25rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .wa-float__label { display: none; }
  .wa-float { padding: 1rem; border-radius: 50%; }
  .trust-sep { display: none; }
  .trust-bar__inner { justify-content: flex-start; gap: 0.75rem 1.25rem; }
  .sobre__pillars { grid-template-columns: 1fr; }
  .calc__tabs { flex-direction: column; width: 100%; }
}

@media (max-width: 480px) {
  .porque__grid { grid-template-columns: 1fr; }
  .hero__stat + .hero__stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.25rem; padding-left: 0; }
  .hero__stats { flex-direction: column; }
  .footer__links { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════ */
@media print {
  .nav, .wa-float, .cookie-banner { display: none; }
  body { background: white; color: black; }
}

/* ══════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
