/* ============================================================
   Quint — pages.css
   Estilos exclusivos das páginas internas de marketing:
   /solucoes, landings de serviço, /contato, /obrigado, 404.
   Só tokens/classes de brand.css (nenhum hex novo — rgba() aqui
   são decomposições dos mesmos tokens: --q-blue-900 #154F96 =
   rgb(21,79,150); --q-blue-500 #2987F9 = rgb(41,135,249)).
   Este arquivo é exclusivo do agente E — não editar em outros
   contextos sem checar conflito de nomes de classe.
   ============================================================ */

/* ---------- Cabeçalho de seção — variante compacta (sub-seções) ---------- */
.q-section-head--tight .q-title-xl { font-size: clamp(24px, 3.4vw, 34px); }
.q-section-head-sub {
  max-width: 62ch;
  margin: 12px auto 0;
  color: var(--q-text-muted);
  font-size: 16px;
}
.q-band-dark .q-section-head-sub { color: var(--q-line); }
/* Contraste do pill sobre faixa escura (só se aplica às páginas que
   carregam pages.css — não afeta a home). */
.q-band-dark .q-eyebrow-pill {
  background: rgba(41,135,249,.18);
  color: var(--q-blue-200);
}

/* ============================================================
   /solucoes
   ============================================================ */
.q-solucoes-band { padding: 64px 0 88px; }
.q-solucoes-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 48px;
}
.q-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .q-tiles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .q-tiles-grid { grid-template-columns: 1fr; } }

.q-tile {
  background: var(--q-surface);
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  transition: border-color 150ms, box-shadow 150ms, transform 150ms;
}
.q-tile:hover { border-color: var(--q-border-strong); box-shadow: var(--q-shadow); transform: translateY(-2px); }
.q-tile-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.q-tile-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--q-accent-soft);
  color: var(--q-blue-900);
}
.q-tile-icon svg { width: 26px; height: 26px; }
.q-tile-title { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--q-text); }
.q-tile-divider { height: 1px; background: var(--q-border); margin-bottom: 16px; }
.q-tile-text { color: var(--q-text-muted); font-size: 15px; flex: 1; margin: 0 0 24px; }
.q-tile-actions { display: block; }
.q-tile-btn { width: 100%; }

/* ============================================================
   Landings de serviço
   ============================================================ */
/* Hero atrás do header sticky (64px), como na home: o header
   transparente em modo dark precisa de fundo escuro por baixo. */
.q-landing-hero { margin-top: -64px; padding: calc(72px + 64px) 0 64px; text-align: center; }
.q-landing-hero-inner { max-width: 720px; margin: 0 auto; }
.q-landing-hero .q-eyebrow-pill { margin-bottom: 20px; }
.q-landing-hero-intro {
  color: var(--q-line);
  font-size: 17px;
  max-width: 62ch;
  margin: 16px auto 0;
}

.q-landing-body { padding: 72px 0; }
.q-landing-body-faq { margin-top: 72px; }

.q-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .q-check-grid { grid-template-columns: 1fr; } }
.q-check-card {
  background: var(--q-surface);
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius);
  padding: 24px;
  transition: border-color 150ms, box-shadow 150ms;
}
.q-check-card:hover { border-color: var(--q-border-strong); box-shadow: var(--q-shadow); }
.q-check-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--q-success-soft);
  color: var(--q-success);
  margin-bottom: 16px;
}
.q-check-card-icon svg { width: 18px; height: 18px; }
.q-check-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--q-text); }
.q-check-card p { color: var(--q-text-muted); font-size: 14px; margin: 0; }

.q-note-panel {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--q-surface);
  border: 1px solid rgba(41,135,249,.28);
  border-radius: var(--q-radius);
  padding: 22px 26px;
}
.q-note-panel p { margin: 0; color: var(--q-text); font-size: 14px; max-width: 56ch; }

/* FAQ — painel branco, borda sutil (accordion Alpine mantido) */
.q-faq-panel {
  max-width: 780px;
  background: var(--q-surface);
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius);
  padding: 8px 24px;
}
.q-faq-panel .q-faq-item:last-child { border-bottom: none; }

.q-landing-cta-band { padding: 64px 0; text-align: center; }
.q-landing-cta-band .q-title-xl { margin-bottom: 12px; }
.q-landing-cta-band p { color: var(--q-line); max-width: 56ch; margin: 0 auto 28px; }

/* ============================================================
   /contato
   ============================================================ */
.q-contact-band { margin-top: -64px; padding: calc(72px + 64px) 0 88px; }
.q-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) { .q-contact-grid { grid-template-columns: 1fr; } }

.q-contact-panel {
  background: var(--q-ink-950);
  border: 1px solid rgba(41,135,249,.35);
  border-radius: var(--q-radius);
  box-shadow: 0 0 60px rgba(21,79,150,.35);
  padding: 40px;
  position: relative;
}
.q-contact-panel .q-eyebrow-pill { margin-bottom: 16px; }
.q-contact-panel .q-title-xl { font-size: clamp(26px, 3.6vw, 36px); color: var(--q-white); margin-bottom: 12px; }
.q-contact-panel-sub { color: var(--q-line); font-size: 15px; max-width: 52ch; margin-bottom: 32px; }

.q-contact-form .q-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .q-contact-form .q-field-row { grid-template-columns: 1fr; } }
.q-label-dark { display: block; font: 500 13px/20px var(--q-font); margin-bottom: 8px; color: var(--q-line); }
.q-input-dark, .q-textarea-dark, .q-select-dark {
  width: 100%;
  background: var(--q-ink-900);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--q-white);
  border-radius: var(--q-radius-ctl);
  padding: 0.75rem 0.9rem;
  font: 400 14px/1.4 var(--q-font);
  transition: border-color 150ms, box-shadow 150ms;
}
.q-input-dark::placeholder, .q-textarea-dark::placeholder { color: var(--q-mute-400); }
.q-input-dark:focus, .q-textarea-dark:focus, .q-select-dark:focus {
  outline: none; border-color: var(--q-accent); box-shadow: var(--q-focus);
}
.q-input-dark.is-invalid, .q-textarea-dark.is-invalid { border-color: var(--q-danger); }
.q-textarea-dark { min-height: 110px; resize: vertical; }
.q-contact-submit { width: 100%; margin-top: 8px; }

.q-contact-side { display: flex; flex-direction: column; gap: 24px; }
.q-contact-cards-link { display: block; margin-bottom: 24px; transition: transform 150ms, filter 150ms; }
.q-contact-cards-link img { width: 100%; height: auto; display: block; }
.q-contact-cards-link:hover { transform: translateY(-3px); filter: brightness(1.06); }
.q-contact-rack-strip {
  position: relative;
  display: flex; gap: 12px;
  padding: 8px;
  border-radius: var(--q-radius);
  overflow: hidden;
  background: var(--q-ink-950);
  border: 1px solid var(--q-ink-800);
}
.q-contact-rack-strip img {
  flex: 1;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 200ms;
}
.q-contact-rack-strip img:nth-child(1) { transform: rotate(-2deg) scale(1.02); }
.q-contact-rack-strip img:nth-child(3) { transform: rotate(2deg) scale(1.02); }
.q-contact-rack-chip {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(12,13,15,.82);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--q-white);
  border-radius: 999px;
  padding: 8px 16px;
  font: 500 13px/1 var(--q-font);
  backdrop-filter: blur(4px);
}
.q-contact-rack-chip svg { width: 16px; height: 16px; color: var(--q-blue-200); }

.q-contact-slider-card {
  display: block;
  background: var(--q-ink-950);
  border: 1px solid var(--q-ink-800);
  border-radius: var(--q-radius);
  padding: 24px;
  text-decoration: none;
  transition: border-color 150ms, transform 150ms;
}
.q-contact-slider-card:hover { border-color: var(--q-accent); transform: translateY(-2px); }
.q-slider-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.q-slider-row:last-of-type { margin-bottom: 20px; }
.q-slider-row span:first-child { color: var(--q-line); font-size: 13px; }
.q-slider-track { position: relative; height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); }
.q-slider-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--q-blue-900), var(--q-blue-500)); }
.q-slider-fill::after {
  content: ''; position: absolute; right: -6px; top: 50%; translate: 0 -50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--q-white); border: 3px solid var(--q-blue-500);
}
.q-contact-slider-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--q-blue-200); font: 600 14px/1 var(--q-font);
}
.q-contact-slider-card:hover .q-contact-slider-cta { color: var(--q-white); }

.q-contact-channels-panel {
  background: var(--q-ink-950);
  border: 1px solid var(--q-ink-800);
  border-radius: var(--q-radius);
  padding: 28px;
}
.q-contact-channels-panel h2 { font-size: 16px; margin-bottom: 20px; color: var(--q-white); }
.q-contact-channels { display: grid; gap: 16px; }
.q-contact-channel { display: flex; align-items: flex-start; gap: 14px; }
.q-contact-channel-icon {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(41,135,249,.14); color: var(--q-blue-200);
  display: flex; align-items: center; justify-content: center;
}
.q-contact-channel-icon svg { width: 20px; height: 20px; }
.q-contact-channel h4 { margin: 0 0 2px; font-size: 15px; color: var(--q-white); }
.q-contact-channel p { margin: 0; color: var(--q-mute-400); font-size: 14px; }
.q-contact-channel a { color: var(--q-line); font-weight: 500; }
.q-contact-channel a:hover { color: var(--q-blue-200); }
.q-contact-channel button { color: var(--q-line); }
.q-contact-channel button:hover { color: var(--q-blue-200); }

/* ============================================================
   /obrigado
   ============================================================ */
.q-thanks-band { padding: 80px 0 96px; }
.q-thanks {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: var(--q-surface);
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius);
  padding: 56px 48px;
  box-shadow: var(--q-shadow);
}
.q-thanks .q-eyebrow-pill { margin-bottom: 20px; }
.q-thanks-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--q-success-soft); color: var(--q-success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.q-thanks-icon svg { width: 30px; height: 30px; }
.q-thanks .q-title-xl { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 12px; }
.q-thanks p.q-thanks-sub { color: var(--q-text-muted); font-size: 16px; margin-bottom: 32px; }
.q-thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.q-thanks-next {
  margin-top: 40px;
  text-align: left;
  background: var(--q-bg-subtle);
  border-radius: var(--q-radius-ctl);
  padding: 24px 28px;
}
.q-thanks-next h2 { font-size: 15px; margin-bottom: 12px; color: var(--q-text); }
.q-thanks-next ul { margin: 0; padding-left: 20px; color: var(--q-text-muted); font-size: 14px; }
.q-thanks-next li { margin-bottom: 6px; }

/* ============================================================
   404
   ============================================================ */
.q-404-band { padding: 88px 0 104px; }
.q-404 {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.q-404 .q-eyebrow-pill { margin-bottom: 24px; }
.q-404-code {
  font: 700 96px/1 var(--q-font);
  color: transparent;
  -webkit-text-stroke: 2px var(--q-accent);
  margin-bottom: 12px;
}
.q-404 .q-title-xl { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.q-404 p.q-404-sub { color: var(--q-text-muted); margin-bottom: 32px; }
.q-404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
