/* ============================
   TOKENS & RESET
   ============================ */
:root {
  /* Paleta extraída do design original (Canva/FireShot) */
  --clr-yellow: #f8e752;
  --clr-yellow-mid: #ffde59;
  --clr-yellow-dark: #e0c800;
  --clr-yellow-pale: #fffde8;
  --clr-green: #87be46;
  --clr-green-dark: #5a9a1a;
  --clr-green-light: #e8f5d6;
  --clr-wpp: #25D366;
  --clr-wpp-dark: #128C7E;

  --clr-bg: #f9f9f6;
  --clr-surface: #ffffff;
  --clr-border: #ece8c8;
  --clr-text: #1a1a1a;
  --clr-text-muted: #666666;
  --clr-text-light: #999999;

  --radius-sm: .5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .05);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .06);
  --shadow-yellow: 0 4px 20px rgba(248, 231, 82, .5);

  --transition: .24s cubic-bezier(.4, 0, .2, 1);

  --font-main: 'Inter', system-ui, sans-serif;
  --font-display: 'Quicksand', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================
   LAYOUT
   ============================ */
.container {
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 2.5rem;
}

/* ============================
   HEADER
   ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--clr-yellow);
  box-shadow: 0 2px 12px rgba(248, 231, 82, .18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-divider {
  width: 1px;
  height: 36px;
  background: #d1d5db;
  flex-shrink: 0;
  margin-inline: .25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--clr-text);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: .68rem;
  color: var(--clr-text-muted);
  letter-spacing: .02em;
  font-weight: 400;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-link {
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: all var(--transition);
}

.nav-link:hover {
  background: var(--clr-yellow-pale);
  color: var(--clr-text);
}

.nav-wpp {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--clr-wpp);
  color: #fff !important;
  padding: .48rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  transition: all var(--transition);
}

.nav-wpp:hover {
  background: var(--clr-wpp-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}

/* ============================
   HERO — gradiente amarelo/branco como original
   ============================ */
.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fff8cc 0%, #fffef5 60%, #ffffff 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem 3rem;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo mark grande no hero */
.hero-logo-mark {
  margin-bottom: 1.5rem;
  animation: fadeIn .5s ease both;
}

.hero-logo-mark img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* == 1. MUNICÍPIO == */
.hero-municipio {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.2rem, 5.5vw, 2.4rem);
  font-weight: 300;
  color: #334155;
  letter-spacing: .35em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: slideUp .5s ease both .1s;
  cursor: default;
  white-space: nowrap;
  /* Impede quebra de linha */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}

.hero-municipio span {
  display: inline;
  /* Garante que o estado fique na mesma linha */
}

.hero-municipio:hover {
  letter-spacing: .85em;
  color: #1e293b;
  text-shadow: 0 2px 24px rgba(51, 65, 85, .18);
}

.hero-municipio span {
  color: #94a3b8;
  font-weight: 300;
  transition: color .35s ease;
}

.hero-municipio:hover span {
  color: #64748b;
}

/* == 2 & 3. BLOCO DE INFORMAÇÕES == */
.hero-info-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 235, 0.9) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 0;
  animation: slideUp .5s ease both .2s;
  width: 100%;
  margin-inline: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.hero-info-block:hover {
  border-color: rgba(200, 150, 12, .5);
  box-shadow: 0 12px 40px rgba(200, 150, 12, .18),
    0 2px 8px rgba(0, 0, 0, .05);
  transform: translateY(-3px);
}

.hero-info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  padding: 1.25rem 2.5rem;
  transition: background .25s ease;
}

.hero-info-row:first-child {
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.hero-info-row:hover {
  background: rgba(255, 248, 204, .5);
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4af37;
  /* Dourado/Amarelo da referência */
  flex-shrink: 0;
}

.hero-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Valor CODEVASF específico */
.hero-info-row:first-child .hero-value {
  color: #d4af37;
  background: none;
  -webkit-text-fill-color: initial;
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-info-row:last-child .hero-value {
  color: #1e293b;
  font-weight: 800;
}

.hero-value-group {
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

.hero-value-desc {
  font-size: .8rem;
  font-weight: 400;
  color: #64748b;
  letter-spacing: .01em;
  text-transform: none;
  line-height: 1.4;
}

/* == BOTÃO CHECKLIST == */
.hero-actions {
  margin-top: 3rem;
  animation: slideUp .5s ease both .3s;
}

.btn-checklist {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  color: #334155;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-checklist svg {
  color: #d4af37;
}

.btn-checklist:hover {
  background: #ffffff;
  border-color: #d4af37;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2), 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #1e293b;
}

/* ============================
   OVERVIEW CARDS (Fases)
   ============================ */
.overview {
  padding-block: 2.5rem 1rem;
}

.phase-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.phase-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-yellow);
}

.phase-card--2::before {
  background: linear-gradient(90deg, var(--clr-yellow), var(--clr-green));
}

.phase-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--clr-yellow-mid);
}

.phase-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-yellow-dark);
  line-height: 1;
  min-width: 60px;
  letter-spacing: -.03em;
}

.phase-info {
  flex: 1;
  min-width: 0;
}

.phase-info h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: .2rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.phase-info p {
  font-size: .78rem;
  color: var(--clr-text-muted);
  letter-spacing: .02em;
}

.phase-status {
  margin-left: auto;
  flex-shrink: 0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
}

.status-ok {
  background: var(--clr-green-light);
  color: var(--clr-green-dark);
}

.status-pending {
  background: #fff8e1;
  color: #a16207;
}

/* ============================
   SECTION
   ============================ */
.section {
  padding-block: 3rem 2rem;
}

.section--alt {
  background: linear-gradient(160deg, var(--clr-yellow-pale) 0%, #ffffff 70%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding-inline: 2rem;
  margin-block: .5rem;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-phase-badge {
  display: inline-block;
  background: var(--clr-yellow);
  color: #000;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: .8rem;
  box-shadow: 0 2px 8px rgba(248, 231, 82, .5);
}

.section-phase-badge--2 {
  background: linear-gradient(90deg, var(--clr-yellow), var(--clr-green));
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: .45rem;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.section-desc {
  font-size: .92rem;
  color: var(--clr-text-muted);
  max-width: 620px;
  line-height: 1.75;
}

.inline-link {
  color: var(--clr-green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.inline-link:hover {
  color: var(--clr-green);
}

/* ============================
   DIVIDER
   ============================ */
.divider {
  height: 2px;
  background: linear-gradient(90deg, var(--clr-yellow), var(--clr-yellow-mid), transparent);
  border-radius: 2px;
  margin-block: 2rem;
  opacity: .6;
}

/* ============================
   DOCUMENT LIST
   — estilo fiel ao original: faixas amarelas + ícone verde
   ============================ */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(90deg, #fff8cc 0%, #fffef5 35%, #ffffff 100%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: .9rem 1rem .9rem 1rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
  position: relative;
}

.doc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--clr-yellow-dark);
  border-radius: 4px 0 0 4px;
}

.doc-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--clr-yellow-mid);
}

.doc-item--highlight {
  background: linear-gradient(90deg, var(--clr-green-light) 0%, #f0fae5 30%, #ffffff 100%);
  border-color: var(--clr-green);
}

.doc-item--highlight::before {
  background: var(--clr-green);
}

.doc-number {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  color: #555;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}

.doc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.doc-name {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--clr-text);
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-date {
  font-size: .75rem;
  color: var(--clr-text-muted);
  letter-spacing: .02em;
}

.doc-actions {
  flex-shrink: 0;
  margin-left: auto;
}

/* Ícone de documento verde (como no original) */
.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--clr-surface);
  color: var(--clr-green-dark);
  border: 1.5px solid var(--clr-green);
  font-size: .78rem;
  font-weight: 700;
  padding: .48rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.btn-doc svg {
  color: var(--clr-green);
  flex-shrink: 0;
}

.btn-doc:hover {
  background: var(--clr-green);
  color: #fff;
  border-color: var(--clr-green);
  box-shadow: 0 4px 14px rgba(135, 190, 70, .4);
  transform: translateY(-1px);
}

.btn-doc:hover svg {
  color: #fff;
}

.btn-doc--primary {
  background: var(--clr-yellow);
  color: #000;
  border-color: var(--clr-yellow-dark);
}

.btn-doc--primary svg {
  color: #333;
}

.btn-doc--primary:hover {
  background: var(--clr-yellow-dark);
  color: #000;
  border-color: var(--clr-yellow-dark);
  box-shadow: var(--shadow-yellow);
}

.badge-no-link {
  display: inline-flex;
  align-items: center;
  font-size: .73rem;
  color: var(--clr-text-light);
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: .42rem .85rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: .03em;
}

/* ============================
   CONTATO
   ============================ */
.section-contact {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  margin-top: 3rem;
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: var(--clr-yellow);
  border-radius: 50%;
  opacity: .07;
}

.section-contact::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: var(--clr-green);
  border-radius: 50%;
  opacity: .06;
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.contact-text h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.contact-text p {
  font-size: .92rem;
  color: rgba(255, 255, 255, .65);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--clr-wpp);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: .875rem 2rem;
  border-radius: var(--radius-md);
  letter-spacing: .03em;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, .3);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: var(--clr-wpp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .45);
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #fff;
  padding-block: 2rem 2.5rem;
  border-top: 2px solid #eee;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

/* Linha de logos: ícone + foto */
.footer-logos {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-logo-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Foto circular com badge WhatsApp */
.footer-photo-link {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.footer-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  transition: border-color var(--transition), transform var(--transition);
}

.footer-wpp-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  background: var(--clr-wpp);
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-copy {
  font-size: .82rem;
  color: #aaa;
  letter-spacing: .02em;
}

.footer-photo-link:hover .footer-photo {
  border-color: var(--clr-wpp);
  transform: scale(1.06);
}

.fab-wpp:hover .fab-logo {
  transform: scale(1.1) rotate(-4deg);
  border-color: var(--clr-wpp);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .5);
}

.fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--clr-yellow);
  animation: pulse-ring 2.5s infinite;
  z-index: 1;
}

/* ============================
   BUSCA DE DOCUMENTOS
   ============================ */
.search-bar-wrapper {
  padding-block: 1.5rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: 100px;
  padding: .6rem 1.2rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.search-bar:focus-within {
  border-color: #c8960c;
  box-shadow: 0 0 0 3px rgba(200, 150, 12, .12), var(--shadow-sm);
}

.search-bar svg {
  flex-shrink: 0;
  color: #aaa;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .9rem;
  color: var(--clr-text);
  background: transparent;
  font-family: var(--font-body);
}

.search-input::placeholder {
  color: #bbb;
}

.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: color .2s ease;
}

.search-clear:hover {
  color: #555;
}

.search-count {
  font-size: .78rem;
  color: var(--clr-text-muted);
  letter-spacing: .04em;
  min-height: 1.2em;
}

.doc-item--hidden {
  display: none !important;
}

/* ============================
   BOTÃO VOLTAR AO TOPO
   ============================ */
.btn-backtop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #334155;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease,
    background .2s ease, border-color .2s ease,
    box-shadow .2s ease;
}

.btn-backtop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-backtop:hover {
  background: #f8f9fa;
  border-color: #c8960c;
  box-shadow: 0 6px 24px rgba(200, 150, 12, .2);
  color: #c8960c;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0)
  }

  50% {
    transform: rotate(45deg) translateY(6px)
  }
}

@keyframes pulse-ring {
  0% {
    opacity: .8;
    transform: scale(1)
  }

  70% {
    opacity: 0;
    transform: scale(1.4)
  }

  100% {
    opacity: 0;
    transform: scale(1.4)
  }
}

/* Scroll-reveal defaults */
.doc-item,
.phase-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease,
    box-shadow var(--transition), border-color var(--transition),
    background var(--transition);
}

.doc-item.visible,
.phase-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .header-inner {
    height: 80px;
    /* Aumentado para acomodar texto maior em duas linhas */
  }

  .logo-text {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }

  .logo-title {
    font-size: 1.25rem;
    /* Aumentado de 1.15rem */
    line-height: 1;
    font-weight: 800;
  }

  .logo-sub {
    font-size: 0.75rem;
    /* Aumentado de 0.65rem */
    line-height: 1.25;
    letter-spacing: 0.01em;
    max-width: 220px;
    /* Força a quebra em duas linhas de forma elegante */
    font-weight: 500;
  }

  .logo-divider {
    height: 40px;
    margin-inline: 0.6rem;
  }

  .nav-link:not(.nav-wpp) {
    display: none;
  }

  .hero {
    min-height: 340px;
  }

  .hero-content {
    padding-block: 3rem 2.5rem;
  }

  .section--alt {
    padding-inline: 1rem;
    border-radius: var(--radius-lg);
  }

  .doc-item {
    flex-wrap: wrap;
    gap: .6rem;
  }

  .doc-info {
    flex: 1 1 180px;
  }

  .doc-name {
    white-space: normal;
  }

  .doc-actions {
    margin-left: 0;
    width: 100%;
  }

  .btn-doc,
  .badge-no-link {
    width: 100%;
    justify-content: center;
  }

  .contact-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info {
    align-items: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-info-row {
    grid-template-columns: 85px 1fr;
    /* Mais espaço para o valor, menos para o rótulo */
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    text-align: left;
  }

  .hero-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .hero-value {
    font-size: 1rem;
    line-height: 1.25;
  }

  .hero-info-row:first-child .hero-value {
    font-size: 1.15rem;
  }

  .hero-value-desc {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .btn-checklist {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.88rem;
  }

  .container {
    padding-inline: 0.75rem;
    /* Margens mínimas para aproveitar a tela lateralmente */
  }

  /* Aproveitamento total de tela para os cards */
  .doc-item,
  .phase-card {
    padding: 1rem !important;
    margin-inline: 0;
    width: 100%;
  }

  .hero-info-block {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hero-municipio {
    font-size: 1.55rem;
    /* Aumentado consideravelmente */
    letter-spacing: 0.12em;
    /* Reduzido para caber em uma linha */
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.1rem;
    /* Ajustado para caber em uma linha no mobile */
    letter-spacing: -0.02em;
  }

  .hero-info-row {
    grid-template-columns: 75px 1fr;
    padding: 0.9rem 1rem;
  }

  .logo-divider {
    display: none;
    /* Remove o divisor em telas minúsculas para dar espaço ao texto */
  }

  .logo-title {
    font-size: 1rem;
    /* Aumentado de 0.85rem */
  }

  .logo-sub {
    font-size: 0.6rem;
    /* Aumentado de 0.52rem */
    max-width: 100%;
  }

  .phase-cards {
    grid-template-columns: 1fr;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .btn-process {
    width: 100%;
    justify-content: center;
  }
}