/* =====================================================================
   Cartão Digital · Relimpp · mai/2026
   Tema dark — navy dominante · aqua accent escasso · hairlines em white.
   Outfit (display) + JetBrains Mono (utility).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --navy:       #00205B;
  --navy-deep:  #001640;
  --aqua:       #2dd1a4;
  --white:      #FFFAFB;
  --paper:      #f5f5f2;
  --paper-dim:  #ebebe6;
  --rule:       rgba(255, 250, 251, 0.22);
  --rule-soft:  rgba(255, 250, 251, 0.10);
  --rule-strong:rgba(255, 250, 251, 0.45);
  --ink:        var(--white);
  --ink-dim:    rgba(255, 250, 251, 0.62);
  --ink-mute:   rgba(255, 250, 251, 0.42);
  --font:       'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.4;
  overscroll-behavior-y: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ====================  Background grid (sutil sobre navy)  ==================== */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to right,  rgba(45,209,164,0.10)  1px, transparent 1px),
    linear-gradient(to bottom, rgba(45,209,164,0.10)  1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 35%,
    rgba(0,0,0,1) 30%, rgba(0,0,0,0.35) 100%);
          mask-image: radial-gradient(ellipse 100% 80% at 50% 35%,
    rgba(0,0,0,1) 30%, rgba(0,0,0,0.35) 100%);
}

/* Grain sutil sobre toda a superfície navy — evita PowerPoint look */
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.35;
}

/* ====================  Layout container  ==================== */

.card {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 22px 56px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ====================  Header (brand pin)  ==================== */

.brand-pin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 28px;
}

.brand-pin .wm {
  display: block;
  height: 22px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  opacity: 0.95;
}

.brand-pin .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  line-height: 1.3;
}

/* ====================  Hero pessoa  ==================== */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding-bottom: 28px;
}

.avatar {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--rule);
  /* sem border-radius — Relimpp é hairline + cantos retos */
}

.avatar.placeholder {
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  padding: 16px;
  line-height: 1.5;
}

.name {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.6rem, 6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  margin-top: 4px;
}

.role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  line-height: 1.45;
  max-width: 320px;
}

.role .accent {
  color: var(--aqua);
}

/* ====================  CTAs primárias  ==================== */

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 220ms ease, background 220ms ease;
  user-select: none;
  text-align: center;
}

.btn:active { opacity: 0.85; }

.btn-primary {
  background: var(--aqua);
  color: var(--navy-deep);
  border-color: var(--aqua);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-secondary:active {
  background: rgba(255, 255, 255, 0.05);
}

.btn .ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ====================  Linha de contatos (E-mail · LinkedIn · Site)  ==================== */

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.contact-row a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 6px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  text-align: center;
  border-right: 1px solid var(--rule);
  transition: background 220ms ease, color 220ms ease;
}

.contact-row a:last-child { border-right: 0; }
.contact-row a:active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.contact-row .ico {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  stroke-width: 1.4;
  fill: none;
  opacity: 0.85;
}

/* ====================  Bloco institucional / stats  ==================== */

.institutional {
  margin-bottom: 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 14px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.stat {
  padding: 18px 6px 14px;
  min-width: 0;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.stat:last-child { border-right: 0; }

.stat .num {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.4rem, 6vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.stat .sym {
  color: var(--aqua);
  font-weight: 600;
}

.stat .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 8px;
}

/* ====================  Links institucionais  ==================== */

.links {
  margin-bottom: 32px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: padding 220ms ease;
}

.links a:first-child { border-top: 1px solid var(--rule); }
.links a:active { padding-left: 4px; }

.links a .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--aqua);
  font-weight: 500;
}

/* ====================  Footer  ==================== */

.footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.6;
}

.footer a {
  color: var(--ink-dim);
}

/* ====================  Root index (3 cards de pessoa)  ==================== */

.people {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.person:first-child { border-top: 1px solid var(--rule); }

.person img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid var(--rule);
  flex-shrink: 0;
}

.person .ph {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rule);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

.person .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.person .info .nm {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
}

.person .info .rl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  line-height: 1.35;
}

.person .arr {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--aqua);
  font-weight: 500;
}

/* ====================  Desktop tweaks  ==================== */

@media (min-width: 768px) {
  .card {
    padding: 32px 28px 64px;
    max-width: 460px;
  }
  .avatar {
    width: 240px;
    height: 240px;
  }
}

/* ====================  Reduce-motion  ==================== */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
