/* =========================================================
   Componentes reutilizáveis: logo, ícones, botões, rótulos,
   cabeçalho de seção, cards, pills e listas
   ========================================================= */

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Logo oficial (assets/img). A altura manda; a largura acompanha
   a proporção original, sem distorcer.
   logo-koku.png           fundos claros (símbolo verde + nome preto)
   logo-koku-negativo.png  fundos escuros (tudo verde)
   koku-simbolo.png        só o símbolo */
.logo__img {
  display: block;
  width: auto;
  height: 28px;
}

@media (min-width: 1100px) {
  .logo__img {
    height: 32px;
  }
}

.logo__symbol {
  display: block;
  width: auto;
  height: 28px;
}

/* ---------- Ícones (sprite SVG no topo do index.html) ---------- */

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s,
    box-shadow 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn .icon {
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--lg {
  height: 52px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Fio de luz no topo + sombra curta tingida de verde: dá corpo ao botão sem pesar */
.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 105, 76, 0.24);
}

.btn--primary:hover {
  background: var(--primary-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--shadow-brand);
}

.btn--secondary {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-sm);
}

/* Neutro e discreto (botão "Entrar") */
.btn--neutral {
  background: var(--gray-100);
  color: var(--ink);
}

.btn--neutral:hover {
  background: var(--gray-200);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--gray-800);
  box-shadow: 0 8px 24px rgba(10, 10, 11, 0.25);
}

/* Chamada de destaque em fundo escuro: botão alto, com a seta
   em um círculo verde que desliza no hover */
.btn--cta {
  height: 58px;
  padding: 0 10px 0 26px;
  gap: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #232327 0%, var(--black) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 2px rgba(10, 10, 11, 0.2),
    0 14px 28px -14px rgba(10, 10, 11, 0.55);
  font-size: 1rem;
  color: var(--white);
}

.btn--cta:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(10, 10, 11, 0.2),
    0 20px 36px -14px rgba(0, 105, 76, 0.55);
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}

.btn--cta:hover .btn__arrow {
  background: var(--brand-300);
  transform: translateX(3px);
}

/* a seta já se move junto com o círculo */
.btn--cta:hover .icon {
  transform: none;
}

@media (max-width: 479px) {
  .btn--cta {
    justify-content: space-between;
  }
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}

.btn--outline-dark:hover {
  background: rgba(10, 10, 11, 0.08);
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Rótulo acima dos títulos ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}

/* Versão em verde suave, com mais presença */
.eyebrow--accent {
  padding: 7px 14px 7px 11px;
  border-color: var(--brand-200);
  background: linear-gradient(180deg, var(--white), var(--brand-50));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 105, 76, 0.08),
    0 8px 18px -10px rgba(0, 223, 162, 0.55);
  letter-spacing: 0.01em;
  color: var(--brand-800);
}

.eyebrow--accent::before {
  box-shadow: 0 0 0 3px rgba(0, 223, 162, 0.2);
}

.eyebrow--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--gray-300);
}

.eyebrow--dark::before {
  box-shadow: 0 0 0 3px rgba(0, 223, 162, 0.2);
}

/* ---------- Cabeçalho de seção ---------- */

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-head__title {
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head__text {
  margin-top: 16px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  color: var(--gray-600);
}

/* ---------- Pills de status ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill--ok {
  background: var(--brand-50);
  color: var(--success);
  box-shadow: inset 0 0 0 1px var(--brand-200);
}

.pill--ok::before {
  background: var(--brand-600);
}

.pill--pending {
  background: var(--amber-100);
  color: var(--amber-700);
}

.pill--neutral {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ---------- Destaque verde em palavra do título ---------- */

.mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.09em;
  height: 0.36em;
  border-radius: 0.09em;
  background: linear-gradient(90deg, var(--brand-300), var(--brand-500) 60%);
  transform-origin: left center;
  animation: mark-in 0.8s 0.5s var(--ease) both;
}

@keyframes mark-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
