/*
 * components.css — peças reutilizáveis: botões, ícone em losango, cabeçalho, lista, perguntas.
 * Depende de tokens.css e base.css.
 */

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
/* Botões de ação: verde brilhante, texto branco (pedido da Letícia, 11 nov 2026) */
.btn--wa, .btn--primary, .btn--light {
  background: linear-gradient(180deg, #2ee06f 0%, #14b44d 55%, #0e9a3f 100%);
  color: var(--white); text-shadow: 0 1px 2px rgba(0, 70, 25, .45);
  border-color: rgba(255, 255, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 24px -8px rgba(20, 200, 90, .75), 0 0 0 1px rgba(14, 154, 63, .4);
}
.btn--wa:hover, .btn--primary:hover, .btn--light:hover {
  background: linear-gradient(180deg, #43f083 0%, #1ccc5c 55%, #12ac49 100%); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 14px 30px -8px rgba(20, 220, 100, .9), 0 0 0 1px rgba(14, 154, 63, .4);
}
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .16); }
.btn--outline { border-color: var(--royal); color: var(--royal); background: var(--white); }
.btn--outline:hover { background: var(--sky-50); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Ícone em círculo (linguagem das artes de referência) ---------- */
.icon-badge {
  position: relative; flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--royal) 55%, var(--navy-700));
  box-shadow: 0 8px 18px -8px rgba(30, 105, 240, .7), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.icon-badge svg { display: block; width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge svg.icon-fill { fill: var(--white); stroke: none; }
.icon-badge--white { background: var(--white); box-shadow: 0 12px 26px -10px rgba(20, 81, 204, .4), 0 2px 6px rgba(20, 81, 204, .1), 0 0 0 1px rgba(30, 105, 240, .06); }
.icon-badge--white svg { stroke: var(--royal); }
.icon-badge--white svg.icon-fill { fill: var(--royal); }
.icon-badge--wa { background: var(--green); box-shadow: 0 12px 26px -10px rgba(20, 81, 204, .4), 0 2px 6px rgba(20, 81, 204, .1); }
.icon-badge--wa svg.icon-fill { fill: var(--ink); }
.icon-badge--sm { width: 44px; height: 44px; }
.icon-badge--sm svg { width: 22px; height: 22px; }
.icon-badge--lg { width: 68px; height: 68px; }
.icon-badge--lg svg { width: 30px; height: 30px; }

/* Marcador redondo para listas */
.list-dot li { position: relative; padding-left: 1.7rem; margin-bottom: .75rem; }
.list-dot li::before {
  content: ""; position: absolute; left: .1rem; top: .55em; width: .62rem; height: .62rem;
  background: var(--royal); border-radius: 50%;
}
.list-dot strong { color: var(--navy-text); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(20, 81, 204, .5);
}
.site-header__bar { display: flex; align-items: center; gap: var(--space-3); min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 1.6rem; }
.nav__list a { color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; padding: .5rem 0; border-bottom: 2px solid transparent; }
.nav__list a:hover { border-color: var(--royal); color: var(--royal); }
.site-header__cta { display: flex; align-items: center; gap: var(--space-2); }
.phone-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy-text); font-weight: 800; text-decoration: none; white-space: nowrap; }
.phone-link svg { width: 22px; height: 22px; color: var(--green-700); }
.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: var(--r-sm);
  background: var(--sky-50); color: var(--navy-text); cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; margin: auto; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 1060px) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute; inset: 72px 0 auto 0; margin: 0; padding: var(--space-3) var(--gutter) var(--space-4);
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-header__cta { display: none; }
  .nav .nav__extra { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
}
@media (min-width: 1061px) { .nav .nav__extra { display: none; } }

/* ---------- Perguntas frequentes ---------- */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); margin-bottom: var(--space-2); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--font-title); font-weight: 700; font-size: 1.02rem; color: var(--navy-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: .7rem; height: .7rem;
  border-right: 2.5px solid var(--royal); border-bottom: 2.5px solid var(--royal);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--t-fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item[open] { border-color: var(--royal); }
.faq-item__body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Estrelas ---------- */
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars svg { width: 20px; height: 20px; fill: currentColor; }

/* Ícones de preenchimento (WhatsApp, redes): herdam a cor do texto */
.icon-fill { fill: currentColor; stroke: none; }
