/* ========================================
   Global Styles & Utilities
   ======================================== */

:root {
  /* Colors - InfraTalent Identity (Based on Blue & Navy) */
  --blue-primary: #0A2342;
  /* Dark Navy Blue (Professional & Trust) */
  --blue-bright: #0066CC;
  /* Bright Blue (Action & Highlight) */
  --blue-soft: #E6F0FA;
  /* Light Blue Background */
  --text-main: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --bg-color: #FAFAFA;
  --gradient-overlay: linear-gradient(135deg, rgba(10, 35, 66, 0.95), rgba(0, 102, 204, 0.8));
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --navy-dark: #051A30;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', sans-serif;
  /* Clean, modern sans-serif */
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-main);
  background-color: var(--bg-color);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  /* Modern, professional heading font */
  color: var(--blue-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: var(--blue-bright);
  color: white;
  border-radius: 4px;
  /* Slightly rounded */
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--blue-bright);
  color: var(--blue-bright);
}

.btn-outline:hover {
  background-color: var(--blue-bright);
  color: white;
}

/* Section Common */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--blue-bright);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
}

/* Animation Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
  background-color: var(--navy-dark);
  color: white;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact {
  display: flex;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item:hover {
  color: white;
}

.top-social a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
}

.top-social a:hover {
  color: white;
  transform: scale(1.1);
}

/* ========================================
   Header
   ======================================== */

.header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  /* Ensure items align nicely with button */
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--blue-bright);
}

/* --- BUTTON HIGHLIGHT FOR CANDIDATES --- */
.nav-links a.nav-btn {
  background-color: var(--blue-bright) !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0, 102, 204, 0.2);
}

.nav-links a.nav-btn:hover {
  background-color: var(--navy-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
  background: var(--blue-bright);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-logo {
  height: 35px;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  color: var(--blue-bright);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-links a {
  display: block;
  padding: 18px 20px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

/* Mobile Nav Button Highlight */
.mobile-nav-links a.nav-btn-mobile {
  color: var(--blue-bright);
  /* Destaque na cor */
  background-color: var(--blue-soft);
  /* Fundo sutil */
  font-weight: 800;
  /* Mais peso */
}

.mobile-nav-links a:hover {
  background: var(--blue-soft);
  color: var(--blue-bright);
  padding-left: 30px;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}


/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(0, 102, 204, 0.1);
  color: var(--blue-bright);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--blue-primary);
  line-height: 1.1;
}

.hero-title span {
  color: var(--blue-bright);
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image-container {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 0 rgba(0, 102, 204, 0.1);
  transition: transform 0.3s ease;
}

.hero-img:hover {
  transform: translateY(-5px);
}

/* Background Elements */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10, 35, 66, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: 50px;
  left: -50px;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-container {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-stats {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-bright);
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.feature-list {
  margin-top: 30px;
  display: grid;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  color: var(--blue-bright);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}


/* ========================================
   Scope (Atuação) Section
   ======================================== */
.scope {
  background-color: var(--blue-soft);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.scope-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.scope-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.scope-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
}

.scope-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions {
  background-color: white;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.solution-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  height: 100%;
}

.solution-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.card-header {
  padding: 30px 30px 20px;
}

.solution-icon {
  width: 60px;
  height: 60px;
  background-color: var(--blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue-bright);
  margin-bottom: 20px;
  font-family: 'Segoe UI Emoji', sans-serif;
}

.solution-card h3 {
  font-size: 1.4rem;
}

.card-body {
  padding: 0 30px 30px;
}

/* ========================================
   Positions Section
   ======================================== */
.positions {
  background-color: var(--navy-dark);
  color: white;
  background-image: var(--gradient-overlay), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.positions .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.positions h2,
.positions h3 {
  color: white;
}

.positions .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.position-column {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.position-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pos-list li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 20px;
  position: relative;
  font-weight: 300;
}

.pos-list li::before {
  content: "•";
  color: var(--blue-bright);
  position: absolute;
  left: 0;
  font-weight: bold;
}


/* ========================================
   Process Section
   ======================================== */
.process {
  background-color: white;
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  /* Aligned with number center */
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: white;
  border: 2px solid var(--blue-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-weight: 800;
  font-size: 1.5rem;
  flex-shrink: 0;
  z-index: 1;
  /* Above lines */
  box-shadow: 0 0 0 10px white;
  /* Mask the line */
}

.timeline-content {
  flex: 1;
  padding-top: 10px;
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* ========================================
   Differentials Section
   ======================================== */
.differentials {
  background-color: var(--bg-color);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.diff-item {
  text-align: center;
  padding: 20px;
}

.diff-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.diff-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}


/* ========================================
   Partnership CTA
   ======================================== */
.partnership {
  background-color: var(--blue-primary);
  color: white;
  text-align: center;
}

.partnership h2 {
  color: white;
  margin-bottom: 30px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background-color: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.contact-info {
  background: var(--blue-primary);
  padding: 60px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 2rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: white;
  font-weight: 500;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: white;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: var(--blue-bright);
  color: white;
}

.contact-form-container {
  padding: 60px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-bright);
  background-color: white;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--blue-primary);
}


/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: #020d18;
  /* Nearly black navy */
  color: white;
  padding: 60px 0 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 40px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    margin: 0 auto 30px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    justify-content: center;
    width: 100%;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-container {
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .timeline-item {
    gap: 20px;
  }
}