/* ==========================================================================
       DESIGN SYSTEM: DARK SOLAR PRESTIGE — DECISÃO ENERGIA SOLAR
       Barra do Garças - MT | Direção: Marosam Dias
       ========================================================================== */
    :root {
      --bg: #070C18;
      --bg-alt: #0B1325;
      --surface: #0F1A30;
      --card: #121F3D;
      --card-hover: #17274D;
      --card-border: rgba(255, 255, 255, 0.08);
      --card-border-glow: rgba(249, 115, 22, 0.35);

      --fg: #FFFFFF;
      --fg-muted: #E2E8F0;
      --fg-dim: #94A3B8;

      --orange: #F97316;
      --orange-hover: #EA580C;
      --orange-glow: rgba(249, 115, 22, 0.4);
      --gold: #FBBF24;
      --cyan: #38BDF8;
      --blue: #2563EB;
      --green: #22C55E;

      --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-full: 9999px;

      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
      --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
      --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
      --shadow-glow: 0 0 30px rgba(249, 115, 22, 0.25);

      --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      background-color: var(--bg);
      color-scheme: dark;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg);
      color: var(--fg-muted);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* Acessibilidade WCAG */
    .skip-link {
      position: absolute;
      top: -60px;
      left: 16px;
      background: var(--orange);
      color: #fff;
      padding: 12px 20px;
      z-index: 99999;
      font-weight: 700;
      border-radius: var(--radius-sm);
      transition: top 0.2s ease;
      text-decoration: none;
    }

    .skip-link:focus {
      top: 16px;
    }

    :focus-visible {
      outline: 2px solid var(--orange);
      outline-offset: 3px;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Tipografia */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: var(--font-heading);
      color: var(--fg);
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.015em;
    }

    /* Componentes Globais */
    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      background: rgba(249, 115, 22, 0.12);
      border: 1px solid rgba(249, 115, 22, 0.3);
      border-radius: var(--radius-full);
      color: var(--orange);
      font-family: var(--font-heading);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .section-tag::before {
      content: '';
      width: 7px;
      height: 7px;
      background: var(--orange);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--orange);
    }

    .section-header-center {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 50px;
    }

    .section-title {
      font-size: clamp(1.85rem, 3.2vw, 2.75rem);
      color: var(--fg);
      margin-bottom: 14px;
      font-weight: 800;
    }

    .section-desc {
      font-size: 1.05rem;
      color: var(--fg-dim);
      line-height: 1.6;
    }

    /* Botões */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 50px;
      padding: 13px 26px;
      border-radius: var(--radius-md);
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 0.98rem;
      text-decoration: none;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      max-width: 100%;
      text-align: center;
      line-height: 1.35;
      box-sizing: border-box;
    }

    .btn:active {
      transform: scale(0.98);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--orange) 0%, #D95D0F 100%);
      color: #FFFFFF;
      box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #FB923C 0%, var(--orange) 100%);
      box-shadow: 0 8px 28px rgba(249, 115, 22, 0.55);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      color: #FFFFFF;
      border-color: rgba(255, 255, 255, 0.16);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: var(--cyan);
      color: var(--cyan);
      transform: translateY(-2px);
    }

    .btn-whatsapp {
      background: #25D366;
      color: #FFFFFF;
      box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    }

    .btn-whatsapp:hover {
      background: #1EBE5D;
      transform: translateY(-2px);
      box-shadow: 0 8px 26px rgba(37, 211, 102, 0.48);
    }

    /* HEADER */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(7, 12, 24, 0.94);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--card-border);
      transition: var(--transition);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 78px;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      transition: transform 0.2s ease;
    }
    .brand-logo:hover {
      transform: scale(1.02);
    }
    .brand-logo-img {
      height: 48px;
      width: auto;
      max-width: 185px;
      object-fit: contain;
      display: block;
    }
    .footer-logo-img {
      height: 46px;
      width: auto;
      margin-bottom: 16px;
      display: block;
      filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .nav-link {
      font-family: var(--font-heading);
      font-weight: 500;
      font-size: 0.94rem;
      color: var(--fg-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-link:hover {
      color: var(--orange);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-mobile-toggle {
      display: none;
      background: transparent;
      border: 1px solid var(--card-border);
      color: #fff;
      padding: 8px;
      border-radius: var(--radius-sm);
      cursor: pointer;
    }

    /* Mobile Drawer */
    .mobile-drawer {
      display: none;
      flex-direction: column;
      gap: 16px;
      padding: 24px;
      background: var(--bg-alt);
      border-bottom: 1px solid var(--card-border);
    }

    .mobile-drawer.open {
      display: flex;
    }

    .mobile-drawer .nav-link {
      font-size: 1.05rem;
      padding: 6px 0;
    }

    /* HERO SECTION */
    .hero-section {
      padding: 65px 0 80px;
      position: relative;
      overflow: hidden;
      background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 70%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.95fr;
      gap: 48px;
      align-items: center;
    }

    .hero-rating-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 16px;
      background: rgba(251, 191, 36, 0.1);
      border: 1px solid rgba(251, 191, 36, 0.28);
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      color: var(--gold);
      font-weight: 600;
      margin-bottom: 20px;
    }

    .hero-title {
      font-size: clamp(2.2rem, 4.2vw, 3.4rem);
      line-height: 1.15;
      font-weight: 800;
      color: #FFFFFF;
      margin-bottom: 18px;
    }

    .hero-title .highlight-orange {
      color: var(--orange);
      background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-lead {
      font-size: 1.12rem;
      color: var(--fg-muted);
      line-height: 1.65;
      margin-bottom: 30px;
      max-width: 580px;
    }

    .hero-cta-group {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 36px;
    }

    .hero-metrics-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      padding-top: 24px;
      border-top: 1px solid var(--card-border);
    }

    .metric-box {
      display: flex;
      flex-direction: column;
    }

    .metric-number {
      font-family: var(--font-heading);
      font-size: 1.85rem;
      font-weight: 800;
      color: var(--fg);
      line-height: 1.1;
    }

    .metric-number.highlight {
      color: var(--gold);
    }

    .metric-label {
      font-size: 0.8rem;
      color: var(--fg-dim);
      margin-top: 4px;
      line-height: 1.3;
    }

    /* Hero Visual Card com Foto Real */
    .hero-visual-card {
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg), var(--shadow-glow);
      position: relative;
    }

    .hero-visual-media {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      min-height: 220px;
      overflow: hidden;
      background: #000;
    }

    .hero-visual-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.6s ease;
    }

    .hero-visual-card:hover .hero-visual-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.6s ease;
    }

    .hero-visual-badge {
      position: absolute;
      bottom: 16px;
      left: 16px;
      background: rgba(7, 12, 24, 0.88);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-full);
      padding: 6px 14px;
      font-size: 0.78rem;
      font-weight: 700;
      color: #FFFFFF;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .hero-visual-badge::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 8px var(--green);
    }

    .hero-visual-body {
      padding: 24px;
    }

    .hero-visual-title {
      font-size: 1.25rem;
      margin-bottom: 8px;
      color: #fff;
    }

    .hero-visual-desc {
      font-size: 0.92rem;
      color: var(--fg-dim);
      line-height: 1.5;
      margin-bottom: 20px;
    }

    .hero-engineer-stamp {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 16px;
      background: var(--card);
      border-radius: var(--radius-md);
      border: 1px solid var(--card-border);
    }

    .engineer-thumb {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--orange);
    }

    .engineer-info h4 {
      font-size: 0.95rem;
      color: #FFFFFF;
      line-height: 1.2;
    }

    .engineer-info p {
      font-size: 0.78rem;
      color: var(--orange);
      font-weight: 600;
      margin-top: 2px;
    }

    /* ==========================================================================
       SEÇÃO: OBRAS REAIS EM CAMPO & PROVA SOCIAL EM VÍDEO
       ========================================================================== */
    .field-section {
      padding: 90px 0;
      background: var(--bg-alt);
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
      position: relative;
    }

    .field-hero-video-card {
      background: var(--surface);
      border: 1px solid var(--card-border-glow);
      border-radius: var(--radius-lg);
      padding: 32px;
      margin-bottom: 48px;
      box-shadow: var(--shadow-lg), 0 0 35px rgba(249, 115, 22, 0.15);
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 36px;
      align-items: center;
    }

    .video-player-wrap {
      position: relative;
      border-radius: var(--radius-md);
      overflow: hidden;
      background: #000;
      box-shadow: var(--shadow-md);
      aspect-ratio: 16/9;
    }

    .video-player-wrap video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .video-player-wrap.portrait-mode {
      aspect-ratio: 9 / 16;
      width: 100%;
      max-width: 320px;
      max-height: 520px;
      margin: 0 auto;
      background: #000;
    }
    .video-player-wrap.portrait-mode video {
      object-fit: contain;
      background: #000;
    }

    .field-card-info .badge-verified {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      background: rgba(34, 197, 94, 0.12);
      border: 1px solid rgba(34, 197, 94, 0.3);
      border-radius: var(--radius-full);
      color: var(--green);
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 14px;
    }

    .field-card-info h3 {
      font-size: 1.65rem;
      color: #FFFFFF;
      margin-bottom: 12px;
      line-height: 1.25;
    }

    .field-quote-box {
      background: var(--card);
      border-left: 3px solid var(--orange);
      padding: 16px 20px;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin: 18px 0;
      font-style: italic;
      color: #FFFFFF;
      font-size: 0.98rem;
    }

    .field-specs-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 24px;
    }

    .field-specs-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
      color: var(--fg-muted);
    }

    .field-specs-list svg {
      color: var(--orange);
      flex-shrink: 0;
    }

    /* Grid de Vídeos e Fotos Adicionais */
    .field-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .field-subcard {
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }

    .field-subcard:hover {
      transform: translateY(-4px);
      border-color: var(--card-border-glow);
      box-shadow: var(--shadow-md);
    }

    .field-subcard-media {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      min-height: 190px;
      background: #000;
      overflow: hidden;
    }

    .field-subcard-media video,
    .field-subcard-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .field-subcard-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .field-subcard-tag {
      font-size: 0.74rem;
      color: var(--orange);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 6px;
    }

    .field-subcard-title {
      font-size: 1.08rem;
      color: #fff;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .field-subcard-desc {
      font-size: 0.86rem;
      color: var(--fg-dim);
      line-height: 1.5;
    }

    /* ==========================================================================
       SEÇÃO: SIMULADOR SOLAR DINÂMICO DARK
       ========================================================================== */
    .simulator-section {
      padding: 95px 0;
      background: var(--bg);
      position: relative;
    }

    .calc-card {
      background: var(--surface);
      border: 1px solid var(--card-border-glow);
      border-radius: var(--radius-lg);
      padding: 38px;
      box-shadow: var(--shadow-xl);
      display: grid;
      grid-template-columns: 1.15fr 0.95fr;
      gap: 40px;
      align-items: start;
      width: 100%;
      box-sizing: border-box;
    }
    .calc-controls,
    .calc-results-box {
      min-width: 0;
      width: 100%;
      box-sizing: border-box;
    }

    .calc-group-label {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: #FFFFFF;
      margin-bottom: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .calc-types-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 30px;
    }

    .type-btn {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 16px 10px;
      color: var(--fg-muted);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      font-family: var(--font-heading);
      font-size: 0.88rem;
      font-weight: 600;
      transition: var(--transition);
    }

    .type-btn:hover {
      border-color: rgba(249, 115, 22, 0.4);
      color: #FFFFFF;
      background: var(--card-hover);
    }

    .type-btn.active {
      border-color: var(--orange);
      background: rgba(249, 115, 22, 0.12);
      color: var(--orange);
      box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
    }

    .slider-val-display {
      font-size: 1.55rem;
      font-weight: 800;
      color: var(--orange);
      font-family: var(--font-heading);
    }

    .range-slider {
      -webkit-appearance: none;
      width: 100%;
      height: 10px;
      border-radius: 5px;
      background: #1E293B;
      outline: none;
      margin: 16px 0 10px;
      cursor: pointer;
    }

    .range-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--orange);
      cursor: pointer;
      box-shadow: 0 0 12px var(--orange);
      border: 2px solid #FFFFFF;
      transition: transform 0.1s ease;
    }

    .range-slider::-webkit-slider-thumb:hover {
      transform: scale(1.15);
    }

    .calc-tip-box {
      background: rgba(249, 115, 22, 0.08);
      border: 1px solid rgba(249, 115, 22, 0.25);
      border-left: 4px solid var(--orange);
      padding: 16px;
      border-radius: var(--radius-sm);
      margin-top: 24px;
      font-size: 0.88rem;
      color: #FFFFFF;
      line-height: 1.5;
    }

    /* Resultados do Simulador */
    .calc-results-box {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 30px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      text-align: center;
    }

    .result-highlight-card {
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
      border: 1px solid rgba(249, 115, 22, 0.35);
      border-radius: var(--radius-md);
      padding: 22px;
    }

    .result-subtext {
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--orange);
      font-weight: 700;
      margin-bottom: 6px;
    }

    .result-big-val {
      font-family: var(--font-heading);
      font-size: clamp(2.2rem, 3.8vw, 3rem);
      font-weight: 900;
      color: #FFFFFF;
      letter-spacing: -0.02em;
    }

    .result-stats-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding-top: 14px;
      border-top: 1px solid var(--card-border);
      text-align: left;
    }

    .stat-label {
      font-size: 0.78rem;
      color: var(--fg-dim);
      display: block;
      margin-bottom: 2px;
    }

    .stat-val {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 700;
      color: #FFFFFF;
    }

    /* ==========================================================================
       SEÇÃO: DIFERENCIAIS / 4 PILARES TÉCNICOS
       ========================================================================== */
    .features-section {
      padding: 90px 0;
      background: var(--bg-alt);
      border-top: 1px solid var(--card-border);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 20px;
    }
    @media (min-width: 1200px) {
      .features-grid {
        grid-template-columns: repeat(5, 1fr);
      }
    }

    .feature-card {
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 26px 20px;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .feature-card.highlight-card {
      border-color: rgba(249, 115, 22, 0.4);
      background: linear-gradient(180deg, rgba(249, 115, 22, 0.08) 0%, var(--surface) 100%);
    }

    .feature-card:hover {
      transform: translateY(-5px);
      border-color: var(--card-border-glow);
      box-shadow: var(--shadow-md);
    }

    .feature-icon-box {
      width: 56px;
      height: 56px;
      background: rgba(249, 115, 22, 0.12);
      border: 1px solid rgba(249, 115, 22, 0.3);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--orange);
      margin-bottom: 20px;
    }

    .feature-title {
      font-size: 1.25rem;
      color: #FFFFFF;
      margin-bottom: 12px;
    }

    .feature-desc {
      font-size: 0.92rem;
      color: var(--fg-dim);
      line-height: 1.6;
    }

    /* ==========================================================================
       SEÇÃO: TABELA COMPARATIVA DE TRANSPARÊNCIA
       ========================================================================== */
    .comparison-section {
      padding: 85px 0;
      background: var(--bg);
    }

    .comparison-table-wrap {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      background: var(--surface);
      width: 100%;
      max-width: 100%;
    }
    .table-scroll-hint {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 0.82rem;
      color: var(--orange);
      margin-bottom: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    .comp-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.94rem;
    }

    .comp-table th,
    .comp-table td {
      padding: 18px 24px;
      border-bottom: 1px solid var(--card-border);
    }

    .comp-table th {
      background: var(--card);
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1rem;
      color: #FFFFFF;
    }

    .comp-table th.decisao-header {
      background: rgba(249, 115, 22, 0.15);
      color: var(--orange);
      border-left: 2px solid var(--orange);
      border-right: 2px solid var(--orange);
    }

    .comp-table td.decisao-col {
      background: rgba(249, 115, 22, 0.05);
      border-left: 2px solid rgba(249, 115, 22, 0.3);
      border-right: 2px solid rgba(249, 115, 22, 0.3);
      color: #FFFFFF;
      font-weight: 500;
    }

    .comp-check {
      color: var(--green);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .comp-cross {
      color: #EF4444;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    /* ==========================================================================
       SEÇÃO: PORTFÓLIO DE PROJETOS EXECUTADOS
       ========================================================================== */
    .projects-section {
      padding: 90px 0;
      background: var(--bg-alt);
      border-top: 1px solid var(--card-border);
    }

    .projects-filter-bar {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 40px;
    }

    .filter-btn {
      background: var(--surface);
      border: 1px solid var(--card-border);
      color: var(--fg-muted);
      padding: 10px 22px;
      border-radius: var(--radius-full);
      font-family: var(--font-heading);
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }

    .filter-btn:hover {
      border-color: var(--orange);
      color: #FFFFFF;
    }

    .filter-btn.active {
      background: var(--orange);
      color: #FFFFFF;
      border-color: var(--orange);
      box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 28px;
    }

    .project-card {
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      transform: translateY(-6px);
      border-color: var(--card-border-glow);
      box-shadow: var(--shadow-lg);
    }

    .project-thumb-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 10;
      min-height: 190px;
      overflow: hidden;
      background: #000;
    }

    .project-thumb {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .project-card:hover .project-thumb {
      transform: scale(1.05);
    }

    .project-cat-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      background: rgba(7, 12, 24, 0.85);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-full);
      padding: 4px 12px;
      font-size: 0.74rem;
      font-weight: 700;
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .project-info {
      padding: 22px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .project-name {
      font-size: 1.18rem;
      color: #FFFFFF;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .project-desc-text {
      font-size: 0.88rem;
      color: var(--fg-dim);
      line-height: 1.5;
      margin-bottom: 16px;
      flex-grow: 1;
    }

    .project-specs {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 14px;
      border-top: 1px solid var(--card-border);
      font-size: 0.82rem;
      color: var(--fg-muted);
    }

    /* ==========================================================================
       SEÇÃO: QUEM SOMOS / MAROSAM DIAS & ENGENHARIA LOCAL
       ========================================================================== */
    .about-section {
      padding: 95px 0;
      background: var(--bg);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 50px;
      align-items: center;
    }

    .about-visual-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      position: relative;
    }

    .about-photo-box {
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--card-border);
      box-shadow: var(--shadow-md);
      background: #070C18;
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 5;
      max-height: 420px;
    }

    .about-photo-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 15%; /* ANCORA SUPERIOR: Garante enquadramento perfeito sem cortar o rosto */
      display: block;
      transition: transform 0.5s ease;
    }
    .about-photo-box:hover img {
      transform: scale(1.03);
    }

    .about-badge-local {
      grid-column: span 2;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-left: 3px solid var(--orange);
      padding: 16px 20px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      gap: 14px;
      color: #FFFFFF;
      font-size: 0.92rem;
    }

    .about-badge-local svg {
      color: var(--orange);
      flex-shrink: 0;
    }

    .about-role-sub {
      font-size: 1.1rem;
      color: var(--orange);
      font-weight: 700;
      margin-bottom: 18px;
    }

    .about-manifesto {
      font-size: 1rem;
      color: var(--fg-muted);
      line-height: 1.65;
      margin-bottom: 16px;
    }

    .about-quote-box {
      background: var(--surface);
      border-left: 4px solid var(--gold);
      padding: 20px;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin: 24px 0 32px;
      font-style: italic;
      color: #FFFFFF;
      font-size: 1.02rem;
      line-height: 1.6;
    }

    /* ==========================================================================
       SEÇÃO: PERGUNTAS FREQUENTES (FAQ)
       ========================================================================== */
    .faq-section {
      padding: 90px 0;
      background: var(--bg-alt);
      border-top: 1px solid var(--card-border);
    }

    .faq-list {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .faq-item {
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition);
    }

    .faq-item.active {
      border-color: rgba(249, 115, 22, 0.4);
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    }

    .faq-question {
      width: 100%;
      text-align: left;
      padding: 22px 26px;
      background: transparent;
      border: none;
      color: #FFFFFF;
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .faq-question svg {
      transition: transform 0.3s ease;
      color: var(--orange);
      flex-shrink: 0;
    }

    .faq-item.active .faq-question svg {
      transform: rotate(180deg);
    }

    .faq-answer {
      display: none;
      padding: 0 26px 24px;
      font-size: 0.95rem;
      color: var(--fg-dim);
      line-height: 1.65;
    }

    .faq-item.active .faq-answer {
      display: block;
    }

    /* BANNER CTA FINAL */
    .cta-banner-section {
      padding: 85px 0;
      background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.12) 0%, transparent 70%),
        linear-gradient(135deg, #0F1A30 0%, #070C18 100%);
      text-align: center;
      border-top: 1px solid var(--card-border);
    }

    .cta-banner-content {
      max-width: 760px;
      margin: 0 auto;
      width: 100%;
    }
    .cta-banner-content .btn {
      max-width: 100%;
      padding: 16px 28px;
      font-size: 1.05rem;
      white-space: normal;
      display: inline-flex;
    }

    .cta-banner-title {
      font-size: clamp(2rem, 3.8vw, 3rem);
      margin-bottom: 16px;
      color: #FFFFFF;
      font-weight: 800;
    }

    .cta-banner-desc {
      font-size: 1.15rem;
      color: var(--fg-muted);
      margin-bottom: 32px;
      line-height: 1.6;
    }

    /* FOOTER */
    .site-footer {
      background: #040811;
      border-top: 1px solid var(--card-border);
      padding: 65px 0 35px;
      color: var(--fg-dim);
      font-size: 0.92rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 50px;
    }

    .footer-brand h4 {
      font-size: 1.25rem;
      color: #FFFFFF;
      margin-bottom: 14px;
      letter-spacing: 0.04em;
    }

    .footer-brand p {
      line-height: 1.6;
      margin-bottom: 14px;
    }

    .footer-col h5 {
      font-size: 1rem;
      color: #FFFFFF;
      margin-bottom: 18px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .footer-links a {
      color: var(--fg-dim);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: var(--orange);
    }

    .footer-bottom {
      padding-top: 28px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 0.85rem;
    }

    /* BOTÃO FLUTUANTE DE WHATSAPP */
    .float-whatsapp {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 60px;
      height: 60px;
      background: #25D366;
      color: #FFFFFF;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
      z-index: 999;
      transition: var(--transition);
      text-decoration: none;
    }

    .float-whatsapp:hover {
      transform: scale(1.1) translateY(-3px);
      box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    }

    /* MODAL DE PROJETOS */
    .modal-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(4, 8, 17, 0.88);
      backdrop-filter: blur(8px);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal-backdrop.open {
      display: flex;
    }

    .modal-box {
      background: var(--surface);
      border: 1px solid var(--card-border-glow);
      border-radius: var(--radius-lg);
      max-width: 680px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: var(--shadow-xl);
      position: relative;
    }

    .modal-close-btn {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 36px;
      height: 36px;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      z-index: 10;
      transition: var(--transition);
    }

    .modal-close-btn:hover {
      background: var(--orange);
    }

    .modal-header-img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      display: block;
    }

    .modal-content-body {
      padding: 28px;
    }

    .modal-specs-table {
      width: 100%;
      margin: 20px 0 24px;
      border-collapse: collapse;
      font-size: 0.92rem;
    }

    .modal-specs-table td {
      padding: 10px 14px;
      border-bottom: 1px solid var(--card-border);
    }

    .modal-specs-table td:first-child {
      color: var(--fg-dim);
      font-weight: 500;
      width: 40%;
    }

    .modal-specs-table td:last-child {
      color: #FFFFFF;
      font-weight: 600;
    }

    
/* ==========================================================================
   RESPONSIVIDADE COMPLETA E REFINAMENTO MOBILE (320px a 1440px)
   ========================================================================== */

/* Telas Médias / Tablets Grandes (1024px) */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-card,
  .field-hero-video-card,
  .about-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .calc-card {
    padding: 32px 24px;
  }

  .video-player-wrap.portrait-mode {
    max-height: 480px;
  }

  .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Tablets e Celulares Maiores (820px) */
@media (max-width: 820px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .btn-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header {
    height: 66px;
  }

  .mobile-drawer {
    top: 66px;
  }

  .hero-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .about-visual-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-photo-box {
    aspect-ratio: 4 / 5;
    max-height: 380px;
  }

  .about-badge-local {
    grid-column: span 1;
  }

  .table-scroll-hint {
    display: flex;
  }
}

/* Celulares Padrão (640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section-tag {
    font-size: 0.76rem;
    padding: 5px 12px;
  }

  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
    line-height: 1.22;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 36px 0 50px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.45rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .field-hero-video-card {
    padding: 20px 14px;
    gap: 20px;
  }

  .field-card-info h3 {
    font-size: 1.35rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calc-card {
    padding: 22px 14px;
    gap: 24px;
  }

  .calc-tip-box {
    padding: 14px 12px;
    font-size: 0.84rem;
  }

  .calc-results-box {
    padding: 20px 14px;
    gap: 16px;
  }

  .result-highlight-card {
    padding: 16px 12px;
  }

  .result-big-val {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 28px;
  }

  .filter-btn {
    padding: 10px 8px;
    font-size: 0.82rem;
    text-align: center;
  }

  .about-manifesto {
    font-size: 0.95rem;
  }

  .about-quote-box {
    padding: 16px 14px;
    font-size: 0.92rem;
    margin: 18px 0 24px;
  }

  .cta-banner-section {
    padding: 60px 0;
  }

  .cta-banner-title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  }

  .cta-banner-desc {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .cta-banner-content .btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.94rem;
  }

  .footer-grid {
    gap: 32px;
  }

  .float-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* Celulares Menores (540px a 360px) */
@media (max-width: 540px) {
  .hero-metrics-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calc-types-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .type-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 14px;
    gap: 12px;
    font-size: 0.88rem;
  }

  .type-btn svg {
    flex-shrink: 0;
  }

  .result-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .btn {
    white-space: normal;
    width: 100%;
    padding: 13px 16px;
    font-size: 0.92rem;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 145px;
  }
}

/* Celulares Compactos (abaixo de 380px: iPhone SE, Galaxy A0x) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 130px;
  }

  .hero-visual-badge {
    display: none;
  }

  .result-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .projects-filter-bar {
    grid-template-columns: 1fr;
  }
}
