/* =========================================================
   Pro Multi Soluções em Saúde — V2
   Tokens semânticos no padrão shadcn/ui.
   Paleta: azul-cobalto como cor da marca, azul-marinho como
   tinta e fundo escuro, verde-água como acento e superfícies
   em cinza-azulado. Tipografia: Plus Jakarta Sans + Figtree.
   ========================================================= */

:root {
  --background: #FFFFFF;
  --surface: #F7F9FC;
  --foreground: #0B1F3A;
  --muted-foreground: #55657C;
  --border: #E3E8F0;
  --border-strong: #CBD5E1;
  --input: #CBD5E1;

  --primary: #1E56D9;
  --primary-hover: #1746B5;
  --primary-foreground: #FFFFFF;
  --primary-soft: #E9F0FF;
  --primary-soft-foreground: #1746B5;

  --accent: #0FA38F;
  --accent-soft: #E1F6F2;
  --accent-foreground: #0B7A6B;

  --dark: #0B1F3A;
  --dark-2: #10294D;
  --dark-foreground: #FFFFFF;
  --dark-muted: #A9BBD6;
  --dark-border: rgba(255, 255, 255, .12);

  --ring: #1E56D9;
  --danger: #B42318;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
  --shadow-md: 0 8px 24px -8px rgba(11, 31, 58, .14), 0 2px 6px rgba(11, 31, 58, .05);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 58, .28), 0 6px 16px -6px rgba(11, 31, 58, .08);

  --font-heading: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --container: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--foreground);
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.06; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.12; font-weight: 800; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
strong, b { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
[id] { scroll-margin-top: 5.5rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.1em; height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip {
  position: absolute; left: 1rem; top: -4rem;
  padding: .6rem 1rem;
  background: var(--primary); color: var(--primary-foreground);
  border-radius: var(--radius-sm);
  text-decoration: none; z-index: 60;
}
.skip:focus { top: .75rem; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.5rem; font-size: .9375rem; }
.btn-lg { min-height: 3.25rem; padding: 0 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary); color: var(--primary-foreground); border-color: var(--primary);
  box-shadow: 0 1px 2px rgba(30, 86, 217, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-outline { background: var(--background); color: var(--foreground); border-color: var(--border-strong); }
.btn-glass {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (hover: hover) {
  .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); box-shadow: 0 6px 18px -6px rgba(30, 86, 217, .55); }
  .btn-outline:hover { background: var(--surface); border-color: var(--foreground); }
  .btn-glass:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .6); }
}

/* ---------- Tags ---------- */

.tag {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-soft-foreground);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
}
.tag-accent { background: var(--accent-soft); color: var(--accent-foreground); }

/* ---------- Topo ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(11,31,58,.02), 0 8px 24px -16px rgba(11,31,58,.18); }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary) 0%, #3B7BFF 100%);
  color: var(--primary-foreground);
  box-shadow: 0 4px 12px -4px rgba(30, 86, 217, .6), inset 0 1px 0 rgba(255,255,255,.25);
}
.brand-mark svg { width: 1.2rem; height: 1.2rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-sub { font-size: .75rem; color: var(--muted-foreground); font-weight: 500; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  font-size: 1.25rem;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menu mobile: painel abaixo do topo */
.nav {
  position: fixed;
  inset: 4.25rem 0 auto 0;
  z-index: 39;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem var(--gutter) 1.25rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform .22s var(--ease), opacity .18s, visibility 0s .22s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.nav a:not(.btn) {
  display: block;
  padding: .85rem .5rem;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  color: var(--foreground);
}
.nav a:not(.btn):hover, .nav a:not(.btn).is-active { color: var(--primary); }
.nav-mobile-cta { margin-top: .75rem; }
.topbar-cta { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-media picture, .hero-poster, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-poster {
  object-fit: cover;
  object-position: 62% 50%;
  transform-origin: 60% 50%;
  animation: hero-zoom 26s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.hero-video {
  object-fit: cover;
  object-position: 62% 50%;
  background: transparent;
}
.hero-video.is-off { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 30rem at 100% 100%, rgba(30, 86, 217, .28), transparent 60%),
    linear-gradient(180deg, rgba(11, 31, 58, .55) 0%, rgba(11, 31, 58, .15) 30%, rgba(11, 31, 58, .6) 100%),
    linear-gradient(100deg, rgba(11, 31, 58, .94) 0%, rgba(11, 31, 58, .82) 38%, rgba(11, 31, 58, .45) 70%, rgba(11, 31, 58, .3) 100%);
}

.hero-content {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  min-height: min(calc(100svh - 4.25rem), 44rem);
  align-content: center;
}
.hero-copy > * + * { margin-top: 1.4rem; }
.hero-copy h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgba(11, 31, 58, .35); }
.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  max-width: 34rem;
}
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 36rem; }

.hero-segments {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.hero-segments li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}
.hero-segments li::before {
  content: "";
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 163, 143, .3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 30rem) { .hero-actions .btn { flex: 1 1 100%; } }

.hero-panel {
  justify-self: start;
  width: 100%;
  max-width: 24rem;
  padding: 1.15rem 1.15rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(11, 31, 58, .45);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .55);
}
.hero-panel-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .6rem;
}
.hero-panel-list { display: grid; gap: .15rem; }
.hero-panel-list a {
  display: flex; align-items: center; gap: .7rem;
  padding: .45rem .5rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  transition: background-color .18s;
}
.hero-panel-list i {
  display: grid; place-items: center; flex: none;
  width: 1.9rem; height: 1.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #9DC0FF;
  font-style: normal;
  font-size: .95rem;
}
.hero-panel-new {
  margin-left: auto;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-panel-more {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .6rem;
  padding: .35rem .5rem;
  font-weight: 600; font-size: .875rem;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.hero-panel-more .icon { transition: transform .2s var(--ease); }
@media (hover: hover) {
  .hero-panel-list a:hover { background: rgba(255, 255, 255, .1); }
  .hero-panel-more:hover { color: #fff; }
  .hero-panel-more:hover .icon { transform: translateX(3px); }
}

/* Faixa de serviços em movimento */
.hero-ticker {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(11, 31, 58, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.hero-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding: 1rem 1.375rem;
  white-space: nowrap;
}
.ticker-list li {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, .92);
}
.ticker-list i {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #9DC0FF;
  font-style: normal;
  font-size: 1rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Entrada orquestrada do hero */
.hero-anim {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in .8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 100ms + 80ms);
}
@keyframes hero-in { to { opacity: 1; transform: none; } }

@media (max-width: 40rem) {
  .brand-sub { display: none; }
}

/* ---------- Destaques ---------- */

.highlights { border-bottom: 1px solid var(--border); background: var(--background); }
.highlights-list { display: grid; gap: 1rem; padding-block: 1.5rem; }
.highlights-list li { display: flex; align-items: flex-start; gap: .8rem; }
.highlights-list .icon {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  padding: .6rem;
  box-sizing: border-box;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.highlights-list div { display: grid; gap: .1rem; }
.highlights-list b { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.highlights-list span { font-size: .875rem; color: var(--muted-foreground); }

/* ---------- Seções ---------- */

.section { padding: 4.5rem 0; }
.section-muted { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-sub { margin-top: .9rem; font-size: 1.0625rem; color: var(--muted-foreground); }

/* Reveal ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-reveal .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Serviços ---------- */

.services-grid { display: grid; gap: 1rem; }
.service-card {
  position: relative;
  display: grid;
  gap: .6rem;
  align-content: start;
  padding: 1.6rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
@media (hover: hover) {
  .service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
}
.service-card .tag { position: absolute; top: 1.25rem; right: 1.25rem; }
.service-icon {
  display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem;
  border-radius: 13px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: .9375rem; color: var(--muted-foreground); }
.service-points { display: grid; gap: .35rem; margin-top: .35rem; padding-top: .85rem; border-top: 1px solid var(--border); }
.service-points li { position: relative; padding-left: 1.1rem; font-size: .875rem; font-weight: 500; }
.service-points li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--primary); }
.service-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .25rem;
  font-weight: 600; font-size: .9375rem;
  color: var(--primary);
  text-decoration: none;
  justify-self: start;
}
.service-link .icon { transition: transform .2s var(--ease); }
@media (hover: hover) { .service-link:hover .icon { transform: translateX(3px); } }

.service-card-main {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 60%, #163A73 100%);
  color: #fff;
  border-color: transparent;
}
.service-card-main h3 { color: #fff; }
.service-card-main p { color: var(--dark-muted); }
.service-card-main .service-icon { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.service-card-main .service-points { border-top-color: var(--dark-border); }
.service-card-main .service-points li { color: rgba(255,255,255,.9); }
.service-card-main .service-points li::before { background: #7FB0FF; }

.service-card-new { border-color: rgba(15, 163, 143, .35); background: linear-gradient(180deg, #FFFFFF 0%, #F3FBF9 100%); }
.service-card-new .service-icon { background: var(--accent-soft); color: var(--accent-foreground); }

.specialties {
  margin-top: 2rem;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  display: grid;
  gap: 1.1rem;
}
.specialties-head h3 { font-size: 1.05rem; }
.specialties-head p { margin-top: .3rem; font-size: .9rem; color: var(--muted-foreground); }
.specialties-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.specialties-list li {
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--background);
  border: 1px solid var(--border);
  font-size: .875rem; font-weight: 500;
}

/* ---------- Especialidade em TEA ---------- */

.tea-section {
  position: relative;
  background:
    radial-gradient(50rem 26rem at 100% 0%, rgba(30, 86, 217, .10), transparent 60%),
    radial-gradient(40rem 22rem at 0% 100%, rgba(15, 163, 143, .08), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tea-intro { display: grid; gap: 1.5rem; margin-bottom: 2.25rem; }
.tea-content .tag { margin-bottom: 1rem; }
.tea-content h2 { max-width: 16ch; }
.tea-highlight {
  margin: 0;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.85rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  align-self: center;
}
.tea-highlight::before {
  content: "";
  position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.tea-highlight p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.tea-grid { display: grid; gap: 1rem; }
.tea-card {
  padding: 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .15s;
}
@media (hover: hover) { .tea-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); } }
.tea-icon {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.tea-card h3 { font-size: 1.0625rem; }
.tea-card p { margin-top: .5rem; font-size: .9375rem; color: var(--muted-foreground); }

.tea-note {
  display: grid; gap: 1.1rem; align-content: center;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 60%, #163A73 100%);
  color: var(--dark-foreground);
}
.tea-note p { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; line-height: 1.5; letter-spacing: -0.01em; }
.tea-note .btn { justify-self: start; }

/* ---------- Etapas ---------- */

.steps { display: grid; gap: 1.25rem; position: relative; }
.step {
  position: relative;
  padding: 0 0 0 3.75rem;
}
.step::before {
  content: "";
  position: absolute; left: 1.25rem; top: 2.75rem; bottom: -1.25rem;
  width: 2px;
  background: linear-gradient(var(--border-strong), var(--border));
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--background);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-heading); font-weight: 800; font-size: 1rem;
  box-shadow: 0 0 0 5px var(--surface);
}
.step h3 { font-size: 1.0625rem; padding-top: .45rem; }
.step p { margin-top: .4rem; font-size: .9375rem; color: var(--muted-foreground); }

/* ---------- Raio de atuação (mapa) ---------- */

.coverage-map-grid { display: grid; gap: 2rem; align-items: center; }
.coverage-map-copy h2 { max-width: 14ch; }

.coverage-legend { display: grid; gap: .7rem; margin-top: 1.75rem; }
.coverage-legend li { display: flex; align-items: flex-start; gap: .75rem; }
.coverage-legend span { display: grid; gap: .05rem; font-size: .875rem; color: var(--muted-foreground); }
.coverage-legend b { font-size: .9375rem; font-weight: 600; color: var(--foreground); }
.coverage-key { flex: none; width: .85rem; height: .85rem; margin-top: .3rem; border-radius: 50%; box-sizing: border-box; }
.coverage-key-sede { background: var(--primary); box-shadow: 0 0 0 3px rgba(30, 86, 217, .2); }
.coverage-key-regional { background: rgba(30, 86, 217, .18); border: 1.5px solid var(--primary); }
.coverage-key-expansao { background: rgba(15, 163, 143, .12); border: 1.5px dashed var(--accent); }

.coverage-partners { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.coverage-partners h3 { font-size: .9375rem; color: var(--muted-foreground); font-weight: 600; margin-bottom: .75rem; }
.coverage-partners ul { display: grid; gap: .55rem; }
.coverage-partners li { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .9375rem; }
.coverage-partners .icon { color: var(--primary); }

.coverage-map-card {
  margin: 0;
  padding: .75rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.coverage-map-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(30, 86, 217, .05), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.coverage-map-visual svg { display: block; width: 100%; height: 100%; }

.coverage-state-shadow { fill: rgba(11, 31, 58, .08); transform: translate(3px, 6px); }
.coverage-state-fill { fill: #FFFFFF; }
.coverage-state-outline { fill: none; stroke: #1E56D9; stroke-opacity: .55; stroke-width: 1.6; stroke-linejoin: round; }

.coverage-ring { fill: none; stroke-linejoin: round; }
.coverage-ring-regional { fill: rgba(30, 86, 217, .10); stroke: #1E56D9; stroke-opacity: .55; stroke-width: 1.5; }
.coverage-ring-expansao { fill: rgba(15, 163, 143, .05); stroke: #0FA38F; stroke-opacity: .6; stroke-width: 1.5; stroke-dasharray: 6 7; }

.coverage-halo { fill: none; stroke: #1E56D9; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: coverage-halo 3s ease-out infinite; }
.coverage-halo-2 { animation-delay: 1.5s; }
@keyframes coverage-halo {
  0% { transform: scale(.5); opacity: .7; }
  100% { transform: scale(3.2); opacity: 0; }
}
.coverage-marker-outer { fill: #FFFFFF; stroke: #1E56D9; stroke-width: 2.5; }
.coverage-marker-inner { fill: #1E56D9; }

.coverage-map-caption {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
  padding: .85rem .5rem .25rem;
  font-size: .8125rem; font-weight: 500; color: var(--muted-foreground);
}
.coverage-map-caption span { display: inline-flex; align-items: center; gap: .45rem; }
.coverage-map-caption .coverage-key { margin-top: 0; width: .75rem; height: .75rem; }

/* ---------- Trabalhe conosco ---------- */

.work-grid { display: grid; gap: 2rem; align-items: start; }
.role-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.role-chips li {
  padding: .4rem .8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .875rem; font-weight: 500;
  color: var(--foreground);
}

.form {
  padding: 1.5rem;
  display: grid; gap: 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1rem; }
.field label { font-size: .9375rem; font-weight: 600; }
.hint { font-weight: 400; color: var(--muted-foreground); }
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: .6rem .85rem;
  font: inherit;
  font-size: max(1rem, 16px);
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--input);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355657C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.4rem; }
.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.field textarea { resize: vertical; min-height: 4.5rem; }
.field ::placeholder { color: #94A3B8; }

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
}
.consent input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--primary); }
.consent label { font-size: .85rem; font-weight: 400; color: var(--muted-foreground); }

.form-status { font-size: .9375rem; color: var(--muted-foreground); min-height: 1.2em; }
.form-status.erro { color: var(--danger); }
.form-status.ok { color: var(--accent-foreground); font-weight: 500; }
.form-status:empty { display: none; }
.honeypot { position: absolute; left: -9999px; }

/* ---------- Rodapé ---------- */

.footer { background: var(--background); border-top: 1px solid var(--border); padding: 2.5rem 0 1.5rem; }
.footer-contact {
  display: grid; gap: 1.25rem;
  padding: 1.75rem;
  margin-bottom: 2.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.footer-contact h2 { font-size: 1.35rem; }
.footer-contact p { margin-top: .4rem; font-size: .9375rem; color: var(--muted-foreground); max-width: 34rem; }
.footer-contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-contact-actions .btn { max-width: 100%; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand p { margin-top: 1rem; font-size: .9375rem; color: var(--muted-foreground); max-width: 22rem; }
.footer-data { margin: 0; display: grid; gap: 1rem; }
.footer-data dt { font-size: .8125rem; color: var(--muted-foreground); font-weight: 500; }
.footer-data dd { margin: .15rem 0 0; font-size: .9375rem; font-weight: 500; overflow-wrap: anywhere; }
.footer-data a { text-decoration: none; border-bottom: 1px solid var(--border); }
@media (hover: hover) { .footer-data a:hover { border-bottom-color: var(--primary); color: var(--primary); } }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .875rem; color: var(--muted-foreground);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom a { text-decoration: none; }
@media (hover: hover) { .footer-bottom a:hover { color: var(--primary); } }

/* ---------- Botão flutuante WhatsApp ---------- */

.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 35;
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: #22C55E;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px -8px rgba(34, 197, 94, .7);
  transition: transform .2s var(--ease), box-shadow .2s;
}
@media (hover: hover) { .wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 30px -8px rgba(34, 197, 94, .8); } }

/* ---------- Telas maiores ---------- */

@media (min-width: 40rem) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .highlights-list { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tea-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-contact-actions .btn { min-height: 3rem; }
  .hero-content { padding-top: 5rem; padding-bottom: 3rem; }
}

@media (min-width: 64rem) {
  .nav {
    position: static;
    flex-direction: row;
    gap: .25rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-left: 1.5rem;
    transition: none;
  }
  .nav a:not(.btn) { padding: .5rem .75rem; font-size: .9375rem; color: var(--muted-foreground); white-space: nowrap; }
  .nav a:not(.btn):hover { color: var(--foreground); background: var(--surface); }
  .nav a:not(.btn).is-active { color: var(--primary); }
  .nav-mobile-cta { display: none; }
  .nav-toggle { display: none; }
  .topbar-cta { display: inline-flex; }

  .hero-content {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: end;
    gap: 3rem;
    min-height: min(46rem, calc(100svh - 4.25rem));
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  .hero-copy { align-self: center; }
  .hero-panel { justify-self: end; margin-bottom: .25rem; }
  .ticker-list { gap: 3.25rem; padding: 1.1rem 1.625rem; }

  .section { padding: 6rem 0; }
  .highlights-list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.75rem; }
  .highlights-list li { padding-right: 1rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .specialties { grid-template-columns: .8fr 1.6fr; align-items: start; gap: 2rem; padding: 1.75rem 2rem; margin-top: 2.5rem; }

  .tea-intro { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
  .tea-grid { grid-template-columns: repeat(3, 1fr); }

  .steps { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .step { padding: 0; }
  .step::before { left: 2.5rem; right: -1.25rem; top: 1.25rem; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--border-strong), var(--border)); }
  .step-num { position: static; margin-bottom: 1rem; }
  .step h3 { padding-top: 0; }

  .coverage-map-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }

  .work-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .form { padding: 2rem; }

  .footer-contact { grid-template-columns: 1fr auto; align-items: center; padding: 2rem 2.25rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
}

@media (min-width: 64rem) and (max-width: 78rem) {
  .brand-sub { display: none; }
  .topbar-inner { gap: 1rem; }
  .nav { margin-left: .5rem; }
  .nav a:not(.btn) { padding: .5rem .6rem; font-size: .9rem; }
  .topbar-cta { padding: 0 .95rem; }
}

@media (min-width: 64rem) and (max-height: 44rem) {
  .hero-content { min-height: 0; padding-top: 4.5rem; padding-bottom: 3rem; }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-anim { animation: none; opacity: 1; transform: none; }
  .hero-poster { animation: none; }
  .ticker-track { animation: none; width: 100%; }
  .ticker-track .ticker-list[aria-hidden="true"] { display: none; }
  .ticker-list { flex-wrap: wrap; gap: .75rem 1.5rem; }
  .hero-ticker { -webkit-mask-image: none; mask-image: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .coverage-halo { animation: none; display: none; }
  .btn, .tea-card, .service-card, .hero-panel-list a, .wa-fab, .nav { transition: none; }
}
