/* style-servicos.css - Estilos específicos para páginas de serviços */

/* ============================
   HERO DE SERVIÇO
============================ */
.hero-service {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0b3b42, #0e5962);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2;
}

.hero-service .hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 700px;
}

.hero-service h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
  color: #fff;
}

.hero-service p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================
   CONTEÚDO DO SERVIÇO
============================ */
.service-content {
  padding: 70px 0;
  background: var(--bg, #f4f7f8);
}

.service-content h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 30px;
  color: var(--dark, #023b48);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px;
  display: grid;
  gap: 16px;
}

.service-list li {
  padding-left: 36px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #345;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00c2c7;
  font-weight: bold;
  font-size: 20px;
}

/* ============================
   CARDS DE INFORMAÇÃO
============================ */
.service-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.info-box {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.info-box h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--dark, #023b48);
}

.info-box p {
  font-size: 0.95rem;
  color: #567;
  margin: 0;
  line-height: 1.5;
}

/* ============================
   RESPONSIVIDADE
============================ */
@media (max-width: 980px) {
  .hero-service {
    min-height: 50vh;
  }

  .hero-service h1 {
    font-size: 2rem;
  }

  .hero-service p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-content {
    padding: 50px 0;
  }

  .service-list li {
    font-size: 1rem;
    padding-left: 32px;
  }

  .service-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-box {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .hero-service {
    min-height: 45vh;
  }

  .hero-service h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .hero-service p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .service-content {
    padding: 40px 0;
  }

  .service-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .service-list {
    margin-bottom: 40px;
  }

  .service-list li {
    font-size: 0.95rem;
    padding-left: 28px;
  }

  .service-list li::before {
    font-size: 18px;
  }

  .info-box {
    padding: 20px;
  }

  .info-box h3 {
    font-size: 1.1rem;
  }

  .info-box p {
    font-size: 0.9rem;
  }
}
.service-accordion {
  margin-top: 32px;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.accordion-header {
  width: 100%;
  background: #f7f7f7;
  border: none;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header span {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header span {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 18px;
}

.accordion-item.active .accordion-content {
  padding: 16px 18px;
  max-height: 800px;
}

/* SOMENTE imagens dos programas do serviço */
.service-content .programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.service-content .programs-grid img {
  width: 100%;
  height: 60px;          /* tamanho visual fixo */
  object-fit: contain;  /* mantém proporção */
  object-position: center;
  background: #f9f9f9;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}
