/* =====================
   RESET / BASE
   ===================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* =====================
   HEADER
   ===================== */

.header {
  background: #0b3a66;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.menu a {
  color: #fff;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

/* =====================
   BANNER / SLIDER
   ===================== */

/* Estrutura do banner (sem cor fixa) */
.banner {
  color: #fff;
  overflow: hidden;
}

/* Slider */
.banner-slider {
  position: relative;
}

/* Cada slide */
.banner-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slider .slide.active {
  opacity: 1;
  position: relative;
}

/* Grid interno do banner */
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 420px;
}

/* Texto do banner */
.banner-text {
  padding: 60px 20px;
}

.banner-text h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.banner-sub {
  font-size: 22px;
  margin-bottom: 10px;
}

.banner-info {
  font-size: 14px;
  margin-bottom: 20px;
}

/* Imagens padrão */
.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================
   FUNDOS POR SLIDE
   ===================== */

/* Abril Verde - verde institucional */
.slide-cover {
  background: linear-gradient(135deg, #0b8f5b 60%, #0b8f5b);
}

/* Dia do Trabalhador - fundo harmônico */
.slide-contain {
  background: linear-gradient(
    135deg,
    #f3f1ed 0%,
    #ffffff 60%
  );
  color: #222;
}

/* Ajuste da imagem vertical */
.slide-contain .banner-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-contain .banner-image img {
  height: 100%;
  max-width: 30%;
  object-fit: contain;
}

/* =====================
   BOTÕES
   ===================== */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}

.btn.amarelo {
  background: #f2c400;
  color: #000;
}

.btn.verde {
  background: #2ecc71;
  color: #000;
}

/* =====================
   CARDS
   ===================== */

.cards {
  background: #fff;
}

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

.card {
  background: #0b3a66;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-weight: bold;
}

/* =====================
   ABOUT / SERVICES
   ===================== */

.about-services {
  padding: 40px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.services-list {
  list-style: none;
  padding: 0;
}

.services-list li {
  margin-bottom: 8px;
}

/* =====================
   PORTFÓLIO
   ===================== */

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

.portfolio-item {
  height: 140px;
  overflow: hidden;
  border-radius: 6px;
  background: #eee;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================
   SSO
   ===================== */

.sso-section {
  background: #eef6f1;
  text-align: center;
  padding: 40px 0;
}

/* =====================
   CONTATO
   ===================== */

.contact {
  padding: 40px 0;
}

/* =====================
   FOOTER
   ===================== */

.footer {
  background: #ddd;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}
/* GALERIA DO DIA DO TRABALHADOR */

.worker-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.worker-gallery img {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 100%;
  max-width: 35%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.worker-gallery img.active {
  opacity: 1;
}

