/* =============================================================================
   FOOTER STYLES - AH SHOW BLOG
   ============================================================================= */

/* Garantir que o body e html permitam 100% de largura */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Footer Container - FORÇA FULL WIDTH */
.site-footer {
    background: #F2F2F7 !important;
    padding: 80px 0 !important;
    margin-top: 80px !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    max-width: none !important;
}

/* Remove limitações de qualquer container pai */
body .site-footer,
.elementor-section .site-footer,
.elementor-container .site-footer,
.container .site-footer,
.content-area .site-footer,
#main .site-footer,
.entry-content .site-footer {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: #F2F2F7 !important;
}

.footer-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* =============================================================================
   NEWSLETTER SECTION
   ============================================================================= */

.footer-newsletter {
    /* Styles now inherit from .footer-section */
}

.newsletter-form {
    display: inline-flex;
    width: 320px;
    padding: 8px 8px 8px 24px;
    background: #FFF;
    border-radius: 40px;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.newsletter-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 16px;
    color: #9CA3AF !important;
    font-weight: 500;
    line-height: normal;
    padding: 0;
    margin-right: 8px;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.newsletter-input::placeholder {
    color: #9CA3AF !important;
}

.newsletter-input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.newsletter-input:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.newsletter-input:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    background: #F205B3 !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.newsletter-button:hover {
    background: #D0069A !important;
    transform: scale(1.05);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-button:focus {
    background: #D0069A !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-button:active {
    background: #B8005A !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-button svg {
    width: 16px !important;
    height: 16px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: transform 0.3s ease;
}

.newsletter-button svg path {
    stroke: white !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.newsletter-button:hover svg {
    transform: translate(-50%, -50%) translateX(1px) !important;
}

/* =============================================================================
   FOOTER MAIN CONTENT
   ============================================================================= */

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 200px;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #121212;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.footer-section h2 {
    font-weight: 700;
    color: #121212;
    margin: 0 0 30px 0;
    letter-spacing: 0.5px;
}

/* Newsletter specific styling */
.footer-newsletter h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.footer-newsletter .newsletter-form {
    max-width: 100%;
}

/* =============================================================================
   CATEGORIAS SECTION
   ============================================================================= */

.footer-categories {
    flex: 1;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-pill {
    display: inline-block;
    padding: 5px 12px;
    background: #F205B3;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-pill:hover {
    background: #D0069A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 5, 179, 0.3);
    color: white;
    text-decoration: none;
}

/* =============================================================================
   SUPORTE SECTION
   ============================================================================= */

.footer-support {
    min-width: 200px;
}

.support-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.support-links li {
    margin-bottom: 16px;
}

.support-links a {
    color: #6B7280;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.support-links a:hover {
    color: #F205B3;
    text-decoration: none;
}

/* =============================================================================
   FOOTER BOTTOM
   ============================================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    border-top: 1px solid #E4E4E7;
    background: transparent;
    margin: 0;
}

.footer-logo svg {
    width: 117px;
    height: 32px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover svg {
    opacity: 0.8;
}

.footer-copyright {
    flex: 1;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

/* =============================================================================
   SOCIAL ICONS
   ============================================================================= */

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #121212;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #F205B3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 5, 179, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

/* Tablets */
/* Garantir footer full-width em tablet/desktop */
@media (min-width: 768px) {
    .site-footer {
        background: #F2F2F7 !important;
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        max-width: none !important;
    }
}

@media (max-width: 999px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-newsletter h3 {
        font-size: 20px;
    }
    
    .category-pills {
        gap: 10px;
    }
    
    .category-pill {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Footer continua full-width no tablet */
    .site-footer {
        background: #F2F2F7 !important;
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        max-width: none !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 0 0;
        margin-top: 60px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-newsletter h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 320px;
        padding: 6px 6px 6px 20px;
    }
    
    .newsletter-input {
        font-size: 15px;
    }
    
    .newsletter-button {
        width: 36px;
        height: 36px;
        padding: 0;
    }
    
    .newsletter-button svg {
        width: 14px;
        height: 14px;
        transform: translate(-50%, -50%);
    }
    
    .footer-main {
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .category-pills {
        gap: 8px;
    }
    
    .category-pill {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .support-links {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }
    
    .support-links li {
        margin-bottom: 0;
    }
    
    .support-links a {
        font-size: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        padding: 30px 15px;
        text-align: center;
    }
    
    .footer-copyright {
        order: 2;
    }
    
    .footer-social {
        order: 3;
        justify-content: center;
    }
    
    .footer-logo {
        order: 1;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-newsletter h3 {
        font-size: 16px;
    }
    
    .newsletter-form {
        padding: 6px 6px 6px 18px;
    }
    
    .newsletter-input {
        font-size: 14px;
    }
    
    .newsletter-button {
        width: 32px;
        height: 32px;
        padding: 0;
    }
    
    .newsletter-button svg {
        width: 12px;
        height: 12px;
        transform: translate(-50%, -50%);
    }
    
    .category-pill {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .support-links {
        gap: 15px;
    }
    
    .support-links a {
        font-size: 14px;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        gap: 12px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* =============================================================================
   HOVER ANIMATIONS
   ============================================================================= */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.newsletter-button:active {
    animation: bounce 0.6s ease;
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */

@media print {
    .site-footer {
        background: white !important;
        color: black !important;
    }
    
    .footer-newsletter,
    .footer-social {
        display: none !important;
    }
} 