/* Variables & Root */
:root {
    --primary-color: #007749;      /* Verde principal da logo */
    --primary-dark: #005537;       /* Verde escuro para hover */
    --primary-light: #e6f4ee;      /* Verde claro para backgrounds */
    --secondary-color: #4a4a4a;    /* Cinza escuro */
    --accent-color: #00a669;       /* Verde accent */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #2d2d2d;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
  }
  
  /* Reset & Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
  }
  
  /* Navbar Styles */
  .navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar-brand img {
    max-height: 90px;
    transition: var(--transition);
  }
  
  .navbar-brand img:hover {
    transform: scale(1.05);
  }
  
  .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
  }
  
  .btn-cta:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  /* Hero Section */
/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  background-color: #1a1a1a; /* Fallback para cinza escuro */
  background-image: 
      linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(90, 90, 90, 0.8) 100%), 
      url('img/segurancadotrabalhoemtangaradaserra.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Efeito de Onda sobre a imagem */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,224C672,213,768,171,864,149.3C960,128,1056,128,1152,144C1248,160,1344,192,1392,208L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  opacity: 0.1;
}

/* Garante que o conteúdo fique visível sobre a imagem */
.hero-content {
  color: var(--white);
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10% 0;
}

/* Estilização do Título */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ajusta a responsividade do título */
@media (max-width: 768px) {
  .hero h1 {
      font-size: 2.5rem;
  }
}


  
  /* Cursos & Treinamentos Section */
  .card {
    border: none;
    transition: var(--transition);
    background: var(--white);
    height: 100%;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .card-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .card-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  /* Social Proof Section */
  .social-proof {
    background: var(--light-gray);
  }
  
  .social-proof i {
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  /* Depoimentos Section */
  .blockquote {
    position: relative;
    padding: 2rem;
  }
  
  .blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  /* Form Section */
  .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: var(--transition);
  }
  
  .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,119,73,0.25);
  }
  
  /* FAQ Section */
  .accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-color);
  }
  
  .accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,119,73,0.25);
  }
  
  /* Footer */
  .footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
  }
  
  .footer h5 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
  }
  
  .footer a {
    transition: var(--transition);
  }
  
  .footer a:hover {
    color: var(--primary-light) !important;
    text-decoration: none;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .navbar-collapse {
      background: var(--white);
      padding: 1rem;
      border-radius: 8px;
      box-shadow: var(--shadow-sm);
    }
    
    .btn-cta {
      display: block;
      margin: 1rem 0;
      text-align: center;
    }
  }
  
  /* Utility Classes */
  .bg-light {
    background-color: var(--light-gray) !important;
  }
  
  .shadow-sm {
    box-shadow: var(--shadow-sm) !important;
  }
  
  .text-primary {
    color: var(--primary-color) !important;
  }

  /* Estilo para os ícones dentro dos cards */
.card i {
  transition: transform 0.3s ease-in-out;
}
.card:hover i {
  transform: scale(1.2);
}

/* Estilo para os cards de serviços */
#servicos .card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
#servicos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
/* Seção do Formulário */
#formulario {
  background-color: #f8f9fa;
  padding: 60px 0;
}

/* Caixa do Formulário */
#formulario .bg-light {
  border-radius: 10px;
  padding: 40px;
}

/* Botão CTA do Formulário */
.btn-cta {
  background-color: #2e7d32;
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  border: none;
}
.btn-cta:hover {
  background-color: #1b5e20;
  transform: translateY(-2px);
}

/* Inputs do Formulário */
.form-control {
  border-radius: 5px;
  padding: 12px;
  border: 1px solid #ced4da;
  transition: border-color 0.3s ease-in-out;
}
.form-control:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.3);
}

/* Botão do WhatsApp */
.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
}

/* Ícone do WhatsApp */
.btn-whatsapp i {
  margin-right: 8px;
}
/* Seção do botão fora do menu */
.consultoria-container {
  background: var(--primary-color);
  padding: 15px 0;
}

.consultoria-container .btn-cta {
  background: #28a745;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background 0.3s ease-in-out;
}

.consultoria-container .btn-cta:hover {
  background: #218838;
}
/* Botão Flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: background 0.3s ease-in-out, transform 0.2s;
  z-index: 1000;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}
/* Estilização geral do formulário */
.wpcf7-form {
    background: #f8f9fa; /* Fundo claro para melhor contraste */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilo dos rótulos (labels) */
.wpcf7-form label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Campos de entrada */
.wpcf7-form .form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Efeito ao focar nos campos */
.wpcf7-form .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    outline: none;
}

/* Caixa de texto (mensagem) */
.wpcf7-form textarea {
    resize: none;
    min-height: 100px;
}

/* Estilização do botão */
.wpcf7-form .btn-success {
    background-color: #28a745;
    color: #fff;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    width: 100%;
}

/* Efeito hover no botão */
.wpcf7-form .btn-success:hover {
    background-color: #218838;
    box-shadow: 0 5px 10px rgba(33, 136, 56, 0.3);
}

/* Mensagem sobre privacidade */
.wpcf7-form p.text-center {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* Ajuste de espaçamento para telas menores */
@media (max-width: 768px) {
    .wpcf7-form .row {
        flex-direction: column;
    }
}
