*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid #E8CC8E; outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18, 18, 18, .96); border-bottom: 1px solid #2A2722; backdrop-filter: blur(8px); }
.header-inner { position: relative; max-width: 1200px; min-height: 80px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: inline-flex; flex: 0 0 auto; align-items: center; }
.site-logo img { display: block; height: 40px; width: auto; }
.primary-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 25px; font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.primary-navigation a { color: #E1DBD1; white-space: nowrap; transition: color .18s, background .18s; }
.primary-navigation a:hover { color: #E8CC8E; }
.primary-navigation .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; background: #C6A15B; color: #121212; border: 1px solid #C6A15B; border-radius: 3px; }
.primary-navigation .nav-cta:hover { color: #121212; background: #E0BF7B; }
.menu-toggle { display: none; }
.whatsapp-float { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px; color: #0C2E1B; background: #25D366; border-radius: 28px; box-shadow: 0 7px 24px rgba(0,0,0,.35); font: 700 13px Montserrat, sans-serif; transition: transform .18s, background .18s; }
.whatsapp-float:hover { color: #0C2E1B; background: #46DF80; transform: translateY(-2px); }
.whatsapp-float svg { flex: none; width: 24px; height: 24px; }

@media (max-width: 1050px) {
  .header-inner { min-height: 72px; padding: 12px 22px; }
  .site-logo img { height: 38px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 88px; min-height: 44px; padding: 8px 12px; border: 1px solid #5D5140; border-radius: 3px; color: #EDE8DF; background: #1B1A17; font: 600 12px Montserrat, sans-serif; cursor: pointer; }
  .menu-icon { width: 19px; display: flex; flex-direction: column; gap: 4px; }
  .menu-icon span { display: block; height: 2px; width: 19px; background: #C6A15B; }
  .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 22px 20px; border-bottom: 1px solid #3A352D; background: #171614; box-shadow: 0 15px 24px rgba(0,0,0,.26); font-size: 14px; }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid #2A2722; }
  .primary-navigation .nav-cta { margin-top: 14px; border: 1px solid #C6A15B; }
}
@media (max-width: 768px) {
  #inicio > div { padding: 76px 24px 56px !important; }
  #inicio h1 { font-size: clamp(2rem, 8vw, 2.4rem) !important; overflow-wrap: anywhere; }
  .whatsapp-float { right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); width: 56px; min-height: 56px; justify-content: center; padding: 0; border-radius: 50%; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float span { display: none; }
}
@media (max-width: 360px) {
  #triade > div > div:nth-child(2) { grid-template-columns: 1fr !important; }
  #contato form { padding: 28px !important; }
}
