:root {
  /* 1. DIRETRIZES DE DESIGN E PALETA DE CORES */
  --primary-color: #0B192C; /* Azul Escuro Deep Navy */
  --secondary-color: #1E3A8A; /* Azul Corporativo */
  --accent-color: #D97706; /* Âmbar Metálico */
  --bg-color: #FAFBFC; /* Fundo limpo */
  --text-color: #1E293B; /* Texto - Cinza escuro */
  --text-light: #475569;
  --white: #FFFFFF;
  --border-radius: 4px;
  --transition: all 0.3s ease-in-out;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

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

a:hover {
  color: var(--accent-color);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #b45309; /* Darker amber */
  color: var(--white);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #e2e8f0;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #172a46 100%);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30,58,138,0.2) 0%, rgba(11,25,44,0) 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h2 {
  color: #cbd5e1;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-header {
  text-align: center;
  margin-bottom: 64px;
}

.about-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.about-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

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

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-text .highlight {
  font-weight: 600;
  color: var(--secondary-color);
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.principle-tag {
  background-color: #f1f5f9;
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

/* Portfolio Pillars */
.portfolio {
  background-color: var(--bg-color);
}

.portfolio-header {
  text-align: center;
  margin-bottom: 64px;
}

.portfolio-header h2 {
  font-size: 2.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--border-radius);
  border-top: 4px solid var(--secondary-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-top-color: var(--accent-color);
}

.pillar-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.pillar-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Footer & Cookie Consent */
footer {
  background-color: var(--primary-color);
  color: #94a3b8;
  padding: 40px 0;
  text-align: center;
}

footer a {
  color: #cbd5e1;
  text-decoration: underline;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 16px 24px;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Responsive */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nav-links {
    display: none; /* Hide for mobile by default */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .cookie-consent {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
}
