/* Personare Clinicas Integradas - site publico (ADR-0066)
   CSS proprio, sem CDN. CSP: style-src 'self' (nenhum style inline no HTML). */

:root {
  --blue: #0088d0;
  --blue-d: #006fa8; /* texto/botoes (AA com branco: 5,47) */
  --blue-dd: #00577f;
  --magenta: #d00070;
  --magenta-d: #b0005f; /* texto sobre tint */
  --purple: #601080;
  --purple-d: #3f0a55;
  --yellow: #ffd800;
  --ink: #2b2b33;
  --muted: #5a5a66;
  --bg: #ffffff;
  --bg-soft: #f7fafd;
  --tint-blue: #eaf5fc;
  --tint-magenta: #fdeaf4;
  --tint-purple: #f3e9f8;
  --tint-yellow: #fff8cc;
  --line: #dfe7f0;
  --card: #ffffff;
  --on-primary: #ffffff;
  --primary: var(--blue-d);
  --primary-hover: var(--blue-dd);
  --link: var(--blue-d);
  --kicker: var(--magenta-d);
  --focus: #601080;
  --footer-bg: #601080;
  --footer-ink: #ffffff;
  --footer-soft: #e9daf1;
  --radius: 1.25rem;
  --radius-sm: 0.875rem;
  --shadow: 0 1px 2px rgba(43, 43, 51, 0.05), 0 8px 24px rgba(96, 16, 128, 0.07);
  --shadow-lg: 0 2px 4px rgba(43, 43, 51, 0.06), 0 18px 44px rgba(96, 16, 128, 0.14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 4.25rem;
}

/* Alto contraste (WCAG AAA) */
:root[data-contrast="high"] {
  --blue: #ffd800;
  --blue-d: #ffd800;
  --blue-dd: #fff27a;
  --magenta: #ffd800;
  --magenta-d: #ffd800;
  --purple: #ffd800;
  --ink: #ffffff;
  --muted: #ffffff;
  --bg: #000000;
  --bg-soft: #0b0b0d;
  --tint-blue: #14141a;
  --tint-magenta: #14141a;
  --tint-purple: #14141a;
  --tint-yellow: #14141a;
  --line: #ffffff;
  --card: #000000;
  --on-primary: #000000;
  --primary: #ffd800;
  --primary-hover: #fff27a;
  --link: #ffd800;
  --kicker: #ffd800;
  --focus: #ffffff;
  --footer-bg: #000000;
  --footer-ink: #ffffff;
  --footer-soft: #ffffff;
  --shadow: none;
  --shadow-lg: none;
}

/* Tamanho de fonte (A-/A/A+) */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html[data-fs="-2"] {
  font-size: 87.5%;
}
html[data-fs="-1"] {
  font-size: 93.75%;
}
html[data-fs="1"] {
  font-size: 112.5%;
}
html[data-fs="2"] {
  font-size: 125%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--link);
}
[hidden] {
  display: none !important;
}
section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
:root[data-contrast="high"] :focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px #000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--purple-d);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 48em) {
  .wrap {
    padding-inline: 2rem;
  }
}

/* ---------- barra superior discreta ---------- */
.topbar {
  background: var(--tint-purple);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--purple);
}
:root[data-contrast="high"] .topbar {
  background: #000;
  color: #fff;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.25rem;
  flex-wrap: wrap;
  padding-block: 0.25rem;
}
.topbar__slogan {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.tool-btn {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--purple);
  background: #fff;
  border: 1px solid #d9c3e4;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  line-height: 1.5;
  min-height: 1.75rem;
}
.tool-btn:hover {
  background: var(--tint-purple);
  border-color: var(--purple);
}
.tool-btn[aria-pressed="true"] {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
:root[data-contrast="high"] .tool-btn {
  background: #000;
  color: #fff;
  border-color: #fff;
}
:root[data-contrast="high"] .tool-btn[aria-pressed="true"] {
  background: #ffd800;
  color: #000;
  border-color: #ffd800;
}
.fs-group {
  display: inline-flex;
  gap: 0.25rem;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
:root[data-contrast="high"] .header {
  background: #000;
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  flex: none;
}
.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple);
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-d);
  letter-spacing: 0.03em;
}
.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--tint-blue);
  color: var(--blue-dd);
}
:root[data-contrast="high"] .nav a:hover {
  background: #222;
  color: #ffd800;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--purple);
  cursor: pointer;
}
.menu-btn svg {
  width: 1.4rem;
  height: 1.4rem;
}
.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-block: 0.75rem 1rem;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
}
.mobile-nav a:hover {
  background: var(--tint-blue);
}
.header .btn--sm {
  display: none;
}
@media (min-width: 72em) {
  .nav {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .header .btn--sm {
    display: inline-flex;
  }
  .mobile-nav {
    display: none !important;
  }
}
@media (max-width: 26em) {
  .brand__sub {
    display: none;
  }
  .brand__name {
    font-size: 1.2rem;
  }
}

/* ---------- botoes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--primary);
  color: var(--on-primary);
  min-height: 2.75rem;
  line-height: 1.2;
  transition:
    background-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
  box-shadow: 0 6px 16px rgba(0, 111, 168, 0.25);
}
.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  min-height: 2.5rem;
  box-shadow: none;
}
.btn--ghost {
  background: #fff;
  color: var(--purple);
  border-color: var(--purple);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--tint-purple);
}
.btn--magenta {
  background: var(--magenta-d);
  box-shadow: 0 6px 16px rgba(208, 0, 112, 0.25);
}
.btn--magenta:hover {
  background: #8f004c;
}
.btn--soft {
  background: var(--tint-blue);
  color: var(--blue-dd);
  box-shadow: none;
  border-color: transparent;
}
.btn--soft:hover {
  background: #d6ebf8;
}
.btn--wa {
  background: #0a6b3a;
  box-shadow: none;
}
.btn--wa:hover {
  background: #07522c;
}
:root[data-contrast="high"] .btn {
  border-color: #ffd800;
  box-shadow: none;
}
:root[data-contrast="high"] .btn--ghost,
:root[data-contrast="high"] .btn--soft,
:root[data-contrast="high"] .btn--wa {
  background: #000;
  color: #ffd800;
  border-color: #ffd800;
}
.link-btn {
  font: inherit;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}
.link-btn:hover {
  color: var(--magenta-d);
}

/* ---------- tipografia de secao ---------- */
.section {
  padding-block: 4rem;
  position: relative;
}
@media (min-width: 64em) {
  .section {
    padding-block: 5.5rem;
  }
}
.section--soft {
  background: var(--bg-soft);
}
.section--tint {
  background: linear-gradient(180deg, var(--tint-blue), var(--bg-soft));
}
.kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kicker);
}
.section__head {
  max-width: 46rem;
}
.section__head h2 {
  font-size: clamp(1.65rem, 1.2rem + 2vw, 2.5rem);
  margin-top: 0.5rem;
  font-weight: 800;
}
.section__head p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.0625rem;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.prose p + p {
  margin-top: 0.85em;
}

/* bolhas decorativas (inspiradas no logo) */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bubble {
  position: absolute;
  border-radius: 50%;
}
.b-blue {
  background: var(--blue);
}
.b-magenta {
  background: var(--magenta);
}
.b-purple {
  background: var(--purple);
}
.b-yellow {
  background: var(--yellow);
}
:root[data-contrast="high"] .bubbles {
  display: none;
}
.has-bubbles {
  position: relative;
}
.has-bubbles > .wrap {
  position: relative;
  z-index: 1;
}

/* ---------- hero ---------- */
.hero {
  padding-block: 3rem 4rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
@media (min-width: 64em) {
  .hero {
    padding-block: 5rem 6rem;
  }
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 64em) {
  .hero__grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--tint-magenta);
  color: var(--magenta-d);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #f6c3de;
}
.badge::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--magenta);
}
:root[data-contrast="high"] .badge {
  background: #000;
  color: #ffd800;
  border-color: #ffd800;
}
.hero__tag {
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  z-index: 2;
  max-width: 13.5rem;
  margin: 0;
  padding: 0.65rem 1rem 0.65rem 0.9rem;
  background: #fff;
  color: var(--magenta-d);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 1.1rem 1.1rem 1.1rem 0.2rem;
  border-left: 4px solid var(--magenta);
  box-shadow: 0 10px 28px rgba(96, 16, 128, 0.16);
}
:root[data-contrast="high"] .hero__tag {
  background: #000;
  color: #ffd800;
  border-color: #ffd800;
  box-shadow: none;
}
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 2.7vw, 3.1rem);
  font-weight: 800;
  margin-top: 1.1rem;
  letter-spacing: -0.025em;
}
.hero h1 .accent {
  color: var(--purple);
}
.hero__text {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.9rem;
  margin-top: 2.25rem;
  max-width: 38rem;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1.1;
}
.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__art {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}
.hero__art .circle {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
:root[data-contrast="high"] .hero__art .circle {
  display: none;
}
@keyframes respirar {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}
.hero__art .circle {
  animation: respirar 6s ease-in-out infinite;
}
.hero__art .c2 {
  animation-duration: 7.5s;
  animation-delay: -2s;
}
.hero__art .c3 {
  animation-duration: 6.8s;
  animation-delay: -4s;
}
.hero__art .c4 {
  animation-duration: 5.5s;
  animation-delay: -1s;
}
.hero__art .c1 {
  width: 62%;
  height: 62%;
  left: 2%;
  top: 14%;
  background: rgba(0, 136, 208, 0.24);
}
.hero__art .c2 {
  width: 46%;
  height: 46%;
  right: 2%;
  top: 2%;
  background: rgba(255, 216, 0, 0.5);
}
.hero__art .c3 {
  width: 42%;
  height: 42%;
  right: 8%;
  bottom: 4%;
  background: rgba(208, 0, 112, 0.2);
}
.hero__art .c4 {
  width: 28%;
  height: 28%;
  left: 8%;
  bottom: 2%;
  background: rgba(96, 16, 128, 0.22);
}
.hero__art img {
  position: absolute;
  inset: 8% 14% 6% 14%;
  width: 72%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(96, 16, 128, 0.18));
}

/* ---------- cards e grades ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}
.card p {
  margin-top: 0.55rem;
  color: var(--muted);
}
.icon-dot {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.icon-dot svg {
  width: 1.5rem;
  height: 1.5rem;
}
.icon-dot.d-blue {
  background: var(--blue-d);
}
.icon-dot.d-magenta {
  background: var(--magenta-d);
}
.icon-dot.d-purple {
  background: var(--purple);
}
.icon-dot.d-yellow {
  background: var(--yellow);
  color: var(--ink);
}
:root[data-contrast="high"] .icon-dot {
  background: #ffd800 !important;
  color: #000 !important;
}
.card--accent-blue {
  border-top: 5px solid var(--blue);
}
.card--accent-magenta {
  border-top: 5px solid var(--magenta);
}
.card--accent-purple {
  border-top: 5px solid var(--purple);
}
.card--accent-yellow {
  border-top: 5px solid var(--yellow);
}
:root[data-contrast="high"] .card {
  border-color: #fff;
}

/* ---------- ambiente ---------- */
.ambiente {
  background: linear-gradient(135deg, var(--tint-purple) 0%, var(--tint-blue) 100%);
  overflow: hidden;
}
:root[data-contrast="high"] .ambiente {
  background: #000;
}
.ambiente__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 64em) {
  .ambiente__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* ---------- especialidades ---------- */
.esp-feature {
  margin-top: 2.5rem;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, var(--tint-blue) 100%);
  border: 2px solid #b9dcf1;
  box-shadow: var(--shadow-lg);
}
:root[data-contrast="high"] .esp-feature {
  background: #000;
  border-color: #fff;
}
@media (min-width: 48em) {
  .esp-feature {
    padding: 2.75rem;
  }
}
.esp-feature h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 800;
  color: var(--purple);
  margin-top: 0.8rem;
}
.esp-feature p {
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: 1.0625rem;
  max-width: 44rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.chip {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #b9dcf1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dd);
}
:root[data-contrast="high"] .chip {
  background: #000;
  border-color: #ffd800;
  color: #fff;
}
.esp-feature .btn {
  margin-top: 1.5rem;
}
.esp-grid {
  margin-top: 1.5rem;
}
.esp-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.esp-card .chips {
  margin-top: 0.9rem;
}
.esp-card .link-btn {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 1rem;
}

/* ---------- equipe ---------- */
.team-grid {
  margin-top: 2.5rem;
}
.member {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: center;
  align-items: center;
}
.member__photo,
.member__avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow:
    0 0 0 3px var(--blue),
    var(--shadow);
}
.member__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  background: var(--blue-d);
}
.member:nth-child(4n + 2) .member__avatar {
  background: var(--magenta-d);
  box-shadow:
    0 0 0 3px var(--magenta),
    var(--shadow);
}
.member:nth-child(4n + 3) .member__avatar {
  background: var(--purple);
  box-shadow:
    0 0 0 3px var(--purple),
    var(--shadow);
}
.member:nth-child(4n + 4) .member__avatar {
  background: #8a6d00;
  box-shadow:
    0 0 0 3px var(--yellow),
    var(--shadow);
}
:root[data-contrast="high"] .member__avatar {
  background: #ffd800 !important;
  color: #000;
  box-shadow: 0 0 0 3px #fff;
}
.member h3 {
  font-size: 1.2rem;
  font-weight: 800;
}
.member__cargo {
  color: var(--kicker);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.15rem;
}
.member__reg {
  color: var(--muted);
  font-size: 0.85rem;
}
.member__bio {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0 !important;
}

/* ---------- triagem ---------- */
.triage-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 64em) {
  .triage-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
  }
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 1.75rem;
}
@media (min-width: 48em) {
  .form-card {
    padding: 2.25rem;
  }
}
.steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
}
.steps li {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}
.steps li::before {
  content: "";
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--line);
  margin-bottom: 0.45rem;
}
.steps li.is-done::before {
  background: var(--blue);
}
.steps li.is-current {
  color: var(--purple);
}
.steps li.is-current::before {
  background: linear-gradient(90deg, var(--magenta), var(--purple));
}
:root[data-contrast="high"] .steps li::before {
  background: #444;
}
:root[data-contrast="high"] .steps li.is-done::before,
:root[data-contrast="high"] .steps li.is-current::before {
  background: #ffd800;
}
@media (max-width: 30em) {
  .steps .steps__txt {
    display: none;
  }
  .steps li.is-current .steps__txt {
    display: block;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.1rem;
}
.field:first-child {
  margin-top: 0;
}
.field label,
.field legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0;
}
.field .hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}
.input {
  font: inherit;
  color: var(--ink);
  background: #fff;
  width: 100%;
  border: 2px solid #c5d3e0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  min-height: 2.9rem;
}
:root[data-contrast="high"] .input {
  background: #000;
  color: #fff;
  border-color: #fff;
}
.input:hover {
  border-color: var(--blue);
}
.input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--purple);
}
.input[aria-invalid="true"] {
  border-color: #b3261e;
  background: #fff6f5;
}
textarea.input {
  resize: vertical;
  min-height: 7rem;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}
:root[data-contrast="high"] .check {
  background: #000;
  border-color: #fff;
}
.check:hover {
  border-color: var(--blue);
}
.check input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--purple);
  flex: none;
}
.check:has(input:checked) {
  border-color: var(--purple);
  background: var(--tint-purple);
}
.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--purple);
  flex: none;
  margin-top: 0.15rem;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.form-actions .btn:only-child,
.form-actions .btn:last-child {
  margin-left: auto;
}
.form-error {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #fdecea;
  color: #7a1410;
  border: 1px solid #f3b7b2;
  font-weight: 600;
  font-size: 0.95rem;
}
:root[data-contrast="high"] .form-error {
  background: #000;
  color: #fff;
  border-color: #ff6b6b;
}
.form-error a {
  color: #7a1410;
}
:root[data-contrast="high"] .form-error a {
  color: #ffd800;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.success {
  text-align: center;
  padding: 1rem 0.5rem;
}
.success__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--tint-blue);
  color: var(--blue-d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success__icon svg {
  width: 2rem;
  height: 2rem;
}
.success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
}
.success p {
  color: var(--muted);
  margin-top: 0.7rem;
}
.protocol {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.2rem;
  background: var(--tint-yellow);
  border: 2px dashed #c9a800;
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: 0.05em;
}
:root[data-contrast="high"] .protocol {
  background: #000;
  border-color: #ffd800;
  color: #ffd800;
}
.aside-steps {
  counter-reset: s;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.aside-steps li {
  counter-increment: s;
  position: relative;
  padding-left: 3.1rem;
  color: var(--muted);
}
.aside-steps li strong {
  display: block;
  color: var(--ink);
}
.aside-steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aside-steps li:nth-child(2)::before {
  background: var(--blue-d);
}
.aside-steps li:nth-child(3)::before {
  background: var(--magenta-d);
}
:root[data-contrast="high"] .aside-steps li::before {
  background: #ffd800;
  color: #000;
}
.note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--tint-yellow);
  border: 1px solid #f0dc66;
  font-size: 0.9rem;
  color: var(--ink);
}
:root[data-contrast="high"] .note {
  background: #000;
  border-color: #ffd800;
}

/* ---------- locacao ---------- */
.locacao {
  background: var(--tint-purple);
  overflow: hidden;
}
:root[data-contrast="high"] .locacao {
  background: #000;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--purple);
  font-weight: 700;
  color: var(--purple);
  margin-top: 1.5rem;
}
.status-pill::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #1a8f4c;
  flex: none;
}
:root[data-contrast="high"] .status-pill {
  background: #000;
  color: #fff;
  border-color: #ffd800;
}
.locacao .grid {
  margin-top: 2.25rem;
}
.locacao .btn {
  margin-top: 2rem;
}

/* ---------- conteudos ---------- */
.article-card {
  display: flex;
  flex-direction: column;
}
.article-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.article-card .cat {
  color: var(--kicker);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-card h3 {
  margin-top: 0.6rem;
}
.article-card .link-btn {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 1rem;
}

/* ---------- faq ---------- */
.faq-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.8rem;
  max-width: 52rem;
  margin-inline: auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--tint-blue);
  color: var(--blue-dd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "\2212";
  background: var(--purple);
  color: #fff;
}
.faq-item[open] summary {
  color: var(--purple);
}
:root[data-contrast="high"] .faq-item[open] summary {
  color: #ffd800;
}
.faq-item summary:hover {
  background: var(--bg-soft);
}
.faq-item__body {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.faq-item__body p + p {
  margin-top: 0.7em;
}

/* ---------- contato ---------- */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-card h3 {
  font-size: 1.4rem;
}
.tag {
  align-self: flex-start;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-d);
  margin-bottom: 0.6rem;
}
.tag--b {
  background: var(--purple);
}
:root[data-contrast="high"] .tag {
  background: #ffd800;
  color: #000;
}
.contact-row {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.contact-row dt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-row dd {
  margin: 0.15rem 0 0;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-row .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.contact-card .hours {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.address {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--tint-blue);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
:root[data-contrast="high"] .address {
  background: #000;
  border: 2px solid #fff;
}
.address strong {
  display: block;
  color: var(--blue-dd);
}
:root[data-contrast="high"] .address strong {
  color: #ffd800;
}
.address__links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ---------- rodape ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-bg);
  color: var(--footer-ink);
}
:root[data-contrast="high"] .footer {
  border-top: 3px solid #ffd800;
}
.footer a {
  color: var(--footer-ink);
  display: inline-block;
  padding-block: 0.25rem;
  min-height: 24px;
}
.footer .wrap {
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
  padding-block: 3.5rem 2rem;
}
@media (min-width: 48em) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer h2 {
  color: var(--footer-ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer__brand img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 0.35rem;
}
.footer__brand strong {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  line-height: 1.1;
}
.footer__brand span {
  font-size: 0.85rem;
  color: var(--footer-soft);
}
.footer p,
.footer li {
  color: var(--footer-soft);
  font-size: 0.95rem;
}
.footer__links {
  display: grid;
  gap: 0.55rem;
}
.footer__links a {
  text-decoration: none;
  color: var(--footer-ink);
}
.footer__links a:hover {
  text-decoration: underline;
}
.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--footer-soft);
}
:root[data-contrast="high"] .footer__bottom {
  border-color: #fff;
}
/* link discreto de acesso restrito */
.restricted {
  font-size: 0.75rem;
  color: #d9c3e4 !important;
  text-decoration: none;
  opacity: 0.9;
}
.restricted:hover {
  text-decoration: underline;
  color: #fff !important;
  opacity: 1;
}
:root[data-contrast="high"] .restricted {
  color: #fff !important;
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 10, 60, 0.6);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  background: var(--card);
  width: 100%;
  max-width: 42rem;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border-top: 6px solid var(--magenta);
}
@media (min-width: 40em) {
  .modal__panel {
    padding: 2.5rem 2.5rem 2rem;
  }
}
:root[data-contrast="high"] .modal__panel {
  border: 3px solid #fff;
}
.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: var(--tint-purple);
  color: var(--purple);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
:root[data-contrast="high"] .modal__close {
  background: #ffd800;
  color: #000;
}
.modal__cat {
  color: var(--kicker);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}
.modal__panel h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 800;
  margin-top: 0.4rem;
  padding-right: 2.5rem;
}
.modal__body {
  margin-top: 1.25rem;
  color: var(--ink);
  font-size: 1.0625rem;
}
.modal__body p + p {
  margin-top: 1em;
}
.modal__date {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
body.modal-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 150;
  background: var(--purple-d);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 2rem);
  text-align: center;
}
:root[data-contrast="high"] .toast {
  background: #ffd800;
  color: #000;
}

@media (prefers-reduced-motion: reduce) {
  .hero__art .circle {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .btn:hover {
    transform: none;
  }
}
@media print {
  .topbar,
  .header,
  .bubbles,
  .modal,
  .toast {
    display: none !important;
  }
}

/* posicoes das bolhas decorativas */
.bb-h1 {
  width: 22rem;
  height: 22rem;
  right: -7rem;
  top: -8rem;
  opacity: 0.12;
}
.bb-h2 {
  width: 9rem;
  height: 9rem;
  left: -3rem;
  bottom: 2rem;
  opacity: 0.18;
}
.bb-h3 {
  width: 3rem;
  height: 3rem;
  left: 46%;
  top: 3rem;
  opacity: 0.5;
}
.bb-h4 {
  width: 1.4rem;
  height: 1.4rem;
  left: 52%;
  top: 6.5rem;
  opacity: 0.5;
}
.bb-a1 {
  width: 16rem;
  height: 16rem;
  right: -5rem;
  bottom: -6rem;
  opacity: 0.14;
}
.bb-a2 {
  width: 7rem;
  height: 7rem;
  left: -2rem;
  top: 2rem;
  opacity: 0.16;
}
.bb-l1 {
  width: 14rem;
  height: 14rem;
  left: -5rem;
  bottom: -5rem;
  opacity: 0.12;
}
.bb-l2 {
  width: 8rem;
  height: 8rem;
  right: 6%;
  top: -2rem;
  opacity: 0.2;
}
.bb-f1 {
  width: 18rem;
  height: 18rem;
  right: -5rem;
  top: -7rem;
  background: var(--blue);
  opacity: 0.35;
}
.bb-f2 {
  width: 9rem;
  height: 9rem;
  left: 35%;
  bottom: -3rem;
  background: var(--magenta);
  opacity: 0.4;
}
.bb-f3 {
  width: 5rem;
  height: 5rem;
  left: -1.5rem;
  top: 2rem;
  background: var(--yellow);
  opacity: 0.35;
}
.bb-f4 {
  width: 2rem;
  height: 2rem;
  right: 18%;
  bottom: 2.5rem;
  background: var(--yellow);
  opacity: 0.6;
}
@media (max-width: 40em) {
  .bb-h1 {
    width: 14rem;
    height: 14rem;
  }
  .bb-a1 {
    width: 10rem;
    height: 10rem;
  }
}

.contact-grid {
  margin-top: 2.5rem;
}
.locacao .grid,
.ambiente .grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
.esp-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.esp-feature > * {
  position: relative;
  z-index: 1;
}
.esp-feature::before,
.esp-feature::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.esp-feature::before {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -5rem;
  background: rgba(255, 216, 0, 0.35);
}
.esp-feature::after {
  width: 12rem;
  height: 12rem;
  right: 6%;
  bottom: -4rem;
  background: rgba(208, 0, 112, 0.16);
}
:root[data-contrast="high"] .esp-feature::before,
:root[data-contrast="high"] .esp-feature::after {
  display: none;
}
.esp-feature + .esp-feature {
  margin-top: 1.5rem;
}
.footer__brand + p {
  margin-top: 1rem;
}
.footer__brand + p + p {
  margin-top: 0.6rem;
}
.hero__grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 64em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}
.hero__grid > *,
.ambiente__grid > *,
.triage-grid > * {
  min-width: 0;
}
.ambiente__grid,
.triage-grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 64em) {
  .ambiente__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .triage-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}
.bb-h3 {
  left: auto;
  right: 12%;
  top: 2rem;
}
.bb-h4 {
  left: auto;
  right: 6%;
  top: 5rem;
}
.protocol {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
