/* ============================================
   Colmeia Talentos - Main CSS
   Clean, Modern, Responsive Design
   ============================================ */

/* CSS Variables */
:root {
  /* Brand Colors */
  --primary-color: #FFA54F;  /* Soft Orange */
  --primary-dark: #E67E22;   /* Darker Orange */
  --accent-color: #FFD166;   /* Soft Yellow */
  --tech-primary: #4E8CFF;   /* Soft Blue */
  --tech-accent: #6BC0FF;    /* Lighter Blue */
  --hr-bg: #f3b22a;  /* Amarelo para o fundo do RH */
  --hr-text: #1A202C; /* Azul para os destaques *
  
  /* Neutral Colors */
  --dark-color: #2D3748;
  --text-primary: #2D3748;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
  --light-bg: #F7FAFC;
  --border-light: #E2E8F0;
  
  /* Tech Mode Colors */
  --tech-bg: #1A202C;
  --tech-text: #F7FAFC;
  --tech-text-secondary: #CBD5E0;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-size-h1: clamp(2rem, 5vw, 3rem);
  --font-size-h2: clamp(1.75rem, 4vw, 2.5rem);
  --font-size-h3: clamp(1.5rem, 3vw, 2rem);
  --font-size-body: 1rem;
  --font-size-sm: 0.875rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}



/* ============================================
   Base Styles
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-padding {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white); /* Mantém o texto branco no hover */
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
}

.btn-white:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
}

.btn-tech {
  background: var(--dark-color);
  color: var(--white);
}

.btn-tech:hover {
  background: var(--tech-bg);
  transform: translateY(-2px);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--dark-color);
}

.logo-img {
  height: 54px;
  width: auto;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.hr-service:hover {
  color: var(--primary-color);
}

.tech-service:hover {
  color: var(--tech-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 2px;
  background: var(--dark-color);
  transition: var(--transition-normal);
}

/* ============================================
   Hero Section - Fixed Styles
   ============================================ */

.hero {
  position: relative;
  padding: 100px 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg) !important;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text-primary) !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary) !important;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
}

.hero-subtitle .highlight,
.selector-title .highlight {
  color: var(--primary-color) !important;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Service Selector
   ============================================ */

.service-selector {
  padding: 2rem 0;
  background: var(--light-bg);
}

.selector-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.selector-title {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--text-primary) !important;
}

.selector-title .highlight {
  color: var(--primary-color) !important;
}

.selector-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.selector-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
}

.selector-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.selector-btn:not(.active) {
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.selector-btn-tech:not(.active) {
  background: var(--dark-color);
  color: var(--white);
}

.selector-btn:not(.active):hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.selector-btn-tech:not(.active):hover {
  background: var(--tech-bg);
  color: var(--white);
}

/* ============================================
   Content Sections
   ============================================ */

.content-section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-secondary);
}

/* HR Mode */
main.hr-mode .content-section {
  background: var(--hr-bg);
  color: var(--white);
}

main.hr-mode .section-title,
main.hr-mode h2,
main.hr-mode h3,
main.hr-mode p {
  color: var(--white);
}

main.hr-mode .section-description,
main.hr-mode .section-description p {
  color: rgba(255, 255, 255, 0.9);
}

main.hr-mode .section-title .highlight,
main.hr-mode h3 .highlight {
  color: var(--hr-text);
}

main.hr-mode .about-icon {
  background: var(--hr-text);
}

main.hr-mode .about-info h3,
main.hr-mode .about-info p {
  color: var(--white);
}


/* Tech Mode */
main.tech-mode .content-section {
  background: var(--tech-bg);
  color: var(--tech-text);
}

main.tech-mode .section-title,
main.tech-mode h2,
main.tech-mode h3,
main.tech-mode p {
  color: var(--tech-text);
}

main.tech-mode .section-description,
main.tech-mode .section-description p {
  color: var(--tech-text-secondary);
}

main.tech-mode .section-title .highlight,
main.tech-mode h3 .highlight {
  color: var(--tech-accent);
}

/* ============================================
   Content Tabs
   ============================================ */

.content-tab {
  display: none;
}

.content-tab.active {
  display: block;
}

/* ============================================
   About Section
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--primary-color);
  flex-shrink: 0;
}

.about-info h3 {
  margin-bottom: 0.5rem;
}

.about-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  text-align: center;
  padding: 4rem 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-text h2 {
  margin-bottom: 1.5rem;
}

.cta-text p {
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* HR Mode CTA */
main.hr-mode .cta {
  background: var(--tech-bg);
}

/* Tech Mode CTA */
main.tech-mode .cta {
  background: var(--tech-bg);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-logo img {
  height: 66px;
  width: auto;
}

.footer-description {
  color: #CCCCCC;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.125rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: #CCCCCC;
  transition: var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info i {
  color: var(--primary-color);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #CCCCCC;
  font-size: var(--font-size-sm);
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --container-padding: 0 15px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 2rem 0;
    gap: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    background: var(--light-bg);
  }
  
  .dropdown-link {
    padding: 1rem 2.5rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .selector-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 50px 0;
  }
  
  .hero {
    padding: 80px 0 40px;
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}