/* =========================================================
   Portfólio Dandara Cardoso — estilos
   Paleta: fundo azul-violeta escuro, acentos ciano -> violeta
   ========================================================= */

:root{
  --bg:            oklch(0.13 0.025 265);
  --bg-deep:       oklch(0.12 0.024 265);
  --surface:       oklch(0.21 0.038 270 / .45);
  --surface-2:     oklch(0.21 0.038 270 / .55);
  --border:        oklch(0.32 0.04 270 / .5);
  --border-soft:   oklch(0.32 0.04 270 / .4);
  --text:          oklch(0.96 0.008 265);
  --text-bright:   oklch(0.97 0.006 265);
  --text-muted:    oklch(0.76 0.015 265);
  --text-dim:      oklch(0.68 0.02 265);
  --accent:        oklch(0.82 0.15 195);
  --accent-2:      oklch(0.72 0.19 300);
  --on-accent:     oklch(0.14 0.025 265);
  --grad:          linear-gradient(135deg, oklch(0.82 0.15 195), oklch(0.72 0.19 300));
  --max:           1180px;
  --pad-x:         clamp(20px, 5vw, 32px);
  --pad-y:         clamp(64px, 9vw, 100px);
  --font-display:  'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Sora', system-ui, sans-serif;
  --font-mono:     'Space Mono', ui-monospace, monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-family: var(--font-body);
}

a{ color: var(--accent); }
a:hover{ color: var(--accent-2); }

::selection{ background: oklch(0.72 0.19 300 / .4); color:#fff; }
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background: oklch(0.15 0.028 265); }
::-webkit-scrollbar-thumb{ background: linear-gradient(var(--accent), var(--accent-2)); border-radius:10px; }

/* ===================== Animações ===================== */
@keyframes aurora{ 0%{background-position:0% 0%} 50%{background-position:100% 100%} 100%{background-position:0% 0%} }
@keyframes gridPan{ from{background-position:0 0} to{background-position:0 60px} }
@keyframes spinSlow{ to{ transform: rotate(360deg) } }
@keyframes floatY{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes blink{ 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes shimmer{ to{ background-position:200% center } }
@keyframes pulseDot{
  0%{ box-shadow:0 0 0 0 oklch(0.82 0.18 150 / .6) }
  70%{ box-shadow:0 0 0 11px transparent }
  100%{ box-shadow:0 0 0 0 transparent }
}
@keyframes astroWave{ 0%,100%{ transform: rotate(-18deg) } 50%{ transform: rotate(-72deg) } }

/* ===================== Fundos ===================== */
.bg-aurora{
  position:fixed; inset:0; z-index:-3;
  background:
    radial-gradient(55% 50% at 18% 12%, oklch(0.32 0.11 305 / .55), transparent 60%),
    radial-gradient(50% 45% at 86% 22%, oklch(0.34 0.1 210 / .5), transparent 60%),
    radial-gradient(65% 60% at 55% 105%, oklch(0.28 0.09 280 / .45), transparent 60%),
    var(--bg-deep);
  background-size:200% 200%;
  animation: aurora 24s ease-in-out infinite;
}
.bg-grid{
  position:fixed; inset:0; z-index:-2;
  background-image:
    linear-gradient(oklch(0.6 0.06 270 / .05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.6 0.06 270 / .05) 1px, transparent 1px);
  background-size:60px 60px;
  animation: gridPan 9s linear infinite;
  -webkit-mask-image: radial-gradient(circle at 50% 26%, black, transparent 82%);
  mask-image: radial-gradient(circle at 50% 26%, black, transparent 82%);
}
.bg-canvas{ position:fixed; inset:0; z-index:-1; width:100%; height:100%; }

.cursor-glow{
  position:fixed; left:0; top:0; width:440px; height:440px;
  transform: translate(-50%,-50%);
  border-radius:50%; pointer-events:none; z-index:60;
  background: radial-gradient(circle, oklch(0.72 0.19 300 / .16), transparent 62%);
  mix-blend-mode: screen;
  transition: left .13s ease-out, top .13s ease-out;
}

.progress-bar{
  position:fixed; top:0; left:0; height:3px; width:0; z-index:1200;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px oklch(0.72 0.19 300 / .6);
}

/* ===================== Astronauta ===================== */
.astro{
  position:fixed; left:0; top:0; z-index:55; pointer-events:none;
  will-change: transform;
  filter: drop-shadow(0 10px 16px oklch(0.1 0.02 265 / .55));
}
.astro-body{ position:relative; width:64px; height:78px; }
.astro-pack{ position:absolute; top:40px; left:9px; width:46px; height:30px; border-radius:16px; background: oklch(0.5 0.02 265); }
.astro-arm-left{ position:absolute; top:44px; left:1px; width:14px; height:26px; border-radius:9px; background: oklch(0.95 0.005 265); transform: rotate(16deg); }
.astro-arm-right{ position:absolute; top:44px; right:1px; width:14px; height:26px; border-radius:9px; background: oklch(0.95 0.005 265); transform: rotate(-18deg); transform-origin: top center; }
.astro-leg-left{ position:absolute; bottom:0; left:16px; width:14px; height:20px; border-radius:8px; background: oklch(0.95 0.005 265); }
.astro-leg-right{ position:absolute; bottom:0; right:16px; width:14px; height:20px; border-radius:8px; background: oklch(0.95 0.005 265); }
.astro-torso{ position:absolute; top:40px; left:14px; width:36px; height:32px; border-radius:15px; background: linear-gradient(160deg, oklch(0.98 0.004 265), oklch(0.85 0.01 265)); }
.astro-chest{ position:absolute; top:50px; left:26px; width:12px; height:8px; border-radius:4px; background: linear-gradient(var(--accent), var(--accent-2)); }
.astro-helmet{ position:absolute; top:0; left:8px; width:48px; height:48px; border-radius:50%; background: radial-gradient(circle at 34% 30%, oklch(1 0 0), oklch(0.84 0.01 265)); }
.astro-visor{ position:absolute; top:11px; left:15px; width:34px; height:28px; border-radius:15px; background: radial-gradient(circle at 65% 32%, oklch(0.5 0.09 230), oklch(0.16 0.03 265) 72%); box-shadow: inset 0 0 6px oklch(0 0 0 / .6); }
.astro-glint{ position:absolute; top:15px; left:20px; width:10px; height:8px; border-radius:50%; background: oklch(0.85 0.15 195 / .85); filter: blur(1px); }
.astro-bubble{
  position:absolute; top:-34px; left:50%; transform: translateX(-50%);
  white-space:nowrap; font-family: var(--font-mono); font-size:12px; font-weight:700;
  color: var(--on-accent);
  background: linear-gradient(135deg, oklch(0.85 0.15 195), oklch(0.78 0.17 300));
  padding:5px 10px; border-radius:10px; opacity:0;
  transition: opacity .25s, transform .25s;
}
.astro-arm-right.is-waving{ animation: astroWave .45s ease-in-out infinite; }
.astro-bubble.is-visible{ opacity:1; transform: translateX(-50%) translateY(-4px); }

/* ===================== Navegação ===================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between;
  padding:14px clamp(16px, 4vw, 30px);
  border-bottom:1px solid transparent;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
}
.nav.is-scrolled{
  background: oklch(0.13 0.024 265 / .82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.brand{
  display:flex; align-items:center; gap:10px; text-decoration:none;
  color: var(--text); font-family: var(--font-display); font-weight:700;
  letter-spacing:.3px; font-size:16px;
}
.brand:hover{ color: var(--text); }
.brand-mark{
  width:30px; height:30px; border-radius:9px; background: var(--grad);
  display:flex; align-items:center; justify-content:center;
  color: var(--on-accent); font-size:15px; font-weight:800;
}
.brand-dot{ color: var(--accent-2); }

.nav-links{ display:flex; flex-wrap:wrap; gap:22px; align-items:center; font-size:14px; }
.nav-links a{ color: oklch(0.72 0.02 265); text-decoration:none; transition: color .2s; }
.nav-links a:hover{ color: var(--accent); }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.lang-btn{
  cursor:pointer; font-family: var(--font-mono); font-size:12px; font-weight:700;
  letter-spacing:1px; color: var(--accent); background:transparent;
  border:1px solid oklch(0.82 0.15 195 / .45); padding:7px 12px; border-radius:9px;
  transition: background .2s;
}
.lang-btn:hover{ background: oklch(0.82 0.15 195 / .12); }

.menu-btn{
  display:none; cursor:pointer; flex-direction:column; justify-content:center; gap:4px;
  width:40px; height:34px; padding:0 9px; background:transparent;
  border:1px solid oklch(0.4 0.04 270); border-radius:9px;
}
.menu-btn span{ display:block; height:2px; background: oklch(0.85 0.02 265); border-radius:2px; }

.menu-mobile{
  display:none; position:fixed; top:58px; left:0; right:0; z-index:999;
  flex-direction:column; padding:10px 20px 18px;
  background: oklch(0.13 0.024 265 / .97); backdrop-filter: blur(16px);
  border-bottom:1px solid oklch(0.32 0.04 270 / .6);
}
.menu-mobile.is-open{ display:flex; }
.menu-mobile a{
  text-decoration:none; color: oklch(0.85 0.02 265); font-size:16px;
  padding:13px 4px; border-bottom:1px solid oklch(0.28 0.03 270 / .5);
}
.menu-mobile a:last-child{ border-bottom:none; }

/* ===================== Botões ===================== */
.btn-primary{
  display:inline-block; text-decoration:none; padding:15px 28px; border-radius:12px;
  background: var(--grad); color: var(--on-accent);
  font-family: var(--font-display); font-weight:600; font-size:15px;
  box-shadow: 0 10px 34px oklch(0.72 0.19 300 / .32);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover{
  color: var(--on-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px oklch(0.72 0.19 300 / .45);
}
.btn-sm{ padding:9px 16px; font-size:14px; box-shadow:0 6px 20px oklch(0.72 0.19 300 / .3); }
.btn-ghost{
  display:inline-block; text-decoration:none; padding:15px 26px; border-radius:12px;
  border:1px solid oklch(0.4 0.04 270); color: oklch(0.92 0.01 265);
  font-family: var(--font-display); font-weight:600; font-size:15px;
  background: oklch(0.21 0.038 270 / .35); backdrop-filter: blur(10px);
  transition: border-color .2s;
}
.btn-ghost:hover{ border-color: var(--accent); color: oklch(0.92 0.01 265); }

/* ===================== Hero ===================== */
.hero{
  min-height:100vh; display:flex; align-items:center; position:relative;
  max-width: var(--max); margin:0 auto;
  padding: clamp(112px, 16vw, 130px) var(--pad-x) 90px;
}
.hero-inner{ display:flex; flex-wrap:wrap; gap:52px; align-items:center; width:100%; }
.hero-text{ flex:1 1 440px; }
.hero-photo-wrap{ flex:1 1 300px; display:flex; justify-content:center; }

.kicker-pill{
  display:inline-flex; align-items:center; font-family: var(--font-mono);
  font-size:13px; letter-spacing:2px; color: var(--accent);
  border:1px solid oklch(0.82 0.15 195 / .35);
  padding:7px 14px; border-radius:30px;
  background: oklch(0.82 0.15 195 / .07); margin-bottom:26px;
}
.hero-title{
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(46px, 7.5vw, 88px); line-height:.96; letter-spacing:-2px; margin:0;
}
.hero-name{ display:block; color: var(--text-bright); }
.hero-name-grad{
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation: shimmer 6s linear infinite;
}
.typeline{
  font-family: var(--font-mono); font-size: clamp(15px, 2vw, 21px);
  color: oklch(0.72 0.02 265); margin:20px 0 24px; min-height:30px;
}
.typeline-caret{ color: var(--accent); }
.typeline-cursor{ color: var(--accent-2); animation: blink 1.05s step-end infinite; }
.hero-desc{ font-size:17px; line-height:1.75; color: var(--text-muted); max-width:530px; margin:0 0 30px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.availability{
  display:flex; align-items:center; gap:11px; margin-top:30px;
  font-family: var(--font-mono); font-size:12px; color: oklch(0.72 0.02 265); letter-spacing:1px;
}
.dot-pulse{ width:9px; height:9px; border-radius:50%; background: oklch(0.82 0.18 150); animation: pulseDot 2s infinite; }

.photo-ring{
  position:relative; width:min(400px, 86vw); height:min(400px, 86vw);
  display:flex; align-items:center; justify-content:center;
}
.ring-blur{
  position:absolute; inset:0; border-radius:50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  animation: spinSlow 16s linear infinite; filter: blur(9px); opacity:.75;
}
.ring-solid{
  position:absolute; inset:8px; border-radius:50%;
  background: conic-gradient(from 180deg, var(--accent-2), var(--accent), var(--accent-2));
  animation: spinSlow 11s linear infinite reverse; opacity:.9;
}
.photo{
  position:relative;
  width:min(360px, calc(86vw - 40px)); height:min(360px, calc(86vw - 40px));
  border-radius:50%; object-fit:cover; object-position:54% 34%;
  box-shadow: 0 0 50px oklch(0.72 0.19 300 / .35);
}
.float-chip{
  position:absolute; font-family: var(--font-mono); font-size:12px;
  padding:8px 12px; border-radius:11px;
  background: oklch(0.19 0.032 268 / .8); backdrop-filter: blur(8px);
}
.chip-code{ top:2px; right:-8px; border:1px solid oklch(0.82 0.15 195 / .4); color: var(--accent); animation: floatY 5s ease-in-out infinite; }
.chip-braces{ bottom:14px; left:-18px; border:1px solid oklch(0.72 0.19 300 / .4); color: oklch(0.8 0.11 300); animation: floatY 6s ease-in-out infinite .8s; }

.scroll-hint{
  position:absolute; bottom:26px; left:50%; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:9px;
  font-family: var(--font-mono); font-size:10px; letter-spacing:3px; color: oklch(0.6 0.02 265);
}
.scroll-line{ width:1px; height:36px; background: linear-gradient(var(--accent), transparent); }

/* ===================== Seções ===================== */
.section{ max-width: var(--max); margin:0 auto; padding: var(--pad-y) var(--pad-x); position:relative; }
.section-head{ margin-bottom:44px; }
.kicker{ font-family: var(--font-mono); font-size:13px; letter-spacing:3px; color: var(--accent); margin-bottom:14px; }
.section-title{
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(30px, 4.5vw, 50px); letter-spacing:-1px;
  color: var(--text-bright); margin:0; line-height:1.05; max-width:760px;
  text-wrap: pretty;
}

/* Reveal on scroll */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ===================== Sobre ===================== */
.about-grid{ display:flex; flex-wrap:wrap; gap:52px; align-items:flex-start; }
.about-photo{ flex:1 1 260px; max-width:340px; position:relative; }
.about-photo img{
  width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:22px; display:block;
  box-shadow: 0 24px 60px oklch(0.1 0.02 265 / .6);
}
.about-photo .photo-placeholder{ display:none; }
.about-photo.is-empty .photo-placeholder{
  display:flex; width:100%; aspect-ratio:4/5; border-radius:22px;
}
.photo-placeholder{
  align-items:center; justify-content:center; text-align:center; padding:18px;
  border:1px dashed oklch(0.5 0.05 270); background: oklch(0.19 0.032 268 / .5);
  color: var(--text-dim); font-family: var(--font-mono); font-size:12px; line-height:1.6;
}
.about-body{ flex:2 1 440px; }
.about-body p{ font-size:17px; line-height:1.8; color: oklch(0.79 0.015 265); margin:0 0 18px; text-wrap: pretty; }
.stats-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap:16px; margin-top:30px; }
.stat-card{
  border:1px solid var(--border); border-radius:16px; padding:20px;
  background: linear-gradient(160deg, var(--surface-2), oklch(0.185 0.032 268 / .25));
}
.stat-n{
  font-family: var(--font-display); font-weight:700; font-size:30px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-l{ font-family: var(--font-mono); font-size:12px; color: var(--text-dim); margin-top:7px; letter-spacing:.5px; }

/* ===================== Skills ===================== */
.skills-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap:44px; }
.col-label{ font-family: var(--font-mono); font-size:12px; letter-spacing:2px; color: oklch(0.7 0.02 265); margin-bottom:24px; }
.skill{ margin-bottom:19px; }
.skill-top{ display:flex; justify-content:space-between; font-size:14.5px; color: oklch(0.9 0.01 265); margin-bottom:9px; }
.skill-pct{ font-family: var(--font-mono); font-size:12px; color: oklch(0.7 0.02 265); }
.skill-track{ height:7px; border-radius:20px; background: oklch(0.27 0.03 270); overflow:hidden; }
.skill-fill{
  height:100%; width:0; border-radius:20px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.chips{ display:flex; flex-wrap:wrap; gap:12px; }
.chip{
  font-family: var(--font-mono); font-size:13px; color: oklch(0.86 0.03 265);
  border:1px solid oklch(0.72 0.19 300 / .4); background: oklch(0.72 0.19 300 / .08);
  padding:9px 15px; border-radius:10px; transition: border-color .2s, transform .2s;
}
.chip:hover{ border-color: var(--accent); transform: translateY(-2px); }
.muted-note{ font-size:14.5px; line-height:1.7; color: oklch(0.68 0.015 265); margin:26px 0 0; max-width:420px; }

/* ===================== Projetos ===================== */
.projects-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap:22px; }
.project-card{
  border:1px solid var(--border); border-radius:18px; overflow:hidden;
  background: var(--surface);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.project-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 52px oklch(0.1 0.02 265 / .5);
  border-color: oklch(0.82 0.15 195 / .6);
}
.project-media{ position:relative; height:184px; }
.project-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.project-media .photo-placeholder{ display:flex; width:100%; height:100%; border:none; border-bottom:1px dashed oklch(0.4 0.05 270); }
.project-badge{
  position:absolute; top:12px; left:12px; font-family: var(--font-mono); font-size:11px;
  padding:5px 9px; border-radius:20px; background: oklch(0.14 0.025 265 / .72); white-space:nowrap;
  backdrop-filter: blur(6px); color: var(--accent); border:1px solid oklch(0.82 0.15 195 / .4);
}
.project-status{
  position:absolute; top:12px; right:12px; font-family: var(--font-mono); font-size:10px;
  letter-spacing:.5px; padding:5px 9px; border-radius:20px; white-space:nowrap;
  background: oklch(0.72 0.19 300 / .2); color: oklch(0.82 0.1 300);
  border:1px solid oklch(0.72 0.19 300 / .4);
}
.project-info{ padding:20px; }
.project-info h3{ font-family: var(--font-display); font-weight:600; font-size:19px; color: var(--text); margin:0 0 8px; }
.project-info p{ font-size:14px; line-height:1.6; color: oklch(0.7 0.015 265); margin:0; text-wrap: pretty; }
.project-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.project-tag{
  font-family: var(--font-mono); font-size:11px; color: var(--accent);
  border:1px solid oklch(0.82 0.15 195 / .3); padding:4px 9px; border-radius:8px;
}
.project-links{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.project-links a{
  font-family: var(--font-mono); font-size:12px; text-decoration:none;
  color: oklch(0.9 0.02 265); border:1px solid oklch(0.4 0.04 270);
  padding:8px 13px; border-radius:9px; transition: border-color .2s, color .2s;
}
.project-links a:hover{ border-color: var(--accent); color: var(--accent); }

/* ===================== Experiência ===================== */
.timeline{ max-width:820px; }
.tl-item{ display:grid; grid-template-columns:18px 1fr; gap:24px; padding-bottom:36px; }
.tl-rail{ display:flex; flex-direction:column; align-items:center; }
.tl-dot{
  width:16px; height:16px; border-radius:50%; background: var(--grad);
  box-shadow: 0 0 14px oklch(0.72 0.19 300 / .6); flex:none; margin-top:4px;
}
.tl-line{ width:2px; flex:1; background: linear-gradient(oklch(0.4 0.05 270 / .6), transparent); margin-top:8px; }
.tl-body{ margin-top:-2px; }
.tl-period{ font-family: var(--font-mono); font-size:12.5px; color: var(--accent); margin-bottom:8px; }
.tl-role{ font-family: var(--font-display); font-weight:600; font-size:21px; color: var(--text); margin:0 0 3px; }
.tl-company{ font-size:15px; color: oklch(0.82 0.06 300); margin-bottom:12px; font-weight:500; }
.tl-desc{ font-size:14.5px; line-height:1.72; color: oklch(0.72 0.015 265); margin:0; max-width:640px; text-wrap: pretty; }

/* ===================== Formação ===================== */
.cards-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:20px; }
.edu-card{
  border:1px solid var(--border); border-radius:18px; padding:26px;
  background: linear-gradient(165deg, var(--surface-2), oklch(0.185 0.032 268 / .25));
  position:relative; overflow:hidden;
}
.edu-glow{
  position:absolute; top:-30px; right:-30px; width:90px; height:90px; border-radius:50%;
  background: radial-gradient(circle, oklch(0.72 0.19 300 / .25), transparent 70%);
}
.edu-period{ font-family: var(--font-mono); font-size:12px; color: var(--accent); margin-bottom:14px; }
.edu-degree{ font-family: var(--font-display); font-weight:600; font-size:20px; color: var(--text); margin:0 0 5px; }
.edu-school{ font-size:15px; color: oklch(0.82 0.06 300); margin-bottom:12px; font-weight:500; }
.edu-note{ font-size:13.5px; color: oklch(0.7 0.015 265); line-height:1.65; margin:0; text-wrap: pretty; }

/* ===================== Certificados ===================== */
.certs-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap:16px; }
.cert-card{
  display:flex; align-items:center; gap:14px;
  border:1px solid var(--border); border-radius:14px; padding:16px;
  background: var(--surface); transition: border-color .2s;
}
.cert-card:hover{ border-color: oklch(0.82 0.15 195 / .6); }
.cert-card.is-wip{ border:1px dashed oklch(0.82 0.15 195 / .5); }
.cert-mark{
  width:42px; height:42px; flex:none; border-radius:11px; background: var(--grad);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:800; color: var(--on-accent); font-size:18px;
}
.cert-card.is-wip .cert-mark{ background: oklch(0.28 0.05 270); color: var(--accent); }
.cert-name{ font-family: var(--font-display); font-weight:600; font-size:15px; color: var(--text); }
.cert-meta{ font-family: var(--font-mono); font-size:11.5px; color: var(--text-dim); margin-top:3px; }

/* ===================== Contato ===================== */
.contact-grid{ display:flex; flex-wrap:wrap; gap:52px; align-items:flex-start; }
.contact-grid > div:first-child{ flex:1 1 380px; }
.contact-sub{ font-size:16.5px; line-height:1.75; color: oklch(0.78 0.015 265); margin:0 0 28px; max-width:500px; text-wrap: pretty; }
.contact-rows{ display:flex; flex-direction:column; gap:2px; margin-bottom:28px; }
.contact-row{
  display:flex; flex-wrap:wrap; gap:6px 18px; align-items:baseline; text-decoration:none;
  padding:14px 2px; border-bottom:1px solid var(--border-soft); transition: padding-left .2s;
}
a.contact-row:hover{ padding-left:8px; }
.row-label{ font-family: var(--font-mono); font-size:11px; letter-spacing:1.5px; color: var(--accent); width:96px; }
.row-value{ font-size:15.5px; color: oklch(0.92 0.01 265); }
.social-links{ display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.social-links a{
  text-decoration:none; font-family: var(--font-mono); font-size:13px;
  color: oklch(0.85 0.02 265); border:1px solid oklch(0.4 0.04 270);
  padding:10px 16px; border-radius:10px; transition: border-color .2s, color .2s;
}
.social-links a:hover{ border-color: var(--accent); color: var(--accent); }

.qr-wrap{ flex:1 1 240px; display:flex; flex-direction:column; align-items:center; gap:16px; }
.qr-frame{
  padding:14px; border-radius:20px;
  background: linear-gradient(135deg, oklch(0.82 0.15 195 / .25), oklch(0.72 0.19 300 / .25));
  border:1px solid oklch(0.72 0.19 300 / .3);
}
.qr-frame img{ width:190px; height:190px; border-radius:14px; display:block; background: var(--text-bright); }
.qr-frame .photo-placeholder{ display:none; }
.qr-frame.is-empty .photo-placeholder{ display:flex; width:190px; height:190px; border-radius:14px; }
.qr-hint{ font-family: var(--font-mono); font-size:12px; color: var(--text-dim); text-align:center; max-width:200px; line-height:1.5; }

/* ===================== Footer ===================== */
.footer{ border-top:1px solid var(--border-soft); position:relative; z-index:1; }
.footer-inner{
  max-width: var(--max); margin:0 auto; padding:36px var(--pad-x);
  display:flex; flex-wrap:wrap; gap:18px; justify-content:space-between; align-items:center;
}
.footer-brand{ font-family: var(--font-display); font-weight:700; color: var(--text); }
.brand-dot-2{ color: var(--accent); }
.footer-made{ font-family: var(--font-mono); font-size:12px; color: oklch(0.6 0.02 265); }
.footer-top{ font-family: var(--font-mono); font-size:12px; color: var(--accent); text-decoration:none; }

/* ===================== Responsivo ===================== */
@media (max-width: 859px){
  .nav-links{ display:none; }
  .menu-btn{ display:flex; }
  .cursor-glow{ display:none; }
  .about-grid, .contact-grid{ gap:32px; }
  .hero-inner{ gap:36px; }
}

@media (max-width: 520px){
  .btn-primary, .btn-ghost{ width:100%; text-align:center; }
  .btn-sm{ width:auto; }
  .row-label{ width:auto; }
  .footer-inner{ justify-content:center; text-align:center; }
}

@media (hover: none){
  .cursor-glow{ display:none; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .astro, .bg-canvas{ display:none; }
  [data-reveal]{ opacity:1; transform:none; }
}
