/* ═══════════════════════════════════════════
   WEUNY — COMO FUNCIONA (LIGHT THEME)
   Design System Institucional
   ═══════════════════════════════════════════ */

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

:root {
  --deep: #f0f4f8;
  --deep-mid: #e2e8f0;
  --blue: #00B7FF;
  --cyan: #00E5FF;
  --teal: #00E8BB;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0;
  --fg: #0f172a;
  --fg-muted: #475569;
  --radius: 0.75rem;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  
  --gradient-primary: linear-gradient(135deg, var(--blue), var(--teal));
  --gradient-secondary: linear-gradient(135deg, var(--blue), #00E5FF);
  --gradient-hero: radial-gradient(circle at top left, #f0f9ff 0%, #e0f2fe 50%, #ffffff 100%);
  
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.08);
  --glow-blue: 0 0 40px rgba(0, 183, 255, 0.25);
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--fg);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* ── Utilities ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2rem;
  transition: height 0.3s ease;
}

#site-header.scrolled .header-inner {
  height: 4.8rem;
}

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

.logo-image {
  height: 1.75rem; 
  width: auto;
}

.desktop-nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fg-muted);
  position: relative;
  transition: color 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--fg);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: #00141C !important;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}

.btn-glass {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--fg);
}

.btn-glass:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.2);
  transform: translateY(-2px);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* ── Mobile Menu ── */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}

.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.12), transparent 70%);
  animation: pulse-orb 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 700px;
  height: 700px;
  bottom: -25%;
  right: -25%;
  background: radial-gradient(circle, rgba(0, 232, 187, 0.1), transparent 70%);
  animation: pulse-orb 10s ease-in-out infinite reverse;
}

@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media(min-width:1024px) {
  .hero-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ── Hero Visual: System Connection Animation ── */
.system-visual {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(0);
  isolation: isolate;
}

.system-core {
  position: absolute;
  width: 140px;
  height: 140px;
  background: var(--bg);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--glow-blue), var(--shadow-hover);
  z-index: 15;
  animation:
    core-enter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both,
    core-float 6s ease-in-out 0.85s infinite;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.system-core-logo {
  width: 100px;
  height: auto;
}

.system-core-text {
  display: none;
}

@keyframes core-enter {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes core-float {
  0%, 100% { transform: translateY(0)    scale(1);    }
  50%       { transform: translateY(-8px) scale(1.03); }
}

/* Orbital Rings & Nodes */
.system-rings {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px dashed rgba(0, 183, 255, 0.2);
  border-radius: 50%;
  animation: ring-rotate 40s linear infinite;
  z-index: 5;
}

.system-rings::before {
  content: "";
  position: absolute;
  inset: -60px;
  border: 1px solid rgba(0, 232, 187, 0.15);
  border-radius: 50%;
  animation: ring-rotate 60s linear infinite reverse;
}

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

/* Interconnected Floating Nodes */
.system-node {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-soft);
  z-index: 20;
  /* GPU layer — evita repaint durante animações */
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.system-node:hover {
  /* Hover apenas em transform — sem repaint */
  z-index: 30;
}

.node-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(0, 183, 255, 0.1);
  color: var(--blue);
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
}

.node-icon-wrap svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

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

.node-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
}

.node-sub {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/*
  Pentágono regular — r=160px, centro=50%/50% do visual (480×480px)
  Ângulo inicial = −90° (topo), incremento = 72°
  Todos os nós usam left/top + translate(-50%,-50%) para centrar exatamente no vértice
*/

/* Vértice 0 — topo (−90°): left 50%,  top 16.7% */
.node--1 {
  top: 16.7%; left: 50%;
  animation:
    node-enter-1 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both,
    node-float-1 5s ease-in-out 1.45s infinite;
}
/* Vértice 1 — direita-alta (−18°): left 81.7%, top 39.7% */
.node--2 {
  top: 39.7%; left: 81.7%;
  animation:
    node-enter-2 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.72s both,
    node-float-2 6s ease-in-out 1.62s infinite;
}
/* Vértice 2 — direita-baixa (54°): left 69.6%, top 77% */
.node--3 {
  top: 77%; left: 69.6%;
  animation:
    node-enter-3 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.88s both,
    node-float-3 5.5s ease-in-out 1.78s infinite;
}
/* Vértice 3 — esquerda-baixa (126°): left 30.4%, top 77% */
.node--4 {
  top: 77%; left: 30.4%;
  animation:
    node-enter-4 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.04s both,
    node-float-4 6.5s ease-in-out 1.94s infinite;
}
/* Vértice 4 — esquerda-alta (198°): left 18.3%, top 39.7% */
.node--5 {
  top: 39.7%; left: 18.3%;
  animation:
    node-enter-5 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both,
    node-float-5 7s ease-in-out 2.1s infinite;
}

/*
  Entrada: todos partem de posições caóticas próximas ao centro
  e se organizam em seus vértices do pentágono.
  A âncora de centralização translate(-50%,-50%) está embutida
  em todos os keyframes para consistência.
*/
/* Estado final = 0%/100% do float correspondente — garante transição sem snap */
@keyframes node-enter-1 {
  from { opacity: 0; transform: translate(calc(-50% + 10px),  calc(-50% + 140px)) scale(0.65); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}
@keyframes node-enter-2 {
  from { opacity: 0; transform: translate(calc(-50% - 140px), calc(-50% + 50px))  scale(0.65); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}
@keyframes node-enter-3 {
  from { opacity: 0; transform: translate(calc(-50% - 90px),  calc(-50% - 120px)) scale(0.65); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}
@keyframes node-enter-4 {
  from { opacity: 0; transform: translate(calc(-50% + 90px),  calc(-50% - 120px)) scale(0.65); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}
@keyframes node-enter-5 {
  from { opacity: 0; transform: translate(calc(-50% + 140px), calc(-50% + 50px))  scale(0.65); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}

/* Flutuação suave — inclui translate(-50%,-50%) para não sobrescrever o posicionamento */
@keyframes node-float-1 {
  0%, 100% { transform: translate(-50%, -50%) translateY(0);     }
  50%       { transform: translate(-50%, -50%) translateY(-10px); }
}
@keyframes node-float-2 {
  0%, 100% { transform: translate(-50%, -50%) translateY(0);    }
  50%       { transform: translate(-50%, -50%) translateY(9px);  }
}
@keyframes node-float-3 {
  0%, 100% { transform: translate(-50%, -50%) translateY(0);     }
  50%       { transform: translate(-50%, -50%) translateY(10px);  }
}
@keyframes node-float-4 {
  0%, 100% { transform: translate(-50%, -50%) translateY(0);     }
  50%       { transform: translate(-50%, -50%) translateY(-9px);  }
}
@keyframes node-float-5 {
  0%, 100% { transform: translate(-50%, -50%) translateY(0);     }
  50%       { transform: translate(-50%, -50%) translateY(10px);  }
}

/* Dynamic Pulses */
.system-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.system-lines svg {
  width: 100%;
  height: 100%;
}

.pulse-line {
  stroke: rgba(0, 183, 255, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  animation: line-flow 20s linear infinite;
}

@keyframes line-flow {
  to { stroke-dashoffset: -200; }
}

@media (max-width: 768px) {
  .system-visual {
    height: 380px;
  }
  .system-rings {
    width: 280px;
    height: 280px;
  }
  .system-node {
    padding: 0.5rem 0.85rem;
  }
  .node-icon-wrap {
    width: 1.75rem;
    height: 1.75rem;
  }
  .node-icon-wrap svg {
    width: 1rem;
    height: 1rem;
  }
  .node-title { font-size: 0.75rem; }
  .node-sub { display: none; }
}

/* ── Dobra 2: Visão Geral ── */
.overview {
  padding: 8rem 0;
  background: #fff;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.video-glow {
  position: absolute;
  inset: 20% 10%;
  background: radial-gradient(ellipse, rgba(0, 183, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.video-frame {
  position: relative;
  z-index: 1;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 24px 60px rgba(15, 23, 42, 0.1),
    0 8px 20px rgba(0, 183, 255, 0.08);
  aspect-ratio: 16 / 9;
  background: #0a1628;
}

/* Video Placeholder Mockup */
.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #0d1f38 0%, #071120 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-ui-mock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0.55;
}

.mock-bar {
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  flex-shrink: 0;
}

.mock-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mock-bar-title {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

.mock-screen {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.mock-sidebar {
  width: 3.5rem;
  background: rgba(255, 255, 255, 0.025);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mock-nav-item {
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-nav-item.active {
  background: rgba(0, 183, 255, 0.5);
  width: 70%;
}

.mock-content {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-header-bar {
  height: 0.6rem;
  width: 35%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}

.mock-cards {
  display: flex;
  gap: 0.75rem;
}

.mock-card {
  flex: 1;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-list-item {
  height: 0.45rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
}

.mock-list-item.short {
  width: 55%;
}

/* Play Button */
.play-btn {
  position: relative;
  z-index: 10;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--gradient-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(0, 183, 255, 0.4);
  animation: play-pulse 2.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.12);
}

.play-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #00141C;
  stroke: none;
  margin-left: 3px;
}

.play-btn-ring {
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(0, 183, 255, 0.25);
  border-radius: 50%;
  animation: ring-expand 2.5s ease-in-out infinite;
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 183, 255, 0.4); }
  50% { box-shadow: 0 0 0 16px rgba(0, 183, 255, 0); }
}

@keyframes ring-expand {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.2; }
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active .video-modal-inner {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-close svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.video-modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1628;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-coming-soon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

.video-coming-soon svg {
  width: 3rem;
  height: 3rem;
  stroke: rgba(0, 183, 255, 0.5);
  stroke-width: 1.5;
  fill: none;
}

.video-coming-soon p {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .overview {
    padding: 5rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .play-btn {
    width: 3.75rem;
    height: 3.75rem;
  }
  .play-btn svg {
    width: 1.125rem;
    height: 1.125rem;
  }
  .modal-close {
    top: -2.75rem;
  }
}

/* ── Dobra 3: Esquema ── */
.schema {
  padding: 8rem 0;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.schema::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 232, 187, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.schema-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

/* Linha vertical conectando os passos */
.schema-steps::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 3rem;
  bottom: 3rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--teal));
  opacity: 0.25;
  border-radius: 9999px;
}

@media (min-width: 640px) {
  .schema-steps::before {
    left: 2rem;
  }
}

.schema-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  align-items: flex-start;
  position: relative;
}

.schema-step:not(:last-child) {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid transparent;
  background-clip: padding-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.step-number::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0.2;
}

.step-number span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step-body {
  padding-top: 0.5rem;
}

.step-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: background 0.3s ease, -webkit-text-fill-color 0.3s ease;
}

.schema-step:hover .step-body h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-body p {
  font-size: 0.975rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.schema-cta {
  text-align: center;
  margin-top: 3.5rem;
}

@media (max-width: 640px) {
  .schema {
    padding: 5rem 0;
  }
  .schema-step {
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
  }
  .step-number {
    width: 3rem;
    height: 3rem;
  }
  .step-body h3 {
    font-size: 1rem;
  }
  .schema-steps::before {
    left: 1.5rem;
  }
}

/* ── Dobra 4: Camadas da Operação ── */
.layers {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.layers::before {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

@media (min-width: 640px) {
  .layers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .layers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.layer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.layer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.layer-card:hover {
  border-color: rgba(0, 183, 255, 0.25);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

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

.layer-card--highlight {
  background: linear-gradient(145deg, #f0faff 0%, #f0fdf8 100%);
  border-color: rgba(0, 183, 255, 0.2);
}

.layer-card--highlight::before {
  opacity: 1;
}

.layer-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 183, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.layer-card:hover .layer-icon {
  background: rgba(0, 183, 255, 0.15);
}

.layer-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--blue);
  stroke-width: 1.75;
  fill: none;
}

.layer-hat {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.layer-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.layer-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* AI Badges */
.ai-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.ai-badges span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* Layer card image */
.layer-card-img {
  margin: 1rem -2rem -2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}

.layer-card--highlight .layer-card-img {
  border-top-color: rgba(0, 183, 255, 0.12);
}

.layer-card-img img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.layer-card:hover .layer-card-img img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .layers {
    padding: 5rem 0;
  }
  .layer-card {
    padding: 1.5rem;
  }
  .layer-card-img {
    margin: 0.75rem -1.5rem -1.5rem;
  }
}

/* ── Dobra 5: OCC ── */
.occ-section {
  padding: 8rem 0;
  background: #000c12;
  position: relative;
  overflow: hidden;
}

.occ-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.occ-orb {
  position: absolute;
  border-radius: 50%;
}

.occ-orb--1 {
  width: 700px;
  height: 700px;
  top: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.1) 0%, transparent 65%);
  animation: pulse-orb 10s ease-in-out infinite;
}

.occ-orb--2 {
  width: 500px;
  height: 500px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 232, 187, 0.08) 0%, transparent 65%);
  animation: pulse-orb 14s ease-in-out infinite reverse;
}

.occ-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .occ-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

/* Content side */
.occ-content .hero-tag {
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.occ-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.occ-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.occ-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.occ-text em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.occ-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.occ-section .btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.occ-section .btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Visual / Diagram side */
.occ-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.occ-diagram {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.occ-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.occ-ring--1 {
  inset: 0;
  border: 1px dashed rgba(0, 183, 255, 0.2);
  animation: ring-rotate 30s linear infinite;
}

.occ-ring--2 {
  inset: -40px;
  border: 1px solid rgba(0, 232, 187, 0.1);
  animation: ring-rotate 50s linear infinite reverse;
}

/* Central circle */
.occ-center {
  position: relative;
  z-index: 10;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.18), rgba(0, 232, 187, 0.12));
  border: 2px solid rgba(0, 183, 255, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 12px rgba(0, 183, 255, 0.05),
    0 0 60px rgba(0, 183, 255, 0.3),
    0 0 120px rgba(0, 183, 255, 0.12),
    inset 0 0 40px rgba(0, 183, 255, 0.08);
  animation: core-float 7s ease-in-out infinite;
}

.occ-center-label {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.occ-center-sub {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.4;
  max-width: 96px;
}

/* Pillars orbiting */
.occ-pillars {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

/* Orbit wrapper: sits at the exact center, rotates in place */
.occ-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  animation: orbit-spin 32s linear infinite;
}

/* Each orbit starts 72° (= 360/5) apart via negative delay */
.occ-orbit--1 { animation-delay:    0s; }
.occ-orbit--2 { animation-delay:  -6.4s; }
.occ-orbit--3 { animation-delay: -12.8s; }
.occ-orbit--4 { animation-delay: -19.2s; }
.occ-orbit--5 { animation-delay: -25.6s; }

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

/* Arm: translates the pillar outward to the ring radius (170px) */
.occ-pillar-arm {
  position: absolute;
  top: -170px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pillar content: counter-rotates so icon + label stay upright */
.occ-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transform: translate(-50%, -50%);
  animation: orbit-counter 32s linear infinite;
  pointer-events: all;
}

.occ-orbit--1 .occ-pillar { animation-delay:    0s; }
.occ-orbit--2 .occ-pillar { animation-delay:  -6.4s; }
.occ-orbit--3 .occ-pillar { animation-delay: -12.8s; }
.occ-orbit--4 .occ-pillar { animation-delay: -19.2s; }
.occ-orbit--5 .occ-pillar { animation-delay: -25.6s; }

@keyframes orbit-counter {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

.occ-pillar span {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.occ-pillar-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 183, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.occ-pillar:hover .occ-pillar-icon {
  background: rgba(0, 183, 255, 0.15);
  border-color: rgba(0, 183, 255, 0.6);
  box-shadow: 0 0 16px rgba(0, 183, 255, 0.25);
}

.occ-pillar-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: rgba(0, 183, 255, 0.7);
  stroke-width: 1.75;
  fill: none;
}

@media (max-width: 1024px) {
  .occ-diagram {
    width: 300px;
    height: 300px;
  }
  .occ-center {
    width: 130px;
    height: 130px;
  }
  .occ-center-label {
    font-size: 1.625rem;
  }
  /* radius = 300/2 = 150px */
  .occ-pillar-arm {
    top: -150px;
  }
}

@media (max-width: 640px) {
  .occ-section {
    padding: 5rem 0;
  }
  .occ-diagram {
    width: 270px;
    height: 270px;
  }
  .occ-center {
    width: 110px;
    height: 110px;
  }
  .occ-center-label {
    font-size: 1.375rem;
  }
  /* radius = 270/2 = 135px */
  .occ-pillar-arm {
    top: -135px;
  }
  .occ-pillar-icon {
    width: 2rem;
    height: 2rem;
  }
  .occ-pillar-icon svg {
    width: 0.875rem;
    height: 0.875rem;
  }
  .occ-pillar span {
    font-size: 0.55rem;
  }
}

/* ── Dobra 6: Comparativo ── */
.compare {
  padding: 8rem 0;
  background: var(--deep);
}

/* ── Tabela de grid por linhas ── */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

/* Fundos das colunas: cobrem todas as 7 linhas (1 header + 6 itens) */
.cmp-bg {
  grid-row: 1 / -1;
  border-radius: 1.5rem;
  pointer-events: none;
  z-index: 0;
}

.cmp-bg--before {
  grid-column: 1;
  background: #fff;
  border: 1px solid var(--border);
}

.cmp-bg--after {
  grid-column: 3;
  background: linear-gradient(160deg, #f0faff 0%, #f0fdf9 100%);
  border: 1.5px solid rgba(0, 183, 255, 0.22);
  box-shadow: 0 8px 40px rgba(0, 183, 255, 0.07);
}

/* Células de conteúdo */
.cmp-cell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.cmp-before {
  grid-column: 1;
  color: var(--fg-muted);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.cmp-after {
  grid-column: 3;
  color: var(--fg);
  border-bottom: 1px solid rgba(0, 183, 255, 0.08);
}

/* Sem borda na última linha */
.cmp-last.cmp-before,
.cmp-last.cmp-after {
  border-bottom: none;
}

/* Linha de cabeçalho */
.cmp-head {
  align-items: center;
  padding: 1.5rem 1.75rem 1.25rem;
  gap: 0.875rem;
  border-bottom-width: 2px;
  border-bottom-color: rgba(15, 23, 42, 0.07);
}

.cmp-head.cmp-after {
  border-bottom-color: rgba(0, 183, 255, 0.15);
}

.cmp-head h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
}

/* Coluna central */
.cmp-mid {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.cmp-mid svg {
  width: 1rem;
  height: 1rem;
  stroke: rgba(0, 183, 255, 0.45);
  stroke-width: 2.5;
  fill: none;
}

.cmp-mid--head {
  padding-top: 0.25rem;
}

/* Ícone no cabeçalho central */
.compare-divider-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 183, 255, 0.4);
}

.compare-divider-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

/* Badges dos headers */
.compare-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-badge--before {
  background: rgba(239, 68, 68, 0.08);
}

.compare-badge--before svg {
  width: 1rem;
  height: 1rem;
  stroke: #ef4444;
  stroke-width: 2;
  fill: none;
}

.compare-badge--after {
  background: rgba(0, 183, 255, 0.1);
}

.compare-badge--after svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--blue);
  stroke-width: 2.5;
  fill: none;
}

/* Ícones de check / x */
.compare-icon {
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  stroke-width: 2.5;
  fill: none;
}

.compare-icon--no  { background: rgba(239, 68, 68, 0.08); }
.compare-icon--no  svg { stroke: #ef4444; }
.compare-icon--yes { background: rgba(0, 183, 255, 0.1); }
.compare-icon--yes svg { stroke: var(--blue); }

/* Animação de entrada por linha */
.compare-table.cmp-ready .cmp-cell,
.compare-table.cmp-ready .cmp-mid {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.compare-table.cmp-ready .cmp-cell.cmp-visible,
.compare-table.cmp-ready .cmp-mid.cmp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: empilha as colunas de volta */
@media (max-width: 640px) {
  .compare {
    padding: 5rem 0;
  }

  .compare-table {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Esconde fundos e coluna do meio */
  .cmp-bg,
  .cmp-mid { display: none; }

  /* Todas as células ocupam coluna única */
  .cmp-before,
  .cmp-after,
  .cmp-head.cmp-before,
  .cmp-head.cmp-after {
    grid-column: 1;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  /* Agrupa visualmente antes/depois como cards separados */
  .cmp-head.cmp-before {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem 1rem 0 0;
    margin-top: 0;
  }

  .cmp-before:not(.cmp-head) {
    background: #fff;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .cmp-last.cmp-before {
    border-radius: 0 0 1rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .cmp-head.cmp-after {
    background: linear-gradient(160deg, #f0faff, #f0fdf9);
    border: 1.5px solid rgba(0, 183, 255, 0.22);
    border-radius: 1rem 1rem 0 0;
    margin-top: 0.5rem;
  }

  .cmp-after:not(.cmp-head) {
    background: linear-gradient(160deg, #f0faff, #f0fdf9);
    border-left: 1.5px solid rgba(0, 183, 255, 0.22);
    border-right: 1.5px solid rgba(0, 183, 255, 0.22);
  }

  .cmp-last.cmp-after {
    border-radius: 0 0 1rem 1rem;
    border-bottom: 1.5px solid rgba(0, 183, 255, 0.22);
  }

  .cmp-cell {
    padding: 0.875rem 1.25rem;
  }
}

/* ── Dobra 7: CTA Final ── */
.cta-final {
  position: relative;
  padding: 9rem 0;
  background: #000c12;
  overflow: hidden;
  text-align: center;
}

.cta-final-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-final-orb--1 {
  width: 640px;
  height: 640px;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
  background: radial-gradient(circle, rgba(0, 183, 255, 0.12) 0%, transparent 65%);
  animation: pulse-orb 10s ease-in-out infinite;
}

.cta-final-orb--2 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(0%, -50%);
  background: radial-gradient(circle, rgba(0, 232, 187, 0.09) 0%, transparent 65%);
  animation: pulse-orb 13s ease-in-out infinite reverse;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.cta-final h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.cta-final p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 520px;
}

.cta-final-btn {
  padding: 1rem 2.75rem;
  font-size: 0.9375rem;
  box-shadow: 0 0 30px rgba(0, 183, 255, 0.3);
}

.cta-final-btn:hover {
  box-shadow: 0 0 48px rgba(0, 183, 255, 0.45);
}

@media (max-width: 640px) {
  .cta-final {
    padding: 6rem 0;
  }
  .cta-final h2 {
    font-size: 1.75rem;
  }
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ── */
.site-footer {
  background: #000c12;
  color: rgba(255, 255, 255, 0.5);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2.5fr 1fr 1.5fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 20rem;
  margin-bottom: 2rem;
}

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

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--blue);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .site-footer {
    padding: 4rem 0 2rem;
  }
  .footer-grid {
    gap: 3rem;
  }
}
