html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: Inter, sans-serif; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.contact-grid > div { min-width: 0; }
.contact-grid a { overflow-wrap: anywhere; }
.contact-grid a[data-location] { display: block; flex: 1; min-height: 260px; }
.whatsapp-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 14px 20px; border-radius: 8px; color: #fff; background: #15803d; font-weight: 600; text-decoration: none; transition: background .15s; }
.whatsapp-button:hover { background: #166534; }
@media(max-width:767px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #006874; outline-offset: 4px; }
dialog#acesso-restrito { padding: 0; border: 1px solid #e2e8f0; border-radius: 12px; width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 32px); color: #0b1c30; background: white; overflow: auto; box-shadow: 0 24px 80px #00142855; }
dialog::backdrop { background: #001428b8; backdrop-filter: blur(5px); }
.access-panel { position: relative; padding: 56px 24px 24px; }
.modal-close { position: absolute; right: 12px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #eff4ff; color: #0f2942; cursor: pointer; font-size: 28px; }
.mobile-toggle { display: none; }
#mobile-menu { padding: 16px; background: white; border-top: 1px solid #e2e8f0; max-height: calc(100dvh - 130px); overflow: auto; }
#mobile-menu a { display: block; padding: 12px; color: #0f2942; }
header nav .group:focus-within > div { opacity: 1; visibility: visible; }
@media(max-width:1279px) { .mobile-toggle { display: block; margin: 0 16px 8px auto; padding: 5px 12px; color: #0f2942; border-radius: 6px; background: #e5eeff; } main { padding-top: 120px !important; } }
@media(max-width:600px) { header > div { gap: 8px !important; padding-left: 12px !important; padding-right: 12px !important; } header > div > div:first-child { gap: 8px; } header > div > div:first-child img { width: 30px; height: 30px; } header .font-headline-sm { font-size: 14px; } header .font-label-sm { font-size: 8px; } header > div > div:last-child > div { display: none; } header [data-open-access] { padding: 8px; font-size: 11px; white-space: nowrap; } h1 { font-size: 28px !important; } .access-panel { padding: 56px 14px 16px; } .access-panel .flex.items-center.justify-between { flex-wrap: wrap; gap: 8px; } .access-panel img { max-width: 48px; object-fit: contain; } .access-panel .text-code-sm { overflow-wrap: anywhere; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
