/* ===========================
   JB Conselh — Brand Variables
   =========================== */
:root {
  /* Brand Colors - Deep Navy, Soft Grey, Muted Steel Blue */
  --primary: #1a2332;        /* Deep Navy */
  --secondary: #8894a8;      /* Soft Grey */
  --accent: #5b7a9e;         /* Muted Steel Blue */
  
  /* Text Colors */
  --text-dark: #0f1419;
  --text-body: #2d3748;
  --text-light: #4a5568;
  --text-muted: #718096;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8f9fb;
  --bg-alt: #f1f3f6;
  
  /* Border & Shadows */
  --border: #e2e5ea;
  --border-light: #edf0f4;
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 35, 50, 0.12);
  --shadow-lg: 0 10px 30px rgba(26, 35, 50, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Typography Scale */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===========================
   Base Reset & Typography
   =========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent); }

/* ===========================
   Container & Layout
   =========================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

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

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

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s ease;
}

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

.nav-link-cta {
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link-cta:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-base);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

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

.btn-full {
  width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  padding: 7rem 0 6rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Geometric Pattern */
.geometric-pattern {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 300px;
}

.geo-item {
  aspect-ratio: 1;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.03) 0%, rgba(91, 122, 158, 0.08) 100%);
  transition: all 0.3s ease;
}

.geo-item:hover {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  padding-right: 2rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-card {
  padding: 1.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.highlight-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ===========================
   Services Section
   =========================== */
.section-services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-number {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-light);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  font-size: 0.9375rem;
  color: var(--text-body);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

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

/* ===========================
   Approach Section
   =========================== */
.section-approach {
  background: white;
}

.approach-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 80px;
  width: 2px;
  height: calc(100% - 40px);
  background: var(--border);
}

.timeline-marker {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.375rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ===========================
   Proof Section
   =========================== */
.section-proof {
  background: var(--bg-light);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.proof-card {
  background: white;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--bg-alt);
  font-weight: 700;
  opacity: 0.5;
}

.proof-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.proof-author {
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.proof-author strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.proof-author span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===========================
   Contact Section
   =========================== */
.section-contact {
  background: var(--bg-light);
}

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-intro {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 700px;
  margin: 1rem auto 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method-card {
  background: white;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.contact-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  color: var(--primary);
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.contact-method-card:hover .contact-icon {
  background: var(--primary);
  color: white;
}

.contact-method-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.contact-method-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  min-height: 3em;
}

.contact-method-card .btn {
  margin-bottom: 1rem;
}

.contact-detail {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-info-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-body);
  font-size: 0.9375rem;
}

.info-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: white;
}

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

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.footer-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .contact-info-bar {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .nav {
    display: none; /* Mobile menu implementation needed */
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .geometric-pattern {
    padding: 1rem;
  }
  
  .geo-grid {
    max-width: 220px;
  }
  
  .proof-grid {
    grid-template-columns: 1fr;
  }
  
  .proof-stats {
    padding: 2rem 1rem;
  }
  
  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }
  
  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .timeline-item:not(:last-child)::before {
    left: 24px;
    top: 70px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}