/* BASE */

/* Faixa de conteúdo */
.container {
  width: 100%;
  margin-top: 60px;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow-x: clip;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}


.section--lg {
  padding-block: var(--section-y-lg);
}

body::before,
.hero.is-pinned > .problema__bg {
  background-color: var(--bg-cream);
  background-image: var(--glow-a), var(--glow-b), var(--glow-c);
  background-repeat: no-repeat;
  background-size: 120% 120%, 120% 120%, 130% 130%;
  animation: ambient-drift 34s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.028;
  background-image: var(--grain);
  background-size: 140px 140px;
  pointer-events: none;
}

@keyframes ambient-drift {
  from { background-position: 0% 0%, 100% 0%, 50% 100%; }
  to   { background-position: 6% 4%, 94% 6%, 44% 96%; }
}


/* ABEÇALHO E RODAPÉ DE SEÇÃO */


.sec-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(40px, 5vw, 72px);
  grid-template-areas:
    "eyebrow"
    "title"
    "lede";
}

@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "title   lede";
    column-gap: clamp(40px, 6vw, 120px);
    row-gap: 8px;
    align-items: end;
  }
}


.sec-head--split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sec-head__left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .sec-head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 120px);
  }

  .sec-head--split .sec-head__left {
    flex: 1;
  }

  .sec-head--split .sec-lede-wrap {
    flex-shrink: 0;
  }

  .sec-head--split .sec-lede {
    border-top: 0;
    padding-top: 0;
  }
}

/* Eyebrow */
.sec-eyebrow,
.problema__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-600);
}

.sec-eyebrow::before,
.problema__eyebrow::before,
.problema__eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
}

.sec-eyebrow {
  grid-area: eyebrow;
}

/* Título da seção (h2). */
.sec-title {
  grid-area: title;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-90);
}


html:not(.no-js) .sec-title__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition:
    opacity 750ms var(--ease-out-expo),
    transform 750ms var(--ease-out-expo);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--word-delay, 0ms));
}

html:not(.no-js) [data-reveal-group].is-in .sec-title__word {
  opacity: 1;
  transform: none;
}

/* Coluna da direita */
.sec-lede-wrap {
  grid-area: lede;
  display: flex;
  flex-direction: column;
}

.sec-lede {
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-80);
}

@media (min-width: 900px) {

  .sec-lede {
    align-self: flex-end;
    padding-top: 20px;
    padding-bottom: 6px;
    border-top: 1px solid var(--hairline);
  }
}

.sec-lede-cta {
  align-self: flex-end;
  margin-top: 20px;
}

@media (max-width: 899px) {
  .sec-lede-cta {
    align-self: flex-start;
  }
}

/* Rodapé de seção */
.sec-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.sec-cta__note {
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-70);
}

@media (max-width: 639px) {
  .sec-cta .btn {
    width: 100%;
  }
}


/* PEÇAS REUTILIZADAS */

/* Etiqueta pill verde */
.profissionais__crp {
  border: 1px solid rgba(81, 121, 95, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(81, 121, 95, 0.08);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--green-700);
}

.accordion-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--green-600);
  transform: rotate(0deg);
  transition:
    transform var(--dur-fast) var(--ease-smooth),
    border-color var(--dur-fast) ease,
    background var(--dur-fast) ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: var(--radius-pill);
}

.accordion-icon::before { width: 11px; height: 1.5px; }
.accordion-icon::after  { width: 1.5px; height: 11px; }

[data-open="true"] .accordion-icon,
[open] .accordion-icon {
  transform: rotate(45deg);
  border-color: rgba(81, 121, 95, 0.4);
  background: rgba(81, 121, 95, 0.07);
}

html:not(.no-js) [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 950ms var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 950ms var(--ease-out-expo) var(--reveal-delay, 0ms);
}

html:not(.no-js) [data-reveal-group="cards"] > * {
  transform: translateY(46px);
  transition-duration: 1000ms;
}

html:not(.no-js) [data-reveal-group].is-in > * {
  opacity: 1;
  transform: none;
}

.tbd {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed rgba(180, 60, 40, 0.55);
  border-radius: 6px;
  background: rgba(180, 60, 40, 0.06);
  color: rgba(150, 40, 20, 0.9);
  font-family: var(--font-sans);
  font-size: 0.85em;
  font-weight: 600;
}


/* FRAGMENTOS DE AVALIAÇÃO */

.frag {
  --frag-rotate: 0deg;
  transform: rotate(var(--frag-rotate));
}

/* Etiqueta: bolinha + rótulo em uma linha. */
.frag--pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(60, 45, 35, 0.04),
    0 10px 24px rgba(60, 45, 35, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-80);
  white-space: nowrap;
}

.frag__dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 3px rgba(81, 121, 95, 0.14);
}

/* Card: cabeçalho (ícone + título) */
.frag--card {
  width: 164px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(60, 45, 35, 0.04),
    0 14px 30px rgba(60, 45, 35, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.frag__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--hairline-soft);
}

.frag__head svg {
  color: var(--green-600);
  opacity: 0.9;
}

.frag__title {
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-80);
}

.frag__lines {
  position: relative;
  padding-left: 11px;
}

.frag__lines::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(81, 121, 95, 0.28);
}

.frag__line {
  display: block;
  width: var(--w, 100%);
  height: 5px;
  margin-top: 6px;
  border-radius: var(--radius-pill);
  background: rgba(28, 38, 32, 0.13);
}

.frag__line:first-child {
  margin-top: 0;
}

/* cabamento dos cards na Seção */

.problema__fragments .frag--card {
  width: 100%;
  max-width: 184px;
  padding: 16px;
  border-radius: 18px;
  border-color: rgba(28, 38, 32, 0.05);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(60, 45, 35, 0.03),
    0 10px 20px -8px rgba(60, 45, 35, 0.10),
    0 28px 48px -16px rgba(43, 71, 54, 0.14);
}

/* Sem filete entre cabeçalho e conteúdo: com o ícone em círculo fica limpo. */
.problema__fragments .frag__head {
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}

.problema__fragments .frag__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(81, 121, 95, 0.08);
  color: var(--green-700);
}

.problema__fragments .frag__title {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* Card "Anamnese"  */
.problema__fragments [data-frag="7"] {
  max-width: 162px;
}

.problema__fragments [data-frag="7"] .frag__head {
  margin-bottom: 8px;
}

.problema__fragments [data-frag="7"] .frag__lines {
  padding-left: 0;
}

.problema__fragments [data-frag="7"] .frag__lines::before {
  display: none;
}

/* Conteúdo de cada card da Seção 2 */

.frag__metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frag__metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(28, 38, 32, 0.62);
}

.frag__metric-row b {
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--green-700);
}

.frag__metric-bar {
  display: block;
  margin-top: 5px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(28, 38, 32, 0.07);
  overflow: hidden;
}

.frag__metric-bar span {
  display: block;
  width: var(--p, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500) 0%, var(--green-700) 100%);
}


.problema__fragments [data-frag="2"] .frag__metrics,
.problema__fragments [data-frag="3"] .frag__metrics {
  transform: rotate(calc(-1 * var(--frag-rotate, 0deg)));
}

/* Card "Compreensão verbal". */
.frag__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.frag__tags li {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(81, 121, 95, 0.09);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-700);
}

/* Checklist */
.frag__checklist {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.frag__checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-80);
}

.frag__check {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
}

/* Assinatura apoiada numa linha de base */
.frag__signature {
  display: block;
  width: 100%;
  height: 16px;
  margin-top: 8px;
}

.frag__signature-line {
  stroke: rgba(28, 38, 32, 0.14);
  stroke-width: 1;
}

.frag__signature-ink {
  stroke: rgba(28, 38, 32, 0.4);
  fill: none;
}

/* Gabarito com colunas */
.frag__sheet {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.frag__sheet-row {
  display: grid;
  grid-template-columns: 14px repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 5px;
}

.frag__sheet-row--head {
  margin-bottom: 1px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(28, 38, 32, 0.38);
  text-align: center;
}

.frag__sheet-num {
  font-size: 7.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(28, 38, 32, 0.32);
}

.frag__sheet-row i {
  display: block;
  width: 100%;
  max-width: 16px;
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.2px solid rgba(28, 38, 32, 0.10);
  background: transparent;
  font-style: normal;
}

.frag__sheet-row i.is-filled {
  border-color: transparent;
  background: var(--green-600);
  box-shadow: 0 0 0 2px rgba(81, 121, 95, 0.14);
}


/* SEÇÃO 2 */

.problema {
  position: relative;
  padding-block: var(--section-y-lg);
  overflow: hidden;
}

.problema__bg {
  display: none;
}

/* Planta decorativa do canto inferior esquerdo */
.problema__deco {
  display: none;
}

/* Bloco de texto central: eyebrow, título, citação e botão. */
.problema__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: var(--gutter);
  text-align: center;
}

/* Aparência do eyebrow vem do bloco 2 */
.problema__eyebrow {
  margin-bottom: 12px;
}

.problema__heading {
  max-width: 30ch;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--ink-90);
}

/* O JS quebra o título em palavras */
.problema__heading .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.problema__heading .word {
  display: inline-block;
}

/* Citação da dor do aluno */
.problema__quote {
  position: relative;
  max-width: 52ch;
  margin: 0;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: left;
}

.problema__quote p {
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-80);
}

.problema__quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: var(--radius-pill);
  background: var(--green-600);
}

.problema__cta {
  margin-top: 28px;
}

.problema__fragments {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
  gap: 14px;
  max-width: 460px;
  margin: 48px auto 0;
  padding-inline: var(--gutter);
}

/* Cards que só aparecem na cena pinada */
.problema__fragments .frag--mobile-hide {
  display: none;
}

.problema__fragments .frag--plan {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 300px;
}

.problema__fragments li {
  opacity: 1;
  transform: rotate(var(--frag-rotate, 0deg));
}




.hero.is-pinned > .problema__bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
}

.hero.is-pinned .hero__bg { z-index: 1; }
.hero.is-pinned .hero__container { z-index: 2; }

.hero.is-pinned {
  overflow: visible;
  z-index: 2;
}

.hero > .problema {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
  z-index: 3;
  padding: 0;
  overflow: visible;
  pointer-events: none;
}

/* Espaço reservado para a navbar (topo) e para a foto encolhida (base). */
.hero > .problema .problema__center {
  position: absolute;
  inset: 0;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 50vh;
}

.hero > .problema .problema__center > * {
  flex-shrink: 0;
}

.hero > .problema .problema__heading {
  max-width: 24ch;
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  line-height: 1.25;
}

.hero > .problema .problema__quote {
  padding: 12px 16px;
}

.hero > .problema .problema__quote p {
  font-size: 14px;
  line-height: 1.5;
}

.hero > .problema .problema__cta {
  margin-top: 16px;
  pointer-events: auto;
}


.hero > .problema .problema__fragments {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero > .problema .problema__fragments > li {
  position: absolute;
  top: var(--frag-top);
  left: calc(var(--gutter) + (100% - var(--gutter) * 2) * var(--frag-left-pct, 0) / 100);
  width: auto;
  max-width: none;
  opacity: 0;
}

/* Medidas do mobile */
@media (max-width: 639px) {
  .hero > .problema .problema__fragments .frag--card {
    width: clamp(128px, 38vw, 150px);
    padding: 12px;
  }

  .hero > .problema .problema__fragments [data-frag="7"] {
    width: clamp(118px, 34vw, 138px);
  }

  .hero > .problema .problema__fragments .frag--plan {
    width: clamp(138px, 40vw, 158px);
  }


  .hero > .problema .problema__fragments .frag__icon {
    width: 24px;
    height: 24px;
  }

  .hero > .problema .problema__fragments .frag__head {
    gap: 6px;
    margin-bottom: 10px;
  }


  .hero > .problema .problema__fragments .frag__sheet-row:nth-last-child(-n+3),
  .hero > .problema .problema__fragments .frag__checklist li:nth-last-child(-n+2) {
    display: none;
  }
}

.hero > .problema .problema__fragments .frag--plan {
  transform: rotate(var(--frag-rotate, 0deg)) scale(1.12);
}


@media (max-width: 767px) {

  .hero > .problema .problema__center {
    justify-content: flex-start;
    padding-top: 102px;
    padding-bottom: 0;
  }

  .hero > .problema .problema__heading {
    margin-bottom: 12px;
  }

  .hero > .problema .problema__quote {
    padding: 10px 14px;
  }

  .hero > .problema .problema__quote p {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .hero > .problema .problema__cta {
    margin-top: 24px;
  }
}

/* Esconde só onde a cena realmente não cabe: telas muito baixas, como
   celular na horizontal ou aparelhos pequenos (iPhone SE). O limite
   antigo (700px) pegava o iPhone 15 em retrato, porque a barra do
   Safari derruba a altura visível para ~660px. */
@media (max-width: 1023px) and (max-height: 600px) {
  .hero > .problema .problema__quote,
  .hero > .problema .problema__fragments [data-frag="4"] {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero > .problema .problema__fragments .frag--card { width: 168px; }
  .hero > .problema .problema__fragments [data-frag="7"] { width: 150px; }
  .hero > .problema .problema__fragments .frag--plan { width: 184px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero > .problema .problema__center {
    padding-top: 116px;
  }

  .hero > .problema .problema__heading {
    max-width: 28ch;
    margin-bottom: 20px;
    font-size: clamp(1.9rem, 3.6vw, 2.3rem);
    line-height: 1.28;
  }

  .hero > .problema .problema__quote {
    max-width: 52ch;
    padding: 16px 20px;
  }

  .hero > .problema .problema__quote p {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero > .problema .problema__cta {
    margin-top: 22px;
  }

  .hero > .problema .problema__eyebrow {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .hero > .problema .problema__center {
    padding-top: 120px;
    padding-bottom: 34vh;
  }

  .hero > .problema .problema__heading {
    max-width: 32ch;
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1.32;
  }

  .hero > .problema .problema__quote {
    padding: 14px 18px;
  }

  .hero > .problema .problema__quote p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero > .problema .problema__cta {
    margin-top: 18px;
  }

  .hero > .problema .problema__fragments .frag--mobile-hide {
    display: block;
  }

  .hero > .problema .problema__fragments .frag--card {
    width: 192px;
  }

  .hero > .problema .problema__fragments [data-frag="7"] {
    width: 162px;
  }

  .hero > .problema .problema__fragments .frag--plan {
    width: 200px;
  }

  .problema__deco {
    display: block;
    position: absolute;
    z-index: 6;
    left: -28px;
    bottom: -120px;
    width: 240px;
    height: auto;
    mix-blend-mode: multiply;
    pointer-events: none;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) and (orientation: landscape) {
  .hero > .problema .problema__heading {
    max-width: 27ch;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  }

  .hero > .problema .problema__quote {
    max-width: 46ch;
  }

  .hero > .problema .problema__fragments .frag--card { width: 168px; }
  .hero > .problema .problema__fragments [data-frag="7"] { width: 148px; }
  .hero > .problema .problema__fragments .frag--plan { width: 178px; }
}

/* Flutuação contínua das peças */

.frag.is-drifting {
  animation: frag-drift var(--drift-dur, 8s) ease-in-out infinite alternate;
}

@keyframes frag-drift {
  from { transform: rotate(calc(var(--frag-rotate, 0deg) - 0.8deg)) translateY(-5px); }
  to   { transform: rotate(calc(var(--frag-rotate, 0deg) + 0.8deg)) translateY(5px); }
}

.problema__fragments .frag--plan.is-drifting {
  animation-name: frag-drift-plan;
}

@keyframes frag-drift-plan {
  from { transform: rotate(calc(var(--frag-rotate, 0deg) - 0.8deg)) translateY(-5px) scale(1.12); }
  to   { transform: rotate(calc(var(--frag-rotate, 0deg) + 0.8deg)) translateY(5px) scale(1.12); }
}



.hero.is-pinned .reveal,
.hero.is-pinned .hero__title .word {
  transition: none;
}


@media (max-width: 1023px) {
  .hero__bg img {
    transition: transform var(--dur-base) var(--ease-smooth), border-radius var(--dur-base) var(--ease-smooth);
  }

  .hero__bg img.is-shrunk {
    transform: scale(0.9);
    border-radius: 24px;
  }
}


/* SEÇÃO 3 */

.para-quem__sombra {
  position: absolute;
  z-index: 0;
  top: 70%;
  right: -90px;
  width: min(800px, 70%);
  max-width: none;
  height: auto;
  transform: translateY(calc(-50% + 60px));
  opacity: 0.32;
  pointer-events: none;
}

@media (max-width: 639px) {
  .para-quem__sombra {
    right: -120px;
    width: 400px;
    opacity: 0.4;
  }
}


.para-quem .container {
  position: relative;
  z-index: 1;
}

.perfis {
  position: relative;
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .perfis {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .perfis {
    gap: 20px;
  }
}

.perfis__item {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2) 0%, rgba(253, 247, 242, 0.18) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    var(--glass-shadow),
    0 20px 36px -22px rgba(43, 71, 54, 0.16);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  backdrop-filter: blur(8px) saturate(110%);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform 520ms var(--ease-out-expo);
}

.perfis__item:hover {
  border-color: rgba(81, 121, 95, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(60, 45, 35, 0.04),
    0 28px 48px -20px rgba(43, 71, 54, 0.22);
  transform: translateY(-3px);
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .perfis__item,
  .o-curso__step {
    background: var(--glass-bg-solid);
  }
}

/* Mobile: sem pilha sticky aqui */
@media (max-width: 639px) {
  html:not(.no-js) .perfis > * {
    transform: translateY(46px);
    transition-duration: 1000ms;
  }
}

/* Logo Sinapsi */ 

.perfis__item::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  width: 180px;
  aspect-ratio: 238 / 256;
  transform: translate(50%, -50%);
  background-image: url("../icons/logo-sinapsi.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
}


.perfis__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(81, 121, 95, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7) 0%, rgba(81, 121, 95, 0.08) 100%);
  transition: transform 520ms var(--ease-out-expo);
}

.perfis__icon img {
  width: 22px;
  height: 22px;
}

.perfis__item:hover .perfis__icon {
  transform: translateY(-2px);
}

/* Número do perfil */
.perfis__index {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0.06em;
  color: rgba(28, 38, 32, 0.8);
}

.perfis__index::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-600));
}

.perfis__title {
  position: relative;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink-90);
}

.perfis__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(81, 121, 95, 0.4), transparent 75%);
}

.perfis__text {
  position: relative;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-80);
}


.o-curso .container {
  position: relative;
  z-index: 2;
}

.o-curso__layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .o-curso__layout {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
}

.o-curso__sticky {
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .o-curso__sticky {
    position: sticky;
    top: 128px;
    margin-bottom: 0;
  }
}

.o-curso__sticky .sec-eyebrow {
  margin-bottom: 14px;
}

.o-curso__cta {
  margin-top: 40px;
}


.o-curso__sombra {
  position: absolute;
  z-index: 0;
  max-width: none;
  height: auto;
  pointer-events: none;
}


.o-curso__sombra--esq {
  left: -150px;
  top: 55%;
  width: min(1000px, 100%);
  transform: translateY(calc(-50% + 120px));
  opacity: 0.12;
}

@media (max-width: 1023px) {

  .o-curso__sombra--esq {
    left: -60px;
    width: min(760px, 145%);
    transform: translateY(calc(-50% - 100px));
  }
}

.o-curso__deco {
  display: none;
}

@media (min-width: 1024px) {
  .o-curso__deco {
    --deco-right: -28px;
    --deco-bottom: -10px;
    --deco-z: 1;

    display: block;
    position: absolute;
    z-index: var(--deco-z);
    right: var(--deco-right);
    bottom: var(--deco-bottom);
    width: 240px;
    height: auto;
    transform: scaleX(-1);
    mix-blend-mode: multiply;
    pointer-events: none;
  }
}

.o-curso__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.o-curso__step {
  --num-col: 3.4rem;
  position: relative;
  padding: 28px 30px;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.8) 0%, rgba(253, 247, 242, 0.78) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    var(--glass-shadow);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  transition: opacity var(--dur-base) var(--ease-smooth);
}

/* No celular, sem backdrop-filter: são 4 sticky empilhados, e recompor o
   blur a cada frame é o que faz a pilha tremer no Safari do iOS. Como um
   card cobre o outro, o fundo opaco quase não muda o visual. */
@media (max-width: 767px) {
  .o-curso__step {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(160deg, #FFFFFF 0%, #FDF7F2 100%);
  }
}

.o-curso__step.is-passed .o-curso__step-num,
.o-curso__step.is-passed .o-curso__step-title,
.o-curso__step.is-passed .o-curso__step-divider,
.o-curso__step.is-passed .o-curso__step-desc {
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-smooth);
}


.o-curso__step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(81, 121, 95, 0) 0%, rgba(121, 166, 137, 0.8) 58%, rgba(81, 121, 95, 0), transparent 100%);
  pointer-events: none;
}


/* Pilha sticky */
.o-curso__step {
  position: sticky;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.o-curso__step:nth-child(1) { top: 88px; z-index: 2; }
.o-curso__step:nth-child(2) { top: 100px; z-index: 3; }
.o-curso__step:nth-child(3) { top: 112px; z-index: 4; }
.o-curso__step:nth-child(4) { top: 124px; z-index: 5; }

@media (min-width: 1024px) {
  .o-curso__step:nth-child(1) { top: 128px; }
  .o-curso__step:nth-child(2) { top: 140px; }
  .o-curso__step:nth-child(3) { top: 152px; }
  .o-curso__step:nth-child(4) { top: 164px; }
}

.o-curso__step-head {
  display: grid;
  grid-template-columns: var(--num-col) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
}

.o-curso__step-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--green-600);
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.o-curso__step-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink-90);
}

.o-curso__step-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-smooth);
}

.o-curso__step-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.o-curso__step[data-open="true"] .o-curso__step-panel {
  grid-template-rows: 1fr;
}

.o-curso__step-divider {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 16px;
}

.o-curso__step-desc {
  max-width: 56ch;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-80);
}


.o-curso__step-head {
  cursor: default;
  pointer-events: none;
}

.o-curso__step-head .accordion-icon {
  display: none;
}

.o-curso__step-num {
  opacity: 0.4;
}

.o-curso__step.is-active .o-curso__step-num {
  opacity: 1;
}

.o-curso__step-panel {
  grid-template-rows: 1fr;
}

.o-curso__step-desc {
  padding-left: calc(var(--num-col) + 18px);
}

.o-curso__step-divider {
  margin-left: calc(var(--num-col) + 18px);
  width: calc(100% - var(--num-col) - 18px);
}


/* SEÇÃO 6 */

.modules {
  --num-col: 2.2rem;
  margin-bottom: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--hairline);
}

.modules__item {
  border-bottom: 1px solid var(--hairline);
  transition: background var(--dur-fast) ease;
}

.modules__item[data-open="true"] {
  background: rgba(255, 255, 255, 0.42);
}

.modules__head {
  margin: 0;
  font-weight: normal;
}

.modules__trigger {
  display: grid;
  grid-template-columns: var(--num-col) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 22px clamp(0px, 2vw, 20px);
  text-align: left;
}

.modules__num {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--green-600);
  opacity: 0.55;
  transition: opacity var(--dur-fast) ease;
}

.modules__item[data-open="true"] .modules__num,
.modules__trigger:hover .modules__num {
  opacity: 1;
}

.modules__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-90);
}

/* Painel que abre/fecha */
.modules__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-smooth);
}


.modules__panel-inner {
  overflow: hidden;
  min-height: 0;
  --modules-indent: calc(var(--num-col) + 20px + clamp(0px, 2vw, 20px));
}

.modules__item[data-open="true"] .modules__panel {
  grid-template-rows: 1fr;
}

.modules__text {
  max-width: 120ch;
  padding: 0 clamp(0px, 2vw, 20px) 14px var(--modules-indent);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-80);
}

.modules__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 120ch;
  padding: 0 clamp(0px, 2vw, 20px) 14px var(--modules-indent);
}

.modules__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-80);
}

.modules__check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
}

.modules__highlight {
  position: relative;
  max-width: 56ch;
  margin: 0 clamp(0px, 2vw, 20px) 14px var(--modules-indent);
  padding: 14px 18px 14px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.modules__highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: var(--radius-pill);
  background: var(--green-600);
}

.modules__highlight p {
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-90);
}

.modules__text:last-child,
.modules__list:last-child {
  padding-bottom: 24px;
}

.modules__highlight:last-child {
  margin-bottom: 24px;
}

.conteudo__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.conteudo__fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 700px) {
  .conteudo__facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .conteudo__fact {
    padding: 26px 24px 26px 0;
    border-right: 1px solid var(--hairline);
  }

  .conteudo__fact:last-child {
    border-right: 0;
  }

  .conteudo__fact + .conteudo__fact {
    padding-left: 24px;
  }
}

.conteudo__fact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  border-radius: 50%;
  border: 1px solid rgba(81, 121, 95, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7) 0%, rgba(81, 121, 95, 0.08) 100%);
}

.conteudo__fact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
}


.conteudo__fact-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-90);
}


/* Seção profissionais */

.profissionais__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 767px) {
  .profissionais__grid {
    gap: 24px;
  }
}

.profissionais__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background: linear-gradient(158deg, #FFFFFF 0%, #FDFAF7 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(60, 45, 35, 0.04),
    0 20px 20px -14px rgba(43, 71, 54, 0.08);
}

@media (min-width: 860px) {
  .profissionais__card {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    min-height: 470px;
  }
}

@media (min-width: 1024px) {
  .profissionais__card {
    position: sticky;
  }

  .profissionais__card:nth-child(1) { top: 120px; z-index: 1; }
  .profissionais__card:nth-child(2) { top: 136px; z-index: 2; }
  .profissionais__card:nth-child(3) { top: 152px; z-index: 3; }
}


.profissionais__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: rgba(81, 121, 95, 0.06);
}

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

@media (max-width: 859px) {
  .profissionais__photo {
    aspect-ratio: 1 / 1;
  }
}

.profissionais__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 3.4vw, 44px);
}

.profissionais__index {
  position: absolute;
  top: clamp(20px, 2.4vw, 32px);
  right: clamp(20px, 2.4vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(81, 121, 95, 0.32);
}


.profissionais__name {
  max-width: 32ch;
  padding-right: clamp(40px, 9vw, 64px);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink-90);
}

.profissionais__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Pill do CRP */
.profissionais__crp {
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.profissionais__role {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-80);
}

.profissionais__bio {
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-80);
}

.profissionais__credentials {
  display: grid;
  gap: 9px;
  width: 100%;
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.profissionais__credentials li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-80);
}

.profissionais__credentials .check {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green-600);
}


/* SEÇÃO investimento  */

.investimento__plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 800px) {
  .investimento__plans {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}


.plan-card {
  order: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 247, 242, 0.85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 24px 48px -28px rgba(43, 71, 54, 0.28);
}

.plan-card--highlight {
  order: 0;
  border-color: transparent;
  background:
    radial-gradient(70% 50% at 80% 0%, rgba(81, 121, 95, 0.5) 0%, transparent 70%),
    var(--bg-ink);
  box-shadow: 0 24px 48px -20px rgba(28, 38, 32, 0.4);
}

@media (min-width: 800px) {
  .investimento__plans .plan-card,
  .investimento__plans .plan-card--highlight {
    order: 0;
  }
}

.plan-card__badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--mint-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-ink);
}

.plan-card__name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
}


.plan-card__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-card__price-old {
  font-size: 14px;
  color: var(--ink-70);
}

.plan-card__price-old s {
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}

.plan-card__discount {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(81, 121, 95, 0.1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--green-700);
}

.plan-card__price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  line-height: 1;
  color: var(--ink-90);
}


.plan-card__price-currency {
  margin-top: 0.3em;
  font-size: 0.36em;
  font-weight: 600;
  letter-spacing: 0.02em;
}


.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-80);
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-card__check {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
}

.plan-card__cta {
  margin-top: auto;
  align-self: flex-start;
}


@media (max-width: 559px) {
  .plan-card {
    padding: 24px 20px;
  }

  .plan-card__cta {
    align-self: stretch;
  }
}

/* Ajustes de cor do plano em destaque */
.plan-card--highlight .plan-card__name     { color: var(--mint-accent); }
.plan-card--highlight .plan-card__price    { color: var(--on-ink-90); }
.plan-card--highlight .plan-card__price-old { color: var(--on-ink-80); }
.plan-card--highlight .plan-card__discount { background: var(--on-ink-border); color: var(--mint-accent); }
.plan-card--highlight .plan-card__features { border-top-color: var(--on-ink-border); color: var(--on-ink-80); }
.plan-card--highlight .plan-card__check    { background: var(--mint-accent); color: var(--bg-ink); }

.plan-card--highlight .tbd {
  border-color: rgba(255, 150, 130, 0.55);
  background: rgba(255, 150, 130, 0.12);
  color: rgba(255, 196, 182, 0.96);
}

.investimento__payment {
  margin-bottom: clamp(32px, 5vw, 56px);
  font-size: 14px;
  color: var(--ink-70);
}

.investimento__link {
  color: var(--green-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) ease;
}

.investimento__link:hover {
  color: var(--green-700);
}

/* Bloco de garantia. */
.investimento__compliance {
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-70);
}


/* faq */

.faq .container {
  position: relative;
  z-index: 1;
}

.faq__sombra {
  position: absolute;
  z-index: 0;
  left: -150px;
  top: 50%;
  width: min(900px, 100%);
  max-width: none;
  height: auto;
  transform: translateY(calc(-50% + 100px));
  opacity: 0.12;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .faq__sombra {
    left: -60px;
    width: min(760px, 145%);
    transform: translateY(calc(-50% - 80px));
  }
}

.faq__layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .faq__layout {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
}

.faq__sticky {
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .faq__sticky {
    position: sticky;
    top: 128px;
    margin-bottom: 0;
  }
}

.faq__sticky .sec-eyebrow {
  margin-bottom: 14px;
}

.faq__cta {
  margin-top: 40px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.faq__item {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 247, 242, 0.85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 16px 32px -22px rgba(43, 71, 54, 0.22);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.faq__item:has(.faq__trigger:hover) {
  border-color: rgba(81, 121, 95, 0.3);
}

.faq__head {
  margin: 0;
  font-weight: normal;
}

.faq__trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
}

.faq__q {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-90);
  transition: color var(--dur-fast) ease;
}

.faq__trigger:hover .faq__q {
  color: var(--green-700);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-smooth);
}

.faq__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__item[data-open="true"] .faq__panel {
  grid-template-rows: 1fr;
}

.faq__a {
  max-width: 56ch;
  padding: 0 24px 22px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-80);
}


/* SEÇÃO 12  */

.inscricao {
  position: relative;
  min-height: 80vh;
}

.inscricao__panel {
  position: relative;
  min-height: 75vh;
  margin-inline: var(--gutter);
  overflow: hidden;
  border-radius: 24px;
  background-image: url("../image/CTA-final-curso.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}

.inscricao__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-cream) 0%, rgba(253, 249, 245, 0.75) 28%, rgba(253, 249, 245, 0) 52%);
}

.inscricao__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 46ch;
  margin-left: clamp(24px, 6vw, 72px);
  padding-block: clamp(72px, 12vw, 116px);
  text-align: left;
}

@media (max-width: 767px) {
  .inscricao__panel {
    min-height: calc((120vw - var(--gutter) * 2) * 1830 / 1080);
    background-image: url("../image/CTA-final-curso-mobile.webp");
    background-position: center bottom;
  }


  .inscricao__panel::before {
    background: linear-gradient(
      180deg,
      var(--bg-cream) 0%,
      rgba(253, 249, 245, 0.74) 38%,
      rgba(253, 249, 245, 0.25) 52%,
      rgba(253, 249, 245, 0) 64%
    );
  }

  .inscricao__inner {
    margin-left: 0;
    padding-inline: 20px;
    padding-top: 44px;
    padding-bottom: clamp(150px, 46vw, 240px);
  }
}


@media (min-width: 768px) and (max-width: 1023px),
       (min-width: 768px) and (max-width: 1366px) and (orientation: portrait) {
  .inscricao__panel {
    min-height: clamp(620px, 76vh, 860px);
    background-image: url("../image/CTA-final-curso-mobile.webp");
    background-position: center 30%;
  }

  .inscricao__panel::before {
    background: linear-gradient(
      180deg,
      var(--bg-cream) 0%,
      rgba(253, 249, 245, 0.93) 34%,
      rgba(253, 249, 245, 0.42) 50%,
      rgba(253, 249, 245, 0) 66%
    );
  }

  .inscricao__inner {
    margin-left: 0;
    max-width: 46ch;
    padding-inline: clamp(32px, 6vw, 56px);
    padding-top: 60px;
    padding-bottom: clamp(200px, 34vh, 320px);
  }


  .inscricao__title {
    max-width: 22ch;
  }
}

.inscricao__title {
  max-width: 16ch;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink-90);
}

.inscricao__text {
  max-width: 50ch;
  margin-bottom: 34px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-80);
}

.inscricao__cta {
  margin-bottom: 22px;
}

.inscricao__micro {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-70);
}

.inscricao__micro span {
  margin-inline: 8px;
  color: var(--green-600);
}


/* RODAPÉ */

.footer {
  padding-top: clamp(56px, 7vw, 96px);
}

.footer__glass {
  padding: 40px 24px;
  border: 1px solid var(--glass-border);
  border-radius: 52px 52px 0 0;
  background: var(--glass-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .footer__glass {
    background: var(--glass-bg-solid);
  }
}

@media (min-width: 768px) {
  .footer__glass {
    padding: 56px 40px;
  }
}

@media (min-width: 1024px) {
  .footer__glass {
    padding: 80px;
  }
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

.footer__logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-600);
}

@media (min-width: 768px) {
  .footer__logo {
    font-size: 28px;
  }
}

.footer__desc {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-80);
}

.footer__col-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
}

.footer__nav ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__nav a,
.footer__contact li {
  font-size: 14px;
  color: var(--ink-80);
}

.footer__nav a,
.footer__contact a {
  transition: color var(--dur-fast) ease;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__contact a img {
  flex-shrink: 0;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--green-600);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__legal {
  font-size: 13px;
  color: var(--ink-70);
}

.footer__policies {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer__policies a {
  color: var(--ink-70);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) ease;
}

.footer__policies a:hover {
  color: var(--green-600);
}
