/* ════════════════════════════════════════════════════
   HUGUES MANUEL MAVUBA · style.css
   ════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────── */
:root {
  --black:  #030507;
  --bg:     #07090d;
  --bg2:    #0a0e15;
  --bg3:    #0d1219;
  --panel:  #101620;
  --line:   rgba(255,255,255,.055);
  --line2:  rgba(255,255,255,.10);
  --ice:    #ffffff;
  --steel:  #8fb3d4;
  --cyan:   #00d4ff;
  --cyan2:  rgba(0,212,255,.08);
  --text:   #d0dce8;
  --muted:  #607080;
  --dim:    #243040;
  --glow:   rgba(0,212,255,.18);
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

/* ── KEYFRAMES ──────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideL   { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideR   { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }

@keyframes blink    { 0%,100%{opacity:1} 50%{opacity:.15} }
@keyframes pulseDot { 0%,100%{box-shadow:0 0 10px var(--cyan),0 0 20px rgba(0,212,255,.3)} 50%{box-shadow:0 0 24px var(--cyan),0 0 60px rgba(0,212,255,.5),0 0 100px rgba(0,212,255,.2)} }
@keyframes ringPulse{ 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:.12;transform:scale(1.06)} }
@keyframes gridDrift{ 0%,100%{background-position:0 0} 50%{background-position:32px 32px} }

@keyframes scanBeam {
  0%   { top: -3px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes glowPulse { 0%,100%{opacity:.4} 50%{opacity:.9} }

@keyframes counterAnim {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}

@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes shimmerSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes typeIn {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── SCROLL REVEAL — safe fallback ─────────────── */
/* Default visible — JS activates animations */
.fi, .fi-l, .fi-r { opacity:1; transform:none; }

body.js-ready .fi   { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
body.js-ready .fi-l { opacity:0; transform:translateX(-24px); transition:opacity .7s ease, transform .7s ease; }
body.js-ready .fi-r { opacity:0; transform:translateX(24px); transition:opacity .7s ease, transform .7s ease; }

.fi.vis, .fi-l.vis, .fi-r.vis { opacity:1 !important; transform:none !important; }

/* Exp rows */
.exp-row { opacity:1; transform:none; transition:opacity .6s ease, transform .6s ease, background .3s; }
body.js-ready .exp-row { opacity:0; transform:translateY(18px); }
.exp-row.vis { opacity:1 !important; transform:none !important; }

/* ── NAV ────────────────────────────────────────── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(7,9,13,.88);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(0,212,255,.08);
  transition: background .4s, border-color .4s;
}
nav.scrolled {
  background: rgba(3,5,7,.96);
  border-bottom-color: rgba(0,212,255,.15);
  box-shadow: 0 0 40px rgba(0,0,0,.6);
}
.nav-logo {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 20px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--ice); text-decoration: none; transition: color .25s, text-shadow .25s;
}
.nav-logo:hover { color: var(--cyan); text-shadow: 0 0 20px rgba(0,212,255,.5); }
.nav-logo sup { color: var(--cyan); font-size: 10px; vertical-align: super; letter-spacing: 2px; }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color .25s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--cyan);
  transition: width .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 6px var(--cyan);
}
.nav-links a:hover, .nav-links a.active { color: var(--ice); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display:block; width:24px; height:2px; background:var(--ice); transition:all .3s; border-radius:1px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 420px;
  align-items: center; padding: 64px 0 0;
  position: relative; overflow: hidden;
}
#particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: .5;
}
.bp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 25s ease-in-out infinite;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 80%);
}
.bp-grid::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 75% 50%, rgba(0,212,255,.07) 0%, transparent 60%),
    radial-gradient(ellipse 65% 45% at 12% 80%, rgba(3,7,12,.95) 0%, transparent 65%);
}
.scanline {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,.07) 3px, rgba(0,0,0,.07) 4px
  );
}
.scan-beam {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,255,.5) 40%, rgba(0,212,255,.8) 50%, rgba(0,212,255,.5) 60%, transparent 100%);
  animation: scanBeam 10s linear infinite;
  pointer-events: none; z-index: 2;
  filter: blur(.5px);
  box-shadow: 0 0 8px rgba(0,212,255,.4);
}

.hero-left { position: relative; z-index: 3; padding: 80px 64px; }
.hero-eyebrow {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--cyan); display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
  animation: slideL .8s ease .1s both;
}
.hero-eyebrow::before { content: '//'; opacity: .4; }

h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: clamp(72px, 9vw, 130px);
  line-height: .9; letter-spacing: -2px;
  text-transform: uppercase; color: var(--ice);
  margin-bottom: 32px;
  animation: fadeUp .9s ease .2s both;
  text-shadow: 0 0 80px rgba(255,255,255,.05);
}
h1 .line2 {
  display: block; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.2);
}

.hero-roles {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-bottom: 36px;
  animation: fadeUp .8s ease .35s both;
}
.hero-role {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--steel); padding: 0 20px 0 0; position: relative;
}
.hero-role:not(:last-child)::after { content: '/'; margin-left: 20px; color: var(--dim); }

.hero-desc {
  font-size: 15px; line-height: 1.9; color: var(--muted);
  max-width: 520px; margin-bottom: 52px;
  animation: fadeUp .8s ease .5s both;
}
.hero-actions { display: flex; gap: 12px; animation: fadeUp .8s ease .65s both; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 15px 30px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .3s; font-weight: 500; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.07);
  transform: translateX(-100%); transition: transform .35s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-cta {
  background: var(--cyan); color: var(--black);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  font-weight: 700;
}
.btn-cta:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,212,255,.4); }

.btn-ghost {
  border: 1px solid rgba(0,212,255,.3); color: var(--steel);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--ice); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,212,255,.2); }

/* ── HERO RIGHT PANEL ───────────────────────────── */
.hero-right {
  position: relative; z-index: 3; height: 100%;
  border-left: 1px solid rgba(0,212,255,.1);
  display: flex; flex-direction: column;
  background: rgba(10,14,21,.7); backdrop-filter: blur(12px);
  animation: slideR .9s ease .25s both;
}
.hero-stat {
  padding: 36px 40px; border-bottom: 1px solid rgba(0,212,255,.07);
  transition: background .35s; cursor: default; position: relative; overflow: hidden;
}
.hero-stat::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--cyan);
  transform: scaleY(0); transition: transform .3s ease;
  box-shadow: 0 0 8px var(--cyan);
}
.hero-stat:hover { background: rgba(0,212,255,.05); }
.hero-stat:hover::after { transform: scaleY(1); }

.stat-num {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 56px; line-height: 1; color: var(--ice);
  display: flex; align-items: baseline; gap: 8px;
}
.stat-num sub {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; color: var(--cyan); font-weight: 300; letter-spacing: 1px;
}
.stat-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.hero-avail { padding: 28px 40px; margin-top: auto; border-top: 1px solid rgba(0,212,255,.07); }
.avail-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.avail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.avail-tag {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; color: var(--cyan);
  border: 1px solid rgba(0,212,255,.2);
  background: rgba(0,212,255,.05);
  display: flex; align-items: center; gap: 7px; transition: all .3s;
}
.avail-tag:hover { background: rgba(0,212,255,.14); border-color: var(--cyan); box-shadow: 0 0 12px rgba(0,212,255,.2); }
.avail-tag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); animation: blink 1.8s ease-in-out infinite;
  box-shadow: 0 0 6px var(--cyan);
}

/* ── VIDEO SECTION ──────────────────────────────── */
#video-section { position: relative; background: var(--black); overflow: hidden; }
.video-container { position: relative; width: 100%; height: 540px; overflow: hidden; }
.video-container video { width:100%; height:100%; object-fit:cover; display:block; }

/* Dark gradient overlays for strong text contrast */
.video-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to right,
      rgba(3,5,7,.92) 0%,
      rgba(3,5,7,.75) 35%,
      rgba(3,5,7,.35) 60%,
      rgba(3,5,7,.6)  100%),
    linear-gradient(to top,
      rgba(3,5,7,.5) 0%,
      transparent 40%);
  display: flex; align-items: center; padding: 0 80px;
}
.video-info { max-width: 520px; position: relative; z-index: 3; }
.video-tag {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  text-shadow: 0 0 20px rgba(0,212,255,.6);
}
.video-tag::before { content: ''; width: 24px; height: 1px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.video-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 64px;
  text-transform: uppercase; letter-spacing: 1px;
  color: #ffffff; line-height: .95; margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,.9), 0 0 60px rgba(0,0,0,.7);
}
.video-desc {
  font-size: 15px; line-height: 1.75; color: #e0e8f0;
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}

/* Glowing bottom border on video section */
#video-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px var(--cyan); z-index: 4;
}

/* ── SECTION BASE ───────────────────────────────── */
section { padding: 100px 56px; }

.s-header {
  display: flex; align-items: center; gap: 0; margin-bottom: 72px;
}
.s-num {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; letter-spacing: 2px; color: var(--cyan); margin-right: 24px;
}
.s-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800; font-size: clamp(40px, 5vw, 68px);
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--ice); line-height: 1;
}
.s-title span { color: var(--cyan); text-shadow: 0 0 30px rgba(0,212,255,.4); }
.s-line {
  flex: 1; height: 1px; margin-left: 32px;
  background: linear-gradient(90deg, rgba(0,212,255,.3), transparent);
}

/* ── SOBRE ──────────────────────────────────────── */
#sobre { background: var(--bg2); }
.sobre-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; }
.sobre-text p { font-size: 16px; line-height: 1.95; color: var(--muted); margin-bottom: 20px; }
.sobre-text p strong { color: var(--ice); font-weight: 600; }

/* Gallery */
.gallery-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); margin: 48px 0 20px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(0,212,255,.12);
  display: flex; align-items: center; gap: 10px;
}
.gallery-label::before { content: ''; width: 4px; height: 18px; background: var(--cyan); flex-shrink: 0; box-shadow: 0 0 8px var(--cyan); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.gallery-slot {
  aspect-ratio: 4/3; background: var(--panel);
  border: 1px solid rgba(0,212,255,.1);
  overflow: hidden; position: relative;
  cursor: pointer; transition: border-color .3s, box-shadow .3s;
}
.gallery-slot:hover { border-color: rgba(0,212,255,.5); box-shadow: 0 0 20px rgba(0,212,255,.15); }
.gallery-slot img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; display:block; }
.gallery-slot:hover img { transform: scale(1.08); }
.gallery-slot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,.08), transparent);
  opacity: 0; transition: opacity .3s;
}
.gallery-slot:hover::after { opacity: 1; }
.gallery-slot-ph {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; width:100%; height:100%; padding:12px;
}
.gallery-slot-ph .ph-icon { font-size: 22px; opacity: .25; }
.gallery-slot-ph span {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 7px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); text-align: center; line-height: 1.7;
}

/* Info cards */
.sobre-cards { display: flex; flex-direction: column; gap: 2px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px; background: var(--panel);
  border-left: 2px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,212,255,.04), transparent);
  opacity: 0; transition: opacity .3s;
}
.info-card:hover { border-left-color: var(--cyan); background: rgba(0,212,255,.04); box-shadow: inset 0 0 30px rgba(0,212,255,.04); }
.info-card:hover::before { opacity: 1; }
.ic-icon { width:36px; height:36px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:18px; background:var(--bg3); }
.ic-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.ic-val { font-size: 14px; color: var(--ice); font-weight: 500; }
.lang-bar { height: 2px; background: var(--dim); margin-top: 6px; border-radius: 1px; overflow: hidden; }
.lang-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), rgba(0,212,255,.5)); border-radius: 1px; position: relative; }
.lang-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shimmerSlide 2s ease-in-out infinite;
}

/* ── AREAS ──────────────────────────────────────── */
#areas { background: var(--bg); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.area-card {
  background: var(--panel); padding: 48px 36px;
  position: relative; overflow: hidden;
  transition: background .35s, transform .35s, box-shadow .35s;
  cursor: default;
}
.area-card:hover { background: rgba(13,19,30,1); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,212,255,.15); }

/* Animated top border */
.area-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  background-size: 200% 100%;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.area-card:hover::before { transform: scaleX(1); }

/* Corner accent */
.area-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid; border-width: 0 20px 20px 0;
  border-color: transparent rgba(0,212,255,.2) transparent transparent;
  transition: border-width .3s;
}
.area-card:hover::after { border-width: 0 28px 28px 0; border-color: transparent rgba(0,212,255,.4) transparent transparent; }

.area-bg-num {
  position: absolute; bottom: -14px; right: -6px;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 120px; line-height: 1;
  color: rgba(255,255,255,.022); pointer-events: none; transition: color .3s;
}
.area-card:hover .area-bg-num { color: rgba(0,212,255,.055); }

.area-icon { font-size: 30px; margin-bottom: 28px; display: block; animation: floatY 4s ease-in-out infinite; }
.area-cat {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(0,212,255,.4);
}
.area-name {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800; font-size: 26px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--ice); line-height: 1.15; margin-bottom: 16px;
}
.area-desc { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 28px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.a-tag {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 8px; letter-spacing: 1px; padding: 4px 9px;
  background: rgba(255,255,255,.04); color: var(--muted); text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .25s;
}
.area-card:hover .a-tag { background: rgba(0,212,255,.08); color: var(--steel); border-color: rgba(0,212,255,.15); }

/* ── EXPERIÊNCIA ────────────────────────────────── */
#exp { background: var(--bg2); }
.exp-wrap { display: grid; grid-template-columns: 1fr; gap: 2px; }
.exp-row {
  display: grid; grid-template-columns: 180px 1fr;
  background: var(--panel);
}
.exp-row:hover { background: rgba(14,20,30,1); }
.exp-period-col {
  padding: 40px 36px; border-right: 1px solid rgba(0,212,255,.08);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
  position: relative;
}
.exp-period-col::after {
  content: ''; position: absolute; right: -1px; top: 0; bottom: 0;
  width: 1px; background: transparent;
  transition: background .3s, box-shadow .3s;
}
.exp-row:hover .exp-period-col::after { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.exp-yr {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan);
  text-shadow: 0 0 16px rgba(0,212,255,.3);
}
.exp-status {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 8px; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; background: rgba(0,212,255,.1);
  color: var(--cyan); border: 1px solid rgba(0,212,255,.25);
  width: fit-content;
}
.exp-status.past { background: rgba(255,255,255,.04); color: var(--muted); border-color: var(--line); }

.exp-body-col { padding: 40px 48px; }
.exp-role-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; font-size: 24px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--ice); margin-bottom: 4px;
}
.exp-company-name { font-size: 13px; color: var(--steel); margin-bottom: 22px; font-weight: 500; }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.exp-bullets li {
  font-size: 14px; color: var(--muted); line-height: 1.65;
  padding-left: 20px; position: relative;
  transition: color .25s, padding-left .25s;
}
.exp-row:hover .exp-bullets li { color: var(--text); padding-left: 24px; }
.exp-bullets li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--cyan); font-size: 18px; line-height: 1.3;
  transition: left .25s;
}
.exp-row:hover .exp-bullets li::before { left: 4px; text-shadow: 0 0 8px var(--cyan); }

/* ── PROJECTO ───────────────────────────────────── */
#project { background: var(--bg); }
.proj-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0,212,255,.1); overflow: hidden;
  transition: border-color .4s, box-shadow .4s;
}
.proj-wrap:hover { border-color: rgba(0,212,255,.3); box-shadow: 0 0 60px rgba(0,212,255,.08); }

.proj-viz {
  background: var(--panel); min-height: 460px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.proj-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .32; filter: grayscale(35%) brightness(.55);
  transition: opacity .5s, filter .5s; z-index: 0;
}
.proj-wrap:hover .proj-photo { opacity: .48; filter: grayscale(15%) brightness(.65); }

.proj-photo-ph {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 2px dashed rgba(0,212,255,.12);
}
.proj-photo-ph span {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(0,212,255,.25); text-align: center; line-height: 1.9;
}
.proj-photo-ph .ph-icon { font-size: 36px; opacity: .2; }

.proj-viz-dim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, rgba(7,9,13,.6) 0%, rgba(7,9,13,.25) 50%, rgba(7,9,13,.5) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(7,9,13,.4) 100%);
}
.proj-viz-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 40% 40%, rgba(0,212,255,.09) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,30,60,.5) 0%, transparent 55%);
}
.geo-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(0,212,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 72%);
}
.geo-rings { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; }
.geo-ring {
  position: absolute; border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}
.geo-ring:nth-child(1) { width:80px;  height:80px;  border:1px solid rgba(0,212,255,.35); animation-delay:0s; }
.geo-ring:nth-child(2) { width:145px; height:145px; border:1px solid rgba(0,212,255,.22); animation-delay:.9s; }
.geo-ring:nth-child(3) { width:220px; height:220px; border:1px solid rgba(0,212,255,.14); animation-delay:1.8s; }
.geo-ring:nth-child(4) { width:305px; height:305px; border:1px dashed rgba(0,212,255,.1); animation-delay:2.7s; }

.geo-dot {
  width: 12px; height: 12px; background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,212,255,.2), 0 0 24px var(--cyan);
  position: relative; z-index: 4;
  animation: pulseDot 2.2s ease-in-out infinite;
}
.proj-label-overlay {
  position: absolute; bottom: 24px; left: 28px; right: 28px; z-index: 4;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(0,212,255,.6); display: flex; justify-content: space-between;
  text-shadow: 0 0 10px rgba(0,212,255,.5);
}
.proj-info {
  background: var(--panel); padding: 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.proj-client {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
  text-shadow: 0 0 16px rgba(0,212,255,.4);
}
.proj-name {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 48px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--ice); line-height: .95; margin-bottom: 24px;
}
.proj-body { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 36px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.p-tag {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid rgba(0,212,255,.2); color: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  transition: all .25s;
}
.p-tag:hover { background: rgba(0,212,255,.1); border-color: var(--cyan); box-shadow: 0 0 12px rgba(0,212,255,.2); }

/* ── SKILLS ─────────────────────────────────────── */
#skills { background: var(--bg2); }
.skills-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.sk-group {
  background: var(--panel); padding: 40px;
  position: relative; overflow: hidden;
  transition: background .35s;
}
.sk-group::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.3), transparent);
  transform: scaleX(0); transition: transform .4s ease;
}
.sk-group:hover { background: rgba(14,20,30,1); }
.sk-group:hover::before { transform: scaleX(1); }
.sk-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--cyan); margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,212,255,.1);
  display: flex; align-items: center; gap: 10px;
  text-shadow: 0 0 16px rgba(0,212,255,.3);
}
.sk-title::before { content: ''; width: 4px; height: 18px; background: var(--cyan); flex-shrink:0; box-shadow: 0 0 8px var(--cyan); }
.sk-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sk-list li {
  font-size: 14px; color: var(--muted); line-height: 1.5;
  padding-left: 16px; position: relative;
  transition: color .25s, padding-left .25s;
}
.sk-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 6px; height: 1px; background: var(--dim);
  transition: background .25s, width .25s, box-shadow .25s;
}
.sk-group:hover .sk-list li { color: var(--text); padding-left: 18px; }
.sk-group:hover .sk-list li::before { background: var(--cyan); width: 8px; box-shadow: 0 0 4px var(--cyan); }

/* ── CERTIFICAÇÕES ──────────────────────────────── */
#certs { background: var(--bg); }
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px; }
.cert {
  background: var(--panel); padding: 26px 30px;
  border-top: 2px solid transparent;
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.cert::after {
  content: ''; position: absolute; bottom: 0; left: -100%; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transition: left .6s ease;
}
.cert:hover { border-top-color: var(--cyan); background: rgba(14,20,30,1); }
.cert:hover::after { left: 100%; }
.cert-area {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0,212,255,.3);
}
.cert-name { font-size: 13px; color: var(--text); line-height: 1.55; font-weight: 500; }

/* ── FORMAÇÃO ───────────────────────────────────── */
#edu { background: var(--bg2); }
.edu-block { background: var(--panel); display: grid; grid-template-columns: 220px 1fr; overflow: hidden; }
.edu-side {
  background: rgba(0,212,255,.04);
  border-right: 1px solid rgba(0,212,255,.12);
  padding: 60px 40px;
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.edu-year-big {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 50px; line-height: 1; color: var(--cyan); display: block;
  text-shadow: 0 0 30px rgba(0,212,255,.3);
}
.edu-year-end { color: rgba(0,212,255,.3); }
.edu-inst {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); line-height: 1.6;
}
.edu-main { padding: 60px; }
.edu-degree {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800; font-size: 36px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--ice); margin-bottom: 32px;
}
.edu-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 32px; }
.edu-area {
  font-size: 13px; color: var(--muted); padding: 9px 16px;
  background: var(--bg3); border-left: 2px solid var(--dim);
  transition: border-color .3s, color .25s;
}
.edu-area:hover { border-left-color: var(--cyan); color: var(--text); }
.thesis-box {
  padding: 22px 28px; border: 1px solid rgba(0,212,255,.14);
  background: rgba(0,212,255,.035);
}
.thesis-lbl {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
}
.thesis-txt { font-size: 13px; color: var(--muted); line-height: 1.65; font-style: italic; }

/* ── CONTACT ────────────────────────────────────── */
#contact {
  background: var(--black); padding: 110px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.contact-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 78%);
}
.ct-avail { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 68px; position: relative; z-index: 2; }
.ct-av {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 9px 18px; color: var(--cyan);
  border: 1px solid rgba(0,212,255,.2); background: rgba(0,212,255,.05);
  display: flex; align-items: center; gap: 8px; transition: all .3s;
}
.ct-av:hover { background: rgba(0,212,255,.12); border-color: var(--cyan); box-shadow: 0 0 16px rgba(0,212,255,.2); }
.ct-av::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); animation: blink 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--cyan);
}
.ct-heading {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: clamp(56px, 8vw, 104px);
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--ice); line-height: .92;
  margin-bottom: 24px; position: relative; z-index: 2;
}
.ct-heading span { color: var(--cyan); text-shadow: 0 0 40px rgba(0,212,255,.5); }
.ct-sub { font-size: 16px; color: var(--muted); max-width: 500px; margin: 0 auto 56px; line-height: 1.75; position: relative; z-index: 2; }
.ct-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  padding: 28px 56px; border-top: 1px solid rgba(0,212,255,.08);
  background: var(--black);
  display: flex; justify-content: space-between; align-items: center;
}
.ft-brand {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--muted);
}
.ft-copy {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; color: var(--dim); letter-spacing: 1px;
}

/* ── LIGHTBOX ───────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.94); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 1px solid rgba(0,212,255,.2); box-shadow: 0 0 60px rgba(0,212,255,.2); }
.lightbox-close {
  position: absolute; top: 28px; right: 36px;
  font-size: 22px; color: var(--muted); cursor: pointer;
  background: none; border: none; transition: color .2s, text-shadow .2s;
  font-family: sans-serif;
}
.lightbox-close:hover { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1200px) {
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links {
    display: none; position: fixed; inset: 64px 0 0 0;
    background: rgba(3,5,7,.98); flex-direction: column; padding: 32px 24px; gap: 0;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 0; font-size: 13px; }
  .nav-toggle { display: flex; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 56px 24px; }
  section { padding: 72px 24px; }
  .sobre-grid, .proj-wrap, .edu-block { grid-template-columns: 1fr; }
  .exp-row { grid-template-columns: 1fr; }
  .exp-period-col { border-right: none; border-bottom: 1px solid rgba(0,212,255,.08); padding: 24px 24px; }
  .skills-wrap { grid-template-columns: 1fr 1fr; }
  .proj-viz { min-height: 260px; }
  .proj-info { padding: 40px 30px; }
  footer { flex-direction: column; gap: 10px; text-align: center; }
  .video-overlay { padding: 0 32px; }
  .video-title { font-size: 40px; }
  .video-container { height: 400px; }
}
@media (max-width: 600px) {
  .areas-grid, .skills-wrap, .gallery-grid, .edu-areas { grid-template-columns: 1fr; }
  h1 { font-size: 60px; }
  .video-title { font-size: 32px; }
  .video-container { height: 300px; }
}

/* ── VIEW COUNTER ───────────────────────────────── */
.vc-wrap {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg2); border: 1px solid rgba(0,212,255,.12);
  border-radius: 8px; padding: 7px 16px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.vc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); flex-shrink: 0;
  animation: blink 2s infinite;
}
.vc-num {
  font-size: 13px; font-weight: 500; color: var(--cyan);
  letter-spacing: .04em; min-width: 48px;
}
.vc-label {
  font-size: 9px; color: var(--dim); letter-spacing: 1px;
  text-transform: uppercase;
}
/* ════════════════════════════════════════════════════
   ADIÇÕES · headline · diferenciais · cursos · viewer
   ════════════════════════════════════════════════════ */

/* ── HERO HEADLINE (título profissional completo) ── */
.hero-headline {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; line-height: 2; letter-spacing: 1px;
  color: var(--steel); max-width: 560px; margin: -18px 0 30px;
  padding-left: 14px; border-left: 2px solid rgba(0,212,255,.35);
  animation: fadeUp .8s ease .45s both;
}
.hero-headline b { color: var(--cyan); font-weight: 500; }

/* ── DIFERENCIAIS (facts band) ── */
.facts-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px; margin-top: 56px;
}
.fact {
  background: var(--panel); padding: 22px 24px;
  border-top: 2px solid rgba(0,212,255,.18);
  transition: border-color .3s, background .3s;
}
.fact:hover { border-top-color: var(--cyan); background: rgba(0,212,255,.04); }
.fact-k {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px; text-shadow: 0 0 10px rgba(0,212,255,.3);
}
.fact-v { font-size: 14px; color: var(--text); line-height: 1.5; font-weight: 500; }

/* ── PROJECTOS (lista de 3) ── */
.projects-list { display: flex; flex-direction: column; gap: 40px; }
.proj-wrap.rev .proj-viz  { order: 2; }
.proj-wrap.rev .proj-info { order: 1; }
.proj-meta {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--steel); margin-bottom: 28px;
}

/* ── CERTIFICAÇÕES — indicador de clique ── */
.cert { cursor: pointer; }
.cert-view {
  position: absolute; top: 14px; right: 16px; z-index: 3;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 8px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--cyan); opacity: 0; transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
  display: flex; align-items: center; gap: 5px;
}
.cert-view::before { content: '◉'; font-size: 9px; }
.cert:hover .cert-view { opacity: 1; transform: translateY(0); }
.cert-yr {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; color: var(--muted); margin-top: 8px; letter-spacing: 1px;
}

/* ── BLOCO DE CONTAGEM ── */
.certs-counter {
  display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 40px;
  padding: 22px 28px; background: var(--panel);
  border-left: 2px solid var(--cyan);
}
.cc-item { display: flex; flex-direction: column; gap: 2px; }
.cc-num {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: 34px; line-height: 1; color: var(--cyan);
  text-shadow: 0 0 24px rgba(0,212,255,.3);
}
.cc-lbl {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}

/* ── FORMAÇÕES EM CURSO ── */
.courses-section { margin-top: 64px; }
.courses-head {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,212,255,.12);
  display: flex; align-items: center; gap: 10px;
}
.courses-head::before { content: ''; width: 4px; height: 18px; background: var(--cyan); flex-shrink: 0; box-shadow: 0 0 8px var(--cyan); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px; }
.course-item {
  background: var(--panel); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  border-left: 2px solid transparent; transition: border-color .3s, background .3s;
}
.course-item:hover { border-left-color: var(--cyan); background: rgba(0,212,255,.04); }
.course-name { font-size: 13px; color: var(--text); line-height: 1.45; }
.course-status {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 8px; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px; white-space: nowrap; flex-shrink: 0;
}
.course-status.em-curso { color: var(--cyan); border: 1px solid rgba(0,212,255,.3); background: rgba(0,212,255,.06); }
.course-status.nocao    { color: var(--steel); border: 1px solid var(--line2); background: rgba(255,255,255,.03); }

/* ── VISUALIZADOR DE CERTIFICADOS (protegido) ── */
.cert-viewer {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,.96); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 36px 24px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.cert-viewer.open { opacity: 1; pointer-events: all; }
.cv-top {
  display: flex; align-items: center; justify-content: space-between;
  width: min(900px, 94vw); gap: 16px;
}
.cv-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ice); line-height: 1.1;
}
.cv-close {
  font-size: 22px; color: var(--muted); cursor: pointer;
  background: none; border: 1px solid var(--line2); width: 40px; height: 40px;
  flex-shrink: 0; transition: color .2s, border-color .2s, box-shadow .2s;
  font-family: sans-serif;
}
.cv-close:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px rgba(0,212,255,.25); }
.cv-frame-wrap {
  position: relative; width: min(900px, 94vw); height: min(78vh, 1040px);
  border: 1px solid rgba(0,212,255,.25); background: var(--panel);
  box-shadow: 0 0 60px rgba(0,212,255,.14); overflow: hidden;
  user-select: none; -webkit-user-select: none;
}
.cv-frame-wrap iframe, .cv-frame-wrap img {
  width: 100%; height: 100%; border: 0; display: block;
  object-fit: contain; background: #fff;
  -webkit-user-drag: none; user-select: none; pointer-events: auto;
}
/* marca d'água diagonal de protecção */
.cv-frame-wrap::after {
  content: 'HUGUES MANUEL MAVUBA · VISUALIZAÇÃO PROTEGIDA';
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 4px;
  color: rgba(0,140,200,.10); transform: rotate(-28deg);
  text-align: center; font-weight: 700;
}
.cv-note {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 8px;
}
.cv-note::before { content: '🔒'; font-size: 11px; }
.cv-fallback {
  position: absolute; inset: 0; z-index: 4; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: var(--panel); padding: 40px; text-align: center;
}
.cv-fallback .ph-icon { font-size: 42px; opacity: .25; }
.cv-fallback span {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); line-height: 1.9;
}

@media (max-width: 900px) {
  .proj-wrap.rev .proj-viz  { order: 0; }
  .proj-wrap.rev .proj-info { order: 0; }
  .hero-headline { max-width: 100%; }
}

/* =====================================================================
   VISUAL UPDATE - modelo adaptado para portfolio geologico
   ===================================================================== */
:root {
  --black: #08111f;
  --bg: #eef6fb;
  --bg2: #f7fbff;
  --bg3: #e7f1f8;
  --panel: #ffffff;
  --line: rgba(12, 39, 62, .09);
  --line2: rgba(12, 39, 62, .14);
  --ice: #0b2134;
  --steel: #51718b;
  --cyan: #12cdd4;
  --cyan2: rgba(18, 205, 212, .12);
  --text: #263f55;
  --muted: #60798e;
  --dim: #a9bfce;
  --glow: rgba(18, 205, 212, .22);
  --navy: #102a48;
  --navy2: #173a61;
  --coral: #ff7f8e;
}

html { background: #dbe8f0; }
body {
  background:
    radial-gradient(circle at 18% 8%, rgba(18,205,212,.16), transparent 26rem),
    linear-gradient(135deg, #f7fbff 0%, #e6f1f7 42%, #d7e6ee 100%);
  color: var(--text);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.6), transparent 22%, transparent 78%, rgba(7,25,43,.08)),
    radial-gradient(circle at 82% 18%, rgba(255,127,142,.14), transparent 18rem);
  z-index: -1;
}

nav {
  top: 22px;
  left: 50%;
  right: auto;
  width: min(1120px, calc(100% - 48px));
  height: 62px;
  transform: translateX(-50%);
  padding: 0 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,42,72,.08);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16,42,72,.14);
}
nav.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 18px 48px rgba(16,42,72,.18); }
.nav-logo, .nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-logo sup, .nav-links a::after, .s-title span, .s-num { color: var(--cyan); }
.nav-links { gap: 18px; }
.nav-links a { color: #7890a3; font-size: 9px; letter-spacing: 1.7px; }

#hero {
  min-height: 760px;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: stretch;
  padding: 120px min(6vw, 76px) 56px;
  background:
    linear-gradient(120deg, rgba(16,42,72,.96) 0%, rgba(12,79,103,.94) 48%, rgba(18,205,212,.86) 100%);
  clip-path: ellipse(138% 100% at 50% 0%);
}
#hero::after {
  content: '';
  position: absolute;
  right: min(8vw, 110px);
  top: 140px;
  width: min(38vw, 510px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(18,205,212,.35);
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: inset 0 0 0 52px rgba(255,255,255,.07), 0 42px 90px rgba(0,0,0,.18);
}
.bp-grid, .scanline, .scan-beam { opacity: .2; }
.hero-left { padding: 82px 0 80px; max-width: 760px; }
.hero-eyebrow, .hero-headline b, .video-tag, .gallery-label, .fact-k, .area-cat, .cert-area, .courses-head, .thesis-lbl { color: #38eff2; }
h1 {
  color: #fff;
  font-size: clamp(64px, 8vw, 118px);
  letter-spacing: 0;
  text-shadow: 0 18px 54px rgba(0,0,0,.22);
}
h1 .line2 { -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.hero-role, .hero-headline, .hero-desc { color: rgba(242,251,255,.82); }
.hero-desc { max-width: 640px; }
.btn { border-radius: 999px; clip-path: none; letter-spacing: 1.3px; }
.btn-cta { background: var(--coral); color: #fff; box-shadow: 0 14px 28px rgba(255,127,142,.28); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.hero-right {
  align-self: center;
  height: auto;
  max-height: 520px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}
.hero-stat, .hero-avail { border-color: rgba(16,42,72,.08); }
.stat-num { color: var(--navy); }
.stat-num sub, .stat-label, .avail-label { color: var(--muted); }
.avail-tag { color: var(--navy); border-color: rgba(18,205,212,.24); background: rgba(18,205,212,.08); }

#video-section, #sobre, #areas, #exp, #project, #skills, #certs, #edu, #contact { background: transparent; }
section { padding: 92px min(6vw, 76px); }
.s-header { margin-bottom: 44px; }
.s-title { color: var(--navy); letter-spacing: 0; }
.s-line { background: linear-gradient(90deg, rgba(18,205,212,.45), transparent); }
.video-container, .sobre-grid, .facts-band, .areas-grid, .exp-wrap, .projects-list, .skills-wrap, .certs-grid, .courses-grid, .edu-block, .certs-counter, .gallery-intro, .portfolio-gallery-grid {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.video-container, .sobre-grid, .fact, .area-card, .exp-row, .proj-wrap, .sk-group, .cert, .course-item, .edu-block, .certs-counter, .info-card, .gallery-slot, .portfolio-shot, .gallery-intro {
  border-radius: 8px;
  border: 1px solid rgba(16,42,72,.08);
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 50px rgba(16,42,72,.09);
}
.video-container { height: 430px; overflow: hidden; }
.video-overlay { border-radius: 8px; left: 50%; transform: translateX(-50%); max-width: 1160px; }
.video-title { color: #fff; }
.sobre-grid { padding: 42px; gap: 46px; }
.sobre-text p, .area-desc, .proj-body, .sk-list li, .thesis-txt, .course-name, .cert-name { color: var(--text); }
.sobre-text p strong, .ic-val, .fact-v, .edu-degree { color: var(--navy); }
.info-card { box-shadow: none; }
.facts-band, .areas-grid, .skills-wrap, .certs-grid, .courses-grid { gap: 18px; }
.area-card, .sk-group, .cert { padding: 30px; overflow: hidden; }
.area-bg-num { color: rgba(18,205,212,.12); }
.exp-row { overflow: hidden; margin-bottom: 18px; }
.exp-period-col { background: var(--navy); }
.exp-role-title, .proj-name { color: var(--navy); }
.exp-company-name, .proj-client, .proj-meta, .cert-yr { color: var(--steel); }
.exp-bullets li { color: var(--text); }
.proj-wrap { overflow: hidden; }
.proj-info { background: #fff; }
.proj-viz { background: linear-gradient(135deg, var(--navy), #1c7890); }
.gallery-grid { gap: 12px; }
.gallery-slot { box-shadow: none; }

.work-gallery { position: relative; }
.gallery-intro {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 26px 30px;
  margin-bottom: 18px;
}
.gallery-intro p { max-width: 760px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.gallery-intro code { color: var(--navy); background: rgba(18,205,212,.1); padding: 2px 6px; border-radius: 5px; }
.gallery-kicker, .gallery-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cyan);
}
.gallery-note { color: var(--steel); text-align: right; max-width: 260px; }
.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: 1.18fr repeat(2, .91fr);
  grid-auto-rows: 230px;
  gap: 18px;
}
.portfolio-shot {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.portfolio-shot.featured { grid-row: span 2; }
.portfolio-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-shot.is-missing::before {
  content: 'Adicionar imagem';
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(18,205,212,.45);
  color: var(--steel);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(18,205,212,.08), rgba(16,42,72,.04));
}
.portfolio-shot.is-missing img { opacity: 0; }
.portfolio-shot figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(8,17,31,.78);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(12px);
}
.portfolio-shot figcaption span { color: var(--cyan); font-family: 'JetBrains Mono', monospace; font-size: 10px; }
#contact { background: var(--navy); color: #fff; }
#contact .ct-heading, #contact .ct-sub { color: #fff; }
footer { background: #fff; border-color: rgba(16,42,72,.08); }

@media (max-width: 1000px) {
  nav { top: 12px; width: calc(100% - 24px); }
  #hero { grid-template-columns: 1fr; clip-path: none; min-height: auto; }
  #hero::after { opacity: .35; right: -120px; top: 120px; }
  .hero-right { display: grid; grid-template-columns: repeat(3, 1fr); max-height: none; }
  .hero-avail { grid-column: 1 / -1; }
  .sobre-grid, .gallery-intro { grid-template-columns: 1fr; display: block; }
  .gallery-note { text-align: left; margin-top: 12px; max-width: none; }
  .portfolio-gallery-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-shot.featured { grid-row: span 1; }
}
@media (max-width: 700px) {
  section { padding: 68px 20px; }
  #hero { padding: 96px 22px 44px; }
  .hero-left { padding: 42px 0; }
  .hero-right { grid-template-columns: 1fr; }
  h1 { font-size: 54px; }
  .sobre-grid { padding: 24px; }
  .portfolio-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .nav-links { border-radius: 8px; top: 84px; inset-inline: 12px; }
}

/* ════════════════════════════════════════════════════
   VÍDEO · placeholder + botão de reserva (tema claro)
   ════════════════════════════════════════════════════ */
.video-container { position: relative; background: linear-gradient(135deg, var(--navy), #1c7890) !important; }
.video-ph {
  position: absolute; inset: 0; z-index: 1; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(135deg, var(--navy), #1c7890);
  border-radius: 8px; text-align: center; padding: 32px;
}
.video-ph .ph-icon { font-size: 40px; opacity: .55; }
.video-ph span {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1.4px;
  text-transform: uppercase; color: rgba(255,255,255,.72); line-height: 1.85; max-width: 380px;
}
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  z-index: 3; width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6); background: rgba(8,17,31,.5);
  color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding-left: 4px;
  transition: transform .25s, background .25s, border-color .25s;
}
.video-play[hidden] { display: none; }
.video-play:hover { transform: translate(-50%,-50%) scale(1.08); background: var(--coral); border-color: var(--coral); }

/* ════════════════════════════════════════════════════
   V3 · foto do hero · vídeo full-width · showcase/carrossel
   ════════════════════════════════════════════════════ */

/* ── FOTO DO HERO (PNG sem fundo, onde estava o X) ── */
.hero-photo {
  position: absolute;
  bottom: 0;
  right: clamp(100px, 25vw, 250px);
  height: clamp(800px, 100%, 1060px);
  width: auto;
  max-width: 46vw;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;                 /* acima do gradiente/círculo, abaixo do cartão */
  pointer-events: none;
  filter: drop-shadow(0 28px 60px rgba(0,0,0,.4));
  animation: floatY 6s ease-in-out infinite;
}

/* ── VÍDEO em largura total (cobre toda a área a vermelho) ── */
#video-section { padding: 30px clamp(16px, 2.4vw, 38px); }
.video-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  height: clamp(400px, 56vh, 620px) !important;
}

/* ── SHOWCASE (texto + carrossel) ── */
.showcase {
  position: relative;
  height: clamp(460px, 64vh, 680px);
  overflow: hidden;
  border-radius: 0;
}
.showcase-track {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--navy), #1c7890);
}
.showcase-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  opacity: 0; transition: opacity 1s ease;
  will-change: opacity;
}
.showcase-slide.active { opacity: 1; }
.showcase-grad {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(8,17,31,.94) 0%,
      rgba(8,17,31,.78) 36%,
      rgba(8,17,31,.42) 62%,
      rgba(18,42,72,.55) 100%),
    linear-gradient(to top, rgba(8,17,31,.55) 0%, transparent 42%);
}
.showcase-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 5vw, 76px);
}
.showcase-content .video-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #38eff2; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.showcase-content .video-tag::before {
  content: ''; width: 28px; height: 1px; background: #38eff2;
}
.showcase-content .video-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; font-size: clamp(40px, 6vw, 72px);
  text-transform: uppercase; letter-spacing: 1px;
  color: #fff; line-height: .95; margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.showcase-content .video-desc {
  font-size: 16px; line-height: 1.75; color: #e6eef6;
  max-width: 520px; text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.showcase-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.sc-dot {
  width: 34px; height: 4px; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.32); cursor: pointer;
  transition: background .3s, width .3s; padding: 0;
}
.sc-dot.active { background: var(--cyan); width: 46px; }
.sc-dot:hover { background: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .hero-photo { display: none; }              /* hero-right já está oculto no mobile */
  .video-container { height: clamp(220px, 42vh, 360px) !important; }
  .showcase { height: clamp(420px, 70vh, 560px); }
  .showcase-grad { background: linear-gradient(to top, rgba(8,17,31,.92) 0%, rgba(8,17,31,.55) 55%, rgba(8,17,31,.35) 100%); }
  .showcase-content { justify-content: flex-end; padding-bottom: 56px; }
}

/* ════════════════════════════════════════════════════
   HOVER dos cartões de Área — texto claro (legível)
   ════════════════════════════════════════════════════ */
.area-card:hover .area-name { color: #ffffff; }
.area-card:hover .area-desc { color: rgba(255,255,255,.82); }
.area-card:hover .area-cat  { color: #38eff2; }
.area-card:hover .a-tag {
  color: #d8eef6;
  background: rgba(0,212,255,.10);
  border-color: rgba(0,212,255,.25);
}
