/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    display: flex;
    align-items: flex-start;
}

.header-logo {
    background: #fff;
    width: 32%;
    min-width: 280px;
    max-width: 450px;
    height: 100px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 50px;
    box-shadow: 0 0 5px rgba(0,0,0,0.15);
    border-bottom: 1.5px solid #AA000E;
    border-right: 1.5px solid #AA000E;
    flex-shrink: 0;
}

.header-logo img {
    width: 200px;
    height: auto;
}

.header-nav {
    background: #AA000E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    height: 50px;
    flex: 1;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    list-style: none;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    background: #96181c;
    list-style: none;
    padding: 10px 0;
    padding-top: 7px;
    margin-top: 5px;
    min-width: 200px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1.5px solid #fff;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    font-size: 1.5rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu a:hover::after {
    display: none;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-btn {
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    transition: 0.3s;
}

.phone-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.whatsapp-btn {
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.instagram-btn {
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    transition: 0.3s;
}

.instagram-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #AA000E;
    padding: 24px 0 12px;
    color: #fff;
    z-index: 998;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 16px;
}

.footer-icons-mobile {
    display: none;
}

.footer-icon-btn {
    background: transparent;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.footer-column h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #002e59;
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 1.4rem;
}

.heart-icon {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    animation: heart-pulse 2s infinite;
}

@keyframes heart-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: whatsapp-pulse 2s infinite;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 2.7rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 40px;
    border-radius: 50%;
    transition: 0.3s;
    animation: hamburger-pulse 2s infinite;
}

.mobile-menu-btn.clicked {
    animation: none;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

@keyframes hamburger-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Responsive */

/* Tela média: Esconde números dos telefones, mantém ícones e nav-links */
@media (max-width: 1600px) {
    .phone-number {
        display: none;
    }

    .phone-btn,
    .whatsapp-btn,
    .instagram-btn {
        padding: 10px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 1.4rem;
    }
}

/* Tela pequena: Menu hamburguer, mas ícones de telefone permanecem */
@media (max-width: 1024px) {
    body {
        padding-bottom: 80px;
    }

    .header-logo {
        width: 40% !important;
        min-width: unset !important;
        max-width: 40% !important;
        padding-right: 0;
        padding-left: 0;
        height: 80px;
        justify-content: center;
    }

    .header-logo img {
        width: 127px;
    }

    .header-nav {
        padding: 10px 15px;
    }

    .nav-links {
        display: none;
    }

    .dropdown-menu {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-buttons {
        gap: 10px;
    }

    .phone-btn,
    .whatsapp-btn,
    .instagram-btn {
        padding: 8px;
    }

    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    footer {
        padding: 5px 0 5px;
    }

    .footer-text-desktop {
        display: none !important;
    }

    .footer-icons-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-bottom: 3px;
    }

    .footer-bottom {
        padding-top: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        margin-bottom: 0;
    }
}
