/* =========================================================
   EASY CONTROLS — altere estes valores para testar
   ========================================================= */
:root {
  --page-max: 1500px;        /* largura máxima de TODO o conteúdo */
  --page-side-gap: 56px;     /* branco à esquerda/direita da página */

  --waitlist-max: 1200px;    /* largura máxima da seção offer + waitlist */
  --waitlist-card-padding: 2rem;
  --waitlist-gap: 3.6rem;

  --hero-pad-x: 64px;        /* padding interno horizontal do hero */
  --hero-pad-y: 44px;        /* padding interno vertical do hero */
  --hero-gap: 34px;          /* distância entre texto e foto */
  --hero-copy-nudge: 18px;   /* empurra o texto um pouco para o centro */

  --photo-width: 80%;        /* tamanho da foto dentro da coluna */
  --photo-ratio: 4 / 5;      /* proporção da foto */

  --nav-bg: #26af8b;         /* fundo do menu */
  --nav-text: #f8f9fa;       /* cor dos links do menu */
  --accent: #26af8b;         /* verde principal */
  --hero-bg: #071311;        /* fundo escuro do hero */
}

/* --------- Base --------- */
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fafafa;
  max-width: none !important;
  margin: 0;
  padding: 0;
  padding-top: 78px !important;
  overflow-x: hidden;
}

.landing-shell {
  width: min(var(--page-max), calc(100vw - (2 * var(--page-side-gap))));
  max-width: calc(100vw - (2 * var(--page-side-gap)));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  box-sizing: border-box;
}

/* --------- Cabeçalhos --------- */
h1, h2, h3 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 2rem;
}

/* --------- Navbar --------- */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--nav-bg) !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
}

.navbar .navbar-nav {
  width: min(var(--page-max), calc(100vw - (2 * var(--page-side-gap))));
  margin: 0 auto;
}

.nav-link,
.navbar-brand,
.navbar .quarto-navbar-tools .quarto-navigation-tool {
  color: var(--nav-text) !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: #ffffff !important;
}

html {
  scroll-padding-top: 92px !important;
  scroll-behavior: smooth;
}

#curso,
#conteudo,
#aula-aberta,
#publico,
#requisitos,
#sobre,
#waitlist {
  scroll-margin-top: 96px;
}

/* --------- Hero --------- */
.course-hero {
  display: grid;
  grid-template-columns: 1.34fr 0.66fr;
  gap: var(--hero-gap);
  align-items: start;
  background: var(--hero-bg);
  color: #f8fafc;
  border-radius: 18px;
  padding: var(--hero-pad-y) var(--hero-pad-x);
  margin: 20px 0 56px 0;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: var(--hero-copy-nudge);
  padding-top: 2px;
}

.course-hero .eyebrow,
.section-kicker,
.waitlist-label {
  margin: 0 0 1rem 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--accent);
}

.course-hero h1 {
  text-align: left;
  color: #ffffff;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 1.01;
  letter-spacing: -0.05em;
  margin: 0 0 1.3rem 0;
  max-width: 900px;
}

.course-hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  max-width: 760px;
  font-size: 1.18rem;
  line-height: 1.65;
  color: #d1d5db;
  margin: 0 0 1.7rem 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--accent);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.4rem;
  border-radius: 9px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.hero-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.hero-note {
  margin: 1.2rem 0 0 0;
  color: #aeb8b5;
  font-size: 0.93rem;
}

.hero-photo-wrap {
  width: var(--photo-width);
  aspect-ratio: var(--photo-ratio);
  justify-self: start;
  align-self: start;
  min-height: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

/* --------- Offer + waitlist --------- */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* duas colunas com a mesma largura */
  gap: var(--waitlist-gap);
  align-items: stretch;             /* força as duas colunas a ocuparem a mesma altura */
  max-width: var(--waitlist-max);
  margin: 0 auto 4rem auto;
}

/* As duas colunas acompanham naturalmente a altura do conteúdo maior.
   Como o grid usa align-items: stretch, o card da direita fica com a
   mesma altura da coluna esquerda sem cortar nenhum conteúdo. */
.offer-copy,
.waitlist-card {
  box-sizing: border-box;
  min-height: 100%;
}

/* Coluna esquerda:
   mesmo padding do card da direita para alinhar os labels no topo */
.offer-copy {
  padding: var(--waitlist-card-padding);
  overflow: visible;
}

.offer-copy h2,
.waitlist-card h2 {
  margin-top: 0;
}

.offer-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.offer-intro {
  color: #5f6770;
  margin-bottom: 2rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.9rem;
  align-items: start;
  margin: 1.8rem 0;
}

.feature-check {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  margin-top: 0.1rem;
}

.feature-item strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.feature-item p {
  margin: 0;
  color: #6b7280;
}

/* Card da direita */
.waitlist-card {
  background: #f4f7f6;
  border: 1px solid #e1e7e5;
  border-radius: 16px;
  padding: var(--waitlist-card-padding);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
}

.waitlist-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.5rem;
  flex: 0 0 auto;
}

.waitlist-label,
.waitlist-copy {
  flex: 0 0 auto;
}

.waitlist-copy {
  color: #616a70;
  margin-bottom: 1.3rem;
}

/* --------- Formulário nativo da waitlist --------- */
#waitlist-native-form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  margin-top: 0.15rem;
}

#waitlist-native-form label {
  display: block;
  margin: 0 0 0.42rem 0;
  color: #293238;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

#waitlist-native-form input {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1rem 0;
  padding: 0.82rem 0.95rem;

  border: 1px solid #cfd9d5;
  border-radius: 9px;
  outline: none;

  background: #ffffff;
  color: #1f2937;

  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.25;

  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

#waitlist-native-form input::placeholder {
  color: #9aa4a1;
  opacity: 1;
}

#waitlist-native-form input:hover {
  border-color: #b9c8c3;
}

#waitlist-native-form input:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(38, 175, 139, 0.12);
}

#waitlist-submit {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.9rem 1.15rem;

  border: 0;
  border-radius: 9px;

  background: var(--accent);
  color: #ffffff;

  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;

  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    box-shadow 0.15s ease;
}

#waitlist-submit:hover {
  opacity: 0.93;
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(38, 175, 139, 0.18);
}

#waitlist-submit:focus-visible {
  outline: 3px solid rgba(38, 175, 139, 0.22);
  outline-offset: 3px;
}

#waitlist-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}


.waitlist-privacy {
  margin: 0.75rem 0 0 0;
  color: #7a8581;
  font-size: 0.78rem;
  line-height: 1.45;
}

#waitlist-success {
  margin-top: 0.45rem;
  padding: 1.35rem 1.4rem;

  border: 1px solid rgba(38, 175, 139, 0.28);
  border-radius: 12px;

  background: #eaf8f4;
  color: #176f59;

  text-align: left;
}

#waitlist-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  margin-bottom: 0.8rem;

  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;

  font-size: 1rem;
  font-weight: 800;
}

#waitlist-success strong {
  display: block;
  margin-bottom: 0.3rem;

  color: #165f4e;
  font-size: 1.05rem;
  line-height: 1.3;
}

#waitlist-success p {
  margin: 0;
  color: #4e6f66;
  font-size: 0.9rem;
  line-height: 1.55;
}

#waitlist-success[hidden] {
  display: none !important;
}

/* iframe usado apenas como destino invisível do envio ao Google Forms */
#waitlist-hidden-iframe {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
}

/* --------- Conteúdo com scroll --------- */
.content-scroll {
  max-height: 430px;
  overflow-y: auto;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0 3rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #ffffff;
}

.content-scroll h3:first-child {
  margin-top: 0;
}

.content-scroll hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

/* --------- Footer --------- */
.quarto-page-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #555;
  padding: 1.5rem 0;
}

/* --------- Responsivo --------- */
@media (max-width: 1100px) {
  :root {
    --page-side-gap: 28px;
    --hero-pad-x: 38px;
    --hero-copy-nudge: 0px;
    --photo-width: 74%;
  }

  .course-hero,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-copy {
    padding: 0;
  }
.hero-photo-wrap {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  :root {
    --page-side-gap: 10px;
    --hero-pad-x: 22px;
    --hero-pad-y: 28px;
    --photo-width: 100%;
  }

  body {
    padding-top: 70px !important;
  }

  .course-hero {
    border-radius: 12px;
    margin-top: 10px;
  }

  .course-hero h1 {
    font-size: 2.65rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .waitlist-card {
    padding: 1.2rem;
  }

  #waitlist-native-form input {
    padding: 0.78rem 0.85rem;
  }

  #waitlist-submit {
    padding: 0.86rem 1rem;
  }
.about-mini {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-mini img {
    margin: 0 auto;
  }
}


/* =========================================================
   TERCEIRA SEÇÃO — O QUE VOCÊ VAI APRENDER
   Tudo aqui é scoped em .curriculum-* / .module-*.
   ========================================================= */

.curriculum-section {
  max-width: var(--waitlist-max);
  margin: 1rem auto 3.5rem auto;
}

/* Todo o cabeçalho da seção fica junto e acima dos cards */
.curriculum-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 2.4rem 0;
}

.curriculum-intro .section-kicker {
  margin-bottom: 0.8rem;
}

.curriculum-intro h2 {
  width: 100%;
  max-width: none;
  margin: 0 0 0.9rem 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.curriculum-intro p:last-child {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #667085;
  font-size: 1.05rem;
  line-height: 1.65;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 175, 139, 0.5);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.module-card-accent {
  background: #071311;
  border-color: #071311;
  color: #f8fafc;
}

/* Número à esquerda + categoria à direita */
.module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.module-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: #eaf8f4;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
}

.module-tag {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: right;
}

.module-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.module-question {
  margin: 0 0 1.6rem 0;
  color: #667085;
  line-height: 1.55;
  font-size: 1rem;
}

.module-topics {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0;
}

.module-topics li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.45rem;
  border-top: 1px solid #edf0ef;
  color: #374151;
}

.module-topics li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.module-card-accent h3 {
  color: #ffffff;
}

.module-card-accent .module-question {
  color: #cbd5d1;
}

.module-card-accent .module-number {
  background: rgba(38, 175, 139, 0.14);
  color: #55d7b4;
}

.module-card-accent .module-tag {
  color: #55d7b4;
}

.module-card-accent .module-topics li {
  color: #d8e0dd;
  border-top-color: rgba(255, 255, 255, 0.10);
}

.module-card-accent .module-topics li::before {
  color: #55d7b4;
}

@media (max-width: 900px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .curriculum-section {
    margin-bottom: 3.5rem;
  }

  .curriculum-intro {
    margin-bottom: 1.8rem;
  }

  .module-card {
    padding: 1.4rem;
    border-radius: 14px;
  }

  .module-top {
    margin-bottom: 1.2rem;
  }
}




/* --------- Módulo 05: Inferência Causal em Produção --------- */
.module-card-production {
  grid-column: 1 / -1;
  min-height: 0;

  background: linear-gradient(135deg, #f5fbf8 0%, #eef8f5 100%);
  border: 1px solid #cfe8df;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.module-card-production:hover {
  border-color: rgba(38, 175, 139, 0.65);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.production-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.55fr);
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.production-copy {
  min-width: 0;
}

.module-card-production .module-top {
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.module-card-production .module-tag {
  text-align: left;
}

.module-card-production h3 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.production-lead {
  max-width: 820px;
  margin: -0.35rem 0 1.2rem 0;
  color: #52615c;
  font-size: 1rem;
  line-height: 1.65;
}

.production-lead strong {
  color: #24322e;
}

.production-topics {
  margin-top: 0;
}

.production-topics li {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* Figura simples de engrenagens */
.production-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 1rem;

  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #dbeae5;
  border-radius: 16px;
}

.production-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  overflow: visible;
}

.gear-tooth {
  fill: #d8eee7;
}

.gear-tooth-small {
  fill: #dff3ec;
}

.gear-body {
  fill: #ffffff;
  stroke: #b9d8ce;
  stroke-width: 2;
}

.gear-body-small {
  fill: #ffffff;
  stroke: #b9d8ce;
  stroke-width: 2;
}

.gear-core {
  fill: var(--accent);
  opacity: 0.92;
}

.gear-core-small {
  fill: #86dcc2;
}

.gear-link {
  fill: none;
  stroke: #d3e4de;
  stroke-width: 3;
  stroke-linecap: round;
}

.gear-caption {
  fill: #688078;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .module-card-production {
    grid-column: auto;
  }

  .production-content {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .production-visual {
    min-height: 180px;
  }
}

@media (max-width: 600px) {
  .production-visual {
    min-height: 0;
    padding: 0.9rem;
  }

  .production-lead {
    font-size: 0.95rem;
  }
}


/* =========================================================
   AULA ABERTA — amostra do material do curso
   ========================================================= */
#aula-aberta {
  max-width: var(--waitlist-max);
  margin: 0 auto 3.5rem auto;
  padding: 2.6rem 3rem;

  text-align: left;

  background: #eef8f5;
  color: #1f2937;

  border: 1px solid #d8ece6;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.04);
}

#aula-aberta .section-kicker {
  margin-bottom: 0.8rem;
}

#aula-aberta h2 {
  max-width: none;
  margin: 0 0 0.9rem 0;

  color: #1f2937;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

#aula-aberta p:not(.section-kicker) {
  max-width: 860px;
  margin: 0 0 1rem 0;

  color: #5f6d68;
  font-size: 1.02rem;
  line-height: 1.65;
}

#aula-aberta p:not(.section-kicker):nth-of-type(3) {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;

  background: #ffffff;
  border: 1px solid #dfe9e5;
  border-radius: 11px;

  color: #4f5f59;
}

#aula-aberta .hero-cta {
  margin-top: 0.55rem;
}

#aula-aberta .hero-cta:hover {
  box-shadow: 0 7px 16px rgba(38, 175, 139, 0.18);
}

@media (max-width: 600px) {
  #aula-aberta {
    margin-bottom: 2.8rem;
    padding: 1.7rem 1.4rem;
    border-radius: 14px;
  }

  #aula-aberta h2 {
    font-size: 2.25rem;
  }
}


/* --------- Separador entre currículo e próximas seções --------- */
.section-divider {
  position: relative;
  width: 100%;
  max-width: var(--waitlist-max);
  height: 1px;
  margin: 0 auto 4.5rem auto;
  background: linear-gradient(
    to right,
    transparent 0%,
    #dfe7e4 10%,
    #dfe7e4 90%,
    transparent 100%
  );
}

.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border: 4px solid #fafafa;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-sizing: content-box;
}

/* =========================================================
   SEÇÕES FINAIS — PÚBLICO, PRÉ-REQUISITOS, SOBRE E CTA
   ========================================================= */

/* --------- Público + Pré-requisitos --------- */
.fit-section {
  max-width: var(--waitlist-max);
  margin: 0 auto 5rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.fit-card,
.prereq-card {
  min-height: 100%;
  padding: 2rem;
  border-radius: 18px;
  box-sizing: border-box;
}

.fit-card {
  background: #ffffff;
  border: 1px solid #e2e8e6;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
}

.prereq-card {
  background: #eef8f5;
  border: 1px solid #d8ece6;
}

.fit-card h2,
.prereq-card h2 {
  margin: 0 0 1rem 0;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.fit-intro,
.prereq-intro {
  margin: 0 0 1.7rem 0;
  color: #667085;
  line-height: 1.65;
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fit-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2rem;
  border-top: 1px solid #edf0ef;
  color: #374151;
}

.fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.prereq-items {
  margin-top: 0.3rem;
}

.prereq-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(38, 175, 139, 0.16);
}

.prereq-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.prereq-item p {
  margin: 0;
  color: #4b5563;
}

.prereq-note {
  margin: 1.2rem 0 0 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #ffffff;
  color: #4b5563;
}

/* --------- Sobre --------- */
.about-section {
  max-width: var(--waitlist-max);
  margin: 0 auto 5rem auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: #eef2f1;
}

.about-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-copy h2 {
  margin: 0 0 1.2rem 0;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about-copy > p:not(.section-kicker) {
  margin: 0 0 1rem 0;
  color: #5f6770;
  line-height: 1.72;
}

.about-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;

  width: 100%;
  padding-bottom: 1rem;
  margin-bottom: 1rem;

  /* única linha divisória abaixo do nome + LinkedIn */
  border-bottom: 1px solid #e2e8e6;
}

.about-heading h2 {
  margin: 0;
  padding: 0 !important;

  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto;

  /* remove a linha padrão do h2 do Quarto */
  border-bottom: none !important;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.about-highlights > div {
  padding: 1rem;
  border-radius: 12px;
  background: #f4f7f6;
  border: 1px solid #e4eae8;
}

.about-highlights strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1f2937;
}

.about-highlights span {
  display: block;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.35;
}

.linkedin-profile,
.linkedin-profile:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  margin: 0;
  padding: 0.5rem 0.8rem;

  border: 1px solid #dce3e1;
  border-radius: 9px;

  background: #ffffff;
  color: #334155 !important;

  font-size: 0.92rem;
  font-weight: 700;

  text-decoration: none !important;

  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.linkedin-profile:hover {
  color: #0a66c2 !important;
  border-color: #0a66c2;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.07);
}

.linkedin-profile-wrap {
  margin: 0;
  flex: 0 0 auto;
  transform: translateY(4px);
}

/* Quarto/Pandoc pode envolver o <a> em um <p>.
   Esse parágrafo traz margem inferior padrão e cria o espaço indesejado. */
.linkedin-profile-wrap > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
  display: flex;
  align-items: center;
}

.linkedin-profile span {
  text-decoration: none !important;
}

.linkedin-svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: #0a66c2;
}

/* --------- CTA final --------- */
.final-cta {
  max-width: var(--waitlist-max);
  margin: 0 auto 2rem auto;
  padding: 3.4rem 2.5rem;
  text-align: center;
  background: var(--hero-bg);
  color: #ffffff;
  border-radius: 20px;
}

.final-cta .section-kicker {
  margin-bottom: 0.9rem;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 1rem auto;
  color: #ffffff;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.final-cta p:not(.section-kicker) {
  max-width: 680px;
  margin: 0 auto 1.8rem auto;
  color: #cbd5d1;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* --------- Responsivo das seções finais --------- */
@media (max-width: 900px) {
  .fit-section {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .about-photo {
    width: min(420px, 100%);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .fit-card,
  .prereq-card {
    padding: 1.4rem;
    border-radius: 14px;
  }

  .about-section {
    padding: 1.4rem;
    border-radius: 14px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 2.4rem 1.4rem;
    border-radius: 14px;
  }
}


@media (max-width: 600px) {
  .section-divider {
    margin-bottom: 3.2rem;
  }
}

