:root {
  /* Tons primários institucionais (Direito / Consultoria) */
  --blue-base: #1e40af;
  --blue-hover: #1d4ed8;
  --blue-dark: #0f172a;
  --blue-deep: #0a1225;

  --white: #ffffff;
  --surface-alt: #f8fafc;
  --light-blue: #f1f5f9;
  --border-subtle: #e2e8f0;

  --text-primary: #0f172a;
  --text-muted: #475569;

  --gold-accent: #b45309;
  --gold-hover: #92400e;
  --gold-subtle: #fef3c7;

  --hero-text: #eef2ff;
  --hero-muted: #a9b6d6;
  --hero-line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-primary);
}

.font-display {
  font-family: 'Fraunces', serif;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

::selection {
  background: var(--blue-base);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-base);
  outline-offset: 3px;
}

/* ---------- Logótipo Redondo ---------- */
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow .25s ease;
}

header.scrolled {
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand span {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 19px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.navlinks {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navlinks a {
  font-size: 14.5px;
  font-weight: 600;
  color: #cbd5e1;
  transition: color .15s ease;
}

.navlinks a:hover {
  color: #ffffff;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: max-height .35s ease;
}

.mobile-menu.open {
  max-height: 360px;
}

.mobile-menu a {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu .btn {
  margin: 14px 32px 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-base);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .1);
}

.btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(30, 64, 175, .3);
}

.btn:active {
  transform: translateY(0);
}

.btn.outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
  box-shadow: none;
}

.btn.outline:hover {
  border-color: var(--blue-base);
  color: var(--blue-base);
  background: #ffffff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 82% -10%, #16264a 0%, var(--blue-deep) 55%, #070c18 100%);
  padding: 104px 0 88px;
  overflow: hidden;
  isolation: isolate;
}

.hero-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0px, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 34px);
}

.hero-texture::after {
  content: "§";
  position: absolute;
  top: -6%;
  right: 2%;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 620px;
  line-height: 1;
  color: rgba(180, 83, 9, 0.07);
  user-select: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fcd34d;
  border-left: 2px solid #fcd34d;
  padding-left: 12px;
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: 24px;
}

h1.headline {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 50px);
  color: var(--hero-text);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.hero .lede {
  font-size: 16.5px;
  color: var(--hero-muted);
  max-width: 500px;
  margin: 22px 0 32px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero .btn.outline {
  background: transparent;
  color: var(--hero-text);
  border: 1.5px solid rgba(255, 255, 255, .28);
  box-shadow: none;
}

.hero .btn.outline:hover {
  border-color: #fcd34d;
  color: #fcd34d;
  background: transparent;
}

/* ---------- Faixa de credenciais ---------- */
.credential-rail {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--hero-line);
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credential-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--hero-text);
  letter-spacing: -0.01em;
}

.credential-label {
  font-size: 12px;
  color: var(--hero-muted);
  font-weight: 500;
}

.credential-divider {
  width: 1px;
  height: 34px;
  background: var(--hero-line);
  flex-shrink: 0;
}

.credential-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.seal-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px dashed #d69645;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  flex-shrink: 0;
}

.seal-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 10.5px;
  line-height: 1.2;
  text-align: center;
  color: #fcd34d;
}

.credential-seal .credential-label {
  text-align: center;
  max-width: 90px;
}

/* ---------- Form Card ---------- */
.form-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 38px 30px 30px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04);
  scroll-margin-top: 100px;
}

.form-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-accent);
  background: var(--gold-subtle);
  border: 1px solid #fde68a;
  padding: 5px 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.form-card h3 {
  font-family: 'Fraunces', serif;
  color: var(--text-primary);
  font-size: 22px;
  margin-bottom: 8px;
}

.form-card>p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-card input,
.form-card select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 6px;
  border: none;
  border-bottom: 1.5px solid var(--border-subtle);
  background: var(--surface-alt);
  color: var(--text-primary);
  font-family: 'Manrope';
  font-size: 14px;
  transition: border-color .18s ease, background .18s ease;
}

.form-card input::placeholder {
  color: #94a3b8;
}

.form-card input:focus,
.form-card select:focus {
  outline: none;
  border-bottom-color: var(--blue-base);
  background: #fff;
}

.form-card .btn {
  width: 100%;
  margin-top: 8px;
}

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* ---------- Section Headers ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 14px;
  line-height: 1.7;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Sobre ---------- */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}

.about-grid h2 {
  font-size: clamp(28px, 3.4vw, 36px);
}

.about-copy p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-copy p strong {
  color: var(--text-primary);
  font-weight: 700;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-accent);
  background: var(--gold-subtle);
  border: 1px solid #fde68a;
  padding: 6px 12px;
  border-radius: 6px;
}

/* --- Selo OAB (prova social) --- */
.oab-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--blue-dark);
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.oab-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 160% at 0% 0%, rgba(180, 83, 9, .18), transparent 60%);
  pointer-events: none;
}

.oab-icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(252, 211, 77, 0.12);
  border: 1px solid rgba(252, 211, 77, 0.35);
  color: #fcd34d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oab-icon svg {
  width: 24px;
  height: 24px;
}

.oab-content {
  position: relative;
  z-index: 1;
}

.oab-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fcd34d;
  margin-bottom: 8px;
}

.oab-quote {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 10px;
}

.oab-sub {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 600;
}

/* --- Foto da equipe --- */
.team-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .25);
  border: 1px solid var(--border-subtle);
}

.team-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.team-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 24px;
  background: linear-gradient(0deg, rgba(15, 23, 42, .88) 0%, rgba(15, 23, 42, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-caption-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}

.team-caption-sub {
  font-size: 12.5px;
  color: #cbd5e1;
}

.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mvv .card {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 26px 22px;
  background: var(--surface-alt);
}

.mvv .card:nth-child(2) {
  background: var(--blue-dark);
}

.mvv .card:nth-child(2) h4,
.mvv .card:nth-child(2) p {
  color: #fff;
}

.mvv .card:nth-child(2) p {
  color: rgba(255, 255, 255, .75);
}

.mvv .card:nth-child(3) {
  background: #1e3a8a;
}

.mvv .card:nth-child(3) h4,
.mvv .card:nth-child(3) p {
  color: #fff;
}

.mvv .card:nth-child(3) p {
  color: rgba(255, 255, 255, .8);
}

.mvv .card h4 {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.mvv .card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Soluções ---------- */
.solutions {
  padding: 100px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.sol-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  border: 1px solid var(--border-subtle);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sol-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, .08);
}

.sol-card.featured {
  border: 1.5px solid var(--blue-base);
  box-shadow: 0 18px 36px -14px rgba(30, 64, 175, .22);
  transform: translateY(-6px);
}

.sol-card.featured:hover {
  transform: translateY(-9px);
}

.sol-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--blue-base);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.sol-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sol-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.sol-card h3 {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.sol-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.sol-card a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sol-card a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

/* ---------- Processo (linha do tempo) ---------- */
.process {
  padding: 100px 0;
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 0 24px;
  position: relative;
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  padding-right: 0;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -2px;
  width: calc(100% - 48px);
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold-accent) 0 8px, transparent 8px 16px);
  opacity: .5;
}

.step-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-base);
  color: var(--blue-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 20px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Departamentos ---------- */
.depts {
  padding: 100px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.dept-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.dept-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
  cursor: pointer;
}

.dept-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dept-item-head h3 {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}

.dept-tag {
  font-size: 12.5px;
  color: var(--blue-base);
  font-weight: 700;
}

.dept-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease, background .2s ease, border-color .2s ease;
}

.dept-toggle svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-muted);
}

.dept-item.open .dept-toggle {
  transform: rotate(45deg);
  background: var(--blue-base);
  border-color: var(--blue-base);
}

.dept-item.open .dept-toggle svg {
  stroke: #fff;
}

.dept-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.dept-item.open .dept-body {
  max-height: 200px;
}

.dept-body p {
  color: var(--text-muted);
  font-size: 14.5px;
  padding-top: 12px;
  max-width: 760px;
  line-height: 1.7;
}

/* ---------- Nacional / Mapa ---------- */
.national {
  padding: 100px 0;
  background: #fff;
}

.national-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.national h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 16px;
}

.national p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.75;
}

.map-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 14px;
}

#map .state {
  cursor: pointer;
  outline: none;
}

#map .shape {
  fill: #dbe4f3 !important;
  stroke: #ffffff !important;
  stroke-width: 1.2px !important;
  transition: fill .2s ease;
}

#map .state:hover .shape {
  fill: #93b4ec !important;
}

#map .state.selected .shape {
  fill: var(--blue-base) !important;
  stroke: #0f172a !important;
  stroke-width: 1.6px !important;
}

#map .label_icon_state {
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 700;
  fill: #334155 !important;
  pointer-events: none;
}

#map .state.selected .label_icon_state {
  fill: #ffffff !important;
}

.map-caption {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.map-caption strong {
  color: var(--blue-base);
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 100px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 22px 26px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.faq-item.open {
  border-color: var(--blue-base);
  box-shadow: 0 4px 12px -4px rgba(30, 64, 175, .08);
}

.faq-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item-head h4 {
  font-family: 'Manrope';
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-plus {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 700;
  transition: transform .25s ease, background .2s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--blue-base);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-item.open .faq-a {
  max-height: 260px;
}

.faq-a p {
  padding-top: 14px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- CTA Final ---------- */
.cta-final {
  padding: 96px 0;
  background: #fff;
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 14px;
}

.cta-final p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.cta-final .btn.ghost-light {
  background: var(--blue-base);
  color: #fff;
}

.cta-final .btn.ghost-light:hover {
  background: var(--blue-hover);
}

/* ---------- Footer ---------- */
footer {
  background: var(--blue-dark);
  color: #94a3b8;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 32px;
  margin-bottom: 24px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand span {
  color: #fff;
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 17px;
}

.foot-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 14px;
  color: #94a3b8;
  transition: color .15s ease;
}

.foot-links a:hover {
  color: #ffffff;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-credit {
  color: #fbbf24;
  font-weight: 600;
}

.foot-credit:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal-stagger.in-view>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in-view>*:nth-child(1) {
  transition-delay: .05s;
}

.reveal-stagger.in-view>*:nth-child(2) {
  transition-delay: .12s;
}

.reveal-stagger.in-view>*:nth-child(3) {
  transition-delay: .18s;
}

.reveal-stagger.in-view>*:nth-child(4) {
  transition-delay: .24s;
}

.reveal-stagger.in-view>*:nth-child(5) {
  transition-delay: .30s;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .navlinks {
    display: none;
  }

  .btn-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .national-grid {
    grid-template-columns: 1fr;
  }

  .mvv,
  .sol-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .sol-card.featured {
    transform: none;
  }

  .process-step::after {
    display: none;
  }

  .process-step {
    padding: 0;
    margin-bottom: 28px;
  }

  .form-card {
    order: -1;
  }

  .credential-rail {
    gap: 18px;
  }

  .hero-texture::after {
    font-size: 340px;
  }

  .oab-card {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  .nav {
    padding: 14px 20px;
  }

  .hero {
    padding: 56px 0 44px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .credential-rail {
    gap: 16px 22px;
  }

  .credential-num {
    font-size: 24px;
  }

  .hero-texture::after {
    display: none;
  }

  .about,
  .solutions,
  .process,
  .depts,
  .national,
  .faq,
  .cta-final {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .about-grid {
    gap: 36px;
    margin-bottom: 36px;
  }

  .foot-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .foot-links {
    justify-content: center;
    gap: 16px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .dept-item-head h3 {
    font-size: 17px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .faq-item {
    padding: 18px 18px;
  }

  .faq-item-head h4 {
    font-size: 15px;
  }

  .faq-list {
    gap: 12px;
  }
}

/* --- NAVBAR: Ícone do Instagram --- */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-instagram {
  color: #ffffff !important;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-instagram:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

/* --- FOOTER: Estrutura e Endereço --- */
.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.foot-address {
  font-style: normal;
  text-align: left;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 auto;

}

.foot-address p {
  margin: 0.15rem 0;
}

.footer-social-link {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #ffffff;
}

/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  font-size: 32px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
}