/* =============================================================
   App Health — Home (recriação estática)
   Mobile-first. Breakpoints: 768px (tablet), 1024px, 1200px (desktop)
   ============================================================= */

/* -------------------------------------------------------------
   0. Design tokens (paleta / tipografia)
   Ajuste os hex codes aqui para bater 1:1 com o site original.
------------------------------------------------------------- */
:root {
  /* -----------------------------------------------------------
     Paleta oficial App Health (extraída do CSS do site real).
     Cor primária = teal #009a95; destaque = laranja #ff9600.
     Os nomes de variável são mantidos por compatibilidade:
     --blue* e --green* apontam para os tons reais da marca.
  ----------------------------------------------------------- */
  --teal: #009a95;         /* cor primária da marca */
  --teal-dark: #007e76;    /* teal escuro (hover) */
  --teal-deep: #008c85;    /* teal intermediário */
  --teal-soft: #ecf9f8;    /* teal bem claro (fundos/cards) */
  --accent: #ff9600;       /* laranja de destaque (CTAs) */
  --accent-dark: #e08400;  /* laranja hover */
  --vizi: #8b3ff0;         /* roxo do botão Vizi Saúde */
  --vizi-dark: #7a2fe0;    /* roxo hover */

  /* Aliases legados usados pelo restante do CSS */
  --blue: var(--teal);
  --blue-dark: var(--teal-dark);
  --blue-deep: #007e76;    /* headings/footer em teal escuro */
  --green: var(--teal);
  --green-dark: var(--teal-dark);

  --ink: #3c3c3c;          /* texto principal */
  --muted: #6f6f6f;        /* texto secundário */
  --line: #e2e2e2;         /* bordas */
  --bg: #ffffff;           /* fundo base */
  --bg-alt: #f5f5f5;       /* fundo levemente colorido */
  --white: #ffffff;
  --star: #ff9600;

  --radius: 6px;
  --radius-lg: 12px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(0, 154, 149, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 126, 118, 0.12);
  --container: 1200px;
  --header-h: 72px;

  --font: "Poppins", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, sans-serif;
}

/* -------------------------------------------------------------
   1. Reset / base
------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--blue-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

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

.section {
  padding-block: 48px;
}

.section-alt {
  padding-block: 48px;
  background: var(--bg-alt);
}

.section-title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.eyebrow {
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
}

/* destaque de texto em teal da marca (#009a95) */
.text-teal {
  color: var(--teal);
  font-weight: 700;
}

.highlight {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* -------------------------------------------------------------
   2. Botões
------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 13px 26px;
  border-radius: var(--radius-pill); /* botões pill (50px), como no site */
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

/* CTA principal: teal da marca */
.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

/* CTA de destaque: laranja da marca (#ff9600) */
.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

/* Botão "Vizi Saúde": roxo sólido */
.btn-vizi {
  background: var(--vizi);
  color: #fff;
}

.btn-vizi:hover {
  background: var(--vizi-dark);
  box-shadow: var(--shadow-sm);
}

/* Ao rolar a página, o "Vizi Saúde" fica teal como o "Acessar Sistema" */
.site-header.scrolled .btn-vizi {
  background: var(--teal);
}

.site-header.scrolled .btn-vizi:hover {
  background: var(--teal-dark);
}

/* Variante retangular (cantos suaves), usada nos CTAs do header */
.btn-square {
  border-radius: var(--radius);
}

/* Botão de contorno teal (fundo branco) — usado em seções como a de IA */
.btn-outline {
  background: #fff;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

/* Contorno teal (usado no header "Vizi Saúde") */
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-ghost:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline-light:hover {
  background: var(--teal);
  color: #fff;
}

/* impede que a regra genérica do rodapé pinte o texto do botão de teal no hover */
.site-footer a.btn-outline-light:hover {
  color: #fff;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

/* -------------------------------------------------------------
   3. Header fixo + barra superior
------------------------------------------------------------- */
/* Barra teal do topo (redes sociais + selo LGPD).
   Escondida no mobile; aparece só no desktop (>=1024px), como no site real. */
.topbar {
  display: none;
  background: var(--teal);
  color: #fff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}

.topbar .social-icons {
  display: flex;
  gap: 6px;
}

.topbar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.topbar .social-icons a svg {
  display: block;
  width: 18px;
  height: 18px;
}

.topbar .social-icons a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.topbar-note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}



.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--line);
}

/* Ao rolar, a barra verde (LGPD + redes) recolhe; fica só o menu branco */
@media (min-width: 1024px) {
  .site-header.scrolled .topbar {
    display: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand-logo {
  height: 38px;
  width: auto;
}

.main-nav,
.header-actions {
  display: none;
}

/* Nav desktop */
.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-list > li > a,
.dropdown-toggle {
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.nav-list > li > a:hover,
.dropdown-toggle:hover {
  color: var(--blue);
}

.caret {
  font-size: 0.7em;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--blue);
}

/* Actions */
.header-actions {
  align-items: center;
  gap: 12px;
}

/* Botões do header um pouco mais compactos e em peso semibold */
.header-actions .btn {
  padding: 11px 22px;
  font-weight: 600;
}

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--blue-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -------------------------------------------------------------
   4. Drawer mobile
------------------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 46, 92, 0.45);
  z-index: 110;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer-overlay.show {
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 340px);
  background: #fff;
  z-index: 120;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--blue-deep);
  cursor: pointer;
}

.drawer-nav > li > a,
.drawer-acc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.drawer-sub.open {
  max-height: 500px;
}

.drawer-sub a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* -------------------------------------------------------------
   5. Hero
------------------------------------------------------------- */
.hero {
  background: #fff; /* hero em fundo branco, como no site real */
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

/* pequeno rótulo acima do H1 ("Software Médico Completo") */
.hero .hero-eyebrow {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: var(--teal-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}

.hero-text p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

/* CTA do hero: alinhado à esquerda, acompanhando o texto (como no site real) */
.hero-text .btn {
  display: inline-flex;
  width: auto;
  margin: 24px 0 0;
}

.hero-image img {
  margin-inline: auto;
  max-width: 320px;
}

/* -------------------------------------------------------------
   6. Estatísticas
------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}

/* O sinal "+" dos números em cinza, como no site real */
.stat-plus {
  color: var(--muted);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.35;
}

/* -------------------------------------------------------------
   7. Features (blocos imagem + texto)
------------------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.feature-media img {
  margin-inline: auto;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.feature-body h2 {
  font-size: 1.5rem;
  color: var(--teal);
}

.feature-body h3 {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  border-radius: 50%;
}

.check-list li strong {
  color: var(--ink);
}

/* -------------------------------------------------------------
   8. Depoimentos (carrossel)
------------------------------------------------------------- */
.carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 12px;
}

/* card unificado (estrela + texto + autor dentro do mesmo cartão) */
.testimonial-card > div.stars,
.testimonial-card p,
.testimonial-card .author {
  background: #fff;
  border-inline: 1px solid var(--line);
}

.testimonial-card > div.stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 1.1rem;
  padding: 22px 22px 0;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.testimonial-card p {
  padding: 14px 22px;
  color: var(--ink);
  margin: 0;
  min-height: 140px;
}

.author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 0 22px 22px;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author strong {
  color: var(--teal-deep);
}

.author span {
  color: var(--muted);
  font-size: 0.9rem;
}

.carousel-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover {
  background: var(--blue);
  color: #fff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots button.active {
  background: var(--blue);
  transform: scale(1.2);
}

/* -------------------------------------------------------------
   9. Tabela comparativa
------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 520px;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--blue-deep);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.compare-table thead th:first-child {
  text-align: left;
}

.compare-table td.yes,
.compare-table td.no {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.compare-table td.yes {
  color: var(--green-dark);
}

.compare-table td.no {
  color: #d64545;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

/* -------------------------------------------------------------
   10. Vídeos
------------------------------------------------------------- */
.videos-grid {
  display: grid;
  gap: 20px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------------------------------------------
   11. FAQ (accordion)
------------------------------------------------------------- */
.faq-cta {
  text-align: center;
  margin-bottom: 26px;
}

.accordion {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-deep);
  text-align: left;
  cursor: pointer;
}

.acc-icon {
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: var(--green);
  transition: transform 0.25s ease;
}

.accordion-item.open .acc-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel p {
  padding: 0 20px 18px;
  color: var(--muted);
  margin: 0;
}

/* -------------------------------------------------------------
   12. Blog
------------------------------------------------------------- */
.blog-grid {
  display: grid;
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-body time {
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-body h3 {
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.blog-body p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.read-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover {
  color: var(--blue-dark);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination a,
.pagination .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.pagination .dots {
  border: none;
}

.pagination a:hover {
  background: var(--bg-alt);
  color: var(--blue);
}

.pagination a.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* -------------------------------------------------------------
   13. Contato (formulário)
------------------------------------------------------------- */
.contact-form {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-deep);
}

.field input,
.field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 99, 197, 0.15);
}

.field.invalid input,
.field.invalid select {
  border-color: #d64545;
}

.error-msg {
  color: #d64545;
  font-size: 0.8rem;
  min-height: 1em;
}

.form-success {
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
}

/* -------------------------------------------------------------
   14. Footer
------------------------------------------------------------- */
.site-footer {
  background: #111111; /* rodapé preto, como no site real */
  color: rgba(255, 255, 255, 0.75);
  padding-block: 48px 24px;
  margin-top: 0;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

/* links do rodapé em cinza claro; ficam VERDES (teal) ao passar o mouse */
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--teal);
}

.footer-top {
  display: grid;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-logo {
  height: 46px;
  width: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-apps {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 28px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-apps span {
  font-weight: 600;
  color: #fff;
}

.footer-apps img {
  height: 44px;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  text-align: center;
}

.transparency {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.transparency span {
  font-weight: 600;
  color: #fff;
}

.copyright,
.address {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------------------------
   15. WhatsApp float
------------------------------------------------------------- */
/* -------------------------------------------------------------
   16. Utilidades de acessibilidade
------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =============================================================
   RESPONSIVO
   ============================================================= */

/* Tablet — 768px+ */
@media (min-width: 768px) {
  .section,
  .section-alt {
    padding-block: 64px;
  }

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

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

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-image img {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-number {
    font-size: 2.1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .feature-grid.reverse .feature-body {
    order: 1;
  }

  .feature-grid.reverse .feature-media {
    order: 2;
  }

  .feature-body h2 {
    font-size: 1.75rem;
  }

  .testimonial-card {
    flex-basis: 50%;
  }

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

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  .field-full {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1fr 2.4fr;
    align-items: start;
  }

  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop pequeno — 1024px+ */
@media (min-width: 1024px) {
  .main-nav,
  .header-actions {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  /* No desktop a barra teal do topo aparece (some no mobile/tablet) */
  .topbar {
    display: block;
  }

  .topbar .social-icons {
    display: flex;
  }

  .topbar-inner {
    justify-content: space-between;
  }

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

  .testimonial-card {
    flex-basis: 33.3333%;
  }
}

/* Desktop grande — 1200px+ */
@media (min-width: 1200px) {
  .container {
    padding-inline: 24px;
  }

  .section,
  .section-alt {
    padding-block: 80px;
  }
}

/* =============================================================
   HOME NOVA (prefixo hm-) - escopo: <main class="hm">
   Fonte Poppins apenas na home. Mobile-first.
   ============================================================= */
.hm {
  --hm-gray: #7a7a7a;
  --hm-ink: #5b5b5b;
  font-family: "Poppins", var(--font);
  color: var(--hm-ink);
}
.hm h1, .hm h2, .hm h3 { font-family: inherit; }

/* Títulos: linha leve em cinza + trecho em negrito teal */
.hm-title {
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--hm-gray);
  margin: 0 0 16px;
}
.hm-title strong { font-weight: 700; color: var(--teal); }
.hm-title-xl { font-size: 2.2rem; }
.hm-title-lg { font-size: 2rem; }
.hm-title-md { font-size: 1.7rem; }

.hm p { color: var(--hm-ink); font-weight: 300; font-size: 1rem; line-height: 1.7; }

.hm-section { padding-block: 48px; }
.hm-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.hm-head p { margin: 0; }
.hm-head-light .hm-title, .hm-head-light .hm-title strong { color: #fff; }
.hm-eyebrow {
  display: block;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Botões */
.hm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--teal);
  transition: background 0.2s, color 0.2s;
}
.hm-btn-solid { background: var(--teal); color: #fff; }
.hm-btn-solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.hm-btn-line { background: #fff; color: var(--teal); }
.hm-btn-line:hover { background: var(--teal); color: #fff; }
.hm-hero .hm-btn-line { border-color: #333; color: #333; }
.hm-hero .hm-btn-line:hover { background: #333; color: #fff; }

/* Espaço de mídia: mostra quadro tracejado até a imagem existir */
.hm-media {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: var(--ar, 4/3);
  display: grid;
  place-items: center;
  border: 2px dashed #b7dcda;
  border-radius: 16px;
  background: var(--teal-soft);
  overflow: hidden;
}
.hm-media::before {
  content: "Imagem: " attr(data-ph);
  padding: 8px 14px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--teal-dark);
  word-break: break-all;
}
.hm-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.hm-ico { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 8px; flex: 0 0 auto; }
.hm-ico::before { content: ""; }

/* Hero */
.hm-hero { padding: 40px 0 24px; }
.hm-hero-grid { display: grid; gap: 32px; align-items: center; }
.hm-hero-text p { max-width: 460px; }

/* Estatísticas */
.hm-stats { padding: 24px 0 40px; }
.hm-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; text-align: center; }
.hm-stat strong { display: block; font-size: 1.5rem; font-weight: 600; color: var(--teal); }
.hm-stat span { display: block; font-size: 0.9rem; font-weight: 300; color: var(--hm-gray); }

/* Módulos do ecossistema */
.hm-modules { display: grid; grid-template-columns: 1fr; gap: 28px; }
.hm-module h3 { font-size: 0.95rem; font-weight: 700; color: #222; margin: 12px 0 4px; }
.hm-module p { font-size: 0.8rem; margin: 0 0 12px; }
.hm-link { color: var(--teal); font-size: 0.8rem; font-weight: 700; }

/* Blocos texto + imagem */
.hm-split { display: grid; gap: 28px; align-items: center; }
.hm-body .hm-btn { margin-top: 12px; }
.hm-checks { display: grid; gap: 14px; margin: 18px 0 8px; }
.hm-checks li {
  position: relative;
  padding-left: 40px;
  font-weight: 300;
  line-height: 1.5;
}
.hm-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #bfe6e3;
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Faixa cinza (WhatsApp) */
.hm-band { background: #efefef; padding-block: 56px; }
.hm-mini { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 18px; }
.hm-mini li { display: flex; align-items: center; gap: 10px; max-width: 170px; }
.hm-mini span { font-size: 0.8rem; font-weight: 700; color: var(--teal); line-height: 1.25; }
.hm-mini .hm-ico { background: transparent; border-color: #b7dcda; }

/* Pílulas (telemedicina) */
.hm-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hm-pills li {
  padding: 6px 18px;
  border: 1.5px solid #7b4fe0;
  border-radius: var(--radius-pill);
  color: #5a35c0;
  font-size: 0.78rem;
  font-weight: 500;
  background: #fff;
}

/* Tecnologia completa */
.hm-tech { padding-block: 56px; background: linear-gradient(120deg, #f4f4f4 0%, #d8eeed 100%); }
.hm-tech-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.hm-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  min-height: 150px;
}
.hm-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--teal); margin: 0 0 10px; }
.hm-card p { font-size: 0.76rem; margin: 0; line-height: 1.55; }

/* Vídeos */
.hm-videos { padding-block: 56px; background: #f5f5f5; }
.hm-videos-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.hm-video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.hm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hm-video-ph {
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  border: 2px dashed #b7dcda;
  border-radius: 6px;
}
.hm-video-ph::before {
  content: attr(data-ph);
  padding: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--teal-dark);
}

/* Depoimentos */
.hm-proof { padding-block: 56px; background: linear-gradient(135deg, #009a95 0%, #006f69 100%); }
.hm-proof .hm-title { margin: 0; }
.hm-proof-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.hm-quote {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.hm-stars { color: var(--star); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }
.hm-quote p { font-size: 0.8rem; flex: 1; }
.hm-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.hm-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hm-author span { display: block; font-size: 0.72rem; font-weight: 300; line-height: 1.3; }
.hm-author strong { display: block; font-size: 0.82rem; font-weight: 700; color: #222; }

/* Blog */
.hm-blog { display: grid; grid-template-columns: 1fr; gap: 24px; }
.hm-post {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
}
.hm-post-thumb { display: block; }
.hm-post-thumb .hm-media { border-radius: 0; border-width: 0 0 2px; }
.hm-post-body { padding: 18px 18px 22px; }
.hm-post-body h3 { font-size: 0.98rem; font-weight: 700; color: var(--teal); line-height: 1.35; margin: 0 0 10px; }
.hm-post-body p { font-size: 0.8rem; margin: 0 0 12px; }
.hm-more { font-size: 0.88rem; font-weight: 700; color: #222; }
.hm-blog-all { text-align: center; margin: 32px 0 0; }

/* FAQ */
.hm-faq-grid { display: grid; gap: 28px; align-items: start; }
.hm-faq-intro .hm-title strong { color: #1f9a96; }
.hm-faq-intro p { max-width: 300px; }
.hm-accordion { max-width: none; margin: 0; }
.hm-accordion .accordion-item { border-radius: 24px; border: 1px solid #dcdcdc; }
.hm-accordion .accordion-header { font-family: inherit; font-size: 0.85rem; font-weight: 500; color: #333; padding: 14px 22px; }

@media (min-width: 768px) {
  .hm-title { font-size: 2.2rem; }
  .hm-title-xl { font-size: 2.6rem; }
  .hm-title-lg { font-size: 2.4rem; }
  .hm-title-md { font-size: 1.9rem; }
  .hm-section { padding-block: 64px; }
  .hm-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hm-modules { grid-template-columns: repeat(2, 1fr); }
  .hm-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-blog { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hm-hero { padding: 56px 0 32px; }
  .hm-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .hm-split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .hm-split-rev .hm-media { order: -1; }
  .hm-modules { grid-template-columns: repeat(4, 1fr); }
  .hm-tech-grid { grid-template-columns: repeat(4, 1fr); }
  .hm-proof-grid { grid-template-columns: repeat(4, 1fr); }
  .hm-blog { grid-template-columns: repeat(3, 1fr); }
  .hm-faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
}

/* =============================================================
   CABEÇALHO NOVO (referência da home): logo | menu central | botões
   Sem barra superior. Prefixo hd- para os botões.
   ============================================================= */
.site-header {
  font-family: "Poppins", var(--font);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}
.site-header .header-inner { min-height: 68px; }
.site-header .brand-logo { height: 36px; }

.site-header .nav-list { gap: 22px; }
.site-header .nav-list > li > a,
.site-header .dropdown-toggle {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #111;
}
.site-header .nav-list > li > a:hover,
.site-header .dropdown-toggle:hover { color: var(--teal); }
.site-header .dropdown-menu a { font-family: inherit; }

.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 22px;
  border-radius: var(--radius-pill);
  font-family: "Poppins", var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  border: 1.5px solid var(--teal);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.hd-btn-solid { background: var(--teal); color: #fff; }
.hd-btn-solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.hd-btn-line { background: #fff; color: var(--teal); min-width: 118px; }
.hd-btn-line:hover { background: var(--teal); color: #fff; }

.site-header .header-actions { gap: 14px; }
.drawer-actions .hd-btn { width: 100%; padding: 12px 22px; font-size: 0.9rem; }

/* =============================================================
   MENU: pesos mais leves, espaçamento melhor e destaque "Evah IA"
   ============================================================= */
.site-header .nav-list { gap: 30px; }
.site-header .nav-list > li > a,
.site-header .dropdown-toggle {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #2b2b3a;
}
.site-header .dropdown-menu a { font-weight: 400; letter-spacing: 0.01em; }
.drawer-nav a, .drawer-acc-toggle { font-weight: 500; }
.drawer-sub a { font-weight: 400; }

/* Destaque Evah IA: pílula com borda em degradê roxo, ícone de brilho */
.site-header .nav-list > li > a.nav-evah,
.drawer-nav a.nav-evah {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(#faf6ff, #faf6ff) padding-box,
    linear-gradient(120deg, #8b3ff0 0%, #c04bf0 55%, #5b3df0 100%) border-box;
  color: #6c2bd9;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(139, 63, 240, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.nav-evah svg { color: #8b3ff0; flex: 0 0 auto; transition: transform 0.4s ease; }
.site-header .nav-list > li > a.nav-evah:hover,
.drawer-nav a.nav-evah:hover {
  color: #5a1fc4;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(139, 63, 240, 0.32);
}
.nav-evah:hover svg { transform: rotate(18deg) scale(1.1); }
.drawer-nav a.nav-evah { margin: 6px 0; }

/* Evah IA: visual próprio (pílula preenchida em degradê + ondas de voz) */
.site-header .nav-list > li > a.nav-evah,
.drawer-nav a.nav-evah {
  background: linear-gradient(120deg, #7a35e6 0%, #9b4df0 50%, #6a3ee8 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(122, 53, 230, 0.35);
}
.site-header .nav-list > li > a.nav-evah:hover,
.drawer-nav a.nav-evah:hover {
  color: #fff;
  box-shadow: 0 8px 22px rgba(122, 53, 230, 0.5);
}

/* Ondas de voz animadas (a Evah atua por voz e texto) */
.evah-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}
.evah-wave i {
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: #fff;
  transform: scaleY(0.35);
  animation: evahWave 1.1s ease-in-out infinite;
}
.evah-wave i:nth-child(2) { animation-delay: 0.12s; }
.evah-wave i:nth-child(3) { animation-delay: 0.24s; }
.evah-wave i:nth-child(4) { animation-delay: 0.36s; }
.evah-wave i:nth-child(5) { animation-delay: 0.48s; }
@keyframes evahWave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .evah-wave i { animation: none; transform: scaleY(0.7); }
}

/* =============================================================
   PÁGINA SUPER IA (prefixo ia-) - usa a base .hm da home
   ============================================================= */
.ia-kicker { margin: 0 0 6px; font-size: 1rem; font-weight: 300; color: var(--hm-gray); }

/* O problema */
.ia-problem {
  padding-block: 56px;
  background: linear-gradient(120deg, #f4f4f4 0%, #d8eeed 100%);
}
.ia-cards { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1000px; margin-inline: auto; }
.ia-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 24px 24px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.ia-card h3 { font-size: 1rem; font-weight: 700; color: var(--teal); margin: 0 0 8px; line-height: 1.3; }
.ia-card p { font-size: 0.85rem; margin: 0 0 12px; line-height: 1.6; }
.ia-dots { margin: 0; }
.ia-dots li { position: relative; padding-left: 14px; font-size: 0.78rem; font-weight: 500; color: var(--teal); }
.ia-dots li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.ia-cards-light .ia-card { background: #fff; border: 1px solid #e6efee; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07); }
.ia-cards-light .ia-card p { margin: 0; }

/* Painéis teal (recepção / médico) */
.ia-panels { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1040px; margin-inline: auto; }
.ia-panel { border-radius: 24px 24px 0 0; overflow: hidden; border: 1px solid #b7dcda; border-bottom: 0; }
.ia-panel-media { border-radius: 0; border: 0; background: #d9d9d9; }
.ia-panel-media::before { color: #666; }
.ia-panel-media img { background: transparent; }
.ia-panel-body { background: var(--teal); color: #fff; padding: 32px 30px 36px; }
.ia-panel-body p, .ia-panel-body li { color: #fff; font-weight: 300; font-size: 0.9rem; line-height: 1.6; }
.ia-panel-tag { display: block; font-size: 0.8rem; font-weight: 300; margin-bottom: 14px; opacity: 0.95; }
.ia-panel-body h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; }
.ia-panel-body ul { margin: 14px 0 0; display: grid; gap: 6px; }
.ia-panel-body li { position: relative; padding-left: 16px; font-size: 0.8rem; }
.ia-panel-body li::before { content: ""; position: absolute; left: 3px; top: 0.6em; width: 4px; height: 4px; border-radius: 50%; background: #fff; }

/* Faixa degradê */
.ia-grad { padding-block: 64px; background: linear-gradient(120deg, #f4f4f4 0%, #d8eeed 100%); }

/* Aviso */
.ia-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1000px;
  margin: 18px auto 0;
  padding: 18px 22px;
  background: #e1f4f2;
  border: 1px solid #bfe3e0;
  border-radius: 14px;
  color: var(--teal);
}
.ia-notice svg { flex: 0 0 auto; }
.ia-notice p { margin: 0; font-size: 0.8rem; line-height: 1.55; }
.ia-notice strong { color: var(--teal); font-weight: 700; }

/* Comparativo */
.ia-compare { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin-inline: auto; }
.ia-compare-box { border: 1px solid #e0e0e6; border-radius: 28px; background: #f7f8fa; padding: 36px 36px 32px; }
.ia-compare-on { background: #cdf1ee; border-color: var(--teal); }
.ia-compare-tag { display: block; font-size: 0.78rem; font-weight: 400; text-transform: uppercase; color: var(--hm-gray); margin-bottom: 18px; }
.ia-compare-on .ia-compare-tag { color: var(--teal); }
.ia-compare-box h3 { font-size: 1.3rem; font-weight: 700; color: var(--hm-gray); margin: 0 0 18px; }
.ia-compare-on h3 { color: var(--teal); }
.ia-compare-box ul { display: grid; gap: 14px; }
.ia-compare-box li { font-size: 0.9rem; font-weight: 400; line-height: 1.45; color: var(--hm-ink); }

/* FAQ em lista simples */
.ia-faq .hm-accordion { display: block; }
.ia-faq .accordion-item { border: 0; border-bottom: 1px solid #d9d9d9; border-radius: 0; background: transparent; }
.ia-faq .accordion-header { padding: 14px 4px; font-weight: 600; color: var(--teal); font-size: 0.85rem; }
.ia-faq .acc-icon { color: #333; }

@media (min-width: 768px) {
  .ia-cards { grid-template-columns: repeat(3, 1fr); }
  .ia-compare { grid-template-columns: 1fr 1fr; }
  .ia-panels { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   HOME: vida, destaque e animações (home-fx.js)
   ============================================================= */

/* Barra de progresso de rolagem */
.fx-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--teal), #5ac8c2 55%, #7a35e6);
  z-index: 300;
  pointer-events: none;
}

/* Revelação ao rolar */
.fx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--fx-delay, 0ms);
}
.fx-reveal.fx-zoom { transform: translateY(20px) scale(0.95); }
.fx-reveal.fx-in { opacity: 1; transform: none; }

/* Botões: elevação + brilho que passa */
.hm-btn { position: relative; overflow: hidden; transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; }
.hm-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 154, 149, 0.28); }
.hm-btn-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.hm-btn-solid:hover::after { transform: translateX(130%); }

/* ---------- HERO ---------- */
.hm-hero { position: relative; overflow: hidden; }
.hm-hero-grid { position: relative; z-index: 1; }

.hm-hero-text > * { animation: hmRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hm-hero-text > *:nth-child(2) { animation-delay: 0.12s; }
.hm-hero-text > *:nth-child(3) { animation-delay: 0.24s; }
.hm-hero-text > *:nth-child(4) { animation-delay: 0.36s; }

.hm-hero .hm-media {
  animation: hmHeroIn 1s ease 0.2s both, hmFloat 7s ease-in-out 1.2s infinite;
  transform: translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 12px), 0);
  transition: transform 0.25s ease-out;
}

/* Destaque do título principal: brilho suave que corre */
.hm-hero .hm-title strong {
  background: linear-gradient(90deg, #009a95 0%, #2fc8c0 45%, #009a95 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hmShine 7s linear infinite;
}

/* ---------- ESTATÍSTICAS: cartão elevado ---------- */
.hm-stats { padding: 8px 0 48px; }
.hm-stats-grid {
  background: #fff;
  border: 1px solid #e3efee;
  border-radius: 24px;
  padding: 28px 18px;
  box-shadow: 0 18px 50px rgba(0, 126, 118, 0.12);
}
.hm-stat { padding-inline: 8px; }
.hm-stat strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }

/* ---------- ECOSSISTEMA: cartões interativos ---------- */
.hm-module {
  padding: 24px 20px 20px;
  border: 1px solid #e3efee;
  border-radius: 18px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hm-module:hover {
  transform: translateY(-8px);
  border-color: var(--teal);
  box-shadow: 0 20px 44px rgba(0, 154, 149, 0.18);
}
.hm-module .hm-ico { transition: transform 0.35s ease; }
.hm-module:hover .hm-ico { transform: scale(1.12) rotate(-4deg); }
.hm-link { display: inline-block; transition: transform 0.25s ease; }
.hm-module:hover .hm-link { transform: translateX(6px); }

/* ---------- EVAH IA: seção em destaque ---------- */
.hm-evah { padding-block: 40px; }
.hm-evah > .container {
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
  border-radius: 32px;
  border: 1px solid rgba(122, 53, 230, 0.16);
  background: linear-gradient(135deg, #f6f0ff 0%, #eef8f8 58%, #dff3f1 100%);
  box-shadow: 0 24px 64px rgba(122, 53, 230, 0.13);
}
.hm-evah > .container::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -140px; top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 53, 230, 0.22), transparent 65%);
  animation: hmBlob 12s ease-in-out infinite;
  pointer-events: none;
}
.hm-evah .hm-body, .hm-evah .hm-media { position: relative; z-index: 1; }
.hm-evah .hm-body::before {
  content: "EVAH IA";
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, #7a35e6, #9b4df0);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  box-shadow: 0 6px 16px rgba(122, 53, 230, 0.3);
}
.hm-evah .hm-checks li::before { background: #e2d4fb; color: #7a35e6; }

/* ---------- FAIXA WHATSAPP ---------- */
.hm-band { background: linear-gradient(120deg, #f0f0f0 0%, #e4f3f2 100%); }
.hm-mini li { transition: transform 0.25s ease; }
.hm-mini li:hover { transform: translateY(-3px); }

/* Pílulas da telemedicina */
.hm-pills li { transition: background 0.2s, color 0.2s, transform 0.2s; }
.hm-pills li:hover { background: #5a35c0; color: #fff; transform: translateY(-2px); }

/* ---------- TECNOLOGIA: cartões com linha de destaque ---------- */
.hm-card { position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hm-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #5ac8c2);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s ease;
}
.hm-card:hover { transform: translateY(-7px); box-shadow: 0 18px 38px rgba(0, 126, 118, 0.22); }
.hm-card:hover::before { transform: scaleX(1); }

/* ---------- VÍDEOS ---------- */
.hm-video { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hm-video:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18); }

/* ---------- DEPOIMENTOS ---------- */
.hm-proof { position: relative; overflow: hidden; }
.hm-proof::before,
.hm-proof::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
}
.hm-proof::before { width: 480px; height: 480px; left: -160px; top: -200px; animation: hmBlob 16s ease-in-out infinite; }
.hm-proof::after { width: 380px; height: 380px; right: -120px; bottom: -180px; animation: hmBlob 20s ease-in-out infinite reverse; }
.hm-proof .container { position: relative; z-index: 1; }
.hm-quote { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hm-quote:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.25); }

/* ---------- BLOG ---------- */
.hm-post { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hm-post:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0, 126, 118, 0.22); }
.hm-post .hm-media img { transition: transform 0.6s ease; }
.hm-post:hover .hm-media img { transform: scale(1.06); }
.hm-more { display: inline-block; transition: transform 0.25s ease, color 0.25s ease; }
.hm-post:hover .hm-more { transform: translateX(6px); color: var(--teal); }

/* ---------- FAQ ---------- */
.hm-accordion .accordion-item { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.hm-accordion .accordion-item:hover { border-color: var(--teal); }
.hm-accordion .accordion-item.open { border-color: var(--teal); box-shadow: 0 8px 22px rgba(0, 154, 149, 0.14); }

/* ---------- Keyframes ---------- */
@keyframes hmRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hmHeroIn { from { opacity: 0; scale: 0.94; } to { opacity: 1; scale: 1; } }
@keyframes hmFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes hmBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 24px) scale(1.12); } }
@keyframes hmShine { to { background-position: -200% center; } }

@media (min-width: 768px) {
  .hm-evah > .container { padding: 56px 48px; }
  .hm-stat + .hm-stat { border-left: 1px solid #e3efee; }
}

/* Quem prefere menos movimento: sem animações nesta página */
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after, .fx-progress {
    animation: none !important;
    transition: none !important;
  }
  .hm-hero .hm-title strong { -webkit-text-fill-color: var(--teal); color: var(--teal); background: none; }
}

/* =============================================================
   HOME: imagens reais e ícones
   ============================================================= */
/* Quando a imagem existe, some o quadro tracejado e a imagem manda no formato */
.hm-media:has(> img) {
  border: 0;
  background: none;
  border-radius: 0;
  overflow: visible;
}
.hm-media:has(> img)::before { content: none; }
.hm-media > img {
  background: transparent;
  object-fit: contain;
}
/* As montagens da home são quadradas (fundo transparente) */
.hm-hero .hm-media:has(> img),
.hm-split .hm-media:has(> img) {
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
}
.hm-hero .hm-media:has(> img) { max-width: 600px; }

/* Ícones (arquivos da pasta ou SVG provisório) */
.hm-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  color: var(--teal);
  transition: transform 0.35s ease;
}
.hm-icon img,
.hm-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hm-module .hm-icon { margin-left: -8px; }
.hm-module:hover .hm-icon { transform: scale(1.12) rotate(-4deg); }
.hm-mini .hm-icon { width: 52px; height: 52px; }
.hm-mini li:hover .hm-icon { transform: scale(1.1); }

/* Capas do blog (fotos): preenchem o quadro sem distorcer */
.hm-post .hm-media > img { object-fit: cover; }

/* =============================================================
   HOME: faixa de chamada "Está trocando de sistema?"
   ============================================================= */
.hm-cta { padding-block: 24px 56px; }
.hm-cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 36px 26px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(120deg, #006f69 0%, #009a95 55%, #2cc4bd 100%);
  box-shadow: 0 24px 56px rgba(0, 126, 118, 0.32);
}
.hm-cta-card > * { position: relative; z-index: 1; }


.hm-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hm-cta-body h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.2;
}
.hm-cta-body h2 strong { display: block; font-weight: 700; color: #fff; }
.hm-cta-body p {
  max-width: 520px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.65;
}
.hm-cta-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hm-cta-chips li {
  padding: 5px 14px 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 500;
}
.hm-cta-chips li::before { content: "✓"; margin-right: 7px; color: #bff3ef; font-weight: 700; }

.hm-cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #007e76;
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hm-cta-btn svg { transition: transform 0.25s ease; }
.hm-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3); }
.hm-cta-btn:hover svg { transform: translateX(5px); }
.hm-cta-note { font-size: 0.78rem; font-weight: 300; color: rgba(255, 255, 255, 0.85); padding-left: 6px; }

@media (min-width: 900px) {
  .hm-cta-card { grid-template-columns: 1fr auto; gap: 48px; padding: 52px 56px; }
  .hm-cta-body h2 { font-size: 2.4rem; }
  .hm-cta-action { align-items: flex-end; }
  .hm-cta-note { padding: 0 6px 0 0; }
}

/* =============================================================
   Evah IA: ajustes para as imagens reais (capturas de tela)
   ============================================================= */
/* painéis verdes: a imagem fica sobre fundo cinza-claro, com respiro */
.ia-panel-media:has(> img) { background: #e6ebea; aspect-ratio: 4 / 3; max-width: none; }
.ia-panel-media > img { inset: 7%; width: 86%; height: 86%; }

/* faixa "Você pede. A Evah ajuda a resolver.": captura de tela larga */
.ia-grad .hm-media:has(> img) { aspect-ratio: 16 / 10; max-width: none; }
.ia-grad .hm-media > img { filter: drop-shadow(0 14px 30px rgba(0, 60, 56, 0.22)); }

/* ---------- Marca d'água da logo no lugar dos círculos decorativos ---------- */
.hm-proof::before,
.hm-proof::after,
.hm-evah > .container::before {
  border-radius: 0;
  -webkit-mask: url("assets/img/marca-dagua.svg") no-repeat center / contain;
  mask: url("assets/img/marca-dagua.svg") no-repeat center / contain;
}
.hm-proof::before,
.hm-proof::after { background: #fff; opacity: 0.08; }
.hm-proof::before { width: 340px; height: 340px; left: -90px; top: -110px; }
.hm-proof::after { width: 260px; height: 260px; right: -60px; bottom: -80px; }
.hm-evah > .container::before { width: 360px; height: 360px; right: -90px; top: -110px; background: #7a35e6; opacity: 0.08; }

/* ---------- Imagens pequenas da Evah IA: exibidas no tamanho original, sem ampliar ---------- */
.hm-media[data-ph="evah-crm.png"] { max-width: none; margin-inline: auto; aspect-ratio: 3543 / 2080 !important; }
.hm-media[data-ph="evah-whatsapp.png"] { max-width: 346px; margin-inline: auto; aspect-ratio: 346 / 360 !important; }
.hm-media[data-ph="evah-prontuario-cronologico.png"] { max-width: 440px; margin-inline: auto; aspect-ratio: 440 / 273 !important; }
.hm-media[data-ph^="evah-"] { border: 0; background: transparent; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1); }
.hm-media[data-ph^="evah-"] img { background: transparent; }

/* ---------- Menu Soluções: Central de Atendimento em destaque ---------- */
.dropdown-menu { min-width: 340px; border-radius: 14px; }
.menu-destaque { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.dropdown-menu .menu-destaque a,
.drawer-sub .menu-destaque a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(120deg, #00736e 0%, #009a95 60%, #19b3ad 100%);
  box-shadow: 0 10px 22px rgba(0, 126, 118, 0.28);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dropdown-menu .menu-destaque a::after,
.drawer-sub .menu-destaque a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: 120% 0;
  transition: background-position 0.7s ease;
  pointer-events: none;
}
.dropdown-menu .menu-destaque a:hover,
.drawer-sub .menu-destaque a:hover {
  color: #fff;
  background: linear-gradient(120deg, #00736e 0%, #009a95 60%, #19b3ad 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 126, 118, 0.36);
}
.dropdown-menu .menu-destaque a:hover::after,
.drawer-sub .menu-destaque a:hover::after { background-position: -20% 0; }
.menu-destaque .md-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-destaque .md-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.menu-destaque .md-txt strong { font-weight: 600; font-size: 0.9rem; }
.menu-destaque .md-txt small { font-size: 0.72rem; font-weight: 300; opacity: 0.9; }
.menu-destaque .md-tag {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00736e;
  background: #fff;
  border-radius: 999px;
  padding: 3px 8px;
}
.drawer-sub .menu-destaque { border-top: 0; margin: 8px 6px 6px; padding-top: 0; }
.drawer-sub.open { max-height: 760px; }

/* ---------- Evah IA: os dois painéis com a mesma altura e alinhados ---------- */
.ia-panels { align-items: stretch; }
.ia-panel { display: flex; flex-direction: column; border-bottom: 1px solid #b7dcda; border-radius: 24px; background: var(--teal); }
/* área da imagem com altura igual nos dois painéis; a imagem fica inteira e no tamanho real (sem ampliar) */
.ia-panels .ia-panel-media[data-ph] {
  flex: 0 0 auto;
  width: 100%;
  max-width: none !important;
  aspect-ratio: auto !important;
  height: 300px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #e6ebea;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}
.ia-panels .ia-panel-media[data-ph] > img {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.ia-panels .ia-panel-media[data-ph]::before { display: none; }
/* o texto ocupa o resto do painel, assim os dois fundos verdes terminam juntos */
.ia-panel-body { flex: 1 1 auto; }
@media (max-width: 639px) {
  .ia-panels .ia-panel-media[data-ph] { height: 240px; padding: 18px; }
}

/* =============================================================
   CELULAR/TABLET: em toda seção de texto + imagem, o texto vem
   primeiro e a imagem depois. Assim nunca ficam duas fotos seguidas
   (a foto de uma seção colada na foto da próxima).
   Cada regra vale só abaixo do ponto em que o bloco vira 2 colunas,
   então o computador não muda.
   ============================================================= */
@media (max-width: 859px) {
  .split > .split-media,
  .split.reverse > .split-media { order: 2 !important; }
}
@media (max-width: 959px) {
  .k-two > .k-media,
  .cda-two > .cda-media,
  .aba-two > .aba-media,
  .aba-two > figure { order: 2 !important; }
}
@media (max-width: 1023px) {
  .hm-split > .hm-media,
  .hm-split > figure { order: 2 !important; }
}

/* Celular: os dois vídeos viram carrossel (desliza para o lado), em vez de ficarem um sobre o outro */
@media (max-width: 767px) {
  .hm-videos-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    margin-inline: -4px;
    padding-inline: 4px;
    scrollbar-width: thin;
  }
  .hm-videos-grid > .hm-video { scroll-snap-align: center; }
  .hm-videos-grid::after {
    content: "Deslize para ver o outro vídeo →";
    grid-row: 2;
    grid-column: 1;
    font-size: 0.78rem;
    color: var(--muted);
    padding-top: 2px;
  }
}

/* Celular/tablet (Sobre): a chamada final vem antes da foto, separando o mapa da foto */
@media (max-width: 959px) {
  .sb-final .container { display: flex; flex-direction: column; }
  .sb-final .sb-cta { order: 1; margin-top: 0 !important; }
  .sb-final .k-photo { order: 2; margin-top: 24px; }
}

/* =============================================================
   CELULAR: todo o conteúdo centralizado (computador não muda)
   Exceções que continuam à esquerda, por legibilidade:
   páginas jurídicas, tabela de planos, perguntas frequentes e formulários.
   Listas com marcador ficam como um bloco centralizado (o marcador
   continua ao lado de cada item).
   ============================================================= */
@media (max-width: 767px) {
  main { text-align: center; }
  main h1, main h2, main h3, main h4, main p, main li, main span, main small, main strong, main figcaption, main blockquote { text-align: center; }

  /* blocos que eram alinhados à esquerda */
  main .k-head, main .k-text, main .k-hero-body, main .hm-body, main .hm-head, main .split-body,
  main .about-hero-body, main .cda-hero-body, main .aba-hero, main .k-cta, main .cda-cta,
  main .ia-panel-body, main .k-card, main .k-tile, main .k-stat, main .ct-card, main .bene-col,
  main .ec, main .ec4, main .escola-card, main .escola-mini, main .bene-mini, main .k-mini,
  main .cda-impact-card, main .cda-duo-card, main .cda-journey, main .cda-feature, main .cda-role,
  main .aba-card, main .aba-panel, main .challenge-card, main .compare-col, main .plan-card,
  main .blog-card, main .blog-body, main .featured-body, main .hm-card, main .hm-module,
  main .hm-quote, main .hm-post-body, main .sb-proof, main .final-cta-intro, main .highlight-module {
    text-align: center !important;
  }

  /* botões e grupos de botões no centro */
  main .k-actions, main .cda-actions, main .aba-actions, main .hm-actions, main .hero-actions { justify-content: center !important; align-items: center !important; }
  main .btn, main .hm-btn { margin-inline: auto; }
  main .k-actions .btn, main .cda-actions .btn { margin-inline: 0; }

  /* ícone + texto lado a lado: ícone em cima, tudo centralizado */
  main .k-icon-item, main .k-card-row, main .k-check, main .cda-pain, main .cda-feature-head,
  main .escola-check, main .escola-feat, main .bene-feat, main .aba-card, main .aba-feat,
  main .hm-feature, main .fcf-item, main .reason, main .pillar-item, main .bene-step {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  main .k-ico, main .k-card-num, main .k-flow-num, main .ef-icon, main .bf-icon, main .challenge-icon,
  main .plan-icon, main .fcf-icon, main .cda-pain img, main .cda-feature-head img, main .aba-ico,
  main .k-card .k-ico { margin-left: auto !important; margin-right: auto !important; align-self: center !important; }

  /* listas com marcador: o bloco vai para o centro, cada item mantém o marcador ao lado */
  main ul.check-list, main .k-checks, main .aba-checks, main .hm-body ul, main .ia-panel-body ul,
  main .cda-two .check-list, main .payments-mini, main .hero-features, main .aba-dots, main .compare-col ul,
  main .k-text ul, main .split-body ul {
    display: inline-grid !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
  }
  main ul.check-list li, main .k-checks *, main .aba-checks li, main .hm-body ul li, main .ia-panel-body li,
  main .payments-mini li, main .hero-features li, main .aba-dots li, main .compare-col li, main .k-text ul li, main .split-body ul li {
    text-align: left !important;
  }
  main .k-check { flex-direction: row !important; align-items: flex-start !important; text-align: left !important; }

  /* etiquetas acima dos títulos */
  main .k-kicker, main .eyebrow, main .cda-kicker, main .aba-kicker, main .chip-eyebrow, main .sb-kicker { margin-left: auto; margin-right: auto; }
  main .breadcrumb { justify-content: center; }

  /* exceções: continuam alinhadas à esquerda */
  main .legal, main .legal *, main .plans-table, main .plans-table *, main .modules-table, main .modules-table *,
  main .accordion-panel, main .accordion-panel *, main .accordion-header, main .accordion-header *,
  main form, main form * { text-align: left !important; }
  main .doc-page .page-hero, main.doc-page .page-hero * { text-align: center !important; }
}

/* Clínica Escola: frase de fecho à esquerda no computador, centralizada no celular */
@media (min-width: 768px) { .escola-closing-left { text-align: left; } }

/* Faixa "Está trocando de sistema?" no celular: conteúdo centralizado e sem espaço vazio à direita */
@media (max-width: 899px) {
  .hm-cta-card { padding: 32px 22px; gap: 22px; text-align: center; }
  .hm-cta-body { display: flex; flex-direction: column; align-items: center; }
  .hm-cta-tag { margin-inline: auto; }
  .hm-cta-body h2 { text-wrap: wrap; max-width: none; width: 100%; }
  .hm-cta-body p { max-width: none; margin-inline: auto; }
  .hm-cta-chips { justify-content: center; }
  .hm-cta-action { align-items: center; }
  .hm-cta-btn { width: 100%; max-width: 360px; justify-content: center; }
}
