/* ===== Header + Menu lateral — design alto padrão ===== */

/* ----- Barra de rolagem customizada ----- */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.04);
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

html::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

html::-webkit-scrollbar-thumb:active {
  background: rgba(255, 255, 255, 0.45);
}

:root {
  --header-bg: #030304;
  --header-border: rgba(255, 255, 255, 0.04);
  --header-text: rgba(255, 255, 255, 0.97);
  --header-text-muted: rgba(255, 255, 255, 0.4);
  --header-accent: rgba(255, 255, 255, 0.08);
  --accent-line: rgba(212, 195, 165, 0.25);
  --mega-bg: #030304;
  --mega-drawer-border: rgba(255, 255, 255, 0.04);
  --mega-card-bg: rgba(255, 255, 255, 0.02);
  --mega-card-border: rgba(255, 255, 255, 0.04);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header,
.site-header-mega {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ----- Header bar ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0.65rem max(1rem, env(safe-area-inset-right)) 0.65rem max(1rem, env(safe-area-inset-left));
  min-height: 60px;
  position: relative;
  overflow: visible;
}

/* Logo — maior */
.site-header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  padding: 0.35rem;
  transition: transform 0.4s var(--ease-out);
}

.site-header-logo:hover {
  transform: translateX(-50%) scale(1.08);
}

.site-header-logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
  display: block;
}

/* Desktop: header mais alto e espaçoso */
@media (min-width: 769px) {
  .site-header-inner {
    padding: 0.9rem 2.5rem;
    min-height: 88px;
  }

  .site-header-logo img {
    height: 88px;
  }

  .site-header-menu-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .site-header-hamburger {
    width: 28px;
    height: 20px;
  }

  .site-header-hamburger-line,
  .site-header-hamburger-line-mid {
    transform-origin: 14px 10px;
  }

  .site-header-left {
    gap: 0.75rem;
  }

  .site-header-left::after {
    height: 36px;
  }

  .site-header-na-midia {
    font-size: 0.85rem;
  }

  .site-header-icon-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .site-header-icon-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* Botão Menu — mesmo estilo dos ícones footer (círculo, borda sutil) */
.site-header-menu-btn {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.site-header-menu-btn:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.06);
}

.site-header-menu-btn[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.site-header-hamburger {
  display: block;
  width: 26px;
  height: 18px;
}

.site-header-hamburger-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-header-hamburger-line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
  transform-origin: 13px 9px;
}

.site-header-hamburger-line-mid {
  transition: opacity 0.25s ease, transform 0.35s ease;
  transform-origin: 13px 9px;
}

.site-header-menu-btn[aria-expanded="true"] .site-header-hamburger-line-top {
  transform: rotate(45deg);
}

.site-header-menu-btn[aria-expanded="true"] .site-header-hamburger-line-mid {
  opacity: 0;
  transform: scaleX(0.5);
}

.site-header-menu-btn[aria-expanded="true"] .site-header-hamburger-line-bot {
  transform: rotate(-45deg);
}

.site-header-left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.site-header-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-line), transparent);
  opacity: 0.8;
}

.site-header-na-midia {
  color: var(--header-text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.site-header-na-midia:hover {
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.9;
}

/* Telas muito estreitas: esconder "Na mídia" para não apertar o header */
@media (max-width: 380px) {
  .site-header-na-midia {
    display: none;
  }

  .site-header-left::after {
    display: none;
  }
}

.site-header-menu-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.site-header-menu-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-line), transparent);
  opacity: 0.8;
}

.site-header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.site-header-icon-btn:hover {
  color: var(--accent-line);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: scale(1.06);
}

.site-header-icon-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.site-header-search-btn:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* ===== Navegação inferior (mobile) — dois tons: CTA + ícones ===== */
.site-nav-bottom {
  display: none;
}

@media (max-width: 767px) {
  .site-nav-bottom {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

  .site-nav-bottom-inner {
    display: flex;
    align-items: stretch;
    min-height: 72px;
    padding: 0;
    gap: 0;
  }

  /* CTA esquerda — fundo escuro */
  .site-nav-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding: 0 1.5rem;
    background: #2c2c2e;
    color: #f5f5f7;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .site-nav-bottom-cta:hover,
  .site-nav-bottom-cta:focus-visible {
    background: #1c1c1e;
    color: #fff;
  }

  .site-nav-bottom-cta-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Ícones direita — fundo cinza claro (~1/3 da largura) */
  .site-nav-bottom-icons {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 0 0 33.333%;
    min-width: 130px;
    background: #e8e8ed;
    padding: 0.75rem 1.25rem 0.5rem 1.25rem;
    gap: 0.25rem;
  }

  .site-nav-bottom-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.5rem;
    color: #3a3a3c;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s ease, background 0.25s ease;
  }

  .site-nav-bottom-icon-link:hover,
  .site-nav-bottom-icon-link:focus-visible {
    color: #1c1c1e;
    background: rgba(0, 0, 0, 0.06);
  }

  .site-nav-bottom-icon-link svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .site-nav-bottom-menu-label {
    display: none;
  }

  .site-nav-bottom-menu-btn[aria-expanded="true"] .site-nav-bottom-menu-label,
  .site-nav-bottom-menu-btn[aria-expanded="true"] svg {
    color: var(--accent-line);
  }

  body {
    padding-bottom: calc(60px + 0.75rem + env(safe-area-inset-bottom));
  }

  .site-header-left {
    display: none;
  }

  .site-header-menu-wrap {
    display: none;
  }
}

/* ===== Menu lateral (drawer) — alto padrão ===== */
.site-header-mega {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s ease;
}

.site-header-mega.is-open {
  visibility: visible;
  pointer-events: auto;
}

.site-header-mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  pointer-events: none;
}

.site-header-mega.is-open .site-header-mega-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.site-header-mega-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(380px, 94vw);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  padding-left: env(safe-area-inset-left);
  background: var(--mega-bg);
  border-right: 1px solid var(--mega-drawer-border);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform 0.45s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.site-header-mega-drawer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-line) 0%, transparent 20%, transparent 80%, var(--accent-line) 100%);
  opacity: 0.6;
  pointer-events: none;
}

.site-header-mega-drawer {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.04);
}

.site-header-mega-drawer::-webkit-scrollbar {
  width: 8px;
}

.site-header-mega-drawer::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.site-header-mega-drawer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.site-header-mega-drawer::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
  background-clip: padding-box;
}

.site-header-mega.is-open .site-header-mega-drawer {
  transform: translateX(0);
}

/* Mobile narrow screens: make lateral drawer fullscreen for better UX */
@media (max-width: 450px) {
  .site-header-mega-drawer {
    width: 100%;
    max-width: 100%;
    left: 0;
    border-right: none;
    box-shadow: none;
    padding-left: env(safe-area-inset-left);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* when opened it should cover the full viewport (no visible border/shadow) */
  .site-header-mega.is-open .site-header-mega-drawer {
    transform: translateX(0);
  }

  /* ensure close control is accessible on narrow screens */
  .site-header-mega-close {
    left: max(0.5rem, env(safe-area-inset-left));
  }

  .site-header-mega-inner {
    padding: 2rem 1.25rem 2rem;
    text-align: center;
  }

  .site-header-mega-logo {
    margin-bottom: 1.25rem;
  }
}

.site-header-mega-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--mega-card-border);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: var(--header-text);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 0.35s var(--ease-smooth), background 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.site-header-mega-close:hover {
  border-color: var(--accent-line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.site-header-mega-close-icon {
  display: block;
  margin-top: -0.08em;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.site-header-mega-inner {
  position: relative;
  padding: 4rem 1.25rem 2rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

@media (min-width: 769px) {
  .site-header-mega-inner {
    padding: 4.5rem 1.5rem 2.5rem;
  }
}

.site-header-mega-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  text-decoration: none;
  line-height: 0;
}

.site-header-mega-logo img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

@media (min-width: 769px) {
  .site-header-mega-logo img {
    height: 88px;
  }
}

.site-header-mega-nav {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-header-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-header-mega-list li {
  margin: 0;
}

.site-header-mega-list a {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.5rem 1rem 0.5rem 1.1rem;
  min-height: 48px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 10px;
  transition: color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth), transform 0.2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 769px) {
  .site-header-mega-list a {
    padding: 0.6rem 1.1rem 0.6rem 1.25rem;
    font-size: 1.02rem;
    min-height: 52px;
  }
}

.site-header-mega-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.site-header-mega-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), transform 0.25s var(--ease-out);
}

.site-header-mega-icon svg {
  width: 24px;
  height: 24px;
}

.site-header-mega-list a:hover .site-header-mega-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

/* ===== Footer — estilo escuro, imponente, duas colunas ===== */
.site-footer {
  background: #080809;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-top {
  position: relative;
  padding: 2rem max(1rem, env(safe-area-inset-right)) 2rem max(1rem, env(safe-area-inset-left));
}

.site-footer-top::before,
.site-footer-top::after {
  display: none;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ----- Footer: organização mobile — centralizado, texto à medida da tela ----- */
@media (max-width: 767px) {
  .site-footer-top {
    padding: 1.5rem max(1rem, env(safe-area-inset-right)) 1.5rem max(1rem, env(safe-area-inset-left));
  }

  .site-footer-top::before,
  .site-footer-top::after {
    display: none;
  }

  .site-footer-inner {
    gap: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    align-items: center;
  }

  .site-footer-col-brand {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 100%;
  }

  .site-footer-logo {
    display: block;
  }

  .site-footer-logo img {
    height: 56px;
    margin: 0 auto;
    display: block;
  }

  .site-footer-social {
    justify-content: center;
    margin-top: 0.85rem;
    gap: 0.5rem;
  }

  .site-footer-social-link {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .site-footer-social-link svg {
    width: 19px;
    height: 19px;
  }

  .site-footer-col-contact {
    text-align: center;
    padding-top: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .site-footer-contact-title {
    display: none;
  }

  .site-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .site-footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 0 0.65rem 0;
    font-size: 0.75rem;
    line-height: 1.45;
    padding: 0;
    border-bottom: none;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .site-footer-contact-item:last-child {
    margin-bottom: 0;
  }

  .site-footer-contact-item:first-of-type {
    padding-top: 0;
  }

  .site-footer-contact-icon {
    display: none !important;
  }

  .site-footer-bottom {
    padding: 1rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  }

  .site-footer-inner-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem 1rem;
  }

  .site-footer-copy {
    padding-right: 0;
    font-size: 0.65rem;
    line-height: 1.45;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.45);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .site-footer-copy::after {
    display: none;
  }

  .site-footer-badge img {
    height: 22px;
  }
}

@media (min-width: 768px) {
  .site-footer-top {
    padding: 4rem 2rem 3.5rem;
  }

  .site-footer-top::before {
    left: 5rem;
  }

  .site-footer-top::after {
    right: 5rem;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.site-footer-logo {
  display: inline-block;
  line-height: 0;
}

.site-footer-logo img {
  height: 96px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .site-footer-logo img {
    height: 116px;
  }
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.site-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.site-footer-social-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: scale(1.06);
}

.site-footer-social-link svg {
  width: 26px;
  height: 26px;
}

.site-footer-col-contact {
  text-align: right;
}

.site-footer-contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.15rem 0;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .site-footer-contact-title {
    font-size: 1.65rem;
    margin-bottom: 1.35rem;
  }
}

.site-footer-contact-list {
  font-style: normal;
  margin: 0;
  padding: 0;
}

.site-footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 0 0 0.7rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease;
}

.site-footer-contact-item:last-child {
  margin-bottom: 0;
}

.site-footer-contact-item:hover .site-footer-contact-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: scale(1.06);
}

@media (min-width: 768px) {
  .site-footer-contact-item {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
}

.site-footer-contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.site-footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer-contact-item a:hover {
  color: #fff;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1.5rem;
}


@media (min-width: 768px) {
  .site-footer-bottom {
    padding: 1.75rem 2rem;
  }
}

.site-footer-inner-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer-copy {
  position: relative;
  margin: 0;
  padding-right: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.site-footer-copy::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 20px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.site-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-footer-badge:hover {
  color: #fff;
  opacity: 0.85;
}

.site-footer-badge-label {
  line-height: 1;
}

.site-footer-badge img {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.site-footer-badge:hover img {
  opacity: 1;
}

/* ===== Botão flutuante WhatsApp — chama atenção ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  animation: whatsapp-pulse 1.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  animation: none;
}

.whatsapp-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: whatsapp-icon-breathe 1.5s ease-in-out infinite;
}

.whatsapp-float:hover .whatsapp-float-icon {
  animation: none;
}

.whatsapp-float-icon svg {
  width: 30px;
  height: 30px;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(255, 255, 255, 0.35);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 18px rgba(255, 255, 255, 0.08), 0 0 0 36px rgba(255, 255, 255, 0.02);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 25px rgba(255, 255, 255, 0), 0 0 0 50px rgba(255, 255, 255, 0);
    transform: scale(1);
  }
}

@keyframes whatsapp-icon-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 767px) {
  .whatsapp-float {
    display: none !important;
  }

  .site-footer-contact-icon {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   MODAL DE PESQUISA
   ═══════════════════════════════════════════════════════════ */

/* Overlay full-screen */
#site-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 1rem 1rem;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.3s;
}

#site-search-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

/* Backdrop com blur suave */
.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#site-search-modal.is-open .search-modal-backdrop {
  opacity: 1;
}

/* Painel do modal */
.search-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transform: translateY(-20px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.28s ease;
  max-height: calc(100dvh - 5.5rem);
  display: flex;
  flex-direction: column;
}

#site-search-modal.is-open .search-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Linha de input */
.search-modal-input-wrap {
  display: flex;
  align-items: center;
  padding: 0 1rem 0 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.search-modal-icon {
  display: flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.search-modal-icon svg {
  width: 22px;
  height: 22px;
}

.search-modal-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #1c1c1e;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1.15rem 0;
  caret-color: #8a6200;
}

.search-modal-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

/* Remove ícone nativo de clear do Safari/Chrome */
.search-modal-input::-webkit-search-cancel-button,
.search-modal-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

/* Botão fechar */
.search-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  margin-left: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}

.search-modal-close:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.08);
  color: #1c1c1e;
}

.search-modal-close svg {
  width: 18px;
  height: 18px;
}

/* Área dos resultados */
.search-modal-results {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  padding: 0.5rem;
  /* scrollbar discreta */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

.search-modal-results::-webkit-scrollbar {
  width: 4px;
}

.search-modal-results::-webkit-scrollbar-track {
  background: transparent;
}

.search-modal-results::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

/* Estado vazio / sem resultados */
.search-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  gap: 0.75rem;
  color: rgba(0, 0, 0, 0.3);
  text-align: center;
}

.search-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(138, 98, 0, 0.08);
  color: #8a6200;
}

.search-empty-icon svg {
  width: 26px;
  height: 26px;
}

.search-empty-icon--sad {
  background: rgba(255, 80, 80, 0.08);
  color: rgba(255, 120, 120, 0.4);
}

.search-empty-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.38);
  margin: 0;
}

.search-empty-text strong {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 600;
}

/* Item de resultado */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #1c1c1e;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
  animation: searchItemIn 0.28s ease both;
  /* remove tap highlight */
  -webkit-tap-highlight-color: transparent;
}

@keyframes searchItemIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-result-item:hover,
.search-result-item.is-active {
  background: rgba(0, 0, 0, 0.04);
  transform: translateX(3px);
}

/* Ícone da página */
.search-result-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(138, 98, 0, 0.08);
  border: 1px solid rgba(138, 98, 0, 0.18);
  color: #8a6200;
  transition: background 0.18s ease;
}

.search-result-item:hover .search-result-icon,
.search-result-item.is-active .search-result-icon {
  background: rgba(138, 98, 0, 0.15);
}

.search-result-icon svg {
  width: 20px;
  height: 20px;
}

/* Corpo do resultado */
.search-result-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.search-result-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-result-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6200;
  white-space: nowrap;
}

.search-result-section {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-snippet {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.48);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-result-snippet mark {
  background: rgba(212, 168, 67, 0.22);
  color: #6b4e00;
  font-weight: 600;
  border-radius: 2px;
  padding: 0 2px;
}

/* Seta direcional */
.search-result-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.18);
  transition: color 0.18s ease, transform 0.18s ease;
}

.search-result-arrow svg {
  width: 18px;
  height: 18px;
}

.search-result-item:hover .search-result-arrow,
.search-result-item.is-active .search-result-arrow {
  color: rgba(0, 0, 0, 0.4);
  transform: translateX(3px);
}

/* Footer com atalhos de teclado */
.search-modal-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: #f7f7f8;
  flex-shrink: 0;
}

.search-kbd {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  color: rgba(0, 0, 0, 0.32);
  white-space: nowrap;
}

.search-kbd kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 4px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.68rem;
  color: rgba(0, 0, 0, 0.5);
  min-width: 22px;
  line-height: 1.5;
}

/* Evita scroll da página enquanto modal está aberto */
body.search-open {
  overflow: hidden;
}

/* ── Responsividade mobile ── */
@media (max-width: 767px) {
  #site-search-modal {
    padding: 1rem 0.5rem 0.5rem;
    align-items: flex-start;
  }

  .search-modal-panel {
    border-radius: 16px;
    max-height: calc(100dvh - 1.5rem);
  }

  .search-modal-input {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .search-modal-footer {
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .search-kbd:last-child {
    display: none;
  }
}

/* ===================================================
   SELETOR DE IDIOMA NO MENU LATERAL
   =================================================== */

/* Divisória sutil separando nav items do seletor */
.site-lang-divider {
  list-style: none;
  margin: 0.5rem 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* Linha com os 3 botões */
.site-lang-switcher {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.1rem 1.5rem 0.75rem;
}

/* Cada botão de idioma — estilo tab minimalista */
.site-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.55rem 0.3rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-lang-btn:hover {
  color: rgba(255, 255, 255, 0.75);
  border-bottom-color: rgba(201, 168, 76, 0.4);
}

/* Idioma ativo: sublinhado dourado */
.site-lang-btn.is-active {
  color: var(--clr-gold, #c9a84c);
  border-bottom-color: var(--clr-gold, #c9a84c);
  pointer-events: none;
  cursor: default;
}
