/* Cores dos títulos e subtítulos das especialidades */
.carrossel-cards-section h2 {
  color: #070f57;
}
.carrossel-cards-section h3 {
  color: #FFFF00;
}
/* Background full-width para especialidades.html */
.especialidades-bg {
  background: url('imagens/backg\ cursos.jpg') center center/cover no-repeat;
  position: relative;
  width: 100vw;
  min-height: 100vh;
  padding: 0;
}
.especialidades-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9,30,217,0.15);
  z-index: 0;
}
.especialidades-bg > * {
  position: relative;
  z-index: 1;
}
/* Background exclusivo para a área de FAQ da página faq.html */
.faq-bg {
  background: url('imagens/backg10.jpg') center center/cover no-repeat;
  position: relative;
  color: #fff;
  width: 100%;
  min-height: 100px;
  padding-bottom: 40px;
}
.faq-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 30, 217, 0);
  z-index: 0;
}
.faq-bg > * {
  position: relative;
  z-index: 1;
}

/* Background exclusivo para a área de FAQ do index.html */
#faq {
  background: url('imagens/backg10.jpg') center center/cover no-repeat;
  position: relative;
  color: #fff;
  width: 100%
  min-height: 100px;
  padding: 40px 20px;
}
#faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9,30,217,0.45);
  z-index: 0;
}
#faq > * {
  position: relative;
  z-index: 1;
}
/* Background para toda a área de FAQ */
/* FAQ background exclusivo para cursos.html */

/* Background para toda a área de cursos */
.cursos-bg {
  background: url('imagens/backg\ cursos.jpg') center center/cover no-repeat;
  position: relative;
  color: #fff;
  width: 100%;
  min-height: 100px;
  padding-bottom: 40px;
  padding-top: 60px;
}
.cursos-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 30, 217, 0);
  z-index: 0;
}
.cursos-bg > * {
  position: relative;
  z-index: 1;
}
/* Botão flutuante Ecofixo */
.ecofixo-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 100px;
  height: 100px;
  z-index: 100;
  background: #ffffff00;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ecofixo-float:hover {
  box-shadow: 0 4px 24px rgba(9,31,217,0.19);
  transform: scale(1.06);
}
.ecofixo-icon {
  width: 94%;
  height: 94%;
  object-fit: contain;
  display: block;
}
@media (max-width: 600px) {
  .ecofixo-float {
    width: 72px;
    height: 72px;
    left: 12px;
    bottom: 16px;
  }
  .ecofixo-icon {
    width: 94%;
    height: 94%;
  }
}
#carrossel-imagens p {
  margin: 18px auto;
  max-width: 1200px;
  line-height: 1.7;
  text-align: center;
  color: #091FD9;
  font-size: 1.08rem;
}
/* Botão Agende sua Aula de Mergulho */
.btn-agendar-aula {
  background: #FFFF00;
  color: #091FD9;
  border: none;
  padding: 18px 36px;
  font-size: 1.15rem;
  border-radius: 32px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 2px 12px rgba(0,121,107,0.10);
  transition: background 0.2s, transform 0.2s;
}
.btn-agendar-aula:hover, .btn-agendar-aula:focus {
  background: #ffff00;
  transform: translateY(-2px) scale(1.04);
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #222;
}
/* Cabeçalho padrão transparente (Index.html) */
header {
    background: transparent;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    transition: background 0.3s, box-shadow 0.3s;
}

/* Cabeçalho fixo e branco apenas na página cursos.html */
body.cursos-page header {
    background: #fff !important;
    color: #00796b !important;
    position: fixed;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 100;
    transition: none;
}
body.cursos-page nav a {
    color: #00796b !important;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav a {
    color: #ffff00;
    text-decoration: none;
    font-weight: bold;
}
#banner {
    background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}
.banner-content {
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 30px 40px;
    border-radius: 8px;
}
#sobre h2 {
    color: #ffff00;
}
#sobre {
    background: url('imagens/backg1.jfif') center center/cover no-repeat;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    color: #fff;
  }

  #sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #sobre > * {
    position: relative;
    z-index: 1;
}
#sobre p {
    margin: 18px auto;
    max-width: 1200px;
    line-height: 1.7;
}
#faq {
    background: 
    padding: 40px 20px;
    position: relative;
    color: #fff;
  }
  #faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #faq > * {
    position: relative;
    z-index: 1;
}
#faq h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
}
.faq-item {
    background: #e0f7fa;
    margin: 28px auto;
    padding: 28px 28px 0 28px;
    border-radius: 22px;
    max-width: 600px;
    box-shadow: 0 4px 18px rgba(0,121,107,0.08);
    transition: box-shadow 0.2s;
}
.faq-item:hover {
    box-shadow: 0 8px 32px rgba(0,121,107,0.13);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: #00796b;
    color: #fff;
    border: none;
    padding: 28px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 18px;
    outline: none;
    transition: background 0.2s;
    box-sizing: border-box;
    margin-bottom: 0;
    /* O tamanho do botão agora cobre toda a largura do box e tem padding igual ao box */
}
.faq-question:hover {
    background: #004d40;
}
.faq-answer {
    display: none;
    background: #fff;
    padding: 15px;
    border-radius: 0 0 4px 4px;
    border: 1px solid #00796b;
    border-top: none;
}
.faq-box-unica {
    background: #e0f7fa;
    margin: 32px auto;
    padding: 0;
    border-radius: 28px;
    max-width: 700px;
    box-shadow: 0 4px 24px rgba(0,121,107,0.10);
    overflow: hidden;
}
.faq-linha {
    border-bottom: 1px solid #b2dfdb;
    padding: 0;
}
.faq-linha:last-child {
    border-bottom: none;
}
.faq-pergunta {
    width: 100%;
    background: none;
    color: #091FD9;
    border: none;
    padding: 26px 32px;
    font-size: 1.08rem;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background 0.2s;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-pergunta:hover {
    background: #b2dfdb;
}
.faq-pergunta .faq-seta {
    font-size: 1.2em;
    margin-left: 12px;
    transition: transform 0.3s;
}
.faq-pergunta.ativa .faq-seta {
    transform: rotate(90deg);
}
.faq-resposta {
    display: none;
    background: #fff;
    color: #222;
    padding: 18px 32px 22px 32px; /* aumente o padding-top para dar margem superior */
    font-size: 1rem;
    border-radius: 0 0 18px 18px;
    animation: fadeFaq 0.3s;
    margin-top: 8px; /* pequena margem superior entre a pergunta e a resposta */
}
@keyframes fadeFaq {
    from { opacity: 0; }
    to { opacity: 1; }
}
#video {
    background: #000;
    color: #fff;
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 120px);
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
}
.video-wrapper video {
    width: 100%;
    height: calc(100vh - 120px);
    object-fit: cover;
    border-radius: 0;
    display: block;
}
/* Para garantir que o texto fique acima do vídeo */
.video-content h2,
.video-content p {
    position: relative;
    z-index: 2;
    color: #ffff00;
    text-shadow: 0 2px 8px #000;
}
.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}
footer {
    background: #263238;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 0px;
}
.dropdown {
    position: relative;
}
.dropbtn {
    cursor: pointer;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #091FD9;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 20;
    border-radius: 0 0 8px 8px;
    margin-top: 8px;
    padding-top: 18px; /* aumenta a área sensível acima do menu */
}
.dropdown-content li {
    display: block;
}
.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #00695c;
    transition: background 0.2s;
}
.dropdown-content a:hover {
    background-color: #091FD9;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/* Remova ou comente a linha abaixo para desktop:
.dropdown:focus-within .dropdown-content {
    display: block;
}
*/
/* Para mobile: mostrar ao clicar */
@media (max-width: 900px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
    }
}
.arrow-down {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    z-index: 3;
    animation: pulse-down 1.2s infinite;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    background: none;
    border-radius: 0;
}
.arrow-down::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #fff;
    margin-top: 2px;
    filter: drop-shadow(0 2px 8px #000);
}
@keyframes pulse-down {
    0% { transform: translateX(-50%) translateY(0);}
    50% { transform: translateX(-50%) translateY(8px);}
    100% { transform: translateX(-50%) translateY(0);}
}
#vantagens {
    background: url('imagens/backg2.jpg') center center/cover no-repeat;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    color: #ffff00;
  }
  #vantagens::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #vantagens > * {
    position: relative;
    z-index: 1;
}
#vantagens h2 {
    margin-bottom: 32px;
    color: #ffff00;
}
.vantagens-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.vantagem-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 28px 20px;
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 200px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vantagem-box h3 {
    color: #00796b;
    margin-bottom: 14px;
    font-size: 1.15rem;
}
.vantagem-box p {
    color: #333;
    font-size: 0.98rem;
}
.vantagem-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,121,107,0.13);
}
.vantagem-img {
    margin: 12px 0 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
}
.vantagem-img img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    display: block;
}
#banner-cursos {
    width: 100% !important;
    height: 420px;
    background: url('imagens/banner.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.banner-cursos-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-cursos {
    background: #fff;
    color: #00796b;
    border: none;
    border-radius: 30px;
    padding: 20px 48px;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-cursos:hover {
    background: #ffff00;
    color: #091FD9;
    transform: scale(1.05);
}
#nossa-escola {
    background: url('imagens/backg4.webp') center center/cover no-repeat;
    padding: 48px 20px 56px 20px;
    text-align: center;
    position: relative;
    color: #fff;
  }
  #nossa-escola::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #nossa-escola > * {
    position: relative;
    z-index: 1;
}
#nossa-escola h2 {
    color: #00796b;
    margin-bottom: 32px;
}
.nossa-escola-video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    position: relative;
}
.nossa-escola-video-wrapper iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
#porque-ecodivers {
    background: url('imagens/backg5.webp') center center/cover no-repeat;
    padding: 48px 20px 56px 20px;
    text-align: center;
    position: relative;
    color: #fff;
  }
  #porque-ecodivers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #porque-ecodivers > * {
    position: relative;
    z-index: 1;
}
#porque-ecodivers h1 {
    color: #ffff00;
    margin-bottom: px;
}
.porque-lista {
    list-style: disc inside;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    color: #fff;
    font-size: 1.05rem;
}
.porque-lista li {
    margin-bottom: 14px;
    line-height: 1.6;
}
#depoimentos {
    background: url('imagens/backg6.webp') center center/cover no-repeat;
    padding: 48px 20px 56px 20px;
    text-align: center;
    position: relative;
    color: #fff;
  }
  #depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #depoimentos > * {
    position: relative;
    z-index: 1;
}
#depoimentos h2 {
    color: #ffff00;
    margin-bottom: 32px;
}
.carrossel {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.carrossel-btn {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    padding: 0 18px;
    transition: color 0.2s;
    z-index: 2;
}
.carrossel-btn:hover {
    color: #fff;
}
.carrossel-depoimento {
    width: 100%;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
}
.depoimento {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 0.3s;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}
.depoimento.ativo {
    display: flex;
    opacity: 1;
    position: relative;
}
.depoimento p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 12px;
    font-style: italic;
}
.depoimento span {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}
#carrossel-imagens {
    background: url('imagens/backg9.jfif') center center/cover no-repeat;
    padding: 48px 20px 56px 20px;
    text-align: center;
    position: relative;
    color: #fff;
  }
  #carrossel-imagens::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #carrossel-imagens > * {
    position: relative;
    z-index: 1;
}
#carrossel-imagens h2 {
    color: #ffff00;
    margin-bottom: 32px;
}
.carrossel-img {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.carrossel-img-btn {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    padding: 0 18px;
    transition: color 0.2s;
    z-index: 2;
}
.carrossel-img-btn:hover {
    color: #fff;
}
.carrossel-img-wrapper {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carrossel-img-item {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.3s;
    opacity: 0;
}
.carrossel-img-item.ativo {
    display: block;
    opacity: 1;
    position: relative;
}
#redes-sociais {
    background: url('imagens/backg8.jpg') center center/cover no-repeat;
    padding: 40px 0 32px 0;
    text-align: center;
    position: relative;
    color: #fff;
  }
  #redes-sociais::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #redes-sociais > * {
    position: relative;
    z-index: 1;
}
#redes-sociais h2 {
    color: #ffff00;
    margin-bottom: 24px;
    font-size: 1.5rem;
}
.redes-sociais-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0;
    overflow: hidden;
}
.social-icon.facebook {
    background: #1877f3;
}
.social-icon.instagram {
    background: #E4405F;
}
.social-icon.youtube {
    background: #FF0000;
}
.social-icon svg {
    width: 56px;
    height: 56px;
    display: block;
    fill: #fff;
}
#instrutores {
    background: url('imagens/backg7.jpeg') center center/cover no-repeat;
    padding: 48px 20px 56px 20px;
    text-align: center;
    position: relative;
    color: #ffff00;
  }
  #instrutores::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  #instrutores > * {
    position: relative;
    z-index: 1;
}
#instrutores h2 {
    color: #fff;
    margin-bottom: 32px;
}
.carrossel-instrutores {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
.carrossel-instrutor-btn {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    padding: 0 18px;
    transition: color 0.2s;
    z-index: 2;
}
.carrossel-instrutor-btn:hover {
    color: #ffff00;
}
.carrossel-instrutores-wrapper {
    width: 100%;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.instrutor {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 0.3s;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    background: none;
}
.instrutor.ativo {
    display: flex;
    opacity: 1;
    position: relative;
}
.instrutor-foto {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0,121,107,0.13);
}
.instrutor h3 {
    margin: 0 0 10px 0;
    color: #ffff00;
    font-size: 1.2rem;
}
.instrutor ul {
    list-style: disc inside;
    color: #222;
    font-size: 1rem;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}
.instrutor ul li {
    margin-bottom: 6px;
}
.titulo-cursos {
    text-align: center;
    color: #ffff00;
    margin-top: 140px; /* aumenta o espaço para não ser encoberto pelo header fixo */
    margin-bottom: 0px;
    font-size: 2rem;
}

.cursos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 48px 20px 56px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: 
    position: relative;
    color: #fff;
  }
  .cursos-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 217, 0);
    z-index: 0;
  }
  .cursos-container > * {
    position: relative;
    z-index: 1;
}
.curso-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,121,107,0.10);
    width: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 28px 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.curso-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,121,107,0.13);
}
.curso-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}
.curso-nome {
    margin: 18px 0 8px 0;
    color: #00796b;
    font-size: 1.15rem;
    font-weight: bold;
    text-align: center;
}
.curso-desc {
    color: #333;
    font-size: 1rem;
    margin: 0 18px 18px 18px;
    text-align: center;
    min-height: 48px;
}
.btn-saiba-mais {
    background: #ffff00;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: auto;
}
.btn-saiba-mais:hover {
    background: #004d40;
    transform: scale(1.05);
}
.modal-curso {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: center;
}
.modal-curso-content {
    background: #fff;
    margin: 40px auto;
    padding: 32px 24px 24px 24px;
    border-radius: 18px;
    max-width: 480px;
    width: 90vw;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,121,107,0.13);
    animation: fadeFaq 0.3s;
    color: #000000;
  }
  .modal-curso-content a {
    color: #00796b;
    text-decoration: underline;
  }
}
.modal-curso-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2rem;
    color: #ffff;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}
.modal-curso-close:hover {
    color: #004d40;
}
@media (max-width: 600px) {
    .modal-curso-content {
        padding: 18px 6px 18px 6px;
        max-width: 98vw;
    }
}

.whatsapp-float {
    position: fixed;
    width: 72px;
    height: 72px;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(37,211,102,0.19);
}
.whatsapp-icon {
    width: 94%;
    height: 94%;
    object-fit: contain;
    display: block;
}
@media (max-width: 600px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
}

.btn-contato {
    display: inline-block;
    margin-top: 32px;
    padding: 16px 40px;
     background: #FFFF00;
    color: #091FD9;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.btn-contato:hover, .btn-contato:focus {
    background: #1ebe5d;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 24px rgba(37,211,102,0.19);
    color: #fff;
    text-decoration: none;
}


/*especialidades*/

/* Adicione ou ajuste estes blocos ao final do seu style.css */

/* Especialidades: grupos */
.especialidades-section {
  max-width: 1100px;
  margin: 64px auto 40px auto;
  padding: 0 16px;
}
.especialidades-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-top: 100px;
  margin-bottom: 40px;
  color: #188c54;
}
.especialidades-group {
  margin-bottom: 44px;
}
.especialidades-group h3 {
  margin-bottom: 20px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #188c54;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center; /* <-- ADICIONE ESTA LINHA */
  text-align: center;       /* <-- ADICIONE ESTA LINHA */
}
.especialidades-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center; /* ADICIONE ESTA LINHA */
  margin-bottom: 36px; /* ADICIONE ESTA LINHA */
}
.especialidade-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(30, 60, 50, 0.07);
  padding: 28px 22px;
  min-width: 210px;
  max-width: 250px;
  flex: 1 1 210px;
  cursor: pointer;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.especialidade-card h4 {
  color: #188c54;
  font-size: 1.09rem;
  font-weight: 600;
  margin: 0;
}
.especialidade-card:hover,
.especialidade-card:focus {
  box-shadow: 0 6px 28px rgba(37,211,102,0.16);
  transform: translateY(-3px) scale(1.03);
}

@media (max-width: 800px) {
  .especialidades-cards {
    gap: 16px;
  }
  .especialidade-card {
    min-width: 150px;
    max-width: 100%;
    padding: 22px 10px;
  }
}
@media (max-width: 600px) {
  .especialidades-section {
    margin: 32px 0;
  }
  .especialidades-cards {
    flex-direction: column;
    gap: 12px;
  }
  .especialidade-card {
    min-width: 0;
    width: 100%;
  }
}

/* Popups para especialidades (reutiliza o sistema dos cursos) */
.especialidade-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 60, 50, 0.44);
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}
.especialidade-popup.active {
  display: flex;
}
.popup-content {
  background: #fff;
  border-radius: 18px;
  padding: 38px 22px 28px 22px;
  max-width: 95vw;
  width: 360px;
  box-shadow: 0 8px 40px rgba(37,211,102,0.10);
  position: relative;
  animation: popupscale 0.17s;
}
@keyframes popupscale {
  from { transform: scale(0.93);}
  to { transform: scale(1);}
}
.close-popup {
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  transition: color 0.2s;
}
.close-popup:hover { color: #188c54; }
.popup-content h4 {
  margin-top: 0;
  color: #188c54;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.especialidade-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(30, 60, 50, 0.07);
  padding: 0 0 22px 0;
  min-width: 210px;
  max-width: 250px;
  flex: 1 1 210px;
  cursor: pointer;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.especialidade-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  margin-bottom: 12px;
}
.especialidade-nome {
  color: #188c54;
  font-size: 1.09rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.especialidade-desc {
  font-size: 0.99rem;
  color: #444;
  margin-bottom: 14px;
  padding: 0 12px;
}
.btn-saiba-mais {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-saiba-mais:hover {
  background: #1ebe5d;
  transform: scale(1.06);
}

.faq-header {
    margin-top: 110px;
    text-align: center;
    margin-bottom: 32px;
}
.faq-titulo {
    font-size: 2.8rem;
    color: #00796b;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.faq-subtitulo {
    font-size: 1.25rem;
    color: #335F9A;
    margin-bottom: 0;
    font-weight: 400;
}
body.faq-page header {
    background: #fff !important;
    color: #00796b !important;
    position: fixed;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 100;
    transition: none;
}
body.faq-page nav a {
    color: #00796b !important;
}

.carrossel-cards-section {
  width: 100vw;
  background: transparent;
  padding: 32px 0 40px 0;
  box-sizing: border-box;
}
.carrossel-cards-section h2 {
  text-align: center;
  margin-top: 90px;
  margin-bottom: 18px;
  font-size: 2rem;
  /* color removida para usar a cor definida no topo */
}

.carrossel-cards {
  max-width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.carrossel-card-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  color: #188c54;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  cursor: pointer;
  opacity: 0.90;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carrossel-card-btn.left { left: 4px; }
.carrossel-card-btn.right { right: 4px; }

.carrossel-cards-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 20px;
  width: 86vw;
  padding: 12px 0 12px 0;
  box-sizing: border-box;
}

.carrossel-cards-wrapper::-webkit-scrollbar { display: none; }

.carrossel-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  min-width: 240px;
  max-width: 240px;
  flex: 0 0 240px;
  margin: 0;
  padding: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: center;
  transition: box-shadow 0.2s;
  height: 390px; /* Altura fixa para todos os cards */
  box-sizing: border-box;
}

.carrossel-card img {
  width: 100%;
  height: 150px;           /* Altura fixa para imagem */
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  margin-bottom: 0;
  display: block;
}

.carrossel-card h3 {
  margin: 14px 0 8px 0;
  font-size: 1.13rem;
  color: #188c54;
  min-height: 48px;        /* Garante mesmo espaço para títulos longos/curtos */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
}

.carrossel-card p {
  margin: 0 12px 0 12px;
  text-align: center;
  color: #333;
  font-size: 1rem;
  min-height: 72px;        /* Padroniza altura da descrição */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrossel-card .btn-saiba-mais {
  margin-top: auto;
  margin-bottom: 6px;
}

/* Responsivo */
@media (min-width: 700px) {
  .carrossel-cards-wrapper {
    width: 800px;
  }
  .carrossel-card {
    min-width: 270px;
    max-width: 330px;
    flex: 0 0 330px;
  }
}

/* ... (carrossel css anterior permanece igual) ... */

/* Botão saiba mais */
.btn-saiba-mais {
  margin: 12px 0 0 0;
  background: #18b45c;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 1.03rem;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(24,180,92,0.07);
}
.btn-saiba-mais:hover {
  background: #188c54;
}

/* Popup overlay */
.popup {
  display: none;
  position: fixed;
  z-index: 1010;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.45);
  align-items: center;
  justify-content: center;
}
.popup.active {
  display: flex;
  animation: fadeIn 0.25s;
}
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1;}
}
.popup-content {
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px 24px 24px;
  max-width: 95vw;
  width: 350px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.23);
  position: relative;
  text-align: center;
  animation: popupScaleIn 0.25s;
}
@keyframes popupScaleIn {
  from { transform: scale(0.92);}
  to { transform: scale(1);}
}
.close-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  color: #188c54;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  z-index: 1;
}

@media (min-width: 900px) {
  .carrossel-cards-wrapper {
    width: 1300px; /* ou 100% se preferir ocupar toda a área */
    gap: 22px;
    justify-content: flex-start;
  }
  .carrossel-card {
    min-width: 240px;
    max-width: 240px;
    flex: 0 0 240px;
  }
}

@media (min-width: 900px) {
  .carrossel-card-btn {
    display: none !important;
  }
}

.carrossel-card-btn {
  display: none !important;
}

/* Diminui o tamanho do h2 da seção no mobile */
@media (max-width: 600px) {
  .carrossel-cards-section h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    margin-top: 70px;
  }
}

/* Alinha os h3 dos cards do carrossel */
.carrossel-card h3 {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;   /* valor ajustável conforme o texto */
  font-weight: bold;
  margin: 14px 0 8px 0;
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .carrossel-card h3 {
    font-size: 1rem;
    min-height: 36px;
  }
}

.carrossel-cards-section > h3 {
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  font-weight: bold;
  margin-top: 18px;
  margin-bottom: 18px;
  display: block;
}

.header-logo {
  width: 180px;
  margin: 0 auto 14px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
}
@media (max-width: 600px) {
  .header-logo {
    width: 250px;
    margin-bottom: 20px;
  }
  .header-logo img {
    max-width: 250px;
  }
}

/* Espaçamento para não ser encoberto pelo header/logo fixo */
.titulo-cursos,
.faq-titulo,
.especialidades-titulo {
  margin-top: 150px; /* desktop */
}


/* === FAQ Page === */
@media (max-width: 600px) {
  body.faq-page .faq-titulo {
    margin-top: 190px;
    font-size: 1.3rem;
  }
}

/* Espaçamento do título principal só na página de Cursos */
body.cursos-page h1 {
  margin-top: 120px;
  text-align: center;
  color: #040b50;
  font-size: 2rem;
  margin-bottom: 0px;
}

/* Mobile: aumenta mais ainda o topo */
@media (max-width: 600px) {
  body.cursos-page h1 {
    margin-top: 140px;
    font-size: 2rem;
  }
}
