/* Afya iClinic — Homepage
   Tokens consolidados em um único :root; um bloco por seletor; breakpoints: 1280 / 1024 / 768 / 520. */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Afya Sans";
  src: url("assets/fonts/AfyaSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Afya Sans";
  src: url("assets/fonts/AfyaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Afya Sans";
  src: url("assets/fonts/AfyaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Afya Sans";
  src: url("assets/fonts/AfyaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  /* Manual da marca: Nunito Sans em CTAs e números de destaque (fonte variável) */
  font-family: "Nunito Sans";
  src: url("assets/fonts/NunitoSans-Variable.ttf") format("truetype-variations");
  font-weight: 200 1000;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Cores (get_variable_defs) */
  --v6-navy: #001f3d;        /* blue/10 Midnight */
  --v6-prussian: #002a52;    /* blue/20 */
  --v6-royal: #003e8a;       /* blue/40 */
  --v6-blue: #0b63cb;        /* blue/70 Science Blue, primário */
  --v6-blue-140: #b8d9ff;
  --v6-blue-150: #d6e9ff;
  --v6-alice: #f0f7ff;       /* light */
  --v6-page: #ffffff;        /* fundo único da home (sem alternância de faixas) */
  --v6-pink: #ce0058;
  --v6-text: #333333;
  --v6-muted: rgba(51, 51, 51, 0.72);
  --v6-madison: rgba(11, 53, 105, 0.78);
  --v6-chumbo: #3f3f3f;

  /* Tipografia (escala do frame 1920 → clamp) */
  --v6-font: "Afya Sans", Arial, "Helvetica Neue", sans-serif;
  --v6-font-cta: "Nunito Sans", "Afya Sans", Arial, sans-serif;
  --v6-fs-h1: clamp(2.6rem, 1.35rem + 3.9vw, 4.55rem);        /* 72.8 */
  --v6-fs-h2: clamp(2rem, 1.15rem + 2.65vw, 3.45rem);         /* 55.2 */
  --v6-fs-h2-lg: clamp(2.1rem, 1.2rem + 2.95vw, 3.9rem);      /* 62.3–67.4 */
  --v6-fs-h3: clamp(1.25rem, 1.05rem + 0.6vw, 1.53rem);       /* 24.5 */
  --v6-fs-body: 1rem;
  --v6-fs-body-lg: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);    /* 18.4 */

  /* Grade horizontal alinhada à página live do produto (iclinic.com.br),
     medida no render (grid__Container): 1384px totais = conteúdo 1320px
     + gutters de 2×32px (16px ≤1024px) */
  --v6-container: 1320px;
  --v6-gutter: 32px;

  /* Espaçamento vertical de seção (fundo único): vão branco
     total entre seções ≈ 2× o token; band = blocos "colados" (ex.: migração) */
  --v6-space-section: clamp(48px, 5.5vw, 88px);
  --v6-space-band: clamp(24px, 3vw, 52px);

  /* Raios: blocos padronizados em 25px (proposta do cliente) */
  --v6-radius-block: 25px;
  --v6-radius-card: 8px;
  --v6-radius-button: 12px;

  /* Sombras recorrentes */
  --v6-shadow-button: 0 14px 28px rgba(11, 99, 203, 0.24);
  --v6-shadow-card: 0 15.8px 38.4px rgba(0, 42, 82, 0.14);
  --v6-shadow-header: 0 10px 32px rgba(7, 38, 83, 0.08);
  --v6-shadow-icon: 0 16.7px 17.9px rgba(11, 99, 203, 0.1);

  --v6-header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--v6-header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--v6-font);
  font-size: var(--v6-fs-body);
  line-height: 1.55;
  color: var(--v6-text);
  background: var(--v6-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(11, 99, 203, 0.85);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(11, 99, 203, 0.22);
}

/* ---------- Utilitários ---------- */
.v6-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.v6-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--v6-navy);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.v6-skip:focus {
  transform: none;
}

.v6-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: var(--v6-icon) center / contain no-repeat;
  mask: var(--v6-icon) center / contain no-repeat;
}

.v6-rule {
  display: block;
  width: 68px;
  height: 4px;
  border-radius: 999px;
  background: var(--v6-pink);
}

.v6-rule-slim {
  width: 48px;
  height: 3px;
}

.v6-section {
  position: relative;
}

.v6-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 1px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.v6-arrow {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 12px;
  flex: none;
}

.v6-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.v6-arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Botões ---------- */
.v6-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 27px;
  border-radius: var(--v6-radius-button);
  font-family: var(--v6-font-cta);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.v6-button:hover {
  transform: translateY(-2px);
}

.v6-button:active {
  transform: translateY(0);
}

.v6-button-primary {
  background: var(--v6-blue);
  color: #fff;
  box-shadow: var(--v6-shadow-button);
}

.v6-button-primary:hover {
  background: #0a58b5;
}

.v6-button-outline {
  background: #fff;
  color: var(--v6-blue);
  border: 1px solid rgba(11, 99, 203, 0.34);
}

.v6-button-outline:hover {
  border-color: var(--v6-blue);
}

.v6-header-actions .v6-button-outline {
  color: var(--v6-navy);
  border-color: var(--v6-blue);
}

.v6-button-on-light {
  background: #fff;
  color: var(--v6-blue);
  box-shadow: 0 18px 21px rgba(11, 99, 203, 0.24);
}

.v6-button-on-dark {
  background: rgba(0, 31, 61, 0.66);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.v6-button-on-dark:hover {
  background: rgba(0, 31, 61, 0.85);
}

.v6-button-big {
  min-height: 64px;
  padding: 18px 34px;
  font-size: 1.05rem;
}

/* ---------- Navegação circular de carrossel ---------- */
.v6-round-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: rgba(179, 216, 250, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--v6-blue);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.v6-round-nav:hover {
  background: rgba(179, 216, 250, 0.85);
  transform: scale(1.05);
}

.v6-round-arrow {
  position: relative;
  display: block;
  width: 20px;
  height: 12px;
}

.v6-round-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.v6-round-arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.v6-round-nav-prev .v6-round-arrow {
  transform: scaleX(-1);
}

.v6-carousel-count {
  font-size: 0.95rem;
  color: var(--v6-muted);
}

.v6-carousel-count b {
  color: var(--v6-navy);
}

/* ---------- Reveal ---------- */
.v6-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.v6-reveal.v6-is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
.v6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(11, 99, 203, 0.1);
  box-shadow: var(--v6-shadow-header);
}

.v6-header::before {
  /* Fundo + blur num pseudo: backdrop-filter no próprio header o tornaria
     containing block dos descendentes position:fixed — o menu mobile e as
     ações passavam a se ancorar no header colapsado em vez do viewport (P1) */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.v6-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: calc(var(--v6-container) + 2 * var(--v6-gutter));
  margin: 0 auto;
  padding: 14px var(--v6-gutter);
  min-height: var(--v6-header-h);
}

.v6-brand {
  flex: none;
  display: inline-flex;
}

.v6-brand img {
  /* Manual da marca: largura mínima do logo em ambiente digital = 185px */
  width: 186px;
}

.v6-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  margin: 0 auto;
}

.v6-nav-item {
  position: relative;
}

.v6-nav-trigger,
.v6-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--v6-text);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.v6-nav-trigger::after,
.v6-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40%;
  height: 2px;
  border-radius: 999px;
  background: var(--v6-pink);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.18s ease;
}

.v6-nav-trigger:hover::after,
.v6-nav-link:hover::after,
.v6-nav-trigger[aria-expanded="true"]::after {
  opacity: 1;
}

.v6-nav-trigger[aria-expanded="true"] .v6-chevron {
  transform: rotate(225deg) translateY(-2px);
}

.v6-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(11, 99, 203, 0.14);
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(0, 42, 82, 0.18);
  display: none;
  z-index: 10;
}

.v6-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--v6-text);
  white-space: nowrap;
}

.v6-dropdown a:hover {
  background: var(--v6-alice);
  color: var(--v6-royal);
}

.v6-dropdown strong {
  display: block;
  padding: 4px 10px 8px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v6-royal);
}

.v6-dropdown small {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--v6-pink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.v6-nav-item.v6-is-open .v6-dropdown {
  display: block;
}

/* ---------- Megamenu categorizado (etapa 2) ----------
   Painéis largos usam position: fixed (ancoram no viewport — o blur do header
   vive no ::before justamente para não capturar fixed) e centralizam na tela;
   o painel estreito de públicos segue ancorado no item. */
.v6-dropdown-mega,
.v6-dropdown-conteudos {
  position: fixed;
  top: calc(var(--v6-header-h) + 6px);
  left: 50%;
  transform: translateX(-50%);
  max-height: calc(100vh - var(--v6-header-h) - 28px);
  overflow-y: auto;
}

.v6-dropdown-mega {
  width: min(880px, calc(100vw - 32px));
  padding: 22px 22px 10px;
}

.v6-dropdown-conteudos {
  width: min(620px, calc(100vw - 32px));
  padding: 22px;
}

.v6-dropdown-publicos {
  min-width: 340px;
}

.v6-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 20px;
  align-items: start;
}

.v6-dropdown-conteudos .v6-mega-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v6-mega-col strong:not(:first-child) {
  margin-top: 14px;
}

.v6-dropdown .v6-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  white-space: normal;
}

.v6-mega-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--v6-alice);
  color: var(--v6-royal);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.v6-mega-icon .v6-icon {
  width: 18px;
  height: 18px;
}

.v6-mega-item:hover .v6-mega-icon {
  background: var(--v6-royal);
  color: #fff;
}

.v6-mega-text {
  display: block;
  min-width: 0;
}

.v6-mega-text b {
  display: block;
  font-size: 0.92rem;
  color: var(--v6-navy);
}

.v6-mega-text em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--v6-muted);
}

.v6-mega-feature {
  margin-top: 12px;
  padding: 14px 14px 8px;
  border-radius: 12px;
  border: 1px solid rgba(11, 99, 203, 0.14);
  background: var(--v6-alice);
}

.v6-mega-feature-label {
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v6-pink);
}

.v6-mega-feature img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.v6-mega-feature p:not(.v6-mega-feature-label) {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--v6-text);
}

.v6-dropdown .v6-mega-feature a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 6px 0;
  font-weight: 700;
  color: var(--v6-royal);
}

.v6-dropdown .v6-mega-feature a:hover {
  background: none;
  text-decoration: underline;
}

.v6-dropdown .v6-mega-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 10px;
  border-top: 1px solid rgba(11, 99, 203, 0.12);
  font-weight: 700;
  color: var(--v6-royal);
  white-space: normal;
}

/* Faixa 769–1080px: 4 itens de nav pedem compressão para não quebrar linha */
@media (min-width: 769px) and (max-width: 1080px) {
  .v6-nav {
    gap: 12px;
  }

  .v6-nav-trigger,
  .v6-nav-link {
    font-size: 0.84rem;
  }
}

/* Faixa 769–920px: compressão extra; "Entrar" sai do header (segue no rodapé)
   e fica o CTA primário */
@media (min-width: 769px) and (max-width: 920px) {
  .v6-header-inner {
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .v6-nav {
    gap: 8px;
  }

  .v6-nav-trigger,
  .v6-nav-link {
    font-size: 0.8rem;
  }

  .v6-header-actions .v6-button-outline {
    display: none;
  }

  .v6-header-actions .v6-button {
    padding: 12px 16px;
  }
}

.v6-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.v6-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 99, 203, 0.25);
}

.v6-menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--v6-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.v6-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.v6-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.v6-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.v6-hero {
  position: relative;
  z-index: 1;
  min-height: clamp(620px, 56.5vw, 1086px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--v6-navy);
}

.v6-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.v6-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 31, 61, 0.16) 0%, rgba(0, 31, 61, 0) 56%, rgba(0, 31, 61, 0.28) 100%),
    linear-gradient(90deg, rgba(0, 31, 61, 0.88) 0%, rgba(0, 42, 82, 0.58) 36%, rgba(11, 99, 203, 0.18) 66%, rgba(11, 99, 203, 0) 100%);
}

.v6-hero-bg img {
  /* Asset estendido 640px à esquerda (continuação desfocada sob o scrim) para o
     rosto do médico cair à direita do título */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%;
}

.v6-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--v6-container) + 2 * var(--v6-gutter));
  margin: 0 auto;
  padding: calc(var(--v6-header-h) + clamp(40px, 8vw, 130px)) var(--v6-gutter) clamp(72px, 8vw, 120px);
}

.v6-hero h1 {
  max-width: 15ch;
  font-size: var(--v6-fs-h1);
  line-height: 1.13;
  font-weight: 800;
}

.v6-hero-sub {
  margin-top: 20px;
  font-size: clamp(1.3rem, 1rem + 1vw, 2rem);
  line-height: 1.22;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.v6-hero .v6-rule {
  margin-top: 26px;
}

.v6-hero-statement {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.16rem);
  line-height: 1.7;
}

.v6-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.v6-hero-cue {
  position: absolute;
  left: max(var(--v6-gutter), calc(50% - var(--v6-container) / 2));
  bottom: clamp(28px, 3.5vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.v6-hero-cue:hover {
  color: #fff;
}

.v6-chevron-down {
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ---------- Seção 3: Funcionalidades ---------- */
.v6-features {
  padding: var(--v6-space-section) var(--v6-gutter);
}

.v6-features-grid {
  display: grid;
  grid-template-columns: minmax(320px, 530px) minmax(0, 1fr);
  /* row-gap zerado: a 2ª linha só existe para o link "Todas as funcionalidades",
     cujo respiro vem do próprio margin-top */
  gap: 0 clamp(32px, 5vw, 90px);
  max-width: var(--v6-container);
  margin: 0 auto;
}

/* Link para o hub no término da linha do tempo (variante com
   botão outline padrão, centrado na coluna da lista; a linha do
   tempo termina em 6% acima do fim da lista — sem sobreposição */
.v6-features-all {
  grid-column: 2;
  justify-self: center;
  margin-top: 24px;
}

/* A coluna da intro atravessa as duas linhas da grade: a foto (flex) estica
   até a base do botão — base da imagem = base do CTA por construção */
.v6-features-intro {
  grid-row: 1 / 3;
}

.v6-features-copy h2 {
  margin-top: 26px;
  font-size: var(--v6-fs-h2-lg);
  line-height: 1.16;
  font-weight: 700;
  color: var(--v6-prussian);
  max-width: 12ch;
}

.v6-features-copy p {
  margin-top: 18px;
  max-width: 36ch;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
  line-height: 1.62;
  color: var(--v6-muted);
}

/* Foto ambiental: termina junto com o fim da lista de funcionalidades ao lado
   (a coluna da intro vira flex e a foto estica até a base da linha da grade) e
   tem bordas arredondadas como os demais elementos.
   O fade lateral saiu: conflitaria com os cantos visíveis. */
.v6-features-intro {
  display: flex;
  flex-direction: column;
}

.v6-photo-ambient {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  margin-top: clamp(28px, 3vw, 44px);
  border-radius: var(--v6-radius-block);
  overflow: hidden;
}

.v6-photo-ambient img {
  /* Foto do banco da marca : enquadramento inclui a paciente à direita
     Sem espelhamento — o fade come a borda direita */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}

.v6-features-list {
  position: relative;
  list-style: none;
  /* Respiro inferior menor: o bloco encolheu para a base do botão alinhar com a
     base da foto */
  padding: clamp(10px, 2vw, 40px) 0 12px;
  display: flex;
  flex-direction: column;
}

.v6-features-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 2.4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--v6-blue-140) 0%, rgba(206, 0, 88, 0.34) 50%, var(--v6-blue-140) 100%);
}

.v6-features-item {
  position: relative;
  width: calc(50% - 56px);
  padding: 6px 0;
  min-height: 128px;
}

.v6-features-item:nth-child(odd) {
  text-align: right;
  align-self: flex-start;
}

.v6-features-item:nth-child(even) {
  text-align: left;
  align-self: flex-end;
}

.v6-features-item + .v6-features-item {
  margin-top: -18px;
}

.v6-features-icon {
  position: absolute;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 67px;
  height: 67px;
  border-radius: 14.3px;
  background: #fff;
  border: 1.2px solid rgba(11, 99, 203, 0.2);
  box-shadow: var(--v6-shadow-icon);
  color: var(--v6-blue);
}

.v6-features-icon .v6-icon {
  width: 31px;
  height: 31px;
}

.v6-features-item:nth-child(odd) .v6-features-icon {
  right: -90px;
}

.v6-features-item:nth-child(even) .v6-features-icon {
  left: -90px;
}

.v6-features-item h3 {
  font-size: var(--v6-fs-h3);
  line-height: 1.25;
  color: var(--v6-prussian);
}

.v6-features-item p {
  margin-top: 10px;
  font-size: var(--v6-fs-body-lg);
  line-height: 1.57;
  color: var(--v6-madison);
  max-width: 40ch;
  display: inline-block;
}

/* ---------- Seção 4: Fluxo ---------- */
.v6-flow {
  padding: var(--v6-space-section) var(--v6-gutter);
}

.v6-flow-heading {
  max-width: var(--v6-container);
  margin: 0 auto;
}

.v6-flow-heading h2 {
  margin-top: 22px;
  max-width: 20ch;
  font-size: var(--v6-fs-h2-lg);
  line-height: 1.06;
  font-weight: 700;
  color: var(--v6-navy);
}

.v6-flow-heading p {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1rem + 0.2vw, 1.16rem);
  color: var(--v6-muted);
}

/* Gaveta (acordeão) Desafio × Solução — sem telas, primeiro item aberto */
.v6-flow-accordion {
  max-width: var(--v6-container);
  margin: clamp(28px, 3vw, 48px) auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.v6-flow-item {
  border-radius: var(--v6-radius-block);
  background: #f6faff;
  border: 1.3px solid rgba(11, 99, 203, 0.16);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.v6-flow-item.v6-is-open {
  background: var(--v6-alice);
  border-color: var(--v6-blue);
  box-shadow: 0 18px 42px rgba(11, 99, 203, 0.12);
}

.v6-flow-item-head {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.v6-flow-trigger {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2.5vw, 32px);
  text-align: left;
}

.v6-flow-trigger-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--v6-alice);
  border: 1.3px solid rgba(11, 99, 203, 0.25);
  color: var(--v6-royal);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.v6-flow-item.v6-is-open .v6-flow-trigger-icon {
  background: var(--v6-blue);
  border-color: var(--v6-blue);
  color: #fff;
}

.v6-flow-trigger-text {
  flex: 1;
  min-width: 0;
}

.v6-flow-trigger-text small {
  display: block;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--v6-muted);
}

.v6-flow-item.v6-is-open .v6-flow-trigger-text small {
  color: rgba(11, 99, 203, 0.86);
}

.v6-flow-trigger-text strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.33rem);
  line-height: 1.25;
  color: var(--v6-text);
}

.v6-flow-item.v6-is-open .v6-flow-trigger-text strong {
  color: var(--v6-royal);
}

.v6-flow-chevron {
  flex: none;
}

.v6-flow-item.v6-is-open .v6-flow-chevron {
  transform: rotate(225deg) translateY(-2px);
}

.v6-flow-solution {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.v6-flow-item.v6-is-open .v6-flow-solution {
  grid-template-rows: 1fr;
}

.v6-flow-solution-clip {
  overflow: hidden;
  min-height: 0;
}

.v6-flow-solution-body {
  padding: 0 clamp(18px, 2.5vw, 32px) clamp(22px, 2.5vw, 30px) clamp(80px, 8vw, 102px);
}

.v6-flow-solution-body small {
  display: block;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(11, 99, 203, 0.86);
}

.v6-flow-solution-body strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.4rem);
  line-height: 1.25;
  color: var(--v6-navy);
}

.v6-flow-solution-body p {
  margin-top: 12px;
  max-width: 68ch;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--v6-muted);
}

/* ---------- Seção 5: Banda troca de sistema ---------- */
.v6-switch {
  padding: var(--v6-space-band) var(--v6-gutter);
}

.v6-switch-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
  max-width: var(--v6-container);
  margin: 0 auto;
  padding: clamp(28px, 3vw, 56px) clamp(24px, 4vw, 60px);
  border-radius: var(--v6-radius-block);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 22px 52px rgba(11, 99, 203, 0.16);
  background: linear-gradient(120deg, #00357a 0%, #0b63cb 100%);
  color: #fff;
  overflow: hidden;
}

.v6-switch-copy h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.7vw, 3.15rem);
  line-height: 1.12;
  font-weight: 700;
}

.v6-switch-copy p {
  margin-top: 16px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Seção 6: Plataforma ---------- */
.v6-platform {
  padding: var(--v6-space-section) var(--v6-gutter);
  overflow: clip;
}

.v6-platform-doctor {
  /* Retrato do banco da marca (recorte com alpha, 645×1166 ≈ h 1,81×w). Fade na
     altura dos quadris antes da borda da seção (frações constantes: alturas
     proporcionais à largura) */
  --v6-doctor-w: clamp(430px, 25.5vw, 490px);
  position: absolute;
  right: max(var(--v6-gutter), calc(50% - var(--v6-container) / 2));
  bottom: calc(var(--v6-doctor-w) * -0.15);
  width: var(--v6-doctor-w);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 90%);
}

.v6-platform-heading {
  position: relative;
  z-index: 1;
  max-width: var(--v6-container);
  margin: 0 auto;
}

.v6-platform-heading h2 {
  margin-top: 20px;
  max-width: 18ch;
  font-size: var(--v6-fs-h2);
  line-height: 1.08;
  font-weight: 700;
  color: var(--v6-navy);
}

.v6-platform-heading p {
  margin-top: 20px;
  max-width: 78ch;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--v6-muted);
}

.v6-platform-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 940px;
  margin: clamp(28px, 3vw, 40px) auto 0 max(0px, calc((100% - var(--v6-container)) / 2));
  padding: clamp(18px, 2vw, 29px);
  border-radius: var(--v6-radius-block);
  border: 1px solid rgba(11, 99, 203, 0.16);
  background: linear-gradient(135deg, var(--v6-alice) 0%, rgba(214, 233, 255, 0.58) 100%);
  box-shadow: 0 26px 72px rgba(0, 62, 138, 0.1);
}

.v6-platform-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v6-platform-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(11, 99, 203, 0.16);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--v6-text);
  text-align: left;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.v6-platform-tab:hover {
  background: rgba(255, 255, 255, 0.7);
}

.v6-platform-tab.v6-is-active {
  background: rgba(240, 247, 255, 0.9);
  border-color: var(--v6-blue);
  color: var(--v6-royal);
}

.v6-platform-tab .v6-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--v6-blue);
}

.v6-badge-novo {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--v6-pink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.v6-platform-panel {
  /* Centralizado na coluna: o card abraça a tela 19:10 em vez de esticar até a
     altura das 9 abas — elimina a faixa branca vazia sob a captura */
  align-self: center;
  padding: 10px;
  border-radius: var(--v6-radius-card);
  background: #fff;
  border: 1px solid rgba(11, 99, 203, 0.14);
  box-shadow: 0 28px 80px rgba(11, 99, 203, 0.14);
}

.v6-platform-panel img {
  /* Altura consistente entre abas: razão 19/10 (>= tela mais larga, teleconsulta
     1.897) corta só a altura — nunca as laterais. Telas retrato/quadradas
     (visibilidade, comunicação) alinham pelo topo em vez de dominar o painel. */
  width: 100%;
  height: auto;
  aspect-ratio: 19 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid rgba(11, 99, 203, 0.14);
}

/* ---------- Seção 7: IA ---------- */
.v6-ai {
  padding: var(--v6-space-section) var(--v6-gutter);
  background: linear-gradient(155deg, var(--v6-navy) 0%, var(--v6-blue) 100%);
  color: #fff;
  overflow: hidden;
}

.v6-ai::before {
  content: "";
  position: absolute;
  right: -6%;
  top: 10%;
  width: 56%;
  height: 90%;
  background: url("assets/v6/ia-linhas.png") center / cover no-repeat;
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, rgba(0, 0, 0, 0.72) 64%, transparent 82%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, rgba(0, 0, 0, 0.72) 64%, transparent 82%);
  pointer-events: none;
}

.v6-ai-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 690fr) minmax(0, 741fr);
  gap: clamp(32px, 5vw, 110px);
  max-width: var(--v6-container);
  margin: 0 auto;
  align-items: center;
}

.v6-ai-copy h2 {
  margin-top: 24px;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3.52rem);
  line-height: 1.15;
  font-weight: 700;
  max-width: 20ch;
}

.v6-ai-copy > p {
  margin-top: 26px;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
}

.v6-ai-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.v6-ai-points li {
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 3px solid var(--v6-blue-140);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.87rem;
  font-weight: 700;
}

.v6-ai-cta {
  margin-top: 34px;
  color: var(--v6-royal);
  box-shadow: 0 12px 28px rgba(0, 31, 61, 0.16);
}

.v6-ai-board {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.5vw, 34px);
}

.v6-ai-board article {
  /* Sem boxes/fio: só ícone + texto sobre o fundo azul */
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.v6-ai-card-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 46px;
  color: var(--v6-blue-150);
}

.v6-ai-card-icon .v6-icon {
  width: 26px;
  height: 26px;
}

.v6-ai-board small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--v6-blue-150);
}

.v6-ai-board strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.15rem, 1rem + 0.35vw, 1.42rem);
}

.v6-ai-board p {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Seção 8: Carreira ---------- */
.v6-career {
  padding: var(--v6-space-section) var(--v6-gutter);
}

.v6-career-heading {
  max-width: var(--v6-container);
  margin: 0 auto;
}

.v6-career-heading h2 {
  margin-top: 22px;
  font-size: var(--v6-fs-h2);
  line-height: 1.08;
  font-weight: 700;
  color: var(--v6-navy);
  max-width: 24ch;
}

/* Três cards por fase de carreira — foto 3:4 com texto sobre scrim navy
   (boxes viraram cards; fotos do banco + geradas na receita) */
.v6-career-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  max-width: var(--v6-container);
  margin: clamp(32px, 4vw, 56px) auto 0;
  list-style: none;
  padding: 0;
}

.v6-career-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--v6-radius-block);
  overflow: hidden;
  box-shadow: 0 22px 64px rgba(0, 62, 138, 0.14);
}

.v6-career-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.v6-career-card::after {
  /* Scrim: reforço a partir da metade para contraste AA do texto sobre jaleco claro;
     no hover ganha um véu navy uniforme (transição só na cor — gradiente fica) */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 25, 58, 0) 30%, rgba(0, 25, 58, 0.62) 56%, rgba(0, 25, 58, 0.94) 100%);
  background-color: rgba(0, 25, 58, 0);
  transition: background-color 0.25s ease;
}

.v6-career-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(20px, 2.2vw, 30px);
  transition: transform 0.25s ease;
}

/* Hover clicável: o corpo sobe via transform
   (não altera layout nem a linha de grade compartilhada) e o botão "Teste
   grátis" aparece embaixo; mesmo estado no foco por teclado (focus-within). */
.v6-career-card-cta {
  position: absolute;
  left: clamp(20px, 2.2vw, 30px);
  bottom: clamp(20px, 2.2vw, 30px);
  z-index: 2;
  min-height: 46px;
  padding: 10px 24px;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.v6-career-card:hover .v6-career-card-body,
.v6-career-card:focus-within .v6-career-card-body {
  transform: translateY(-62px);
}

.v6-career-card:hover::after,
.v6-career-card:focus-within::after {
  background-color: rgba(0, 25, 58, 0.45);
}

.v6-career-card:hover .v6-career-card-cta,
.v6-career-card:focus-within .v6-career-card-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Sem hover (touch): botão sempre visível e corpo já elevado — o CTA não pode
   depender de um estado que não existe no dispositivo */
@media (hover: none) {
  .v6-career-card .v6-career-card-body {
    transform: translateY(-62px);
  }

  .v6-career-card::after {
    background-color: rgba(0, 25, 58, 0.35);
  }

  .v6-career-card-cta {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v6-career-card-body,
  .v6-career-card-cta,
  .v6-career-card::after {
    transition: none;
  }
}

/* Títulos dos 3 cards alinhados pelo topo: os corpos dividem a
   mesma linha de grade, dimensionada pelo texto mais longo. A foto entra em
   fluxo atravessando as duas linhas — com o eixo de bloco subgridado o
   aspect-ratio do card é ignorado, então é a proporção 3:4 intrínseca dela que
   dimensiona a altura. Sem subgrid, vale o fallback acima (corpo no rodapé). */
@supports (grid-template-rows: subgrid) {
  .v6-career-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }

  .v6-career-card-photo {
    position: static;
    grid-area: 1 / 1 / 3 / 2;
  }

  .v6-career-card-body {
    position: static;
    grid-area: 2 / 1 / 3 / 2;
  }
}

.v6-career-card h3 {
  font-size: var(--v6-fs-h3);
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 24, 47, 0.55);
}

.v6-career-card p {
  margin-top: 10px;
  font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  line-height: 1.55;
  color: rgba(232, 242, 252, 0.94);
  text-shadow: 0 1px 8px rgba(0, 24, 47, 0.5);
}

/* ---------- Seção 9: Depoimentos ---------- */
.v6-testimonials {
  padding: var(--v6-space-section) var(--v6-gutter);
  color: #fff;
  overflow: clip;
}

.v6-testimonials::before {
  /* Banda navy de bordas retas — sem recorte elíptico (fora da identidade visual) */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--v6-navy) 0%, #0053a3 100%);
}

.v6-testimonials-inner {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 70px);
  max-width: var(--v6-container);
  margin: 0 auto;
  align-items: center;
}

.v6-testimonials-copy h2 {
  margin-top: 24px;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.7rem);
  line-height: 1.14;
  font-weight: 700;
  max-width: 12ch;
}

.v6-testimonials-copy p {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.74);
  max-width: 52ch;
}

.v6-testimonials-stage {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
}

.v6-testimonials-stage .v6-round-nav {
  background: rgba(179, 216, 250, 0.28);
  color: #fff;
}

.v6-testimonials-stage .v6-round-nav:hover {
  background: rgba(179, 216, 250, 0.5);
}

.v6-testimonial-card {
  flex: 1;
  min-width: 0;
  padding: clamp(26px, 3vw, 46px) clamp(24px, 3vw, 46px) clamp(20px, 2vw, 30px);
  border-radius: var(--v6-radius-block);
  background: #fff;
  border: 0.9px solid rgba(11, 99, 203, 0.14);
  box-shadow: 0 25.9px 70.4px rgba(0, 0, 0, 0.24);
  color: var(--v6-text);
}

/* Altura fixa da faixa: os 3 depoimentos ocupam a mesma célula
   de grade — o mais longo dita a altura do card em qualquer viewport; os
   inativos ficam invisíveis mas continuam medindo (visibility em vez do
   display:none do atributo hidden, que o JS segue alternando) */
.v6-testimonial-track {
  display: grid;
}

.v6-testimonial-track article {
  grid-area: 1 / 1;
}

.v6-testimonial-track article[hidden] {
  display: block;
  visibility: hidden;
}

.v6-testimonial-track article > p {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.85rem);
  line-height: 1.42;
  color: var(--v6-navy);
}

.v6-testimonial-track footer {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
}

.v6-testimonial-track footer img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 2.8px solid #fff;
  box-shadow: 0 7.4px 18.5px rgba(11, 99, 203, 0.15);
}

.v6-testimonial-track strong {
  display: block;
  font-size: 0.93rem;
  color: var(--v6-navy);
}

.v6-testimonial-track footer span {
  display: block;
  margin-top: 3px;
  font-size: 0.83rem;
  color: var(--v6-muted);
}

.v6-testimonial-card .v6-carousel-count {
  margin-top: 18px;
  text-align: right;
}

/* ---------- Seção 10: Benefícios ---------- */
.v6-benefits {
  padding: var(--v6-space-section) var(--v6-gutter);
}

.v6-benefits-heading {
  max-width: var(--v6-container);
  margin: 0 auto;
}

.v6-benefits-heading h2 {
  margin-top: 24px;
  font-size: var(--v6-fs-h2);
  line-height: 1.08;
  font-weight: 700;
  color: var(--v6-navy);
  max-width: 24ch;
}

.v6-benefits-heading p {
  margin-top: 22px;
  max-width: 82ch;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--v6-muted);
}

/* Grid de categorias: box com título + descritivo, sem lista de nomes —
   parceiros viram carrossel de logos abaixo */
.v6-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  max-width: var(--v6-container);
  margin: clamp(28px, 3vw, 48px) auto 0;
  list-style: none;
  padding: 0;
}

.v6-benefit-card {
  padding: clamp(28px, 2.6vw, 38px);
  border-radius: var(--v6-radius-block);
  background: var(--v6-alice);
  border: 1px solid rgba(11, 99, 203, 0.16);
}

.v6-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(206, 0, 88, 0.06);
  border: 1px solid rgba(206, 0, 88, 0.2);
  color: var(--v6-pink);
}

.v6-benefit-icon .v6-icon {
  width: 22px;
  height: 22px;
}

.v6-benefit-card h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--v6-navy);
}

.v6-benefit-card p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--v6-muted);
}

/* Carrossel de logos: contêiner rolável com auto-avanço via JS (script.js);
   duas filas idênticas (2ª aria-hidden) permitem o loop sem emenda por saltos
   de exatamente uma fila. Hover destaca o card e desfoca os demais, sem pausar
   A pausa fica com o foco de teclado, o arrasto e o
   prefers-reduced-motion (WCAG 2.2.2). */
.v6-partners-marquee {
  display: flex;
  overflow-x: auto;
  max-width: var(--v6-container);
  margin: clamp(28px, 3.5vw, 48px) auto 0;
  padding: 10px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.v6-partners-marquee::-webkit-scrollbar {
  display: none;
}

.v6-partners-marquee.v6-is-dragging {
  cursor: grabbing;
}

.v6-partners-row {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  padding: 0 clamp(16px, 1.8vw, 26px) 0 0;
  margin: 0;
  list-style: none;
}

.v6-partners-row li {
  flex: none;
  position: relative;
  width: clamp(140px, 12vw, 172px);
  border-radius: 12px;
  border: 1px solid rgba(11, 99, 203, 0.14);
  background: #fff;
  overflow: hidden;
  transition: transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
}

.v6-partners-row img {
  display: block;
  width: 100%;
  height: auto;
}

/* Destaque no hover só em dispositivos com ponteiro fino; :has() é progressivo —
   sem suporte, o desfoque dos vizinhos simplesmente não acontece */
@media (hover: hover) and (pointer: fine) {
  .v6-partners-marquee:not(.v6-is-dragging) .v6-partners-row li:hover {
    transform: scale(1.12);
    z-index: 1;
    box-shadow: 0 10px 24px rgba(0, 31, 61, 0.18);
  }

  .v6-partners-marquee:not(.v6-is-dragging):has(li:hover) .v6-partners-row li:not(:hover) {
    filter: blur(2.5px);
    opacity: 0.55;
  }
}

.v6-benefits-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 40px);
}

/* ---------- Seção 11: Confiança ---------- */
.v6-trust {
  padding: var(--v6-space-section) var(--v6-gutter);
}

.v6-trust-heading {
  margin: 0;
}

.v6-trust-heading h2 {
  margin-top: 22px;
  font-size: var(--v6-fs-h2);
  line-height: 1.08;
  font-weight: 700;
  color: var(--v6-navy);
  max-width: 20ch;
}

.v6-trust-inner {
  display: grid;
  /* Card na coluna direita desde o topo, ao lado do título (sem faixa vazia) */
  grid-template-columns: minmax(0, 1fr) minmax(300px, 418px);
  grid-template-rows: auto 1fr;
  gap: clamp(28px, 3.5vw, 52px) clamp(32px, 4vw, 60px);
  max-width: var(--v6-container);
  margin: 0 auto;
  align-items: start;
}

.v6-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.v6-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 999px;
  background: var(--v6-alice);
  border: 1px solid rgba(11, 99, 203, 0.18);
  color: var(--v6-blue);
}

.v6-trust-icon .v6-icon {
  width: 22px;
  height: 22px;
}

.v6-trust-grid h3 {
  margin-top: 18px;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 2.03rem);
  line-height: 1.2;
  color: var(--v6-navy);
  max-width: 14ch;
}

.v6-trust-grid p {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--v6-muted);
  max-width: 38ch;
}

.v6-trust-card {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  margin-top: 56px;
  padding: 110px 32px 44px;
  border-radius: var(--v6-radius-block);
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 22.8px 50.7px rgba(11, 99, 203, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
}

.v6-trust-avatar {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  width: 147px;
  height: 147px;
  object-fit: cover;
  border-radius: 50%;
  border: 3.8px solid #fff;
  box-shadow: 0 14px 34px rgba(0, 31, 61, 0.2);
}

.v6-trust-card h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 2.17rem);
  font-weight: 700;
  color: var(--v6-chumbo);
}

.v6-trust-card p {
  margin-top: 18px;
  font-size: 1.06rem;
  line-height: 1.55;
  color: rgba(63, 63, 63, 0.62);
}

.v6-trust-card .v6-button {
  margin-top: 26px;
}

/* ---------- Seção 12: Conteúdos (âncora de SEO) ---------- */
.v6-knowledge {
  padding: var(--v6-space-section) var(--v6-gutter);
}

.v6-knowledge-heading {
  max-width: var(--v6-container);
  margin: 0 auto;
}

.v6-knowledge-heading h2 {
  margin-top: 22px;
  font-size: var(--v6-fs-h2);
  line-height: 1.08;
  font-weight: 700;
  color: var(--v6-navy);
  max-width: 22ch;
}

.v6-knowledge-heading p {
  margin-top: 18px;
  max-width: 58ch;
  font-size: var(--v6-fs-body-lg);
  color: var(--v6-muted);
}

.v6-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: var(--v6-container);
  margin: clamp(28px, 3vw, 44px) auto 0;
  list-style: none;
  padding: 0;
}

.v6-knowledge-card {
  display: block;
  height: 100%;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: var(--v6-radius-block);
  background: var(--v6-alice);
  border: 1px solid rgba(11, 99, 203, 0.16);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.v6-knowledge-card:hover {
  border-color: var(--v6-blue);
  box-shadow: 0 18px 42px rgba(11, 99, 203, 0.12);
  transform: translateY(-2px);
}

.v6-knowledge-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 312 / 224;
  object-fit: cover;
  border-radius: 10px;
}

.v6-knowledge-card h3 {
  margin-top: 16px;
  font-size: 1.18rem;
  color: var(--v6-navy);
}

.v6-knowledge-card p {
  margin-top: 8px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--v6-muted);
}

/* ---------- Seção 13: CTA final ---------- */
.v6-final {
  padding: var(--v6-space-section) var(--v6-gutter);
}

.v6-final-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 421px);
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
  max-width: var(--v6-container);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 86px) clamp(28px, 5vw, 92px);
  border-radius: var(--v6-radius-block);
  background: var(--v6-blue-150);
}

.v6-final-eyebrow {
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.9rem);
  font-weight: 400;
  color: rgba(0, 31, 61, 0.76);
}

.v6-final-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 1.3rem + 1.7vw, 3.2rem);
  line-height: 1.16;
  font-weight: 700;
  color: var(--v6-navy);
  max-width: 24ch;
}

.v6-final-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v6-final-actions small {
  font-size: 1.02rem;
  color: rgba(0, 31, 61, 0.68);
  text-align: center;
}

/* ---------- Footer ---------- */
.v6-footer {
  padding: clamp(40px, 5vw, 60px) var(--v6-gutter) 0;
}

.v6-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
  max-width: var(--v6-container);
  margin: 0 auto;
}

.v6-footer-brand img {
  width: 210px;
}

.v6-footer-brand p {
  margin-top: 18px;
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--v6-muted);
}

.v6-footer-col h3 {
  font-size: 0.9rem;
  color: var(--v6-navy);
}

.v6-footer-col a {
  display: block;
  margin-top: 10px;
  padding: 4px 0;
  font-size: 1rem;
  color: var(--v6-text);
  text-decoration: none;
}

.v6-footer-col a:hover {
  color: var(--v6-blue);
  text-decoration: underline;
}

.v6-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.v6-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(11, 99, 203, 0.22);
  color: var(--v6-navy);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.v6-footer-social svg {
  width: 19px;
  height: 19px;
}

.v6-footer-social a:hover,
.v6-footer-social a:focus-visible {
  background: var(--v6-blue);
  border-color: var(--v6-blue);
  color: #fff;
}

.v6-copyright {
  max-width: var(--v6-container);
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 26px 0;
  border-top: 1px solid rgba(11, 99, 203, 0.12);
  font-size: 0.86rem;
  color: rgba(51, 51, 51, 0.58);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
  .v6-platform-doctor {
    display: none;
  }

  .v6-platform-card {
    max-width: var(--v6-container);
    margin-left: auto;
  }
}

@media (max-width: 1024px) {
  :root {
    --v6-gutter: 16px;
  }

  .v6-hero-bg img {
    /* Janela mais estreita: meio-termo entre rosto fora do texto e o monitor
       com o produto ainda no quadro */
    object-position: 58% 40%;
  }

  .v6-features-grid,
  .v6-testimonials-inner,
  .v6-trust-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-photo-ambient {
    /* Coluna única: sem lista ao lado para ditar a altura — volta a medida fixa */
    flex: none;
    height: clamp(300px, 41vw, 620px);
  }

  .v6-features-all {
    /* Coluna única: sem a 2ª coluna da grade */
    grid-column: auto;
  }

  .v6-features-intro {
    /* Coluna única: intro volta a ocupar uma linha só */
    grid-row: auto;
  }

  .v6-benefits-grid,
  .v6-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v6-features-copy h2,
  .v6-features-copy p {
    max-width: none;
  }

  .v6-platform-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-platform-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .v6-platform-tab {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
  }

  .v6-badge-novo {
    margin-left: 4px;
  }

  .v6-ai-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-trust-card {
    grid-column: auto;
    grid-row: auto;
    max-width: 460px;
    justify-self: center;
  }

  .v6-final-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-final-actions {
    align-items: stretch;
  }

  .v6-footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .v6-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --v6-header-h: 72px;
  }

  .v6-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .v6-header-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .v6-nav {
    display: none;
    position: fixed;
    top: var(--v6-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 22px 20px 100px;
    background: #fff;
    overflow-y: auto;
  }

  body.v6-menu-open .v6-nav {
    display: flex;
  }

  body.v6-menu-open {
    overflow: hidden;
  }

  .v6-nav-trigger,
  .v6-nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 6px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(11, 99, 203, 0.1);
  }

  .v6-dropdown {
    position: static;
    display: none;
    transform: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 6px 10px 14px;
  }

  .v6-nav-item.v6-is-open .v6-dropdown {
    display: block;
  }

  .v6-dropdown a {
    white-space: normal;
    padding: 10px;
  }

  .v6-dropdown-mega,
  .v6-dropdown-conteudos {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
  }

  .v6-mega-grid,
  .v6-dropdown-conteudos .v6-mega-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-mega-feature {
    display: none;
  }

  .v6-header-actions {
    display: none;
  }

  body.v6-menu-open .v6-header-actions {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(11, 99, 203, 0.12);
  }

  body.v6-menu-open .v6-header-actions .v6-button {
    flex: 1;
  }

  .v6-hero {
    min-height: 0;
  }

  .v6-hero-bg img {
    /* Mesmo enquadramento do mobile, recalculado para o asset estendido
       (+640px à esquerda): 68% de 1920 ≈ 78% de 2560 */
    object-position: 78% 40%;
  }

  .v6-hero-bg::after {
    /* Scrim vertical mais forte no mobile: o crop centraliza na tela branca
       do monitor e o texto corre por cima dela */
    background: linear-gradient(180deg, rgba(0, 31, 61, 0.8) 0%, rgba(0, 31, 61, 0.58) 58%, rgba(0, 31, 61, 0.72) 100%);
  }

  .v6-hero-inner {
    padding-bottom: 104px;
  }

  .v6-hero-actions .v6-button {
    width: 100%;
  }

  .v6-features-list::before {
    left: 33px;
  }

  .v6-features-item,
  .v6-features-item:nth-child(odd),
  .v6-features-item:nth-child(even) {
    width: 100%;
    text-align: left;
    align-self: auto;
    padding-left: 92px;
    min-height: 0;
  }

  .v6-features-item + .v6-features-item {
    margin-top: 26px;
  }

  .v6-features-item:nth-child(odd) .v6-features-icon,
  .v6-features-item:nth-child(even) .v6-features-icon {
    left: 0;
    right: auto;
  }

  .v6-switch-band {
    justify-content: center;
    text-align: center;
  }

  .v6-switch .v6-button {
    width: 100%;
  }

  .v6-platform-tab {
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .v6-ai-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-ai-cta {
    width: 100%;
    text-align: center;
  }

  .v6-career-cards,
  .v6-benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-testimonials-stage {
    flex-wrap: wrap;
  }

  .v6-testimonials-stage .v6-round-nav {
    order: 2;
  }

  .v6-testimonial-card {
    flex: 1 1 100%;
    order: 1;
  }

  .v6-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-trust-grid h3,
  .v6-trust-grid p {
    max-width: none;
  }

  .v6-final-actions .v6-button {
    width: 100%;
  }

  .v6-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .v6-button-big {
    padding-left: 20px;
    padding-right: 20px;
  }

  .v6-footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-benefit-card {
    padding: 28px 22px;
  }

  .v6-knowledge-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v6-flow-heading h2,
  .v6-platform-heading h2 {
    max-width: none;
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .v6-reveal {
    opacity: 1;
    transform: none;
  }

  /* Carrossel de logos: sem auto-avanço (JS respeita a media query); vira fila
     única rolável com scrollbar visível; duplicata some */
  .v6-partners-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: auto;
  }

  .v6-partners-marquee::-webkit-scrollbar {
    display: revert;
  }

  .v6-partners-row[aria-hidden="true"] {
    display: none;
  }
}
