/*
 * GERAÇÃO SOLAR ENGENHARIA - MODERN SOLAR LAYOUT
 * Colors: White, Graphite, Yellow, Orange (Strictly no blue/purple/green)
 */

/* ==========================================================================
   1. DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;         /* Soft light gray for rhythm */
  --bg-dark: #121416;          /* Premium graphite black */
  --bg-dark-surface: #1C1F22;  /* Cards on dark sections */
  
  --text-dark: #121416;
  --text-light: #FFFFFF;
  --text-muted-dark: #5C636A;
  --text-muted-light: #B5B9BD;
  
  --primary-yellow: #FFC815;   /* Sunlight yellow */
  --accent-orange: #F25C05;    /* Technical energetic orange */
  --accent-orange-hover: #D74E00;
  
  --border-light: rgba(18, 20, 22, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  /* Fonts */
  --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(18, 20, 22, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 20, 22, 0.12);
  
  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.25s ease;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  width: 100%;
}

/* Alternating Backgrounds */
.section-light {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.section-alt {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark p {
  color: var(--text-muted-light);
}

.section-dark h2, .section-dark h3 {
  color: var(--text-light);
}

/* Section Titles & Headers */
.section-header {
  max-width: 800px;
  margin-bottom: 60px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.section-dark .section-tag {
  color: var(--primary-yellow);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted-dark);
  font-weight: 400;
}

.section-dark .section-subtitle {
  color: var(--text-muted-light);
}

/* Modern Cards */
.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.section-dark .card {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  box-shadow: none;
}

.section-dark .card:hover {
  border-color: rgba(255, 200, 21, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 92, 5, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

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

.section-dark .btn-secondary {
  color: var(--text-light);
  border-color: var(--text-light);
}

.section-dark .btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
}

.btn-yellow {
  background-color: var(--primary-yellow);
  color: var(--bg-dark);
}

.btn-yellow:hover {
  background-color: #E2B00E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 200, 21, 0.25);
}

/* ==========================================================================
   4. HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 75px;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary-yellow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 900;
  font-size: 1.2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  font-weight: 700;
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: var(--transition-fast);
}

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

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

.nav-link.active {
  color: var(--text-dark);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
}



.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-tag {
  background-color: rgba(242, 92, 5, 0.08);
  color: var(--accent-orange);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-badge-authority {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 200, 21, 0.12); /* Fundo amarelo muito claro */
  border-radius: 50px;
  padding: 5px 12px;
  margin: 0 0 24px 0;
}

.hero-badge-authority span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark); /* Cinza escuro */
  letter-spacing: 0.01em;
}

.hero-badge-authority .badge-icon {
  width: 14px;
  height: 14px;
  color: #FFC815; /* Amarelo solar da marca */
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
  color: var(--text-dark);
  line-height: 1.15;
}

.hero-title span {
  color: var(--accent-orange);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted-dark);
  font-weight: 500;
  line-height: 1.65;
  max-width: min(58ch, 100%);
  margin: 0 0 32px 0;
}

.hero-ctas {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 32px 0;
}

.hero-social-proof {
  margin: 0 0 32px 0;
  text-align: left;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.star-icon {
  width: 15px;
  height: 15px;
  color: #F4B400;
  flex-shrink: 0;
}

.proof-main-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-left: 6px;
  letter-spacing: 0.01em;
}

.proof-sub-text {
  font-size: 0.72rem;
  color: var(--text-muted-dark);
  font-weight: 500;
  margin: 4px 0 0 0;
  letter-spacing: 0.01em;
}

.hero-btn-important {
  padding: 18px 36px;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 14px rgba(242, 92, 5, 0.2);
}

.hero-cta-microtext {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  font-weight: 500;
  margin-top: -2px;
  letter-spacing: 0.02em;
}

/* Credibility metrics cards */
.hero-metrics-cards {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 580px;
  margin: 0;
}

.metric-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.metric-card-icon {
  width: 36px;
  height: 36px;
  color: #FFC815;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-card-icon svg {
  width: 100%;
  height: 100%;
}

.metric-card-content {
  display: flex;
  flex-direction: column;
}

.metric-card-val {
  font-family: var(--font-title);
  font-size: 2.43rem; /* Aumentado em aproximadamente 35% de 1.8rem */
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 2px;
}

.metric-card-lbl {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .hero-metrics-cards {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    max-width: 100%;
  }
}

.hero-form-box {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.96) contrast(1.02);
}

.hero-premium-form {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-form-header {
  background-color: var(--accent-orange);
  color: var(--text-light);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-form-trust-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 10px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.trust-icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  flex-shrink: 0;
  color: var(--primary-yellow);
}

.hero-form-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
  margin-bottom: 2px;
}

.form-logo-main {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-light);
  text-transform: lowercase;
}

.form-logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  margin-top: -2px;
}

.hero-form-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero-form-subtitle {
  font-size: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin-top: -6px;
}

.hero-form-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
}

.hero-form-input {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg-white);
  border: 1px solid rgba(18, 20, 22, 0.15);
  border-radius: 6px;
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.hero-form-input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.1);
}

.hero-form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235C636A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hero-form-submit {
  width: 100%;
  padding: 14px;
  background-color: var(--accent-orange);
  color: var(--bg-white);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  margin-top: 6px;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.hero-form-submit:hover {
  background-color: var(--accent-orange-hover);
  color: var(--bg-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 92, 5, 0.2);
}

/* ==========================================================================
   6. PROBLEM SECTION
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-stat-box {
  background-color: var(--bg-dark-surface);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.stat-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(242, 92, 5, 0.15) 0%, transparent 70%);
}

.stat-number {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--primary-yellow);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.problem-text {
  max-width: 540px;
}

.problem-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-point {
  display: flex;
  gap: 16px;
}

.problem-point-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(242, 92, 5, 0.1);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.problem-point-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.problem-point-text p {
  font-size: 0.9rem;
}

/* ==========================================================================
   7. BENEFITS SECTION
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  text-align: left;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background-color: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
  background-color: var(--accent-orange);
  color: var(--bg-white);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   8. PROCESS SECTION (4 STEPS)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.process-step-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-yellow);
  display: block;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Connector lines between steps on large screens */
.process-grid-container {
  position: relative;
}

/* ==========================================================================
   9. SYSTEMS SECTION (OFFERINGS)
   ========================================================================== */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.system-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.system-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}

.system-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.system-card h3 {
  font-size: 1.5rem;
}

.system-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

.system-list li svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.system-cta {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   10. ECONOMY SIMULATOR SECTION (FEATURED)
   ========================================================================== */
.simulator-section {
  background-color: var(--bg-light);
}

.simulator-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.simulator-input-panel {
  border-right: 1px solid var(--border-light);
  padding-right: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sim-slider-group {
  margin: 32px 0;
}

.sim-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.sim-slider-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.sim-slider-val {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.sim-slider-control {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #E9ECEF;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.sim-slider-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-orange);
  border: 4px solid var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
}

.sim-slider-control::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--text-dark);
}

.sim-slider-control::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-orange);
  border: 4px solid var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
  cursor: pointer;
}

.sim-slider-control::-moz-range-thumb:hover {
  transform: scale(1.15);
  background: var(--text-dark);
}

.simulator-result-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.sim-result-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.sim-result-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.sim-result-val {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.sim-result-val.highlight {
  color: var(--accent-orange);
}

.sim-result-val.percentage {
  color: #198754; /* Success green allowed only for standard values representation */
}

.simulator-cta {
  width: 100%;
  font-size: 1.05rem;
  padding: 16px 28px;
}

/* ==========================================================================
   11. DIFFERENTIAIS SECTION
   ========================================================================== */
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.dif-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dif-card {
  display: flex;
  gap: 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.dif-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 200, 21, 0.1);
  color: var(--accent-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dif-card-text h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.dif-card-text p {
  font-size: 0.9rem;
}

.dif-promo-box {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  color: var(--text-light);
}

.dif-promo-box h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.dif-promo-box p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ==========================================================================
   12. DEPOIMENTOS (TESTIMONIALS)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  position: relative;
}

.testimonial-stars {
  color: var(--primary-yellow);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-orange);
  border: 2px solid var(--border-light);
}

.client-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.client-info p {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   13. FORMULARIO DE ORÇAMENTO (LEAD CAPTURE)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.contact-text-box h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-channels {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(242, 92, 5, 0.1);
  color: var(--accent-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-channel-text p:first-child {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

.contact-channel-text p:last-child {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-orange);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   14. FAQ (ACCORDION)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-orange);
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-content p {
  padding-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Active state */
.faq-item.active {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-sm);
}

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

.faq-item.active .faq-content {
  max-height: 300px; /* Large enough value to hold the text */
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-yellow);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted-light);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   16. ANIMATIONS & REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   PROJETOS REALIZADOS (CARROSSEL)
   ========================================================================== */
#projetos {
  background-color: var(--bg-white);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 48px;
  padding: 0 40px;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 24px;
  width: 100%;
}

/* Cards */
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  flex: 0 0 calc((100% - 48px) / 3);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.project-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Badges */
.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-badge.residencial {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--accent-orange);
}

.project-badge.comercial {
  background-color: var(--accent-orange);
  color: var(--bg-white);
}

.project-badge.rural {
  background-color: var(--text-dark);
  color: var(--bg-white);
}

/* Overlays */
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px 20px;
  background: linear-gradient(to top, rgba(18, 20, 22, 0.9) 0%, rgba(18, 20, 22, 0.4) 60%, rgba(18, 20, 22, 0) 100%);
  color: var(--bg-white);
  z-index: 2;
  transition: background 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-city {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: var(--bg-white);
}

.project-power {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Hovers */
.project-card:hover .project-img-wrapper img {
  transform: scale(1.03);
}

.project-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(18, 20, 22, 0.95) 0%, rgba(18, 20, 22, 0.5) 60%, rgba(18, 20, 22, 0) 100%);
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-btn:hover {
  background-color: var(--accent-orange);
  color: var(--bg-white);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(242, 92, 5, 0.2);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.prev-btn {
  left: -10px;
}

.next-btn {
  right: -10px;
}

/* Scroll Animations */
#projetos .section-header .section-tag.reveal {
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0s;
}

#projetos .section-header .section-title.reveal {
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.15s;
}

#projetos .section-header .section-subtitle.reveal {
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.3s;
}

#projetos .carousel-wrapper.reveal {
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.45s;
}

.project-card.reveal-delay-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-wrapper.active .project-card.reveal-delay-stagger {
  opacity: 1;
  transform: translateY(0);
}

.carousel-wrapper.active .project-card.reveal-delay-stagger:nth-child(1) { transition-delay: 0.55s; }
.carousel-wrapper.active .project-card.reveal-delay-stagger:nth-child(2) { transition-delay: 0.7s; }
.carousel-wrapper.active .project-card.reveal-delay-stagger:nth-child(3) { transition-delay: 0.85s; }
.carousel-wrapper.active .project-card.reveal-delay-stagger:nth-child(4) { transition-delay: 1.0s; }

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Responsive breakpoints for Carousel */
@media (max-width: 992px) {
  .project-card {
    flex: 0 0 calc((100% - 24px) / 2); /* 2 cards no tablet */
  }
  .carousel-wrapper {
    padding: 0 30px;
  }
}

@media (max-width: 576px) {
  .project-card {
    flex: 0 0 100%; /* 1 card no celular */
  }
  .carousel-wrapper {
    padding: 0 15px;
  }
  .prev-btn {
    left: -5px;
  }
  .next-btn {
    right: -5px;
  }
}

/* ==========================================================================
   17. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
  
  .hero-image-box {
    height: 420px;
  }
  
  .benefits-grid, .process-grid, .systems-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .simulator-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  
  .simulator-input-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .header {
    height: 80px;
  }
  
  .header.scrolled {
    height: 70px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-light);
    overflow-y: auto;
  }
  
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    margin: 0 auto;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
  }

  .hero-badge-authority {
    align-self: center;
    margin: 0 auto 24px auto;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
  }

  .hero-badge-authority span {
    white-space: normal;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 32px auto;
  }
  
  .hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px auto;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-btn-important {
    width: 100%;
    max-width: 340px;
    padding: 16px 20px;
    font-size: 0.95rem;
    box-sizing: border-box;
    text-align: center;
  }

  .hero-social-proof {
    text-align: center;
    margin: 0 auto 32px auto;
    width: 100%;
    box-sizing: border-box;
  }

  .stars-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-metrics-cards {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    margin: 0 auto;
  }

  .metric-card {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .sim-results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hero-image-box {
    max-width: 500px;
    margin: 0 auto;
    height: 380px;
  }
  
  .problem-grid, .diferenciais-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .problem-text, .contact-text-box {
    max-width: 100%;
    text-align: center;
  }
  
  .problem-points {
    align-items: flex-start;
    text-align: left;
  }
  
  .benefits-grid, .process-grid, .systems-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 40px; /* Altura ideal baseada na proporção do logo */
  width: auto;
  display: block;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-link:hover {
  color: var(--accent-orange);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-orange {
  display: inline-block;
  background-color: var(--accent-orange);
  color: var(--bg-white);
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(242, 92, 5, 0.15);
}

.btn-orange:hover {
  background-color: #d04f04;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(242, 92, 5, 0.25);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.navbar-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Navbar Menu */
@media (max-width: 992px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  
  .navbar-menu.active {
    transform: translateX(0);
  }
  
  .navbar-link {
    font-size: 1.15rem;
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
  
  .navbar-actions .navbar-cta {
    display: none;
  }
}

/* ==========================================================================
   ADDITIONAL STYLES FOR INSTITUTIONAL SITE (SOCIALS, PROJECTS & BLOG)
   ========================================================================== */

/* Navbar Social Links */
.navbar-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 16px;
}

.navbar-social-icon {
  color: var(--text-muted-dark);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-social-icon:hover {
  color: var(--accent-orange);
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  .navbar-social-links {
    margin-right: 0;
    margin-bottom: 20px;
    justify-content: center;
    width: 100%;
  }
}

/* Projects Page Filter Tabs */
.projects-filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-muted-dark);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.filter-btn.active {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(242, 92, 5, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* Blog Articles Layout */
.articles-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Modal for Project details */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 20, 22, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  max-width: 650px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
}

.modal-close-btn:hover {
  background-color: var(--accent-orange);
  color: var(--bg-white);
}

.modal-img-wrapper {
  height: 280px;
  width: 100%;
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 32px;
}

.modal-title {
  font-size: 1.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
  background-color: var(--bg-light);
  padding: 16px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
}

.modal-meta-item {
  display: flex;
  flex-direction: column;
}

.modal-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

.modal-meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
