@import url("./tokens.css");

footer {
    background: #0f0f0f;
    color: #fff;
    padding: 60px 20px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    width: min(1400px, 100% - 40px);
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Footer Logo */
.footer-center {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    max-width: 680px;
    width: 100%;
}

.footer-logo-wrap {
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

/* Newsletter Section */
.footer-newsletter-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    width: 100%;
}

.newsletter-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.3;
}

.newsletter-subtitle {
    font-size: 15px;
    color: #ccc;
    margin: 0;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(255, 183, 3, 0.2);
    margin: 10px 0;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
}

.newsletter-input::placeholder {
    color: #888;
}

.newsletter-input:focus {
    outline: none;
    background: #222;
}

.newsletter-btn {
    padding: 14px 28px;
    background: #FFB703;
    color: #000;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #FFA400;
    transform: translateY(-2px);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.footer-social-center {
    justify-content: center;
    margin-top: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #FFB703;
    color: #000;
    transform: translateY(-4px);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-hours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-social-inline {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.footer-contact-section,
.footer-hours-section {
    text-align: left;
}

/* Em telas grandes, colocar o social abaixo dos horários */
@media (min-width: 1025px) {
    .footer-hours-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-hours-section .footer-social-inline {
        margin-top: 16px;
        width: 100%;
        justify-content: flex-start;
    }
}

.footer-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 183, 3, 0.4);
}

.footer-section-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.footer-list li {
    margin: 0;
    color: #ccc;
}
.footer-list li a {
    color: #FFB703;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section-content p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.contact-item {
    color: #FFB703;
    font-weight: 500;
}

.contact-label {
    color: #ccc;
}

.footer-section-content a {
    color: #FFB703;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section-content a:hover {
    color: #FFA400;
    text-decoration: underline;
}

.hours-highlight {
    color: #FFB703;
    font-weight: 500;
}

/* Divider */
.footer-divider {
    width: min(1400px, 100% - 40px);
    margin: 0 auto 30px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 183, 3, 0.3), transparent);
}

/* Copyright */
.footer-copyright {
    width: min(1400px, 100% - 40px);
    margin: 0 auto;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

.footer-copyright .highlight {
    color: #FFB703;
}

.footer-copyright a.highlight {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a.highlight:hover {
    color: #FFA400;
    text-decoration: underline;
}

/* Responsive Design */

/* Tablets Grandes */
@media (max-width: 1024px) {
    footer {
        padding: 50px 18px 35px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px 45px;
        width: min(1400px, 100% - 36px);
        margin-bottom: 30px;
    }

    .footer-center {
        grid-column: 1 / -1;
        align-items: center;
    }

    .newsletter-title {
        font-size: 17px;
    }

    .newsletter-subtitle {
        font-size: 14px;
    }

    .footer-section-title {
        font-size: 12px;
    }

    .footer-divider {
        width: min(1400px, 100% - 36px);
    }

    .footer-copyright {
        width: min(1400px, 100% - 36px);
    }
}

/* Tablets - 768px */
@media (max-width: 768px) {
    footer {
        padding: 40px 16px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        width: min(1400px, 100% - 32px);
        margin-bottom: 25px;
    }

    .footer-center {
        order: 1;
        gap: 14px;
    }

    .footer-contact-section {
        order: 2;
        text-align: center;
    }

    .footer-hours-section {
        order: 3;
        text-align: center;
        align-items: center;
    }

    .footer-hours-section .footer-list {
        align-items: center;
    }

    .footer-hours-section .footer-social-inline {
        justify-content: center;
        margin-top: 10px;
    }

    .footer-logo-img {
        width: 110px;
    }

    .newsletter-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .newsletter-subtitle {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .newsletter-form {
        gap: 0;
        margin: 8px auto;
        max-width: 400px;
    }

    .newsletter-input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .newsletter-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .footer-social {
        justify-content: center;
        margin-top: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-section-title {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .footer-section-content p {
        font-size: 13px;
    }

    .footer-divider {
        width: min(1400px, 100% - 32px);
        margin: 0 auto 24px;
    }

    .footer-copyright {
        width: min(1400px, 100% - 32px);
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

/* Celulares Grandes - 640px */
@media (max-width: 640px) {
    footer {
        padding: 35px 14px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
        width: min(1400px, 100% - 28px);
        margin-bottom: 20px;
    }

    .footer-logo-img {
        width: 100px;
    }

    .newsletter-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .newsletter-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .newsletter-form {
        flex-direction: column;
        margin: 8px auto;
        max-width: 100%;
        border-radius: 6px;
    }

    .newsletter-input {
        padding: 11px 14px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 183, 3, 0.2);
        border-radius: 0;
    }

    .newsletter-input:last-of-type {
        border-bottom: none;
    }

    .newsletter-btn {
        padding: 11px 18px;
        font-size: 13px;
        border-radius: 0;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .footer-section {
        gap: 10px;
    }

    .footer-section-title {
        font-size: 11px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .footer-section-content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-divider {
        width: min(1400px, 100% - 28px);
        margin: 0 auto 18px;
    }

    .footer-copyright {
        width: min(1400px, 100% - 28px);
    }

    .footer-copyright p {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* Celulares Pequenos - 480px */
@media (max-width: 480px) {
    footer {
        padding: 30px 12px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
        width: min(1400px, 100% - 24px);
        margin-bottom: 16px;
    }

    .footer-logo-img {
        width: 90px;
    }

    .newsletter-title {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .newsletter-subtitle {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .newsletter-form {
        gap: 0;
        margin: 6px auto;
        border-radius: 4px;
        overflow: hidden;
    }

    .newsletter-input,
    .newsletter-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .newsletter-input {
        border-bottom: 1px solid rgba(255, 183, 3, 0.15);
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .footer-section {
        gap: 8px;
    }

    .footer-section-title {
        font-size: 10px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .footer-section-content p {
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-divider {
        width: min(1400px, 100% - 24px);
        margin: 0 auto 14px;
    }

    .footer-copyright {
        width: min(1400px, 100% - 24px);
    }

    .footer-copyright p {
        font-size: 10px;
        line-height: 1.4;
    }
}

/* Ultra Pequenos - 360px */
@media (max-width: 360px) {
    footer {
        padding: 24px 10px 16px;
    }

    .footer-container {
        gap: 16px;
        width: min(1400px, 100% - 20px);
    }

    .footer-logo-img {
        width: 80px;
    }

    .newsletter-title {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .newsletter-subtitle {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .newsletter-input,
    .newsletter-btn {
        padding: 9px 10px;
        font-size: 11px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .footer-section-title {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .footer-section-content p {
        font-size: 10px;
    }

    .footer-divider {
        width: min(1400px, 100% - 20px);
        margin: 0 auto 10px;
    }

    .footer-copyright {
        width: min(1400px, 100% - 20px);
    }

    .footer-copyright p {
        font-size: 9px;
    }
}
