:root {
  --verde-escuro: #032540; /* cor principal (esquerda) */
  --verde-claro: #2a6c86; /* cor secundária (direita) - atualizada para corresponder ao anexo */
  --dourado: #c9a46b;
  --areia: #f5f0e6;
  --cinza-claro: #f6f7f9;
  --cinza-escuro: #3b3e45;
  --branco: #ffffff;
  --nav-altura: 86px;
  --mobile-max: 520px;
}

/* Utilitários para garantir aplicação consistente da cor secundária */
.accent-secondary {
  color: var(--verde-claro) !important;
}
.accent-secondary-icon {
  color: var(--verde-claro) !important;
  fill: var(--verde-claro) !important;
}
.accent-secondary-bg {
  background-color: var(--verde-claro) !important;
  color: var(--branco) !important;
}


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

html {
  overflow-x: clip;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: var(--areia);
  color: var(--cinza-escuro);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  aspect-ratio: auto;
}

a {
  color: inherit;
}

.site-wrapper {
  width: 100%;
  min-height: 100vh;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(32px, 7vw, 140px);
  word-break: break-word;
  overflow-wrap: break-word;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(3, 37, 64, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  width: 100%;
  min-height: var(--nav-altura);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(28px, 6vw, 96px);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--branco);
  text-decoration: none;
}

.brand-logo-wrap {
  width: 84px;
  height: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--branco);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 84px;
  object-fit: cover;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 900px) {
  .brand-logo-wrap {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 1.1rem;
  letter-spacing: 0.12rem;
}

.brand span {
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--dourado);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--dourado);
  color: var(--branco);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cta-nav {
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8b57d 0%, #c9a46b 55%, #b89157 100%);
  color: var(--branco);
  font-weight: 600;
  font-size: 1.03rem;
  text-decoration: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.cta-nav:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.26);
}

.cta-nav--outline {
  background: linear-gradient(135deg, #d8b57d 0%, #c9a46b 55%, #b89157 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--branco);
}

.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: var(--branco);
  padding: 120px 24px 80px;
  background: var(--verde-claro);
}

.hero-content {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(32px, 8vw, 160px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-cta a {
  border-radius: 999px;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-cta .btn-primary {
  background: var(--dourado);
  color: var(--branco);
}

.hero-cta .btn-secondary {
  background: var(--dourado);
  border: none;
  color: var(--branco);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 720px) {
  .hero-card {
    padding: 24px;
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  .hero-card {
    padding: 20px;
    border-radius: 14px;
  }
}

.hero-card h3 {
  font-size: 1rem;
  letter-spacing: 0.2rem;
  color: var(--dourado);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card i {
  color: var(--dourado);
}

.page-header {
  padding: 140px clamp(28px, 7vw, 90px) 60px;
  background: var(--verde-claro);
  color: var(--branco);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}

.page-header p {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.9;
}

.section {
  padding: 90px 24px;
}

section[id],
.hero {
  scroll-margin-top: calc(var(--nav-altura) + 20px);
}

.section-header {
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  font-size: 0.9rem;
  color: var(--dourado);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 18px;
  color: var(--verde-escuro);
}

.section-subtitle {
  max-width: 720px;
  font-weight: 300;
  color: var(--cinza-escuro);
}

.tabelia-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.2;
}

.tabelia-title .tabelia-prefix {
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stats,
.about,
.service-grid,
.testimonials,
.coverage-grid {
  display: grid;
  gap: 24px;
}

.stats {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 40px;
}

.stat-card {
  background: var(--branco);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(30, 111, 178, 0.08);
  border: 1px solid #e8e9ec;
}

.about {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 60px;
}

.about-card {
  background: var(--branco);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.highlight i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cinza-claro);
  display: grid;
  place-items: center;
  color: var(--verde-claro);
}

.about-card .highlight:first-of-type i {
  margin-left: -14px; /* puxa apenas o ícone de Bairros atendidos */
}

.about-card:last-of-type .highlight:first-of-type i {
  margin-left: -14px; /* mesmo alinhamento para o primeiro item do card da direita */
}

.about-card:last-of-type .highlight:last-of-type i {
  margin-left: -14px; /* aplica também ao segundo item do card da direita */
}

.services {
  background: var(--branco);
  border-radius: 28px;
  padding: 60px;
  margin-top: 50px;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.06);
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 40px;
}

.service-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--cinza-claro);
  border: 1px solid rgba(30, 111, 178, 0.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

.service-card i {
  font-size: 1.5rem;
  color: var(--verde-claro);
}

.service-card h3 {
  color: var(--verde-escuro);
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #5c5f66;
}

.topic-block {
  margin-top: 40px;
}

.topic-category {
  margin-top: 60px;
  padding: 36px clamp(20px, 6vw, 60px);
  border-radius: 36px;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.topic-category:first-of-type {
  margin-top: 48px;
}

.category-label {
  font-size: 0.85rem;
  letter-spacing: 0.45rem;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 24px;
}

.topic-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.topic-accordion {
  border-radius: 28px;
  background: var(--branco);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: none;
  background-clip: padding-box;
  transition: border-color 450ms ease, box-shadow 450ms ease;
  overflow: hidden;
}

.topic-accordion summary {
  cursor: pointer;
  padding: 20px 28px;
  font-weight: 600;
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  word-break: break-word;
}

.topic-accordion summary::-webkit-details-marker {
  display: none;
}

.topic-accordion summary i {
  color: var(--dourado);
  transition: transform 0.2s ease;
}

.topic-accordion[open] summary i {
  transform: rotate(180deg);
}

.topic-accordion p {
  padding: 0 28px 24px;
  color: #4f545c;
  word-break: break-word;
  overflow-wrap: break-word;
}

.topic-accordion .topic-section {
  padding: 0 28px 18px;
  color: #4f545c;
}

.topic-accordion .topic-section:last-child {
  padding-bottom: 26px;
}

.service-whatsapp-actions {
  padding: 0 28px 26px;
}

.service-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--dourado);
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.service-whatsapp-link:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

.service-whatsapp-link i {
  font-size: 1rem;
}

.topic-section h4 {
  font-size: 0.95rem;
  color: var(--dourado);
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  margin-bottom: 10px;
}

/* Borda fina ao abrir o tópico */
.topic-accordion[open] {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}

.topic-section ul,
.topic-section ol {
  margin-left: 18px;
  display: grid;
  gap: 6px;
  list-style: disc;
  word-break: break-word;
  overflow-wrap: break-word;
}

.topic-section ol {
  list-style: decimal;
}

.diagnostico {
  margin-top: 60px;
  padding: 50px;
  border-radius: 28px;
  background: var(--verde-claro);
  color: var(--branco);
}

.diagnostico ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

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

.faq {
  margin-top: 60px;
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--branco);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  color: var(--dourado);
  transition: transform 0.3s ease;
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-item p,
.faq-item ul {
  padding: 0 24px 24px;
  color: #5a5d64;
}

.cta {
  background: var(--verde-escuro);
  color: var(--branco);
  border-radius: 28px;
  padding: 70px;
  text-align: center;
  margin-top: 60px;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-actions a {
  border-radius: 999px;
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 600;
}

.cta-actions .ouvidoria {
  background: var(--dourado);
  color: var(--branco);
  border: none;
}

.cta-actions .whatsapp {
  background: var(--dourado);
  color: var(--branco);
}

.cta-actions .telefone {
  background: var(--dourado);
  color: var(--branco);
}

.ouvidoria-info {
  margin-top: 16px;
  margin-bottom: 0;
  opacity: 0.92;
}

.coverage {
  margin-top: 60px;
  background: var(--cinza-claro);
  border-radius: 28px;
  padding: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.coverage-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 32px;
}

.coverage-grid + .coverage-grid {
  margin-top: 18px;
}

.coverage-card {
  background: var(--branco);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coverage-card strong {
  font-size: 1.1rem;
  color: var(--verde-escuro);
}

.coverage-card span {
  font-size: 0.9rem;
  color: #60636b;
}

.testimonials {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
}

.processo {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.passo {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--branco);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.passo strong {
  font-size: 2rem;
  color: var(--dourado);
}

.testimonial {
  background: var(--branco);
  border-radius: 18px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.04);
}

.testimonial p {
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial span {
  font-weight: 600;
  color: var(--verde-claro);
}

.transparency-guide-hero {
  background:
    linear-gradient(130deg, rgba(3, 37, 64, 0.93), rgba(42, 108, 134, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(201, 164, 107, 0.3), transparent 58%);
}

#portal-transparencia .transparency-guide {
  display: grid;
  gap: 28px;
}

.guide-summary-card {
  background: var(--branco);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 22px 55px rgba(2, 20, 39, 0.08);
}

.guide-summary-card h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--verde-escuro);
  margin-bottom: 10px;
}

.guide-summary-card p {
  color: #4a505a;
}

.guide-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--verde-claro);
  color: var(--branco);
  font-weight: 600;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.guide-link:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.guide-steps-wrap {
  display: grid;
  gap: 18px;
}

.guide-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--branco);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(3, 37, 64, 0.1);
  box-shadow: 0 20px 48px rgba(2, 20, 39, 0.06);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dourado);
  color: var(--branco);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2px;
}

.step-content h3 {
  color: var(--verde-escuro);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-content p {
  color: #4f5560;
}

.step-image-slot {
  margin-top: 14px;
  border: 2px dashed rgba(42, 108, 134, 0.35);
  background: linear-gradient(160deg, #f8fafc, #eef4f8);
  border-radius: 16px;
  min-height: 180px;
  padding: 20px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 6px;
}

.step-image-slot i {
  font-size: 1.2rem;
  color: var(--verde-claro);
}

.step-image-slot strong {
  color: var(--verde-escuro);
}

.step-image-slot span {
  max-width: 480px;
  color: #616873;
  font-size: 0.92rem;
}

.step-image-slot--filled {
  border-style: solid;
  border-color: rgba(3, 37, 64, 0.12);
  background: #ffffff;
  min-height: auto;
  padding: 12px;
  justify-items: stretch;
}

@media (max-width: 640px) {
  .step-image-slot {
    border-radius: 14px;
    min-height: 160px;
    padding: 16px;
  }

  .step-image-slot--filled {
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .step-image-slot {
    border-radius: 12px;
    min-height: 140px;
    padding: 12px;
  }

  .step-image-slot i {
    font-size: 1rem;
  }

  .step-image-slot span {
    font-size: 0.88rem;
  }
}

.step-image-preview {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(3, 37, 64, 0.12);
  box-shadow: 0 10px 24px rgba(2, 20, 39, 0.08);
  object-fit: contain;
  max-height: 400px;
}

@media (max-width: 640px) {
  .step-image-preview {
    max-height: 320px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(2, 20, 39, 0.12);
  }
}

@media (max-width: 520px) {
  .step-image-preview {
    max-height: 280px;
    border-radius: 10px;
  }
}

.step-note {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(201, 164, 107, 0.14);
  color: #4f5560;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-note i {
  color: #9a7440;
  margin-top: 5px;
}

.guide-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.guide-footer-actions a {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guide-back-link {
  border: 1px solid rgba(3, 37, 64, 0.2);
  color: var(--verde-escuro);
  background: var(--branco);
}

.guide-contact-link {
  background: var(--dourado);
  color: var(--branco);
}

.transparency-guide-cta {
  margin-top: 6px;
}

footer {
  background: #021427;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 24px;
}

footer .container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

footer h4 {
  color: var(--branco);
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

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

footer a:hover {
  color: var(--dourado);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
}

.mobile-quick-actions {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 520px;
  background: rgba(0, 28, 57, 0.95);
  border-radius: 28px;
  padding: 8px;
  display: none;
  gap: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 30;
  overflow-x: hidden;
  border: 1px solid rgba(201, 164, 107, 0.28);
}

.mobile-quick-actions a {
  flex: 1;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 4px;
  min-height: 48px;
  color: var(--branco);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-quick-actions .cta-ombudsman {
  background: var(--dourado);
  border: none;
}

.mobile-quick-actions .cta-whatsapp {
  background: var(--dourado);
}

.mobile-quick-actions .cta-phone {
  background: var(--dourado);
  border: none;
}

@media (max-width: 1100px) {
  nav {
    padding: 16px;
  }

  .section {
    padding: 80px 20px;
  }
}

@media (max-width: 900px) {
  nav {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .brand {
    flex: 1;
    min-width: 0;
    gap: 10px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand strong {
    font-size: 1rem;
    letter-spacing: 0.08rem;
    line-height: 1.2;
  }

  .brand span {
    font-size: 0.72rem;
    letter-spacing: 0.16rem;
    line-height: 1.25;
  }

  .mobile-quick-actions {
    display: flex;
    width: calc(100% - 40px);
    max-width: none;
  }

  .mobile-quick-actions a {
    font-size: 0.84rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 8px;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 12px;
    background: rgba(3, 37, 64, 0.96);
    border-radius: 18px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.35s ease,
      opacity 0.35s ease,
      padding 0.35s ease;
  }

  body.menu-open .nav-links {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding: 20px;
  }

  .nav-links a {
    width: 100%;
    font-size: 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links .cta-nav {
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 14px;
    text-align: center;
    margin-top: 4px;
    justify-content: center;
  }

  .nav-links .cta-nav:not(.cta-nav--outline) {
    background: linear-gradient(135deg, #d8b57d 0%, #c9a46b 55%, #b89157 100%);
    color: var(--branco);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  }

  .nav-links .cta-nav--outline {
    background: linear-gradient(135deg, #d8b57d 0%, #c9a46b 55%, #b89157 100%);
    color: var(--branco);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    padding-bottom: 0;
  }

  .cta-nav {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 110px 18px 70px;
    min-height: auto;
  }

  .hero-content {
    gap: 32px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

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

  .hero-cta a {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 70px 18px;
  }

  .section-header {
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
  }

  .services {
    padding: 36px 20px;
    margin-top: 36px;
  }

  .cta {
    padding: 50px 24px;
  }

  .passo {
    grid-template-columns: 1fr;
  }

  .guide-step-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-number {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    background: var(--verde-claro);
    padding: 18px 14px 160px;
  }

  .hero p,
  .section-subtitle,
  .cta p {
    font-size: 1rem;
    line-height: 1.6;
    text-wrap: balance;
  }

  .site-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  header {
    border-radius: 26px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    top: 12px;
  }

  nav {
    padding: 12px 14px;
    min-height: 78px;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 0.95rem;
    letter-spacing: 0.06rem;
  }

  .brand span {
    font-size: 0.67rem;
    letter-spacing: 0.13rem;
  }

  .menu-toggle {
    font-size: 0.78rem;
    padding: 8px 14px;
    gap: 8px;
  }

  main {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero {
    padding: 110px 22px 48px;
    border-radius: 32px;
    background: var(--verde-claro);
    box-shadow: 0 30px 60px rgba(0, 28, 57, 0.6);
    margin: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.16);
  }

  .section {
    padding: 0;
  }

  .section .container {
    padding: 32px 22px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0, 63, 135, 0.08);
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-header {
    letter-spacing: 0.12rem;
    font-size: 0.78rem;
  }

  .hero-card li {
    align-items: flex-start;
    line-height: 1.5;
  }

  .services,
  .coverage,
  .faq {
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin-top: 28px;
  }

  .diagnostico {
    padding: 28px;
  }

  footer {
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px 24px;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand span {
    letter-spacing: 0.18rem;
    font-size: 0.72rem;
  }

  .brand-logo-wrap {
    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    flex: 0 0 64px;
  }

  .brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }

  .topic-accordion summary {
    padding: 18px 20px;
    font-size: 0.95rem;
    word-break: break-word;
  }

  .topic-accordion p {
    padding: 0 20px 24px;
    font-size: 0.95rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .topic-accordion .topic-section {
    padding: 0 20px 18px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .service-whatsapp-actions {
    padding: 0 20px 22px;
  }

  .service-whatsapp-link {
    width: 100%;
    justify-content: center;
  }

  .topic-section h4 {
    font-size: 0.9rem;
  }

  .topic-section ul,
  .topic-section ol {
    margin-left: 16px;
    font-size: 0.95rem;
  }

  .guide-summary-card,
  .guide-step-card,
  .step-image-slot {
    border-radius: 18px;
  }

  .guide-footer-actions a {
    width: 100%;
    justify-content: center;
  }

  .step-image-preview {
    border-radius: 12px;
    max-height: 320px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p,
  .section-subtitle,
  .cta p {
    font-size: 0.95rem;
  }

  .service-card {
    min-height: auto;
  }

  .highlight {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions a {
    width: 100%;
  }

  .brand-logo-wrap {
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
    flex: 0 0 70px;
  }

  .brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    image-rendering: crisp-edges;
  }

  .step-image-preview {
    max-height: 280px;
    border-radius: 10px;
    image-rendering: high-quality;
  }
}
