*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --gold: #c8a97e;
  --gold-dim: rgba(200,169,126,0.15);
  --bg: #080808;
  --bg2: #111;
  --text: #e8e8e8;
  --muted: #888;
  --border: rgba(255,255,255,0.06);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 512px 512px;
  mix-blend-mode: overlay;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
::selection { background: var(--gold); color: #000; }

/* ── SKIP NAV ── */
.skip-nav {
  position: absolute; top: -100px; left: 16px;
  padding: 12px 24px; background: var(--gold); color: #000;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-decoration: none; z-index: 200;
  transition: top .2s;
}
.skip-nav:focus { top: 8px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  transition: background .4s, border-color .4s;
}
nav.solid {
  background: rgba(8,8,8,.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.logo { font-size: 13px; font-weight: 700; letter-spacing: 4px; color: #fff; text-decoration: none; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 2.5px;
  color: var(--muted); text-decoration: none; text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { width: 22px; height: 1.5px; background: #fff; transition: .3s; display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ── */
#hero {
  height: 82vh; min-height: 620px; max-height: 820px;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 60px 48px 32px;
  position: relative; overflow: hidden; background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(200,169,126,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(200,169,126,.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.015) 0%, transparent 40%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px; pointer-events: none;
}
.hero-bg::after {
  content: ''; position: absolute; top: 15%; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,169,126,.07) 0%, transparent 70%);
  border-radius: 50%; filter: blur(60px);
  animation: floatOrb 14s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 28px) scale(1.08); }
  66% { transform: translate(28px, -22px) scale(.94); }
}
.hero-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 65% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 65% 40%, black 0%, transparent 70%);
  animation: meshDrift 40s linear infinite;
  will-change: transform;
}
@keyframes meshDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-80px, -80px, 0); }
}
/* Second orb (counter-phase, cooler tone) */
.hero-mesh::before {
  content: ''; position: absolute;
  bottom: 10%; left: 8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(200,169,126,.05) 0%, transparent 65%);
  border-radius: 50%; filter: blur(80px);
  animation: floatOrb2 22s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}
@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(60px, -40px) scale(1.12); }
  70%      { transform: translate(-30px, 30px) scale(.92); }
}
/* Subtle diagonal light sweep — slow, barely perceptible */
.hero-mesh::after {
  content: ''; position: absolute; inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(200,169,126,0.035) 50%,
    transparent 60%
  );
  animation: lightSweep 18s ease-in-out infinite;
  will-change: transform, opacity;
  pointer-events: none;
}
@keyframes lightSweep {
  0%, 100% { transform: translateX(-30%); opacity: 0; }
  50%      { transform: translateX(30%); opacity: 1; }
}
.hero-line {
  position: absolute; top: 0; left: 48px; width: 1px; height: 30vh;
  background: linear-gradient(to bottom, transparent, var(--gold));
  opacity: .4;
  animation: linePulse 6s ease-in-out infinite;
}
.hero-line-2 {
  position: absolute; bottom: 0; right: 120px; width: 1px; height: 20vh;
  background: linear-gradient(to top, transparent, rgba(255,255,255,.08));
  animation: linePulse 9s ease-in-out infinite .8s;
}
@keyframes linePulse {
  0%, 100% { opacity: .2; transform: scaleY(.92); transform-origin: top; }
  50%      { opacity: .6; transform: scaleY(1);    transform-origin: top; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
#hero.mouse-active .hero-inner {
  transition: none;
}

/* Cursor spotlight — adds a soft light that tracks the mouse */
.hero-spotlight {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(200, 169, 126, 0.18) 0%,
    rgba(200, 169, 126, 0.06) 30%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity .8s ease;
  mix-blend-mode: screen;
  z-index: 1;
  will-change: opacity;
}
#hero.mouse-active .hero-spotlight { opacity: 1; }
.hero-label {
  font-size: 11px; letter-spacing: 4px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 24px;
  opacity: 0; animation: fadeUp .8s .2s forwards;
}
.hero-name {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 900; letter-spacing: -2px; line-height: .95;
  color: #fff; text-transform: uppercase;
  opacity: 0; animation: fadeUp .9s .35s forwards;
}
.hero-name em {
  display: block; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.25);
  font-style: normal;
}
.hero-headline {
  margin-top: 20px; font-size: clamp(16px, 2vw, 22px);
  font-weight: 600; color: var(--gold); letter-spacing: .5px;
  opacity: 0; animation: fadeUp .8s .45s forwards;
}
.hero-desc {
  margin-top: 16px; max-width: 560px;
  font-size: 14px; line-height: 1.8; color: var(--muted); font-weight: 300;
  opacity: 0; animation: fadeUp .8s .55s forwards;
}
.hero-cta {
  margin-top: 40px; display: flex; gap: 20px; align-items: center;
  opacity: 0; animation: fadeUp .8s .65s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; background: var(--gold); color: #000;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-decoration: none; text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-ghost {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s; padding-bottom: 2px;
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--gold); border-color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 48px; right: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp .8s .8s forwards;
}
.hero-scroll span { font-size: 9px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: .3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── SECTIONS ── */
.section { padding: 120px 48px; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 64px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.section-num { font-size: 11px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; color: #fff; }
.section-count { font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }

/* ── HIGHLIGHT CARD ── */
#highlight, #highlight2, #highlight3 {
  padding: 80px 48px; background: var(--bg); position: relative;
}
.highlight-card {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); overflow: hidden;
  min-height: 400px;
}
.highlight-card.reversed { direction: rtl; }
.highlight-card.reversed > * { direction: ltr; }
.highlight-img {
  position: relative; overflow: hidden; background: #111;
}
.highlight-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* ── CAROUSEL ── */
.carousel-wrap {
  position: relative; overflow: hidden; background: #111; width: 100%; height: 100%; min-height: 360px;
}
.carousel-track {
  display: flex; width: 100%; height: 100%; transition: transform .5s ease;
}
.carousel-track img {
  width: 100%; height: 100%; object-fit: cover; flex-shrink: 0;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.5); color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s; backdrop-filter: blur(4px);
}
.carousel-btn:hover, .carousel-btn:focus-visible { border-color: var(--gold); background: rgba(0,0,0,.7); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3);
  cursor: pointer; transition: background .2s; border: none;
}
.carousel-dot.active { background: var(--gold); }
/* ── VIDEO EMBED IN HIGHLIGHT ── */
.highlight-video {
  position: relative; overflow: hidden; background: #111;
}
.highlight-video iframe {
  width: 100%; height: 100%; min-height: 360px; border: 0;
}
.highlight-content {
  padding: 64px 56px; display: flex; flex-direction: column; justify-content: center;
  background: var(--bg2); position: relative;
}
.highlight-content::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.highlight-card.reversed .highlight-content::before {
  left: auto; right: 0;
}
.highlight-eyebrow {
  font-size: 11px; letter-spacing: 4px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 20px;
}
.highlight-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  letter-spacing: -1px; color: #fff; line-height: 1.1; margin-bottom: 24px;
}
.highlight-text {
  font-size: 15px; line-height: 1.9; color: var(--muted); font-weight: 300;
}

/* ── BENTO VIDEO GRID ── */
#trabalhos { background: var(--bg); position: relative; }
#trabalhos::before {
  content: ''; position: absolute; top: -100px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,169,126,.04) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}
.video-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: #111; border-radius: 4px;
}
/* Bento: first item large */
.video-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
/* Bento: 5th item wide */
.video-card:nth-child(5) { grid-column: span 2; }
.video-thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, filter .5s ease; display: block;
}
.video-card:hover .video-thumb { transform: scale(1.04); filter: brightness(.6); }
.video-info {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: opacity .3s;
}
.video-card:hover .video-info { opacity: 1; }
.video-info h3 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.video-category {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  width: 56px; height: 56px;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s, transform .3s, border-color .3s;
}
.play-btn::after {
  content: ''; border-left: 16px solid #fff;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px;
}
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); border-color: var(--gold); }
.video-card:hover .play-btn::after { border-left-color: var(--gold); }
.show-more-wrap { text-align: center; margin-top: 48px; }
.btn-show-more {
  background: none; border: 1px solid var(--border); color: var(--muted);
  font-family: inherit; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; padding: 14px 32px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-show-more:hover, .btn-show-more:focus-visible { border-color: var(--gold); color: var(--gold); }

/* ── EXPERTISE ── */
#expertise { background: var(--bg2); }
.expertise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.expertise-item { padding: 40px 0; border-top: 1px solid var(--border); }
.expertise-num {
  font-size: 48px; font-weight: 900; color: rgba(200,169,126,.12);
  line-height: 1; margin-bottom: 20px;
}
.expertise-heading {
  font-size: 18px; font-weight: 700; color: #fff;
  margin-bottom: 16px; letter-spacing: -.3px;
}
.expertise-text {
  font-size: 14px; line-height: 1.8; color: var(--muted); font-weight: 300;
}

/* ── SKILLS ── */
#skills { background: var(--bg); }
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.skills-block { padding: 32px 0; border-top: 1px solid var(--border); }
.skills-block-title {
  font-size: 11px; letter-spacing: 3px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 24px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  padding: 8px 16px; border: 1px solid rgba(255,255,255,0.32);
  font-size: 12px; letter-spacing: 1px; color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.skill-tag:hover { border-color: rgba(200,169,126,.5); color: var(--gold); }
.skill-tag.highlight-tag {
  border: 1px solid var(--gold);
  background: rgba(200,169,126,0.12);
  color: #fff;
}
.skill-tag.highlight-tag:hover { background: rgba(200,169,126,0.22); border-color: var(--gold); color: #fff; }
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── GALLERY (compact) ── */
#galeria { background: var(--bg); }
.photo-grid-compact {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.photo-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: #111; aspect-ratio: 4/3; border-radius: 4px;
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease, filter .4s;
}
.photo-card:hover img { transform: scale(1.04); filter: brightness(.75); }
.photo-overlay-inner {
  position: absolute; inset: 0; background: rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.photo-card:hover .photo-overlay-inner { opacity: 1; }
.photo-zoom-icon {
  width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; line-height: 1;
}
.gallery-expand-wrap { text-align: center; margin-top: 48px; }
.photo-card.hidden { display: none; }

/* ── BIO ── */
#bio {
  padding: 120px 48px; background: var(--bg2); position: relative;
}
#bio::before {
  content: ''; position: absolute; top: 50%; left: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,169,126,.04) 0%, transparent 60%);
  filter: blur(100px); pointer-events: none;
  animation: bioDrift 26s ease-in-out infinite;
  will-change: transform;
}
@keyframes bioDrift {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-35%, -58%) scale(1.15); }
}
.bio-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.bio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 0;
}
.bio-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg);
  border: 1px solid var(--border);
  margin: 0;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(200, 169, 126, 0.04);
}
.bio-portrait picture,
.bio-portrait img {
  width: 100%;
  height: 100%;
  display: block;
}
.bio-portrait img {
  object-fit: cover;
  filter: saturate(0.95);
  transition: filter .6s ease;
}
.bio-portrait:hover img { filter: saturate(1.05); }
/* Subtle gold gradient accent — ties the photo to the site palette */
.bio-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(8, 8, 8, 0.45) 100%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(200, 169, 126, 0.08), transparent 60%);
  pointer-events: none;
  mix-blend-mode: normal;
}
/* Thin corner tick in gold — a cinematographer's framing mark */
.bio-portrait::before {
  content: '';
  position: absolute;
  top: 16px; right: 16px;
  width: 18px; height: 18px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.55;
  z-index: 2;
  pointer-events: none;
}
.bio-content { text-align: left; }
.bio-eyebrow {
  font-size: 11px; letter-spacing: 4px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 20px;
}
.bio-heading {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -1px; color: #fff; margin-bottom: 28px;
}
.bio-text {
  font-size: 16px; line-height: 1.95; color: var(--muted); font-weight: 300;
}
.bio-stats {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.bio-stat {
  position: relative;
  padding: 4px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.bio-stat + .bio-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--border);
}
.bio-stat-num {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.bio-stat-unit {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--gold);
  opacity: 0.75;
}
.bio-stat-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
/* bio-stats mobile rules are defined in the main responsive block below */

.section-subtitle {
  margin-top: 12px;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

/* ── CONTACT ── */
#contato {
  background: var(--bg); text-align: center; padding: 160px 48px;
  position: relative; overflow: hidden;
}
#contato::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,169,126,.05) 0%, transparent 60%);
  filter: blur(100px); pointer-events: none;
  animation: contactBreath 20s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes contactBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: .7; }
  50%      { transform: translate(-50%, -50%) scale(1.18); opacity: 1;  }
}
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-eyebrow { font-size: 11px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; margin-bottom: 24px; }
.contact-heading {
  font-size: clamp(36px, 6vw, 72px); font-weight: 900;
  letter-spacing: -2px; line-height: 1; color: #fff; margin-bottom: 40px;
}
.contact-heading em { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); font-style: normal; }
.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px;
  text-align: left;
}
.contact-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
@media (max-width: 600px) {
  .contact-availability { font-size: 11px; padding: 10px 14px; }
}
.contact-email {
  display: inline-block; font-size: clamp(16px, 2.5vw, 22px); font-weight: 400;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .2s; margin-bottom: 40px;
}
.contact-email:hover, .contact-email:focus-visible { border-color: var(--gold); }
.socials { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.social-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid var(--border);
  color: var(--muted); text-decoration: none;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.social-btn:hover, .social-btn:focus-visible { border-color: var(--gold); color: var(--gold); }
.social-btn svg { width: 14px; height: 14px; fill: currentColor; }

footer {
  padding: 24px 48px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
footer p { font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.footer-admin { font-size: 11px; letter-spacing: 1px; color: #2a2a2a; text-decoration: none; transition: color .2s; }
.footer-admin:hover { color: var(--muted); }

/* ── MODALS ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.97); align-items: center; justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.modal-overlay.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 80px);
  aspect-ratio: 16/9;
  position: relative;
  animation: scaleIn .25s ease;
}
.modal-box.vertical {
  max-width: min(420px, calc((100vh - 80px) * 9 / 16));
  aspect-ratio: 9/16;
}
@keyframes scaleIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-box iframe { width: 100%; height: 100%; border: none; display: block; }
.modal-close-btn {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 28px; cursor: pointer; line-height: 1; transition: color .2s;
}
.modal-close-btn:hover, .modal-close-btn:focus-visible { color: var(--gold); }

/* Video modal — mobile optimized */
@media (max-width: 900px) {
  .modal-overlay { padding: 0; }
  .modal-box {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    box-sizing: border-box;
  }
  .modal-box.vertical {
    width: auto;
    max-width: min(100%, calc((100dvh - 32px) * 9 / 16));
  }
  .modal-close-btn {
    position: fixed;
    top: max(16px, env(safe-area-inset-top, 16px));
    right: 16px;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1001;
  }
}
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.98); align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; animation: fadeIn .25s ease; }
.lightbox-img-wrap { max-width: 90vw; max-height: 90vh; position: relative; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 90vh; object-fit: contain; display: block; }
.lb-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 28px; cursor: pointer; transition: color .2s;
}
.lb-close:hover, .lb-close:focus-visible { color: var(--gold); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6); width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: border-color .2s, color .2s;
}
.lb-prev:hover, .lb-next:hover, .lb-prev:focus-visible, .lb-next:focus-visible { border-color: var(--gold); color: var(--gold); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.skeleton {
  background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── FOCUS VISIBLE (Accessibility) ── */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; padding: 12px; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; gap: 24px;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,.98); padding: 48px 24px; z-index: 99;
  }
  .nav-links.mobile-open a { font-size: 24px; letter-spacing: 2px; padding: 4px 0; }

  /* HERO — align decorative lines with padding edge */
  #hero { padding: 56px 24px 28px; height: 70vh; min-height: 460px; max-height: 640px; }
  .hero-scroll { display: none; }
  .hero-line { left: 24px; height: 22vh; }
  .hero-line-2 { right: 24px; height: 14vh; }
  .hero-inner { transform: none !important; transition: none; } /* no tilt without mouse */
  .hero-bg::after { width: 280px; height: 280px; top: 10%; right: 0; }
  .hero-mesh::before { width: 320px; height: 320px; left: -10%; bottom: 20%; }
  .hero-label { margin-bottom: 16px; font-size: 10px; letter-spacing: 3px; }
  .hero-headline { margin-top: 16px; }
  .hero-desc { margin-top: 14px; line-height: 1.7; }

  /* CTA — larger touch targets, stacked on narrow */
  .hero-cta { margin-top: 32px; gap: 16px; flex-wrap: wrap; }
  .btn-primary { padding: 16px 28px; font-size: 12px; min-height: 48px; }
  .btn-ghost { padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }

  /* SECTIONS — tighten vertical rhythm on mobile */
  .section { padding: 72px 24px; }
  #bio { padding: 80px 24px; }
  #contato { padding: 88px 24px 96px; }
  #highlight, #highlight2, #highlight3 { padding: 32px 20px; }

  /* HIGHLIGHT CARDS */
  .highlight-card, .highlight-card.reversed { grid-template-columns: 1fr; direction: ltr; min-height: 0; }
  .highlight-card.reversed > * { direction: ltr; }
  .highlight-content { padding: 36px 28px 44px; }
  .highlight-content::before { width: 100%; height: 3px; top: 0; bottom: auto; left: 0;
    background: linear-gradient(to right, var(--gold), transparent); }
  .highlight-card.reversed .highlight-content::before { right: auto; left: 0; }
  .highlight-eyebrow { margin-bottom: 14px; }
  .highlight-title { margin-bottom: 18px; }
  .highlight-text { font-size: 14px; line-height: 1.75; }
  .highlight-video iframe, .carousel-wrap { min-height: 220px; }

  /* VIDEO GRID */
  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; grid-auto-rows: minmax(160px, auto); }
  .video-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .video-card:nth-child(5) { grid-column: span 1; }

  /* EXPERTISE / SKILLS / GALLERY */
  .expertise-grid { grid-template-columns: 1fr; gap: 24px; }
  .expertise-item { padding: 28px 0; }
  .expertise-num { font-size: 38px; margin-bottom: 12px; }
  .skills-grid { grid-template-columns: 1fr; gap: 28px; }
  .skills-block { padding: 24px 0; }
  .photo-grid-compact { grid-template-columns: 1fr 1fr; }

  /* BIO */
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
  .bio-portrait {
    max-width: 320px;
    width: 100%;
  }
  .bio-content { text-align: left; width: 100%; }
  .bio-heading { margin-bottom: 24px; }
  .bio-text { font-size: 15px; line-height: 1.85; }

  /* CONTACT */
  .contact-heading { margin-bottom: 28px; }
  .contact-availability { font-size: 11px; padding: 10px 16px; margin-bottom: 24px; }
  .contact-email { margin-bottom: 32px; font-size: 16px; }
  .socials { gap: 10px; }
  .social-btn { padding: 12px 16px; font-size: 10px; min-height: 44px; flex: 1 0 calc(50% - 5px); justify-content: center; }

  footer { flex-direction: column; gap: 8px; text-align: center; padding: 20px 24px; }
}

/* BIO STATS — fixed mobile divider logic (2x2 with clean separators) */
@media (max-width: 768px) {
  .bio-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
    margin-top: 48px;
    padding-top: 36px;
  }
  .bio-stat { padding: 0 8px; }
  .bio-stat + .bio-stat::before { display: none; }
  .bio-stat:nth-child(2)::before,
  .bio-stat:nth-child(4)::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: var(--border);
  }
  .bio-stat:nth-child(3)::after,
  .bio-stat:nth-child(4)::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border);
  }
  .bio-stat-num { font-size: 30px; margin-bottom: 10px; }
  .bio-stat-unit { font-size: 14px; }
  .bio-stat-label { font-size: 9.5px; letter-spacing: 2px; }
}

@media (max-width: 540px) {
  nav { height: 64px; padding: 0 20px; }
  .nav-links.mobile-open { top: 64px; }
  #hero { padding: 44px 20px 24px; height: 72vh; min-height: 440px; max-height: 600px; }
  .bio-portrait { max-width: 280px; }
  .bio-grid { gap: 32px; }

  /* Contain the massive hero headline on narrow phones */
  .hero-name { font-size: clamp(44px, 13vw, 64px); letter-spacing: -1.5px; line-height: .9; }
  .hero-headline { font-size: 15px; }
  .hero-desc { font-size: 13px; }

  /* CTA — full-width primary, ghost centered below */
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary { justify-content: center; width: 100%; }
  .btn-ghost { text-align: center; align-self: center; }

  .section { padding: 60px 20px; }
  #bio { padding: 64px 20px; }
  #contato { padding: 72px 20px 80px; }
  #highlight, #highlight2, #highlight3 { padding: 24px 16px; }
  .highlight-content { padding: 28px 22px 36px; }
  .highlight-eyebrow { font-size: 10px; letter-spacing: 3px; }

  .video-grid { grid-template-columns: 1fr; gap: 10px; grid-auto-rows: minmax(180px, auto); }
  .video-card:nth-child(1), .video-card:nth-child(5) { grid-column: span 1; }

  .photo-grid-compact { grid-template-columns: 1fr 1fr; gap: 8px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 40px; padding-bottom: 16px; }
  .section-subtitle { font-size: 13px; max-width: 100%; }

  .socials { flex-wrap: wrap; justify-content: center; }
  .social-btn { flex: 1 0 calc(50% - 5px); }
}

@media (max-width: 380px) {
  .hero-name { font-size: 40px; }
  .bio-stat-num { font-size: 26px; }
  .bio-stat-unit { font-size: 13px; }
  .bio-stat-label { white-space: normal; }
  .contact-availability { font-size: 10.5px; letter-spacing: .3px; }
}
