/* ==========================================================================
   Malamute Theme — Lucas Kallas: Main Stylesheet
   ========================================================================== */

/* ---------- Header & Navegação ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 42, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cedar-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--stone-3);
  text-decoration: none;
}

.seal {
  width: 34px;
  height: 34px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.5px;
}

.brand-text b {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.2px;
  display: block;
}

.brand-text span {
  font-size: 11px;
  color: var(--muted-on-cedar);
  display: block;
  letter-spacing: 0.06em;
  margin-top: -2px;
}

nav.links {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav.links a,
.nav-menu-list a {
  color: var(--muted-on-cedar);
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
}

nav.links a:hover,
.nav-menu-list a:hover {
  color: var(--stone-3);
}

nav.links a::after,
.nav-menu-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--brass);
  transition: width 0.25s ease;
}

nav.links a:hover::after,
.nav-menu-list a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  color: var(--stone-3);
  border: 1px solid var(--cedar-line);
  padding: 9px 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--cedar-line);
  border-color: var(--brass);
  color: var(--stone-3);
}

/* Menu Toggle Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--cedar-line);
  color: var(--stone-3);
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}

/* Drawer Mobile */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--cedar-deep);
  z-index: 200;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.35s ease;
}

.mobile-drawer.is-open {
  right: 0;
}

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--stone-3);
  font-size: 24px;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-links a {
  color: var(--stone-3);
  font-size: 18px;
  font-family: 'Fraunces', Georgia, serif;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
}

.drawer-overlay.is-visible {
  display: block;
}

/* ---------- Botões ---------- */
.btn {
  padding: 14px 26px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--hematite);
  color: #fdf6f2;
  border: 1px solid var(--hematite);
}

.btn-primary:hover {
  background: #ab4a3a;
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--cedar-line);
  color: var(--stone-3);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: #fff;
}

.btn-outline-cedar {
  padding: 12px 24px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--cedar);
  color: var(--cedar);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, gap 0.2s ease, transform 0.1s ease;
}

.btn-outline-cedar:hover {
  background: var(--cedar);
  color: #fdf6f2;
  border-color: var(--cedar);
  gap: 12px;
}

.btn-outline-cedar:active {
  transform: translateY(1px);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--cedar);
  color: var(--stone-3);
  padding: 72px 0 40px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--cedar-line);
}

.foot-brand b {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #f4f2ea;
  display: block;
  margin-bottom: 14px;
}

.foot-brand p {
  color: var(--muted-on-cedar);
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.6;
}

.foot-col h3,
.foot-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
  font-weight: 600;
}

.foot-col a {
  display: block;
  color: var(--muted-on-cedar);
  font-size: 15px;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.foot-col a:hover {
  color: var(--stone-3);
}

.foot-lang {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--cedar-line);
}

.foot-lang h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  font-weight: 600;
}

.foot-col .foot-lang a {
  display: inline-flex;
  align-items: center;
  padding: 2px 4px 2px 0;
  margin-right: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 1;
}

.foot-col .foot-lang a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.foot-col .foot-lang img {
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
  display: inline-block;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted-on-cedar);
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsividade Base */
@media (max-width: 900px) {
  nav.links, .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Banner LGPD / Consentimento de Cookies ---------- */
.lgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(21, 42, 32, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--cedar-line);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lgpd-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lgpd-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 32px;
}

.lgpd-text p {
  font-size: 13.5px;
  color: var(--stone-3);
  line-height: 1.55;
  margin: 0;
}

.lgpd-text a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.lgpd-text a:hover {
  color: #fff;
}

.lgpd-btn {
  padding: 11px 24px;
  font-size: 13.5px;
  white-space: nowrap;
  border-radius: 2px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .lgpd-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 20px;
  }
  .lgpd-btn {
    width: 100%;
    text-align: center;
  }
}
