/* ============================================================
   HOME — hero e seções específicas da página inicial
   ============================================================ */

.hero {
  position: relative;
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: calc(var(--header-h) + 64px) 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-mesh-dark);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 30% 30%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-16);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    text-align: center;
  }
}

.hero-text h1 {
  color: #fff;
}

.hero-text h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.14rem;
  color: var(--dark-muted);
  max-width: 540px;
  margin-bottom: var(--sp-8);
}

@media (max-width: 960px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-cta-group {
    justify-content: center;
  }
}

.hero-support-text {
  margin-top: var(--sp-6);
  font-size: 0.88rem;
  color: var(--dark-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 960px) {
  .hero-support-text {
    justify-content: center;
  }
}

.hero-support-text::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 10px 2px rgba(23, 199, 154, 0.7);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-frame {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 3 / 3.7;
  border-radius: var(--r-xl);
  padding: 6px;
  background: var(--grad-brand);
  box-shadow: var(--glow-brand);
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: -30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--r-xl) + 24px);
  pointer-events: none;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-xl) - 4px);
  display: block;
}

.hero-credential-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: rgba(6, 24, 26, 0.85);
  border: 1px solid var(--dark-line);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 500px) {
  .hero-credential-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -18px;
  }
}

.hero-credential-badge .icon-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
}

.hero-credential-badge .icon-badge svg {
  width: 18px;
  height: 18px;
}

.hero-credential-badge strong {
  display: block;
  font-size: 0.86rem;
  color: #fff;
}

.hero-credential-badge span {
  font-size: 0.76rem;
  color: var(--dark-muted);
}

.hero-badge-top {
  position: absolute;
  right: -6px;
  top: 6px;
  background: var(--grad-gold);
  color: #3a2c0e;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 10px 16px;
  border-radius: var(--r-full);
  box-shadow: var(--glow-gold);
}

@media (max-width: 500px) {
  .hero-badge-top {
    right: 50%;
    transform: translateX(50%);
    top: -14px;
  }
}

/* ---------- Sobre ---------- */

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.about-media::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 199, 154, 0.35), transparent 70%);
  top: -50px;
  right: -50px;
  z-index: -1;
  filter: blur(10px);
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: var(--sp-6) 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}

.about-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--brand);
}

.credentials-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

/* ---------- Section CTA (faixa final) ---------- */

.cta-band {
  position: relative;
  background: var(--grad-brand-2);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-10);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-mesh-dark);
  z-index: -1;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-cta-group {
  justify-content: center;
  margin-top: var(--sp-6);
}

/* ---------- Blog filter pills (hub + home) ---------- */

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: var(--sp-10);
}

.filter-pill {
  padding: 9px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--grad-brand);
  color: #04211d;
  border-color: transparent;
}

.section-cta-center {
  text-align: center;
  margin-top: var(--sp-10);
}
