/* ══════════════════════════════════════════════════════════════
   sections.css — seções gerais: títulos, como funciona, bento grid,
   comparativo, FAQ, CTA final e páginas simples
   ══════════════════════════════════════════════════════════════ */

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.15;
}

.section__subtitle {
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ─── Como funciona (3 Passos) ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.step:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.step__title {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.step__text {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.step__text strong {
  color: var(--text);
}

/* ─── Bento Grid de Recursos (Dribbble / Behance Top-Rated) ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.bento-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 30px -10px rgba(37, 99, 235, 0.15);
}

.bento-card--span-2 {
  grid-column: span 2;
}

.bento-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #93c5fd;
}

.bento-card__title {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.bento-card__desc {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Micro-visuais dentro dos cards Bento */
.bento-visual {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-visual__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bento-pill-preview {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bento-pill--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
}

.bento-pill--neon {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #34d399;
  box-shadow: 0 0 12px -2px rgba(16, 185, 129, 0.4);
}

.bento-pill--gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bento-pixels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-pixel-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #e4e4e7;
}

.bento-speed-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 600;
}

/* ─── Tabela de Comparativo (KlicTap vs Concorrentes) ─── */
.comparison {
  margin-top: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow-x: auto;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.comparison__table th,
.comparison__table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}

.comparison__table th {
  font-size: 15px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.02);
}

.comparison__col--highlight {
  background: rgba(37, 99, 235, 0.08);
  border-left: 1px solid rgba(37, 99, 235, 0.35);
  border-right: 1px solid rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  font-weight: 700;
}

.comparison__check {
  color: #10b981;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.comparison__cross {
  color: #71717a;
}

/* ─── FAQ ─── */
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq:hover {
  border-color: #3b3b47;
}

.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 650;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq p a {
  color: var(--brand);
  text-decoration: underline;
}

.faq+.faq {
  margin-top: 14px;
}

/* ─── CTA final ─── */
.cta {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta__title {
  font-size: clamp(30px, 4.8vw, 44px);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.cta__text {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.5;
}

/* ─── Páginas institucionais (termos/privacidade) ─── */
.simple-page {
  min-height: 75vh;
  padding: 64px 0 96px;
}

.simple-page__header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
}

.simple-page__title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-top: 12px;
  color: #fff;
}

.simple-page__meta {
  margin-top: 8px;
  font-size: 14px;
  color: #71717a;
}

.simple-page__section {
  margin-top: 36px;
}

.simple-page h2 {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: #f4f4f5;
  margin-bottom: 12px;
}

.simple-page h3 {
  font-size: 17px;
  font-weight: 700;
  color: #93c5fd;
  margin-top: 20px;
  margin-bottom: 8px;
}

.simple-page p {
  margin-top: 12px;
  color: #a1a1aa;
  font-size: 15.5px;
  line-height: 1.7;
}

.simple-page ul {
  margin-top: 12px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.simple-page li {
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1.65;
}

.simple-page strong {
  color: #f4f4f5;
}

.simple-page code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13.5px;
  color: #93c5fd;
}

.simple-page a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.simple-page a:hover {
  color: #93c5fd;
}

.simple-page__contact-box {
  margin-top: 28px !important;
  padding: 20px 24px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  color: #e2e8f0 !important;
}

/* ─── Página de Contato Segura ─── */
.contact-page {
  min-height: 70vh;
  padding: 64px 0 96px;
  display: flex;
  align-items: center;
}

.contact-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 24px 64px -10px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.contact-card__title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 14px;
}

.contact-card__subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.55;
}

.contact-hours {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: #e4e4e7;
}

.contact-hours__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
}

.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.btn--whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 750;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.btn--whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.contact-email {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.contact-email a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.contact-email a:hover {
  color: #93c5fd;
}

.contact-security-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #71717a;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}