/* ================================================================
   HOME.CSS — Estilos exclusivos da página inicial
   ================================================================ */

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 0%, rgba(232,52,28,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 0% 100%, rgba(245,166,35,.1) 0%, transparent 50%),
              var(--bg);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: auto;
  padding: 100px 20px 80px;
  width: 100%;
  max-width: 600px;
  padding-left: 8vw;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,52,28,.12);
  border: 1px solid rgba(232,52,28,.3);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.hero__title span { color: var(--primary); }

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__cta {
  font-size: 16px;
  padding: 16px 28px;
}

.hero__wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-md);
  transition: all var(--ease);
  text-decoration: none;
}
.hero__wpp:hover { color: var(--green); border-color: var(--green); }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat strong {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
}
.hero__stat span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Visual decorativo */
.hero__visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero__pizza-art {
  width: clamp(280px, 38vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(232,52,28,.15),
    0 0 80px rgba(232,52,28,.12),
    0 40px 120px rgba(0,0,0,.5);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.hero__pizza-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-16px) rotate(2deg); }
  66%       { transform: translateY(-8px) rotate(-1.5deg); }
}

/* ===== DESTAQUES ===== */
.highlights { padding-bottom: 20px; }

/* ===== COMO FUNCIONA ===== */
.how-it-works {
  padding: 80px 20px;
  max-width: var(--max-w);
  margin: auto;
}

.how-it-works .section-header {
  padding: 0 0 48px;
  max-width: 100%;
}

.steps {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 20px;
}

.step__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.step:hover .step__icon {
  border-color: var(--primary);
  box-shadow: 0 0 24px var(--primary-glow);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step__line {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-md), var(--border-light));
  position: relative;
}
.step__line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--border-md);
}

/* ===== AVALIAÇÕES ===== */
.reviews-section { padding-bottom: 20px; }

.reviews-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 20px 32px;
  scrollbar-width: none;
  max-width: var(--max-w);
  margin: auto;
}
.reviews-scroll::-webkit-scrollbar { display: none; }

.review-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--ease);
}
.review-card:hover { border-color: var(--border-md); }

.review-stars { font-size: 14px; margin-bottom: 12px; }

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author { display: flex; align-items: center; gap: 12px; }

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.review-name { font-size: 14px; font-weight: 700; color: var(--white); }
.review-tag  { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(232,52,28,.12) 0%, rgba(245,166,35,.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 20px;
}

.cta-section__inner {
  max-width: var(--max-w);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-section__text h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
  margin-bottom: 6px;
}

.cta-section__text p { font-size: 16px; color: var(--text-muted); }

.cta-section__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__content { padding: 72px 20px 52px; max-width: 100%; padding-left: 20px; }
  .hero__visual { display: none; }
  .hero__stats { gap: 20px; }
  .steps { flex-direction: column; gap: 32px; align-items: center; }
  .step__line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--border-md), var(--border-light)); }
  .step__line::after { right: 50%; bottom: 0; top: auto; transform: translateX(50%); border: 5px solid transparent; border-top-color: var(--border-md); border-left-color: transparent; }
  .cta-section__inner { justify-content: center; text-align: center; }
  .cta-section__actions { justify-content: center; }
  .how-it-works { padding: 56px 20px; }
}

@media (max-width: 480px) {
  .hero__content { padding: 60px 16px 44px; }
  .hero__title { letter-spacing: -.8px; font-size: clamp(30px, 9vw, 44px); }
  .hero__sub { font-size: 15px; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 32px; }
  .hero__cta { width: 100%; justify-content: center; }
  .hero__wpp { width: 100%; justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 16px; padding-top: 24px; }
  .hero__stat strong { font-size: 20px; }
  .review-card { width: 260px; padding: 18px; }
  .cta-section { padding: 44px 16px; }
  .cta-section__text h2 { font-size: 24px; }
}
