/* ==============================
VARS
============================== */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;
  --text-main: #1e293b;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --container-width: 1140px;
  --transition: all 0.25s ease;
}

/* ==============================
GLOBAL
============================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
}

/* ==============================
TYPOGRAPHY
============================== */

h1, h2, h3, h4 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-main);
  font-size: 1.125rem;
  line-height: 1.7;
}

.cta p, .faq p, .positioning p, .hero-service p {
  color: var(--secondary) !important;
  opacity: 0.9;
}

.hero p {
  color: #cbd5f5 !important;
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==============================
UTILITIES
============================== */

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

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

/* ==============================
HEADER
============================== */

.header {
  position: sticky;
  top: 0;
  background: var(--secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.logo span {
  color: #94a3b8;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav a {
  color: #cbd5f5;
  font-weight: 500;
  transition: var(--transition);
  padding: 10px 0;
}

.nav a:hover {
  color: white;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--secondary);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px 0;
}

.dropdown-content a {
  color: #cbd5f5;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: rgba(255,255,255,0.05);
  color: white;
}

.nav-item:hover .dropdown-content {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* ==============================
BUTTONS
============================== */

.btn-primary {
  background: var(--primary);
  color: white !important;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* ==============================
HERO
============================== */

.hero {
  position: relative;
  color: white;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(rgba(15,23,42,0.8), rgba(15,23,42,0.9)),
    url("/pt/assets/img/hero.png");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  color: #cbd5f5;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
}

/* ==============================
CARDS & GRIDS
============================== */

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 3rem;
}

.card-base {
  background: white;
  padding: 3rem 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.card-base:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: var(--primary);
}

/* ==============================
SERVICES
============================== */

.service h3 {
  margin-bottom: 1rem;
}

.service ul {
  list-style: none;
  text-align: left;
}

.service li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--text-main);
}

.service li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ==============================
WHY SECTION
============================== */

.why-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.why-list li {
  font-size: 1.125rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.statement {
  margin-top: 4rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary);
}

/* ==============================
PRICING
============================== */

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

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1.5rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-card li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-main);
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

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

.cta {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  text-align: center;
}

.cta h2 { color: white; }
.cta p { color: #e0e7ff; margin-bottom: 2.5rem; }

/* ==============================
FOOTER
============================== */

.footer {
  background: #020617;
  color: #f1f5f9;
  padding: 5rem 0;
  text-align: center;
}

.footer p {
  color: #cbd5e1;
  font-size: 0.875rem;
}


/* ==============================
RESPONSIVE
============================== */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 1.5rem 0;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
