:root{
  --brand:#E9DBF5;
  --text:#1f1f1f;
  --muted:#6b6b6b;
}

/* base */
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:var(--text);background:#fff;
}
.container{max-width:960px;margin:0 auto;padding:24px}

/* nav */
.nav{
  display:flex;gap:16px;flex-wrap:wrap;align-items:center;
  padding:16px 24px;background:var(--brand);border-bottom:1px solid #ddd;
}
.nav a{
  text-decoration:none;color:#222;font-weight:600;
  padding:8px 12px;border-radius:12px;
}
.nav a.active,.nav a:hover{background:#fff}

/* hero (layout base, caso falhe o fix final) */
.hero{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:24px;
  align-items:center;
  margin:32px 0;
}

/* imagem do hero (look de app) */
.hero img{
  width:112px;height:112px;
  object-fit:contain;
  background:#fff;
  border-radius:28%;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}

/* texto */
.lead{margin:8px 0 10px;color:#2b2b2b}

/* CTA */
.cta{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.btn{
  display:inline-block;padding:12px 16px;border-radius:12px;
  border:1px solid #ccc;text-decoration:none;color:#111;background:#fff;
}
.btn.primary{background:#111;color:#fff;border-color:#111}

/* footer & tipografia */
.footer{margin:40px 0;color:var(--muted);font-size:14px}
h1,h2{margin:0 0 12px}
main p{line-height:1.6}
kbd{
  background:#f3f3f3;border:1px solid #ddd;border-bottom-color:#ccc;
  border-radius:6px;padding:2px 6px;
}

/* acessibilidade */
:focus-visible{outline:3px solid #7b5cb0;outline-offset:2px}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important}
}

/* --------- FIX DEFINITIVO (sobrepõe tudo) --------- */
.hero{
  display: grid !important;
  grid-template-columns: 100px 1fr !important; /* coluna do logo + texto */
  column-gap: 82px !important;                 /* espaço entre logo e texto */
  align-items: start !important;
  margin: 32px 0 !important;
}

/* imagem SEMPRE na 1ª coluna, menor e sem floats */
.hero > img{
  grid-column: 1 !important;
  align-self: start !important;
  justify-self: start !important;
  display: block !important;
  width: 88px !important;
  height: 88px !important;
  margin: 0 !important;
  float: none !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 28% !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
}

/* TODO o resto do conteúdo na 2ª coluna */
.hero > :not(img){
  grid-column: 2 !important;
  min-width: 0 !important;
}

/* --------- RESPONSIVO --------- */
@media (max-width: 640px){
  .hero{
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
    text-align: center !important;
  }
  .hero > img{
    grid-column: 1 !important;
    justify-self: center !important;
    width: 96px !important;
    height: 96px !important;
  }
  .hero > :not(img){
    grid-column: 1 !important;
  }
}
