/* ==========================================================================
   RIGO ENGENHARIA - ESTILOS PRINCIPAIS
   Paleta: Azul Marinho Sólido, Aço/Ciano Hídrico, Cinzas Técnicos & Branco
   Especialidade: Gestão de Recursos Hídricos & Saneamento Básico
   ========================================================================== */

:root {
  /* Cores Principais */
  --color-primary-dark: #061122;     /* Azul noturno profundo */
  --color-primary-navy: #0b1d3a;     /* Azul marinho institucional */
  --color-primary-slate: #132f58;    /* Acento azul escuro */
  --color-primary-blue: #1b4985;     /* Azul técnico */

  /* Cores de Destaque Hídrico */
  --color-accent-blue: #0284c7;     /* Azul água de ação */
  --color-accent-hover: #0369a1;    /* Azul escuro hover */
  --color-accent-light: #38bdf8;    /* Ciano de precisão técnica */
  --color-accent-amber: #f59e0b;    /* Destaque sutil */

  /* Cores Neutras & Escala de Cinzas */
  --color-bg-page: #f8fafc;         /* Fundo da página */
  --color-bg-card: #ffffff;         /* Fundo de cards */
  --color-bg-alt: #f1f5f9;          /* Fundo de seções secundárias */
  --color-border: #e2e8f0;          /* Bordas sutis */
  --color-border-dark: #1e3a5f;     /* Bordas em temas escuros */

  /* Tipografia */
  --color-text-title: #0f172a;      /* Títulos */
  --color-text-body: #334155;       /* Textos */
  --color-text-muted: #64748b;      /* Rótulos secundários */
  --color-text-light: #94a3b8;      /* Textos sobre fundo escuro */
  --color-white: #ffffff;

  /* Fontes */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 29, 58, 0.08), 0 2px 4px -2px rgba(11, 29, 58, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 29, 58, 0.1), 0 4px 6px -4px rgba(11, 29, 58, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(11, 29, 58, 0.12), 0 8px 10px -6px rgba(11, 29, 58, 0.06);

  /* Raios e Transições */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-title);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

img, svg {
  vertical-align: middle;
  display: inline-block;
}

/* Utilitários de Layout */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white) !important;
}

/* Badges e Títulos de Seção */
.section-intro {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--color-accent-blue);
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.section-badge.badge-light {
  background-color: rgba(56, 189, 248, 0.15);
  color: var(--color-accent-light);
  border-color: rgba(56, 189, 248, 0.3);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--color-primary-navy);
  margin-bottom: 0.75rem;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-light));
  margin: 0.85rem auto 1.25rem auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.075rem;
  color: var(--color-text-muted);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-primary-navy);
}

.btn-outline-dark:hover {
  background-color: var(--color-bg-alt);
  border-color: var(--color-primary-navy);
}

.btn-secondary {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-primary-slate);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  border: 1px solid #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  border-color: #20bd5a;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ==========================================================================
   1. TOP BAR & CABEÇALHO (NAVBAR)
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.info-item:hover {
  color: var(--color-accent-light);
}

.info-item .icon {
  width: 14px;
  height: 14px;
  color: var(--color-accent-light);
}

.location-item {
  color: #cbd5e1;
}

.top-bar-social {
  display: flex;
  align-items: center;
}

.social-link-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent-light);
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.social-link-top:hover {
  opacity: 0.85;
}

.social-link-top .icon {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Language Selector / Sistema Multilíngue (PT, EN, DE)
   ========================================================================== */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-lang {
  display: flex;
  align-items: center;
}

.lang-selector-group {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 2px 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
  font-weight: 700;
}



/* Mobile Language Switcher */
.lang-selector-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
}

.lang-mobile-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-mobile-btns {
  display: flex;
  gap: 0.5rem;
}

.lang-mobile-btns .lang-btn {
  flex: 1;
  justify-content: center;
  padding: 8px 12px;
  font-size: 0.875rem;
  background-color: #f1f5f9;
  color: var(--color-primary-navy);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.lang-mobile-btns .lang-btn.active {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  border-color: var(--color-primary-navy);
}

/* Cabeçalho Fixo / Glassmorphism */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

/* Marca / Logo Oficial Rigo Engenharia */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: all var(--transition-fast);
}

.site-header.scrolled .site-logo-img {
  height: 44px;
}

.footer-brand-wrap {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 62px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Menu de Navegação */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.75rem);
}

.nav-link {
  font-size: clamp(0.82rem, 0.9vw, 0.9375rem);
  font-weight: 600;
  color: var(--color-text-body);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--color-accent-blue);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-header-cta {
  white-space: nowrap !important;
  padding: 0.65rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.nav-cta-mobile {
  display: none;
}

/* Botão Hambúrguer Mobile */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1100;
}

.hamburger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-primary-navy);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* ==========================================================================
   2. HERO SECTION COM A FOTO REAL DO WIX
   ========================================================================== */
.hero-section {
  position: relative;
  color: var(--color-white);
  padding-top: 5.5rem;
  padding-bottom: 6.5rem;
  overflow: hidden;
  background-color: var(--color-primary-dark);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 17, 34, 0.94) 0%, rgba(11, 29, 58, 0.88) 55%, rgba(19, 47, 88, 0.82) 100%);
  z-index: 1;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
}

.tag-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  color: var(--color-white);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.highlight-text {
  color: transparent;
  background: linear-gradient(90deg, #38bdf8 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 3rem;
}

/* Mini Estatísticas no Hero */
.hero-stats-mini {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mini-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
}

.mini-stat span {
  font-size: 0.8125rem;
  color: #94a3b8;
  font-weight: 500;
}

.mini-stat-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Card Visual com Foto Técnica */
.blueprint-card {
  background: rgba(11, 29, 58, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-family: monospace;
  letter-spacing: 0.05em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.85rem;
}

.blueprint-id {
  color: #94a3b8;
}

.blueprint-status {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

.hero-card-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.img-badge-float {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(11, 29, 58, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-white);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.img-badge-float svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.blueprint-footer {
  margin-top: 0.85rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.status-indicator .dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
}

/* ==========================================================================
   4. SEÇÃO QUEM SOMOS (COM A FOTO REAL)
   ========================================================================== */
.about-section {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.about-image-card {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.about-real-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-card-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  color: #cbd5e1;
}

.about-heading {
  font-size: 1.85rem;
  color: var(--color-primary-navy);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.about-content .paragraph {
  font-size: 1.05rem;
  color: var(--color-text-body);
  margin-bottom: 1.25rem;
}

/* Missão e Visão Cards */
.mission-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.mv-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background-color: var(--color-bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.mv-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.mv-card h4 {
  font-size: 1.1rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.25rem;
}

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

.about-cta-wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* 5 Valores da Rigo Engenharia */
.values-section {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--color-border);
}

.values-intro {
  margin-bottom: 2.5rem;
}

.values-main-title {
  font-size: 1.75rem;
  color: var(--color-primary-navy);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.value-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.value-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-light);
  margin-bottom: 0.5rem;
}

.value-card h4 {
  font-size: 1.15rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   3. SEÇÃO NOSSA EXPERTISE / NOSSOS SERVIÇOS
   ========================================================================== */
.services-section {
  background-color: var(--color-bg-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.featured-service {
  border: 2px solid var(--color-accent-blue);
  box-shadow: var(--shadow-md);
}

.card-featured-badge {
  position: absolute;
  top: -14px;
  left: 2rem;
  background: var(--color-accent-blue);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrap {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  border-color: var(--color-accent-blue);
}

.service-icon {
  width: 30px;
  height: 30px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #e2e8f0;
}

.service-title {
  font-size: 1.35rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8875rem;
  color: var(--color-text-muted);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
}

.service-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-blue);
}

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

.link-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-link:hover .link-arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   SEÇÃO DE CLIENTES (COM OS LOGOS DO WIX)
   ========================================================================== */
.clients-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.client-logo-card {
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: all var(--transition-normal);
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-md);
  background-color: var(--color-white);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 65px;
  object-fit: contain;
  filter: grayscale(85%);
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

/* ==========================================================================
   SEÇÃO ORÇAMENTO & CONTATO REAIS
   ========================================================================== */
.contact-section {
  background-color: var(--color-bg-page);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-heading {
  font-size: 2.25rem;
  color: var(--color-primary-navy);
  margin-bottom: 1rem;
}

.contact-subtext {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-method-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.method-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

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

.contact-method-item h4 {
  font-size: 1.05rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.25rem;
}

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

.contact-link {
  color: var(--color-primary-navy);
  font-weight: 600;
  transition: color var(--transition-fast);
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-link:hover {
  color: var(--color-accent-blue);
}

/* Card do Formulário */
.contact-form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.form-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.form-header h3 {
  font-size: 1.5rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.35rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-title);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-title);
  background-color: #f8fafc;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.field-error {
  display: block;
  color: #ef4444;
  font-size: 0.775rem;
  font-weight: 500;
  margin-top: 0.3rem;
  min-height: 1rem;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.form-privacy input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--color-accent-blue);
  cursor: pointer;
}

.form-privacy label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

/* Spinner de Carregamento */
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mensagem de Sucesso */
.form-success-message {
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-icon {
  width: 68px;
  height: 68px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.form-success-message h4 {
  font-size: 1.5rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.75rem;
}

.form-success-message p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   5. RODAPÉ (FOOTER)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #94a3b8;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.footer-about-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.crea-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-accent-light);
  background-color: rgba(56, 189, 248, 0.08);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.seal-icon {
  width: 16px;
  height: 16px;
}

.footer-title {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent-blue);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--color-accent-light);
  padding-left: 4px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-contact-details strong {
  color: var(--color-white);
}

.footer-contact-details a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-bottom-links {
  color: #64748b;
}

/* Botão Voltar ao Topo */
.back-to-top {
  position: fixed;
  bottom: 6.25rem;
  right: 2.45rem;
  width: 44px;
  height: 44px;
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
  z-index: 990;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 995;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.whatsapp-float-btn:hover {
  background-color: #20bd5a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.whatsapp-float-btn svg,
.whatsapp-float-icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.whatsapp-float-btn:hover svg {
  transform: scale(1.06);
}

/* Tooltip do WhatsApp Flutuante */
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background-color: var(--color-primary-dark);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(6, 17, 34, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-primary-dark);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Overlay para Menu Mobile */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(6, 17, 34, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================================
   PORTFÓLIO & PROJETOS TÉCNICOS EXECUTIVOS
   ========================================================================== */
.portfolio-section {
  background-color: #f8fafc;
  position: relative;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  background-color: var(--color-white);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background-color: #f0f9ff;
}

.filter-btn.active {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.portfolio-item {
  transition: all var(--transition-normal);
}

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

.portfolio-item-inner {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.portfolio-item-inner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #bae6fd;
}

.portfolio-img-container {
  position: relative;
  width: 100%;
  height: 230px;
  background-color: #0c192e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.2) 0%, rgba(11, 29, 58, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  backdrop-filter: blur(2px);
}

.portfolio-item-inner:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(10px);
  transition: transform var(--transition-fast);
}

.portfolio-item-inner:hover .overlay-action {
  transform: translateY(0);
}

.overlay-action svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-secondary);
}

.project-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(11, 29, 58, 0.88);
  color: #38bdf8;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  z-index: 2;
}

.project-client-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(2, 132, 199, 0.92);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.portfolio-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-category {
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-loc {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-muted);
}

.project-loc svg {
  width: 13px;
  height: 13px;
  color: var(--color-text-muted);
}

.project-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.project-summary {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}

.highlight-pill {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  background-color: #f0f9ff;
  color: #0369a1;
  border-radius: 4px;
  border: 1px solid #e0f2fe;
}

/* Banner Portfólio Download */
.portfolio-download-banner {
  background: linear-gradient(135deg, #0b1d3a 0%, #0369a1 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.2);
  margin-top: 2rem;
}

.portfolio-download-banner .download-content {
  max-width: 680px;
}

.portfolio-download-banner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.portfolio-download-banner p {
  color: #bae6fd;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.portfolio-download-banner .download-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   LIGHTBOX MODAL DE ALTA RESOLUÇÃO
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 17, 34, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 92vh;
  background-color: #0b1d3a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-container {
  transform: scale(1);
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background-color: rgba(11, 29, 58, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.lightbox-title-wrap h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.15rem;
}

.lightbox-title-wrap span {
  font-size: 0.8125rem;
  color: #38bdf8;
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: rgba(239, 68, 68, 0.85);
}

.lightbox-body {
  position: relative;
  background-color: #061122;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 1.25rem;
  max-height: calc(92vh - 140px);
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  padding: 1rem 1.5rem;
  background-color: rgba(11, 29, 58, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.lightbox-caption p {
  margin: 0;
  color: #e2e8f0;
}

/* ==========================================================================
   METODOLOGIA & PROCESSO EM 4 ETAPAS
   ========================================================================== */
.methodology-section {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.methodology-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.step-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-5px);
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.step-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-bottom: 1.25rem;
}

.step-icon-box svg {
  width: 24px;
  height: 24px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   FAQ SECTION ACCORDION
   ========================================================================== */
.faq-section {
  background-color: #f8fafc;
}

.faq-accordion-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: #bae6fd;
}

.faq-item.active {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question span {
  flex-grow: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
  margin: 0;
}

/* Galeria Técnica em 'Quem Somos' */
.about-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.about-sub-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.about-sub-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.about-sub-img-wrap:hover img {
  transform: scale(1.06);
}

.about-sub-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: rgba(11, 29, 58, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-download-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 2rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual-col {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-image-card {
    max-width: 550px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Espaçamentos e Tipografia de Seções */
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-intro {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Top Bar Mobile */
  .top-bar {
    padding: 0.35rem 0;
  }

  .top-bar-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .top-bar-info {
    width: auto;
    gap: 0.5rem;
  }

  .top-bar-info a[href^="mailto:"] {
    display: none;
  }

  .location-item {
    display: none;
  }

  .top-bar-social {
    display: none;
  }

  .top-bar-right {
    gap: 0;
  }

  .lang-selector-group .lang-btn {
    padding: 3px 6px;
    font-size: 0.6875rem;
  }

  /* Header & Logo */
  .nav-container {
    height: 64px;
  }

  .site-logo-img {
    height: 42px;
  }

  .header-actions .btn-header-cta,
  .header-actions .btn-primary {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Drawer Mobile (Hardware Accelerated & Safe) */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    width: 85%;
    max-width: 320px;
    height: 100%;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--color-white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.75rem 2.5rem 1.75rem;
    transition: transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.4rem 0;
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 2rem;
    width: 100%;
  }

  .nav-cta-mobile .btn {
    width: 100%;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-tag {
    max-width: 100%;
    font-size: 0.775rem;
    padding: 0.35rem 0.75rem;
    white-space: normal;
    line-height: 1.4;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.3rem);
    line-height: 1.25;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    align-items: flex-start;
    text-align: center;
    width: 100%;
    padding-top: 1.25rem;
  }

  .mini-stat-divider {
    display: none;
  }

  .mini-stat strong {
    font-size: 1.25rem;
  }

  .mini-stat span {
    font-size: 0.6875rem;
    line-height: 1.3;
  }

  /* Quem Somos Mobile */
  .about-real-img {
    height: 280px;
  }

  .about-heading {
    font-size: 1.45rem;
  }

  /* Serviços & Valores */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
  }

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

  /* Portfólio Mobile */
  .portfolio-filters {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .portfolio-download-banner {
    padding: 1.75rem 1.25rem;
  }

  .portfolio-download-banner h3 {
    font-size: 1.3rem;
  }

  .portfolio-download-banner p {
    font-size: 0.875rem;
  }

  .portfolio-download-banner .download-actions {
    flex-direction: column;
    width: 100%;
  }

  .portfolio-download-banner .download-actions .btn {
    width: 100%;
  }

  /* Clientes & Contato Mobile */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-heading {
    font-size: 1.75rem;
  }

  .contact-subtext {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

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

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .form-header h3 {
    font-size: 1.3rem;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Lightbox Mobile Modal */
  .lightbox-modal {
    padding: 0.75rem;
  }

  .lightbox-container {
    max-height: 90vh;
    max-height: 90dvh;
  }

  .lightbox-header {
    padding: 0.85rem 1rem;
  }

  .lightbox-title-wrap h4 {
    font-size: 1rem;
  }

  .lightbox-caption {
    padding: 0.85rem 1rem;
  }

  .lightbox-caption p {
    font-size: 0.8125rem;
  }

  /* WhatsApp & Back-to-top com iPhone Safe Area */
  .whatsapp-float-btn {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    right: calc(1.25rem + env(safe-area-inset-right, 0px));
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-btn svg,
  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .back-to-top {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    right: calc(1.45rem + env(safe-area-inset-right, 0px));
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-stats-mini strong {
    font-size: 1.15rem;
  }

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

  .about-card-badge {
    bottom: 12px;
    right: 12px;
    padding: 0.6rem 0.85rem;
  }

  .badge-number {
    font-size: 1.25rem;
  }

  .badge-text {
    font-size: 0.6875rem;
  }
}

/* ==========================================================================
   SUPRESSÃO DE MARCA D'ÁGUA / WIDGET / DRAWER DO NETLIFY
   ========================================================================== */
#netlify-drawer-container,
#netlify-feedback-drawer,
.netlify-drawer,
[data-netlify-drawer],
netlify-drawer,
iframe[src*="netlify"],
iframe[id*="netlify"],
div[id*="netlify-drawer"],
div[class*="netlify-drawer"],
div[data-netlify-feedback],
a[href*="netlify.com"][class*="badge"],
a[href*="netlify.app"][class*="badge"],
img[src*="netlify.com/img/global/badges"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 0 !important;
  width: 0 !important;
}
