:root {
  --green: #005846;
  --text-light: #d9e8e3;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #1c2422;
  font-family: "Libre Franklin", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }

/* Seletor de idioma */
.lang {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  right: 1rem;
  z-index: 5;
  display: inline-flex;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang button {
  font-family: inherit;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1;
  padding: .55rem .85rem;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--green);
}
.lang button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* Logo centralizada */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 3rem;
}
.logo {
  width: min(380px, 75vw);
  height: auto;
  display: block;
}

/* Rodapé */
.site-footer {
  background: var(--green);
  color: #fff;
  padding: 3rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
.footer-cols {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-col h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .75rem;
}
.footer-col address {
  font-style: normal;
  line-height: 1.7;
  color: var(--text-light);
}
.footer-col ul { margin: 0; padding-left: 1.1rem; color: var(--text-light); }
.footer-col a { color: #fff; text-underline-offset: 4px; word-break: break-word; }

.copyright {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
  font-size: .9rem;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-col ul { list-style: none; padding: 0; }
}
