/* =============================================
   PRÓ PLANEJADOS TI — Home Page Styles
   ============================================= */

@import 'base.css';

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 60px 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #0D0D0D 0%, #161208 100%);
  z-index: 0;
}

.hero-mosaic {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 60% 40%;
  gap: 4px;
  z-index: 0;
}

.hero-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.7);
}

.hero-mosaic img:first-child { grid-row: 1 / 3; }

.hero-mosaic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--dark) 8%, rgba(13,13,13,0.25) 55%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content .badge { margin-bottom: 28px; }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.5vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 22px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  font-weight: 300;
  margin-bottom: 44px;
}

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

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── BENEFITS ── */
.benefits {
  padding: var(--section-pad);
  background: var(--dark-2);
}

.benefits-inner { max-width: 1200px; margin: 0 auto; }
.benefits-header { max-width: 520px; margin-bottom: 64px; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  border: 1px solid rgba(212,160,23,0.07);
}

.benefit-card {
  background: var(--dark-3);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: background var(--trans);
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease);
}

.benefit-card:hover { background: var(--dark-4); }
.benefit-card:hover::after { transform: scaleX(1); }

.benefit-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: rgba(212,160,23,0.08);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.benefit-icon { font-size: 2rem; display: block; margin-bottom: 16px; }
.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.benefit-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; }

/* ── GALLERY STRIP ── */
.gallery-strip {
  padding: var(--section-pad);
  background: var(--dark);
}

.gallery-strip-inner { max-width: 1200px; margin: 0 auto; }
.gallery-header { max-width: 520px; margin-bottom: 52px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 230px;
  gap: 6px;
}

.g-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.85);
  transition: filter 0.4s, transform 0.5s var(--ease);
}
.g-item:hover img {
  filter: brightness(0.95) saturate(1.05);
  transform: scale(1.04);
}
.g-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  pointer-events: none;
}
.g-item .g-label {
  position: absolute;
  bottom: 18px; left: 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.g-item:hover .g-label { opacity: 1; transform: translateY(0); }
.g-item.featured { grid-column: 1 / 3; }

/* ── TESTIMONIALS ── */
.testimonials {
  padding: var(--section-pad);
  background: var(--dark-2);
}

.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { max-width: 520px; margin-bottom: 60px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.t-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: border-color var(--trans), transform var(--trans);
}
.t-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.t-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.7;
  margin-bottom: 18px;
  opacity: 0.4;
}
.t-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.t-text {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; color: var(--dark);
  flex-shrink: 0;
}
.t-name { font-weight: 700; font-size: 0.93rem; color: var(--white); }
.t-city { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner {
  padding: var(--section-pad);
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner .badge { margin-bottom: 28px; }
.cta-inner .section-title { margin-bottom: 16px; }
.cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--text-muted);
}
.trust-item span { font-size: 1.1rem; }

/* ── RESPONSIVE HOME ── */
@media (max-width: 1100px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding: 110px 24px 72px; }
  .hero-mosaic { display: none; }
  .hero-content { max-width: 100%; }
  .hero-stats { gap: 28px; }

  .benefits { padding: var(--section-pad-sm); }
  .benefits-grid { grid-template-columns: 1fr 1fr; }

  .gallery-strip { padding: var(--section-pad-sm); }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .g-item.featured { grid-column: 1 / 3; }

  .testimonials { padding: var(--section-pad-sm); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-banner { padding: var(--section-pad-sm); }
  .trust-row { gap: 18px; }
}

@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 220px);
  }
  .g-item.featured { grid-column: auto; }
}
