/* =========================================================
   Bunker — Consultoria Patrimonial e Compliance Tributário
   Cores e tipografia conforme o Manual de Identidade Visual
   ========================================================= */

/* Source Sans 3 hospedada no próprio site (SIL Open Font License, ver assets/fonts/OFL.txt) */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Gradiente azul da marca (Manual — escala RGB) */
  --navy: #001E4A;      /* R0 G30 B74 */
  --blue: #3A5896;      /* R58 G88 B150 */
  /* Gradiente cinza da marca */
  --gray-light: #DCE0E5; /* R220 G224 B229 */
  --gray: #797E87;       /* R121 G126 B135 — cor das letras */
  /* Texto corrido pequeno: azul da marca, para garantir contraste (acessibilidade) */
  --ink: var(--navy);
  --paper: #FFFFFF;
  --mist: #F4F6F9;

  --grad-blue: linear-gradient(90deg, var(--navy) 0%, var(--blue) 50%, var(--navy) 100%);
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(0, 30, 74, .45);
  --container: 1160px;
  --header-h: 100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-weight: 300; /* Source Sans Light, conforme o manual */
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy); }
h1, h2 { font-weight: 300; letter-spacing: -.01em; }
h1 strong, h2 strong { font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.lead { font-size: 1.2rem; font-weight: 300; color: var(--gray); max-width: 40rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-sm { padding: .55rem 1.15rem; font-size: .95rem; }

.btn-primary { background: var(--grad-blue); background-size: 200% 100%; color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background-position: 100% 0; }

.btn-ghost { border-color: var(--gray-light); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }

.btn-light { background: #fff; color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--gray-light); box-shadow: 0 6px 20px -16px rgba(0, 30, 74, .5); }

.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
/* Ordem no computador: logo | menu | PT/ES */
.brand { order: 0; }
.site-nav { order: 1; margin-left: auto; }
.lang-switch { order: 2; }
.nav-toggle { order: 3; }
/* Logo sempre na versão única (símbolo + logotipo + assinatura).
   Área de proteção "X" = 1/5 da largura do logo, conforme a malha do manual. */
.brand { display: block; padding: 0 17px 0 0; }
.brand img { height: 66px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 400;
  color: var(--navy);
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

/* Seletor de idioma PT | ES */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
}
.lang-switch a {
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--gray);
}

.lang-switch a[aria-current="page"] { background: var(--navy); color: #fff; }
.lang-switch a:not([aria-current]):hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--mist) 0%, #fff 65%);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }
.hero .lead { margin-inline: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.hero-curves {
  height: clamp(220px, 34vw, 460px);
  margin-top: clamp(1rem, 3vw, 2.5rem);
  background: url("../img/curves.svg") center bottom / 100% 100% no-repeat;
}

/* ---------- Seções ---------- */
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { margin-bottom: 3rem; }
.section-head.on-dark h2,
.section-head.on-dark .lead { color: #fff; }
.section-head.on-dark .eyebrow { color: var(--gray-light); }
.section-head.on-dark .lead { opacity: .85; }

/* Serviços — continuação do azul das curvas */
.services {
  margin-top: -1px;
  padding-top: clamp(1rem, 3vw, 2rem);
  color: #fff;
  background: var(--grad-blue);
}
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(220, 224, 229, .18);
  transition: background-color .25s ease, transform .25s ease;
}
.service-card:hover { background: rgba(255, 255, 255, .11); transform: translateY(-4px); }
.service-card h3 { color: #fff; }
.service-card p { margin: 0; color: var(--gray-light); font-weight: 300; }
.service-num {
  display: block;
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gray-light);
  opacity: .7;
}

/* Quem somos */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-text p { color: var(--ink); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pillars li {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--mist);
  border-top: 3px solid var(--blue);
}
.pillars h3 { font-size: 1.08rem; }
.pillars p { margin: 0; color: var(--gray); font-size: .98rem; }

/* Missão Uruguai */
.mission {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(58, 88, 150, .9) 0%, transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, #0B2A5C 55%, var(--navy) 100%);
}
/* A parte de cima da imagem é céu transparente (~29%); a bandeira começa logo abaixo dos logos */
.mission { padding-bottom: calc(max(20.7vw, 140px) * .6); } /* altura da imagem (227/1097 da largura) + respiro */
.mission .container { position: relative; z-index: 1; }

/* Horizonte de Montevidéu e bandeira do Uruguai na base da seção (imagem do folder) */
.mission-horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.mission-horizon img {
  display: block;
  width: 100%;
  height: max(20.7vw, 140px); /* no celular, mantém a bandeira visível */
  object-fit: cover;
  object-position: right bottom;
}
.mission-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.mission-intro h2 { color: #fff; }
.mission-intro h2 strong { color: #fff; }
.mission-intro .eyebrow { color: var(--gray-light); }
.mission-intro .lead { color: #fff; opacity: .85; }

.mission-meta { list-style: none; margin: 1.75rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.mission-meta li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(220, 224, 229, .25);
  font-weight: 600;
  font-size: .95rem;
}
.mission-meta svg, .pillar-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.mission-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pillar-card {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(220, 224, 229, .18);
  transition: background-color .25s ease, transform .25s ease;
}
.pillar-card:hover { background: rgba(255, 255, 255, .11); transform: translateY(-4px); }
.pillar-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .35rem; }
.pillar-card p { margin: 0; color: var(--gray-light); font-size: .95rem; }

/* Realização e participação */
.mission-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid rgba(220, 224, 229, .2);
}
.partners-group { text-align: center; }
.partners-label {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.partners-logos { display: flex; gap: 1rem; justify-content: center; }
.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px; height: 110px;
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .6);
}
.partner-tile img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.partner-tile--brand { background: rgba(255, 255, 255, .08); border: 1px solid rgba(220, 224, 229, .25); box-shadow: none; }

/* Sócios */
.team { background: var(--mist); }
.team .section-head { text-align: center; }
/* Cards do mesmo tamanho: todas as linhas com a altura do card mais alto */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 1.5rem; align-items: stretch; }
.person {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.person-body { display: flex; flex-direction: column; min-height: 100%; }
.bio { color: var(--ink); font-size: .98rem; margin-bottom: 1rem; }
/* Telefone e "Perfil completo" sempre alinhados na base do card */
.person-footer { margin-top: auto; }
/* Botão "Contatos": ao clicar, dá lugar às opções de contato no mesmo espaço */
.contacts { margin-bottom: .75rem; }
.contacts-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  background: var(--grad-blue);
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  list-style: none;
  transition: transform .2s ease;
}
.contacts-toggle::-webkit-details-marker { display: none; }
.contacts-toggle:hover { transform: translateY(-2px); }
.contacts-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.contacts[open] .contacts-toggle { display: none; }
.contacts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.contacts[open] .contacts-list { animation: contacts-in .25s ease; }
@keyframes contacts-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.contact-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  transition: filter .2s ease;
}
.contact-wa:hover { filter: brightness(.95); }
.person-footer .cv { margin-bottom: 0; }

/* Currículo expansível */
.cv { margin-bottom: 1rem; border-top: 1px solid var(--gray-light); }
.cv summary {
  padding: .75rem 0 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: .92rem;
  color: var(--blue);
}
.cv summary::-webkit-details-marker { display: none; }
.cv summary::after { content: " +"; }
.cv[open] summary::after { content: " −"; }
.cv summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.cv ul { margin: .75rem 0 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.cv li { font-size: .92rem; line-height: 1.5; color: var(--ink); }
.cv li::marker { color: var(--gray); }

/* Citação institucional */
.about-quote {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--mist);
}
.about-quote p {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--navy);
}
.avatar {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--mist);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gray-light), 0 10px 24px -12px rgba(0, 30, 74, .5);
}
.person h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.role { margin-bottom: .75rem; color: var(--gray); font-size: .95rem; }
.person-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.person-link:hover { text-decoration: underline; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.25rem; }
.contact-list li { padding-left: 1rem; border-left: 3px solid var(--gray-light); }
.contact-list a { color: var(--blue); font-weight: 600; text-decoration: none; }
.ci-label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Mapa que só carrega ao clicar */
.map-placeholder {
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--mist);
}
.map-placeholder::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: url("../img/curves.svg") center bottom / 100% 100% no-repeat;
  opacity: .1;
  pointer-events: none;
}
.map-placeholder > * { position: relative; z-index: 1; }
.map-pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow);
}
.map-addr { margin: 0; color: var(--navy); font-weight: 400; }
.map-note { margin: 0; max-width: 22rem; font-size: .85rem; color: var(--gray); }
.map-note a, .map-ext { color: var(--blue); font-weight: 600; text-decoration: none; }
.map-note a:hover, .map-ext:hover { text-decoration: underline; }
.map-ext { font-size: .9rem; }

/* Rodapé */
.site-footer { position: relative; background: #fff; color: var(--gray); }
/* Curvas claras, como no rodapé do papel timbrado */
.footer-curves {
  height: clamp(90px, 14vw, 180px);
  background: url("../img/curves.svg") center bottom / 100% 100% no-repeat;
  opacity: .16;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--gray-light);
}
.footer-logo-wrap { display: block; padding: 28px; } /* área de proteção X = 140px / 5 */
.footer-logo { width: 140px; height: auto; }
.footer-text p { margin: 0 0 .2rem; font-size: .92rem; }
.footer-text .copy { margin-top: .6rem; font-size: .85rem; opacity: .8; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .person { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-grid,
  .mission-layout,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 80px; }
  .brand img { height: 56px; } /* área de proteção mantida: (80 - 56) / 2 = 12px ≥ X */

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 16px 30px -20px rgba(0, 30, 74, .5);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--mist); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; }
  /* No celular, PT/ES fica sempre visível na barra, ao lado do menu */
  .header-inner { gap: .75rem; }
  .lang-switch { margin-left: auto; }
  .lang-switch a { padding: .3rem .65rem; font-size: .8rem; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .service-grid,
  .pillars,
  .team-grid { grid-template-columns: 1fr; }
  .mission-pillars { grid-template-columns: 1fr; }
  .partner-tile { width: 140px; height: 90px; }
  .team-grid { grid-auto-rows: auto; }
  .person { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }
  .avatar { width: 96px; height: 96px; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; gap: 0; }
}

/* =========================================================
   Cartão do desenvolvedor (Konami Code ↑↑↓↓←→←→BA)
   ========================================================= */
.dev-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
}
.dev-overlay.is-open { display: flex; }
.dev-card {
  width: 100%;
  max-width: 28rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  text-align: center;
}
.dev-card-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid #89b4fa;
  color: #89b4fa;
  font-weight: 700;
  font-size: 1.25rem;
}
.dev-card-name { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.dev-card-role { margin: .2rem 0 0; font-size: .88rem; color: var(--gray); }
.dev-card-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.dev-card-tag {
  padding: .25rem .75rem;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--gray-light);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .75rem;
  color: var(--ink);
}
.dev-card-sep { width: 100%; height: 1px; background: var(--mist); }
.dev-card-about p { margin: 0 0 .5rem; font-size: .9rem; color: var(--ink); }
.dev-card-links { display: flex; gap: .75rem; }
.dev-card-link {
  padding: .5rem 1rem;
  border-radius: .75rem;
  border: 1px solid var(--gray-light);
  background: var(--mist);
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.dev-card-link:hover { background: var(--gray-light); }
.dev-card-hint { margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: .75rem; color: var(--gray); }
.dev-card-hint kbd { padding: .1rem .4rem; border: 1px solid var(--gray-light); border-radius: .3rem; background: var(--mist); }

/* =========================================================
   Páginas legais (Aviso de Privacidade)
   ========================================================= */
.legal-page .lang-switch { margin-left: auto; }
.legal { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem); }
.legal-inner { max-width: 50rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .4rem; }
.legal-updated { color: var(--gray); font-size: .92rem; margin-bottom: 2rem; }
.legal .lead { margin-bottom: 2.25rem; }
.legal h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.25rem 0 .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-light);
}
.legal h3 { font-size: 1.05rem; margin: 1.25rem 0 .4rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .35rem; }
.legal a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal a:not(.btn):hover { text-decoration: underline; }
.legal-back { margin-top: 2.5rem; }
.footer-text .copy a { color: var(--blue); text-decoration: none; font-weight: 600; }
.footer-text .copy a:hover { text-decoration: underline; }
