/* Kordel Studio — landing page. Identidade aprovada: paleta Anil e cal, amarelo #F5C542,
   Londrina Solid (títulos e marca) + Archivo (texto). Sem build: este arquivo é servido como está. */

@font-face {
  font-family: "Londrina Solid";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/londrina-solid-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900; /* arquivo variável: um só arquivo serve 400, 600 e 700 */
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* marca */
  --anil: #2B4C7E;
  --anil-esc: #1E3A63;
  --amarelo: #F5C542;
  --cal: #F3F0E8;
  --tinta: #14171F;
  --hero-texto: #DCE3EF;

  /* tema claro */
  --bg: #F3F0E8;
  --surf: #E4DFD2;
  --ink: #14171F;
  --ink2: #424756;
  --line: #C9C3B4;
  --link: #2B4C7E;
  --link-hover: #1E3A63;
  --foot: #14171F;
  --on-foot: #F3F0E8;
  --foco: #14171F;
  --padrao: url("../img/padrao-claro.svg");

  --titulo: "Londrina Solid", "Arial Black", sans-serif;
  --texto: "Archivo", "Segoe UI", system-ui, sans-serif;
  color-scheme: light; /* só o tema claro por enquanto: o site não segue o tema do sistema */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}

h1, h2, h3, p, ul { margin: 0; }

.caixa {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* link para pular a navegação */
.pular {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--amarelo);
  color: var(--tinta);
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
}
.pular:focus { top: 12px; }

/* ---------- navegação ---------- */
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* lockup horizontal: símbolo S, nome em Londrina Solid 900 com corpo 0,6 S, vão 0,22 S */
.marca {
  --s: 40px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--s) * 0.22);
  color: var(--ink);
  text-decoration: none;
}
.marca img { width: var(--s); height: var(--s); flex-shrink: 0; }
.marca-nome {
  font-family: var(--titulo);
  font-weight: 900;
  font-size: calc(var(--s) * 0.6);
  line-height: 1;
  padding-top: calc(var(--s) * 0.04);
  white-space: nowrap;
}
.marca:hover { color: var(--ink); }

.nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a:not(.botao) {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
}
.nav-links a:not(.botao):hover {
  text-decoration: underline;
  text-decoration-color: var(--amarelo);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* ---------- botões ---------- */
/* chanfro de entalhe nos cantos (mesmo recurso da prancha) */
.botao {
  --chanfro: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--amarelo);
  color: var(--tinta);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro));
  transition: background-color 0.15s ease;
}
.botao:hover { background: #E0AE24; color: var(--tinta); }
/* o clip-path corta o contorno de foco: o foco vira um anel interno */
.botao:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--tinta), inset 0 0 0 5px var(--amarelo);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.botao-grande {
  min-height: 56px;
  padding: 0 28px;
  font-size: 18px;
}
.botao-grande svg { flex-shrink: 0; }

/* ---------- hero ---------- */
.hero {
  background: var(--anil);
  color: var(--cal);
  --foco: var(--amarelo);
}
.hero-grade {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-texto {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sobretitulo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amarelo);
}
h1 {
  font-family: var(--titulo);
  font-weight: 900;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1;
}
.grifo { box-shadow: inset 0 -0.16em 0 var(--amarelo); }
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--hero-texto);
  max-width: 540px;
}
.baixar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
.baixar-info {
  font-size: 14px;
  color: var(--hero-texto);
  font-variant-numeric: tabular-nums;
}

.hero-captura {
  flex: 1 1 460px;
  min-width: 0;
  padding: 0 0 28px 28px;
  background: var(--anil) url("../img/padrao-anil.svg") 0 0 / 48px 48px repeat;
}
.hero-captura picture {
  --chanfro: 14px;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--surf);
  clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro));
}
.hero-captura img { width: 100%; height: 100%; object-fit: cover; }

/* faixa com o padrão (cunha a 45° + ponto, meia-queda) */
.faixa {
  height: 40px;
  background: var(--surf) var(--padrao) 0 0 / 48px 48px repeat;
}

/* ---------- seções ---------- */
.secao { padding: 64px 0 0; }
.caixa > .secao:last-child { padding-bottom: 64px; }

h2 {
  font-family: var(--titulo);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
}

.recursos {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.recurso {
  --chanfro: 10px;
  flex: 1 1 320px;
  min-width: 0;
  background: var(--surf);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  clip-path: polygon(var(--chanfro) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chanfro));
}
.recurso-num {
  align-self: flex-start;
  background: var(--amarelo);
  color: var(--tinta);
  font-family: var(--titulo);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  padding: 7px 10px 5px;
}
.recurso h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.recurso p { font-size: 16px; line-height: 1.55; color: var(--ink2); }

.secao-dupla {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.requisitos {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lista-ponto {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  line-height: 1.5;
}
.lista-ponto li {
  position: relative;
  padding-left: 22px;
}
.lista-ponto li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amarelo);
  box-shadow: 0 0 0 2px var(--ink);
}

.aviso {
  flex: 1 1 380px;
  min-width: 0;
  border: 2px solid var(--ink);
  border-top: 8px solid var(--amarelo);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aviso h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.aviso p { font-size: 16px; line-height: 1.6; color: var(--ink2); }
.aviso strong { color: var(--ink); }

.novidades {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.nota {
  flex: 1 1 340px;
  min-width: 0;
  border-top: 4px solid var(--amarelo);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nota h3 { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nota ul { padding-left: 20px; }
.nota ul, .nota p { font-size: 16px; line-height: 1.6; color: var(--ink2); }
.nota-proxima { border-top-color: var(--line); }
.nota-proxima h3 { color: var(--ink2); }

/* ---------- rodapé ---------- */
.rodape {
  background: var(--foot);
  color: var(--on-foot);
  --foco: var(--amarelo);
}
.rodape-grade {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.marca-rodape { --s: 32px; color: var(--on-foot); }
.marca-rodape:hover { color: var(--on-foot); }
.rodape-creditos { display: flex; flex-direction: column; gap: 6px; }
.rodape p { font-size: 14px; }
.rodape a:not(.marca) { color: var(--amarelo); }
.rodape a:not(.marca):hover { color: #FFE08A; }

/* ---------- página 404 ---------- */
.pagina-erro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.erro {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.erro img { width: 128px; height: 128px; }
.erro p { font-size: 19px; line-height: 1.6; color: var(--ink2); max-width: 540px; }

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* modo de cores forçadas (alto contraste do Windows): botões e faixas continuam visíveis */
@media (forced-colors: active) {
  .botao { border: 2px solid ButtonText; clip-path: none; }
  .faixa { display: none; }
}
