/* ==========================================================================
   Salesiano Recife — Pós-matrícula
   Medidas replicadas do original (Wix, grade de 980px centralizada).
   ========================================================================== */

@font-face {
  font-family: "Salesiano Display";
  src: url("fonts/salesiano-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Avenir Light";
  src: url("fonts/avenir-light.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* cores */
  --blue-900: #00207d;
  --blue-800: #263685;
  --red: #ed3237;
  --red-tab: #e31e26;
  --red-link: #f03d42;
  --ink: #212121;
  --text: #333;
  --surface: #fafafa;
  --white: #fff;
  --hover-border: #3eccb5;

  /* tipografia */
  --font-display: "Salesiano Display", "Bebas Neue", Impact, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-avenir: "Avenir Light", "Avenir", "Nunito Sans", sans-serif;
  --font-link: "Poppins", sans-serif;

  /* layout (grade do Wix) */
  --container: 980px;
  --container-wide: 1140px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 980px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; font-weight: inherit; font-size: inherit; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- utilitários ---------- */
/* o Wix arredonda a margem da grade para baixo (222px em 1425px de largura) */
.container { width: var(--container); margin-left: round(down, (100% - var(--container)) / 2, 1px); position: relative; }
.container--wide { width: var(--container-wide); margin-left: round(down, (100% - var(--container-wide)) / 2, 1px); }

.title {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 52px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--blue-800);
}
.title--white { color: var(--white); }
.title--center { text-align: center; }

.lead { font-size: 18px; line-height: 23.4px; color: var(--text); }
.lead--white { color: var(--white); }
.lead--center { text-align: center; margin-inline: auto; }

/* botão vermelho (Fale Conosco / Comecar minha jornada) */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border: 0 solid transparent;
  border-radius: 18px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}
.btn:hover {
  background: var(--blue-900);
  border: .8px solid var(--hover-border);
}

/* ==========================================================================
   HEADER (0–95)
   ========================================================================== */
.header { background: var(--white); }
.header__inner { height: 95px; }
.header__logo { position: absolute; left: 0; top: 30px; }
.header__logo img { width: 130px; height: 38px; }
.header__nav {
  position: absolute;
  left: 318px;
  top: 34px;
  display: flex;
}
.header__nav a {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--blue-900);
  text-decoration: underline;
}
.header__nav a:nth-child(2) { margin-left: 22px; }
.header__nav a:nth-child(3) { margin-left: 21px; }
.header__nav a:nth-child(4) { margin-left: 32px; }
.header__cta { position: absolute; left: 833px; top: 20px; width: 188px; justify-content: flex-start; padding-left: 34px; }

/* ==========================================================================
   HERO (95–707)
   ========================================================================== */
.hero {
  height: 612px;
  background: var(--blue-900) url("../img/hero-bg.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero__inner { height: 100%; }
.hero__content { position: absolute; left: 0; top: 153px; width: 555px; }
.hero__title img { width: 484px; height: 172px; margin-left: 1px; }
.hero__content p {
  margin-left: 1px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.8px;
}
.hero__content .hero__p1 { margin-bottom: 20.8px; }
.hero__btn { width: 250px; margin-top: 31px; justify-content: flex-start; padding-left: 19px; }
.hero__alunos { position: absolute; left: 547px; top: 96px; width: 559px; height: 516px; }

/* ==========================================================================
   EXPERIÊNCIA + ABAS (707–1355)
   ========================================================================== */
.experiencia {
  min-height: 648px;
  padding: 62px 0 42px;
  background: var(--blue-900) url("../img/experiencia-bg.jpg") center / cover no-repeat;
  text-align: center;
}
.experiencia__title { letter-spacing: .48px; line-height: normal; }
.experiencia__lead { width: 820px; margin: 12px auto 0; }

.tabs { width: 817px; margin: 39px 0 0 81px; text-align: left; }
.tabs__list { display: flex; height: 38px; }
.tabs__tab {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 30px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .21);
  color: rgba(255, 255, 255, .49);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: normal;
  text-transform: uppercase;
}
.tabs__tab + .tabs__tab { margin-left: 13px; }
.tabs__tab:last-child { margin-left: 11px; }
.tabs__tab.is-active { background: var(--red-tab); color: var(--white); }
.tabs__tab:hover { background: var(--ink); color: var(--white); }

.tabs__panel {
  position: relative;
  min-height: 342px;
  margin-top: 13px;
  padding: 39px 0 28px 40.4px;
  background: var(--white);
  border: 1.6px solid #e6e6e6;
  border-radius: 30px;
}
.tabs__panel[hidden] { display: none; }
/* efeito sanfona/FAQ: o box se revela de cima para baixo ao trocar de aba */
.tabs__panel:not([hidden]) { animation: tab-curtain .9s cubic-bezier(.4, 0, .2, 1); }
@keyframes tab-curtain {
  from { clip-path: inset(0 0 100% 0 round 30px); opacity: 0; }
  40%  { opacity: 1; }
  to   { clip-path: inset(0 0 0 0 round 30px); opacity: 1; }
}
.tabs__text { width: 512px; }
.tabs__text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 39.2px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 12px;
}
.tabs__text p { font-size: 15px; line-height: 21px; color: var(--text); }
.tabs__text p strong { font-weight: 700; }
.tabs__text .tabs__gap { margin-top: 3px; }
.tabs__gap + .avenir { margin-top: 1px; }
.tabs__text .avenir { font-family: var(--font-avenir); color: #000; }
.tabs__link {
  display: inline-flex;
  align-items: center;
  height: 31px;
  margin-top: 20.5px;
  padding-right: 8px;
  border-radius: 50px;
  font-family: var(--font-link);
  font-weight: 600;
  font-size: 16px;
  color: var(--red-link);
  text-decoration: underline;
  transition: all .2s ease;
}
.tabs__link:hover { color: #595959; }
.tabs__link--arte { margin-top: 21.5px; }
.tabs__link--far { margin-top: 78.5px; }
.tabs__img { position: absolute; left: 596.4px; top: 18.4px; width: 173px; height: 252px; }

/* ==========================================================================
   ROTINA (1355–1955)
   ========================================================================== */
.rotina { height: 600px; padding-top: 58px; }
.rotina__grid {
  display: grid;
  grid-template-columns: 455px 321px 321px;
  grid-template-rows: 213px 192px;
  column-gap: 21px;
  row-gap: 25px;
}
.rotina__intro { padding: 1.5px 0 0 1px; }
.rotina__intro .title { width: 270px; letter-spacing: .48px; }
.rotina__intro .lead { width: 380px; margin-top: 12.6px; }
.rotina__img {
  width: 400px;
  height: 213px;
  margin-left: 2px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  object-fit: cover;
}

.info-card {
  position: relative;
  padding: 12.5px 12px 0;
  background: var(--surface);
  border-radius: 15px;
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 32px;
  letter-spacing: .32px;
  text-transform: uppercase;
  color: var(--red-link);
}
.info-card p { width: 285px; margin-top: 14.6px; font-size: 16px; line-height: 20.8px; }
.info-card__link {
  position: absolute;
  left: 0;
  top: 159px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 83px;
  height: 40px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: normal;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--blue-900);
  transition: all .2s ease;
}
.info-card__link:hover { color: var(--ink); background: var(--white); letter-spacing: 1.7px; }

/* ==========================================================================
   PLATAFORMAS (1955–2710) / INFORMAÇÕES (2710–3200)
   ========================================================================== */
.plataformas { height: 755px; padding-top: 71px; }
.informacoes { min-height: 490px; }

.split { display: grid; grid-template-columns: 430px auto; align-items: start; }
.split__aside .title { letter-spacing: .48px; }
.split__aside .lead { margin-top: 12.6px; }

.plataformas .split { column-gap: 77px; }
.plataformas .split__aside { padding-top: 1.5px; }
.plataformas .split__aside .title { width: 230px; margin-left: 1px; }
.plataformas .split__aside .lead { margin-left: 1px; }
.plataformas__img {
  width: 419px;
  height: 334px;
  margin: 29.7px 0 0;
  border-radius: 16px;
  object-fit: cover;
}

.split--info { column-gap: 51px; }
.informacoes .split__aside { padding-top: 47.5px; }
.informacoes .split__aside .title { width: 280px; }

/* os blocos incorporados simulam o iframe do Wix (body com margin: 8px) */
.embed {
  padding: 8px;
  font: 16px / normal "Times New Roman", serif;
  color: #000;
  text-align: left;
}
.embed--accordion { width: 553px; height: 595px; overflow-y: auto; }
.embed--carousel { width: 717px; min-height: 485px; overflow: hidden; }
.embed--contatos { width: 1030px; height: 651px; overflow: hidden; margin: 21px 0 0 -15px; }

/* ==========================================================================
   CONTATOS (3200–4091)
   ========================================================================== */
.contatos { height: 891px; padding-top: 54.5px; }
.contatos__title { letter-spacing: .48px; transform: translateX(9px); }
.contatos__lead { width: 690px; margin-top: 12.6px; }

/* ==========================================================================
   CTA FINAL (4091–4453)
   ========================================================================== */
.cta { height: 362px; padding-top: 70px; }
.cta__box {
  position: relative;
  width: 1133px;
  height: 282px;
  margin-inline: auto;
  padding: 41.5px 0 0 76px;
  background: url("../img/cta-bg.png") center / 100% 100% no-repeat;
  color: var(--white);
}
.cta__content { width: 470px; }
.cta__content .title { width: 340px; letter-spacing: .48px; }
.cta__content p { margin-top: 12.6px; font-size: 18px; line-height: 23.4px; }
.cta__aluna { position: absolute; left: 705px; top: 10px; width: 240px; height: 272px; }

/* ==========================================================================
   FOOTER (4453–4840)
   ========================================================================== */
.footer { height: 387px; padding-top: 60px; background: var(--blue-900); color: var(--white); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__logo { width: 120px; height: 120px; margin-right: 1px; }
.footer__slogan {
  margin-top: 50px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 33px;
  letter-spacing: .32px;
  text-transform: uppercase;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  width: 1041px;
  margin-top: 22px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  font-family: var(--font-avenir);
  font-weight: 700;
  font-size: 14px;
  line-height: 18.2px;
  color: #fffffe;
}
.footer__bottom a { text-decoration: underline; }

/* ==========================================================================
   RESPONSIVO
   ≥ 1280px : layout desktop original (grade fixa acima)
   ≤ 1279px : layout fluido — tipografia/espaços com clamp(), grids que se
              reorganizam pela largura disponível, imagens com aspect-ratio
   ≤ 899px  : menu vira botão ☰ · colunas laterais empilham
   ≤ 767px  : arte própria do mobile no hero
   ≤ 599px  : tudo em uma coluna
   + celular deitado (pouca altura), telas touch e movimento reduzido
   ========================================================================== */

/* imagens dentro de <picture> seguem o tamanho do <picture> */
.tabs__img img, .cta__aluna img { width: 100%; height: auto; }
.header__toggle { display: none; }

@media (max-width: 1279px) {
  :root { --gutter: clamp(20px, 5vw, 40px); --header-h: clamp(64px, 8vw, 95px); }
  /* o header é sticky: reserva o espaço dele ao rolar para âncoras (#rotina etc.) */
  html { scroll-padding-top: var(--header-h); }
  body { min-width: 0; }
  .container, .container--wide {
    width: auto; max-width: calc(1140px + 2 * var(--gutter));
    margin-inline: auto; padding-inline: var(--gutter);
  }
  .header__inner, .hero, .experiencia, .rotina, .plataformas, .informacoes,
  .contatos, .cta, .footer { height: auto; }

  .title { font-size: clamp(30px, 1.1rem + 3vw, 48px); line-height: 1.08; }
  .lead { font-size: clamp(16px, .9rem + .35vw, 18px); line-height: 1.35; }

  /* ---------- header ---------- */
  .header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
  .header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
  .header__logo, .header__nav, .header__cta { position: static; }
  .header__logo img { width: clamp(108px, 12vw, 130px); height: auto; }
  .header__nav { gap: clamp(14px, 2vw, 28px); margin-left: auto; }
  .header__nav a, .header__nav a:nth-child(n) { margin: 0; font-size: clamp(14px, 1.4vw, 16px); }
  .header__cta { flex: none; width: auto; height: 46px; padding: 0 22px; justify-content: center; font-size: 17px; border-radius: 14px; }

  /* ---------- hero ---------- */
  .hero__inner {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end; column-gap: clamp(16px, 3vw, 40px);
    padding-top: clamp(32px, 5vw, 72px);
  }
  .hero__content { position: static; align-self: center; width: auto; padding-bottom: clamp(32px, 5vw, 64px); }
  .hero__title img { width: 100%; max-width: 484px; height: auto; margin: 0 0 clamp(16px, 2vw, 24px); }
  .hero__content p { font-size: clamp(15px, .85rem + .3vw, 16px); line-height: 1.35; }
  .hero__btn { width: fit-content; margin-top: clamp(24px, 3vw, 31px); padding: 0 32px; justify-content: center; }
  .hero__media { display: block; }
  .hero__alunos { position: static; width: 100%; max-width: 559px; height: auto; margin-inline: auto; }

  /* ---------- experiência / abas ---------- */
  .experiencia { padding: clamp(48px, 7vw, 62px) 0; }
  .experiencia__lead { width: auto; max-width: 820px; }
  .tabs { width: auto; max-width: 900px; margin: clamp(24px, 4vw, 39px) auto 0; }
  .tabs__list {
    gap: 10px; height: auto;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 2px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab, .tabs__tab + .tabs__tab, .tabs__tab:last-child {
    flex: none; margin: 0; white-space: nowrap; scroll-snap-align: start;
    height: 42px; padding: 0 clamp(18px, 2.5vw, 30px); font-size: clamp(19px, 1rem + .7vw, 24px);
  }
  .tabs__panel {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
    column-gap: clamp(20px, 4vw, 56px); height: auto;
    padding: clamp(24px, 4vw, 40px); border-radius: clamp(20px, 3vw, 30px);
  }
  .tabs__panel[hidden] { display: none; }
  .tabs__text { width: auto; }
  .tabs__text h3 { font-size: clamp(24px, 1rem + 1.4vw, 28px); line-height: 1.3; }
  .tabs__img { position: static; width: clamp(120px, 17vw, 173px); height: auto; }
  .tabs__link--arte, .tabs__link--far { margin-top: 20.5px; }

  /* ---------- rotina: mesma composição do desktop, só que fluida ---------- */
  .rotina { padding: clamp(48px, 7vw, 64px) 0 0; }
  .rotina__grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: none; gap: clamp(16px, 2vw, 25px) clamp(14px, 2vw, 21px);
  }
  .rotina__intro { padding: 0; }
  .rotina__intro .title, .rotina__intro .lead { width: auto; }
  .rotina__img { width: 100%; height: 100%; min-height: 180px; margin: 0; }
  .info-card { padding: 18px 18px 22px; }
  .info-card h3 { font-size: clamp(23px, 1rem + 1.2vw, 32px); line-height: 1.05; }
  .info-card p { width: auto; margin-top: 12px; font-size: clamp(15px, .85rem + .3vw, 16px); line-height: 1.35; }
  .info-card__link { position: static; display: inline-flex; justify-content: flex-start; width: auto; height: 40px; margin-top: 8px; }

  /* ---------- plataformas / informações / contatos ---------- */
  .plataformas, .informacoes, .contatos { padding: clamp(48px, 7vw, 71px) 0 0; }
  .split, .split--info, .plataformas .split {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: clamp(24px, 5vw, 77px); row-gap: 32px;
  }
  .split__aside .title, .plataformas .split__aside .title, .informacoes .split__aside .title { width: auto; }
  .plataformas .split__aside .title, .plataformas .split__aside .lead { margin-left: 0; }
  .informacoes .split__aside { padding-top: 0; }
  .plataformas__img { width: 100%; height: auto; aspect-ratio: 419 / 334; margin-top: 24px; }
  .embed--accordion, .embed--carousel, .embed--contatos { width: auto; height: auto; margin: 0; padding: 0; overflow: visible; }
  .contatos__title { transform: none; }
  .contatos__lead { width: auto; max-width: 690px; }
  .embed--contatos { margin-top: clamp(24px, 4vw, 40px); }

  /* ---------- CTA ---------- */
  .cta { padding: clamp(48px, 7vw, 70px) var(--gutter) 0; }
  .cta__box {
    display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(16px, 3vw, 40px);
    width: auto; max-width: 1133px; height: auto;
    padding: clamp(28px, 5vw, 48px) clamp(24px, 6vw, 76px) 0;
    background: #042589 url("../img/cta-bg.png") center / cover no-repeat;
    background-image: image-set(url("../img/cta-bg-1133.webp") 1x, url("../img/cta-bg-2266.webp") 2x);
    border-radius: clamp(20px, 3vw, 30px); overflow: hidden;
  }
  .cta__content { width: auto; max-width: 520px; padding-bottom: clamp(28px, 5vw, 48px); }
  .cta__content .title { width: auto; }
  .cta__content p { font-size: clamp(16px, .9rem + .35vw, 18px); line-height: 1.35; }
  .cta__aluna { position: static; flex: none; width: clamp(150px, 22vw, 240px); height: auto; }

  /* ---------- footer ---------- */
  .footer { margin-top: clamp(48px, 7vw, 64px); padding: clamp(40px, 6vw, 60px) var(--gutter) 28px; }
  .footer__logo { width: clamp(84px, 10vw, 120px); height: auto; }
  .footer__slogan { margin-top: clamp(24px, 4vw, 50px); font-size: clamp(21px, .9rem + 1.6vw, 32px); line-height: 1.05; }
  .footer__bottom { width: 100%; max-width: 1041px; gap: 10px 24px; flex-wrap: wrap; }
}

/* ---------- ≤ 899px: menu ☰ e colunas empilhadas ---------- */
@media (max-width: 899px) {
  .header__toggle {
    display: grid; place-items: center; order: 3; flex: none;
    width: 44px; height: 44px; margin-left: -12px; padding: 0;
    border: 0; border-radius: 12px; background: transparent; color: var(--blue-900);
  }
  .header__toggle span, .header__toggle span::before, .header__toggle span::after {
    display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .2s ease, background-color .2s ease;
  }
  .header__toggle span { position: relative; }
  .header__toggle span::before, .header__toggle span::after { content: ""; position: absolute; left: 0; }
  .header__toggle span::before { top: -7px; }
  .header__toggle span::after { top: 7px; }
  .header.is-open .header__toggle span { background: transparent; }
  .header.is-open .header__toggle span::before { transform: translateY(7px) rotate(45deg); }
  .header.is-open .header__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

  .header__cta { margin-left: auto; }
  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px;
    background: var(--white); box-shadow: 0 12px 24px rgba(0, 32, 125, .12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .header.is-open .header__nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .header__nav a, .header__nav a:nth-child(n) {
    display: flex; align-items: center; min-height: 48px; font-size: 18px; text-decoration: none;
    border-bottom: 1px solid #eef0f6;
  }
  .header__nav a:last-child { border-bottom: 0; }

  .split, .split--info, .plataformas .split { grid-template-columns: minmax(0, 1fr); }
  .split__aside { max-width: 680px; }
  .plataformas__img { max-width: 560px; }

  .rotina__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rotina__intro { grid-column: 1 / -1; max-width: 640px; }
  .rotina__img { grid-column: 1 / -1; height: auto; aspect-ratio: 16 / 7; }
}

/* ---------- ≤ 767px: hero empilhado com a arte do mobile ---------- */
@media (max-width: 767px) {
  .hero { background-image: url("../img/hero-bg-mobile.jpg"); background-position: top center; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: clamp(28px, 8vw, 48px); }
  .hero__content { padding-bottom: 28px; }
  .hero__title img { max-width: min(100%, 420px); }
  .hero__btn { width: 100%; max-width: 380px; height: 52px; }
  .hero__alunos { max-width: min(90vw, 420px); }
  .experiencia { background-color: #062689; background-image: none; }
}

/* ---------- ≤ 599px: uma coluna ---------- */
@media (max-width: 599px) {
  .header__cta { height: 40px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
  .header__inner { gap: 16px; }

  .tabs__panel { grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding: 24px 20px 28px; }
  .tabs__img { grid-row: 1; justify-self: center; width: 128px; }

  .rotina__grid { grid-template-columns: minmax(0, 1fr); }
  .rotina__img { aspect-ratio: 16 / 9; }

  .cta__box { flex-direction: column; align-items: stretch; gap: 0; }
  .cta__content { padding-bottom: 8px; }
  .cta__aluna { align-self: center; width: min(60vw, 220px); }

  .footer__bottom { flex-direction: column; align-items: center; }
}

/* ---------- celular deitado: aproveita a largura, encolhe a altura ---------- */
@media (max-width: 1279px) and (max-height: 520px) and (orientation: landscape) {
  .header { position: static; }
  html { scroll-padding-top: 0; }
  .hero { background-image: url("../img/hero-bg.jpg"); background-position: center; }
  .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-top: 24px; }
  .hero__content { padding-bottom: 24px; }
  .hero__title img { max-width: 340px; }
  .hero__btn { width: fit-content; height: 48px; }
  .hero__alunos { width: auto; max-height: 82vh; }
}

/* ---------- touch: alvos de toque ≥ 44px e sem hover "grudado" ---------- */
@media (pointer: coarse) {
  .tabs__link { height: auto; min-height: 44px; }
  .info-card__link { height: 44px; }
  .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (hover: none) {
  .btn:hover { background: var(--red); border-color: transparent; }
  .tabs__tab:hover { background: rgba(255, 255, 255, .21); color: rgba(255, 255, 255, .49); }
  .tabs__tab.is-active:hover { background: var(--red-tab); color: var(--white); }
  .info-card__link:hover { color: var(--blue-900); background: none; letter-spacing: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* no original o carrossel roda em quirks mode e começa em scrollLeft 0;
   sem isto o scroll-snap ajusta 2px e habilita a seta "anterior" */
.embed--carousel .cc-track { scroll-padding-left: 2px; }
