/* ==========================================================================
   Gestão Mil - Design System & Tokens (Baseado no Draft Oficial)
   ========================================================================== */

:root {
  /* Colors */
  --bg-base: #0a0a0a;
  --bg-panel: #141414;
  --bg-card: #1a1a1a;
  
  --text-main: #FFFFFF;
  --text-muted: #A1A1AA;
  
  --accent-gold: #e5b85a; /* Tom de dourado do draft */
  --accent-gold-hover: #c49a45;
  --border-color: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-sans: 'DM Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Typography Utilities */
.accent-gold { color: var(--accent-gold); }
.icon-sm { width: 16px; height: 16px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.link-gold {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}
.link-gold:hover { opacity: 0.8; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--accent-gold);
  color: #000;
  border: 1px solid var(--accent-gold);
}
.btn--primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

.btn--outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn--outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: var(--space-2) 0;
}
.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.navbar__links {
  display: none;
}
@media (min-width: 992px) {
  .navbar__links {
    display: flex;
    gap: var(--space-4);
  }
  .navbar__links a {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-main);
    transition: color 0.2s;
  }
  .navbar__links a:hover {
    color: var(--accent-gold);
  }
}

/* Navbar Dropdown */
.navbar__dropdown {
  position: relative;
  display: inline-block;
  padding-bottom: 24px; /* Expand hover area */
  margin-bottom: -24px;
}

.navbar__dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  min-width: 240px;
  box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  top: 100%;
  left: 0;
  padding: 8px 0;
  z-index: 101;
}

.navbar__dropdown:hover .navbar__dropdown-content {
  display: block;
}

.navbar__dropdown-content a {
  display: block !important;
  padding: 12px 20px;
  text-transform: none !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__dropdown-content a:last-child {
  border-bottom: none;
}

.navbar__dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-gold) !important;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: var(--space-8);
  background-image: radial-gradient(circle at top right, rgba(229, 184, 90, 0.05), transparent 40%),
                    linear-gradient(to bottom, var(--bg-base), var(--bg-panel));
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  max-width: 500px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hm-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hm-item i {
  flex-shrink: 0;
  margin-top: 2px;
}
.hm-item span {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.3;
}
.hm-item small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8), transparent);
}

.floating-badge {
  position: absolute;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-gold);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.floating-badge i {
  color: var(--accent-gold);
  width: 20px;
  height: 20px;
}

.fb-1 {
  bottom: 30px;
  left: -20px;
}

.fb-2 {
  top: 40px;
  right: -10px;
}

/* Value Props */
.value-props {
  background-color: var(--bg-base);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-color);
}
.value-props__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 600px) {
  .value-props__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .value-props__grid { grid-template-columns: repeat(4, 1fr); }
}
.vp-card {
  text-align: center;
  padding: var(--space-3);
}
.vp-card i {
  color: var(--accent-gold);
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-2);
}
.vp-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.vp-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Soluções */
.solucoes {
  padding: var(--space-12) 0;
  background-color: var(--bg-panel);
}
.section-header {
  margin-bottom: var(--space-6);
}
.section-header h2 {
  font-size: 2rem;
}

.solucoes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .hero__title { font-size: clamp(40px, 10vw, 60px); }
  .especialidades__grid { grid-template-columns: 1fr; }
  .numeros-grid { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .process-steps { gap: 24px; }
}

@media (max-width: 480px) {
  .numeros-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .grid-immersive { grid-template-columns: 1fr; }
}

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.process-step__number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 0 0 8px rgba(229,184,90,0.06);
}
.process-step__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.process-step__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Immersive Grid ── */
.section-full {
  width: 100%;
  max-width: 100vw;
}
.grid-immersive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0; /* no gap for edge-to-edge */
}
.grid-immersive__item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
}
.grid-immersive__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.grid-immersive__item:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .solucoes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .solucoes__grid { grid-template-columns: repeat(3, 1fr); }
}

.solucao-card {
  height: 300px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  border: 1px solid var(--border-color);
  transition: transform 0.3s, border-color 0.3s;
}
.solucao-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}
.solucao-card__content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--accent-gold);
}
.solucao-card__content p {
  font-size: 0.875rem;
  color: #E4E4E7;
}

/* Produtos */
/* Especialidades (Domínio Técnico) */
.especialidades {
  padding: 80px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border-color);
}
.especialidades__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.especialidade-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: all var(--transition);
}
.especialidade-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.espec-card__icon {
  background: rgba(229, 184, 90, 0.1);
  color: var(--accent-gold);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.espec-card__icon i {
  width: 24px;
  height: 24px;
}
.espec-card__content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}
.espec-card__content ul {
  list-style: none;
}
.espec-card__content li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.espec-card__content li i {
  color: var(--accent-gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
@media (max-width: 900px) {
  .especialidades__grid {
    grid-template-columns: 1fr;
  }
}

/* Produtos / Metodologia */
.produtos {
  padding: var(--space-12) 0;
  background-color: var(--bg-base);
}
.produtos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 600px) {
  .produtos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .produtos__grid { grid-template-columns: repeat(3, 1fr); }
}
.produto-item {
  padding: var(--space-4);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
}
.produto-item i {
  color: var(--accent-gold);
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-3);
}
.produto-item h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.produto-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Resultados */
.resultados {
  padding: var(--space-12) 0;
  background-color: var(--bg-panel);
}
.res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 992px) {
  .res-grid { grid-template-columns: 1fr 1fr; }
}
.numeros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.numero-box h3 {
  font-size: 2.5rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.numero-box p {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.depoimento-card {
  background-color: var(--bg-card);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-top: var(--space-4);
}
.depoimento-card p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--space-4);
  line-height: 1.6;
}
.dep-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #333;
  background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?q=80&w=150&auto=format&fit=crop');
  background-size: cover;
}
.dep-author strong { color: var(--accent-gold); }
.dep-author span { font-size: 0.75rem; color: var(--text-muted); }

/* CTA Banner */
.cta-banner {
  padding: var(--space-8) 0;
  background-color: var(--bg-base);
}
.cta-box {
  background: linear-gradient(135deg, #1f1a0e 0%, var(--bg-card) 100%);
  border: 1px solid var(--accent-gold);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}
@media (min-width: 992px) {
  .cta-box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: var(--space-8);
  }
}
.cta-text {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.cta-icon {
  width: 64px;
  height: 64px;
  color: var(--accent-gold);
  display: none;
}
@media (min-width: 768px) {
  .cta-icon { display: block; }
}
.cta-text h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.cta-text p {
  color: var(--text-muted);
}
.cta-actions {
  text-align: center;
}
.sub-action {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Footer */
.footer {
  background-color: #000;
  padding: var(--space-8) 0 var(--space-4) 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer__brand .navbar__logo-img {
  height: 48px;
  margin-bottom: var(--space-3);
}
.footer__desc {
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.copy {
  color: #555;
  font-size: 0.75rem;
}
.footer__links h4 {
  color: var(--text-main);
  margin-bottom: var(--space-3);
  font-size: 1rem;
}
.footer__links a, .footer__links p {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer__links a:hover {
  color: var(--accent-gold);
}
