/* ===== DETALHES DA VAGA - GRANJA FARIA ===== */
/* Classes com prefixo 'vg-' para evitar conflitos */

/* Reset e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --vg-primary: #1B4D2B;        /* Verde escuro - Granja Faria */
  --vg-primary-hover: #2E7D32;   /* Verde médio */
  --vg-secondary: #5A6B7A;
  --vg-accent: #F2B705;          /* Amarelo - Granja Faria */
  --vg-light: #F8F9FA;
  --vg-dark: #09273b;
  --vg-success: #28a745;
  --vg-border-radius: 8px;
  --vg-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --vg-box-shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.1);
  --vg-transition: all 0.3s ease;
  
  /* Dark mode variables */
  --vg-bg-light: #FFFFFF;
  --vg-bg-dark: #1A1A1A;
  --vg-text-light: #2C3E50;
  --vg-text-dark: #F5F5F5;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--vg-text-light);
  background-color: var(--vg-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  --vg-primary: #6A9C6F;
  --vg-primary-hover: #8BB78F;
  --vg-accent: #FFD966;
  --vg-light: #2D2D2D;
  --vg-dark: #E0E0E0;
  --vg-text-light: #F5F5F5;
  background-color: var(--vg-bg-dark);
  color: var(--vg-text-dark);
}

body.dark-mode .vg-header,
body.dark-mode .vg-section,
body.dark-mode .vg-sidebar-card,
body.dark-mode .vg-info-content {
  background-color: var(--vg-bg-dark);
  border-color: #404040;
}

a {
  text-decoration: none;
  color: var(--vg-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--vg-box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.dark-mode header {
  background-color: var(--vg-bg-dark);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand .logo {
  height: 50px;
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-menu li {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--vg-dark);
  font-weight: 500;
  transition: var(--vg-transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--vg-primary);
}

.nav-link i {
  font-size: 1rem;
}

/* Menu Hamburguer */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--vg-primary);
  position: relative;
  transition: var(--vg-transition);
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--vg-primary);
  transition: var(--vg-transition);
  border-radius: 2px;
  left: 0;
}

.hamburger::before {
  top: -8px;
  width: 20px;
  right: 0;
  margin-left: auto;
}

.hamburger::after {
  bottom: -8px;
  width: 15px;
  right: 0;
  margin-left: auto;
}

.navbar-toggle.active .hamburger {
  background-color: transparent;
}

.navbar-toggle.active .hamburger::before {
  width: 25px;
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active .hamburger::after {
  width: 25px;
  transform: translateY(-8px) rotate(-45deg);
}

.navbar-toggle:hover .hamburger,
.navbar-toggle:hover .hamburger::before,
.navbar-toggle:hover .hamburger::after {
  background-color: var(--vg-primary-hover);
}

/* Conteúdo Principal */
.vg-header {
  background-color: white;
  padding: 2rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--vg-box-shadow);
}

body.dark-mode .vg-header {
  background-color: var(--vg-bg-dark);
}

.vg-header h1 {
  font-size: 2rem;
  color: var(--vg-primary);
  margin-bottom: 1rem;
}

.vg-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--vg-secondary);
}

.vg-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vg-meta-item i {
  color: var(--vg-primary);
}

/* Layout de Conteúdo */
.vg-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Seções da Vaga */
.vg-section {
  background-color: white;
  border-radius: var(--vg-border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--vg-box-shadow);
}

body.dark-mode .vg-section {
  background-color: var(--vg-bg-dark);
  border: 1px solid #404040;
}

.vg-section h2 {
  color: var(--vg-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
}

.vg-section-content {
  padding: 0.5rem;
}

.vg-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.vg-info-item {
  background-color: var(--vg-light);
  padding: 1rem;
  border-radius: var(--vg-border-radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--vg-transition);
}

body.dark-mode .vg-info-item {
  background-color: #2D2D2D;
  border: 1px solid #404040;
}

.vg-info-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--vg-box-shadow-hover);
}

.vg-info-item i {
  font-size: 1.5rem;
  color: var(--vg-primary);
}

.vg-info-item.vg-highlight {
  background-color: rgba(27, 77, 43, 0.1);
  border-left: 4px solid var(--vg-primary);
}

body.dark-mode .vg-info-item.vg-highlight {
  background-color: rgba(106, 156, 111, 0.2);
}

.vg-info-item h3 {
  font-size: 0.9rem;
  color: var(--vg-secondary);
  margin-bottom: 0.3rem;
}

.vg-info-item p {
  font-weight: 600;
  color: var(--vg-dark);
}

/* Listas */
.vg-list {
  list-style-position: inside;
  padding-left: 0.5rem;
}

.vg-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.vg-list li::marker {
  color: var(--vg-primary);
}

/* Benefícios */
.vg-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.vg-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.vg-benefit-item i {
  color: var(--vg-success);
}

/* Sidebar */
.vg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vg-sidebar-card {
  background-color: white;
  border-radius: var(--vg-border-radius);
  padding: 1.5rem;
  box-shadow: var(--vg-box-shadow);
}

body.dark-mode .vg-sidebar-card {
  background-color: var(--vg-bg-dark);
  border: 1px solid #404040;
}

.vg-sidebar-card h3 {
  color: var(--vg-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vg-sidebar-image {
  width: 100%;
  border-radius: var(--vg-border-radius);
  margin-bottom: 1rem;
}

.vg-apply-card {
  background: linear-gradient(135deg, rgba(27, 77, 43, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(27, 77, 43, 0.2);
  text-align: center;
}

body.dark-mode .vg-apply-card {
  background: linear-gradient(135deg, rgba(106, 156, 111, 0.2) 0%, var(--vg-bg-dark) 100%);
}

.vg-apply-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--vg-secondary);
}

.vg-apply-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.vg-apply-info i {
  color: var(--vg-primary);
}

.vg-deadline-card {
  text-align: center;
  border: 1px solid rgba(220, 53, 69, 0.2);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

body.dark-mode .vg-deadline-card {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, var(--vg-bg-dark) 100%);
}

.vg-deadline {
  font-size: 1.2rem;
  font-weight: bold;
  color: #dc3545;
}

/* Botões */
.vg-button-apply, .vg-button-more {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--vg-border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--vg-transition);
  width: 100%;
  margin: 1rem 0;
  cursor: pointer;
  border: none;
}

.vg-button-apply {
  background-color: var(--vg-primary);
  color: white;
}

.vg-button-apply:hover {
  background-color: var(--vg-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--vg-box-shadow-hover);
}

.vg-button-more {
  background-color: white;
  color: var(--vg-primary);
  border: 1px solid var(--vg-primary);
  text-decoration: none;
  display: block;
}

body.dark-mode .vg-button-more {
  background-color: transparent;
  color: var(--vg-primary);
}

.vg-button-more:hover {
  background-color: var(--vg-primary);
  color: white;
}

/* Informações Adicionais */
.vg-additional-info {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.vg-additional-info h2 {
  color: var(--vg-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vg-info-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--vg-border-radius);
  box-shadow: var(--vg-box-shadow);
}

body.dark-mode .vg-info-content {
  background-color: var(--vg-bg-dark);
  border: 1px solid #404040;
}


.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(209, 203, 203, 0.1);
  color: rgba(255, 253, 253, 0.945);
  transition: var(--vg-transition);
}

.social-links a:hover {
  background-color: var(--vg-primary);
  transform: translateY(-3px);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--vg-transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col ul li a i {
  font-size: 0.8rem;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
  margin-top: 3px;
  color: var(--vg-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom p:first-child {
  margin-bottom: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .navbar-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background-color: white;
      flex-direction: column;
      padding: 5rem 2rem;
      transition: var(--vg-transition);
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  body.dark-mode .navbar-menu {
      background-color: var(--vg-bg-dark);
  }

  .navbar-menu.active {
      right: 0;
  }

  .navbar-menu li {
      margin: 1rem 0;
  }

  .navbar-toggle {
      display: flex;
  }

  .vg-header h1 {
      font-size: 1.5rem;
  }

  .vg-meta {
      flex-direction: column;
      gap: 0.8rem;
      align-items: center;
  }

  .vg-info-grid {
      grid-template-columns: 1fr;
  }

  .vg-benefits-grid {
      grid-template-columns: 1fr;
  }

  .footer-grid {
      grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .vg-content {
      grid-template-columns: 2fr 1fr;
  }
}

/* Animações */
@keyframes vgFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.vg-section, .vg-sidebar-card {
  animation: vgFadeIn 0.5s ease forwards;
}

.vg-section:nth-child(2) { animation-delay: 0.1s; }
.vg-section:nth-child(3) { animation-delay: 0.2s; }
.vg-section:nth-child(4) { animation-delay: 0.3s; }
.vg-sidebar-card:nth-child(1) { animation-delay: 0.1s; }
.vg-sidebar-card:nth-child(2) { animation-delay: 0.2s; }
.vg-sidebar-card:nth-child(3) { animation-delay: 0.3s; }






