/* =========================================================================
   Kings Tech — estilos

   Paleta tirada da logo: grafite, dourado e o azul do "Tech".
   O tom alterna entre faixas escuras e claras, no ritmo da apple.com.
   ========================================================================= */

:root {
  --gold: #E0AE3C;
  --gold-deep: #C9922A;
  --blue: #2E7BC4;
  --blue-light: #0071E3;
  --green-wa: #25D366;

  --max: 1160px;
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  -webkit-font-smoothing: antialiased;
  background: #141414;
  color: #f5f5f7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* -------------------------------------------------------------------------
   Faixas

   Cada faixa carrega suas próprias cores. As de classe band--alt são claras,
   criando o contraste que separa as seções sem precisar de linha divisória.
   ------------------------------------------------------------------------- */

.band {
  --bg: #141414;
  --fg: #f5f5f7;
  --muted: #a1a1a6;
  --card: #1F1F1F;
  --bd: #262626;
  --link: var(--blue);
  background: var(--bg);
  color: var(--fg);
}

.band--alt {
  --bg: #F5F5F7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --card: #ffffff;
  --bd: transparent;
  --link: var(--blue-light);
}

/* Escura um tom acima: separa duas faixas escuras vizinhas sem quebrar o ritmo. */
.band--surface {
  --bg: #1F1F1F;
  --card: #141414;
  --bd: #2b2b2b;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { padding: clamp(56px, 8vw, 104px) 0; }

/* -------------------------------------------------------------------------
   Tipografia
   ------------------------------------------------------------------------- */

h1 {
  font-size: clamp(34px, 6.4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(27px, 4.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.lead {
  font-size: clamp(16px, 2.1vw, 21px);
  line-height: 1.45;
  color: var(--muted);
}

.eyebrow { font-size: 12px; font-weight: 600; color: var(--gold); }
.center { text-align: center; }

.sec-head { max-width: 620px; margin: 0 auto clamp(32px, 5vw, 52px); }
.sec-head p { margin-top: 11px; font-size: 16px; color: var(--muted); line-height: 1.5; }

/* -------------------------------------------------------------------------
   Botões e links
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.btn--wa { background: var(--gold-deep); color: #141414; }
.btn--wa:hover { background: var(--gold); transform: translateY(-1px); }

.link {
  color: var(--link);
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  min-height: 24px;
}
.link:hover { text-decoration: underline; }

.wa-ico { width: 17px; height: 17px; flex-shrink: 0; }

/* -------------------------------------------------------------------------
   Cabeçalho
   ------------------------------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #232323;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f7;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: #a1a1a6;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #f5f5f7; }

.nav-wa {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  width: 19px;
  height: 1.5px;
  background: #f5f5f7;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.burger.is-ativo span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-ativo span:nth-child(2) { opacity: 0; }
.burger.is-ativo span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   Primeira dobra
   ------------------------------------------------------------------------- */

/* Sem foto na primeira dobra, o respiro embaixo é o que segura a composição:
   o texto termina e a faixa de números entra logo abaixo. */
.hero {
  text-align: center;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero h1 { margin: 13px auto 17px; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { max-width: 52ch; margin: 0 auto 28px; }

.hero-cta {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Usado quando houver foto na primeira dobra (o bloco está comentado no HTML). */
.hero-img {
  margin-top: clamp(38px, 6vw, 64px);
  aspect-ratio: 16 / 7;
  border-radius: 20px;
  background: radial-gradient(circle at 45% 30%, #232323, #151515 72%);
  border: 1px solid #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d3d3d;
  font-size: 13px;
  overflow: hidden;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------------------
   Números
   ------------------------------------------------------------------------- */

.stats {
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  padding: clamp(26px, 4vw, 38px) 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-n {
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.stat-l { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }

/* -------------------------------------------------------------------------
   Cartões
   ------------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; align-items: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }

.card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform 0.25s;
}
.card:hover { transform: translateY(-3px); }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 6px; }
.card .link { margin-top: 14px; font-size: 13.5px; }

.card-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(224, 174, 60, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-ico svg { width: 19px; height: 19px; }

/* O cartão em destaque inverte o fundo da faixa — quebra o padrão da grade. */
.card--hi {
  position: relative;
  background: #141414;
  color: #f5f5f7;
  border-color: #4a3a16;
}
.card--hi p { color: #a1a1a6; }
.card--hi .card-ico { background: #3a2d12; }
.card--hi .link { color: var(--gold); }

.tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: #141414;
  padding: 4px 9px;
  border-radius: 980px;
}

.more-line {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   Passos
   ------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: passo; }
.step { counter-increment: passo; }
.step::before {
  content: counter(passo);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 7px; }

/* -------------------------------------------------------------------------
   Avaliações
   ------------------------------------------------------------------------- */

.quote {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 26px 24px;
}
.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 13px; }
.quote p { font-size: 14.5px; line-height: 1.6; color: var(--fg); }
.quote footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.quote footer b { color: var(--fg); font-weight: 600; font-size: 13.5px; }
.quote footer .guide {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1px solid rgba(224, 174, 60, 0.4);
  border-radius: 980px;
  padding: 2px 8px;
}

.reviews-cta { margin-top: 26px; text-align: center; }

/* -------------------------------------------------------------------------
   Perguntas frequentes

   Usa <details>/<summary> nativos: abre e fecha sem JavaScript, é acessível
   por teclado e o conteúdo fica no HTML, onde os buscadores leem.
   ------------------------------------------------------------------------- */

.faq { max-width: 780px; margin: 0 auto; }

.faq details {
  border-bottom: 1px solid var(--bd);
}
.faq details:first-of-type { border-top: 1px solid var(--bd); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 2px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  position: relative;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--gold);
  border-bottom: 1.8px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }

.faq summary:hover { color: var(--gold); }

.faq details p {
  padding: 0 44px 22px 2px;
  margin-top: -4px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.faq details p strong { color: var(--fg); font-weight: 600; }

/* -------------------------------------------------------------------------
   Bloco-ponte entre as páginas
   ------------------------------------------------------------------------- */

.ponte {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 34px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
}
.ponte h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 12px; }
.ponte p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ponte .btn { margin-top: 22px; }
.ponte-selos { display: grid; gap: 11px; }
.ponte-selo {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg);
}
.ponte-selo svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* -------------------------------------------------------------------------
   Marcas
   ------------------------------------------------------------------------- */

.brands { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--bd);
  border-radius: 980px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  background: var(--card);
}

/* -------------------------------------------------------------------------
   Localização
   ------------------------------------------------------------------------- */

.local { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 38px; align-items: center; }
.local dl { margin-bottom: 24px; }
.local dt {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 20px;
}
.local dd { font-size: 15.5px; line-height: 1.55; margin-top: 6px; color: var(--fg); }
.local dd span { color: var(--muted); font-size: 14px; }

.map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--bd);
  aspect-ratio: 4 / 3;
  background: var(--card);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.35); }

/* Aviso do sábado fechado. Ganha destaque na semana em que ele acontece. */
.aviso {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(224, 174, 60, 0.1);
  border: 1px solid rgba(224, 174, 60, 0.32);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg);
}
.aviso svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.aviso.is-proximo {
  background: rgba(224, 174, 60, 0.18);
  border-color: var(--gold);
}
.aviso.is-proximo::after {
  content: 'é este sábado';
  margin-left: auto;
  align-self: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gold);
  color: #141414;
  padding: 4px 9px;
  border-radius: 980px;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Rodapé
   ------------------------------------------------------------------------- */

footer.site {
  background: #141414;
  color: #f5f5f7;
  border-top: 1px solid #232323;
  padding: 52px 0 34px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.foot-grid h4 {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e6e73;
  font-weight: 600;
  margin-bottom: 13px;
}
.foot-grid a,
.foot-grid p {
  font-size: 14px;
  color: #a1a1a6;
  text-decoration: none;
  line-height: 1.85;
  display: block;
}
.foot-grid a:hover { color: #f5f5f7; }

.foot-note {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #232323;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #6e6e73;
}

/* -------------------------------------------------------------------------
   Botão flutuante
   ------------------------------------------------------------------------- */

.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--green-wa);
  color: #fff;
  padding: 14px 20px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
  transition: transform 0.2s;
}
.fab:hover { transform: scale(1.04); }
.fab svg { width: 21px; height: 21px; }

/* -------------------------------------------------------------------------
   Entrada ao rolar
   ------------------------------------------------------------------------- */

.rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
   Telas menores
   ------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .local { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .ponte { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 767px) {
  .burger { display: flex; }
  .nav-wa span { display: none; }

  .nav-links {
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #232323;
    padding: 6px 22px 14px;
    display: none;
  }
  .nav-links.is-aberto { display: flex; }
  .nav-links a {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #1f1f1f;
  }
  .nav-links a:last-child { border-bottom: 0; }

  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }

  .hero-cta { flex-direction: column; gap: 15px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-img { aspect-ratio: 4 / 3; }

  .foot-grid { grid-template-columns: 1fr; gap: 26px; }

  .fab span { display: none; }
  .fab { padding: 15px; right: 16px; bottom: 16px; }

  .aviso.is-proximo::after { display: none; }
}
