/* ========================================================
   GOZOLINK - DESIGN SYSTEM (AZUL REAL, CIANO & ALTA DEFINIÇÃO)
   Agência de Marketing Digital & Soluções Tecnológicas
   Sem tons roxos - Apenas Azul Profundo, Safira, Ciano e Esmeralda
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  /* Paleta Elegante: Azul Real, Azul Safira, Ciano Luminoso */
  --primary: #0066ff;
  --primary-hover: #0052cc;
  --primary-glow: rgba(0, 102, 255, 0.35);
  --primary-light: #edf5ff;

  --accent-cyan: #00d4ff;
  --accent-blue: #0284c7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Gradientes Sofisticados (Azul e Ciano) - SEM ROXO */
  --grad-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --grad-vibrant: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00d4ff 100%);
  --grad-cyan: linear-gradient(135deg, #0284c7 0%, #00d4ff 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #0284c7 100%);
  --grad-dark: linear-gradient(180deg, rgba(8, 16, 32, 0.82) 0%, rgba(5, 11, 24, 0.94) 100%);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);

  /* Light Theme */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #0066ff;
  --text-main: #0a142f;
  --text-muted: #52627a;
  --text-light: #94a3b8;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 20px 40px -10px rgba(0, 102, 255, 0.22), 0 8px 16px -4px rgba(0, 102, 255, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --primary-glow: rgba(56, 189, 248, 0.4);
  --primary-light: rgba(56, 189, 248, 0.15);

  --bg-body: #060b16;
  --bg-surface: #0c1424;
  --bg-card: #101c33;
  --bg-alt: #162442;
  --border-color: #1a2a4c;
  --border-hover: #2a3e6a;
  --border-focus: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --nav-bg: rgba(12, 20, 36, 0.92);
  --card-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.7);
  --card-shadow-hover: 0 22px 50px -10px rgba(56, 189, 248, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

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

a:hover {
  color: var(--primary-hover);
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Helpers de Texto */
.text-gradient {
  background: var(--grad-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-emerald { color: var(--accent-emerald) !important; }
.text-amber { color: var(--accent-amber) !important; }
.text-success { color: var(--success) !important; }

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.75rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  font-size: 2.65rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Navbar Moderna */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition);
}

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

/* Marca com Logótipo Oficial */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

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

.brand span.accent {
  background: var(--grad-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-vibrant);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-vibrant);
  color: #ffffff !important;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px var(--primary-glow);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-outline {
  background: var(--bg-surface);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--grad-cyan);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* ========================================================
   SLIDESHOW COM FUNDO DE IMAGEM IMERSIVO
   ======================================================== */
.hero-slider-wrap {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background-color: #060b16;
}

.hero-slider {
  position: relative;
  min-height: 600px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.03);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

/* Overlay Escuro Sofisticado sobre a Imagem */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 22, 0.95) 0%, rgba(6, 11, 22, 0.82) 55%, rgba(6, 11, 22, 0.45) 100%);
  z-index: 1;
}

.slide-content-container {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0;
  width: 100%;
}

.slide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  background: rgba(0, 102, 255, 0.25);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: #00d4ff;
  backdrop-filter: blur(8px);
}

.slide-title {
  font-size: 3.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.slide-desc {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.slide-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Card Visual em Glassmorphism */
.slide-card-visual {
  background: rgba(12, 20, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.slide-card-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-vibrant);
}

/* Controles do Slideshow */
.slider-bottom-bar {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  z-index: 10;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 42px;
  background: var(--grad-vibrant);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.slider-arrows {
  display: flex;
  gap: 0.75rem;
}

.arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.arrow-btn:hover {
  background: var(--primary);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

/* ========================================================
   CARDS & GRIDS
   ======================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-cyan);
}

.card-accent-blue::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: var(--grad-primary); }
.card-accent-cyan::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: var(--grad-cyan); }
.card-accent-emerald::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: var(--grad-emerald); }

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(4deg);
}

.card-icon-blue { background: rgba(0, 102, 255, 0.12); color: #0066ff; }
.card-icon-cyan { background: rgba(0, 212, 255, 0.15); color: #0284c7; }
.card-icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
}

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

.card-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.badge-primary { background: rgba(0, 102, 255, 0.12); color: #0066ff; border: 1px solid rgba(0, 102, 255, 0.25); }
.badge-cyan { background: rgba(0, 212, 255, 0.15); color: #0284c7; border: 1px solid rgba(0, 212, 255, 0.3); }
.badge-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-alt { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border-color); }

/* Formulários */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  background: var(--bg-card);
}

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

/* Alertas */
.alert {
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success); }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning); }

/* Timeline & Milestones */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 1.5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--text-light);
  transition: var(--transition);
}

.timeline-item.completed .timeline-dot {
  background: var(--success);
  border-color: var(--success);
}

.timeline-item.in_progress .timeline-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-glow);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

/* Progress Bar */
.progress-bar-wrap {
  width: 100%;
  height: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0.85rem 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--grad-vibrant);
  border-radius: var(--radius-full);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tabelas */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.table th {
  background: var(--bg-alt);
  padding: 1rem 1.35rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.table td {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border-color);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: var(--bg-alt);
}

/* Portal Layout */
.portal-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: calc(100vh - 75px);
}

.portal-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portal-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.portal-menu-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.8rem 1.15rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.portal-menu-link:hover,
.portal-menu-link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.portal-main {
  padding: 2.75rem;
  background: var(--bg-body);
}

/* Rodapé Premium - Sempre Escuro (Dark Mode Elegante Permanente) */
.footer {
  margin-top: auto;
  background: linear-gradient(180deg, #070e1e 0%, #030710 100%);
  border-top: 1px solid rgba(0, 102, 255, 0.25);
  box-shadow: 0 -12px 40px rgba(0, 102, 255, 0.07);
  padding: 0 0 2.5rem 0;
  position: relative;
  overflow: hidden;
  color: #94a3b8;
}

/* Faixa Pre-Footer / Chamada de Destaque */
.footer-prebanner {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 212, 255, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.25rem 0;
  margin-bottom: 4rem;
}

.footer-prebanner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-prebanner-text h3 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.footer-prebanner-text p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
}

.footer-prebanner-text p strong {
  color: #e2e8f0;
}

.footer-prebanner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-prebanner .btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.footer-prebanner .btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #00d4ff;
  color: #00d4ff;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
}

/* Grelha do Rodapé Principal */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 1fr 1.4fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand {
  color: #ffffff;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 1.15rem;
  margin-bottom: 1.35rem;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: #0066ff;
  border-color: #0066ff;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.35rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  border-radius: 2px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a svg {
  opacity: 0.5;
  color: #00d4ff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-links a:hover {
  color: #00d4ff;
  padding-left: 4px;
}

.footer-links a:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

/* Itens de Contacto no Rodapé */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-contact-item strong {
  color: #f1f5f9;
}

.footer-contact-item svg {
  color: #00d4ff;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: #00d4ff;
}

/* Barra Inferior */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom strong {
  color: #e2e8f0;
}

.footer-tags-pill {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  color: #94a3b8;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.footer-back-to-top:hover {
  color: #00d4ff;
  transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 1024px) {
  .slide-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .slide-title { font-size: 2.35rem; }
  .section-title { font-size: 2.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-prebanner-wrap { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-prebanner-actions { width: 100%; flex-direction: column; }
  .footer-prebanner-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .portal-main { padding: 1.5rem; }
  .hero-slider-wrap, .hero-slider { min-height: 680px; }
}

/* ========================================================
   CARDS DE SERVIÇOS COM IMAGEM & MODAIS
   ======================================================== */
.card-service-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card-service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-cyan);
}

.service-card-cover {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: #060b16;
}

.service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-service-box:hover .service-card-cover img {
  transform: scale(1.08);
}

.service-cover-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 11, 22, 0.85);
  backdrop-filter: blur(8px);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

/* Modal de Detalhes do Serviço */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show .modal-box {
  transform: scale(1) translateY(0);
}

.modal-header-img {
  height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.modal-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.2) 0%, rgba(6, 11, 22, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem 2rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: var(--transition);
  z-index: 5;
}

.modal-close-btn:hover {
  background: #ff334b;
  border-color: #ff334b;
  transform: scale(1.1);
}

.modal-body-content {
  padding: 2rem;
}

/* Page Hero Banner com Imagem de Fundo */
.page-hero-banner {
  position: relative;
  padding: 6.5rem 0 5rem 0;
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.88) 0%, rgba(6, 11, 22, 0.95) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

