/* Importar variáveis */
@import 'base/variables.css';

.service-page {
  padding-top: 80px;
}

/* Hero Section - Fundo Branco */
.hero {
  background: var(--branco);
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  color: var(--azul-principal);
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: scrollFloat 0.8s ease forwards;
}

.hero-subtitle {
  color: var(--texto);
  font-size: 18px;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(50px);
  animation: scrollFloat 0.8s ease 0.2s forwards;
}

/* Animação scroll float */
@keyframes scrollFloat {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Section - Fundo Azul */
.content {
  background: var(--azul-principal);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.content p {
  max-width: 1000px;
  margin: 0 auto 25px;
  font-size: 20px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: scrollFloat 0.6s ease forwards;
}

.content p:nth-child(1) { animation-delay: 0.1s; }
.content p:nth-child(2) { animation-delay: 0.2s; }
.content p:nth-child(3) { animation-delay: 0.3s; }
.content p:nth-child(4) { animation-delay: 0.4s; }

.content strong {
  font-weight: bold;
}

/* Info Section - Fundo Branco com Grid */
.info {
  background: var(--branco);
  padding: 80px 0;
}

.info-grid {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Stack de Fotos - Versão Simples */
.photo-stack {
  flex: 1;
}

.photo-stack section {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.photo-stack article {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s ease;
}

.photo-stack article.active {
  opacity: 1;
  z-index: 3;
}

.photo-stack article.previous {
  opacity: 0.7;
  z-index: 2;
  transform: translate(-20px, -10px);
}

.photo-stack article.next {
  opacity: 0.5;
  z-index: 1;
  transform: translate(20px, 10px);
}

.photo-stack img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transform: rotate(var(--a));
  transition: transform 0.3s ease;
}

/* Card Amarelo com hover */
.service-card {
  flex: 1;
  background: var(--amarelo-destaque);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.service-card h3 {
  color: #1B2A41;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

.card-info {
  display: grid;
  gap: 18px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row strong {
  color: #1B2A41;
  font-weight: bold;
  min-width: 160px;
  font-size: 16px;
}

.info-row span {
  color: #1B2A41;
  text-align: right;
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}

.map-btn {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-map {
  background: var(--azul-principal);
  color: white;
  padding: 18px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(17, 171, 224, 0.3);
}

.btn-map:hover {
  background: #0E8FC7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(17, 171, 224, 0.4);
}

.btn-back {
  display: inline-block;
  background: var(--azul-principal);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  margin: 40px 0;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: var(--amarelo-destaque);
  color: var(--texto);
  transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .info-grid {
    flex-direction: column;
    gap: 50px;
  }

  .photo-stack section {
    width: 320px;
    height: 320px;
  }

  .photo-stack img {
    width: 280px;
    height: 280px;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .info-row span {
    text-align: left;
  }
}

.awards {
  text-align: center; /* centraliza tudo */
  margin: 20px 0;
}

.awards h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #F3F3F3;
}

.award-badge {
  display: block; /* ocupa linha inteira */
  background: #FCC62D;  /* amarelo leve */
  color: #333;
  padding: 10px 18px;
  margin: 8px auto;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: 600px; /* largura máxima opcional */
}
