/* Identidade do site aprovado da BM, adaptada ao perfil pessoal. */
:root {
  color-scheme: dark;
  --bg: #00111f;
  --surface: #001a31;
  --blue: #134eed;
  --purple: #b862db;
  --beige: #d9c9a3;
  --text: #cfddf0;
  --muted: #a6b8ce;
  --line: rgb(143 166 196 / 18%);
  --gradient: linear-gradient(135deg, var(--blue), var(--purple));
  --heading: 'Instrument Sans', sans-serif;
  --body: 'Inter', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100svh; color: var(--text); font: 400 14px/1.7 var(--body); }
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgb(184 98 219 / 15%); }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2 { margin: 0; }
h1, h2 { color: #fff; font-family: var(--heading); }
::selection { background: #7540a1; color: #fff; }
:focus-visible { outline: 3px solid var(--beige); outline-offset: 5px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 0% 22%, rgb(19 78 237 / 10%), transparent 52%), radial-gradient(ellipse at 100% 65%, rgb(184 98 219 / 9%), transparent 48%), var(--bg); }
.bg-grid::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgb(143 166 196 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(143 166 196 / 6%) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 78%); }
.ip-shell { width: min(520px, calc(100% - 40px)); margin-inline: auto; padding: 20px 0 32px; }
.ip-profile { position: relative; text-align: center; padding-bottom: 28px; }
.ip-portrait { position: relative; isolation: isolate; height: 254px; width: 100%; overflow: visible; }
/* Sem moldura: a luz some em degrade e o fundo da pagina continua por tras da foto. */
html, body { overflow-x: clip; }
.portrait-halo { position: absolute; inset: -40% -30% -20%; z-index: -2; pointer-events: none; mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); background: radial-gradient(ellipse at 37% 50%, rgb(19 78 237 / 42%), transparent 58%), radial-gradient(ellipse at 68% 40%, rgb(184 98 219 / 28%), transparent 54%); }
.portrait-ring { position: absolute; z-index: -1; width: 228px; height: 228px; left: 50%; top: 20px; transform: translateX(-50%); border: 1px solid rgb(217 201 163 / 14%); border-radius: 50%; box-shadow: 0 0 60px rgb(123 156 255 / 12%); }
.ip-portrait img { position: absolute; width: 330px; max-width: none; top: -7px; left: 50%; transform: translateX(-50%); mask-image: linear-gradient(#000 47%, transparent 64%); }
.ip-profile h1 { margin-top: 4px; font-size: clamp(32px, 8.6vw, 42px); font-weight: 700; letter-spacing: -.045em; line-height: 1.15; }
.ip-role { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--beige); font-size: 12px; font-weight: 500; letter-spacing: .12em; margin-top: 12px; }
.ip-role::before, .ip-role::after { content: ''; width: 22px; height: 1px; background: rgb(217 201 163 / 40%); }
.ip-bio { margin: 22px auto 0; max-width: 440px; font-size: 13px; line-height: 1.8; }
.ip-bio p + p { margin-top: 3px; }
.ip-bio p:last-child { margin-top: 7px; color: var(--muted); }
.ip-cards { display: grid; gap: 16px; }
.ip-card { position: relative; isolation: isolate; display: block; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(140deg, rgb(6 36 59 / 90%), rgb(0 26 45 / 86%)); backdrop-filter: blur(14px); transition: transform .25s ease, border-color .25s ease; }
.ip-card::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; opacity: 0; background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgb(123 156 255 / 12%), transparent 65%); transition: opacity .25s ease; pointer-events: none; }
.ip-card--featured { padding: 22px; border-color: rgb(152 137 239 / 55%); background: linear-gradient(135deg, rgb(19 78 237 / 18%), rgb(184 98 219 / 10%)), var(--surface); box-shadow: 0 12px 48px rgb(19 78 237 / 9%); }
.ip-contact-heading { display: flex; gap: 14px; align-items: center; }
.ip-icon-box { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; border: 1px solid rgb(217 201 163 / 24%); color: var(--beige); background: rgb(217 201 163 / 5%); }
.ip-icon-box .icon { width: 25px; height: 25px; }
.ip-card h2 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
.ip-card p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.ip-button { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; margin-top: 18px; padding: 10px 16px; border: 1px solid rgb(143 166 196 / 35%); border-radius: 7px; font-size: 12px; font-weight: 600; color: #fff; }
.ip-button .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.ip-button--primary { justify-content: center; min-height: 50px; background: linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 25%)), var(--gradient); border-color: rgb(255 255 255 / 20%); box-shadow: 0 8px 32px rgb(19 78 237 / 17%); }
.ip-card-image { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; object-position: 50% 30%; border-radius: 11px 11px 0 0; border-bottom: 1px solid var(--line); }
.ip-card-body { padding: 22px; }
.ip-social { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 24px 0 20px; }
.ip-social a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: 12px; transition: color .2s ease; }
.ip-social .icon { width: 17px; height: 17px; color: var(--beige); }
.ip-footer { border-top: 1px solid var(--line); padding-top: 24px; text-align: center; color: var(--muted); font-size: 10px; }
.ip-footer small { display: block; margin-top: 9px; font-size: 9px; }
@media (hover: hover) and (pointer: fine) {
  .ip-card:hover { transform: translateY(-3px); border-color: rgb(152 137 239 / 60%); }
  .ip-card:hover::after { opacity: 1; }
  .ip-card:hover .ip-button .icon { transform: translate(2px, -2px); }
  .ip-social a:hover { color: #fff; }
}
@media (min-width: 600px) {
  .ip-shell { padding-top: 36px; padding-bottom: 40px; }
  .ip-portrait { height: 276px; }
  .ip-portrait img { width: 380px; top: -16px; }
  .portrait-ring { width: 256px; height: 256px; top: 12px; }
  .ip-bio { font-size: 14px; }
  .ip-profile { padding-bottom: 32px; }
  .ip-card-body, .ip-card--featured { padding: 26px; }
  .ip-card h2 { font-size: 24px; }
  .ip-card p, .ip-button { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { animation: reveal-in .65s cubic-bezier(.2,.65,.3,1) both; }
  @keyframes reveal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ip-card:hover, .ip-card:hover .ip-button .icon { transform: none; }
}
