/* O site da AltEnter. Manual da marca v0.5: pedra, cartões brancos, preto; terracota só no
   que espera por uma decisão (aqui, o botão de marcar conversa). Manrope 600 nos títulos,
   Source Sans 3 no texto. Cantos retos, sem sombras, sem gradientes. */

@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/fontes/Manrope-500.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fontes/Manrope-600.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(/fontes/Manrope-700.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(/fontes/SourceSans3-400.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(/fontes/SourceSans3-600.woff2) format("woff2"); }

:root {
  --bg: #EEEDEA; --surface: #FFFFFF; --surface-2: #F6F5F2; --line: #DDDBD6; --line-strong: #7F7D78;
  --text: #000000; --text-muted: #5F5E5A;
  --inverse: #000000; --on-inverse: #FFFFFF; --on-inverse-muted: #A3A3A3; --inverse-line: #2A2A2A;
  --accent: #C4511F; --accent-hover: #A9441A; --on-accent: #FFFFFF; --focus: #000000;
  --f-titulo: Manrope, "Helvetica Neue", Arial, sans-serif;
  --f-texto: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --lado: max(16px, env(safe-area-inset-left, 0px));
  --lado-d: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --surface: #121212; --surface-2: #1A1A1A; --line: #2A2A2A; --line-strong: #757575;
    --text: #FFFFFF; --text-muted: #A3A3A3;
    --inverse: #121212; --on-inverse: #FFFFFF; --on-inverse-muted: #A3A3A3; --inverse-line: #2A2A2A;
    --accent: #E36B37; --accent-hover: #F08050; --on-accent: #000000; --focus: #FFFFFF;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--f-texto); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pular { position: absolute; left: -9999px; top: 8px; }
.pular:focus { left: var(--lado); background: var(--surface); padding: 8px 12px; z-index: 10; }

.miolo { max-width: 1120px; margin: 0 auto; padding-left: var(--lado); padding-right: var(--lado-d); }
.rotulo { font: 500 12px/1.5 var(--f-titulo); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* Topo */
.topo { padding-block: 24px; }
.topo .miolo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topo .logo img { display: block; height: 22px; width: auto; }
.topo nav { display: flex; gap: 20px; flex-wrap: wrap; font: 600 15px/1.5 var(--f-titulo); }
.topo nav a { text-decoration: none; }
.topo nav a:hover { text-decoration: underline; }

/* Botões */
.bt { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px 12px 20px; border-radius: 2px;
  font: 600 16px/1.2 var(--f-titulo); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.bt-principal { background: var(--accent); color: var(--on-accent); }
.bt-principal:hover { background: var(--accent-hover); }
.bt-linha { border-color: var(--line-strong); color: var(--text); padding-right: 20px; }
.bt-linha:hover { background: var(--surface); }
/* A tecla Enter desenhada: contorno de 1 px e base de 3 px, nunca o caractere. */
.tecla { display: inline-grid; place-items: center; width: 30px; height: 26px; border: 1px solid currentColor; border-bottom-width: 3px; border-radius: 2px; }
.tecla svg { width: 15px; height: 15px; fill: currentColor; }

/* Abertura */
.abertura { padding-block: 72px 96px; }
.abertura .miolo { display: flex; flex-direction: column; gap: 28px; }
.abertura h1 { font-size: clamp(44px, 9vw, 96px); letter-spacing: -0.02em; max-width: 12ch; }
.abertura .lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--text-muted); max-width: 52ch; }
.abertura .bts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Faixas */
.faixa { padding-block: 88px; }
.faixa .miolo { display: flex; flex-direction: column; gap: 40px; }
.faixa h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.01em; max-width: 20ch; }
.faixa .intro { font-size: 19px; color: var(--text-muted); max-width: 60ch; }
.cabeca { display: flex; flex-direction: column; gap: 16px; }
.branca { background: var(--surface); }
.escura { background: var(--inverse); color: var(--on-inverse); }
.escura .rotulo, .escura .intro { color: var(--on-inverse-muted); }

/* O problema: duas colunas de texto */
.duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.duas p { max-width: 52ch; }
.duas strong { font-weight: 600; }

/* A ROTA: quatro etapas em sequência */
.rota { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--inverse-line); }
.rota li { padding: 24px 24px 8px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rota li + li { padding-left: 24px; border-left: 1px solid var(--inverse-line); }
.rota .n { font: 700 14px/1 var(--f-titulo); color: var(--on-inverse-muted); font-variant-numeric: tabular-nums; }
.rota h3 { font-size: 26px; }
.rota h3 b { font-weight: 700; }
.rota p { color: var(--on-inverse-muted); font-size: 16px; }
.nota-rota { border: 1px solid var(--inverse-line); padding: 20px 24px; font-size: 17px; max-width: 72ch; }

/* O que recebe */
.recebe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.recebe li { padding: 24px 32px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.recebe li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.recebe h3 { font-size: 22px; }
.recebe p { color: var(--text-muted); }
.preco { font-size: 18px; max-width: 64ch; }

/* Para quem e quem somos */
.pessoas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pessoa { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pessoa h3 { font-size: 24px; }
.pessoa .papel { font: 500 14px/1.5 var(--f-titulo); color: var(--text-muted); }
.pessoa p { color: var(--text-muted); }
.lista { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; max-width: 64ch; }

/* Chamada final */
.chamada .miolo { gap: 28px; }
.chamada h2 { max-width: 16ch; }

/* Páginas de texto (Publicar, privacidade, termos) */
.texto { padding-block: 56px 96px; }
.texto .miolo { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.texto h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.02em; }
.texto h2 { font-size: 26px; margin-top: 24px; }
.texto h3 { font-size: 19px; margin-top: 8px; }
.texto p, .texto li { max-width: 68ch; }
.texto ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.texto .lead { font-size: 20px; color: var(--text-muted); }
.texto table { border-collapse: collapse; width: 100%; font-size: 16px; }
.texto th { text-align: left; font: 500 12px/1.5 var(--f-titulo); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--line-strong); padding: 8px 12px 8px 0; }
.texto td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.rolar { overflow-x: auto; }
.rolar table { min-width: 560px; }
.falta { background: var(--surface-2); border: 1px dashed var(--line-strong); padding: 1px 6px; font-weight: 600; }

/* Rodapé */
.rodape { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.rodape .miolo { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.rodape img { height: 18px; width: auto; display: block; }
.rodape nav { display: flex; gap: 20px; flex-wrap: wrap; font: 500 14px/1.5 var(--f-titulo); }
.rodape small { color: var(--text-muted); font-size: 14px; }
.rodape .marca { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 860px) {
  .rota { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rota li:nth-child(3) { padding-left: 0; border-left: 0; }
  .rota li:nth-child(n+3) { border-top: 1px solid var(--inverse-line); }
}
@media (max-width: 640px) {
  .duas, .recebe, .pessoas, .rota { grid-template-columns: 1fr; }
  .recebe li:nth-child(even) { padding-left: 0; border-left: 0; }
  .rota li, .rota li + li { padding-left: 0; border-left: 0; }
  .rota li + li { border-top: 1px solid var(--inverse-line); }
  .abertura { padding-block: 40px 64px; }
  .faixa { padding-block: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bt { transition: background-color 160ms cubic-bezier(.16, 1, .3, 1); }
}
.pequeno { font-size: 14px; color: var(--text-muted); }
