/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

/* NAVBAR */
.navbar {
  background-color: #d9dee4;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 60px;
}

/* MENU DESKTOP */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  position: relative;
}

.menu a {
  color: rgb(21, 97, 68);
  text-decoration: none;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  transition: background 0.3s, transform 0.2s;
}

.menu a:hover {
  background-color: #0066cc;
  border-radius: 5px;
  transform: scale(1.05);
}

.menu a i {
  margin-right: 8px;
}

/* SUBMENU (desktop) */
.submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0066cc;
  list-style: none;
  border-radius: 5px;
  min-width: 200px;
}

.submenu li a {
  padding: 10px;
  color: white;
  display: block;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* BOTÃO DE ABRIR SUBMENU NO MOBILE */
.dropdown-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  margin-left: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dropdown-toggle.rotated {
  transform: rotate(180deg);
}

/* === RESPONSIVIDADE E ANIMAÇÕES === */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    background-color: #004080;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease-in-out;
  }

  .menu.active {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
  }

  .menu li {
    text-align: center;
    position: relative;
  }

  .menu a {
    justify-content: center;
    padding: 15px;
  }

  /* Submenu fechado por padrão */
  .submenu {
    position: static;
    background-color: #0055aa;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
  }

  /* Submenu aberto */
  .submenu.open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
  }

  /* Mostrar botão ▼ no mobile */
  .dropdown-toggle {
    display: inline;
  }

  .menu-toggle {
    display: block;
  }
}


  /* ===== CARDS CONVÊNIO ===== */
.cards-container {
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
/* Removed duplicate .cards-container definition */
}

.cards-container .card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  /* 🔑 Remover altura fixa */
  height: auto;       
  min-height: 100%;   
  /* 🔑 Permitir que o conteúdo apareça */
  overflow: visible;  
}

.cards-container .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cards-container .card h3 {
  color: #1a0663;
  margin-bottom: 12px;
  font-size: 1.4rem;
  
}

.cards-container .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00a859;
  margin-bottom: 12px;
}

.cards-container ul {
  list-style: none;
  padding-left: 0;
}

.cards-container ul li {
  margin: 8px 0;
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cards-container ul li::before {
  content: "✔";
  color: #00a859;
  position: absolute;
  left: 0;
  font-weight: bold;
}


/* ===== HERO ===== */
.hero-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #29a849, #1a0663);
  color: #fff;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #00a859, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite, fadeInDown 1s ease-in-out;
  position: relative;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 500;
  background: linear-gradient(90deg, #ffffff, #00a859, #ffffff);
  background-size: 200% auto;
  
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite, fadeInUp 1.2s ease-in-out;
}

/* ===== BOTÃO BENEFÍCIO (GENÉRICO) ===== */
.hero-section .botao-beneficio {
  background: linear-gradient(90deg, #00a859, #1a0663);
  background-size: 200% auto;
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: shine 5s linear infinite;
  display: inline-block;
}
.hero-section .botao-beneficio:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }


#carousel-imagens {
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    margin: auto;
    overflow: hidden;
    position: relative;
}

#carousel-imagens img {
    width: 100%;
    height: auto; /* Use height auto para manter proporção */
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
    #carousel-imagens {
        max-width: 100%;
        aspect-ratio: auto; /* Remove o aspecto fixo se necessário */
    }

    #carousel-imagens img {
        width: 100%;
        height: auto; /* Altura automática para manter proporção */
    }
}

 .navigation label {
            width: 10px;
            height: 10px;
            margin: 0 5px;
            border-radius: 50%;
            background: #f7f3f3;
            cursor: pointer;
        }
/* ===== SEÇÃO DE SERVIÇOS ===== */
.text-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.text-section h2 {
  font-size: 2rem;
  margin-bottom: 35px;
  color: #007134;
  font-weight: 700;
}

/* Grid responsivo */
.card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 2px solid #004d2b;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Imagem */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ocupa todo o espaço do card */
  border-radius: 8px; /* opcional: arredonda os cantos */
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* Conteúdo */
.card-content {
  padding: 18px 16px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-content h3 {
  font-size: 1.15rem;
  color: #007134;
  font-weight: 600;
  line-height: 1.3;
}

/* Responsividade */
@media (max-width: 768px) {
  .text-section h2 { font-size: 1.6rem; }
  .card img { height: 160px; }
}

  /* ===== PLANOS DE CONVÊNIO ===== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.cards-container .card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cards-container .card::before {
  content: "";
  position: absolute;
  top: -40%; left: -40%;
  width: 180%; height: 180%;
  background: linear-gradient(135deg, rgba(0,168,89,0.08), rgba(26,6,99,0.08));
  transform: rotate(15deg);
  z-index: 0;
}

.cards-container .card h3,
.cards-container .card .price,
.cards-container .card ul { position: relative; z-index: 1; }

.cards-container .card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }

.cards-container .card h3 {
  color: #1a0663; margin-bottom: 12px; font-size: 1.4rem; font-weight: 600;
}
.cards-container .price {
  font-size: 1.2rem; font-weight: bold; color: #00a859; margin-bottom: 12px;
}
.cards-container ul { list-style: none; }
.cards-container ul li {
  margin: 10px 0; padding-left: 26px; position: relative; font-size: 0.95rem; line-height: 1.4;
}
.cards-container ul li::before {
  content: "✔"; color: #00a859; position: absolute; left: 0; font-weight: bold;
}


/* Responsivo */
@media (max-width: 768px) {
  .card-section .card img { height: 170px; }
}



 .info-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.info-section h2 {
  font-size: 2.5em;
  color: #00796b;
  margin-bottom: 20px;
}

.info-section p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}

.info-section .images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.info-section img {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.info-section img:hover {
  transform: scale(1.05);
}

.slogan {
  font-size: 1.4em;
  font-weight: bold;
  margin: 30px 0;
  color: #a9b9b7;
}

.whatsapp-contact {
  margin-top: 20px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1.1em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.whatsapp-button i {
  margin-right: 10px;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}
/* Rodapé principal */
/* ===== FOOTER ===== */
.footer {
  background: #084b31;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  text-align: left;
}

.footer-content > div {
  flex: 1 1 240px;   /* cresce, mas tem base mínima */
  min-width: 0;      /* 🔑 permite o conteúdo quebrar em flexbox */
}

.footer-logo { max-width: 170px; }

.footer-content ul { list-style: none; padding: 0; margin: 0; }
.footer-content li { margin-bottom: 10px; }

.footer a, .footer .email, .footer .text-wrap {
  color: #f1faee;
  text-decoration: none;
  overflow-wrap: anywhere;  /* 🔑 quebra e-mail/URLs longos */
  word-break: break-word;
}

.footer a:hover { color: #a8dadc; text-decoration: underline; }

.footer-copy {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 14px;
  text-align: center;
  font-size: .86rem;
}

/* responsivo */
@media (max-width: 768px) {
  .footer-content { text-align: center; }
}




.acesso-sistema-section {
  background-color: #fdfdfd;
  padding: 60px 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.acesso-sistema-section h2 {
  color: #006837;
  font-size: 28px;
  margin-bottom: 20px;
}

.acesso-sistema-section h3 {
  color: #004d2b;
  margin-top: 30px;
  margin-bottom: 10px;
}

.acesso-lista,
.importante-lista {
  text-align: left;
  max-width: 800px;
  margin: 0 auto 20px;
  padding-left: 20px;
}

.acesso-lista li,
.importante-lista li {
  margin-bottom: 12px;
}

.botao-beneficio {
  display: inline-block;
  background-color: #006837;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px 0;
  transition: background-color 0.3s ease;
}

.botao-beneficio:hover {
  background-color: #004d2b;
}

.botao-beneficio i {
  margin-right: 8px;
}
.card-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 300px;
    height: 350px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}



.titulo {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease-in-out;
}
.titulo h1 {
    font-size: 2.2rem;
    color: #006837;
    margin-bottom: 10px;
}
.titulo .linha {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #006837, #009688);
    margin: 0 auto;
    border-radius: 2px;
}

/* Animação */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CARDS ===== */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
/* Benefícios com ícones */
.beneficios-lista {
  margin-top: 16px;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.beneficio {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1em;
  color: #333;
}
.beneficio i {
  color: #006837;
  margin-right: 8px;
  font-size: 1.2em;
}

/* Responsividade para cards de benefícios */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    gap: 18px;
  }
.beneficio {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.beneficio i {
    color: #006837;
    margin-right: 8px;
}
}



/* Responsivo */


.parceiros-destaque {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
}

.parceiros-destaque h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

/* Container visível */
.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.parceiros-destaque {
    text-align: center;
    padding: 40px 20px;
    background: #f0fdf6;
}

.parceiros-destaque h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #14773a;
}

/* Contêiner do carrossel */
.carousel-container {
    overflow: hidden;
    
    white-space: nowrap;
    width: 100%;
   
    margin: 20px auto;
    position: relative;
    
}

/* Faixa de imagens */
.carousel-slide {
    display: flex;
    gap: 40px;
    animation: scroll-left 30s linear infinite;
}

/* Linha reversa (segunda linha) */
.carousel-container.reverse .carousel-slide {
    animation: scroll-right 35s linear infinite;
}

/* Imagens */
.carousel-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: transform 0.3s, filter 0.3s;
}

    .carousel-slide {
        display: flex;
        gap: 40px;
        animation: scroll-left 30s linear infinite;
    flex-wrap: nowrap; /* Ensure no wrapping */
    /* Removed misplaced nested selector inside .carousel-image:hover */
      flex-wrap: nowrap; /* Ensure no wrapping */
    }

    @media (max-width: 768px) {
      .carousel-slide {
        animation: scroll-left 20s linear infinite; /* Adjust speed for mobile */
      }
    }

/* Animações */
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); } /* Corrigido para mover completamente para a esquerda */
}


@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Responsividade */
@media (max-width: 768px) {
    .carousel-image {
        height: 60px;
    }
    .carousel-slide {
        gap: 20px;
    }
}

/* Seção Acesso ao Sistema */

.acesso-sistema-section {
  background: #f9fafc;
  padding: 60px 20px;
  text-align: center;
}

.acesso-sistema-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1d3557;
  font-weight: 600;
}

.acesso-sistema-section .intro {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #333;
}

/* Botão */
.botao-beneficio {
  display: inline-block;
  background: #1d3557;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  margin: 20px 0 40px;
  transition: all 0.3s ease;
}
.botao-beneficio i {
  margin-right: 8px;
}
.botao-beneficio:hover {
  background: #457b9d;
  transform: scale(1.05);
}


/* Listas */
.acesso-lista, .importante-lista {
  list-style: none;
  padding: 0;
}
.acesso-lista li, .importante-lista li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}
.acesso-lista i {
  color: #457b9d;
  font-size: 1.2rem;
}

.importante-lista li {
  border-left: 4px solid #e63946;
  padding-left: 10px;
  font-weight: 500;
}

/* Dúvidas */
.duvidas {
  margin-top: 30px;
  font-size: 1.1rem;
  color: #333;
}
.duvidas .unicamed {
  color: #1d3557;
  font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
  .acesso-sistema-section h2 {
    font-size: 1.6rem;
  }
  .card {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .acesso-sistema-section h2 {
    font-size: 1.4rem;
  }
  .botao-beneficio {
    width: 100%;
    font-size: 0.95rem;
  }
}


/* ===== BOTÃO BENEFÍCIO ===== */
.botao-beneficio {
  background: linear-gradient(90deg, #00a859, #1a0663);
  background-size: 200% auto;
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: shine 5s linear infinite;
  display: inline-block;
}

.botao-beneficio:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ===== RESPONSIVIDADE ===== */
/* Isolado da estrutura global */
.duas-imagens-secao {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.duas-imagens-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px; /* controla largura máxima */
  width: 100%;
  justify-content: center;
}

.duas-imagens-container img {
  flex: 1 1 100%; /* mobile ocupa 100% */
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .duas-imagens-container img {
    flex: 1 1 45%; /* desktop lado a lado */
  }
}

.duas-imagens-container img:hover {
  transform: scale(1.05);
}
.evento-card img,
.evento-card video {
  width: 100%;
  height: auto;         /* altura automática */
  max-height: 350px;    /* limita para não estourar o card */
  object-fit: contain;  /* mostra tudo sem cortar */
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
  background: #000;     /* fundo preto para vídeos menores */
}