/* ============================================================
   ESTÚDIO KATA — Shared Stylesheet
   ============================================================ */

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

:root {
  --bg:          #FFFFFA;
  --text:        #1a1a1a;
  --orange:      #FB4202;
  --card-bg:     #1E1A17;
  --lime:        #D6E37A;
  --teal:        #2d5c58;
  --footer-bg:   #2F4F3E;
  --footer-sig:  #F5EFE1;
  --grid-line:   rgba(0, 0, 0, 0.07);

  --font-sans: redonda, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: roca, sans-serif;

  --px: 24px;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
}

/* ─── FOCUS STYLES (acessibilidade teclado) ──────── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── ACESSIBILIDADE: visually hidden ────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ─── GRID DE FUNDO ───────────────────────────────── */

.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1210px;
  background-image: url('assets/grid-bg.svg');
  background-repeat: repeat-x;
  background-size: 2163px 1210px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
}


/* ─── NAV ─────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo img {
  width: 48px;
  height: 46px;
  display: block;
  transform: rotate(180deg);
}

.nav__menu {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  color: #1E1A17;
}


/* ─── HOME ────────────────────────────────────────── */

.home-main {
  position: relative;
}

.home-texture {
  position: absolute;
  top: calc(67px - var(--nav-h, 100px));
  left: 100px;
  right: 100px;
  height: 1350px;
  pointer-events: none;
  z-index: 0;
  background-image: url('assets/texture-bg.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.home-texture img {
  display: none;
}

/* ─── HERO ────────────────────────────────────────── */

.hero {
  padding: 80px 100px;
  position: relative;
  z-index: 1;
}

.hero__headline {
  font-family: var(--font-sans);
  font-size: 64px;
  font-weight: 300;
  line-height: 72px;
  letter-spacing: -2.56px;
  color: #1F3A3D;
  margin-bottom: 40px;
}

.hero__headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 28px;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s;
}

.btn--primary {
  background-color: var(--orange);
  color: #FEFEFE;
  border: 1px solid rgba(191, 191, 191, 0.32);
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.4px;
  padding: 14px 16px;
  transition: background-color 0.18s;
}

.btn--primary:hover {
  background-color: #EE1C00;
}

/* CTA da home — outline laranja, fundo branco */
.btn--home {
  background: #FFFFFF;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.72px;
  padding: 20px 24px;
  gap: 12px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, border-width 0.2s ease, padding 0.2s ease;
}

.btn--home:hover {
  background: var(--orange);
  border: 4px solid #F7D8CE;
  padding: 17px 21px; /* compensa o border de 4px para não mover o layout */
  color: #FFFFFF;
}

.btn--home img {
  transition: filter 0.18s;
}

.btn--home:hover img {
  filter: brightness(0) invert(1);
}

/* ─── BRASIL HIGHLIGHT ────────────────────────────── */

/* Mantém o span para o hover do cursor — sem mudança visual no texto */
.brasil-highlight {
  display: inline;
}


/* ─── VÍDEO ───────────────────────────────────────── */

.video-scroll-wrap {
  position: relative;
  height: 160vh;
}

.video-section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: max(48px, calc((100vh - (100vw - 200px) * 9 / 16) / 2)) 100px;
  z-index: 1;
  transition: padding 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-section.is-expanded {
  padding: 0;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  position: relative;
  transition: border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-section.is-expanded .video-placeholder {
  border-radius: 0;
}

.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-controls {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(40, 40, 40, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 10px 18px;
  z-index: 10;
}

.video-controls__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.video-controls__sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}


/* ─── FORMAÇÕES ───────────────────────────────────── */

.formacoes {
  background: #FFFFFF;
  padding: 120px 100px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.formacoes__title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 400;
  line-height: 56px;
  letter-spacing: -1.6px;
  color: #1F3A3D;
}

.formacoes__grid {
  display: flex;
  gap: 24px;
  align-items: center;
  height: 594px;
}

/* ─── FORMAÇÃO CARD ───────────────────────────────── */

.formacao-card {
  flex: 0 0 calc(50% - 12px);
  background: #FAFAFA;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    border-color     0.35s ease,
    border-width     0.35s ease,
    gap              0.35s ease,
    padding          0.35s ease;
}

.formacao-card:hover {
  background: #FFFFFF;
  border: 2px solid #F0F0F0;
  /* compensa o border 1px→2px pra não deslocar o layout */
  padding: 59px 39px;
  gap: 60px;
}

.formacao-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.formacao-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #FEFEFE;
}

.formacao-card__tag--presencial { background: #2E7D75; }
.formacao-card__tag--online     { background: #FF6D3A; }

.formacao-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 125px;
  justify-content: flex-end;
}

.formacao-card__dot-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.formacao-card__dot-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #B0FFA4;
  animation: led-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes led-pulse {
  0%, 100% { transform: scale(1);   opacity: 0; }
  50%       { transform: scale(2.2); opacity: 0.45; }
}

.formacao-card__dot {
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
}

.formacao-card__status-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: #737373;
  white-space: nowrap;
}

.formacao-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.formacao-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100px;
}

.formacao-card__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
}

.formacao-card__title--presencial { color: #2E7D75; }
.formacao-card__title--online     { color: #FF6D3A; }

.formacao-card__date {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: #737373;
}

.formacao-card__desc {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.36px;
  color: #1E1A17;
}

.formacao-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.formacao-card__autores {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.32px;
  color: #737373;
  white-space: nowrap;
}

.formacao-card__autores strong {
  font-weight: 500;
}

.formacao-card__fotos {
  display: flex;
  align-items: center;
}

.formacao-card__foto {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
  margin-left: -12px;
  border: 2px solid #FAFAFA;
  transition: border-color 0.35s ease;
}

.formacao-card:hover .formacao-card__foto {
  border-color: #FFFFFF;
}

.formacao-card__fotos .formacao-card__foto:first-child {
  margin-left: 0;
}

/* ─── HOME TESTIMONIAL ────────────────────────────── */

.home-testimonial {
  background: #FFFFFF;
  padding: 200px 100px;
  position: relative;
  z-index: 1;
}

.home-testimonial__quote {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -2px;
  text-align: center;
}

/* shimmer aplicado diretamente nos spans para não conflitar com background-clip */
.home-testimonial__quote .anim-line__inner {
  background: linear-gradient(
    to bottom,
    #2F4F3E 0%,
    #2F4F3E calc(var(--shimmer, -40%) - 14%),
    #1A3326 calc(var(--shimmer, -40%) - 5%),
    #112318 var(--shimmer, -40%),
    #1A3326 calc(var(--shimmer, -40%) + 5%),
    #2F4F3E calc(var(--shimmer, -40%) + 14%),
    #2F4F3E 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── ANIM-LINE (entrance reveal) ─────────────────── */
.anim-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.anim-line__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-visible .anim-line:nth-child(1) .anim-line__inner {
  transform: translateY(0);
}
.is-visible .anim-line:nth-child(2) .anim-line__inner {
  transform: translateY(0);
  transition-delay: 0.14s;
}



/* ─── CARD ────────────────────────────────────────── */

.cards-wrapper {
  overflow: visible;
}

.cards-track {
  display: flex;
  gap: 32px;
  will-change: transform;
}


/* ─── FOOTER ──────────────────────────────────────── */

.footer {
  background-color: var(--footer-bg);
  height: max(800px, calc(480px + 23.6vw));
  overflow: hidden;
  position: relative;
}

.footer__signature {
  position: absolute;
  top: 384px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.32px;
  color: var(--footer-sig);
  transform: translateY(-50%);
}

.footer__heart {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.footer__signature:hover .footer__heart {
  opacity: 1;
}

.footer__signature img {
  width: 37px;
  height: 24px;
  display: block;
}

.footer__display {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: auto;
  aspect-ratio: 1280 / 302;
  user-select: none;
}

.footer__display img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}


/* ─── MENU OVERLAY ────────────────────────────────── */

/* Backdrop: blur no conteúdo abaixo do painel */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(254, 254, 254, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: #FEFEFE;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.menu-overlay.is-open {
  transform: translateY(0);
  pointer-events: all;
}

/* Header (logo + Fechar) */
.menu-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}

.menu-overlay__logo img {
  width: 48px;
  height: 46px;
  display: block;
  transform: rotate(180deg);
}

.menu-overlay__close {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text);
}

/* Body: duas colunas — nav à esquerda, contato à direita */
.menu-overlay__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 72px 48px 120px;
}

.menu-overlay__nav-col {
  display: flex;
  gap: 45px;
  align-items: flex-start;
}

.menu-overlay__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.96px;
  color: var(--text);
  align-self: flex-start;
  margin-top: 6px;
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu-overlay__link {
  font-size: 32px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.64px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu-overlay__link:hover {
  color: var(--orange);
}

/* Coluna de contato: email + ícones sociais */
.menu-overlay__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.menu-overlay__email {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.36px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.menu-overlay__email:hover {
  color: var(--orange);
}

.menu-overlay__social {
  display: flex;
  gap: 24px;
}

.menu-overlay__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 8px;
  background-color: #2E7D75;
  border: 1px solid rgba(191, 191, 191, 0.32);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.menu-overlay__social-btn:hover {
  background-color: var(--orange);
}

.menu-overlay__social-btn img {
  width: 16px;
  height: 16px;
  display: block;
}


/* ─── PAGE: MANIFESTO ─────────────────────────────── */

.manifesto-content {
  display: flex;
  gap: 96px;
  align-items: flex-start;
  padding: 120px 100px 160px;
  position: relative;
  z-index: 1;
}

.manifesto-content__label {
  font-size: 32px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.64px;
  color: #4D4D4D;
  white-space: nowrap;
  position: sticky;
  top: 40px;
  flex-shrink: 0;
  align-self: start;
}

.manifesto-content__body {
  max-width: 620px;
  margin-left: auto;
}

.manifesto-content__body p {
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.48px;
  color: #4D4D4D;
  margin-bottom: 32px;
}

.manifesto-content__body p:last-child {
  margin-bottom: 0;
}

/* ─── CURSO DETALHE ──────────────────────────────── */

/* Hero */
.curso-detalhe-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 100px;
  background: var(--bg);
}

.curso-detalhe-hero__title {
  font-size: 48px;
  line-height: 72px;
  letter-spacing: -1.92px;
  color: #1F3A3D;
  font-weight: 400;
  width: 528px;
}

.curso-detalhe-hero__info-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.curso-detalhe-hero__spacer {
  flex: 1;
  min-width: 0;
}

.curso-detalhe-hero__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.curso-detalhe-hero__scroll-arrow {
  position: absolute;
  right: 97px;
  bottom: 40px;
  width: 24px;
  height: 41px;
  overflow: hidden;
}

.curso-detalhe-hero__scroll-arrow-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 9px;
  width: 13.15px;
  height: 19.575px;
  display: block;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%        { top: 9px;  }
  35%, 50%  { top: 19px; }
  85%, 100% { top: 9px;  }
}

.curso-detalhe-hero__text-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.curso-detalhe-hero__desc {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.4px;
  color: #737373;
  font-weight: 300;
}

.curso-detalhe-hero__loc-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.curso-detalhe-hero__loc-text {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  color: #1F3A3D;
  font-weight: 400;
}

.curso-detalhe-hero__loc-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

/* O que você vai aprender */
.curso-detalhe-aprende {
  padding: 120px 100px;
  background: var(--bg);
}

.curso-detalhe-aprende__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, fit-content(100%));
  column-gap: 64px;
  row-gap: 64px;
  width: 100%;
}

.curso-detalhe-aprende__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  justify-self: stretch;
  gap: 20px;
  min-width: 0;
}

.curso-detalhe-aprende__num {
  font-size: 14px;
  line-height: 1.3;
  color: #807157;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}

.curso-detalhe-aprende__line {
  border: none;
  border-top: 1px solid #E0DAD4;
  margin: 0;
  width: 100%;
  flex-shrink: 0;
}

.curso-detalhe-aprende__item-title {
  font-size: 20px;
  line-height: 1.3;
  color: #1F3A3D;
  font-weight: 400;
  width: 100%;
}

.curso-detalhe-aprende__item-text {
  font-size: 14px;
  line-height: 1.5;
  color: #737373;
  font-weight: 300;
  width: 100%;
}

/* Motivos para participar — sticky layout */
.curso-detalhe-motivos {
  background: #1F3A3D;
  display: flex;
  align-items: stretch;
  padding: 108px 100px 160px;
  gap: 32px;
}

.curso-detalhe-motivos__sticky-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}

.curso-detalhe-motivos__sticky {
  position: sticky;
  top: 40px;
}

.curso-detalhe-motivos__titulo {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.4px;
  color: rgba(254, 254, 254, 1);
  font-weight: 400;
  width: 524px;
}

.curso-detalhe-motivos__lista {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.curso-detalhe-motivos__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.curso-detalhe-motivos__item-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: #FEFEFE;
}

.curso-detalhe-motivos__item-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: rgba(254, 254, 254, 0.8);
}

.curso-detalhe-motivos__sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0;
}

/* Facilitadores */
.curso-detalhe-facilitadores {
  background: #FFFFFF;
  padding: 120px 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}

.curso-detalhe-facilitadores__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 880px;
  text-align: center;
}

.curso-detalhe-facilitadores__label {
  font-size: 14px;
  line-height: 1.3;
  color: #807157;
  font-weight: 400;
  letter-spacing: 0;
}

.curso-detalhe-facilitadores__title {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.48px;
  color: #1E1A17;
  font-weight: 500;
  text-align: center;
}

.curso-detalhe-facilitadores__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 112px;
  width: 100%;
}

.curso-detalhe-facilitador {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 484px;
  flex-shrink: 0;
}

.curso-detalhe-facilitador__foto {
  position: relative;
  width: 484px;
  height: 471px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curso-detalhe-facilitador__vector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.curso-detalhe-facilitador__img {
  position: relative;
  width: 396px;
  height: 396px;
  border-radius: 12px;
  object-fit: cover;
  z-index: 1;
}

.curso-detalhe-facilitador__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.curso-detalhe-facilitador__nome {
  font-size: 24px;
  line-height: 48px;
  letter-spacing: 0.48px;
  color: #FB4202;
  font-weight: 400;
  text-align: center;
  width: 100%;
}

.curso-detalhe-facilitador__role {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  color: #737373;
  font-weight: 400;
  text-align: center;
  width: 100%;
}

.curso-detalhe-facilitador__linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2E7D75;
  border: 1px solid rgba(191, 191, 191, 0.32);
  border-radius: 8px;
  padding: 8px;
  text-decoration: none;
  transition: background-color 0.18s;
}

.curso-detalhe-facilitador__linkedin:hover {
  background-color: #1F3A3D;
}

.curso-detalhe-facilitador__linkedin img {
  width: 24px;
  height: 24px;
  display: block;
}

/* Testimonial */
.curso-detalhe-testimonial {
  background: #FB4202;
  padding: 140px 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.curso-detalhe-testimonial__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.curso-detalhe-testimonial__quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 128px;
  line-height: 1;
  color: #FEFEFE;
  font-weight: 400;
  font-style: normal;
  margin: 0 0 -32px 0;
}

.curso-detalhe-testimonial__text {
  font-size: 40px;
  line-height: 56px;
  letter-spacing: 0.8px;
  color: #FEFEFE;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  margin: 0;
}

.curso-detalhe-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.curso-detalhe-testimonial__author-name {
  font-size: 32px;
  line-height: 1.5;
  color: #FEFEFE;
  font-weight: 900;
  display: block;
}

.curso-detalhe-testimonial__author-role {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.32px;
  color: #FEFEFE;
  font-weight: 400;
}

/* FAQ / Informações adicionais — sticky layout */
.curso-detalhe-faq {
  background: #F2F3F1;
  display: flex;
  align-items: stretch;
  padding: 108px 100px 160px;
  gap: 32px;
}

.curso-detalhe-faq__sticky-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-bottom: 52px;
}

.curso-detalhe-faq__sticky {
  position: sticky;
  top: 40px;
}

.curso-detalhe-faq__titulo {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.4px;
  color: #1E1A17;
  font-weight: 400;
  width: 524px;
}

.curso-detalhe-faq__lista {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 52px;
}

/* Accordion item */
.faq-item {
  background: #FFFFFF;
  border: 1px solid #CBCBCB;
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  transition: border-color 0.18s;
}

.faq-item.is-open {
  border-color: #CBCBCB;
}

.faq-item__header {
  display: flex;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.faq-item__num {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.56px;
  color: #696969;
  font-weight: 400;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__question {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.72px;
  color: #1E1A17;
  font-weight: 400;
}

.faq-item__icon-wrap {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-item__icon-wrap::before,
.faq-item__icon-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #1E1A17;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

/* barra horizontal */
.faq-item__icon-wrap::before {
  width: 9.6px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

/* barra vertical */
.faq-item__icon-wrap::after {
  width: 1.5px;
  height: 9.6px;
  transform: translate(-50%, -50%);
}

/* aberto: barra vertical desaparece → vira − */
.faq-item.is-open .faq-item__icon-wrap::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.faq-item__body {
  height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 58px;
  width: 100%;
  margin-top: 0;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-item__body {
  margin-top: 24px;
}

.faq-item__answer {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.64px;
  color: #696969;
  font-weight: 300;
  margin: 0;
}

.faq-item__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item__link:hover {
  color: #1E1A17;
}

/* Certificate card */
.faq-cert {
  background: #1E1A17;
  border: 2px solid #788A75;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 4px;
}

.faq-cert__icon-wrap {
  background: #292623;
  border: 1px solid #606E5E;
  border-radius: 14px;
  padding: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-cert__icon-wrap img {
  width: 24px;
  height: 24px;
  display: block;
}

.faq-cert__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.faq-cert__title {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.64px;
  color: #F2F3F1;
  font-weight: 700;
}

.faq-cert__desc {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.56px;
  color: #AEB9AC;
  font-weight: 400;
}

/* ─── CTA CONTATO ─────────────────────────────────── */
.curso-cta-contato {
  background: var(--card-bg);
  padding: 200px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

.curso-cta-contato__label {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.4px;
  color: #fefefe;
  line-height: 1;
  margin-bottom: -28px;
}

.curso-cta-contato__titulo {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #fefefe;
  line-height: 1.2;
  max-width: 100%;
}

@media (max-width: 768px) {
  .curso-cta-contato {
    padding: 80px 24px;
    gap: 24px;
  }
  .curso-cta-contato__titulo {
    font-size: 22px;
    letter-spacing: 0.4px;
  }
  .curso-cta-contato__label {
    font-size: 14px;
    margin-bottom: -12px;
  }
  .curso-cta-contato .curso-flutuante__cta {
    font-size: 14px;
    padding: 13px 18px;
    border-radius: 12px;
    gap: 10px;
  }
  .curso-cta-contato .curso-flutuante__cta img {
    display: block !important;
  }
}

/* Inscricao button (kept for compatibility) */
.btn--inscricao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  border: 1px solid #fb4202;
  border-radius: 12px;
  color: #fb4202;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.72px;
  text-decoration: none;
  background: white;
  transition: background 0.2s, color 0.2s;
}

.btn--inscricao:hover {
  background: #fb4202;
  color: #fff;
}

/* Footer em páginas internas */
.footer--inner {
  padding-top: 280px;
}

.footer--inner .footer__signature {
  position: static;
  transform: none;
  margin-bottom: 80px;
}

/* Footer — curso (dark green) */
.footer--curso {
  background: #2f4f3e;
  color: #f5efe1;
}


/* ─── PAGE: CURSOS ────────────────────────────────── */

.cursos-hero {
  padding: 80px 100px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cursos-hero__caption {
  font-size: 16px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: 0.32px;
  color: #1E1A17;
  margin-bottom: 12px;
}

.cursos-hero__headline {
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: 0.64px;
  color: #1E1A17;
  max-width: 780px;
  margin: 0 auto;
}

/* Filtros */
.cursos-filtros {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
  padding: 0 100px 80px;
  position: relative;
  z-index: 1;
}

.cursos-filtro {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.4px;
  color: #9d9c9c;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.cursos-filtro.is-active {
  color: #1E1A17;
}

.cursos-filtro::after {
  content: '';
  display: block;
  width: 56px;
  height: 1.5px;
  background: transparent;
  transition: background-color 0.2s;
}

.cursos-filtro.is-active::after {
  background-color: var(--orange);
}

.cursos-filtro:hover:not(.is-active) {
  color: #4D4D4D;
}

/* Grid wrapper */
.cursos-cards-wrap {
  padding: 0 100px 160px;
  position: relative;
  z-index: 1;
}



/* ─── PAGE: REPERTÓRIO ───────────────────────────── */

.rep-hero {
  padding: 80px 100px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.rep-hero__caption {
  font-size: 16px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: 0.32px;
  color: #1E1A17;
  margin-bottom: 12px;
}

.rep-hero__headline {
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: 0.64px;
  color: #1E1A17;
  max-width: 780px;
  margin: 0 auto;
}

/* Filtros */
.rep-filtros {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
  padding: 0 100px 60px;
  position: relative;
  z-index: 1;
}

.rep-filtro {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.4px;
  color: #9d9c9c;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.rep-filtro.is-active {
  color: #1E1A17;
}

.rep-filtro::after {
  content: '';
  display: block;
  width: 56px;
  height: 1.5px;
  background: transparent;
  transition: background-color 0.2s;
}

.rep-filtro.is-active::after {
  background-color: var(--orange);
}

.rep-filtro:hover:not(.is-active) {
  color: #4D4D4D;
}

/* Scroll horizontal */
.rep-outer {
  position: relative;
}

.rep-section {
  position: sticky;
  top: 0;
  overflow: hidden;
  padding: 60px 100px;  /* breathing room para o hover crescer sem clipping */
}

.rep-wrapper {
  overflow: visible;
}

.rep-track {
  display: flex;
  gap: 24px;
  align-items: center;
  height: 594px;
  will-change: transform;
}

/* Cards */
.rep-card-link {
  flex: 0 0 485px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.formacao-card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.rep-card {
  width: 100%;
  background: #FAFAFA;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    border-color     0.35s ease,
    border-width     0.35s ease,
    gap              0.35s ease,
    padding          0.35s ease;
}

.rep-card:hover {
  background: #FFFFFF;
  border: 2px solid #F0F0F0;
  padding: 59px 39px;
  gap: 60px;
}

/* ── Header ── */
.rep-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.rep-card__tag {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  color: #FEFEFE;
  white-space: nowrap;
  flex-shrink: 0;
}

.rep-card__tag--aula    { background: #867F73; }
.rep-card__tag--artigo  { background: #1E1A17; }

.rep-card__author-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rep-card__author {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: #737373;
  white-space: nowrap;
}

.rep-card__author-pre {
  font-weight: 400;
}

.rep-card__author strong {
  font-weight: 500;
}

.rep-card__author-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: width 0.35s ease, height 0.35s ease;
}

.rep-card:hover .rep-card__author-photo {
  width: 48px;
  height: 48px;
}

/* ── Body ── */
.rep-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rep-card__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  min-height: 64px;
  flex-shrink: 0;
}

.rep-card__title--aula   { color: #867F73; }
.rep-card__title--artigo { color: #1E1A17; }

.rep-card__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.36px;
  color: #1E1A17;
  height: 160px;
  overflow: hidden;
}


/* ─── MOBILE ──────────────────────────────────────── */

@media (max-width: 768px) {

  :root {
    --px: 20px;
  }

  /* Prevent horizontal overflow from blocking vertical scroll */
  html, body {
    overflow-x: hidden;
  }

  /* Grid texture: img tag em vez de background-image (Safari mobile) */
  .home-texture {
    left: 0;
    right: 0;
    background-image: none;
  }
  .home-texture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  /* NAV */
  .nav {
    padding: 16px 20px;
  }
  .nav__logo img {
    width: 32px;
    height: 30px;
  }
  .nav__menu {
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  /* HERO */
  .hero {
    padding: 40px 24px 28px;
  }
  .hero__headline {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: -1px;
    margin-bottom: 20px;
  }
  .btn--home {
    font-size: 14px;
    padding: 13px 18px;
  }

  /* VÍDEO */
  .video-scroll-wrap {
    height: auto;
  }
  .video-section {
    position: relative;
    height: auto;
    padding: 32px 24px;
    transition: none;
  }
  .video-section.is-expanded {
    padding: 32px 24px;
  }
  .video-placeholder {
    height: 220px;
    border-radius: 12px;
    transition: none;
  }
  .video-section.is-expanded .video-placeholder {
    border-radius: 12px;
  }

  /* FORMAÇÕES */
  .formacoes {
    padding: 48px 24px 56px;
    gap: 24px;
  }
  .formacoes__title {
    font-size: 22px;
    line-height: 30px;
    letter-spacing: -0.5px;
  }
  .formacoes__grid {
    flex-direction: column;
    height: auto;
    align-items: stretch;
    gap: 16px;
  }
  .formacao-card {
    flex: none;
    width: 100%;
    padding: 32px 24px;
    gap: 20px;
  }
  /* Remove hover flash on tap (touch devices) */
  .formacao-card:hover {
    background: #FAFAFA;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 32px 24px;
    gap: 20px;
  }
  .formacao-card-link {
    display: block;
    width: 100%;
  }
  .formacao-card__title--presencial,
  .formacao-card__title--online {
    font-size: 18px;
    line-height: 24px;
  }
  .formacao-card__desc {
    font-size: 14px;
    line-height: 22px;
  }
  .formacao-card__date {
    font-size: 12px;
  }
  .formacao-card__autores {
    font-size: 12px;
  }
  .formacao-card__tag {
    font-size: 10px;
    padding: 4px 10px;
  }
  .formacao-card__foto {
    width: 32px;
    height: 32px;
  }

  /* TESTIMONIAL */
  .home-testimonial {
    padding: 64px 24px;
  }
  .home-testimonial__quote {
    font-size: 15px;
    letter-spacing: -0.1px;
    line-height: 1.55;
  }

  /* FOOTER */
  .footer {
    height: auto;
    padding: 100px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  .footer__signature {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    font-size: 13px;
    margin-bottom: 32px;
    text-align: center;
    flex-shrink: 0;
  }
  .footer__display {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: 120px;
    flex-shrink: 0;
  }

  /* MANIFESTO */
  .manifesto-content {
    flex-direction: column;
    padding: 48px 24px 80px;
    gap: 32px;
  }
  .manifesto-content__label {
    font-size: 22px;
    line-height: 30px;
    position: static;
    white-space: normal;
  }
  .manifesto-content__body {
    max-width: 100%;
    margin-left: 0;
  }
  .manifesto-content__body p {
    font-size: 17px;
    line-height: 28px;
    margin-bottom: 24px;
  }
  .footer--inner {
    padding-top: 80px;
  }

  /* CURSOS */
  .cursos-hero {
    padding: 40px var(--px) 24px;
  }
  .cursos-hero__headline {
    font-size: 22px;
    line-height: 30px;
  }
  .cursos-filtros {
    gap: 32px;
    padding: 0 var(--px) 40px;
  }
  .cursos-filtro {
    font-size: 16px;
  }
  .cursos-filtro::after {
    width: 40px;
  }
  .cursos-cards-wrap {
    padding: 0 var(--px) 80px;
  }
  .cursos-cards-wrap .formacoes__grid {
    height: auto;
    flex-direction: column;
  }
  /* MENU OVERLAY */
  .menu-overlay__header {
    padding: 16px 20px;
  }
  .menu-overlay__logo img {
    width: 32px;
    height: 30px;
  }
  .menu-overlay__close {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
  }
  .menu-overlay__body {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 20px 56px;
    gap: 48px;
  }
  .menu-overlay__label {
    display: none;
  }
  .menu-overlay__nav-col {
    gap: 0;
  }
  .menu-overlay__nav {
    gap: 28px;
  }
  .menu-overlay__link {
    font-size: 22px;
    letter-spacing: 0.44px;
  }
  .menu-overlay__contact {
    align-items: flex-start;
    gap: 20px;
  }
  .menu-overlay__email {
    font-size: 14px;
  }
  .menu-overlay__social {
    gap: 16px;
  }
  .menu-overlay__social-btn {
    width: 36px;
    height: 36px;
  }
  .menu-overlay__social-btn img {
    width: 20px;
    height: 20px;
  }

  /* ─── CURSO DETALHE ───────────────────────────────── */

  /* Hero */
  .curso-detalhe-hero {
    padding: 32px 24px 48px;
    gap: 32px;
  }
  .curso-detalhe-hero__title {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -1px;
    width: auto;
  }
  .curso-detalhe-hero__info-row {
    flex-direction: column;
    gap: 24px;
  }
  .curso-detalhe-hero__spacer {
    display: none;
  }
  .curso-detalhe-hero__right {
    gap: 32px;
  }
  .curso-detalhe-hero__desc {
    font-size: 16px;
    line-height: 26px;
  }
  .curso-detalhe-hero__scroll-arrow {
    display: none;
  }

  /* Aprende */
  .curso-detalhe-aprende {
    padding: 64px 24px;
  }
  .curso-detalhe-aprende__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 48px;
  }

  /* Motivos */
  .curso-detalhe-motivos {
    flex-direction: column;
    padding: 64px 24px 80px;
    gap: 48px;
  }
  .curso-detalhe-motivos__sticky-wrap {
    padding-bottom: 0;
  }
  .curso-detalhe-motivos__sticky {
    position: static;
  }
  .curso-detalhe-motivos__titulo {
    font-size: 16px;
    line-height: 24px;
    width: auto;
  }
  .curso-detalhe-motivos__lista {
    gap: 48px;
  }
  .curso-detalhe-motivos__item-title {
    font-size: 20px;
  }
  .curso-detalhe-motivos__item-text {
    font-size: 16px;
    line-height: 26px;
  }

  /* Facilitadores */
  .curso-detalhe-facilitadores {
    padding: 64px 24px 80px;
    gap: 56px;
  }
  .curso-detalhe-facilitadores__header {
    width: auto;
    text-align: left;
    align-items: flex-start;
  }
  .curso-detalhe-facilitadores__title {
    font-size: 20px;
    line-height: 28px;
    text-align: left;
  }
  .curso-detalhe-facilitadores__grid {
    flex-direction: column;
    gap: 56px;
    align-items: stretch;
  }
  .curso-detalhe-facilitador {
    width: 100%;
  }
  .curso-detalhe-facilitador__foto {
    width: 100%;
    height: auto;
    aspect-ratio: 484 / 471;
  }
  .curso-detalhe-facilitador__img {
    width: 82%;
    height: auto;
    aspect-ratio: 1;
  }

  /* Testimonial */
  .curso-detalhe-testimonial {
    padding: 64px 24px 80px;
  }
  .curso-detalhe-testimonial__quote-mark {
    font-size: 80px;
    margin: 0 0 -20px 0;
  }
  .curso-detalhe-testimonial__text {
    font-size: 22px;
    line-height: 34px;
    letter-spacing: 0.2px;
  }
  .curso-detalhe-testimonial__author-name {
    font-size: 20px;
  }
  .curso-detalhe-testimonial__author-role {
    font-size: 14px;
  }

  /* FAQ */
  .curso-detalhe-faq {
    flex-direction: column;
    padding: 64px 24px 80px;
    gap: 40px;
  }
  .curso-detalhe-faq__sticky-wrap {
    padding-bottom: 0;
  }
  .curso-detalhe-faq__sticky {
    position: static;
  }
  .curso-detalhe-faq__titulo {
    font-size: 16px;
    line-height: 24px;
    width: auto;
  }
  .curso-detalhe-faq__lista {
    padding-bottom: 0;
  }
  .faq-item {
    padding: 20px 24px;
  }
  .faq-item__question {
    font-size: 16px;
    line-height: 22px;
  }
  .faq-item__body {
    padding-left: 40px;
  }
  .faq-cert {
    padding: 20px 24px;
  }

  /* REPERTÓRIO */
  /* REPERTÓRIO */
  .rep-hero {
    padding: 40px var(--px) 24px;
  }
  .rep-hero__headline {
    font-size: 22px;
    line-height: 30px;
  }
  .rep-filtros {
    gap: 32px;
    padding: 0 var(--px) 40px;
  }
  .rep-filtro {
    font-size: 16px;
  }
  .rep-filtro::after {
    width: 40px;
  }
  /* Desativa scroll horizontal — empilha cards verticalmente */
  .rep-outer {
    min-height: auto !important;
  }
  .rep-section {
    position: relative;
    top: auto;
    padding: 0 var(--px) 80px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .rep-track {
    flex-direction: column;
    height: auto;
    gap: 16px;
    transform: none !important;
  }
  .rep-card-link {
    flex: none;
    width: 100%;
  }
  .rep-card {
    width: 100%;
    height: auto;
    padding: 32px 24px;
    gap: 20px;
  }
  .rep-card:hover {
    padding: 32px 24px;
    gap: 20px;
  }
  .rep-card__tag {
    font-size: 10px;
    padding: 4px 10px;
    letter-spacing: 1.6px;
  }
  .rep-card__author {
    font-size: 12px;
  }
  .rep-card__author-photo {
    width: 32px;
    height: 32px;
  }
  .rep-card:hover .rep-card__author-photo {
    width: 32px;
    height: 32px;
  }
  .rep-card__title {
    font-size: 18px;
    line-height: 24px;
  }
  .rep-card__text {
    font-size: 14px;
    line-height: 22px;
  }

}


/* ─── CURSOR PERSONALIZADO ────────────────────────── */

/* ─── PAGE TRANSITION ───────────────────────────── */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 999997;
  background: #1F3A3D;
  pointer-events: none;
  will-change: transform;
  animation: pt-reveal 0.9s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes pt-reveal {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

@keyframes pt-cover {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}


/* ─── SPLASH SCREEN ──────────────────────────────── */

.splash {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #1F3A3D;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Painel aparece instantâneo, depois sai pela direita */
  animation: splash-exit 1.2s 1.1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}


.splash__content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-48px);
  opacity: 0;
  animation: splash-content-in 0.5s 0.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash__graphism {
  width: 37px;
  height: 24px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.splash__text {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.4px;
  color: #FEFEFE;
  white-space: nowrap;
}

@keyframes splash-exit {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

@keyframes splash-content-in {
  to { transform: translateX(0); opacity: 1; }
}


@media (pointer: fine) {

  * { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
  }

  .cursor-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: #1E1A17;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transform: translate(-50%, -50%);
    transition:
      width  0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
      height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
      background 0s,
      border-color 0s,
      opacity 0.25s;
  }

  .cursor-dot.is-hover::before {
    width: 40px;
    height: 40px;
    background: transparent;
    border-color: #1E1A17;
  }

  /* Easter egg "Brasil" */
  .cursor-dot.is-brasil::before {
    width: 52px;
    height: 52px;
    background-color: #D6E37A;
    background-image: url('assets/graphism.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 19px;
    border-color: transparent;
  }

  .cursor-dot.is-hidden::before {
    opacity: 0;
  }
}

/* ─── FLUTUANTE ───────────────────────────────────────── */
.curso-flutuante {
  position: fixed;
  bottom: 40px;
  left: 100px;
  right: 100px;
  background: #1E1A17;
  border-radius: 12px;
  box-shadow: 0px 8px 6px rgba(18, 18, 18, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translateY(calc(100% + 60px));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.curso-flutuante.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.curso-flutuante__info {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.curso-flutuante__preco {
  font-size: 18px;
  font-weight: 700;
  line-height: 48px;
  color: #FFFFFF;
}

.curso-flutuante__sep {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.4);
}

.curso-flutuante__parcelas {
  font-size: 14px;
  font-weight: 500;
  line-height: 48px;
  color: #B0FFA4;
}

.curso-flutuante__meta {
  font-size: 14px;
  font-weight: 400;
  line-height: 48px;
  color: #FFFFFF;
}

.curso-flutuante__meta--short {
  display: none;
}

.curso-flutuante__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.72px;
  color: #F5EFE1;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, border 0.2s, padding 0.2s, color 0.2s;
}

.curso-flutuante__cta:hover {
  background: #FFFFFF;
  border: 4px solid rgba(255, 255, 255, 0.05);
  padding: 13px 21px; /* compensa border 1px → 4px (+3px cada lado) */
  color: #1E1A17;
}

.curso-flutuante__cta:hover img {
  filter: brightness(0);
}

@media (max-width: 768px) {
  .curso-flutuante {
    left: 8px;
    right: 8px;
    bottom: 16px;
    border-radius: 14px;
    padding: 12px 12px 12px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .curso-flutuante__info {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    gap: 0;
    overflow: hidden;
  }
  .curso-flutuante__sep { display: none; }
  .curso-flutuante__parcelas { display: none; }
  .curso-flutuante__meta--short { display: none; }
  .curso-flutuante__meta--full { display: none; }
  .curso-flutuante__meta--date {
    display: inline;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    color: #FFFFFF;
  }
  .curso-flutuante__preco {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
  }
  .curso-flutuante__preco::after {
    content: '·';
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    padding: 0 5px;
  }
  .curso-flutuante__cta {
    flex-shrink: 0;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    gap: 0;
  }
  .curso-flutuante__cta img {
    display: none !important;
  }
}
