/* ==========================================================================
   DESIGN SYSTEM - RAIZ DIGITAL
   Aesthetic: Deep Tech, Security, Cyberpunk Clean (Slate + Glowing Cyan/Green)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Cores Principais (Adaptadas ao Azul Corporativo da Logomarca) */
  --bg-deep: #040914;
  --bg-dark: #091020;
  --bg-card: rgba(13, 23, 42, 0.65);
  --bg-glass: rgba(9, 16, 32, 0.75);
  
  --primary: #00a2ff;
  --primary-glow: rgba(0, 162, 255, 0.3);
  --secondary: #00ffc8;
  --secondary-glow: rgba(0, 255, 200, 0.2);
  
  --text-white: #ffffff;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #475569;
  
  --border-glow: rgba(0, 162, 255, 0.15);
  --border-light: rgba(255, 255, 255, 0.07);
  
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Fontes */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Efeitos */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --blur: blur(12px);
  --shadow-neon: 0 0 20px var(--primary-glow);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid Background Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.003) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.003) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  background-attachment: fixed;
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

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

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

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

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: rgba(8, 14, 28, 0.9);
}

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

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

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo-img:hover {
  filter: drop-shadow(0 0 8px rgba(0, 162, 255, 0.5));
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

.btn-admin-nav {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-admin-nav:hover {
  background: var(--primary-glow);
  box-shadow: var(--shadow-neon);
  color: var(--text-white) !important;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-deep);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
  color: var(--bg-deep);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Hero Section */
.hero {
  padding: 180px 0 140px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-video-bg,
.hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-img-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(4, 9, 20, 0.82) 0%, rgba(4, 9, 20, 0.96) 100%);
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.05);
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 255, 135, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(0, 242, 254, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Us Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-graphics {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-card-mock {
  width: 100%;
  max-width: 400px;
  height: 300px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 11, 25, 0.9) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  box-shadow: var(--shadow-neon);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.about-card-mock::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: -50px;
  right: -50px;
}

.about-card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.about-card-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--danger);
}
.about-card-header span:nth-child(2) { background-color: var(--warning); }
.about-card-header span:nth-child(3) { background-color: var(--success); }

.console-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: var(--secondary);
}

.console-text p {
  margin-bottom: 8px;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Contact Section & Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-details h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(6, 9, 19, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

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

.form-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
}

.form-alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--success);
  color: #a7f3d0;
  display: block;
}

.form-alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--danger);
  color: #fca5a5;
  display: block;
}

/* Page Viewer */
.page-viewer {
  padding: 80px 0;
  min-height: 70vh;
}

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

.page-viewer-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-viewer-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

.page-content h2,
.page-content h3 {
  margin: 35px 0 15px 0;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid var(--border-light);
}

.page-content .img-align-left {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 45%;
}

.page-content .img-align-right {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 45%;
}

.page-content .img-align-center {
  display: block;
  margin: 20px auto;
  max-width: 80%;
}

.page-content .img-fluid {
  display: block;
  width: 100%;
  height: auto;
}

.page-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Tabelas formatadas */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  overflow: hidden;
}

.page-content th, 
.page-content td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid var(--border-light);
}

.page-content th {
  background-color: rgba(0, 162, 255, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.page-content tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.01);
}


/* Admin Styles */
.admin-login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--bg-deep);
}

.admin-login-box {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-dark);
  border-right: 1px solid var(--border-light);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-muted);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.admin-menu a:hover,
.admin-menu li.active a {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

.admin-menu a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.admin-content {
  padding: 40px;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 242, 254, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 242, 254, 0.1);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.stat-info h3 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.stat-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Tables */
.admin-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
}

.admin-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table td {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.admin-table a {
  font-weight: 500;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-system {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-custom {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.badge-unread {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-read {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Action Buttons list */
.table-actions {
  display: flex;
  gap: 12px;
}

.btn-icon-danger {
  color: var(--danger);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.btn-icon-danger:hover {
  opacity: 0.8;
}

/* Media Gallery */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.media-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.media-item:hover {
  border-color: var(--primary);
}

.media-preview {
  height: 140px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-light);
}

.media-info {
  padding: 12px;
}

.media-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

.copy-url-btn {
  width: 100%;
  padding: 6px;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

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

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Rich Text Editor Minimal Styling for Simple Textarea alternative */
.editor-textarea {
  font-family: var(--font-body);
  min-height: 300px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
  }
  .nav-links.active {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   LIGHT THEME OVERRIDES (Aesthetic: Professional Tech Clean)
   ========================================================================== */
:root.light-theme {
  --bg-deep: #f8fafc;
  --bg-dark: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(248, 250, 252, 0.85);
  
  --text-white: #0f172a;
  --text-light: #1e293b;
  --text-muted: #475569;
  
  --border-light: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(0, 162, 255, 0.1);
}

:root.light-theme body::before {
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(0, 162, 255, 0.03) 0%, transparent 50%),
    linear-gradient(rgba(0, 0, 0, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
}

:root.light-theme .hero-overlay {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(248, 250, 252, 0.98) 100%);
}

/* Exibição padrão das logos (Tema Escuro) */
.logo-img-light {
  display: none !important;
}
.logo-img-dark {
  display: block !important;
}

/* Exibição das logos no Tema Claro */
:root.light-theme .logo-img-light {
  display: block !important;
}
:root.light-theme .logo-img-dark {
  display: none !important;
}

:root.light-theme .logo-img:hover {
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

:root.light-theme .service-card {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

:root.light-theme .service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 162, 255, 0.08);
}

:root.light-theme .about-card-mock {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

:root.light-theme .console-text {
  color: #1a202c;
}

:root.light-theme .form-control {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

:root.light-theme .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

:root.light-theme .admin-sidebar {
  background: #f1f5f9;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

:root.light-theme .admin-menu a:hover,
:root.light-theme .admin-menu li.active a {
  background: rgba(0, 0, 0, 0.03);
  color: #0f172a;
}

:root.light-theme .navbar.scrolled {
  background: rgba(241, 245, 249, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Força alto contraste em elementos de texto na visualização de páginas e cards de serviços no tema claro */
:root.light-theme .page-content,
:root.light-theme .page-content p,
:root.light-theme .page-content span,
:root.light-theme .page-content li,
:root.light-theme .page-content div,
:root.light-theme .page-content strong {
  color: var(--text-light) !important;
}

:root.light-theme .service-card p {
  color: var(--text-light) !important;
}

:root.light-theme .service-card h3 {
  color: var(--text-white) !important;
}

/* ==========================================================================
   CARROSSEL INFINITO DE PARCEIROS (MARQUEE)
   ========================================================================== */
.partners-section {
  padding: 40px 0;
  background: rgba(4, 9, 20, 0.4);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}

:root.light-theme .partners-section {
  background: rgba(241, 245, 249, 0.5);
}

.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep) 0%, transparent 100%);
}

.partners-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-deep) 0%, transparent 100%);
}

.partners-marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 50px;
  width: 100%;
}

.partners-marquee-track {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 100%;
  gap: 50px;
  animation: scroll-marquee 25s linear infinite;
}

.partners-marquee-track img {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.8) opacity(0.5);
  transition: var(--transition);
}

:root.light-theme .partners-marquee-track img {
  filter: grayscale(1) contrast(0.8) opacity(0.6);
}

.partners-marquee-track img:hover {
  filter: grayscale(0) brightness(1) opacity(1) !important;
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 50px));
  }
}

/* ==========================================================================
   CALCULADORA DE RISCO CIBERNÉTICO
   ========================================================================== */
.calc-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 162, 255, 0.02) 0%, transparent 60%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 45px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--blur);
  position: relative;
  overflow: hidden;
}

.calc-step {
  display: none;
  animation: slideInCalc 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-step.active {
  display: block;
}

.calc-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
}

.calc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary-glow);
}

.calc-btn-container {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.calc-btn-option {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  padding: 16px 20px;
  border-radius: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-btn-sim {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}

.calc-btn-sim:hover {
  background: var(--success);
  color: #050b14;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  border-color: var(--success);
}

.calc-btn-nao {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.3);
}

.calc-btn-nao:hover {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  border-color: var(--danger);
}

.calc-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

.calc-gauge {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-dark) 55%, transparent 56%);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.calc-gauge-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  mask: radial-gradient(circle, transparent 65%, black 66%);
  -webkit-mask: radial-gradient(circle, transparent 65%, black 66%);
}

.calc-gauge-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--text-white);
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.calc-gauge-value span {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 4px;
}

@keyframes slideInCalc {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

