:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #edf2f8;
  --text: #102132;
  --muted: #5f7082;
  --line: rgba(16, 33, 50, 0.1);
  --primary: #1f4b6a;
  --primary-strong: #14344d;
  --accent: #F6B236;
  --dark: #08131f;
  --dark-2: #0d1d2d;
  --shadow: 0 12px 32px rgba(8, 19, 31, 0.08);
  /* Reduced shadow intensity */
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(246, 178, 54, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eff4fa 100%);
  color: var(--text);
  padding-top: 84px;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-shell {
  overflow: clip;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background: rgba(248, 251, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 33, 50, 0.08);
  box-shadow: 0 4px 20px rgba(8, 19, 31, 0.05);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #29648c);
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(31, 75, 106, 0.28);
}

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

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.nav a {
  color: #294052;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #29648c);
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(31, 75, 106, 0.2);
  border: 0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 75, 106, 0.25);
}

.button-sm {
  min-height: 44px;
  padding: 0 18px;
}

.button-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.button-full {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.section {
  padding: 96px 0;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(246, 178, 54, 0.22), transparent 22%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: white;
}

.section-accent {
  background: linear-gradient(180deg, #f0f7f7 0%, #e9f4f4 100%);
}

.section-muted {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}

.section-contact {
  padding-bottom: 112px;
}

.hero {
  padding-top: 84px;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  position: relative;
}

.hero.section-dark {
  background-image: url('assets/hero_bg.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-color: var(--dark);
}

.hero.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 19, 31, 0.9) 0%, rgba(13, 29, 45, 0.75) 100%);
  z-index: 0;
}

.hero>.container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.contact-grid,
.feature-split,
.two-column-emphasis,
.footer-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.lead,
.hero-copy p,
.section-heading p,
.content-block p,
.centered-copy p,
.feature-card p,
.info-card p,
.segment-card p,
.footer p,
.contact-list p {
  color: inherit;
  opacity: 0.9;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.section-dark .eyebrow,
.section-dark .section-tag {
  color: #f8c566;
}

.hero-panel {
  position: relative;
  padding: 26px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.metric-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card-lg {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at top right, rgba(248, 197, 102, 0.55), transparent 35%);
}

.metric-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.feature-split,
.two-column-emphasis,
.contact-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.info-card,
.capability-card,
.segment-card,
.contact-form,
.team-image-card,
.clients-panel,
.highlight-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card,
.info-card,
.contact-form,
.team-image-card,
.clients-panel {
  padding: 34px;
}

.feature-card h2,
.content-block h2,
.section-heading h2,
.centered-copy h2,
.segment-card h3,
.info-card h3 {
  margin: 12px 0 14px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.feature-card h2,
.content-block h2,
.section-heading h2,
.centered-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.stack-cards {
  display: grid;
  gap: 18px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.capability-card {
  padding: 24px;
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(246, 178, 54, 0.18), transparent 70%);
}

.capability-card span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  line-height: 1.5;
}

.highlight-box {
  margin-top: 24px;
  padding: 26px 28px;
  background: linear-gradient(135deg, var(--primary), #29648c);
  color: white;
  border: 0;
}

.centered-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  min-height: 560px;
  gap: 60px;
}

.split-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 0 80px 40px;
}

.team-image-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9/12;
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.team-image-card::before {
  content: '';
  position: absolute;
  top: 40px;
  right: -24px;
  bottom: -24px;
  left: 24px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.8;
}

.team-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.split-content {
  padding: 80px 60px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.split-text-inner {
  max-width: 580px;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.segment-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border: 0;
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--radius);
  padding: 0;
}

.segment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 33, 50, 0.4) 0%, rgba(16, 33, 50, 0.95) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.segment-card:hover .segment-overlay {
  background: linear-gradient(180deg, rgba(16, 33, 50, 0.6) 0%, rgba(16, 33, 50, 0.98) 100%);
}

.segment-content {
  position: relative;
  z-index: 2;
  padding: 40px 30px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.segment-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
}

.segment-card h3 {
  font-size: 1.8rem;
  margin: 0;
  color: white;
  transition: transform 0.4s ease;
}

.segment-card p {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
  line-height: 1.6;
}

@media (hover: hover) {
  .segment-card:hover p {
    opacity: 1;
    max-height: 200px;
    margin-top: 16px;
  }
}

.segment-card.is-touched p {
  opacity: 1;
  max-height: 200px;
  margin-top: 16px;
}

.logo-cloud {
  min-height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.client-logo:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.client-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}


.contact-grid {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 33, 50, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(31, 75, 106, 0.52);
  box-shadow: 0 0 0 4px rgba(31, 75, 106, 0.1);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-list a {
  color: var(--primary-strong);
  font-weight: 700;
}

.footer {
  padding: 34px 0 22px;
  background: #0a1320;
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  align-items: start;
  padding-bottom: 24px;
  grid-template-columns: 2fr 1fr 1.5fr;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer h3 {
  margin-top: 0;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(8, 19, 31, 0.15);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #e3a129;
  transform: translateY(-3px);
}

.capacidades-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.capacidades-list-box {
  background: var(--surface);
  color: var(--text);
  padding: 48px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1080px) {

  .hero-grid,
  .feature-split,
  .two-column-emphasis,
  .contact-grid,
  .footer-grid,
  .segments-grid,
  .capabilities-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .capacidades-wrapper {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .split-compliance-media {
    padding-top: 20px !important;
    padding-left: 40px !important;
  }

  .cobertura-map {
    min-height: 380px !important;
  }



  .split-image {
    min-height: auto;
    padding: 60px 40px 0;
  }

  .split-content {
    padding: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 6px;
  }

  .section {
    padding: 80px 0;
  }

  .metric-grid,
  .logo-cloud {
    grid-template-columns: 1fr;
  }

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

  .nav-wrap {
    min-height: 74px;
  }

  .feature-card,
  .info-card,
  .contact-form,
  .team-image-card,
  .clients-panel,
  .segment-card,
  .capability-card,
  .highlight-box,
  .hero-panel {
    padding: 24px;
  }

  .button,
  .button-sm {
    width: 100%;
  }

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



/* --- SOBRE A VITTA PAGE STYLES --- */
.hero-sobre {
  width: 100%;
  min-height: 480px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  margin-bottom: 24px;
}

.hero-sobre::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0.4) 0%, rgba(8, 19, 31, 0.1) 100%);
  pointer-events: none;
}

.sobre-content {
  padding-top: 40px;
}

.text-block {
  max-width: 820px;
  margin: 0 auto 64px;
}

.text-block h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-block p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

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

.missao-visao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto 72px;
}

.missao-card {
  background: var(--primary-strong);
  color: white;
  padding: 48px 40px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 16px 40px rgba(8, 19, 31, 0.15);
}

.missao-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
}

.missao-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
}

.sobre-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sobre-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.sobre-list li strong {
  color: var(--text);
  font-weight: 700;
}

.sobre-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- SOLUÇÕES PAGE STYLES --- */
.hero-solucoes {
  width: 100%;
  height: 380px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
}

.hero-solucoes::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0.75) 0%, rgba(8, 19, 31, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-solucoes .container {
  position: relative;
  z-index: 2;
}

.hero-solucoes h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.solucoes-content {
  padding-top: 40px;
}

.solucao-item {
  margin-bottom: 48px;
}

.solucao-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
}

.solucao-item p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.solucao-item p strong {
  color: var(--text);
  font-weight: 600;
}

.solucao-quote {
  margin: 24px 0 0;
  padding-left: 20px;
  border-left: 4px solid var(--accent);
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.1rem;
}

.solucoes-divider {
  height: 1px;
  background: var(--line);
  margin: 64px auto;
  max-width: 820px;
}

@media (max-width: 860px) {
  .hero-sobre {
    min-height: 320px;
  }

  .missao-visao-grid {
    grid-template-columns: 1fr;
  }

  .text-block h2 {
    font-size: 2rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  /* Tooltip do Mapa Interativo */
  .map-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--dark-2);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
  }

  .map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 16px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--dark-2) transparent transparent transparent;
  }

  .map-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .capacidades-list-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .split-compliance-media {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }


  .nav-wrap {
    min-height: 74px;
  }

  .feature-card,
  .info-card,
  .contact-form,
  .team-image-card,
  .clients-panel,
  .segment-card,
  .capability-card,
  .highlight-box,
  .hero-panel {
    padding: 24px;
  }

  .button,
  .button-sm {
    width: 100%;
  }

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


/* ===== MAPA DO BRASIL - COBERTURA ===== */
.cobertura-map {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brazil-map-holder {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#brazil-map-object {
  width: 100%;
  max-width: 620px;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

#map-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#map-container svg {
  width: 100%;
  height: auto;
  max-width: 560px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

#map-container .estado {
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(.2, .8, .2, 1), filter 0.22s ease, fill 0.22s ease;
  transform-box: fill-box;
  transform-origin: center center;
  stroke: #ffffff;
  stroke-width: 1.4;
}

#map-container .estado-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  fill: var(--primary-strong);
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  user-select: none;
  transition: transform 0.22s cubic-bezier(.2, .8, .2, 1), filter 0.22s ease;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.6px;
  stroke-linejoin: round;
}

.estado-label {
  pointer-events: none;
}

.map-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--dark-2);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 16px;
  border-width: 6px;
  border-style: solid;
  border-color: var(--dark-2) transparent transparent transparent;
}

.map-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .map-tooltip {
    white-space: normal;
    max-width: 240px;
  }
}