/* ===== global.css ===== */
/* Usa Montserrat e Roboto Flex quando já instaladas no WordPress; mantém fallbacks seguros. */
html,
body {
  margin: 0;
}
:root {
  --ex-blue-950: #030b18;
  --ex-blue-900: #061225;
  --ex-blue-850: #08172b;
  --ex-blue-800: #0a1b34;
  --ex-blue-700: #10284a;
  --ex-blue: #1768e7;
  --ex-blue-light: #4d92ff;
  --ex-red: #e6383d;
  --ex-red-dark: #c82229;
  --ex-white: #f6f9ff;
  --ex-text-muted: #aab6ca;
  --ex-line: rgba(159, 182, 218, 0.16);
  --ex-line-bright: rgba(159, 182, 218, 0.28);
  --ex-container: min(1180px, calc(100% - 48px));
}

.ex-home,
.ex-home * {
  box-sizing: border-box;
}

.ex-home {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ex-blue-900);
  margin: 0;
  color: var(--ex-white);
  font-family: "Roboto Flex", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ex-home :is(
  #exseed-ponto-de-partida,
  #exseed-ctfl,
  #exseed-trilhas,
  #exseed-cursos,
  #exseed-metodo,
  #exseed-professor,
  #exseed-depoimentos,
  #exseed-empresas,
  #exseed-faq
) {
  scroll-margin-top: 96px;
}

.ex-home::selection {
  background: var(--ex-red);
  color: #fff;
}

.ex-home a {
  color: inherit;
  text-decoration: none;
}

.ex-home img,
.ex-home svg {
  display: block;
}

.ex-home button,
.ex-home summary,
.ex-home a {
  -webkit-tap-highlight-color: transparent;
}

.ex-home :focus-visible {
  outline: 3px solid #77aaff;
  outline-offset: 4px;
}

.ex-home .ex-shell {
  width: var(--ex-container);
  margin-inline: auto;
}

.ex-home .ex-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ex-white);
  color: var(--ex-blue-950);
  font-weight: 700;
  transition: transform 160ms ease;
}

.ex-home .ex-skip-link:focus {
  transform: translateY(0);
}

.ex-home .ex-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--ex-red);
  border-radius: 14px;
  background: var(--ex-red);
  box-shadow: 0 10px 32px rgba(230, 56, 61, 0.19);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.ex-home .ex-button:hover {
  transform: translateY(-2px);
  background: #f0494e;
  border-color: #f0494e;
  box-shadow: 0 14px 36px rgba(230, 56, 61, 0.3);
}

.ex-home .ex-button svg,
.ex-home .ex-text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.ex-home .ex-button:hover svg,
.ex-home .ex-text-link:hover svg {
  transform: translate(2px, -2px);
}

.ex-home .ex-button-secondary {
  border-color: rgba(205, 221, 246, 0.28);
  background: rgba(5, 18, 39, 0.5);
  box-shadow: none;
  color: var(--ex-white);
}

.ex-home .ex-button-secondary:hover {
  background: rgba(23, 104, 231, 0.15);
  border-color: rgba(103, 158, 245, 0.55);
  box-shadow: none;
}

.ex-home .ex-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  color: #8fa1ba;
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ex-home .ex-eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ec777a;
}

.ex-home .ex-eyebrow span::before {
  content: "";
  width: 25px;
  height: 1px;
  background: var(--ex-red);
}

.ex-home h1,
.ex-home h2,
.ex-home h3,
.ex-home h4 {
  font-family: "Montserrat", Arial, sans-serif;
  text-wrap: balance;
}

.ex-home h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.25vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.ex-home h1 em,
.ex-home h2 em {
  color: var(--ex-red);
  font-style: normal;
}

.ex-home .ex-section {
  position: relative;
  padding-block: clamp(68px, 7vw, 96px);
}

.ex-home .ex-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: #8eb9ff;
  font-size: 0.87rem;
  font-weight: 720;
}

.ex-home .ex-text-link:hover {
  color: #fff;
}

.ex-home .ex-section-heading h2,
.ex-home .ex-routes-intro h2,
.ex-home .ex-method-heading h2,
.ex-home .ex-instructor-copy h2,
.ex-home .ex-testimonials-heading h2,
.ex-home .ex-faq-intro h2,
.ex-home .ex-final-cta h2 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.ex-home .ex-section-heading > p:last-child,
.ex-home .ex-routes-intro > p,
.ex-home .ex-method-heading > p,
.ex-home .ex-faq-intro > p {
  color: var(--ex-text-muted);
  line-height: 1.72;
}

.ex-home .ex-centered-heading {
  max-width: 810px;
  margin-inline: auto;
  text-align: center;
}

.ex-home .ex-centered-heading .ex-eyebrow {
  justify-content: center;
}

.ex-home .ex-centered-heading > p:last-child {
  max-width: 620px;
  margin: 20px auto 0;
}

.ex-home .ex-routes-intro,
.ex-home .ex-method-heading,
.ex-home .ex-testimonials-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 64px;
}

.ex-home .ex-routes-intro > p,
.ex-home .ex-method-heading > p {
  margin: 0 0 4px;
}

.ex-home .ex-button-light {
  min-width: 215px;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 14px 36px rgba(67, 8, 10, 0.18);
  color: #8d1519;
}

.ex-home .ex-button-light:hover {
  border-color: #f4f6fa;
  background: #f4f6fa;
  box-shadow: 0 18px 42px rgba(67, 8, 10, 0.26);
}

.ex-home.ex-js .ex-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease var(--ex-reveal-delay, 0ms),
    transform 0.7s ease var(--ex-reveal-delay, 0ms);
}

.ex-home.ex-js .ex-reveal.is-visible {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 1024px) {
  .ex-home {
    --ex-container: min(720px, calc(100% - 38px));
  }

  .ex-home .ex-ctfl-layout,
  .ex-home .ex-instructor-layout {
    grid-template-columns: 1fr;
  }

  .ex-home .ex-routes-intro,
  .ex-home .ex-method-heading,
  .ex-home .ex-testimonials-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ex-home .ex-moment-grid {
    grid-template-columns: 1fr;
    width: min(100%, 680px);
    margin-inline: auto;
    margin-top: 42px;
  }
}

@media (max-width: 768px) {
  .ex-home {
    --ex-container: calc(100% - 30px);
  }

  .ex-home .ex-eyebrow {
    font-size: 0.64rem;
  }

  .ex-home h1 {
    font-size: clamp(2.52rem, 12.2vw, 3.5rem);
    line-height: 1.02;
  }

  .ex-home .ex-section {
    padding-block: 64px;
  }

  .ex-home .ex-section-heading h2,
  .ex-home .ex-routes-intro h2,
  .ex-home .ex-method-heading h2,
  .ex-home .ex-instructor-copy h2,
  .ex-home .ex-testimonials-heading h2,
  .ex-home .ex-faq-intro h2,
  .ex-home .ex-final-cta h2,
  .ex-home .ex-ctfl-copy h2 {
    font-size: clamp(2.05rem, 10.3vw, 3rem);
  }

  .ex-home .ex-section:not(.ex-moment-section) .ex-eyebrow,
  .ex-home .ex-instructor-copy .ex-eyebrow {
    justify-content: flex-start;
  }

  .ex-home .ex-button-light {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex-home {
    scroll-behavior: auto;
  }

  .ex-home,
  .ex-home *,
  .ex-home *::before,
  .ex-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ex-home.ex-js .ex-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Mantém cada eyebrow no mesmo eixo visual do título que apresenta. */
.ex-home .ex-clients-section .ex-clients-heading .ex-eyebrow,
.ex-home .ex-moment-section .ex-centered-heading .ex-eyebrow {
  justify-content: center;
}
.ex-home .ex-final-cta .ex-final-cta-inner .ex-eyebrow {
  justify-content: flex-start;
}
