/* ==========================================================================
   NEXTVALE - DESIGN SYSTEM & STYLESHEET
   Conceito: O Vale do Silício Brasileiro encontra a Serenidade das Montanhas.
   Estética: Editorial Orgânica, Luxo Silencioso, Engenharia de Dados & BI.
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta Orgânica & Mineral */
  --bg-main: #F5F7F4;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EBEFEA;

  --bg-dark: #0B1711;
  --bg-dark-surface: #12241B;
  --bg-dark-card: #182C22;

  --accent-gold: #C28E44;
  --accent-gold-light: #DFAC62;
  --accent-gold-glow: rgba(194, 142, 68, 0.25);

  --accent-forest: #1A3B2B;
  --accent-leaf: #2A5842;

  --text-dark: #1A1D1B;
  --text-muted: #565E59;
  --text-subtle: #7F8883;

  --text-light: #F5F7F4;
  --text-light-muted: #A3ACA6;

  --border-light: rgba(26, 29, 27, 0.08);
  --border-dark: rgba(245, 247, 244, 0.12);
  --border-gold: rgba(194, 142, 68, 0.3);

  /* Tipografia */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transições & Sombras */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.4);
}

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

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

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

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #C4CCC7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Tipografia Reutilizável */
h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.text-gold {
  color: var(--accent-gold);
}

.italic {
  font-style: italic;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease-out);
}

.header.scrolled {
  background: rgba(245, 247, 244, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.btn-header {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0.7rem 1.5rem;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-header:hover {
  background: var(--accent-gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-gold-glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s var(--ease-out);
    padding: 2rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 247, 244, 0.4) 0%, rgba(235, 239, 234, 0.8) 100%);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  filter: contrast(1.05) saturate(1.1);
  pointer-events: none;
}

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

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(194, 142, 68, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-forest);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.tag-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.08;
  color: var(--bg-dark);
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-forest);
  color: var(--text-light);
  padding: 1rem 2.2rem;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-gold);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--accent-gold-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  padding: 1rem 2rem;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Card Interativo de BI no Hero */
.hero-bi-card {
  background: rgba(18, 36, 27, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 2rem;
  color: var(--text-light);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

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

.bi-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #4ADE80;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bi-status .live-pulse {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 12px #4ADE80;
  animation: pulse-dot 1.5s infinite;
}

.bi-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light-muted);
}

.bi-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.bi-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.2rem;
}

.bi-metric-label {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  margin-bottom: 0.3rem;
}

.bi-metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-body);
}

.bi-metric-trend {
  font-size: 0.75rem;
  color: #4ADE80;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.3rem;
}

/* Gráfico Simulado BI */
.bi-chart-container {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 1rem;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(194, 142, 68, 0.2) 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s var(--ease-out);
  position: relative;
}

.chart-bar:hover::after {
  content: attr(data-value);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-bg-image {
    width: 100%;
    opacity: 0.35;
  }

  .hero-title {
    font-size: 3rem;
  }
}

/* ==========================================================================
   SEÇÃO QUEM SOMOS & ESSÊNCIA
   ========================================================================== */
.section-about {
  padding: 8rem 0;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 5rem;
}

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

.about-title {
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-text.strong-about {
  font-weight: 600;
  color: var(--accent-forest);
  font-size: 1.1rem;
}

.about-highlight {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

.about-cards-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.essence-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

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

.essence-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.essence-svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.essence-title {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin: 0;
}

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

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.975rem;
  color: var(--text-dark);
  font-weight: 500;
}

.values-list li span {
  color: var(--accent-gold);
  font-weight: bold;
}

/* Nossa Atuação Section */
.about-atuacao {
  border-top: 1px solid var(--border-light);
  padding-top: 4rem;
}

.atuacao-title {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  text-align: center;
}

.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.atuacao-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.atuacao-item:hover {
  background: var(--bg-subtle);
  border-color: var(--accent-gold);
  transform: scale(1.02);
}

.atuacao-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   SEÇÃO MANIFESTO: DADOS SÃO O NOVO PETRÓLEO
   ========================================================================== */
.oil-subtitle {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
  line-height: 1.4;
  font-style: italic;
}

.oil-emphasis {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.oil-quote {
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light-muted);
  line-height: 1.7;
}

.manifesto-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
}

.manifesto-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.manifesto-tagline {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  font-style: italic;
}

.section-oil {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.oil-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.section-tag {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: block;
}

.section-title-light {
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.oil-text {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.oil-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.oil-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.oil-icon {
  width: 44px;
  height: 44px;
  background: rgba(194, 142, 68, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.oil-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.oil-item-desc {
  font-size: 0.925rem;
  color: var(--text-light-muted);
}

/* Card Visual da Mineração de Dados */
.oil-visual-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark);
}

.oil-visual-card img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.85) contrast(1.1);
}

.oil-overlay-glass {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(18, 36, 27, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.5rem;
}

.oil-overlay-title {
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.oil-overlay-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .oil-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   CONTRASTE INTERATIVO: CAOS VS. TRANQUILIDADE
   ========================================================================== */
.section-contrast {
  padding: 7rem 0;
  background: var(--bg-main);
}

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

.contrast-title {
  font-size: 3.2rem;
  color: var(--bg-dark);
  margin-bottom: 1rem;
}

.contrast-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Toggle Switch Caos/NextVale */
.contrast-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.toggle-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s ease;
}

.toggle-label.active {
  color: var(--accent-gold);
}

.switch {
  position: relative;
  display: inline-block;
  width: 68px;
  height: 36px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #D1D8D4;
  transition: .4s var(--ease-out);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s var(--ease-out);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

input:checked+.slider {
  background-color: var(--accent-forest);
}

input:checked+.slider:before {
  transform: translateX(32px);
  background-color: var(--accent-gold);
}

/* Cards de Comparação */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.card-state {
  border-radius: 24px;
  padding: 3rem;
  transition: all 0.4s var(--ease-out);
}

.card-state.chaos {
  background: #EBE0DC;
  border: 1px solid rgba(184, 80, 66, 0.2);
}

.card-state.peace {
  background: var(--bg-dark-surface);
  color: var(--text-light);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.state-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.chaos .state-badge {
  background: rgba(184, 80, 66, 0.15);
  color: #B85042;
}

.peace .state-badge {
  background: rgba(194, 142, 68, 0.2);
  color: var(--accent-gold);
}

.state-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.state-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.state-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
}

.chaos .state-list li {
  color: #4A3532;
}

.peace .state-list li {
  color: var(--text-light-muted);
}

.icon-cross {
  color: #B85042;
  font-weight: 700;
}

.icon-check {
  color: var(--accent-gold);
  font-weight: 700;
}

@media (max-width: 768px) {
  .contrast-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SOLUÇÕES SOB MEDIDA (GRID EDITORIAL DE SERVIÇOS)
   ========================================================================== */
.section-services {
  padding: 7.5rem 0;
  background: var(--bg-surface);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.services-title {
  font-size: 3.4rem;
  color: var(--bg-dark);
}

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

.service-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-surface);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.service-name {
  font-size: 1.6rem;
  color: var(--bg-dark);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-link {
  color: var(--accent-forest);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-link {
  color: var(--accent-gold);
}

/* ==========================================================================
   CONCEITO VALE DO SILÍCIO BRASILEIRO (SERRA + TECNOLOGIA)
   ========================================================================== */
.section-valley {
  background: linear-gradient(180deg, var(--bg-dark-surface) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  padding: 8rem 0;
  position: relative;
}

.valley-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.valley-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.valley-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.valley-image-wrapper:hover img {
  transform: scale(1.04);
}

.valley-content {
  padding-right: 2rem;
}

.valley-title {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.valley-text {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.quote-box {
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.5rem;
  margin-top: 2rem;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent-gold-light);
}

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

/* ==========================================================================
   CALCULADORA DE ROI & EFICIÊNCIA OPERACIONAL
   ========================================================================== */
.section-calculator {
  padding: 7.5rem 0;
  background: var(--bg-subtle);
}

.calc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  max-width: 960px;
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  margin-bottom: 3rem;
}

.calc-title {
  font-size: 2.8rem;
  color: var(--bg-dark);
  margin-bottom: 0.8rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.range-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.range-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 8px;
  background: #D8E0DA;
  border-radius: 4px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 4px 10px var(--accent-gold-glow);
  transition: transform 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-val-display {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-forest);
  min-width: 80px;
  text-align: right;
}

.calc-results-card {
  background: var(--bg-dark-surface);
  color: var(--text-light);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border-gold);
}

.res-label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.res-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.res-sub {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-box {
    padding: 2rem;
  }
}

/* ==========================================================================
   FOOTER & CTA FINAL
   ========================================================================== */
.footer-cta {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 7rem 0 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto 5rem auto;
}

.cta-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.25rem;
  color: var(--text-light-muted);
  margin-bottom: 2.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

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

@media (max-width: 768px) {
  .cta-title {
    font-size: 2.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   AUDITORIA & OTIMIZAÇÃO DE RESPONSIVIDADE (CELULARES, TABLETS E COMPUTADORES)
   ========================================================================== */

/* Ajustes gerais de espaçamento e tipografia para tablets (max-width: 992px) */
@media (max-width: 992px) {
  .about-title {
    font-size: 2.6rem;
  }
  .section-title-light {
    font-size: 2.6rem;
  }
  .services-title {
    font-size: 2.6rem;
  }
  .valley-title {
    font-size: 2.6rem;
  }
  .calc-title {
    font-size: 2.2rem;
  }
}

/* Ajustes de layout e espaçamento para dispositivos móveis (max-width: 768px) */
@media (max-width: 768px) {
  /* Redução de Padding das Seções */
  .section-about,
  .section-oil,
  .section-contrast,
  .section-services,
  .section-valley,
  .section-calculator,
  .footer-cta {
    padding: 4.5rem 0 !important;
  }
  
  .footer-cta {
    padding-bottom: 2.5rem !important;
  }

  /* Logotipo responsivo */
  .brand-logo img {
    height: 70px;
  }

  /* Seção Quem Somos */
  .about-grid {
    gap: 2.5rem;
  }
  
  .about-atuacao {
    padding-top: 2.5rem;
  }
  
  .about-highlight {
    font-size: 1.6rem;
    margin: 1.2rem 0;
  }

  /* Seção de Serviços */
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  /* Seção Origem (Vale do Silício Brasileiro) */
  .valley-image-wrapper img {
    height: 320px;
  }

  /* Calculadora */
  .calc-box {
    padding: 1.75rem;
    border-radius: 20px;
  }
}

/* Ajustes finos para celulares pequenos (max-width: 576px) */
@media (max-width: 576px) {
  /* Tipografia Ultra Responsiva */
  .hero-title {
    font-size: 2.3rem !important;
    line-height: 1.15;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .about-title, 
  .section-title-light, 
  .contrast-title, 
  .services-title, 
  .valley-title {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .calc-title,
  .cta-title {
    font-size: 1.8rem !important;
  }

  .about-highlight {
    font-size: 1.35rem !important;
    padding-left: 1rem;
  }

  .res-number {
    font-size: 2.6rem !important;
  }

  /* Botões do Hero */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
  }

  /* Cards e Itens da Atuação */
  .essence-card {
    padding: 1.5rem;
  }

  .atuacao-item {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
}