/* ============================================================
   Páginas de Serviços — estilos compartilhados
   ============================================================ */

/* ---------- Hero de página interna ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background:
    radial-gradient(820px 360px at 90% -10%, rgba(100, 206, 249, 0.3), transparent 60%),
    radial-gradient(600px 300px at -5% 110%, rgba(62, 172, 239, 0.16), transparent 55%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
  overflow: hidden;
}

.page-hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.page-hero-content h1 {
  margin: 6px 0 18px;
  max-width: 620px;
}

.page-hero-sub {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 30px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--texto-fraco);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--azul-intenso);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--azul-escuro);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  color: var(--texto-fraco);
}

/* ---------- Ilustração do hero das páginas ---------- */
.page-hero-visual {
  position: relative;
  min-height: 360px;
}

.hero-illu {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.illu-core {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 30px 60px -20px rgba(27, 148, 246, 0.5);
  position: relative;
  animation: floatY 7s ease-in-out infinite;
}

.illu-core svg {
  width: 96px;
  height: 96px;
}

.illu-ring {
  position: absolute;
  inset: -34px;
  border: 1.5px dashed rgba(27, 148, 246, 0.35);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.illu-ring-2 {
  position: absolute;
  inset: -64px;
  border: 1.5px dashed rgba(100, 206, 249, 0.3);
  border-radius: 50%;
  animation: spin 40s linear infinite reverse;
}

@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.illu-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 14px;
  box-shadow: var(--sombra-suave);
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azul-intenso);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  animation: floatY 6s ease-in-out infinite;
}

.illu-chip svg {
  width: 16px;
  height: 16px;
}

.illu-chip-1 { top: 12%; left: 6%; animation-delay: 0.4s; }
.illu-chip-2 { top: 24%; right: 2%; animation-delay: 1.1s; }
.illu-chip-3 { bottom: 18%; left: 0; animation-delay: 0.8s; }
.illu-chip-4 { bottom: 6%; right: 10%; animation-delay: 1.6s; }

/* ---------- Seções de conteúdo ---------- */
.page-section {
  padding: 88px 0;
}

.page-section-alt {
  background: var(--fundo-suave);
}

.page-section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.page-section-head .eyebrow {
  justify-content: center;
}

.page-section-head h2 {
  margin-bottom: 16px;
}

.page-section-head p {
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-text h2 {
  margin-bottom: 18px;
}

.split-text p {
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.split-text .check-list {
  margin-top: 22px;
}

/* ---------- Passos do processo ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-suave);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 20px -10px rgba(27, 148, 246, 0.5);
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.step-card p {
  font-size: 0.93rem;
}

/* ---------- Lista de itens (checklist) ---------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--texto);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(27, 148, 246, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%231b94f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Grid de benefícios ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-suave);
}

.benefit-card .service-icon {
  margin-bottom: 16px;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.benefit-card p {
  font-size: 0.93rem;
}

/* ---------- Caixa de destaque / convite ---------- */
.inline-cta {
  margin-top: 40px;
  background: var(--grad-suave);
  border: 1px solid rgba(27, 148, 246, 0.18);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.inline-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.inline-cta p {
  font-size: 0.96rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item.open {
  border-color: rgba(27, 148, 246, 0.35);
  box-shadow: var(--sombra-suave);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 19px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--texto);
  cursor: pointer;
}

.faq-q .faq-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(27, 148, 246, 0.1);
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.35s var(--ease);
}

.faq-q .faq-ico svg {
  width: 14px;
  height: 14px;
  color: var(--azul-intenso);
}

.faq-item.open .faq-ico {
  background: var(--grad);
  transform: rotate(135deg);
}

.faq-item.open .faq-ico svg {
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a-inner {
  padding: 0 22px 20px;
  font-size: 0.96rem;
  color: var(--texto-suave);
}

.faq-a-inner p {
  margin-bottom: 10px;
}

/* ---------- CTA final das páginas ---------- */
.page-outro {
  text-align: center;
  padding: 20px 0 0;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .page-hero-visual {
    min-height: 330px;
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 36px);
  }

  .page-hero-actions .btn {
    width: 100%;
  }

  .steps,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .illu-core {
    width: 180px;
    height: 180px;
  }

  .illu-core svg {
    width: 76px;
    height: 76px;
  }

  .inline-cta {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .inline-cta .btn {
    width: 100%;
  }
}
