/* ================================================
   Porão Security - Custom Styles
   Design System: Dark theme with neon accents
   ================================================ */

/* CSS Variables / Design Tokens */
:root {
  /* Font Metrics Override (size-adjust, ascent-override, descent-override) */
  /* IBM Plex Sans fallback metrics */
  --font-sans-override: 'IBM Plex Sans';
  --font-mono-override: 'IBM Plex Mono';
  
  /* Colors */
  --color-bg: #0b0f14;
  --color-surface: #0f1620;
  --color-surface-light: #1a2332;
  --color-primary: #00ffc6;
  --color-secondary: #5b8cff;
  --color-accent: #ff2e72;
  --color-text: #e6eef7;
  --color-muted: #99a7b5;
  --color-border: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 20px rgba(0, 255, 198, 0.3);
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-snap: cubic-bezier(0.17, 0.84, 0.44, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --dur-fast: 200ms;
  --dur-med: 450ms;
  --dur-slow: 800ms;
  
  /* Mouse position (updated via JS) */
  --mx: 50%;
  --my: 50%;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
  height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}

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

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--dur-fast) ease;
}

.skip-link:focus {
  top: 0;
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease-smooth),
              visibility 0s 0.6s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  overflow: hidden;
}

.loader-text .word {
  display: inline-block;
  margin: 0 0.3em;
}

/* Noise Layer */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    800px 800px at var(--mx) var(--my),
    rgba(0, 255, 198, 0.06),
    transparent 70%
  );
  filter: url(#noise);
  mix-blend-mode: screen;
  opacity: 0.7;
}

/* Header / Navbar */
header {
  background: rgba(11, 15, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: background var(--dur-med) var(--ease-smooth);
}

header.scrolled {
  background: rgba(11, 15, 20, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: var(--spacing-sm) 0;
}

.navbar-brand {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.brand-text {
  color: var(--color-text);
}

.brand-accent {
  color: var(--color-primary);
}

.nav-link {
  color: var(--color-text) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transform: translateX(-50%);
  transition: width var(--dur-med) var(--ease-snap);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary) !important;
}

.nav-link:hover::after {
  width: 80%;
}

/* Buttons */
.btn {
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  transition: all var(--dur-med) var(--ease-smooth);
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

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

.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

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

.btn-outline-light {
  border: 2px solid var(--color-text);
  color: var(--color-text);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Encode Button Effect */
.encode-btn {
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  contain: layout style paint;
}

.hero .row {
  width: 100%;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero .col-lg-5 {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 80px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Camada de dots connecting background */
#nodal-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto; /* Para capturar eventos do mouse */
}

#nodal-background canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Canvas não bloqueia cliques */
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  display: block;
  width: 100%;
}

.hero-title .word {
  display: inline-block;
  margin-right: 0.3em;
  opacity: 0;
  will-change: transform, opacity;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

.hero-title .word:nth-child(1) {
  color: var(--color-text);
}

.hero-title .word:nth-child(2) {
  color: var(--color-muted);
}

.hero-title .word:nth-child(3) {
  color: var(--color-primary);
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--color-muted);
  max-width: 600px;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-ctas .btn {
  opacity: 0;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#nodal-background {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-svg {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

/* Hero SVG Animations - Tech Theme */

/* Orbit rings */
.orbit-ring {
  transform-origin: 200px 200px;
}

.orbit-ring.orbit-glow {
  animation: orbitRotate 30s linear infinite;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Core nucleus - pulsing effect */
.core {
  animation: corePulse 2s ease-in-out infinite;
  transform-origin: 200px 200px;
}

@keyframes corePulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Particles orbiting */
.particle {
  transform-origin: 200px 200px;
}

.particle-1 {
  animation: orbit1 12s linear infinite;
}

.particle-2 {
  animation: orbit2 8s linear infinite reverse;
}

.particle-3 {
  animation: orbit3 15s linear infinite;
}

@keyframes orbit1 {
  from { transform: rotate(0deg) translateX(120px); }
  to { transform: rotate(360deg) translateX(120px); }
}

@keyframes orbit2 {
  from { transform: rotate(0deg) translateX(80px); }
  to { transform: rotate(360deg) translateX(80px); }
}

@keyframes orbit3 {
  from { transform: rotate(180deg) translateX(120px); }
  to { transform: rotate(540deg) translateX(120px); }
}

/* Pulse waves */
.pulse-ring {
  transform-origin: 200px 200px;
}

.pulse-1 {
  animation: pulse1 2.5s ease-out infinite;
}

.pulse-2 {
  animation: pulse2 2.5s ease-out infinite 0.5s;
}

@keyframes pulse1 {
  0% {
    r: 20px;
    opacity: 1;
    stroke-width: 1;
  }
  100% {
    r: 100px;
    opacity: 0;
    stroke-width: 0;
  }
}

@keyframes pulse2 {
  0% {
    r: 20px;
    opacity: 0.8;
    stroke-width: 1;
  }
  100% {
    r: 100px;
    opacity: 0;
    stroke-width: 0;
  }
}

/* Data streams - flowing effect */
.data-stream {
  animation: dataFlow 8s linear infinite;
}

.data-point {
  animation: dataPointTravel 8s linear infinite;
}

.data-point-1 {
  animation: dataPointTravel1 8s linear infinite;
}

.data-point-2 {
  animation: dataPointTravel2 8s linear infinite;
}

@keyframes dataFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -40; }
}

@keyframes dataPointTravel1 {
  0% {
    cx: 50;
    cy: 200;
  }
  50% {
    cx: 200;
    cy: 100;
  }
  100% {
    cx: 350;
    cy: 200;
  }
}

@keyframes dataPointTravel2 {
  0% {
    cx: 50;
    cy: 200;
  }
  50% {
    cx: 200;
    cy: 300;
  }
  100% {
    cx: 350;
    cy: 200;
  }
}

/* Circuit layer - subtle background */
.circuit-layer {
  animation: circuitGlow 4s ease-in-out infinite;
}

@keyframes circuitGlow {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.25; }
}

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

/* Section */
.section {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* Service Cards */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--dur-med) var(--ease-snap);
  height: 100%;
  content-visibility: auto;
  contain: layout style paint;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(0, 255, 198, 0.2);
}

.service-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  transition: transform var(--dur-med) var(--ease-bounce);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

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

/* Team Section */
.bg-dark-subtle {
  background-color: var(--color-surface) !important;
}

.team-swiper {
  padding: 2rem 0 4rem;
}

.team-swiper .swiper-slide {
  width: 320px;
  height: auto;
}

.team-card {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--dur-med) var(--ease-smooth);
  height: 100%;
  content-visibility: auto;
  contain: layout style paint;
}

.team-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 0 30px rgba(91, 140, 255, 0.2);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 3px;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-primary);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.team-role {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.team-bio {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-primary) !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(0, 255, 198, 0.1);
  border-radius: 50%;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 255, 198, 0.2);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px !important;
}

.swiper-pagination-bullet {
  background: var(--color-muted) !important;
  opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
  opacity: 1 !important;
}

/* Contact Section */
.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: var(--spacing-xl);
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-muted);
  transition: color var(--dur-fast) var(--ease-smooth);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-3px);
}

.newsletter-form .form-control {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.75rem 1rem;
}

.newsletter-form .form-control:focus {
  background: var(--color-surface-light);
  border-color: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 0 0 0.25rem rgba(0, 255, 198, 0.1);
}

.footer-legal-link {
  color: var(--color-muted);
  font-size: 0.875rem;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer-legal-link:hover {
  color: var(--color-primary);
}

/* Micro-animações */

/* Ripple effect para botões */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Hover lift para cards */
.service-card,
.team-card {
  will-change: transform;
}

.service-card:hover,
.team-card:hover {
  animation: cardLift 0.3s var(--ease-snap) forwards;
}

@keyframes cardLift {
  to {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Slide in animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scale bounce animation */
@keyframes scaleBounce {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Glow pulse effect */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 198, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 198, 0.6);
  }
}

/* Aplicar animações em elementos */
.service-card:hover {
  animation: glowPulse 2s ease-in-out infinite;
}

.team-avatar {
  transition: transform var(--dur-med) var(--ease-bounce);
}

.team-card:hover .team-avatar {
  transform: scale(1.08) rotate(5deg);
}

/* Smooth icon rotation on hover */
.service-icon {
  transition: transform var(--dur-med) var(--ease-bounce), color var(--dur-fast) var(--ease-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(10deg);
  color: var(--color-secondary);
}

/* Button hover effects enhanced */
.btn {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width var(--dur-med) var(--ease-snap), height var(--dur-med) var(--ease-snap);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Responsive */
@media (max-width: 991px) {
  .hero {
    min-height: 100svh; /* Melhor para mobile */
    padding-top: 70px;
  }
  
  .hero .row {
    min-height: calc(100svh - 70px);
  }
  
  .hero .col-lg-5 {
    height: auto;
    min-height: 300px;
    margin-top: 2rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
    margin-bottom: 1.5rem;
  }
  
  .hero .lead {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
  }
  
  .navbar-collapse {
    background: var(--color-surface);
    padding: var(--spacing-md);
    margin-top: var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
  }
  
  .team-swiper .swiper-slide {
    width: 280px;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 60px;
  }
  
  .hero .row {
    flex-direction: column-reverse;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero {
    min-height: 100svh;
    padding: 60px 0 2rem;
  }
  
  .hero .row {
    min-height: auto;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 10vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-ctas,
  .contact-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .btn-lg {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    padding: 1.75rem 1.25rem;
    margin-bottom: 1rem;
  }
  
  .service-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  
  .service-title {
    font-size: 1.25rem;
  }
  
  .service-description {
    font-size: 0.9rem;
  }
  
  .team-swiper .swiper-slide {
    width: 260px;
  }
  
  .team-avatar {
    width: 100px;
    height: 100px;
  }
  
  .avatar-placeholder {
    font-size: 2.5rem;
  }
  
  .team-name {
    font-size: 1.1rem;
  }
  
  .team-role {
    font-size: 0.85rem;
  }
  
  .team-bio {
    font-size: 0.85rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .cookie-consent-content {
    padding: 1rem;
  }
  
  .cookie-consent-message p {
    font-size: 0.85rem;
  }
  
  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-consent-actions button {
    width: 100%;
  }
}

/* Landscape mobile optimization */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 4rem 0 2rem;
  }
  
  .hero .row {
    align-items: flex-start;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero .lead {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .hero-ctas .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-surface);
  border-top: 1px solid var(--color-primary);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-snap),
              opacity var(--dur-slow) var(--ease-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent.show .cookie-consent-message {
  animation: slideInLeft 0.6s var(--ease-snap) 0.2s both;
}

.cookie-consent.show .cookie-consent-actions {
  animation: slideInRight 0.6s var(--ease-snap) 0.3s both;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.cookie-consent-message {
  flex: 1;
}

.cookie-consent-message p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-message strong {
  color: var(--color-primary);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Emoji de cookie com animação de pulso */
.cookie-consent-message strong::before {
  content: '🍪';
  display: inline-block;
  animation: cookiePulse 2s ease-in-out infinite;
  font-size: 1.2rem;
}

@keyframes cookiePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.cookie-policy-link {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.cookie-policy-link:hover {
  color: var(--color-secondary);
}

.cookie-consent-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.cookie-consent-actions button {
  transform: translateY(0);
  transition: transform var(--dur-fast) var(--ease-snap),
              box-shadow var(--dur-fast) var(--ease-smooth);
}

.cookie-consent-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 198, 0.3);
}

.cookie-consent-actions button:active {
  transform: translateY(0);
}

/* Animações de entrada */
@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-actions {
    width: 100%;
  }
  
  .cookie-consent-actions button {
    flex: 1;
  }
}

/* Utilities */
.text-muted {
  color: var(--color-muted) !important;
}

.mono {
  font-family: var(--font-mono);
}
