/* ========================================
   RODAPÉ PADRÃO - CAFÉ E MARKETING
   ======================================== */

   .rodape-padrao {
    background: linear-gradient(135deg, var(--theme-palette-color-3) 0%, var(--theme-palette-color-1) 100%);
    color: var(--theme-palette-color-7);
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.rodape-padrao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.rodape-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Layout Principal */
.rodape-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Seção da Imagem Estática */
.rodape-imagem-section {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
    min-height: 400px;
}

.rodape-imagem {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--theme-palette-color-3);
    border-radius: var(--border-radius);
}

.rodape-imagem-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(134, 63, 21, 0.9) 0%,
        rgba(175, 87, 34, 0.7) 50%,
        rgba(153, 94, 37, 0.5) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.rodape-imagem-content {
    color: var(--theme-palette-color-7);
    text-align: center;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.rodape-imagem-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--theme-palette-color-5);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.rodape-imagem-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.rodape-imagem-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--theme-palette-color-5), var(--theme-palette-color-2));
    color: var(--theme-palette-color-3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* Seção de Informações */
.rodape-info-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Marca e Descrição */
.rodape-brand {
    margin-bottom: 2rem;
}

.rodape-logo {
    margin-bottom: 1rem;
}

.rodape-logo-img {
    max-height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.rodape-logo-img:hover {
    transform: scale(1.05);
}

.rodape-logo-fallback h2 {
    color: var(--theme-palette-color-5);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.rodape-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Estatísticas */
.rodape-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.rodape-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.rodape-stat:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.rodape-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-palette-color-5);
    margin-bottom: 0.25rem;
}

.rodape-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Links Rápidos */
.rodape-links-section {
    margin-bottom: 2rem;
}

.rodape-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.rodape-links-group h4 {
    color: var(--theme-palette-color-5);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rodape-links-group h4 i {
    font-size: 1rem;
    opacity: 0.8;
}

.rodape-links-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-palette-color-5), var(--theme-palette-color-2));
    border-radius: 1px;
}

/* Links do Rodapé */
.rodape-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rodape-links li {
    margin-bottom: 0.75rem;
}

.rodape-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.rodape-links a:hover {
    color: var(--theme-palette-color-5);
    transform: translateX(8px);
    padding-left: 5px;
}

.rodape-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--theme-palette-color-5);
    font-weight: 600;
}

.rodape-links a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Seção de Contato e Redes Sociais */
.rodape-contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.rodape-contact-info h4,
.rodape-social h4 {
    color: var(--theme-palette-color-5);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rodape-contact-info h4 i,
.rodape-social h4 i {
    font-size: 1rem;
    opacity: 0.8;
}

.rodape-contact-info h4::after,
.rodape-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-palette-color-5), var(--theme-palette-color-2));
    border-radius: 1px;
}

.rodape-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rodape-contact-item {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.rodape-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.rodape-contact-item i {
    color: var(--theme-palette-color-5);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    margin-top: 0.1rem;
}

.rodape-contact-item div {
    flex: 1;
}

.rodape-contact-item div span:first-child {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.rodape-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rodape-contact-item a:hover {
    color: var(--theme-palette-color-5);
}

/* Redes Sociais */
.rodape-social-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}

.rodape-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.rodape-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0 1rem;
    background: linear-gradient(135deg, var(--theme-palette-color-5), var(--theme-palette-color-2));
    color: var(--theme-palette-color-3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.rodape-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.rodape-social-link:hover::before {
    left: 100%;
}

.rodape-social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--theme-palette-color-2), var(--theme-palette-color-1));
}

.rodape-social-link span {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estilos específicos para cada rede social */
.rodape-social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.rodape-social-link.instagram:hover {
    background: linear-gradient(135deg, #e1306c, #f56040);
}

.rodape-social-link.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.rodape-social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #ff4444);
}

.rodape-social-link.tiktok:hover {
    background: linear-gradient(135deg, #000000, #ff0050);
}

/* Linha de Copyright */
.rodape-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.rodape-copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rodape-copyright-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rodape-copyright-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.rodape-copyright-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rodape-copyright-links a:hover {
    color: var(--theme-palette-color-5);
}

.rodape-copyright-links span {
    color: rgba(255, 255, 255, 0.4);
}

.rodape-copyright-right p {
    margin: 0;
    text-align: right;
}

.rodape-copyright a {
    color: var(--theme-palette-color-5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rodape-copyright a:hover {
    color: var(--theme-palette-color-2);
}

.rodape-copyright .fa-heart {
    color: #e74c3c;
    animation: heartbeat 2s infinite;
}

.rodape-copyright .fa-coffee {
    color: var(--theme-palette-color-2);
    animation: steam 3s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes steam {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

/* Responsividade */
@media (max-width: 1200px) {
    .rodape-stats {
        gap: 1.5rem;
    }
    
    .rodape-social-links {
        gap: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .rodape-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .rodape-imagem-section {
        height: 400px;
        order: -1;
    }
    
    .rodape-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .rodape-contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rodape-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .rodape-padrao {
        padding: 3rem 0 1rem;
    }
    
    .rodape-container {
        padding: 0 1.5rem;
    }
    
    .rodape-imagem-section {
        height: 350px;
    }
    
    .rodape-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rodape-copyright-content {
        flex-direction: column;
        text-align: center;
    }
    
    .rodape-copyright-right p {
        text-align: center;
    }
    
    .rodape-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rodape-stat {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .rodape-padrao {
        padding: 2rem 0 1rem;
    }
    
    .rodape-container {
        padding: 0 1rem;
    }
    
    .rodape-imagem-section {
        height: 300px;
    }
    
    .rodape-imagem-content h3 {
        font-size: 1.5rem;
    }
    
    .rodape-imagem-content p {
        font-size: 0.9rem;
    }
    
    .rodape-brand {
        text-align: center;
    }
    
    .rodape-copyright-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rodape-copyright-links span {
        display: none;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rodape-secao {
    animation: fadeInUp 0.6s ease-out;
}

.rodape-secao:nth-child(2) {
    animation-delay: 0.1s;
}

.rodape-secao:nth-child(3) {
    animation-delay: 0.2s;
}

.rodape-secao:nth-child(4) {
    animation-delay: 0.3s;
}

/* Estados de loading/mensagens */
.rodape-message {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-palette-color-5);
    color: var(--theme-palette-color-3);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideDown 0.3s ease;
    z-index: 1000;
}

.rodape-message-success {
    background: #28a745;
}

.rodape-message-error {
    background: #dc3545;
}

.rodape-message-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Efeitos especiais */
.rodape-newsletter-input:focus ~ .rodape-newsletter-input-wrapper i,
.rodape-newsletter-input:valid ~ .rodape-newsletter-input-wrapper i {
    color: var(--theme-palette-color-5);
    transform: translateY(-50%) scale(1.1);
}

/* Loading state */
.rodape-newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.rodape-newsletter-btn:disabled:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm);
}

/* --- SLIDER DO RODAPÉ --- */
.rodape-slider-section {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
    min-height: 400px;
}

.rodape-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.rodape-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--theme-palette-color-3);
    border-radius: var(--border-radius);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}

.rodape-slide.ativo {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.rodape-imagem-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,rgba(134,63,21,0.9) 0%,rgba(175,87,34,0.7) 50%,rgba(153,94,37,0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.rodape-imagem-content {
    color: var(--theme-palette-color-7);
    text-align: center;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.rodape-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.rodape-slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
    border: none;
}

.rodape-slider-dot.ativo {
    background: var(--theme-palette-color-5);
    border-color: var(--theme-palette-color-5);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(255,193,7,0.3);
}

/* Responsividade slider */
@media (max-width: 1024px) {
    .rodape-slider-section {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .rodape-slider-section {
        height: 350px;
    }
}
@media (max-width: 480px) {
    .rodape-slider-section {
        height: 300px;
    }
    .rodape-imagem-content h3 {
        font-size: 1.5rem;
    }
    .rodape-imagem-content p {
        font-size: 0.9rem;
    }
}
/* --- FIM SLIDER --- */