:root {
  /* --- Cores Base --- */
  --color-bg-primary: #070808;
  --color-bg-secondary: #070808;
  --color-text-main: #fdfaff;
  --color-text-muted: #9aa6b2;
  --color-text-strong: rgba(253, 250, 255, 0.78);
  --color-text-soft: rgba(253, 250, 255, 0.60);

  /* --- Glassmorphism --- */
  --surface-glass: rgba(253, 250, 255, 0.06);
  --surface-glass-bright: rgba(253, 250, 255, 0.04);
  --border-glass: rgba(253, 250, 255, 0.12);
  --border-glass-strong: rgba(253, 250, 255, 0.18);
  --shadow-main: 0 10px 40px rgba(7, 8, 8, 0.55);

  /* --- Acentos --- */
  --color-accent: #2f7dff;
  --color-accent-light: #4bc7ff;
  --color-focus: rgba(47, 125, 255, 0.65);
  --radius-medium: 18px;
  --radius-large: 22px;

  /* --- Grid & Glows --- */
  --glow-1: rgba(47, 125, 255, 0.55);
  --glow-2: rgba(75, 199, 255, 0.45);
  --grid-line-x: rgba(253, 250, 255, 0.04);
  --grid-line-y: rgba(253, 250, 255, 0.03);
  --grid-opacity: 0.22;
  --grid-blend: overlay;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg-primary);
  color: var(--color-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Effects */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 25%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(closest-side at 50% 100%, rgba(0, 0, 0, 0.55), transparent 65%),
    repeating-linear-gradient(90deg, var(--grid-line-x) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, var(--grid-line-y) 0 1px, transparent 1px 72px);
  opacity: var(--grid-opacity);
  mix-blend-mode: var(--grid-blend);
  z-index: -2;
}

.bg-anim {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-anim .glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.32;
  transform: translate(-50%, -50%);
  animation: glowPulse 16s ease-in-out infinite;
}

.bg-anim .glow--1 {
  top: 18%;
  left: 18%;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, var(--glow-1) 0%, transparent 62%);
}

.bg-anim .glow--2 {
  top: 92%;
  left: 80%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--glow-2) 0%, transparent 60%);
  animation-delay: -6s;
}

@keyframes glowPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.24;
  }

  50% {
    transform: translate(-52%, -48%) scale(1.05);
    opacity: 0.35;
  }
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 8, 8, 0.45);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.3s;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-text-main);
  text-transform: lowercase;
  transition: opacity 0.2s;
}

.brand-logo:hover {
  opacity: 0.7;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  font-weight: 650;
  color: var(--color-text-soft);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-text-main);
  text-decoration: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 24px;
  top: 24px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  z-index: 9999;
}

/* --- HERO VIDEO & SCROLL HINT --- */
.hero-video {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 8, 8, 0.2), rgba(7, 8, 8, 0.8));
  z-index: 1;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.scroll-hint:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--color-text-soft);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollAnim 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--color-text-soft);
}

@keyframes scrollAnim {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 8px);
    opacity: 0;
  }
}

/* --- PHOTO GRID 2X2 --- */
.photo-grid-section {
  position: relative;
  min-height: 100vh;
  background: var(--color-bg-primary);
  display: flex;
  flex-direction: column;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 90vh;
  gap: 2px;
}

.grid-item {
  overflow: hidden;
  background: #111;
}

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

.grid-item:hover img {
  transform: scale(1.05);
}

.section-footer-actions {
  padding: 40px 0;
  text-align: center;
}

/* --- FEATURED ARTICLE FULL SCREEN --- */
.featured-article-fs {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.article-fs-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.5);
}

.article-fs-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.title {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.excerpt {
  font-size: 18px;
  color: var(--color-text-soft);
  margin-bottom: 40px;
}

/* --- RECENT LIST & BANNER REFINEMENT --- */
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-glass);
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.recent-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  padding: 28px 32px;
  background: var(--color-bg-primary);
  transition: background 0.2s;
  align-items: center;
  gap: 24px;
}

.recent-item:hover {
  background: var(--surface-glass);
  text-decoration: none;
}

.recent-item .date {
  font-size: 13px;
  color: var(--color-text-muted);
}

.recent-item .item-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.recent-item .category {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 800;
}

.contact-banner {
  background: linear-gradient(135deg, var(--color-bg-primary), #111);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-large);
  padding: 80px 60px;
  text-align: center;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.1s;
}

.reveal-delay-2 {
  animation-delay: 0.2s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base structural fixes */
section {
  padding: 120px 0;
}

.photo-grid-section {
  padding: 0;
}

.featured-article-fs {
  padding: 0;
}

/* --- BUTTONS (GLASS) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(47, 125, 255, 0.3);
}

.btn--glass {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: #fff;
}

.btn--glass:hover {
  background: var(--surface-glass-bright);
  border-color: var(--border-glass-strong);
}

/* --- FOOTER --- */
.site-footer {
  padding: 60px 0;
  background: #000;
  border-top: 1px solid var(--border-glass);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-2x2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    height: auto;
  }

  .recent-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}