/* =========================================================
   BERNARDO KETZER · v2.0
   Direção: athletic dark · crimson + gold accents
   Refs: arthurtrigueiro.netlify.app + CR7/Messi/Neymar
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:root {
  --bg: #0a0a0f;
  --bg-alt: #0f0f15;
  --card: #16161f;
  --card-hi: #1c1c28;
  --border: #242430;
  --border-hi: #34343f;

  --text: #f5f5f7;
  --text-muted: #9ca3af;
  --text-faint: #5b6270;

  --crimson: #dc2626;
  --crimson-hi: #ef4444;
  --gold: #facc15;
  --gold-hi: #fde047;

  --grad-fire: linear-gradient(135deg, #dc2626 0%, #f97316 50%, #facc15 100%);
  --grad-elite: linear-gradient(135deg, #fde047 0%, #facc15 50%, #dc2626 100%);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span {
  background: var(--grad-fire);
  color: #0a0a0f;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.lang-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover { border-color: var(--crimson); background: var(--bg-alt); }
.lang-flag { font-size: 16px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 90px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(40%) brightness(0.45) contrast(1.05);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(220, 38, 38, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(250, 204, 21, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.85) 60%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  text-align: center;
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #fca5a5;
  letter-spacing: 0.6px;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(58px, 13vw, 180px);
  line-height: 0.88;
  letter-spacing: -2px;
  font-weight: 400;
  margin-bottom: 44px;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.hero-name span {
  display: inline-block;
  background: var(--grad-elite);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(220, 38, 38, 0.35));
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 44px;
}
.meta-box {
  background: rgba(22, 22, 31, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.25s, transform 0.25s;
}
.meta-box:hover {
  border-color: var(--crimson);
  transform: translateY(-2px);
}
.meta-label {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.meta-value {
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 3.2vw, 30px);
  letter-spacing: 0.5px;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.4px;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-fire);
  color: #0a0a0f;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(220, 38, 38, 0.45);
  filter: brightness(1.08);
}

@media (max-width: 600px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-meta .meta-box:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    justify-self: center;
  }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--crimson), transparent);
  position: relative;
  animation: scrollArrow 1.6s ease-in-out infinite;
}
@keyframes scrollArrow {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 56px;
  font-weight: 400;
  max-width: 900px;
  text-transform: uppercase;
}

/* ===== SOBRE ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.sobre-text p {
  color: var(--text-muted);
  font-size: 16.5px;
  margin-bottom: 18px;
  line-height: 1.75;
}
.sobre-text p:last-child { margin-bottom: 0; }
.sobre-text b {
  color: var(--text);
  font-weight: 600;
}
.sobre-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.stat:hover {
  border-color: var(--crimson);
  background: var(--card-hi);
  transform: translateY(-2px);
}
.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 1;
  background: var(--grad-elite);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--crimson) 0%, var(--border) 60%);
}
.tl-item {
  position: relative;
  margin-bottom: 36px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  top: 6px;
  left: -28px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  box-shadow: 0 0 0 4px var(--bg-alt);
  z-index: 1;
  transition: border-color 0.3s, transform 0.3s;
}
.tl-item.current .tl-dot {
  background: var(--crimson);
  border-color: var(--crimson);
  box-shadow: 0 0 0 4px var(--bg-alt), 0 0 18px rgba(220, 38, 38, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--bg-alt), 0 0 18px rgba(220, 38, 38, 0.5); }
  50% { box-shadow: 0 0 0 4px var(--bg-alt), 0 0 28px rgba(220, 38, 38, 0.85); }
}
.tl-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.tl-content:hover {
  border-color: var(--crimson);
  transform: translateX(4px);
}
.tl-item.current .tl-content {
  border-color: rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, var(--card) 0%, rgba(220, 38, 38, 0.06) 100%);
}
.tl-period {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.tl-item.current .tl-period { color: var(--gold); }
.tl-content h3 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.tl-role {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}
.tl-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.tl-desc b { color: var(--text); font-weight: 600; }

/* ===== MÍDIA / QUOTES ===== */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}
.quote-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 30px 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
}
.quote-card:hover {
  border-color: var(--crimson);
  background: var(--card-hi);
  transform: translateY(-3px);
}
.quote-mark {
  font-family: 'Anton', sans-serif;
  font-size: 84px;
  line-height: 0.6;
  color: var(--crimson);
  margin-bottom: 6px;
}
.quote-text {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 22px;
  font-style: italic;
}
.quote-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.quote-handle {
  color: var(--text);
  font-weight: 600;
}
.quote-platform {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

/* ===== GALERIA ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: var(--card);
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s, filter 0.4s;
  filter: saturate(0.9);
}
.gal-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}
.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(220, 38, 38, 0.0) 100%);
  transition: background 0.3s;
}
.gal-item:hover::after {
  background: linear-gradient(180deg, transparent 50%, rgba(220, 38, 38, 0.18) 100%);
}
.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 3; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gal-wide { grid-column: span 2; }
}

/* ===== CONTATO ===== */
.contato-section { text-align: center; }
.contato-section .section-tag,
.contato-section .section-title {
  margin-left: auto;
  margin-right: auto;
}
.contato-section .section-title { max-width: 780px; }
.contato-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.contato-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-size: 16px;
  padding: 18px 36px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(220, 38, 38, 0.5);
  filter: brightness(1.06);
}
.btn-email {
  background: var(--grad-fire);
  color: #0a0a0f;
  font-size: 16px;
  padding: 18px 36px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
  letter-spacing: 0.2px;
}
.btn-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(220, 38, 38, 0.5);
  filter: brightness(1.08);
}
.contato-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
.footer p {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
}
.footer-sub {
  color: var(--text-faint) !important;
  font-size: 12px !important;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--crimson);
  transform: scale(1.05);
}
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.05); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-next:hover { transform: translateY(-50%) scale(1.05); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
