/* componentes: botão, rótulos, chip, selos, estrelas */

/* ---- botão (laranja com texto escuro; branco sobre laranja é reprovado) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px;
  background: var(--laranja); color: var(--tinta);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border-radius: var(--r-btn);
  /* sombra laranja suave sob o botão; cresce no hover */
  box-shadow: 0 12px 20px -14px rgba(249, 94, 1, 0.75);
  position: relative; isolation: isolate; overflow: hidden;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, translate 0.2s ease, box-shadow 0.25s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.25s var(--curva); }
/* brilho que atravessa o FUNDO do botão a cada ~5,6 s (fica atrás do texto: z-index -1 dentro do próprio botão) */
.btn::after {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0; width: 44%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0));
  transform: translateX(-140%) skewX(-14deg);
  animation: btn-brilho 5.6s ease-in-out infinite;
}
@keyframes btn-brilho {
  0%, 74% { transform: translateX(-140%) skewX(-14deg); }
  92%, 100% { transform: translateX(360%) skewX(-14deg); }
}
.btn:hover { background: var(--laranja-claro); translate: 0 -2px; box-shadow: 0 18px 26px -14px rgba(249, 94, 1, 0.85); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { translate: 0 0; }
/* secundário: contorno escuro, sem brilho nem sombra */
.btn--contorno { background: transparent; color: var(--tinta); border: 1.5px solid var(--tinta); box-shadow: none; }
.btn--contorno::after { content: none; }
.btn--contorno:hover { background: var(--grafite); color: var(--claro); border-color: var(--grafite); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 0.9375rem; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { min-height: 60px; padding: 16px 28px; font-size: 1.0625rem; }
.btn--bloco { display: flex; width: 100%; }

/* ---- rótulo de seção: pequeno quadrado com chanfro (único eco do chanfro da marca) ---- */
.rotulo {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px;
  font-size: 0.75rem; font-weight: 700; color: var(--laranja-texto);
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3;
}
.rotulo::before, .chip::before, .selo-linha__marca {
  content: ""; flex: none; width: 9px; height: 9px; background: var(--laranja);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 55% 100%, 0 100%);
}
.rotulo--escuro { color: var(--laranja); }

/* linha acima do título da hero: texto simples, sem caixa, alinhado à esquerda do h1 */
.selo-linha {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px;
  font-size: var(--t-peq); font-weight: 500; line-height: 1.4;
}
.selo-linha__marca { align-self: center; margin-right: 4px; }
.selo-linha b { color: var(--laranja-texto); }

/* ---- chip flutuante: vidro escuro com texto branco ----
   Sem suporte a backdrop-filter o chip fica grafite sólido. Com suporte, o fundo é translúcido e
   desfoca o que está atrás. A opacidade do vidro (--vidro) é ajustada por lugar; o contraste do texto
   foi medido no pior fundo de cada chip: ver docs/decisoes.md (Ajustes 3). */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 12px; background: #2B2B29; color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r-chip);
  font-size: var(--t-peq); font-weight: 700; line-height: 1.2; white-space: nowrap;
}
@supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  .chip {
    background: rgba(20, 20, 20, var(--vidro, 0.55));
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
}

/* ---- estrelas ---- */
.estrelas { display: flex; gap: 2px; color: var(--laranja); }
.estrelas svg { width: 14px; height: 14px; }

/* ---- selo Google compacto (sobre a foto do hero) ---- */
.gselo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 13px; background: var(--branco);
  border-radius: 16px; box-shadow: var(--sombra-chip);
}
.gselo__g { width: 24px; height: 24px; flex: none; }
.gselo__nota { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.gselo__txt { display: grid; gap: 3px; font-size: 0.75rem; font-weight: 500; color: var(--tinta-2); line-height: 1.2; white-space: nowrap; }

/* ---- selo de número (laranja, um canto chanfrado) ---- */
.selo-num {
  display: grid; gap: 2px; padding: 16px 22px 16px 18px;
  background: var(--laranja); color: var(--tinta); border-radius: 18px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.selo-num__valor { font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.selo-num__rotulo { max-width: 15ch; font-size: var(--t-mini); font-weight: 700; line-height: 1.25; }

/* ---- link com seta ---- */
.link-seta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.9375rem; color: var(--laranja-texto);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.link-seta:hover { text-decoration-color: currentColor; }
.link-seta svg { width: 16px; height: 16px; }

/* ---- lista de checks ---- */
.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.9375rem; line-height: 1.45; }
.checks svg { width: 20px; height: 20px; margin-top: 1px; color: var(--laranja); }

/* ---- cabeçalho de seção ---- */
.sec-cab { margin-bottom: clamp(28px, 4vw, 48px); }
@media (max-width: 767px) {
  /* no celular nenhum botão quebra em duas linhas: o corpo e a margem interna acompanham a largura da tela (até 320 px) */
  .btn { padding-inline: clamp(10px, 3.6vw, 16px); font-size: clamp(0.875rem, 4vw, 0.9375rem); gap: clamp(6px, 2vw, 8px); white-space: nowrap; }
  .btn--lg { min-height: 56px; font-size: clamp(0.875rem, 4.1vw, 1rem); }
  .link-seta { white-space: nowrap; }
}
