/* ============================================
    FOOTER STYLES
    ============================================ */

footer {
    background: url(../imagens/bg_footer.jpg) repeat-x transparent;
    background: linear-gradient(135deg, #008488 0%, #015456 100% 100%);
    background-size: cover;
    background-position: 0 -174px;
    background-repeat: no-repeat;
}

.site-footer {
    margin-top: 0;
}

/* Contact Bar */
.footer-contact {
    background: var(--footer-primary);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-contact h3 {
    color: var(--footer-text);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/*
    .contact-flex-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-item {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 1rem;
    }
*/

.contact-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 200px;
}

.contact-item > div{
    line-height: 17px;
}

.contact-item img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.contact-item i {
    font-size: 40px;
    color: var(--footer-icon);
    flex-shrink: 0;
    width: 51px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item b {
    color: var(--footer-text);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--foxb2c-accent);
}

.contact-item small {
    font-size: 0.85rem;
}

/* Main Footer */
.footer-main {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 2rem;
}

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

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section > h4{
    border-bottom: 2px solid #8BC191;
    padding-bottom: 14px;
}

.footer-address,
.footer-hours {
    margin-bottom: 1.5rem;
}

.footer-address p{
    line-height: 1.8;
    font-size: 0.85rem;
    color: var(--foxb2c-neutro);
}

.footer-hours p {
    line-height: 1.8;
    font-size: 0.85rem;
    color: var(--foxb2c-neutro);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.1rem;
}

.footer-links a {
    color: var(--foxb2c-neutro);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links b {
    color: white;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Newsletter */
.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    background: rgb(255 255 255);
    color:var(--foxb2c-primary);
    border-radius: 5px;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.newsletter-form input::placeholder {
    color: #999;
    color: var(--foxb2c-primary);
}

.newsletter-form input:focus {
    outline: none;
    color: var(--foxb2c-hera);
    border-color: var(--foxb2c-neutro);
    background: rgba(255,255,255,0.1);
}

.newsletter-form button {
    width: 100%;
    padding: 0.75rem;
    background: var(--foxb2c-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #00b8b0;
    transform: translateY(-2px);
}

/* Social Links */
.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin-bottom: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links img {
    width: 24px;
    height: 24px;
}

.social-links i {
    font-size: 24px;
    color: var(--foxb2c-accent);
}

/* Copyright Section */
.footer-copyright {
    padding: 2rem 0;
    background: var(--foxb2c-neutro);
}

.payment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-logos img {
    max-height: 40px;
    width: auto;
}

.footer-info {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #666;
    text-align: center;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    bottom: 50px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float.left {left: 20px;}
.whatsapp-float.right {right: 20px;}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float img {
    max-width: 35px;
}

/* WhatsApp Box */
.whatsapp-box {
    position: fixed;
    bottom: 100px;
    background: white;
    max-width: 300px;
    width: calc(100% - 40px);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.3s;
    z-index: 1000;
}

.whatsapp-box.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-box::after {
    content: '';
    position: absolute;
    bottom: -7px;
    width: 13px;
    height: 13px;
    background: white;
    transform: rotate(45deg);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
}

.whatsapp-box.left{left: 20px;}
.whatsapp-box.left::after{left:22px;}

.whatsapp-box.right{right: 20px;}
.whatsapp-box.right::after{right:22px;}

.whatsapp-header {
    background: var(--foxb2c-accent);
    color: white;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    position: relative;
}

.whatsapp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.whatsapp-close:hover {
    opacity: 1;
}

.whatsapp-content {
    padding: 1rem;
}

.whatsapp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
    text-decoration: none;
}

.whatsapp-item:last-child {
    border-bottom: none;
}

.whatsapp-item:hover {
    background: #f8f9fa;
    border-radius: 5px;
}

.whatsapp-item img {
    width: 40px;
    height: 40px;
}

.whatsapp-item i {
    font-size: 32px;
    color: var(--foxb2c-accent);
}

.whatsapp-info {
    flex: 1;
}

.whatsapp-info small {
    display: block;
    color: #666;
    font-size: 0.85rem;
}

.whatsapp-info strong {
    color: var(--foxb2c-secondary);
}

/* LGPD Banner */
.lgpd-banner {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 755px;
    width: calc(100% - 30px);
    background: white;
    border: 1px solid var(--foxb2c-accent);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 1.5rem;
    z-index: 1001;
    animation: slideUp 0.5s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.lgpd-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lgpd-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--foxb2c-secondary);
}

.lgpd-text a {
    color: var(--foxb2c-accent);
    text-decoration: none;
    font-weight: 600;
}

.lgpd-text a:hover {
    text-decoration: underline;
}

.lgpd-button {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--foxb2c-accent);
    color: var(--foxb2c-accent);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.lgpd-button:hover {
    background: var(--foxb2c-accent);
    color: white;
}

/* Modal */
.modal-termo textarea {
    width: 100%;
    height: 400px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
    RESPONSIVE STYLES
    ============================================ */

@media (max-width: 991px) {
    
    .footer-contact {
        padding: 1.5rem 0;
    }
    
    .footer-main {
        padding: 2rem 0 1.5rem;
    }

    .footer-main .col-lg-5,
    .footer-main .col-lg-3{
        padding: 15px 0 0 45px;
    }

    .contact-item > div{
        padding-top: 20px;
        padding-left: 30px;
        text-align: left;
    }

    .social-links a{
        color: #FFF;
    }
    
    .whatsapp-box {
        max-width: 280px;
    }
}

@media (max-width: 767px) {
    footer{
        background-position: 0 -509px;
        background-image: none;
    }

    .site-footer {
        margin-top: 01rem;
		background: var(--foxb2c-secondary);
    }

    .footer-contact h3 {
        font-size: 1.1rem;
    }

    .contact-flex-wrapper {
        flex-direction: column;
        align-content: space-around;
        gap: 0rem;
    }

    .contact-item {
        flex: 1 1 calc(40% - 0.5rem);
        min-width: calc(40% - 0.5rem);
        margin-bottom: 1rem;
        gap: 0;
        justify-content: space-evenly;
    }

    .contact-item small{
        font-size: 1.05rem;
    }

    .contact-item i {
        font-size: 45px;
        width: 35px;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
    
    
    .payment-logos {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-info {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
    
    .whatsapp-float {
        bottom: 70px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-box {
        bottom: 80px;
        left: 10px;
        right: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }
    
    .lgpd-banner {
        width: calc(100% - 20px);
        padding: 1rem;
    }
    
    .lgpd-content {
        flex-direction: column;
    }
    
    .lgpd-button {
        width: 100%;
    }
}

/*
@media (max-width: 480px) {
    .contact-flex-wrapper {
        flex-direction: column;
    }

    .contact-item {
        flex: 1 1 100%;
        min-width: 100%;
    }
}
*/