/* ==========================================================================
   RF SERRALHERIA & ESTRUTURAS METÁLICAS - FOLHA DE ESTILOS PRINCIPAL
   Paleta extraída dos mockups oficiais e logotipo:
   - Fundo Escuro Industrial: #0B0F17, #101624, #141D2D
   - Bordas e Superfícies de Aço: #223047, #364866, #7C8AA3
   - Laranja Faísca / Solda (Destaque): #F2A93B, #E68A1B, #FFB347
   - Verde WhatsApp Oficial: #25D366, #1EBE5D
   - Tipografia: Inter & Archivo (Google Fonts)
   ========================================================================== */

:root {
  --bg-main: #0B0F17;
  --bg-surface: #101624;
  --bg-card: #141D2D;
  --bg-card-hover: #192438;
  --bg-input: #0A0E16;
  
  --border-color: #223047;
  --border-light: #2D3E5B;
  --border-focus: #F2A93B;

  --accent-orange: #F2A93B;
  --accent-orange-hover: #E09525;
  --accent-orange-glow: rgba(242, 169, 59, 0.25);
  
  --accent-whatsapp: #25D366;
  --accent-whatsapp-hover: #1EBE5D;
  --accent-whatsapp-glow: rgba(37, 211, 102, 0.28);

  --accent-blue: #4A88E8;
  --accent-green: #34D399;

  --text-primary: #FFFFFF;
  --text-secondary: #D1D8E6;
  --text-muted: #8C9BB3;
  --text-dim: #60718F;

  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);

  --max-w: 1220px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(242, 169, 59, 0.06), transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(74, 136, 232, 0.05), transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(242, 169, 59, 0.04), transparent 50%);
  background-attachment: fixed;
  color: var(--text-secondary);
  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, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Utilitários Visuais */
.text-orange { color: var(--accent-orange); }
.text-green { color: var(--accent-whatsapp); }
.text-white { color: var(--text-primary); }
.text-muted { color: var(--text-muted); }

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 169, 59, 0.1);
  border: 1px solid rgba(242, 169, 59, 0.28);
  color: var(--accent-orange);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}

/* ==========================================================================
   CABEÇALHO & BARRA DE NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: 80px;
  display: flex;
  align-items: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(11, 15, 23, 0.98);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

/* Marca / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-name span {
  color: var(--accent-orange);
}

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

/* Links do Menu Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

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

/* Botões do Topo */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-orange);
  color: #120D05;
  font-weight: 800;
  font-size: 0.885rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(242, 169, 59, 0.28);
}

.btn-header-phone:hover {
  background: var(--accent-orange-hover);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(242, 169, 59, 0.4);
}

.btn-header-phone svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Menu Hambúrguer Mobile */
.menu-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: #FFF;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.menu-toggle-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-light);
}

.menu-toggle-btn svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .badge-tag {
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.15rem;
  line-height: 1.08;
  margin-bottom: 20px;
  font-weight: 900;
}

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

.hero-description {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.65;
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Botões Globais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary-orange {
  background: var(--accent-orange);
  color: #100C05;
  box-shadow: 0 4px 16px rgba(242, 169, 59, 0.35);
}

.btn-primary-orange:hover {
  background: var(--accent-orange-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 169, 59, 0.45);
}

.btn-whatsapp {
  background: var(--accent-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--accent-whatsapp-glow);
}

.btn-whatsapp:hover {
  background: var(--accent-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-outline-steel {
  background: rgba(20, 29, 45, 0.6);
  border-color: var(--border-light);
  color: #FFFFFF;
}

.btn-outline-steel:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

/* Badges de Confiança do Hero */
.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 17px;
  height: 17px;
  color: var(--accent-orange);
  flex-shrink: 0;
}

/* Card Destaques Técnicos do Hero */
.hero-tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.tech-card-header .label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tech-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.tech-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(242, 169, 59, 0.35);
  background: rgba(242, 169, 59, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.tech-card-icon svg {
  width: 20px;
  height: 20px;
}

.tech-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tech-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-box.green {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-green);
}

.feature-icon-box.orange {
  background: rgba(242, 169, 59, 0.12);
  color: var(--accent-orange);
}

.feature-icon-box.blue {
  background: rgba(74, 136, 232, 0.14);
  color: var(--accent-blue);
}

.feature-icon-box svg {
  width: 20px;
  height: 20px;
}

.feature-text-block {
  flex: 1;
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pill-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.pill-badge.green {
  background: rgba(52, 211, 153, 0.16);
  color: var(--accent-green);
}

.pill-badge.orange {
  background: rgba(242, 169, 59, 0.16);
  color: var(--accent-orange);
}

.pill-badge.blue {
  background: rgba(74, 136, 232, 0.18);
  color: var(--accent-blue);
}

.feature-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
  padding: 92px 0;
  position: relative;
}

.section.alt-bg {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  max-width: 680px;
  margin-bottom: 50px;
}

.section-header .badge-tag {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEÇÕES SEPARADAS DE SERVIÇOS TÉCNICOS
   (Estruturas Metálicas, Portas de Aço, Toldos e Policarbonatos)
   ========================================================================== */
.service-showcase-block {
  margin-bottom: 70px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  scroll-margin-top: 100px;
}

.service-showcase-block:last-child {
  margin-bottom: 0;
}

.showcase-header-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.showcase-main-info h3 {
  font-size: 1.95rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-main-info h3 svg {
  color: var(--accent-orange);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.showcase-main-info p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.showcase-key-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-pill-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.metric-pill-box .title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 4px;
}

.metric-pill-box .desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Painel Lateral com Aplicações e CTA */
.showcase-side-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-list-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

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

.app-list-item {
  font-size: 0.885rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.app-list-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.app-list-item strong {
  color: #FFFFFF;
}

.showcase-side-panel .btn {
  width: 100%;
}

/* Grid de 4 Cards Subcategorias */
.subcards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.subcard-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all var(--transition-fast);
}

.subcard-item:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.subcard-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.subcard-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.subcard-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PORTFÓLIO DE OBRAS (INTERATIVO & FÁCIL DE EXPANDIR)
   ========================================================================== */
.portfolio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.portfolio-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-filter-btn:hover {
  color: #FFF;
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.portfolio-filter-btn.active {
  background: var(--accent-orange);
  color: #100C05;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 14px rgba(242, 169, 59, 0.3);
}

/* Grid do Portfólio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
}

.portfolio-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card.hidden {
  display: none !important;
}

.portfolio-media-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0A0D14;
  cursor: pointer;
}

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

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

.portfolio-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-orange);
  border: 1px solid rgba(242, 169, 59, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.zoom-indicator-icon {
  width: 36px;
  height: 36px;
  background: rgba(242, 169, 59, 0.9);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-indicator-icon svg {
  width: 18px;
  height: 18px;
}

.portfolio-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.portfolio-body h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: #FFF;
}

.portfolio-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.portfolio-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.btn-card-details {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.btn-card-details:hover {
  color: var(--accent-orange);
}

.btn-card-wa {
  background: rgba(37, 211, 102, 0.12);
  color: var(--accent-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-card-wa:hover {
  background: var(--accent-whatsapp);
  color: #FFF;
  border-color: var(--accent-whatsapp);
}

.btn-card-wa svg {
  width: 14px;
  height: 14px;
}

/* Card especial para adicionar novas fotos */
.portfolio-add-helper-card {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(20, 29, 45, 0.3);
  transition: all var(--transition-fast);
  min-height: 320px;
}

.portfolio-add-helper-card:hover {
  border-color: var(--accent-orange);
  background: rgba(242, 169, 59, 0.03);
}

.add-helper-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(242, 169, 59, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.add-helper-icon svg {
  width: 26px;
  height: 26px;
}

.portfolio-add-helper-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.portfolio-add-helper-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.45;
  margin-bottom: 16px;
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all var(--transition-fast);
  position: relative;
}

.diff-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.diff-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-orange);
  margin-bottom: 16px;
  line-height: 1;
}

.diff-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SEÇÃO DE CONTATO & FORMULÁRIO (Baseada em contato.jpeg)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

/* Coluna Esquerda: Canais Oficiais */
.contact-channels-column h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.contact-channels-column > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.info-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-fast);
}

.info-channel-card:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}

.info-channel-card.highlight-wa {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.04);
}

.info-channel-card.highlight-wa:hover {
  border-color: var(--accent-whatsapp);
}

.channel-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-orange);
}

.info-channel-card.highlight-wa .channel-icon-box {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--accent-whatsapp);
}

.channel-icon-box svg {
  width: 22px;
  height: 22px;
}

.channel-details {
  flex: 1;
}

.channel-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.channel-val {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.info-channel-card.highlight-wa .channel-val {
  color: #5FE393;
}

.channel-sub {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Coluna Direita: Formulário de Orçamento Online */
.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.quote-form-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.quote-form-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
  margin-bottom: 22px;
}

.form-group label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group label span.req {
  color: var(--accent-orange);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: #FFFFFF;
  font-size: 0.935rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-glow);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-card);
  color: #FFFFFF;
}

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

.btn-submit-wa {
  width: 100%;
  background: var(--accent-whatsapp);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
  box-shadow: 0 6px 20px var(--accent-whatsapp-glow);
}

.btn-submit-wa:hover {
  background: var(--accent-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
}

.btn-submit-wa svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-status-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-status-note svg {
  width: 15px;
  height: 15px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-col {
  max-width: 380px;
}

.footer-brand-col .brand {
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav-col h4,
.footer-contact-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

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

.footer-links-list a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #FFFFFF;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP (FAB)
   ========================================================================== */
.whatsapp-fab-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fab-tooltip {
  background: rgba(16, 22, 36, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  animation: floatTooltip 3s ease-in-out infinite;
}

.fab-tooltip span {
  color: var(--accent-whatsapp);
}

.whatsapp-fab-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--accent-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.whatsapp-fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab-btn svg {
  width: 32px;
  height: 32px;
}

/* Pulso animado do botão flutuante */
.whatsapp-fab-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-whatsapp);
  opacity: 0.8;
  animation: pulseFab 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseFab {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes floatTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   MODAL LIGHTBOX DE FOTOS & VÍDEOS
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 8, 14, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  color: #FFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--accent-orange);
  color: #000;
  border-color: var(--accent-orange);
}

.lightbox-media-container {
  max-height: 60vh;
  background: #060910;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-media-container img,
.lightbox-media-container video {
  max-height: 60vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-details-panel {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.lightbox-info-text .category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lightbox-info-text h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.lightbox-info-text p {
  font-size: 0.885rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .showcase-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .subcards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 23, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform var(--transition-smooth);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 8px 0;
  }

  .menu-toggle-btn {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero-section {
    padding: 48px 0 60px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .service-showcase-block {
    padding: 24px 18px;
  }

  .subcards-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .showcase-key-metrics {
    grid-template-columns: 1fr;
  }

  .btn-header-phone .phone-txt {
    display: none;
  }

  .btn-header-phone {
    padding: 10px 12px;
  }

  .fab-tooltip {
    display: none;
  }

  .lightbox-details-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-details-panel .btn {
    width: 100%;
  }
}
