/* SpeakClub — Página Sobre Nós (/sobre-nos/)
   Réplica fiel de https://speakclub.com.br/sobre-nos/ (medidas do DOM a 1440px).
   Reaproveita as classes m-* de pages/metodo.css (hero, breadcrumb, FAQ,
   newsletter, faixa); aqui ficam só os ajustes e as seções próprias. */

/* ---- Ajustes do hero para esta página ---- */
.s-hero .m-hero__inner { min-height: 352px; }
.s-hero .m-hero__media { margin-left: clamp(0rem, 13.1vw, 11.8rem); width: min(100%, 322px); }
.s-hero .m-hero__title { max-width: 700px; line-height: 1.18; }

/* ============ Banner fotográfico "300+ aulas" ============ */

.s-banner {
  display: flex;
  align-items: center;
  width: min(100%, 1140px);
  min-height: clamp(280px, 36.7vw, 529px);
  margin: clamp(2rem, 4.2vw, 3.75rem) auto 0;
  padding: clamp(1.5rem, 5.2vw, 4.7rem);
  background: url('../../img/sobre/sobre-banner.webp') center / cover no-repeat;
  border-radius: 25px;
}

.s-banner__title {
  margin-top: clamp(0rem, 4vw, 3.5rem); /* texto fica um pouco abaixo do centro */
  max-width: 460px;
  font-size: clamp(1.75rem, 3.35vw, 3rem); /* 48px no design */
  font-weight: var(--fw-bold);
  color: var(--c-white);
  line-height: 1;
}

/* ============ Linha de 3 diferenciais ============ */

.s-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 1134px);
  margin: clamp(2rem, 4.2vw, 3.75rem) auto 0;
  border: 1px solid var(--c-ink);
  text-align: left;
}

.s-feature {
  padding: 21px;
  border-left: 1px solid var(--c-ink);
}
.s-feature:first-child { border-left: 0; }

.s-feature__icon { display: block; width: 50px; height: 50px; }
.s-feature__title {
  margin-top: 22px;
  font-size: clamp(1.125rem, 1.55vw, 1.375rem); /* 22px */
  font-weight: var(--fw-bold);
  color: var(--c-ink);
}
.s-feature__text { margin-top: 12px; color: var(--c-ink); line-height: 1.5; }

/* ============ Linha + botão "Começar agora" ============ */

.s-cta { margin-top: clamp(2rem, 3vw, 2.7rem); text-align: center; }
.s-cta__text { max-width: 952px; margin-inline: auto; color: var(--c-ink); line-height: var(--lh-body); }
.s-cta__btn {
  display: inline-block;
  margin-top: var(--sp-3);
  padding: 12px 24px;
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 1.0625rem;
  font-weight: var(--fw-medium);
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease);
}
.s-cta__btn:hover { background: var(--c-blue-deep); }

/* ============ Título de seção (níveis) ============ */

.s-levels-title {
  margin-top: clamp(2.5rem, 4.9vw, 4.4rem);
  /* respiro extra: as capas do 1º cartão vazam ~20px para cima */
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  font-size: clamp(1.75rem, 2.85vw, 2.5625rem);
  font-weight: var(--fw-regular);
  color: var(--c-ink);
  text-align: center;
  line-height: 1.3;
}
.s-levels-title strong { font-weight: var(--fw-bold); }

/* ============ Cartões-pílula dos níveis ============ */

.s-level {
  display: grid;
  /* núm | capas (coluna fixa p/ Basic e Intermediate alinharem) | texto */
  grid-template-columns: clamp(70px, 7.6vw, 110px) clamp(260px, 29vw, 417px) 1fr;
  align-items: center;
  gap: 0 36px;
  min-height: 265px;
  padding-inline: 43px;
  background: #E0E1FF; /* lavanda dos cartões, medida no site */
  border-radius: 130px;
  text-align: left;
}
.s-level + .s-level { margin-top: clamp(2.5rem, 4.5vw, 4rem); }

.s-level__num {
  font-size: clamp(3rem, 5.2vw, 4.7rem); /* 75px */
  font-weight: 900;
  color: var(--c-blue);
  line-height: 1;
}

/* Capas do material que "vazam" acima e abaixo da pílula. */
.s-level__covers { display: flex; gap: 35px; }
.s-level__covers img {
  display: block;
  width: clamp(120px, 13.5vw, 195px);
  height: auto;
  margin-block: -17px;
}

.s-level__title { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: var(--fw-bold); color: var(--c-ink); }
.s-level__text { margin-top: 8px; color: var(--c-ink); line-height: 1.5; }

/* ============ Balão lima "Dê o próximo passo" ============ */

.s-next-wrap { padding-top: clamp(3rem, 8.5vw, 7.7rem); }

.s-next {
  background: var(--c-lime);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 4rem);
  text-align: center;
}

.s-next__title {
  font-size: clamp(1.75rem, 2.85vw, 2.5625rem);
  font-weight: var(--fw-regular);
  color: var(--c-ink);
  line-height: 1.1;
}
.s-next__title strong { font-weight: var(--fw-bold); }

.s-next__btn {
  display: inline-block;
  margin-top: var(--sp-3);
  padding: 12px 24px;
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 1.0625rem;
  font-weight: var(--fw-medium);
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease);
}
.s-next__btn:hover { background: var(--c-blue-deep); }

/* O Vector.svg original aponta para cima; abaixo do balão a ponta é para baixo. */
.s-next__tail { display: block; margin: -1px auto 0; transform: scaleY(-1); }

/* ============ Responsivo ============ */

@media (max-width: 1000px) {
  .s-features { grid-template-columns: 1fr; }
  .s-feature { border-left: 0; }
  .s-feature + .s-feature { border-top: 1px solid var(--c-ink); }

  .s-level {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-4);
    border-radius: var(--radius-lg);
    text-align: center;
  }
  .s-level__covers { width: auto; }
  .s-level__covers img { margin-block: 0; }
}

@media (max-width: 560px) {
  .s-banner { min-height: 240px; }
  .s-level__covers { flex-wrap: wrap; justify-content: center; }
}
