* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  overflow-x: clip;
  width: 100%;
  background-color: var(--bg-site);
}

a {
  text-decoration: none;
}


.navbar__nav {
  list-style: none;
}

.navbar-mobile__nav {
  list-style: none;
}

.navbar-mobile__nav {
  list-style: none;
}

/* Troca de logo por tema */
.kz__logo {
  width: 220px;
  height: auto;
}

.kz__logo--light {
  display: block !important;
}

.kz__logo--dark {
  display: none !important;
}

[data-theme="dark"] .kz__logo--light {
  display: none !important;
}

[data-theme="dark"] .kz__logo--dark {
  display: block !important;
}

.footer-kz__logo--light {
  display: block;
}

.footer-kz__logo--dark {
  display: none;
}

[data-theme="dark"] .footer-kz__logo--light {
  display: none;
}

[data-theme="dark"] .footer-kz__logo--dark {
  display: block;
}

/* Troca de ícones sociais por tema */
.social-icon--light {
  display: inline-block;
}

.social-icon--dark {
  display: none;
}

[data-theme="dark"] .social-icon--light {
  display: none;
}

[data-theme="dark"] .social-icon--dark {
  display: inline-block;
}

:root {
  /* CORES TEMA LIGHT (Padrão) */
  --bg-site: #ffffff;
  --navbar--normal: #0A121A;
  --navbar--hover: #1E40AF;
  --header-title: #1e40af;
  --header-text: #15253F;
  --header-text2: #15253F;
  --header-desc: #15253F;
  --btn-secondary-border: #d8d7ec;
  --text-note: #666d7a;
  --border: #1E40AF;
  --border--roxa-azul: rgba(30, 64, 175, 1);
  --border--transparente--cinza: rgba(235, 237, 255, 1);
  --purple: rgba(158, 163, 230, 1);
  --blue: #1E40AF;
  --blue-mid: #00AAFF;
  --blue-light: #9CCDFF;
  --blue-bg: rgba(30, 64, 175, 0.1);
  --blue-bg2: rgba(30, 64, 175, 0.05);
  --blue-bg3: rgba(30, 64, 175, 0.2);
  --blue-bg3: rgba(235, 237, 255, 1);
  --purple-bg: #EBEDFF;
  --green: #00FDA9;
  --dark: #15253F;
  --dark-sec: #405560;
  --grey: #6B7582;
  --grey-b: #5C6068;
  --border: #E5E7EB;
  --border-b: #EBEDFF;
  --white: #FFFFFF;
  --orange: #EE6C56;
  --link-color: #78BCFF;
  --qo-bg: #FDF8EC;
  --qo-amber: #F5B841;
  --pmi-pink: #F2789F;
  --li-cream: #FDF8EC;
  --li-row: #F8E8A4;
  --purple-title: #8B7CF0;
  --purple-strong: #7C6BF2;
  --quote-bg: #DCEBFF;
  --frentes-card-bg: #F7FAFF;
  --publico-divider-a: #C9C3F7;
  --publico-divider-b: #F5B841;
}

/* CORES TEMA DARK (Ativado pelo seu JS) */
[data-theme="dark"] {
  --bg-site: #15253F;
  --navbar--normal: #FFFFFF;
  --navbar--hover: #0080FF;
  --header-title: #64B2FF;
  --header-text: #15253F;
  --header-text2: #15253F;
  --header-desc: #050505;
  --btn-secondary-border: var(--header-title);
  --text-note: #ffffff;
  --border: #1E40AF;
  --border--roxa-azul: rgba(0, 128, 255, 0.5);
  --border--transparente--cinza: rgba(76, 76, 76, 1);
  --purple: rgba(158, 163, 230, 1);
  --blue: #0080FF;
  --blue-mid: #00AAFF;
  --blue-light: #9CCDFF;
  --blue-bg: rgba(30, 64, 175, 0.1);
  --blue-bg2: rgba(30, 64, 175, 0.05);
  --blue-bg3: rgba(30, 64, 175, 0.2);
  --blue-bg4: rgba(235, 237, 255, 0.1);
  --purple-bg: rgb(22, 40, 74);
  --green: #00FDA9;
  --dark: #ffffff;
  --dark-sec: rgba(255, 255, 255, 0.5);
  --grey: rgba(255, 255, 255, 0.5);
  --grey-b: #ffffff;
  --border: #E5E7EB;
  --border-b: #EBEDFF;
  --white: #FFFFFF;
  --orange: #EE6C56;
  --link-color: #78BCFF;
  --qo-bg: #1E2A45;
  --pmi-pink: #F2789F;
  --li-cream: #1E2A45;
  --li-row: #7D7040;
  --purple-title: #A79BFF;
  --purple-strong: #7C6BF2;
  --quote-bg: rgba(0, 128, 255, 0.15);
  --frentes-card-bg: rgba(255, 255, 255, 0.04);
  --publico-divider-a: rgba(201, 195, 247, 0.5);
  --publico-divider-b: rgba(245, 184, 65, 0.5);
}

/* --- GELICA FONT FAMILY --- */

/* Extra Light */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Extra-Light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

/* Light */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Italic (Regular) */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

/* Medium */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Semi Bold */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Semi-Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Black */
@font-face {
  font-family: 'Gelica';
  src: url('../assets/fonts/fonnts.com-Gelica-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

.azul-escuro {
  color: var(--blue);
}

/* placeholder de imagem */
.img-ph {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(30, 64, 175, .45);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  padding: 12px;
}

h1,
h2 {
  font-family: "Gelica", serif;
  font-weight: 600;
}

h3,
h4,
h5,
h6 {
  font-family: "Gelica", serif;
  font-weight: 400;
}

body {
  font-family: "Inter", sans-serif;
}

.text-bold {
  font-weight: 600;
}

.text-bold-blue-light {
  font-weight: 600;
  color: var(--blue-mid);
}

.container {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 960px;
}

.container--wide {
  max-width: 1280px;
}

@media (max-width: 767px) {
  .container {
    padding-inline: 20px;
  }
}

.container2 {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container2--narrow {
  max-width: 960px;
}

.container2--wide {
  max-width: 1280px;
}

@media (max-width: 767px) {
  .container2 {
    padding-inline: 20px;
  }
}

/* ============ CTA EVIDENCE ============ */
.cta-ev {
  padding: 72px 0;
  background: var(--bg-site);
  max-width: 1200px;
  margin: 0 auto;
}

.cta-ev__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 44%;
  align-items: center;
  background: var(--purple-bg);
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
}

.cta-ev__content {
  position: relative;
  z-index: 2;
  padding: 56px 40px 56px 56px;
}

.cta-ev__title {
  font-family: "Gelica", serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.22;
  color: var(--purple-title);
  margin: 0 0 20px;
  max-width: 19ch;
}

.cta-ev__title em {
  font-style: italic;
  font-weight: 700;
}

.cta-ev__desc {
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--dark);
  margin: 0 0 28px;
  max-width: 52ch;
}

.cta-ev__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-ev__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 24px;
  transition: filter .2s ease, transform .2s ease, gap .2s ease, background .2s ease;
}

.cta-ev__btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.cta-ev__btn:active {
  transform: translateY(1px);
}

.cta-ev__btn--primary {
  background: var(--purple-strong);
  color: var(--white);
}

.cta-ev__btn--primary:hover {
  filter: brightness(.95);
  color: var(--white);
  gap: 14px;
}

.cta-ev__btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--btn-secondary-border);
}

.cta-ev__btn--ghost:hover {
  background: rgba(255, 255, 255, .45);
  color: var(--dark);
}

[data-theme="dark"] .cta-ev__btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
}

/* --- mídia + círculos --- */
.cta-ev__media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cta-ev__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.cta-ev__circle {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--purple);
  pointer-events: none;
}

.cta-ev__circle--top {
  width: 260px;
  height: 260px;
  top: -40px;
  left: -20px;
}

.cta-ev__circle--bottom {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: 30px;
}

[data-theme="dark"] .cta-ev__circle {
  opacity: .35;
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .cta-ev {
    padding: 48px 0;
  }

  .cta-ev__box {
    grid-template-columns: 1fr;
    border-radius: 20px;
    min-height: 0;
  }

  .cta-ev__media {
    display: none;
  }

  .cta-ev__content {
    order: 2;
    padding: 32px 24px 36px;
  }

  .cta-ev__circle--top {
    width: 180px;
    height: 180px;
    top: -50px;
    left: -30px;
  }

  .cta-ev__circle--bottom {
    width: 200px;
    height: 200px;
    bottom: -90px;
    right: -40px;
    left: auto;
  }

  .cta-ev__title {
    font-size: 1.75rem;
    line-height: 1.25;
    max-width: none;
    margin-bottom: 16px;
  }

  .cta-ev__desc {
    margin-bottom: 24px;
  }

  .cta-ev__actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-ev__btn {
    width: 100%;
    padding: 15px 20px;
  }
}

/* ============ CONHECIMENTO / DISTÂNCIA ============ */
.know {
  padding: 0 0 72px;
  background: var(--bg-site);
}

.know__grid {
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

/* --- coluna de texto --- */
.know__title {
  font-family: "Gelica", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--purple-title);
  margin: 0 0 24px;
  max-width: 20ch;
}

.know__text {
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--dark);
  margin: 0 0 20px;
}

.know__text:last-child {
  margin-bottom: 0;
}

.know__quote {
  background: var(--quote-bg);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
  font-family: "Inter", sans-serif;
  font-size: .9375rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  color: var(--dark);
}

/* --- card lateral --- */
.know__card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--purple-bg);
  border: 1px solid var(--purple);
  border-radius: 12px;
  padding: 24px;
}

.know__card-icon {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.know__card-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.know__card-icon .know-img-dark {
  display: none;
}

[data-theme="dark"] .know__card-icon .know-img-light {
  display: none;
}

[data-theme="dark"] .know__card-icon .know-img-dark {
  display: block;
}

.know__card-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark);
  margin: 0;
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .know {
    padding: 0 0 48px;
  }

  .know__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }

  .know__title {
    font-size: 1.75rem;
    max-width: none;
    margin-bottom: 20px;
  }

  .know__quote {
    padding: 18px 20px;
    margin: 24px 0;
    font-size: .9375rem;
  }

  .know__card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
  }

  .know__card-icon {
    width: 84px;
  }

  .know__card-text {
    font-size: .9375rem;
  }
}

/* ============ TRÊS FRENTES ============ */
.frentes {
  padding: 72px 0 40px;
  background: var(--bg-site);
}

.frentes__title {
  font-family: "Gelica", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark);
  text-align: center;
  margin: 0 0 40px;
}

.frentes__title em {
  font-style: italic;
  color: var(--purple-title);
}

.frentes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.frente-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--frentes-card-bg);
  border-radius: 12px;
  padding: 32px 28px;
  overflow: hidden;
}

/* barra roxa no topo */
.frente-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple-title);
}

.frente-card__icon {
  width: 36px;
  margin-bottom: 14px;
}

.frente-card__icon img {
  width: 100%;
  height: auto;
  display: block;
}

.frente-card__icon .frente-img-dark {
  display: none;
}

[data-theme="dark"] .frente-card__icon .frente-img-light {
  display: none;
}

[data-theme="dark"] .frente-card__icon .frente-img-dark {
  display: block;
}

.frente-card__label {
  font-family: "Inter", sans-serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--grey);
  margin-bottom: 12px;
}

.frente-card__name {
  font-family: "Gelica", serif;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  color: var(--dark);
  margin: 0 0 14px;
}

.frente-card__text {
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--dark);
  margin: 0;
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .frentes {
    padding: 48px 0 32px;
  }

  .frentes__title {
    font-size: 1.75rem;
    margin-bottom: 28px;
    padding-inline: 20px;
  }

  /* o container não pode limitar nem cortar o track */
  .frentes .container {
    padding-inline: 0;
    max-width: none;
    overflow: visible;
  }

  .frentes__grid {
    display: flex;
    width: 100%;
    gap: 4vw;
    padding: 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  .frentes__grid::-webkit-scrollbar { display: none; }

  /* respiro depois do último card */
  .frentes__grid::after {
    content: '';
    flex: 0 0 4px;
  }

  .frente-card {
    flex: 0 0 78vw;
    min-width: 0;
    scroll-snap-align: start;
    padding: 28px 24px;
  }

  /* durante o arraste com mouse, desliga o snap */
  .frentes__grid.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
  }
}

/* ============ TECNOLOGIA / FONTES ============ */
.fontes {
  padding: 40px 0 72px;
  background: var(--bg-site);
}

.fontes__title {
  font-family: "Gelica", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark);
  text-align: center;
  margin: 0 0 20px;
}

.fontes__title em {
  font-style: italic;
  color: var(--purple-title);
}

.fontes__desc {
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--dark);
  text-align: center;
  max-width: 84ch;
  margin: 0 auto 48px;
}

.fontes__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
}

.fonte-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid var(--border);
}

.fonte-item:last-child {
  border-right: 0;
}

.fonte-item__name {
  font-family: "Inter", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
}

.fonte-item__desc {
  font-family: "Inter", sans-serif;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--grey);
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .fontes {
    padding: 32px 0 48px;
  }

  .fontes__title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .fontes__desc {
    text-align: left;
    max-width: none;
    margin-bottom: 32px;
  }

  .fontes__list {
    display: flex;
    flex-direction: column;
    gap: 24px 0;
  }

  .fonte-item {
    padding: 0 12px;
    border-right: 1px solid var(--border);
  }

  /* remove a borda da coluna da direita e do último item */
  .fonte-item:nth-child(2n) {
    border-right: 0;
  }

  .fonte-item:last-child {
    border-right: 0;
  }
}

/* ============ PÚBLICOS ============ */
.publico { padding: 26px 0; background: var(--bg-site); max-width: 1200px; margin: 0 auto;}

.publico__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.publico-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-site);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
}

.publico-card__icon {
  width: 40px;
  margin-bottom: 20px;
}
.publico-card__icon img { width: 100%; height: auto; display: block; }

.publico-card__icon .publico-img-dark { display: none; }
[data-theme="dark"] .publico-card__icon .publico-img-light { display: none; }
[data-theme="dark"] .publico-card__icon .publico-img-dark  { display: block; }

/* divisor pontilhado com degradê roxo → âmbar */
.publico-card__divider {
  display: block;
  height: 1px;
  margin-bottom: 20px;
  background-image: linear-gradient(
    to right,
    var(--publico-divider-a),
    var(--publico-divider-b)
  );
  -webkit-mask-image: repeating-linear-gradient(
    to right,
    #000 0 3px,
    transparent 3px 6px
  );
  mask-image: repeating-linear-gradient(
    to right,
    #000 0 3px,
    transparent 3px 6px
  );
}

.publico-card__title {
  font-family: "Gelica", serif;
  font-size: 1.0625rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  color: var(--purple-title);
  margin: 0 0 14px;
}

.publico-card__text {
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--dark);
  margin: 0 0 28px;
}

.publico-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: auto;
  background: var(--purple-strong);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 22px;
  transition: filter .2s ease, transform .2s ease, gap .2s ease;
}
.publico-card__btn svg { width: 18px; height: 18px; flex: none; }
.publico-card__btn:hover  { filter: brightness(.95); color: var(--white); gap: 14px; }
.publico-card__btn:active { transform: translateY(1px); }

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .publico {
    padding: 24px 0;
    margin: 0;            /* era margin: 20px — travava a sangria */
    max-width: none;
  }

  .publico__grid {
    display: flex;
    width: 100%;
    gap: 4vw;
    padding: 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  .publico__grid::-webkit-scrollbar { display: none; }

  /* respiro depois do último card */
  .publico__grid::after {
    content: '';
    flex: 0 0 4px;
  }

  .publico-card {
    flex: 0 0 78vw;
    min-width: 0;
    scroll-snap-align: start;
    padding: 26px 22px;
  }

  .publico-card__text { margin-bottom: 24px; }

  .publico-card__btn {
    align-self: stretch;
    padding: 14px 20px;
  }

  /* durante o arraste com mouse, desliga o snap */
  .publico__grid.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
  }
}

/* ============ CTA VALIDANDO ============ */
.cta-val {
  padding: 72px 0;
  background: var(--bg-site);
  overflow: hidden;            /* segura o estouro da foto */
}

.cta-val__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 48%;
  align-items: center;
  background: var(--purple-bg);
  border-radius: 24px;
  /* sem overflow:hidden — a foto precisa estourar por cima */
}

.cta-val__content {
  position: relative;
  z-index: 4;
  padding: 64px 40px 64px 64px;
}

.cta-val__title {
  font-family: "Gelica", serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.22;
  color: var(--purple-title);
  margin: 0 0 20px;
  max-width: 14ch;
}

.cta-val__desc {
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--dark);
  margin: 0 0 32px;
  max-width: 46ch;
}

.cta-val__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-val__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  padding: 15px 26px;
  transition: filter .2s ease, transform .2s ease, gap .2s ease, background .2s ease;
}
.cta-val__btn svg { width: 18px; height: 18px; flex: none; }
.cta-val__btn:active { transform: translateY(1px); }

.cta-val__btn--primary {
  background: var(--purple-strong);
  color: var(--white);
}
.cta-val__btn--primary:hover {
  filter: brightness(.95);
  color: var(--white);
  gap: 16px;
}

.cta-val__btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--btn-secondary-border);
}
.cta-val__btn--ghost:hover {
  background: rgba(255, 255, 255, .45);
  color: var(--dark);
}
[data-theme="dark"] .cta-val__btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
}

/* --- mídia: 3 camadas empilhadas --- */
.cta-val__media {
  position: relative;
  align-self: stretch;
  min-height: 400px;
}

/* camada 1 (fundo): círculos */
.cta-val__circle {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: var(--purple);
  pointer-events: none;
}
.cta-val__circle--top    { width: 200px; height: 200px; top: 0px;    left: -100px; }
.cta-val__circle--bottom { width: 250px; height: 250px; bottom: 0px; right: 120px; }

[data-theme="dark"] .cta-val__circle { opacity: .35; }

/* camada 2: ilustração da janela */
.cta-val__illus {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 30%;
  width: 38%;
  height: auto;
  display: block;
}

/* camada 3 (frente): foto do médico, estourando acima do box */
.cta-val__photo {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 56%;
  height: auto;
  right: 30%;
  display: block;
  margin-top: -80px;          /* burst acima do container */
  transform: translateY(-0px);
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .cta-val {
    padding: 24px 0 48px;
  }

.cta-val__box {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    min-height: 0;
    padding: 0;
    margin-top: 220px;
    position: relative;
    z-index: 1;              /* box na frente da foto */
  }

  .cta-val__media {
    order: 1;
    display: block;
    position: relative;
    z-index: 3;              /* atrás do box */
    min-height: 0;
    height: 200px;
    margin-top: -190px;
    margin-bottom: 0;
  }

  .cta-val__photo {
    position: absolute;
    z-index: 2;
    left: 50%;
    right: auto;
    bottom: 10px;           /* desce, mas fica escondida atrás do box */
    width: 50%;
    margin-top: 0;
    transform: translateX(-38%);
  }

  .cta-val__circle { display: none; }

  .cta-val__illus {
    position: absolute;
    z-index: 2;
    left: 12%;
    top: 24%;
    width: 46%;
    height: auto;
  }

  /* --- conteúdo centralizado --- */
  .cta-val__content {
    order: 2;
    padding: 28px 24px 32px;
    text-align: center; 
  }

  .cta-val__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: none;
    margin: 0 auto 14px;
  }

  .cta-val__desc {
    max-width: none;
    margin: 0 auto 24px;
  }

  .cta-val__actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-val__btn {
    width: 100%;
    padding: 16px 20px;
  }

  /* o primário tem a seta empurrada pra direita */
  .cta-val__btn--primary {
    justify-content: space-between;
  }
}