ECO IMÓVEIS UBATUBA
.eco-header { width: 100%; min-height: 88px; padding: 16px 5%; box-sizing: border-box; background: #F5F3ED; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 999; border-bottom: 1px solid #E9E1D3; font-family: 'Montserrat', sans-serif; } .eco-brand { text-decoration: none !important; display: flex; flex-direction: column; gap: 3px; } .eco-brand-name { color: #202E2C; font-family: 'Playfair Display', serif; font-size: 25px; letter-spacing: 1px; line-height: 1.1; } .eco-brand-sub { color: #A9A99B; font-size: 10px; letter-spacing: 5px; text-align: center; } .eco-nav { display: flex; align-items: center; gap: 27px; } .eco-nav a { color: #303936; text-decoration: none !important; font-size: 12px; font-weight: 500; transition: color .2s ease; } .eco-nav a:hover { color: #B59B73; } .eco-nav .eco-contact { background: #202E2C; color: #F5F3ED; padding: 13px 20px; } .eco-nav .eco-contact:hover { background: #B59B73; color: #202E2C; } .eco-menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; } .eco-menu-toggle span { display: block; width: 25px; height: 2px; background: #202E2C; margin: 5px; } @media (max-width: 767px) { .eco-header { min-height: 75px; padding: 13px 5%; } .eco-brand-name { font-size: 22px; } .eco-menu-toggle { display: block; } .eco-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #F5F3ED; padding: 20px 6%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid #E9E1D3; box-shadow: 0 8px 15px rgba(0,0,0,.08); } .eco-nav.eco-open { display: flex; } .eco-nav a { padding: 13px 0; font-size: 14px; } .eco-nav .eco-contact { text-align: center; margin-top: 10px; } } (function () { const header = document.currentScript.previousElementSibling .previousElementSibling; if (!header || !header.classList.contains('eco-header')) return; const toggle = header.querySelector('.eco-menu-toggle'); const nav = header.querySelector('.eco-nav'); toggle.addEventListener('click', function () { const opened = nav.classList.toggle('eco-open'); toggle.setAttribute('aria-expanded', opened); }); })();