/* Da Reportagem - Newsletter CTA Fixed CSS */

/* Sticky CTA */
.da-newsletter-cta--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: white;
    padding: 12px 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.4s ease-out;
}

.da-newsletter-cta--sticky .da-newsletter-cta__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.da-newsletter-cta--sticky .da-newsletter-cta__content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.da-newsletter-cta--sticky .da-newsletter-cta__icon {
    font-size: 20px;
    display: block;
}

.da-newsletter-cta--sticky .da-newsletter-cta__text {
    font-size: 14px;
    font-weight: 500;
}

.da-newsletter-cta--sticky .da-newsletter-cta__button {
    background: white;
    color: #d32f2f;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.da-newsletter-cta--sticky .da-newsletter-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero CTA */
.da-newsletter-cta--hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 8px;
    animation: fadeIn 0.6s ease-out;
}

.da-newsletter-cta--hero .da-newsletter-cta__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.da-newsletter-cta--hero .da-newsletter-cta__title {
    font-size: 32px;
    font-weight: 700;
    color: #212121;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.da-newsletter-cta--hero .da-newsletter-cta__description {
    font-size: 16px;
    color: #555555;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.da-newsletter-cta--hero .da-newsletter-cta__benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.da-newsletter-cta--hero .da-newsletter-cta__benefit {
    font-size: 14px;
    color: #d32f2f;
    font-weight: 600;
}

.da-newsletter-cta--hero .da-newsletter-cta__button--large {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.da-newsletter-cta--hero .da-newsletter-cta__button--large:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.3);
}

/* Mid-Page CTA */
.da-newsletter-cta--midpage {
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    color: white;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 8px;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.da-newsletter-cta--midpage .da-newsletter-cta__container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.da-newsletter-cta--midpage .da-newsletter-cta__content {
    flex: 1;
}

.da-newsletter-cta--midpage .da-newsletter-cta__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: white;
}

.da-newsletter-cta--midpage .da-newsletter-cta__description {
    font-size: 15px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.da-newsletter-cta--midpage .da-newsletter-cta__button {
    background: white;
    color: #ff6f00;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.da-newsletter-cta--midpage .da-newsletter-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Styles */
.da-newsletter-cta {
    width: 100%;
}

.da-newsletter-cta__container {
    width: 100%;
}

.da-newsletter-cta__button {
    outline: none;
    transition: all 0.3s ease;
}

.da-newsletter-cta__button:focus {
    outline: 2px solid #d32f2f;
    outline-offset: 2px;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for button */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }
}

.da-newsletter-cta__button:hover {
    animation: pulse 1.5s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Sticky CTA */
    .da-newsletter-cta--sticky .da-newsletter-cta__container {
        flex-direction: column;
        gap: 12px;
    }
    
    .da-newsletter-cta--sticky .da-newsletter-cta__button {
        width: 100%;
    }
    
    /* Hero CTA */
    .da-newsletter-cta--hero {
        padding: 40px 20px;
    }
    
    .da-newsletter-cta--hero .da-newsletter-cta__title {
        font-size: 24px;
    }
    
    .da-newsletter-cta--hero .da-newsletter-cta__description {
        font-size: 14px;
    }
    
    .da-newsletter-cta--hero .da-newsletter-cta__benefits {
        gap: 12px;
    }
    
    /* Mid-Page CTA */
    .da-newsletter-cta--midpage .da-newsletter-cta__container {
        flex-direction: column;
        text-align: center;
    }
    
    .da-newsletter-cta--midpage .da-newsletter-cta__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Sticky CTA */
    .da-newsletter-cta--sticky {
        padding: 8px 0;
    }
    
    .da-newsletter-cta--sticky .da-newsletter-cta__container {
        padding: 0 12px;
    }
    
    .da-newsletter-cta--sticky .da-newsletter-cta__text {
        font-size: 12px;
    }
    
    .da-newsletter-cta--sticky .da-newsletter-cta__button {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* Hero CTA */
    .da-newsletter-cta--hero {
        padding: 30px 15px;
    }
    
    .da-newsletter-cta--hero .da-newsletter-cta__title {
        font-size: 20px;
    }
    
    .da-newsletter-cta--hero .da-newsletter-cta__button--large {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Mid-Page CTA */
    .da-newsletter-cta--midpage {
        padding: 30px 15px;
    }
    
    .da-newsletter-cta--midpage .da-newsletter-cta__title {
        font-size: 18px;
    }
    
    .da-newsletter-cta--midpage .da-newsletter-cta__description {
        font-size: 13px;
    }
}
