/* Página de vendas do Preparatório Extensivo TEME (front/curso-preparatorio-para-a-prova-de-titulo-de-medicina-esportiva-teme/). */
.teme { --teme-navy: #001f51; --teme-deep: #00122f; --teme-blue: #00aaff; --teme-gold: #00aaff; --teme-paper: #f5f7fb; --teme-line: #dfe5ee; }
.teme img { height: auto; }
.teme h1, .teme h2, .teme h3 { letter-spacing: -0.02em; line-height: 1.08; }
.teme h2 { margin: 0 0 18px; font-size: clamp(30px, 4.2vw, 50px); }
.teme h3 { margin: 0 0 8px; font-size: 20px; }
.teme p { margin: 0 0 14px; }
.teme-sec { padding: clamp(64px, 9vw, 120px) 0; }
.teme-sec--paper { background: var(--teme-paper); }
.teme-sec--navy { color: #fff; background: var(--teme-navy); }
.teme-sec--deep { color: #fff; background: var(--teme-deep); }
.teme-kicker { display: inline-block; margin: 0 0 14px; color: var(--teme-blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.teme-lead { max-width: 760px; color: #3d4654; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.teme-sec--navy .teme-lead, .teme-sec--deep .teme-lead { color: rgba(255,255,255,.82); }
.teme-center { text-align: center; }
.teme-center .teme-lead { margin-inline: auto; }
.teme-narrow { max-width: 860px; }

/* Botões */
.teme-btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 800; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease; }
.teme-btn:hover, .teme-btn:focus-visible { transform: translateY(-2px); }
.teme-btn--cta { color: #111; background: var(--teme-gold); box-shadow: 0 10px 30px rgba(0,170,255,.32); }
.teme-btn--cta:hover, .teme-btn--cta:focus-visible { background: #33bbff; }
.teme-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); background: transparent; }
.teme-btn--ghost:hover, .teme-btn--ghost:focus-visible { background: rgba(255,255,255,.1); }
.teme-btn--line { color: var(--teme-navy); border: 2px solid var(--teme-navy); background: #fff; }
.teme-btn--line:hover, .teme-btn--line:focus-visible { color: #fff; background: var(--teme-navy); }
.teme-btn--block { width: 100%; }

/* Topo */
.teme-hero { position: relative; overflow: hidden; color: #fff; background: var(--teme-deep); }
.teme-hero__bg { position: absolute; inset: 0; }
.teme-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.teme-hero__bg::after { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,18,47,.96) 0%, rgba(0,18,47,.86) 45%, rgba(0,31,81,.45) 100%); content: ""; }
.teme-hero__inner { position: relative; padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 7vw, 90px); }
.teme-hero__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 8px 14px; border: 1px solid rgba(0,170,255,.6); border-radius: 999px; color: var(--teme-gold); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.teme-hero h1 { max-width: 920px; margin: 0 0 22px; font-size: clamp(38px, 6vw, 76px); }
.teme-hero h1 em { color: var(--teme-gold); font-style: normal; }
.teme-hero__sub { max-width: 700px; margin: 0 0 32px; color: rgba(255,255,255,.86); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; }
.teme-hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.teme-provas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(48px, 7vw, 80px); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.18); }
.teme-prova { padding: 24px 26px; background: rgba(0,18,47,.78); backdrop-filter: blur(6px); }
.teme-prova strong { display: block; color: var(--teme-gold); font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.teme-prova span { display: block; margin-top: 8px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.35; }

/* Narrativa */
.teme-duas { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.teme-duas img { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.teme-etapas { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.teme-etapas li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--teme-line); border-radius: 16px; background: #fff; }
.teme-etapas b { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; color: #fff; background: var(--teme-navy); font-size: 18px; }
.teme-etapas p { margin: 4px 0 0; color: #4a5361; font-size: 15px; }

/* Método */
.teme-metodo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.teme-passo { position: relative; padding: 28px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.05); }
.teme-passo__n { display: block; margin-bottom: 18px; color: var(--teme-gold); font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.teme-passo h3 { color: #fff; font-size: 24px; }
.teme-passo p { color: rgba(255,255,255,.78); font-size: 15px; }

/* Entregáveis */
.teme-itens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.teme-item { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--teme-line); border-radius: 20px; background: #fff; }
.teme-item__ico { display: grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center; border-radius: 14px; color: var(--teme-navy); background: rgba(0,170,255,.14); }
.teme-item__ico svg { width: 26px; height: 26px; }
.teme-item p { flex: 1; color: #4a5361; font-size: 15px; }
.teme-item--destaque { border-color: var(--teme-navy); box-shadow: 0 0 0 2px var(--teme-navy) inset; }
.teme-selos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.teme-selo { padding: 4px 10px; border-radius: 999px; color: var(--teme-navy); background: #e8eef8; font-size: 12px; font-weight: 700; }
.teme-selo--pratico { color: #003a66; background: #d6f1ff; }

/* Softwares */
.teme-softs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.teme-soft { padding: 30px 26px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #0a2f6e 0%, #001f51 100%); }
.teme-soft h3 { color: #fff; font-size: 24px; }
.teme-soft p { color: rgba(255,255,255,.8); font-size: 15px; }
.teme-soft a { color: var(--teme-gold); font-weight: 700; }

/* Presencial */
.teme-galeria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; margin-top: 44px; }
.teme-galeria figure { margin: 0; overflow: hidden; border-radius: 16px; background: #0b2350; }
.teme-galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.teme-galeria figure:hover img { transform: scale(1.04); }
.teme-galeria .g-alta { grid-row: span 2; }
.teme-galeria .g-larga { grid-column: span 2; }
.teme-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.teme-checks li { position: relative; padding-left: 32px; color: rgba(255,255,255,.88); }
.teme-checks li::before { position: absolute; top: 1px; left: 0; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #111; background: var(--teme-gold); font-size: 13px; font-weight: 900; content: "✓"; }
.teme-checks--escuro li { color: #2a313c; }

/* Depoimento */
.teme-depo { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.teme-video { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px; background: #000; box-shadow: 0 24px 60px rgba(0,31,81,.28); }
.teme-video iframe, .teme-video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.teme-video button { padding: 0; background: #000 center / cover no-repeat; cursor: pointer; }
.teme-video button::after { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; border-radius: 50%; background: var(--teme-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23111'/%3E%3C/svg%3E") 55% 50% / 34px no-repeat; transform: translate(-50%, -50%); content: ""; }
.teme-aspas { margin: 0 0 18px; color: var(--teme-navy); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.25; }

/* Professores */
.teme-profs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.teme-prof { overflow: hidden; border: 1px solid var(--teme-line); border-radius: 20px; background: #fff; }
.teme-prof img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; background: #e8eef8; }
.teme-prof div { padding: 18px 20px 22px; }
.teme-prof h3 { font-size: 19px; }
.teme-prof ul { margin: 0; padding-left: 18px; color: #4a5361; font-size: 14px; }

/* Ofertas */
.teme-planos { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; align-items: stretch; margin-top: 44px; }
.teme-plano { display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--teme-line); border-radius: 22px; background: #fff; }
.teme-plano--top { position: relative; padding-top: 44px; border: 0; color: #fff; background: linear-gradient(170deg, #0a2f6e 0%, #001f51 70%); box-shadow: 0 28px 70px rgba(0,31,81,.35); transform: translateY(-14px); }
.teme-plano__fita { position: absolute; top: -14px; left: 50%; padding: 8px 18px; border-radius: 999px; color: #111; background: var(--teme-gold); font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.teme-plano h3 { font-size: 22px; }
.teme-plano--top h3 { color: #fff; font-size: 26px; }
.teme-plano__desc { color: #4a5361; font-size: 15px; }
.teme-plano--top .teme-plano__desc { color: rgba(255,255,255,.8); }
.teme-preco { margin: 18px 0 4px; }
.teme-preco small { display: block; color: #6a7383; font-size: 14px; }
.teme-preco strong { display: block; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.teme-plano--top .teme-preco small { color: rgba(255,255,255,.75); }
.teme-plano--top .teme-preco strong { color: var(--teme-gold); font-size: clamp(36px, 3.6vw, 50px); }
.teme-avista { margin: 0 0 20px; color: #4a5361; font-size: 15px; }
.teme-plano--top .teme-avista { color: rgba(255,255,255,.85); }
.teme-plano ul { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; }
.teme-plano li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--teme-line); }
.teme-plano--top li { border-color: rgba(255,255,255,.14); }
.teme-plano li::before { position: absolute; left: 0; color: #12a150; font-weight: 900; content: "✓"; }
.teme-plano--top li::before { color: var(--teme-gold); }
.teme-plano li.nao { color: #9aa2ae; }
.teme-plano li.nao::before { color: #c3c8d0; content: "—"; }
.teme-economia { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; color: #111; background: #00aaff; font-size: 14px; font-weight: 700; line-height: 1.35; }
.teme-nota { margin-top: 26px; color: #6a7383; font-size: 13px; }

/* FAQ */
.teme-faq { max-width: 900px; margin: 40px auto 0; }
.teme-faq details { border-bottom: 1px solid var(--teme-line); }
.teme-faq summary { position: relative; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 700; list-style: none; cursor: pointer; }
.teme-faq summary::-webkit-details-marker { display: none; }
.teme-faq summary::after { position: absolute; top: 18px; right: 4px; color: var(--teme-navy); font-size: 26px; font-weight: 400; content: "+"; }
.teme-faq details[open] summary::after { content: "–"; }
.teme-faq details p { padding-right: 40px; color: #4a5361; }

/* Final */
.teme-final h2 { max-width: 900px; margin-inline: auto; }

/* Barra fixa no celular */
.teme-barra { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(0,18,47,.97); box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
.teme-barra span { flex: 1; color: #fff; font-size: 13px; line-height: 1.25; }
.teme-barra strong { display: block; color: var(--teme-gold); font-size: 16px; }
.teme-barra .teme-btn { min-height: 46px; padding: 12px 18px; font-size: 15px; }

@media (max-width: 1080px) {
  .teme-metodo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teme-profs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .teme-itens, .teme-softs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teme-planos { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .teme-plano--top { order: -1; transform: none; margin-top: 14px; }
}
@media (max-width: 760px) {
  .teme .shell { width: calc(100% - 32px); }
  .teme-provas { grid-template-columns: 1fr; }
  .teme-prova { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
  .teme-prova span { margin: 0; }
  .teme-duas, .teme-depo { grid-template-columns: 1fr; }
  .teme-depo .teme-video { max-width: 340px; margin-inline: auto; }
  .teme-metodo, .teme-itens, .teme-softs, .teme-checks { grid-template-columns: 1fr; }
  .teme-profs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .teme-prof div { padding: 14px; }
  .teme-prof h3 { font-size: 16px; }
  .teme-prof ul { padding-left: 16px; font-size: 13px; }
  .teme-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .teme-galeria .g-larga { grid-column: span 2; }
  .teme-barra { display: flex; }
  .teme { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .teme-btn, .teme-galeria img { transition: none; } }
.teme-destaque { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 30px 0 0; padding: 22px 26px; border: 1px solid rgba(0,170,255,.5); border-radius: 18px; background: rgba(0,170,255,.12); }
.teme-destaque strong { color: var(--teme-gold); font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.teme-destaque span { flex: 1 1 260px; color: #fff; font-size: 18px; line-height: 1.4; }
/* ".teme p" zerava a margem de cima; o prefixo .teme garante o espaço acima dos botões */
.teme .teme-cta-sec { display: flex; justify-content: center; margin: 48px 0 0; }
.teme .teme-cta-sec--esq { justify-content: center; margin-top: 32px; }
.teme .teme-duas .teme-cta-sec { grid-column: 1 / -1; margin-top: 40px; }
.teme .teme-final .teme-cta-sec { margin-top: 32px; }
.teme-plano ul { margin-bottom: 28px; }
@media (max-width: 760px) {
  .teme .teme-cta-sec, .teme .teme-cta-sec--esq { justify-content: center; margin-top: 36px; }
  .teme-cta-sec .teme-btn { width: 100%; max-width: 380px; }
  .teme-hero__acoes { flex-direction: column; align-items: center; gap: 14px; }
  .teme-hero__acoes .teme-btn { width: 100%; max-width: 380px; }
  .teme-depo .teme-video { margin-bottom: 8px; }
}
