:root {
  --primary-color: #0D6EFD; /* Azul forte */
  --secondary-color: #6610F2; /* Roxo tecnológico */
  --cta-color: #FFC107; /* Amarelo ouro */
  --text-main: #0B1320; /* Quase preto */
  --text-secondary: #6C757D; /* Cinza */
  --bg-light: #F8F9FA;
  --bg-dark: #0A0F1F; /* Azul muito escuro */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition-speed: 0.3s;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-speed);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}
.btn-secondary:hover {
  background-color: #520dc2;
  transform: translateY(-2px);
}

.btn-cta {
  background-color: var(--cta-color);
  color: var(--text-main);
}
.btn-cta:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

/* Header */
header {
  background: linear-gradient(90deg, var(--bg-dark) 0%, var(--primary-color) 100%);
  color: #fff;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.nav-link:hover {
  color: var(--cta-color);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  color: var(--text-main);
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--cta-color);
  margin: 10px auto 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform var(--transition-speed);
  border-top: 4px solid var(--primary-color);
}
.card:hover {
  transform: translateY(-5px);
}
.card-body {
  padding: 2rem;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--cta-color);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #ccc;
}
.footer-col ul li a:hover {
  color: #fff;
}

.risk-warning {
  background-color: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 5px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #ccc;
  border-left: 3px solid var(--cta-color);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .header-container { padding: 0 20px; }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: 0.3s;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: block;
  }
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 9999;
  display: none; /* Controlled by JS */
  border-top: 4px solid var(--secondary-color);
}
.cookie-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

/* LGPD & Legal Pages Specifics */
.legal-content {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
.legal-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
}
