/* ═══════════════════════════════════════════
   CORE / HOME.CSS
   Estilos específicos da homepage (pt-br/index.html)
   ═══════════════════════════════════════════ */

/* ── SEÇÕES GENÉRICAS ── */
section {
  padding: 80px 2rem;
}

.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #0a3055 100%);
  display: flex;
  align-items: center;
  padding: 100px 2rem 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(47, 141, 228, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--water);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(248, 250, 252, 0.72);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--card);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-bar .stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* ── SERVIÇOS ── */
.services-bg {
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 29, 46, 0.1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--navy);
}

.service-card p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── POR QUE NÓS ── */
.why-bg {
  background: var(--navy);
}

.why-bg .section-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
}

.why-bg .section-title {
  color: var(--white);
}

.why-bg .section-sub {
  color: rgba(248, 250, 252, 0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-dot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(47, 141, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.why-item p {
  color: rgba(248, 250, 252, 0.55);
  font-size: .88rem;
  line-height: 1.6;
}

/* ── AVALIAÇÕES ── */
.reviews-bg {
  background: #f1f5f9;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--light);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(15, 29, 46, 0.08);
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: .8rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--water));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.review-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}

.review-date {
  font-size: .78rem;
  color: var(--gray);
  margin-top: .1rem;
}

.google-badge-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 50px;
  padding: .65rem 1.4rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow .2s;
}

.google-badge:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.google-badge-text {
  font-size: .88rem;
  color: var(--gray);
}

.google-badge-text strong {
  color: var(--navy);
}

/* ── CONTATO ── */
.contact-bg {
  background: linear-gradient(135deg, var(--navy) 0%, #0a3055 100%);
}

.contact-bg .section-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
}

.contact-bg .section-title {
  color: var(--white);
}

.contact-bg .section-sub {
  color: rgba(248, 250, 252, 0.65);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: background .2s;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(47, 141, 228, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: .2rem;
}

.contact-value {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}

.contact-value-muted {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  font-size: .92rem;
}

.cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
}

.cta-box h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.6);
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.cta-note {
  font-size: .8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1rem;
}

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-visual {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  section {
    padding: 60px 1.25rem;
  }

  .hero {
    padding: 90px 1.25rem 50px;
  }

  .stats-bar .stats-inner {
    grid-template-columns: 1fr 1fr;
  }
}
