/* =====================================================================
   Acessibilidade — utilitários globais (WCAG 2.4.1, 1.3.1)
   ================================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #003a40;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  outline: 2px solid #cbc9bb;
  outline-offset: 2px;
}

/* =====================================================================
   Inputs — evita auto-zoom no iOS (font-size deve ser >= 16px)
   Override do webflow.css (.w-input { font-size: 14px })
   ================================================================== */

.w-input,
.w-select,
.search-input,
textarea.w-input {
  font-size: 16px;
}

/* Touch target mínimo 44x44 (WCAG 2.5.5) — search-button era 45x45 */
.search-button,
.search-button-b {
  width: 48px;
  height: 48px;
}

/* :focus-visible global — substitui outline:0 do webflow.css em estados focáveis */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #0050bd;
  outline-offset: 2px;
}

/* Setas do slider — fora do tab order é OK mas precisam aria-label visualmente */
.w-slider-arrow-left,
.w-slider-arrow-right {
  cursor: pointer;
}

/* Reduce-motion para usuários com prefers-reduced-motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Botão WhatsApp flutuante — reposiciona em mobile para não sobrepor CTAs do banner Anvisa */
@media (max-width: 480px) {
  .div-block-11 {
    bottom: 80px !important;
  }
}

/* =====================================================================
   Menu / Navbar — refinamento minimalista (desktop + mobile)
   ================================================================== */

/* --- Topbar escura: logo + busca + botão login --- */
.menu .div-block-16 {
  padding: 4px 0 !important;
  min-height: 48px;
}

.menu .div-block-18 {
  min-height: 48px;
  align-items: center;
}

/* Logo */
.menu .image-56,
.menu .div-block-19 img {
  max-height: 28px !important;
  width: auto;
  height: auto;
}

.menu .div-block-19 {
  display: inline-flex;
  align-items: center;
}

/* Busca */
.menu .div-block-20 {
  position: relative;
  align-self: center;
}

.menu .search-c,
.menu .search-c.w-form {
  margin: 0;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 200px;
  overflow: hidden;
  transition: background 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.menu .search-c:hover,
.menu .search-c:focus-within {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.2);
}

.menu .search-input {
  height: 36px !important;
  padding: 6px 14px !important;
  font-size: 14px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  min-width: 240px;
  outline: none;
}

.menu .search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.menu .search-button,
.menu .search-button-b {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 0 200px 200px 0 !important;
  background-color: transparent !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  transition: background-color 0.18s ease;
}

.menu .search-button:hover,
.menu .search-button-b:hover,
.menu .search-button:focus-visible,
.menu .search-button-b:focus-visible {
  background-color: rgba(255, 255, 255, 0.10) !important;
}

/* Login button minimalista */
.menu .button-2.w-button,
.menu .div-block-21 .button-2 {
  height: 36px;
  min-height: 36px;
  padding: 0 16px 0 36px !important;
  font-size: 13px;
  border-radius: 200px;
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  background-position: 14px center;
  background-size: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}

.menu .button-2.w-button:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- Navbar branca: navegação principal --- */
.navbar-no-shadow-container.w-nav {
  height: auto !important;
  min-height: 48px !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.navbar-no-shadow-container .navbar-wrapper {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.navbar-menu.w-nav-menu {
  display: flex;
  align-items: center;
}

.navbar-menu-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-link.w-nav-link {
  padding: 12px 14px !important;
  font-size: 14px !important;
  color: #003a40 !important;
  line-height: 1.2;
  transition: color 0.18s ease, background 0.18s ease;
  border-radius: 4px;
  margin: 0 !important;
}

.navbar-link.w-nav-link:hover,
.navbar-link.w-nav-link.w--current {
  background: rgba(0, 58, 64, 0.05);
  color: #003a40 !important;
}

.navbar-link.w-nav-link[aria-current="page"] {
  font-weight: 600;
}

/* Dropdown Treinamentos — toggle */
.menu-dropdown.w-dropdown {
  padding: 0 !important;
  margin: 0 4px !important;
  align-self: center;
}

.dropdown-toggle-2.w-dropdown-toggle {
  padding: 12px 32px 12px 14px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px !important;
  color: #003a40 !important;
  border-radius: 4px;
  transition: background 0.18s ease;
  cursor: pointer;
}

.dropdown-toggle-2.w-dropdown-toggle:hover {
  background: rgba(0, 58, 64, 0.05);
}

.dropdown-title {
  font-size: 14px;
  line-height: 1.2;
}

.w-icon-dropdown-toggle {
  font-size: 10px;
  margin-left: 2px;
  color: #003a40;
}

/* Dropdown list — grid em 2 colunas com cards limpos */
.dropdown-list-2b.w-dropdown-list {
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(0, 58, 64, 0.14) !important;
  border-radius: 10px !important;
  padding: 10px !important;
  min-width: 640px !important;
  max-width: 720px;
  margin-top: 4px;
}

.div-block-156-b {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.dropdown-link-2.w-inline-block {
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.dropdown-link-2.w-inline-block:hover {
  background: #f4f6f6;
}

.dropdown-links {
  font-size: 14px;
  font-weight: 600;
  color: #003a40;
  line-height: 1.25;
  margin-bottom: 2px;
}

.paragraph-small {
  font-size: 12px;
  color: #5a6d70;
  line-height: 1.35;
  margin: 0;
}

/* --- Mobile (até 991px) --- */
@media (max-width: 991px) {
  .menu .div-block-16 {
    padding: 8px 16px !important;
  }
  .menu .div-block-18 {
    flex-wrap: wrap;
    gap: 8px;
  }
  .menu .div-block-20 {
    flex: 1 1 auto;
    order: 3;
    width: 100%;
  }
  .menu .search-input {
    min-width: 0;
    width: 100%;
  }
  .menu .button-2.w-button {
    font-size: 12px;
    padding: 0 12px 0 32px !important;
    background-position: 10px center;
  }

  .menu-button.w-nav-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #003a40;
    background: transparent;
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
  }

  .menu-button.w-nav-button .text-block-62 {
    color: #003a40;
  }

  .navbar-menu.w-nav-menu {
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 58, 64, 0.12);
    padding: 8px 0;
    display: none;
  }
  .w-nav[data-nav-menu-open] .navbar-menu.w-nav-menu,
  .navbar-menu.w-nav-menu.w--open {
    display: flex !important;
  }

  .navbar-menu-left {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .navbar-link.w-nav-link,
  .dropdown-toggle-2.w-dropdown-toggle {
    width: 100%;
    padding: 12px 20px !important;
    border-radius: 0;
    border-bottom: 1px solid #eef0f0;
    justify-content: space-between;
  }

  .menu-dropdown.w-dropdown {
    width: 100%;
    margin: 0 !important;
  }

  .dropdown-list-2b.w-dropdown-list {
    position: static !important;
    min-width: 0 !important;
    max-width: none;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #f9fafa !important;
    display: none !important;
  }

  .dropdown-list-2b.w-dropdown-list.vesta-mobile-open {
    display: block !important;
    padding: 4px 0 8px !important;
  }

  .dropdown-toggle-2.w-dropdown-toggle.vesta-mobile-active {
    background: rgba(0, 58, 64, 0.05);
  }

  .dropdown-toggle-2.w-dropdown-toggle::after {
    content: '▾';
    margin-left: auto;
    color: #003a40;
    transition: transform 0.18s ease;
  }
  .dropdown-toggle-2.w-dropdown-toggle.vesta-mobile-active::after {
    transform: rotate(180deg);
  }

  .dropdown-toggle-2.w-dropdown-toggle .w-icon-dropdown-toggle {
    display: none;
  }

  .div-block-156-b {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dropdown-link-2.w-inline-block {
    border-radius: 0;
    padding: 10px 28px !important;
    border-bottom: 1px solid #eef0f0;
  }

  .paragraph-small {
    display: none;
  }
}

/* Cor do input de busca em sidebars (não-menu) — mantém preto pra contraste */
.search-input {
  outline: none;
}

/* =====================================================================
   Mobile menu panel — painel próprio independente do Webflow
   ================================================================== */
#vesta-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
  font-family: 'Metrisch', sans-serif !important;
}
#vesta-mobile-menu * {
  font-family: 'Metrisch', sans-serif !important;
}
#vesta-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}
#vesta-mobile-menu .vmm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 28, 32, 0.55);
}
#vesta-mobile-menu .vmm-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: #fff;
  padding: 64px 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.26s ease;
  -webkit-overflow-scrolling: touch;
}
#vesta-mobile-menu.is-open .vmm-content {
  transform: translateX(0);
}
#vesta-mobile-menu .vmm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #003a40 !important;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
}
#vesta-mobile-menu .vmm-close:hover {
  background: rgba(0, 58, 64, 0.06);
}

/* Search dentro do painel */
#vesta-mobile-menu .vmm-search {
  width: 100%;
  margin-bottom: 8px;
}
#vesta-mobile-menu .vmm-search form,
#vesta-mobile-menu .vmm-search .search-c {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#vesta-mobile-menu .vmm-search input[type="search"],
#vesta-mobile-menu .vmm-search .search-input {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #d0d6d6 !important;
  background: #f7f8f8 !important;
  color: #003a40 !important;
  padding: 10px 44px 10px 14px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  height: 42px !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
}
#vesta-mobile-menu .vmm-search input[type="submit"],
#vesta-mobile-menu .vmm-search button[type="submit"],
#vesta-mobile-menu .vmm-search .search-button {
  position: absolute !important;
  right: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 34px !important;
  height: 34px !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003a40' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  border: 0 !important;
  cursor: pointer !important;
  padding: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
  box-shadow: none !important;
}

/* Nav dentro do painel */
#vesta-mobile-menu .vmm-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
#vesta-mobile-menu .vmm-nav .navbar-link,
#vesta-mobile-menu .vmm-nav .dropdown-toggle-2 {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 8px !important;
  border-bottom: 1px solid #eef0f0 !important;
  color: #003a40 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  background: transparent !important;
  text-transform: none !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-title {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #003a40 !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 !important;
}
#vesta-mobile-menu .vmm-nav .menu-dropdown {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-toggle-2::after {
  content: '▾' !important;
  margin-left: auto !important;
  color: #003a40 !important;
  font-size: 14px !important;
  transition: transform 0.18s ease;
}
#vesta-mobile-menu .vmm-nav .dropdown-toggle-2.vesta-mobile-active::after {
  transform: rotate(180deg);
}
#vesta-mobile-menu .vmm-nav .w-icon-dropdown-toggle {
  display: none !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-list-2b {
  position: static !important;
  display: none !important;
  background: #f5f7f7 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;
  border: 0 !important;
  width: 100% !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-list-2b.vesta-mobile-open {
  display: block !important;
  padding: 0 !important;
}
#vesta-mobile-menu .vmm-nav .div-block-156-b {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-link-2 {
  display: block !important;
  padding: 12px 24px !important;
  border-bottom: 1px solid #e6ebeb !important;
  background: transparent !important;
  color: #003a40 !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-link-2:hover {
  background: rgba(0, 58, 64, 0.04) !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-link-2:last-child {
  border-bottom: 0 !important;
}
#vesta-mobile-menu .vmm-nav .dropdown-links {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #003a40 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
}
#vesta-mobile-menu .vmm-nav .paragraph-small {
  display: none !important;
}

/* Login button no rodapé */
#vesta-mobile-menu .vmm-login.button-2 {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 14px !important;
  padding: 12px 24px 12px 44px !important;
  margin-top: 16px !important;
  background-position: 18px center !important;
}

/* Body lock quando menu está aberto */
body.vesta-menu-open {
  overflow: hidden !important;
}

/* Esconde o painel no desktop */
@media (min-width: 992px) {
  #vesta-mobile-menu {
    display: none !important;
  }
}

/* =====================================================================
   Language switcher (Google Translate) — bandeiras à ESQUERDA do botão login
   ================================================================== */

.menu .div-block-21 {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.vesta-langs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.vesta-lang {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  filter: grayscale(0.4);
  opacity: 0.7;
}

.vesta-lang:hover {
  background: rgba(255, 255, 255, 0.10);
  filter: grayscale(0);
  opacity: 1;
}

.vesta-lang.is-active {
  filter: grayscale(0);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

#google_translate_element,
#google_translate_element * {
  position: absolute !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* HARD HIDE de tudo que o Google Translate injeta visualmente */
.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
iframe.skiptranslate,
iframe.goog-te-menu-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

html, body {
  top: 0 !important;
  position: static !important;
}

/* Restaura background/box-shadow em texto traduzido */
font[style*="background-color"] {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* =====================================================================
   Mobile menu redesenhado (logo esquerda + hamburger direita)
   ================================================================== */

@media (max-width: 991px) {
  .menu .div-block-16 {
    padding: 8px 16px !important;
    min-height: 56px;
  }

  /* TOPBAR: logo esquerda, langs entre, hamburger direita.
     Search e login da topbar ficam ESCONDIDOS no mobile (movidos pra dentro do menu via JS). */
  .menu .div-block-18 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .menu .div-block-19 {
    flex: 0 0 auto;
    order: 1;
  }

  .menu .vesta-langs {
    order: 2;
    margin-right: 0;
    flex: 0 0 auto;
  }

  /* Topbar original: esconde search e login (clones aparecem dentro do menu) */
  .menu .div-block-18 > .div-block-20:not(.vesta-mobile-search),
  .menu .div-block-18 > .div-block-21:not(.vesta-mobile-login) {
    display: none !important;
  }

  /* Hamburger button — movido para a topbar via JS, posicionado à direita */
  .menu-button.w-nav-button.vesta-mobile-hamburger {
    order: 3;
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 6px;
    position: relative;
    margin: 0;
  }

  .menu-button.w-nav-button.vesta-mobile-hamburger:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-button.w-nav-button.vesta-mobile-hamburger .text-block-62 {
    display: none;
  }

  /* Ícone de hambúrguer (3 linhas) renderizado via pseudo-elementos */
  .menu-button.w-nav-button.vesta-mobile-hamburger::before {
    content: '';
    width: 20px;
    height: 14px;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
    color: #fff;
  }

  .w-nav[data-nav-menu-open] .menu-button.w-nav-button.vesta-mobile-hamburger::before {
    background:
      linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat;
    transform: rotate(45deg);
  }

  /* Navbar branca vira só um wrapper invisível pra o w-nav funcionar */
  .navbar-no-shadow-container.w-nav {
    background: transparent;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  .navbar-no-shadow-container .container-regular,
  .navbar-no-shadow-container .navbar-wrapper {
    margin: 0;
    padding: 0;
    min-height: 0;
    display: block;
  }

  /* Esconde o hamburger ORIGINAL se ainda estiver na navbar-wrapper */
  .navbar-wrapper > .menu-button.w-nav-button:not(.vesta-mobile-hamburger) {
    display: none;
  }

  /* Menu aberto (Webflow seta data-nav-menu-open OU classe w--open) */
  .navbar-menu.w-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 58, 64, 0.16);
    padding: 8px 0;
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  /* Clones de search/login no menu mobile */
  .vesta-mobile-search {
    padding: 12px 20px;
    background: #f7f8f8;
    border-bottom: 1px solid #eef0f0;
    width: 100% !important;
    display: block !important;
  }

  .vesta-mobile-search form.search-c {
    background: #fff;
    border: 1px solid rgba(0, 58, 64, 0.18);
  }

  .vesta-mobile-search .search-input {
    color: #003a40 !important;
    min-width: 0;
    width: 100%;
  }

  .vesta-mobile-search .search-input::placeholder {
    color: rgba(0, 58, 64, 0.5);
  }

  .vesta-mobile-search .search-button,
  .vesta-mobile-search .search-button-b {
    filter: invert(1);
  }

  .vesta-mobile-login {
    padding: 16px 20px;
    border-top: 1px solid #eef0f0;
    margin-top: 4px;
    display: block !important;
  }

  .vesta-mobile-login .button-2.w-button {
    width: 100%;
    justify-content: center;
    height: 44px;
    background-color: #003a40;
    border-color: #003a40;
    color: #fff;
    padding: 0 16px 0 36px !important;
  }
}

/* Live search — garante que toda form[role="search"] seja positioned
   pra o dropdown ancorar embaixo do input em qualquer contexto (menu, sidebar, etc.) */
form[role="search"],
form.search-c.w-form,
form.search.w-form {
  position: relative;
}

/* Padronização visual das buscas SECUNDÁRIAS (sidebar de blog, single article, single curso)
   Targeting genérico — em seguida, regras .menu específicas têm specificity maior e ganham. */
form.search-c.w-form,
form.search.w-form {
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  margin: 0 0 16px 0;
  padding: 0;
  background: #fff;
  border: 1.5px solid #89764e;
  border-radius: 999px;
  box-sizing: border-box;
  overflow: visible !important; /* dropdown do live search precisa aparecer fora do form */
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
form.search-c.w-form:focus-within,
form.search.w-form:focus-within {
  border-color: #003a40;
  box-shadow: 0 0 0 3px rgba(0, 58, 64, 0.08);
}
form.search-c.w-form > .search-input.w-input,
form.search.w-form > .search-input.w-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 18px;
  margin: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #003a40;
  font-size: 14px;
  font-family: 'Metrisch', sans-serif;
  box-shadow: none;
}
form.search-c.w-form > .search-input.w-input::placeholder,
form.search.w-form > .search-input.w-input::placeholder {
  color: #8a9999;
}
form.search-c.w-form > .search-button.w-button,
form.search-c.w-form > .search-button-b.w-button,
form.search.w-form > .search-button.w-button,
form.search.w-form > .search-button-b.w-button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003a40' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  border: 0;
  border-left: 1px solid #e6ebeb;
  border-radius: 0;
  cursor: pointer;
  font-size: 0;
  color: transparent;
  box-shadow: none;
  opacity: 0.85;
  transition: opacity 0.18s ease, background-color 0.18s ease;
}
form.search-c.w-form > .search-button.w-button:hover,
form.search-c.w-form > .search-button-b.w-button:hover,
form.search.w-form > .search-button.w-button:hover,
form.search.w-form > .search-button-b.w-button:hover {
  background-color: rgba(0, 58, 64, 0.04);
  opacity: 1;
}

/* Reaplicar override do menu DEPOIS (specificity ganha). Menu não usa as regras acima. */
.menu .search-c.w-form,
.menu form.search-c.w-form {
  height: auto;
  margin: 0;
  border-radius: 200px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: visible !important; /* dropdown do live search */
}
.menu .search-c.w-form > .search-input.w-input {
  height: auto;
  padding: 8px 16px;
  color: #fff;
  font-size: 13px;
}
.menu .search-c.w-form > .search-input.w-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.menu .search-c.w-form > .search-button.w-button {
  width: 36px;
  height: 36px;
  border-left: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-size: 16px 16px;
}

/* Live search dropdown */
.vesta-livesearch-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 58, 64, 0.18);
  z-index: 9999;
  max-height: 480px;
  overflow-y: auto;
  display: none;
  font-family: Metrisch, system-ui, sans-serif;
}

.vesta-livesearch-results.is-open {
  display: block;
}

.vesta-livesearch-section {
  padding: 8px 0;
}

.vesta-livesearch-section + .vesta-livesearch-section {
  border-top: 1px solid #ececec;
}

.vesta-livesearch-section__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7d80;
  padding: 6px 16px 4px;
  font-weight: 600;
}

.vesta-livesearch-item {
  display: block;
  padding: 10px 16px;
  color: #003a40;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  border-bottom: 1px solid #f3f3f3;
}

.vesta-livesearch-item:last-child {
  border-bottom: 0;
}

.vesta-livesearch-item:hover,
.vesta-livesearch-item:focus {
  background: #f5f5f3;
  outline: none;
}

.vesta-livesearch-item__title {
  display: block;
  font-weight: 500;
}

.vesta-livesearch-item__excerpt {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5a6d70;
}

.vesta-livesearch-empty,
.vesta-livesearch-loading {
  padding: 16px;
  color: #6b7d80;
  font-size: 14px;
  text-align: center;
}

/* Wrapper precisa ser relativo pra dropdown ancorar */
.div-block-20 {
  position: relative;
}

/* =====================================================================
   Banners do hero — HTML idêntico ao Figma. Coordenadas exatas
   extraídas via Figma MCP — base 1920x718.
   ================================================================== */

.vesta-banner {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.w-slide .vesta-banner { width: 100%; }

.vesta-banner__inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 1920 / 718;
}

.vesta-banner img {
  display: block;
  max-width: none;
}

/* ===================================================================
   Banner MDSAP — fundo dark teal, photo direita, MDSAP-flag-letters
=================================================================== */

.vesta-banner--mdsap .vesta-banner__inner {
  background-color: #003a40;
}

/* Background com textura sutil (mapa-mundi) — node 28:38/28:42 */
.vesta-banner--mdsap .vesta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

/* Foto das pessoas — node 28:262 — left:58.13%, top:16px (2.23%), aspect 1:1 */
.vesta-banner--mdsap .vesta-banner__photo {
  position: absolute;
  top: 2.23%;
  left: 58.13%;
  right: 3.28%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 3;
}

.vesta-banner--mdsap .vesta-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Emblema circular MDSAP (Arte 2) — node 28:44
   inset[21.45% 86.56% 55.15% 4.69%] → 168x168 */
.vesta-banner--mdsap .vesta-banner__badge {
  position: absolute;
  top: 21.45%;
  left: 4.69%;
  width: 8.75%;
  aspect-ratio: 1 / 1;
  z-index: 3;
}

/* "Treinamento" — node 28:233 — inset[18.52% 57.41% 63.93% 14.83%]
   90px Metrisch Medium #cbc9bb */
.vesta-banner--mdsap .vesta-banner__title-1 {
  position: absolute;
  top: 18.52%;
  left: 14.83%;
  margin: 0;
  font-family: Metrisch, sans-serif;
  font-weight: 500;
  font-size: 4.69vw; /* 90/1920*100 */
  line-height: 1.1;
  color: #cbc9bb;
  white-space: nowrap;
  z-index: 3;
}

/* MDSAP-flag-letters inline (Arte 38) — node 28:166
   inset[21.45% 37.86% 69.48% 44.31%] → 17.83% w, 9.07% h */
.vesta-banner--mdsap .vesta-banner__flagletters {
  position: absolute;
  top: 21.45%;
  left: 44.31%;
  width: 17.83%;
  height: 9.07%;
  z-index: 3;
}

/* "na Vesta Academy" — node 28:234 — top:32.45%, left:14.83% */
.vesta-banner--mdsap .vesta-banner__title-2 {
  position: absolute;
  top: 32.45%;
  left: 14.83%;
  margin: 0;
  font-family: Metrisch, sans-serif;
  font-weight: 500;
  font-size: 4.69vw;
  line-height: 1.1;
  color: #cbc9bb;
  white-space: nowrap;
  z-index: 3;
}

/* Subtitle — node 28:165 — inset[52.09% 45.68% 40.11% 4.69%]
   40px Metrisch Medium white */
.vesta-banner--mdsap .vesta-banner__subtitle {
  position: absolute;
  top: 52.09%;
  left: 4.69%;
  width: 49.63%;
  margin: 0;
  font-family: Metrisch, sans-serif;
  font-weight: 500;
  font-size: 2.08vw; /* 40/1920*100 */
  line-height: 1.4;
  color: #ffffff;
  z-index: 3;
}

/* Saiba mais — Rectangle 28:263 + text 28:264
   Rectangle: 90px left, 523px top, 207x52 → top 72.84%, left 4.69%, w 10.78%, h 7.24%
   bg:#7e7050 rounded 20px, font 20px Metrisch Bold uppercase white */
/* Botão padrão do site (pill rounded-200, padding 15-20px). */
.vesta-banner--mdsap .vesta-banner__cta {
  position: absolute;
  top: 72%;
  left: 4.69%;
  background-color: #7e7050;
  color: #ffffff;
  border-radius: 200px;
  font-family: Metrisch, sans-serif;
  font-weight: 700;
  font-size: 1.15vw;
  padding: 0.85vw 2.6vw;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background-color .2s ease;
  z-index: 4;
}

.vesta-banner--mdsap .vesta-banner__cta:hover {
  background-color: #968762;
  transform: scale(1.05);
}

/* Faixa de bandeiras (Frame 1) — node 28:235 — inset[97.35% 0 0 0] */
.vesta-banner--mdsap .vesta-banner__flagbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.65%;
  z-index: 5;
}

.vesta-banner--mdsap .vesta-banner__flagbar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================================================
   Banner MDR — fundo cream, MDR title em Zenovak, photos direita
=================================================================== */

.vesta-banner--mdr .vesta-banner__inner {
  background-color: #cbc9bb;
}

/* image 3 (textura watermark) — node 28:372 — pos:-22,-245, 1974x1316 */
.vesta-banner--mdr .vesta-banner__bg {
  position: absolute;
  top: -34.12%;   /* -245/718*100 */
  left: -1.15%;   /* -22/1920*100 */
  width: 102.81%; /* 1974/1920*100 */
  height: 183.29%;/* 1316/718*100 */
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

/* Overlay translúcido cream (Rectangle 28:373) bg:#cbc9bb 93% */
.vesta-banner--mdr .vesta-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(203, 201, 187, 0.93);
  pointer-events: none;
  z-index: 2;
}

/* Pessoas (back) — node 28:378 — pos:1313,-34, 624x937 */
.vesta-banner--mdr .vesta-banner__photo-back {
  position: absolute;
  top: -4.74%;     /* -34/718*100 */
  left: 68.39%;    /* 1313/1920*100 */
  width: 32.5%;    /* 624/1920*100 */
  height: 130.50%; /* 937/718*100 */
  object-fit: contain;
  object-position: top;
  pointer-events: none;
  z-index: 3;
}

/* Pessoas (front) — node 28:379 — left:50.47%, top:67px (9.33%), aspect 1024/1024 */
.vesta-banner--mdr .vesta-banner__photo {
  position: absolute;
  top: 9.33%;
  left: 50.47%;
  right: 15.78%;
  aspect-ratio: 1024 / 1024;
  pointer-events: none;
  z-index: 4;
}

.vesta-banner--mdr .vesta-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

/* Pill "Turma Confirmada!" — node 28:381+382
   bg:#003a40, 106,85, 450x70, rounded 20px
   text 40px Metrisch Bold #cbc9bb centered */
.vesta-banner--mdr .vesta-banner__pill {
  position: absolute;
  top: 11.84%;     /* 85/718*100 */
  left: 5.52%;     /* 106/1920*100 */
  width: 23.44%;   /* 450/1920*100 */
  height: 9.75%;   /* 70/718*100 */
  background-color: #003a40;
  border-radius: 1.04vw;
  color: #cbc9bb;
  font-family: Metrisch, sans-serif;
  font-weight: 700;
  font-size: 2.08vw; /* 40/1920*100 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* Container do conteúdo — agrupa título, subtítulo e CTA em coluna,
   centralizado verticalmente no banner e alinhado à esquerda. */
.vesta-banner--mdr .vesta-banner__content {
  position: absolute;
  top: 50%;
  left: 5.52%;
  transform: translateY(-50%);
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8vw;
  z-index: 5;
}

/* Título "Domine o / MDR:745/2017 / na Vesta Academy!" — bloco em coluna */
.vesta-banner--mdr .vesta-banner__title {
  margin: 0;
  font-family: Zenovak, Metrisch, sans-serif;
  font-weight: 400;
  font-size: 3.65vw; /* 70/1920*100 */
  line-height: 1.15;
  color: #003a40;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1em;
}

.vesta-banner--mdr .vesta-banner__title-line {
  display: block;
}

/* Imagem "MDR:745/2017" como linha própria do título */
.vesta-banner--mdr .vesta-banner__mdr-text {
  display: block;
  height: 0.85em;
  width: auto;
}

/* Subtítulo */
.vesta-banner--mdr .vesta-banner__subtitle {
  margin: 0;
  font-family: Metrisch, sans-serif;
  font-weight: 400;
  font-size: 1.82vw; /* 35/1920*100 */
  line-height: 1.4;
  color: #000000;
}

/* Calendário ícone — node 28:383 — 106,532, 93.72x95.39 */
.vesta-banner--mdr .vesta-banner__calendar {
  position: absolute;
  top: 74.10%;
  left: 5.52%;
  width: 4.88%;
  height: 13.29%;
  z-index: 5;
}

/* Datas — nodes 28:395 + 28:396 — 225,535/583, 35px Metrisch Medium #003a40 */
.vesta-banner--mdr .vesta-banner__dates {
  position: absolute;
  top: 74.51%;
  left: 11.72%; /* 225/1920*100 */
  font-family: Metrisch, sans-serif;
  font-weight: 500;
  font-size: 1.82vw;
  line-height: 1.37; /* (583-535)/35 ≈ 1.37 */
  color: #003a40;
  z-index: 5;
}

.vesta-banner--mdr .vesta-banner__dates span { display: block; }

/* Ribbon Vector — node 28:397 — inset[74.09% 49.38% 17.55% 29.53%] */
.vesta-banner--mdr .vesta-banner__ribbon {
  position: absolute;
  top: 74.09%;
  left: 29.53%;
  width: 21.10%;   /* 100 - 49.38 - 29.53 */
  height: 8.36%;   /* 100 - 74.09 - 17.55 */
  z-index: 5;
}

/* Texto "Não perca essa oportunidade!" — node 28:400
   pos:588,543, 25px Metrisch Bold #003a40 (não branco) */
.vesta-banner--mdr .vesta-banner__ribbon-text {
  position: absolute;
  top: 75.63%;     /* 543/718*100 */
  left: 30.62%;    /* 588/1920*100 */
  margin: 0;
  font-family: Metrisch, sans-serif;
  font-weight: 700;
  font-size: 1.30vw; /* 25/1920*100 */
  line-height: 1.4;
  color: #003a40;
  white-space: nowrap;
  z-index: 6;
}

/* Inscreva-se — pill no padrão do site, dentro do flex container */
.vesta-banner--mdr .vesta-banner__cta {
  background-color: #003a40;
  border-radius: 200px;
  color: #ffffff;
  font-family: Metrisch, sans-serif;
  font-weight: 700;
  font-size: 1.15vw;
  padding: 0.85vw 2.6vw;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .3s ease, background-color .2s ease;
  z-index: 6;
}

.vesta-banner--mdr .vesta-banner__cta:hover {
  background-color: #1f5dab;
  transform: scale(1.05);
}

/* Decoração inferior (Frame 2 + image 27018 1) — node 28:374 */
.vesta-banner--mdr .vesta-banner__bottom-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.65%;   /* 100 - 97.35 */
  overflow: hidden;
  z-index: 5;
}

.vesta-banner--mdr .vesta-banner__bottom-deco img {
  position: absolute;
  bottom: 0;
  left: -0.47%;
  width: 100.94%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
}

/* ===================================================================
   Banner 3 — Treinamento MDSAP módulo Anvisa (Figma node 177:7)
   1920x718, fundo dark teal #003a40 com tarja bege à direita,
   pill bege esquerda + título cream + data + botão khaki.
   =================================================================== */

.vesta-banner--anvisa .vesta-banner__inner {
  background-color: #003a40;
}

/* Imagem de fundo (escritório/cidade desfocado) com filtro verde por cima */
.vesta-banner--anvisa .vesta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.vesta-banner--anvisa .vesta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(0,58,64,0.85) 0%,
    rgba(0,58,64,0.7) 60%,
    rgba(0,58,64,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Foto da mulher — node 177:13, x:1204, y:0, w:632.66, h:949 */
.vesta-banner--anvisa .vesta-banner__photo {
  position: absolute;
  top: 0;
  left: 62.71%;       /* 1204/1920 */
  width: 32.95%;      /* 632.66/1920 */
  height: 132.18%;    /* 949/718 */
  z-index: 2;
  pointer-events: none;
}

.vesta-banner--anvisa .vesta-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

/* Wrapper do conteúdo — coluna alinhada à esquerda, centralizada vertical.
   Largura limitada pra não invadir o espaço da foto. */
.vesta-banner--anvisa .vesta-banner__content {
  position: absolute;
  top: 50%;
  left: 4.69%;        /* mesmo offset do MDSAP */
  transform: translateY(-50%);
  width: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8vw;
  z-index: 5;
}

/* Linha título — badge MDSAP + texto */
.vesta-banner--anvisa .vesta-banner__title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5vw;
}

/* Badge MDSAP circular à esquerda do título */
.vesta-banner--anvisa .vesta-banner__badge {
  width: 6vw;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  display: block;
}

/* Título — mesma família, peso e cor do MDSAP (Metrisch Medium #cbc9bb) */
.vesta-banner--anvisa .vesta-banner__title {
  margin: 0;
  font-family: Metrisch, sans-serif;
  font-weight: 500;
  font-size: 4vw;     /* ligeiramente menor pra caber ao lado do badge */
  line-height: 1.1;
  color: #cbc9bb;
  white-space: nowrap;
}

.vesta-banner--anvisa .vesta-banner__title-line {
  display: block;
}

/* Faixa de bandeiras inferior — mesma do MDSAP */
.vesta-banner--anvisa .vesta-banner__flagbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.65%;
  z-index: 5;
}

.vesta-banner--anvisa .vesta-banner__flagbar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bloco data — calendário + datas em linha */
.vesta-banner--anvisa .vesta-banner__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.4vw;
}

.vesta-banner--anvisa .vesta-banner__calendar {
  width: 4.5vw;       /* ~86px / 1920 */
  height: 4.5vw;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.vesta-banner--anvisa .vesta-banner__dates {
  display: flex;
  flex-direction: column;
  font-family: Metrisch, sans-serif;
  font-size: 2.08vw;  /* 40/1920 */
  line-height: 1.4;
}

.vesta-banner--anvisa .vesta-banner__date {
  color: #ffffff;
  font-weight: 400;
}

.vesta-banner--anvisa .vesta-banner__time {
  color: #d6d2c4;
  font-weight: 700;
}

/* Botão "Matricule-se" — bg khaki #aba180, texto dark teal */
.vesta-banner--anvisa .vesta-banner__cta {
  background-color: #aba180;
  border-radius: 200px;
  color: #00393f;
  font-family: Metrisch, sans-serif;
  font-weight: 700;
  font-size: 1.56vw;  /* 30/1920 */
  padding: 0.85vw 2.6vw;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .3s ease, background-color .2s ease;
}

.vesta-banner--anvisa .vesta-banner__cta:hover {
  background-color: #c0b594;
  transform: scale(1.05);
}

/* ===================================================================
   Mobile (< 768px) — altura FIXA idêntica nos dois banners,
   layout vertical limpo: bloco de texto + foto abaixo.
=================================================================== */

@media (max-width: 767.98px) {

  /* Container — mesma altura nos três banners */
  .vesta-banner--mdsap .vesta-banner__inner,
  .vesta-banner--mdr .vesta-banner__inner,
  .vesta-banner--anvisa .vesta-banner__inner {
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8vw 6vw;
    overflow: hidden;
    box-sizing: border-box;
  }

  /* Reset absolute positioning + transforms de TODOS descendentes */
  .vesta-banner--mdsap .vesta-banner__inner *,
  .vesta-banner--mdr .vesta-banner__inner *,
  .vesta-banner--anvisa .vesta-banner__inner * {
    position: static !important;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none !important;
  }

  .vesta-banner--mdsap .vesta-banner__inner > *,
  .vesta-banner--mdr .vesta-banner__inner > *,
  .vesta-banner--anvisa .vesta-banner__inner > * {
    width: auto;
    height: auto;
    margin: 0;
  }

  /* Reset wrappers flex-column criados no desktop para fluxo natural mobile */
  .vesta-banner--mdr .vesta-banner__content,
  .vesta-banner--anvisa .vesta-banner__content,
  .vesta-banner--mdr .vesta-banner__title,
  .vesta-banner--anvisa .vesta-banner__title {
    display: block !important;
    width: 100% !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .vesta-banner--mdsap .vesta-banner__photo,
  .vesta-banner--mdsap .vesta-banner__flagbar,
  .vesta-banner--mdr .vesta-banner__photo,
  .vesta-banner--mdr .vesta-banner__photo-back,
  .vesta-banner--mdr .vesta-banner__bottom-deco,
  .vesta-banner--anvisa .vesta-banner__photo,
  .vesta-banner--anvisa .vesta-banner__flagbar {
    display: none !important;
  }

  /* Background com opacidade reduzida no MDSAP mobile */
  .vesta-banner--mdsap .vesta-banner__bg {
    display: block !important;
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
  }

  /* MDR bg + overlay */
  .vesta-banner--mdr .vesta-banner__bg {
    display: block !important;
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .vesta-banner--mdr .vesta-banner__overlay {
    display: block !important;
    position: absolute !important;
    inset: 0;
    background: rgba(203, 201, 187, 0.9);
    z-index: 1;
  }

  /* Anvisa bg + overlay mantêm posicionamento absoluto */
  .vesta-banner--anvisa .vesta-banner__bg {
    display: block !important;
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
  }

  .vesta-banner--anvisa .vesta-banner__overlay {
    display: block !important;
    position: absolute !important;
    inset: 0;
    background: rgba(0, 58, 64, 0.7);
    z-index: 1;
  }

  /* Conteúdo precisa ficar acima do bg/overlay */
  .vesta-banner--anvisa .vesta-banner__content,
  .vesta-banner--mdr .vesta-banner__content {
    position: relative !important;
    z-index: 5;
  }

  /* ----- MDSAP mobile ----- */

  .vesta-banner--mdsap .vesta-banner__badge {
    display: block;
    width: 22vw;
    aspect-ratio: 1 / 1;
    margin: 0 auto 6vw;
  }

  .vesta-banner--mdsap .vesta-banner__title-1,
  .vesta-banner--mdsap .vesta-banner__title-2 {
    font-size: 9vw;
    line-height: 1.15;
    white-space: normal;
    color: #cbc9bb;
    text-align: center;
  }

  .vesta-banner--mdsap .vesta-banner__flagletters {
    display: block;
    width: 60vw;
    height: auto;
    margin: 3vw auto;
  }

  .vesta-banner--mdsap .vesta-banner__title-2 {
    margin-bottom: 6vw;
  }

  .vesta-banner--mdsap .vesta-banner__subtitle {
    font-size: 4vw;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 8vw;
    max-width: 100%;
  }

  .vesta-banner--mdsap .vesta-banner__cta {
    display: inline-flex;
    font-size: 3.6vw;
    padding: 3.5vw 8vw;
    border-radius: 200px;
    background-color: #7e7050;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  /* ----- MDR mobile ----- */

  .vesta-banner--mdr .vesta-banner__pill {
    display: inline-flex;
    font-size: 4vw;
    padding: 2.5vw 6vw;
    border-radius: 200px;
    background-color: #003a40;
    color: #cbc9bb;
    font-weight: 700;
    margin-bottom: 6vw;
  }

  .vesta-banner--mdr .vesta-banner__title {
    font-family: Zenovak, Metrisch, sans-serif;
    font-size: 8vw;
    line-height: 1.15;
    color: #003a40;
    text-align: center;
  }

  .vesta-banner--mdr .vesta-banner__title-line {
    display: block;
  }

  .vesta-banner--mdr .vesta-banner__mdr-text {
    display: block;
    width: 75%;
    height: auto;
    margin: 3vw auto;
  }

  .vesta-banner--mdr .vesta-banner__subtitle {
    font-size: 4vw;
    line-height: 1.4;
    color: #003a40;
    margin: 4vw 0 6vw;
    max-width: 100%;
  }

  /* Wrapper em flex row pra calendário ficar à ESQUERDA das datas */
  .vesta-banner--mdr .vesta-banner__info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4vw;
    margin-bottom: 6vw;
  }

  .vesta-banner--mdr .vesta-banner__calendar {
    width: 12vw;
    height: auto;
    aspect-ratio: 94 / 96;
    flex-shrink: 0;
  }

  .vesta-banner--mdr .vesta-banner__dates {
    font-size: 4vw;
    font-weight: 700;
    line-height: 1.3;
    color: #003a40;
    text-align: left;
  }

  .vesta-banner--mdr .vesta-banner__cta {
    display: inline-flex;
    font-size: 3.6vw;
    padding: 3.5vw 8vw;
    border-radius: 200px;
    background-color: #003a40;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  /* ----- Anvisa mobile ----- */

  /* Reset title-row pra fluxo block, badge vai centralizado em cima */
  .vesta-banner--anvisa .vesta-banner__title-row {
    display: block !important;
    width: 100% !important;
  }

  .vesta-banner--anvisa .vesta-banner__badge {
    display: block !important;
    width: 22vw;
    aspect-ratio: 1 / 1;
    margin: 0 auto 6vw !important;
  }

  .vesta-banner--anvisa .vesta-banner__title {
    font-family: Metrisch, sans-serif;
    font-weight: 500;
    font-size: 8vw;
    line-height: 1.15;
    color: #cbc9bb;
    text-align: center;
    white-space: normal !important;
  }

  .vesta-banner--anvisa .vesta-banner__title-line {
    display: block;
  }

  .vesta-banner--anvisa .vesta-banner__info {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4vw;
    margin: 6vw 0 !important;
  }

  .vesta-banner--anvisa .vesta-banner__calendar {
    width: 12vw;
    height: auto;
    flex-shrink: 0;
  }

  .vesta-banner--anvisa .vesta-banner__dates {
    display: flex !important;
    flex-direction: column;
    font-size: 4vw;
    line-height: 1.3;
    text-align: left;
  }

  .vesta-banner--anvisa .vesta-banner__date { color: #ffffff; font-weight: 400; }
  .vesta-banner--anvisa .vesta-banner__time { color: #d6d2c4; font-weight: 700; }

  .vesta-banner--anvisa .vesta-banner__cta {
    display: inline-flex;
    font-size: 3.6vw;
    padding: 3.5vw 8vw;
    border-radius: 200px;
    background-color: #aba180;
    color: #00393f;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
}
