/* ===== TOKENS ===== */
:root {
  --radius-card: 20px;
  --radius-pill: 100px;
  --transition: 0.4s ease;
}

[data-theme="dark"] {
  --bg:          #08000E;
  --surface:     #110018;
  --surface-2:   #190022;
  --border:      rgba(160, 60, 255, 0.13);
  --border-2:    rgba(160, 60, 255, 0.25);
  --accent:      #9333EA;
  --accent-hi:   #C084FC;
  --accent-glow: rgba(147, 51, 234, 0.35);
  --text:        #F5F0FF;
  --muted:       #BBA8D8;
  --subtle:      #6B5A85;
  --card-bg:     rgba(25, 0, 35, 0.7);
  --nav-bg:      rgba(8, 0, 14, 0.85);
  --hero-grad:   linear-gradient(135deg, #14002A 0%, #08000E 60%);
}

[data-theme="light"] {
  --bg:          #FAF5FF;
  --surface:     #F3E8FF;
  --surface-2:   #EDD9FF;
  --border:      rgba(124, 58, 237, 0.13);
  --border-2:    rgba(124, 58, 237, 0.28);
  --accent:      #7C3AED;
  --accent-hi:   #6D28D9;
  --accent-glow: rgba(124, 58, 237, 0.2);
  --text:        #1A0033;
  --muted:       #5B3F80;
  --subtle:      #A88CC0;
  --card-bg:     rgba(243, 232, 255, 0.85);
  --nav-bg:      rgba(250, 245, 255, 0.88);
  --hero-grad:   linear-gradient(135deg, #EDD9FF 0%, #FAF5FF 60%);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }

/* Skip link — visually hidden until focused */
.skip-link {
  position: absolute;
  top: 0; left: 1rem;
  transform: translateY(-110%);
  background: #1A1A1A;
  color: #F5F5F5;
  padding: 0.6rem 1.25rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  z-index: 999999;
  transition: transform 0.15s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #F5F5F5;
  outline-offset: 2px;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}


/* ===== NAV ===== */
nav#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
nav#navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

/* Linka logo */
.linka-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.linka-wordmark {
  font-size: 1.25rem; font-weight: 900; letter-spacing: -0.04em;
  color: var(--text); display: flex; align-items: baseline; gap: 0;
}
.linka-wordmark .l-i {
  position: relative; display: inline-block;
}
.linka-wordmark .l-i::after {
  content: '✳';
  position: absolute; top: -0.55em; left: 50%; transform: translateX(-50%);
  font-size: 0.4em; color: var(--accent); line-height: 1;
}
.linka-wordmark .l-a { position: relative; display: inline-block; }
.linka-wordmark .l-a::after {
  content: '↗';
  position: absolute; top: -0.1em; right: -0.55em;
  font-size: 0.45em; color: var(--accent); line-height: 1;
}
.linka-sub {
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin-top: 2px; padding-left: 1px;
  display: none;
}

/* Nav anchor links — hidden on mobile, shown at 960px */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 0.45rem 0.8rem; border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(147,51,234,0.08); }


/* ===== HERO ===== */
.hero {
  background: var(--hero-grad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  padding: 5.5rem 1.25rem 3rem;
  position: relative;
  overflow: hidden;
}

/* background glow orbs */
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(100px); opacity: 0.4;
  will-change: transform;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(147,51,234,0.25) 0%, transparent 70%);
  top: -150px; left: -100px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(192,132,252,0.15) 0%, transparent 70%);
  bottom: -100px; right: -50px;
}
.glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(109,40,217,0.2) 0%, transparent 70%);
  top: 40%; left: 50%; margin-left: -150px;
}

/* parallax grid overlay */
.hero-grid {
  position: absolute; inset: -20% -10%;
  background-image:
    linear-gradient(rgba(147,51,234,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,51,234,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  contain: strict;
}

/* floating particles */
.particles {
  position: absolute; inset: 0; pointer-events: none;
  will-change: transform;
}
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent-hi); opacity: 0;
  animation: float-in 1s ease forwards;
}
@keyframes float-in {
  to { opacity: 1; }
}
.p1  { width:3px;height:3px; top:12%;  left:18%;  opacity:.35; }
.p2  { width:2px;height:2px; top:28%;  left:72%;  opacity:.25; }
.p3  { width:4px;height:4px; top:55%;  left:8%;   opacity:.2;  background:var(--accent); }
.p4  { width:2px;height:2px; top:70%;  left:60%;  opacity:.3;  }
.p5  { width:3px;height:3px; top:20%;  left:45%;  opacity:.2;  background:var(--accent); }
.p6  { width:2px;height:2px; top:80%;  left:30%;  opacity:.25; }
.p7  { width:5px;height:5px; top:38%;  left:85%;  opacity:.15; background:var(--accent); }
.p8  { width:2px;height:2px; top:90%;  left:82%;  opacity:.3;  }
.p9  { width:3px;height:3px; top:6%;   left:90%;  opacity:.2;  }
.p10 { width:2px;height:2px; top:50%;  left:50%;  opacity:.15; background:var(--accent); }

/* hero elements parallax will-change */
.hero-left  { position: relative; z-index: 1; will-change: transform; }
.hero-right { will-change: transform; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(147,51,234,0.1); border: 1px solid rgba(147,51,234,0.25);
  color: var(--accent-hi); padding: 0.4rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600; margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--accent-hi);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-hi) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 480px; line-height: 1.75; margin-bottom: 2rem;
}

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

.gpp-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  flex-wrap: wrap;
}
.gpp-link { flex-shrink: 0; }
.gpp-img { height: 100px; width: auto; display: block; }
.gpp-headline {
  font-size: 1rem; font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.gpp-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 38ch;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent); color: #fff;
  padding: 0.8rem 1.75rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px var(--accent-glow); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--text);
  padding: 0.8rem 1.75rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  border: 1px solid var(--border-2);
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(147,51,234,0.07); border-color: var(--accent); }

/* Hero right — expert cards */
.hero-right {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 1rem;
}

.expert-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; grid-template-columns: 60px 1fr; gap: 1rem; align-items: start;
  transition: border-color 0.3s, transform 0.3s;
  scroll-margin-top: 7rem;
}
.expert-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.expert-card.eric    { border-left: 3px solid var(--accent); }
.expert-card.marcelo { border-left: 3px solid var(--accent-hi); }

.expert-photo {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; display: block;
  border: 2px solid var(--border-2);
  flex-shrink: 0;
}

.expert-role {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-hi); margin-bottom: 0.3rem;
}
.expert-card.marcelo .expert-role { color: var(--accent); }

.expert-name {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
  margin-top: 0.15rem; margin-bottom: 0.4rem; color: var(--text);
}
.expert-info {
  min-width: 0;
}

.expert-bio {
  font-size: 0.82rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 0.75rem;
}

.expert-links {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.expert-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 600; text-decoration: none;
  color: var(--muted); border: 1px solid var(--border);
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.expert-link:hover { color: var(--text); border-color: var(--border-2); background: rgba(147,51,234,0.08); }
.expert-link.wa { color: #4ADE80; border-color: rgba(74,222,128,0.25); }
.expert-link.wa:hover { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.5); }

/* ===== DIVIDER ===== */
.divider {
  height: 1px; background: var(--border); margin: 0;
}

/* ===== SECTIONS ===== */
.section-wrap {
  max-width: 1100px; margin: 0 auto; padding: 3.5rem 1.25rem;
}
.full-bleed { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
  display: inline-block; color: var(--accent-hi);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 1.1rem;
}
.section-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 560px; line-height: 1.75;
}

/* ===== ABOUT / FILOSOFIA ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; align-items: start; margin-top: 2.5rem;
}
.about-body p {
  color: var(--muted); line-height: 1.8; margin-bottom: 1.2rem; font-size: 0.95rem;
}
.about-body p strong { color: var(--text); font-weight: 600; }
.about-body p:last-child { margin-bottom: 0; }

.quote-box {
  background: rgba(147,51,234,0.07);
  border: 1px solid rgba(147,51,234,0.2);
  border-radius: 14px; padding: 1.4rem 1.6rem; margin-top: 1.75rem;
}
.quote-box p {
  color: var(--accent-hi) !important;
  font-style: italic; font-weight: 500; font-size: 0.95rem !important;
  line-height: 1.6; margin: 0 !important;
}

/* ===== TIMELINE ===== */
.tl {
  list-style: none;
  position: relative; padding-left: 2rem;
  display: flex; flex-direction: column; gap: 0;
}
.tl::before {
  content: '';
  position: absolute; left: 5px; top: 0.6rem; bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-hi) 0%, var(--accent) 100%);
  border-radius: 2px;
}
.tl li {
  position: relative;
  padding-bottom: 2rem;
}
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: '';
  position: absolute;
  left: calc(-2rem + 0px);
  top: 0.25em;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-hi);
  border: 2.5px solid var(--bg);
  box-shadow: 0 0 10px var(--accent-glow);
  z-index: 1;
}
.tl li:last-child::before {
  background: var(--accent);
  width: 14px; height: 14px;
  box-shadow: 0 0 16px var(--accent-glow);
  top: 0.2em;
}
.tl-year {
  display: block;
  font-size: 0.68rem; font-weight: 700; color: var(--accent-hi);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem;
}
.tl h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.tl p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; }

/* ===== MODEL / COMO TRABALHAMOS ===== */
.model-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem; margin-top: 2.5rem;
}
.model-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 18px; padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.model-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.model-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.65rem; letter-spacing: -0.01em; }
.model-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.7; }

/* ===== SERVICES / ESPECIALIDADES ===== */
.services-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem; margin-top: 2.5rem;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.75rem 1.5rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.service-card.seo::before  { background: linear-gradient(90deg, var(--accent-hi), var(--accent)); }
.service-card.paid::before { background: linear-gradient(90deg, var(--accent), #7C3AED); }
.service-card:hover { transform: translateY(-4px); }

.svc-eye {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.svc-eye.seo  { color: var(--accent-hi); }
.svc-eye.paid { color: var(--accent); }

.service-card h3 {
  font-size: 1.45rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.9rem;
}
.service-card > p {
  color: var(--muted); font-size: 0.88rem; line-height: 1.75; margin-bottom: 1.6rem;
}
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.svc-list li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem; color: var(--muted);
}
.svc-list li::before {
  content: '→';
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.seo  .svc-list li::before { color: var(--accent-hi); }
.paid .svc-list li::before { color: var(--accent); }

/* ===== CTA / CONTATO ===== */
.cta-inner {
  text-align: center; max-width: 860px; margin: 0 auto; padding: 3.5rem 1.25rem;
}
.cta-inner h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.2rem;
}
.cta-inner > p {
  color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 2rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

/* Contact person duo */
.contact-duo {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem; margin-top: 0.5rem;
}
.contact-person {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.6rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
}
.contact-person:hover { border-color: var(--border-2); transform: translateY(-3px); }
.contact-person.eric    { border-top: 3px solid var(--accent); }
.contact-person.marcelo { border-top: 3px solid var(--accent-hi); }
.contact-photo-lg {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; display: block;
  border: 2px solid var(--border-2);
  margin-bottom: 0.4rem;
}
.contact-person-name {
  font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em;
}
.contact-person-role {
  font-size: 0.68rem; color: var(--accent-hi); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.contact-person.marcelo .contact-person-role { color: var(--accent); }
.contact-links {
  display: flex; flex-direction: column; gap: 0.5rem;
  width: 100%; margin-top: 0.75rem;
}

.btn-wa {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #15803d; color: #fff;
  padding: 0.85rem 1.85rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  justify-content: center;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(21,128,61,0.35); }

.btn-li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--text);
  padding: 0.85rem 1.5rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 600; font-size: 0.85rem;
  border: 1px solid var(--border-2);
  transition: background 0.2s, border-color 0.2s;
  justify-content: center;
}
.btn-li:hover { background: rgba(147,51,234,0.07); border-color: var(--accent); }

/* ===== FOOTER ===== */
footer {
  padding: 1.5rem 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--subtle); font-size: 0.78rem; text-align: center;
}
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; }

/* W3C badge */
.w3c-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid var(--border-2); border-radius: 6px;
  padding: 0.25rem 0.6rem; text-decoration: none;
  transition: border-color 0.2s;
}
.w3c-badge:hover { border-color: var(--accent); }
.w3c-badge-w3 {
  font-size: 0.65rem; font-weight: 900; letter-spacing: -0.02em;
  color: var(--accent-hi);
}
.w3c-badge-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); line-height: 1.2;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.shown { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

/* ===== MOUSE SPOTLIGHT ===== */
#mouse-spotlight {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.has-mouse #mouse-spotlight { opacity: 1; }

/* ===== CUSTOM CURSOR ===== */
@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}
#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-hi);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.3s;
  mix-blend-mode: screen;
  opacity: 0;
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(192,132,252,0.5);
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, opacity 0.3s;
  opacity: 0;
}
body.cursor-hover #cursor-dot { width: 10px; height: 10px; background: #fff; }
body.cursor-hover #cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(192,132,252,0.8);
  background: rgba(147,51,234,0.06);
}
@media (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ===== SCROLL MARGIN (anchor offset for fixed nav) ===== */
section[id], div[id] { scroll-margin-top: 6.25rem; }

/* ===== RESPONSIVE — mobile-first min-width ===== */

/* Touch targets */
.btn-primary, .btn-ghost, .btn-wa, .btn-li {
  min-height: 44px;
}

/* ── 480px ── */
@media (min-width: 480px) {
  .hero { padding: 6rem 1.5rem 3rem; }
  .section-wrap { padding: 4rem 1.5rem; }
  .cta-inner { padding: 4rem 1.5rem; }
}

/* ── 640px: small tablet ── */
@media (min-width: 640px) {
  nav#navbar { padding: 1rem 2rem; }
  .linka-sub { display: block; }
  .hero { padding: 6.5rem 2rem 3.5rem; }
  .section-wrap { padding: 4.5rem 2rem; }
  .model-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
  .contact-duo { grid-template-columns: 1fr 1fr; }
  .contact-links { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .cta-inner { padding: 4.5rem 2rem; }
  footer {
    flex-direction: row; justify-content: space-between;
    padding: 1.5rem 2rem; text-align: left;
  }
  .footer-links { justify-content: flex-end; }
  .service-card { padding: 2rem; }
}

/* ── 960px: desktop ── */
@media (min-width: 960px) {
  nav#navbar { padding: 1rem 2.5rem; }
  .nav-links { display: flex; }
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8.75rem 4rem 4rem;
    min-height: 100vh;
    gap: 3rem;
  }
  .expert-card { grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem; }
  .expert-photo { width: 72px; height: 72px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
  .service-card { padding: 2.5rem; }
  .model-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .section-wrap { padding: 5.5rem 2.5rem; }
  .cta-inner { padding: 5.5rem 2rem; }
  footer { padding: 1.75rem 2.5rem; }
}

/* ── 1200px: large desktop ── */
@media (min-width: 1200px) {
  .hero { padding: 7rem 6rem 5rem; gap: 4rem; }
}

/* ===== THEME OVERLAYS ===== */
#scanlines {
  display: none;
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 99997;
}

/* ===== GEOCITIES EXTRAS (hidden by default) ===== */
.geo-marquee-bar,
.geo-under-construction { display: none; }

@keyframes geo-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.geo-blink { animation: geo-blink 0.8s step-end infinite; }

/* ===== TOP CONTROLS (lang + visual switcher) ===== */
#top-controls {
  position: fixed;
  top: 0.75rem; right: 1rem;
  z-index: 99999;
  display: flex; align-items: center; gap: 0.4rem;
}

#lang-switcher {
  display: flex; align-items: center; gap: 0.1rem;
  background: rgba(8, 0, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(160, 60, 255, 0.22);
  border-radius: 6px;
  padding: 0.18rem 0.3rem;
}
[data-theme="light"] #lang-switcher {
  background: rgba(250, 245, 255, 0.92);
  border-color: rgba(124, 58, 237, 0.2);
}
.lang-btn {
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  padding: 0.2rem 0.2rem 0;
  border-bottom: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 0.15s, transform 0.15s;
}
.lang-btn svg { display: block; border-radius: 1px; }
.lang-btn:hover { opacity: 0.75; transform: scale(1.08); }
.lang-btn.active {
  opacity: 1;
  transform: scale(1.1);
}
.lang-btn[data-lang="pt"].active { border-bottom-color: #009C3B; }
.lang-btn[data-lang="en"].active { border-bottom-color: #B22234; }
.lang-btn[data-lang="es"].active { border-bottom-color: #C60B1E; }

/* ===== VISUAL SWITCHER (dropdown) ===== */
#visual-switcher {
  position: relative;
}

#visual-trigger {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  background: rgba(8, 0, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(160, 60, 255, 0.22);
  border-radius: 6px;
  padding: 0.32rem 0.65rem;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: border-color 0.18s, color 0.18s;
}
#visual-trigger:hover { color: var(--text); border-color: rgba(160, 60, 255, 0.45); }
#visual-trigger svg { opacity: 0.5; transition: transform 0.2s; }
#visual-switcher.open #visual-trigger svg { transform: rotate(180deg); }

[data-theme="light"] #visual-trigger {
  background: rgba(250, 245, 255, 0.92);
  border-color: rgba(124, 58, 237, 0.2);
}

#visual-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 10rem;
  background: rgb(8, 0, 14);
  border: 1px solid rgba(160, 60, 255, 0.22);
  border-radius: 8px;
  padding: 0.3rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  overflow: hidden;
}
[data-theme="light"] #visual-menu {
  background: rgb(250, 245, 255);
  border-color: rgba(124, 58, 237, 0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
#visual-switcher.open #visual-menu { display: block; }

.visual-btn {
  display: block; width: 100%;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  color: var(--subtle);
  background: transparent;
  border: none;
  padding: 0.38rem 0.7rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  white-space: nowrap;
}
.visual-btn:hover { color: var(--text); background: rgba(160, 60, 255, 0.1); }
.visual-btn.active { color: var(--accent); font-weight: 700; }
