/* IN ALL Academy — site v1
   Cores e tipografia: skill inall-marca. Sem dependências externas. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2"),
       url("../fonts/archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --roxo: #5E3DE9;
  --roxo-hover: #4B3BA8;
  --roxo-profundo: #4B3BA8;
  --roxo-escuro: #2A1E6B;
  --grafite: #2B2D31;
  --lilas: #B5AEE3;
  --verde: #0DBD94;
  --texto: #1F1D2B;
  --texto-2: #55536A;
  --linha: #E6E4EF;
  --fundo-suave: #F7F6FB;
  --branco: #FFFFFF;
  --raio: 16px;
  --largura: 1160px;
  --fonte: "Archivo", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--roxo); }
a:hover { color: var(--roxo-hover); }
:focus-visible { outline: 3px solid var(--roxo); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--largura)); margin-inline: auto; }

.pular { position: absolute; left: -9999px; }
.pular:focus { left: 16px; top: 16px; z-index: 100; background: var(--branco); padding: 8px 14px; border-radius: 8px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 850; font-stretch: 112%; color: var(--roxo-escuro); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; font-stretch: 110%; color: var(--roxo-escuro); }
h3 { font-size: 1.3rem; font-weight: 750; }
.sobretitulo {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--roxo-profundo);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--texto-2); max-width: 36rem; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.botao:active { transform: translateY(1px); }
.botao--primario { background: var(--roxo); color: var(--branco); }
.botao--primario:hover { background: var(--roxo-hover); color: var(--branco); }
.botao--secundario { background: var(--branco); color: var(--roxo-escuro); border-color: var(--linha); }
.botao--secundario:hover { border-color: var(--roxo); color: var(--roxo); }
.botao--claro { background: var(--branco); color: var(--roxo-escuro); }
.botao--claro:hover { background: var(--fundo-suave); color: var(--roxo-escuro); }
.botao svg { width: 20px; height: 20px; flex: none; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--linha);
}
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { width: 64px; height: auto; }
.marca__nome { display: flex; flex-direction: column; line-height: 1; }
.marca__nome strong { white-space: nowrap; font-size: 1.02rem; font-weight: 900; font-stretch: 125%; letter-spacing: 0.04em; color: var(--roxo); }
.marca__nome span { font-size: 0.62rem; font-weight: 700; font-stretch: 125%; letter-spacing: 0.22em; color: var(--roxo-profundo); margin-top: 5px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.botao) { color: var(--texto-2); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.menu a:not(.botao):hover { color: var(--roxo); }
.menu .botao { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.hero__grade { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin: 0 0 32px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.selos { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.selos li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--fundo-suave); border: 1px solid var(--linha);
  font-size: 0.9rem; font-weight: 600; color: var(--texto);
}
.selos li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }
.hero__arte {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: 32px; background: var(--grafite);
  display: grid; place-items: center; overflow: hidden;
}
.hero__arte img { width: 74%; }
.hero__preco {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  color: var(--branco);
}
.hero__preco small { display: block; color: var(--lilas); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__preco strong { font-size: 1.7rem; font-weight: 850; font-stretch: 110%; }
.hero__preco span { color: var(--lilas); font-size: 0.95rem; }

/* ---------- Seções ---------- */
.secao { padding: clamp(64px, 9vw, 112px) 0; }
.secao--suave { background: var(--fundo-suave); border-block: 1px solid var(--linha); }
.secao__cabeca { max-width: 44rem; margin-bottom: 48px; }
.secao__cabeca p { color: var(--texto-2); font-size: 1.12rem; margin: 16px 0 0; }

/* ---------- Modalidades ---------- */
.modalidades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cartao {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cartao:hover { border-color: #CFC8F5; box-shadow: 0 10px 30px -18px rgba(42, 30, 107, 0.35); }
.cartao__topo { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.etiqueta {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: #EEEAFD; color: var(--roxo-profundo);
}
.etiqueta--escura { background: var(--grafite); color: var(--branco); }
.preco { display: flex; align-items: baseline; gap: 6px; }
.preco strong { font-size: 2.8rem; font-weight: 850; font-stretch: 110%; color: var(--roxo-escuro); letter-spacing: -0.02em; }
.preco span { color: var(--texto-2); font-weight: 600; }
.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lista-check li { display: flex; gap: 12px; color: var(--texto); }
.lista-check li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--roxo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.cartao .botao { margin-top: auto; align-self: flex-start; }

/* ---------- Trilhas ---------- */
.trilhas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trilha__horas { font-size: 0.95rem; color: var(--texto-2); font-weight: 600; }
.cursos { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linha); }
.cursos li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.cursos li span:last-child { color: var(--texto-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trilha--breve { background: var(--fundo-suave); border-style: dashed; }
.trilha--breve p { color: var(--texto-2); margin: 0; }

/* ---------- Passos ---------- */
.passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: passo; }
.passos li { counter-increment: passo; padding: 28px; border-radius: var(--raio); border: 1px solid var(--linha); background: var(--branco); }
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  display: block; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.1em; color: var(--roxo); margin-bottom: 14px;
}
.passos h3 { margin-bottom: 8px; }
.passos p { margin: 0; color: var(--texto-2); }

/* ---------- Dúvidas ---------- */
.duvidas { display: grid; gap: 12px; max-width: 52rem; }
.duvidas details { border: 1px solid var(--linha); border-radius: 14px; background: var(--branco); padding: 0 22px; }
.duvidas summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--roxo); line-height: 1; }
.duvidas details[open] summary::after { content: "–"; }
.duvidas details p { margin: 0 0 20px; color: var(--texto-2); }

/* ---------- Chamada final ---------- */
.chamada { background: var(--grafite); color: var(--branco); border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.chamada h2 { color: var(--branco); }
.chamada p { color: var(--lilas); margin: 14px 0 0; font-size: 1.12rem; }

/* ---------- Rodapé ---------- */
.rodape { padding: 56px 0 40px; border-top: 1px solid var(--linha); margin-top: clamp(64px, 9vw, 112px); }
.rodape__grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rodape h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--roxo-profundo); margin-bottom: 14px; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rodape a { color: var(--texto); text-decoration: none; }
.rodape a:hover { color: var(--roxo); }
.rodape p { margin: 14px 0 0; color: var(--texto-2); font-size: 0.95rem; }
.rodape__base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linha); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--texto-2); font-size: 0.88rem; }

/* ---------- Página de texto ---------- */
.texto { max-width: 46rem; padding: clamp(48px, 8vw, 96px) 0; }
.texto h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin-bottom: 12px; }
.texto h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.texto p, .texto li { color: var(--texto); }
.texto .meta { color: var(--texto-2); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero__grade { grid-template-columns: 1fr; gap: 40px; }
  .hero__arte { max-width: 460px; }
  .passos { grid-template-columns: 1fr; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu a:not(.botao) { display: none; }
  .modalidades, .trilhas { grid-template-columns: 1fr; }
  .chamada { grid-template-columns: 1fr; }
  .cartao { padding: 24px; }
  .rodape__grade { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .marca img { width: 52px; }
  .marca__nome span { display: none; }
  .marca__nome strong { font-size: 0.86rem; letter-spacing: 0.02em; }
  .marca { gap: 8px; }
  .menu .botao { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
