/* ==========================================================================
   RICARDO MURAD - DESIGN SYSTEM (NAVY BLUE DARK THEME)
   ========================================================================== */

:root {
  /* Color Palette - Navy Blue Tones */
  --bg-main: #060c18;
  --bg-surface: #0b1526;
  --bg-card: rgba(13, 24, 43, 0.75);
  --bg-card-hover: rgba(18, 33, 58, 0.9);

  --primary: #1d4ed8;
  --primary-hover: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.35);

  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(56, 189, 248, 0.2);

  /* Fonts - Clean Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout Spacing */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR (SEÇÃO 0) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(6, 12, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* HERO SECTION (SEÇÃO 1) */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #0f2347 0%, var(--bg-main) 60%);
}

.hero-bg-glow {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.text-highlight {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  max-width: 540px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* HERO MEDIA */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.hero-card-glass {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(16px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  max-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.glass-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.glass-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* SECTION GLOBAL STYLES */
.section {
  padding: 6rem 0;
  position: relative;
}

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

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* SEÇÃO 2: TRAJETÓRIA E RESULTADOS */
.section-trajetoria {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.trajetoria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.trajetoria-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.trajetoria-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trajetoria-card:hover .card-img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 12, 24, 0.85);
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SEÇÃO 3: COMPROMISSOS PRINCIPAIS */
.section-compromissos {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
}

.compromissos-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.compromissos-header {
  position: sticky;
  top: 120px;
}

.compromissos-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.compromisso-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  border-left: 3px solid transparent;
}

.compromisso-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  border-left-color: var(--accent-cyan);
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.item-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  opacity: 0.9;
}

.item-content {
  display: flex;
  flex-direction: column;
}

.item-title {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.item-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SEÇÃO 4: PERGUNTAS FREQUENTES (FAQ) */
.section-faq {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  gap: 1rem;
}

.faq-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-content {
  padding-bottom: 1.5rem;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* SEÇÃO 5: RODAPÉ (FOOTER) */
.footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
  background: var(--bg-main);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  opacity: 0.95;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-cnpj {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.825rem;
  color: var(--text-dim);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-card-glass {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 90%;
    max-width: 320px;
  }

  .nav-menu {
    display: none;
  }

  .compromissos-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .compromissos-header {
    position: static;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .compromisso-item {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .section {
    padding: 4rem 0;
  }
}
