/* =============================================
   xperteasy — Design System & Estilos Globais
   Cores extraídas da identidade visual da marca
   ============================================= */

:root {
  /* Cores primárias (logo) */
  --color-primary: #1A5DB4;
  --color-primary-dark: #1A4E9F;
  --color-primary-light: #5D82DE;
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Neutros */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F8FC;
  --color-bg-dark: #0A0E17;
  --color-text: #2C3E50;
  --color-text-light: #6B7C93;
  --color-border: #E2E8F0;

  /* Gradientes */
  --gradient-brand: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  --gradient-hero-overlay: linear-gradient(135deg, rgba(10, 14, 23, 0.88) 0%, rgba(26, 78, 159, 0.75) 100%);

  /* Tipografia */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Espaçamentos */
  --section-padding: 6rem 0;
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Transições */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(26, 93, 180, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 93, 180, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 93, 180, 0.16);

  /* Header */
  --header-height: 80px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

ul {
  list-style: none;
}

/* ---- Tipografia ---- */
@font-face {
  font-family: 'Space Age';
  src: url('../assets/fonts/space-age.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-bg-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: 0.04em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }

p {
  color: var(--color-text-light);
  font-size: 1.0625rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

/* =============================================
   HEADER / NAVEGAÇÃO
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-link {
  color: var(--color-text);
}

.header.scrolled .nav-link:hover {
  color: var(--color-primary);
}

.header.scrolled .nav-toggle span {
  background: var(--color-primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.35rem;
  line-height: 1;
  transition: opacity var(--transition);
}

/* Marca xperteasy — reutilizável no header e títulos */
.brand-xpert {
  font-family: 'Space Age', var(--font-heading);
  font-weight: normal;
  letter-spacing: 0.06em;
  color: #0e3880;
}

.brand-easy {
  font-family: 'Space Age', var(--font-heading);
  font-weight: normal;
  letter-spacing: 0.06em;
  color: #3a65bc;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-white);
}

/* Menu hambúrguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fundo animado — aurora, rede neural, anéis e feixe de luz */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050810;
  overflow: hidden;
}

/* Aurora — blobs de cor em movimento */
.hero-aurora {
  position: absolute;
  inset: 0;
}

.hero-aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
}

.hero-aurora__blob--1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(26, 93, 180, 0.7) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: auroraMove1 10s ease-in-out infinite alternate;
}

.hero-aurora__blob--2 {
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(93, 130, 222, 0.55) 0%, transparent 70%);
  bottom: -10%;
  right: -8%;
  animation: auroraMove2 12s ease-in-out infinite alternate;
}

.hero-aurora__blob--3 {
  width: 35vw;
  height: 35vw;
  max-width: 450px;
  max-height: 450px;
  background: radial-gradient(circle, rgba(26, 78, 159, 0.6) 0%, transparent 70%);
  top: 30%;
  left: 35%;
  animation: auroraMove3 8s ease-in-out infinite alternate;
}

/* Anéis concêntricos rotativos */
.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120vmin;
  height: 120vmin;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}

.hero-ring--1 {
  border-color: rgba(93, 130, 222, 0.12);
  animation: ringRotate 30s linear infinite;
}

.hero-ring--2 {
  inset: 12%;
  border-color: rgba(26, 93, 180, 0.15);
  border-style: dashed;
  animation: ringRotate 20s linear infinite reverse;
}

.hero-ring--3 {
  inset: 24%;
  border-color: rgba(93, 130, 222, 0.08);
  animation: ringRotate 40s linear infinite;
}

.hero-ring--1::before,
.hero-ring--2::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-primary-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-primary-light);
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

/* Canvas SVG — rede neural */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-line {
  stroke-dasharray: 8 12;
  animation: lineFlow 3s linear infinite;
}

.hero-line:nth-child(2)  { animation-delay: -0.5s; animation-duration: 3.5s; }
.hero-line:nth-child(3)  { animation-delay: -1s;   animation-duration: 4s;   }
.hero-line:nth-child(4)  { animation-delay: -1.5s; animation-duration: 2.5s; }
.hero-line:nth-child(5)  { animation-delay: -0.8s; animation-duration: 3.2s; }
.hero-line:nth-child(6)  { animation-delay: -2s;   animation-duration: 3.8s; }
.hero-line:nth-child(7)  { animation-delay: -0.3s; animation-duration: 2.8s; }
.hero-line:nth-child(8)  { animation-delay: -1.2s; animation-duration: 4.2s; }
.hero-line:nth-child(9)  { animation-delay: -0.7s; animation-duration: 3.1s; }
.hero-line:nth-child(10) { animation-delay: -1.8s; animation-duration: 3.6s; }
.hero-line:nth-child(11) { animation-delay: -0.4s; animation-duration: 2.9s; }
.hero-line:nth-child(12) { animation-delay: -2.2s; animation-duration: 4.5s; }

.hero-node {
  fill: #5D82DE;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.5s ease-in-out infinite;
}

.hero-node:nth-child(odd)  { animation-delay: -0.5s; }
.hero-node:nth-child(3n)   { animation-delay: -1.2s; animation-duration: 3s; }
.hero-node:nth-child(4n)   { animation-delay: -0.8s; animation-duration: 2s; }

.hero-signal {
  opacity: 0.9;
  filter: drop-shadow(0 0 4px #5D82DE);
}

/* Formas geométricas flutuantes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(93, 130, 222, 0.25);
  opacity: 0.5;
}

.hero-shape--1 {
  width: 60px;
  height: 60px;
  top: 18%;
  left: 8%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: shapeFloat1 14s ease-in-out infinite;
}

.hero-shape--2 {
  width: 40px;
  height: 40px;
  top: 65%;
  right: 12%;
  transform: rotate(45deg);
  animation: shapeFloat2 11s ease-in-out infinite;
}

.hero-shape--3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 15%;
  border-radius: 50%;
  border-color: rgba(26, 93, 180, 0.2);
  animation: shapeFloat3 16s ease-in-out infinite;
}

.hero-shape--4 {
  width: 50px;
  height: 50px;
  top: 30%;
  right: 20%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: shapeFloat1 12s ease-in-out infinite reverse;
}

/* Feixe de luz varredura */
.hero-beam {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(93, 130, 222, 0.04) 45%,
    rgba(93, 130, 222, 0.12) 50%,
    rgba(93, 130, 222, 0.04) 55%,
    transparent 60%
  );
  animation: beamSweep 8s ease-in-out infinite;
  pointer-events: none;
}

/* Grid de profundidade no chão */
.hero-floor {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 50%;
  background-image:
    linear-gradient(rgba(93, 130, 222, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 130, 222, 0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(400px) rotateX(75deg);
  transform-origin: center top;
  animation: floorScroll 15s linear infinite;
  mask-image: linear-gradient(to top, black 0%, transparent 80%);
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(5, 8, 16, 0.5) 70%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.3) 0%, rgba(5, 8, 16, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) var(--container-padding) 4rem;
  max-width: 900px;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 30px rgba(93, 130, 222, 0.3));
}

.hero-title .brand-xpert,
.hero-title .brand-easy {
  font-size: inherit;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.hero-scroll svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255, 255, 255, 0.6);
}

/* =============================================
   SOBRE NÓS
   ============================================= */
.about {
  background: var(--color-bg);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--color-bg-alt);
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* =============================================
   SERVIÇOS
   ============================================= */
.services {
  background: var(--color-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-white);
  fill: none;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-bg-dark);
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
.differentials {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.differentials .section-label {
  color: var(--color-primary-light);
}

.differentials .section-title {
  color: var(--color-white);
}

.differentials .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.diff-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), transform var(--transition);
}

.diff-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.diff-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.diff-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-white);
  fill: none;
}

.diff-item h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.diff-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* =============================================
   CONTATO
   ============================================= */
.contact {
  background: var(--color-bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 12px;
  transition: background var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--gradient-brand);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  transition: stroke var(--transition);
}

.contact-item:hover .contact-icon svg {
  stroke: var(--color-white);
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
  font-size: 1rem;
  color: var(--color-text-light);
}

.contact-item a:hover {
  color: var(--color-primary);
}

.contact-cta {
  background: var(--color-bg-alt);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--color-border);
}

.contact-cta h3 {
  margin-bottom: 1rem;
}

.contact-cta p {
  margin-bottom: 2rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition), transform var(--transition);
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 1.25rem 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--gradient-brand);
  color: var(--color-white);
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition);
}

.btn-cookie-accept:hover {
  transform: translateY(-2px);
}

.btn-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.btn-cookie-decline:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   PÁGINA DE POLÍTICA DE PRIVACIDADE
   ============================================= */
.page-header {
  background: var(--gradient-hero-overlay), var(--color-bg-dark);
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-header p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.75rem;
}

.privacy-content {
  padding: 4rem 0 6rem;
}

.privacy-content .container {
  max-width: 800px;
}

.privacy-content h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 1rem;
  color: var(--color-primary-dark);
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p,
.privacy-content li {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.privacy-content a {
  text-decoration: underline;
}

/* Header em páginas internas */
.header--inner {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header--inner .nav-link {
  color: var(--color-text);
}

.header--inner .nav-link:hover {
  color: var(--color-primary);
}

.header--inner .nav-toggle span {
  background: var(--color-primary);
}

/* =============================================
   ANIMAÇÕES
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auroraMove1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 8%) scale(1.15); }
}

@keyframes auroraMove2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12%, -6%) scale(1.1); }
}

@keyframes auroraMove3 {
  0%   { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-40%, -10%) scale(1.2); }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes lineFlow {
  to { stroke-dashoffset: -40; }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%      { transform: scale(1.8); opacity: 1;   }
}

@keyframes shapeFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(20px, -30px) rotate(120deg); }
  66%      { transform: translate(-15px, 20px) rotate(240deg); }
}

@keyframes shapeFloat2 {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(-25px, 15px); }
}

@keyframes shapeFloat3 {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.3); opacity: 0.7; }
}

@keyframes beamSweep {
  0%   { transform: translateX(-30%) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(30%) rotate(0deg); opacity: 0; }
}

@keyframes floorScroll {
  from { background-position: 0 0; }
  to   { background-position: 0 80px; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Animação ao scroll (ativada via JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora__blob,
  .hero-ring,
  .hero-line,
  .hero-node,
  .hero-shape,
  .hero-beam,
  .hero-floor {
    animation: none !important;
  }

  .hero-signals {
    display: none;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --header-height: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
  }

  .header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}
