@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f0f0f0;
}

/* Efeito de sobreposição de cor */
.hero-overlay {
  background-color: rgba(113, 126, 40, 0.7);
}

/* Sombra para os cards */
.card-shadow {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* style.css */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Suaviza a rolagem dos links do menu */
html {
  scroll-behavior: smooth;
}

/* Ajuste no formulário para telas pequenas */
@media (max-width: 768px) {
  form {
    font-size: 0.95rem;
  }
}


/* ===== Nossos Cursos ===== */
.courses-section {
    padding: 60px 20px;
    background: #fafafa;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

/* Grid responsivo */
.courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* Card do curso */
.course-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e6e6e6;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: #2c3e50;
}

/* Imagem do curso */
.course-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 3px solid #f0f0f0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.course-card img:hover {
    transform: scale(1.03);
    border-color: #2c3e50;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* Título e descrição */
.course-card h3 {
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.course-card p {
    font-size: 1rem;
    color: #555;
    margin-top: 8px;
    line-height: 1.5;
}

/* Container da seção */
.courses-section {
  padding: 60px 20px;
  background-color: #f7f7f7;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Grid de cursos */
/* Grid dos cursos */
.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Card do curso */
.course-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.course-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  object-fit: cover;
}

.course-card h3 {
  font-size: 1.3rem;
  margin: 10px 0;
  color: #222;
}

.course-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* Botão "Ver detalhes" */
.course-details {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #00A86B;
  border-radius: 50px;
  color: #00A86B;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.course-details:hover {
  background-color: #00A86B;
  color: #fff;
}

/* Novos estilos para título e subtítulo da seção */
.section-title {
  font-size: 2.5rem;
  color: #006644; /* mesmo tom verde-musgo que você usa */
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px; /* controla largura do texto */
  margin: 0 auto 40px auto; /* centraliza e espaça abaixo */
  line-height: 1.6;
  text-align: center;
}

/* Responsividade adicional para títulos e textos */
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
  .section-subtitle {
    font-size: 1.25rem;
  }
}


/* Links do menu */
/* Links do menu */
.menu-link {
  color: white;
  font-weight: 600;
  transition: color 0.3s;
}

.menu-link:hover {
  color: #00A86B;
}

/* Links do menu mobile */
.mobile-link {
  width: 100%;
  text-align: center;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  transition: background 0.3s, color 0.3s;
}

.mobile-link:hover {
  background-color: rgba(0, 168, 107, 0.2);
  color: #00A86B;
}

/* Menu mobile */
#mobile-menu {
  display: none;
  flex-direction: column;
}

#mobile-menu.show {
  display: flex;
}


.hero {
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* ajusta verticalmente */
  transition: opacity 1.5s ease-in-out;
}


.hero-slide.opacity-0 {
  opacity: 0;
}

.hero-slide.opacity-100 {
  opacity: 1;
}

/* Hero geral */
.hero {
  position: relative;
  overflow: hidden;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.opacity-0 {
  opacity: 0;
}

.hero-slide.opacity-100 {
  opacity: 1;
}

/* Texto e formulário já estão com z-index 10 no HTML */


/* Botão WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 20px;
  left: 20px;   /* Agora no lado esquerdo */
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s infinite;
  transition: transform 0.2s ease-in-out;
}


.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

/* Efeito pulsante */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float img {
  width: 60%;
  height: 60%;
}

/* Ajuste de largura do formulário em telas médias ou maiores */
@media (min-width: 768px) {
  #form {
    max-width: 420px; /* largura máxima do formulário */
  }
}

/* Ajuste de largura e centralização do formulário em telas médias ou maiores */
@media (min-width: 768px) {
  #form {
    max-width: 420px;  /* controla a largura */
    margin-left: auto;
    margin-right: auto; /* centraliza dentro do flex */
  }
}

.logo-grande {
  height: 200px; /* altura maior */
  width: auto;   /* mantém proporção */
}















  