/* Calango Design — site
   Cores, fontes e formas seguem o design system da marca (ver README). */

@font-face { font-family: "Archivo Black"; src: url("../fonts/ArchivoBlack-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --amarelo: #ffc700; --on-amarelo: #141414; --amarelo-suave: #ffe48a; --tinta: #141414;
  --surface: #fffbf0; --surface-alt: #fff4d6; --ink: #141414; --ink-muted: #5e5646;
  --line: #141414; --line-soft: #e3d6b4; --brasa: #ff5b1f; --on-brasa: #141414;
  --carimbo: 4px 4px 0 0 #141414; --carimbo-lg: 8px 8px 0 0 #141414;
  --focus-ring: 0 0 0 3px #fffbf0, 0 0 0 6px #141414;
  --borda-grossa: 3px; --borda-fina: 1.5px;
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  --largura: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 26px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tinta); color: var(--amarelo); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.pular:focus { top: 16px; }

.wrap { max-width: var(--largura); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.secao { padding-top: 96px; padding-bottom: 96px; }
.padrao { background-color: var(--amarelo); color: var(--on-amarelo); background-image: url("../img/padrao-tinta.svg"); background-size: 192px 192px; }
.bg-surface { background: var(--surface); }
.bg-alt { background: var(--surface-alt); }
.borda-y { border-top: var(--borda-grossa) solid var(--tinta); border-bottom: var(--borda-grossa) solid var(--tinta); }
.borda-t { border-top: var(--borda-grossa) solid var(--tinta); }

/* Tipografia */
.label { margin: 0; font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--ink-muted); }
.display-xl { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6.4vw, 88px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.display-lg { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1; text-transform: uppercase; }
.display-md { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.lead { margin: 0; font-size: 20px; line-height: 30px; }
.caption { margin: 0; font-size: 14px; line-height: 20px; }
.marca { background: var(--tinta); color: var(--amarelo); padding: 0 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cabeca { display: flex; flex-direction: column; gap: 12px; }
.rastro { width: 160px; height: 12px; display: block; background: currentColor; clip-path: polygon(0 0, 6% 0, 100% 100%, 0 100%); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: 16px; line-height: 20px; padding: 14px 24px; border: var(--borda-grossa) solid var(--line); border-radius: 0; box-shadow: var(--carimbo); cursor: pointer; text-decoration: none; text-align: center; transition: transform 80ms ease, box-shadow 80ms ease, background-color 80ms ease; }
.btn:hover { transform: translate(-4px, -4px); box-shadow: var(--carimbo-lg); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn:focus-visible { box-shadow: var(--focus-ring); }
.btn--primario { background: var(--amarelo); color: var(--on-amarelo); }
.btn--tinta { background: var(--tinta); color: var(--amarelo); border-color: var(--tinta); }
.btn--secundario { background: transparent; color: inherit; box-shadow: none; border-color: currentColor; }
.btn--secundario:hover { background: var(--amarelo-suave); color: var(--ink); transform: none; box-shadow: none; }
.btn--secundario:active { transform: none; }
.btn--lg { font-size: 18px; line-height: 24px; padding: 18px 32px; }
.btn--total { display: flex; width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.topo__whatsapp { white-space: nowrap; }
.btn svg.icone-whatsapp { width: 22px; height: 22px; }
.topo__whatsapp svg.icone-whatsapp { display: block; width: 24px; height: 24px; }

/* Selos */
.selo { display: inline-block; font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border: var(--borda-grossa) solid var(--line); white-space: nowrap; }
.selo--tinta { background: var(--tinta); color: var(--amarelo); }
.selo--amarelo { background: var(--amarelo); color: var(--on-amarelo); }
.selo--brasa { background: var(--brasa); color: var(--on-brasa); }
.selo--inclinado { transform: rotate(-3deg); }

/* Cabeçalho */
.topo { position: sticky; top: 0; z-index: 50; background: var(--amarelo); color: var(--on-amarelo); border-bottom: var(--borda-grossa) solid var(--tinta); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 14px; padding-bottom: 14px; }
.topo__logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero .display-xl { line-height: 1.18; }
.hero__texto { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__texto .lead { max-width: 520px; }
.acoes { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__visual { flex: 1 1 400px; min-width: 0; position: relative; height: 500px; max-width: 480px; margin: 0 auto; }
.hero__post { position: absolute; border: var(--borda-grossa) solid var(--tinta); box-shadow: var(--carimbo-lg); background: var(--tinta); overflow: hidden; }
.hero__post img { width: 100%; height: 100%; object-fit: cover; }
.hero__post--a { left: 0; top: 8px; width: 270px; aspect-ratio: 4 / 5; transform: rotate(-4deg); }
.hero__post--b { right: 0; top: 140px; width: 250px; aspect-ratio: 4 / 5; transform: rotate(3deg); }
.hero__visual .selo { position: absolute; left: 150px; bottom: 6px; z-index: 2; }

/* Faixa */
.faixa { background: var(--tinta); color: var(--amarelo); }
.faixa .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; font-family: var(--font-display); font-size: 20px; text-transform: uppercase; }
.losango { width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); flex: none; }

/* Como funciona */
.passos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 48px; }
.passo { border: var(--borda-grossa) solid var(--line); box-shadow: var(--carimbo-lg); background: var(--surface); padding: 32px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.passo__num { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 48px; line-height: 1; }
.passo__num img { height: 40px; width: auto; }
.passo p { margin: 0; }

/* Promo */
.promo-aviso { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--brasa); color: var(--on-brasa); border: var(--borda-grossa) solid var(--tinta); box-shadow: var(--carimbo); padding: 16px 20px; margin-top: 40px; }
.promo-aviso strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.promo-aviso span { font-size: 16px; line-height: 22px; }

/* Pacotes */
.pacotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 32px; align-items: stretch; justify-items: center; margin-top: 56px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; padding: 36px 24px 24px; background: var(--surface); color: var(--ink); border: var(--borda-grossa) solid var(--line); box-shadow: var(--carimbo-lg); }
.card--destaque { background: var(--amarelo); color: var(--on-amarelo); }
.card__selo { position: absolute; top: -18px; left: 24px; }
.card__nome { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.card__descricao { margin: 0; }
.card__preco { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 8px; }
.card__antigo { flex-basis: 100%; font-size: 15px; line-height: 20px; color: var(--ink-muted); }
.card__antigo s { text-decoration-thickness: 2px; }
.card__valor { font-family: var(--font-display); font-size: 48px; line-height: 1; }
.card__periodo { color: var(--ink-muted); }
.card__depois { flex-basis: 100%; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.card--destaque .card__antigo, .card--destaque .card__periodo, .card--destaque .card__depois { color: var(--on-amarelo); }
.card__itens { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.card__itens li { position: relative; padding-left: 22px; }
.card__itens li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.card__acoes { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.card__nota { margin: 0; font-size: 13px; line-height: 18px; text-align: center; }
.teste { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border: var(--borda-grossa) solid var(--line); background: var(--surface); padding: 24px; margin-top: 56px; }
.teste > div { flex: 1 1 420px; min-width: 0; }
.teste p { margin: 0; }
.teste .titulo { margin: 0 0 4px; font-family: var(--font-display); font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.letra-miuda { margin: 24px 0 0; }

/* Estado de promoção: o JS adiciona .promo-encerrada no <html> depois do prazo */
html:not(.promo-encerrada) .sem-promo { display: none !important; }
.promo-encerrada .so-promo { display: none !important; }

/* Datas */
.datas .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.datas__texto { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.datas__texto .lead { max-width: 520px; }
.datas__preco { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.datas__preco b { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; }
.datas__lista { flex: 1 1 380px; min-width: 0; background: var(--tinta); color: var(--amarelo); border: var(--borda-grossa) solid var(--tinta); box-shadow: var(--carimbo-lg); padding: 32px; }
.datas__lista ul { list-style: none; margin: 16px 0 0; padding: 0; }
.datas__lista li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: var(--borda-fina) solid #3a3428; font-size: 18px; }
.datas__lista li:last-child { border-bottom: 0; }
.datas__lista li span:first-child { font-weight: 700; color: #fffbf0; }

/* Extras */
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.extra { border: var(--borda-grossa) solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.extra b { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; }

/* Portfólio */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; margin-top: 40px; }
.pilha { display: flex; flex-direction: column; gap: 24px; }
.portfolio figure { margin: 0; break-inside: avoid; }
.portfolio button { display: block; width: 100%; padding: 0; border: var(--borda-grossa) solid var(--line); background: var(--tinta); cursor: zoom-in; transition: transform 80ms ease, box-shadow 80ms ease; }
.portfolio button:hover { transform: translate(-4px, -4px); box-shadow: var(--carimbo-lg); }
.portfolio img { width: 100%; height: auto; }
.portfolio figcaption { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Dúvidas */
.faq { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.faq details { border: var(--borda-grossa) solid var(--line); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 18px; line-height: 24px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .mais { font-family: var(--font-display); font-size: 28px; line-height: 1; transition: transform 120ms; flex: none; }
.faq details[open] .mais { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 20px 20px; }

/* Chamada final */
.final .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.final img { height: 120px; width: auto; }
.final .lead { max-width: 560px; }

/* Rodapé */
.rodape { background: var(--tinta); color: var(--amarelo); }
.rodape .wrap { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.rodape img { height: 48px; width: auto; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-weight: 700; font-size: 15px; }
.rodape__links a { text-decoration: none; }
.rodape__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rodape__base { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; line-height: 20px; color: #c9bfa8; border-top: var(--borda-fina) solid #3a3428; padding-top: 20px; }
.rodape__base a { color: #c9bfa8; }

/* Modal de aviso antes do pagamento */
.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: var(--borda-grossa) solid var(--tinta); box-shadow: 10px 10px 0 0 var(--tinta); background: var(--surface); color: var(--ink); overflow: auto; }
.modal::backdrop { background: rgba(20, 20, 20, .72); }
.modal[open] { animation: entra 160ms ease-out; }
@keyframes entra { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__barra { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--brasa); color: var(--on-brasa); border-bottom: var(--borda-grossa) solid var(--tinta); padding: 12px 16px 12px 20px; }
.modal__barra .label { display: flex; align-items: center; gap: 10px; }
.modal__barra svg { width: 22px; height: 22px; flex: none; }
.modal__fechar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--surface); border: var(--borda-grossa) solid var(--tinta); cursor: pointer; font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--ink); }
.modal__corpo { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.modal__corpo h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 5vw, 34px); line-height: 1; text-transform: uppercase; }
.modal__corpo p { margin: 0; }
.modal__resumo { border: var(--borda-grossa) solid var(--line); background: var(--surface-alt); padding: 12px 16px; font-weight: 700; }
.modal__lista { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.modal__lista li { position: relative; padding-left: 22px; }
.modal__lista li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 8px; height: 8px; background: var(--brasa); transform: rotate(45deg); }
.modal__acoes { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.modal__passo[hidden] { display: none; }
.modal--foto { width: fit-content; max-width: 92vw; background: var(--tinta); box-shadow: none; overflow: visible; }
.modal--foto img { display: block; max-height: 86vh; max-width: min(92vw, 720px); width: auto; height: auto; }
.modal--foto .modal__fechar { position: absolute; top: 8px; right: 8px; }
body.travado { overflow: hidden; }

/* Responsivo */
@media (max-width: 900px) {
  .topo .wrap { flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 20px; padding-bottom: 2px; }
  .topo .btn { padding: 10px 14px; font-size: 15px; }
  html { scroll-padding-top: 130px; }
}
@media (max-width: 640px) {
  .secao { padding-top: 64px; padding-bottom: 64px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero__visual { height: 380px; max-width: 340px; }
  .hero__post--a { width: 200px; }
  .hero__post--b { width: 185px; top: 110px; }
  .hero__visual .selo { left: 90px; }
  .topo__logo img { height: 36px; }
  .topo .wrap { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .nav { display: none; }
  .so-desk { display: none; }
  html { scroll-padding-top: 76px; }
  .acoes .btn { width: 100%; }
  .datas__lista { padding: 24px; }
  .portfolio { display: block; columns: 2; column-gap: 14px; }
  .pilha { display: contents; }
  .portfolio figure { margin-bottom: 14px; }
  .final img { height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .portfolio button, .faq .mais { transition: none; }
  .btn:hover, .btn:active, .portfolio button:hover { transform: none; }
  .modal[open] { animation: none; }
}

/* Página de texto (política) */
.texto { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.texto h1 { margin: 0 0 8px; }
.texto h2 { margin: 48px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.texto p, .texto li { margin: 0 0 12px; }
.texto ul { padding-left: 22px; margin: 0 0 12px; }
.texto .caixa { border: var(--borda-grossa) solid var(--line); background: var(--surface-alt); padding: 20px 24px; margin: 24px 0; }
.texto .caixa p:last-child { margin: 0; }

