.newsletter-section {
    background: var(--neutral-100);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--neutral-200);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.newsletter-title {
    color: var(--primary-600);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-description {
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

#newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

#newsletter-form input[type="email"] {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--neutral-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(19, 0, 44, 0.1);
}

#newsletter-form input[type="email"].error {
    border-color: #ff4444;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.captcha-container {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.captcha-text {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--color-primary-6);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.captcha-input {
    margin-top: 10px;
    padding: 8px 12px;
    border: 2px solid var(--color-primary-4);
    border-radius: 6px;
    font-size: 16px;
    width: 150px;
}

.robot-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(157, 78, 221, 0.2);
    position: relative;
    overflow: hidden;
}

.robot-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-primary-4);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.robot-check input[type="checkbox"]:checked {
    background-color: var(--color-primary-4);
    border-color: var(--color-primary-4);
    animation: checkmark-pop 0.5s ease-out;
}

.robot-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmark-stroke 0.3s ease-out 0.2s forwards;
    opacity: 0;
}

.robot-check label {
    color: #000000;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Efeito de onda ao clicar */
.robot-check::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.2) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease-out;
    left: 0;
    top: 0;
}

.robot-check input[type="checkbox"]:checked ~ label {
    transform: translateX(5px);
}

.robot-check:active::after {
    transform: scale(2);
    opacity: 1;
}

@keyframes checkmark-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes checkmark-stroke {
    0% { opacity: 0; transform: rotate(45deg) scale(0.5); }
    100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

/* Estilos para links de política e termos */
.newsletter-privacy {
    margin-top: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.newsletter-privacy a {
    color: var(--color-primary-4);
    text-decoration: none;
    position: relative;
    padding: 2px 4px;
    transition: all 0.3s ease;
}

.newsletter-privacy a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary-4), var(--color-primary-5));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.newsletter-privacy a:hover {
    color: var(--color-primary-5);
}

.newsletter-privacy a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Estilos para seção de mais avaliações */
.more-reviews {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.more-reviews-title {
    color: var(--color-primary-4);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.more-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem; /* Espaço para o botão de recolher */
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(50px);
    opacity: 0;
    will-change: transform, opacity;
}

.review-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary-4);
}

.review-info {
    flex: 1;
}

.review-name {
    color: var(--color-neutral-0);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.review-date {
    color: var(--color-neutral-3);
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 4px;
    margin: 10px 0;
}

.star {
    color: var(--color-primary-4);
}

.review-text {
    color: var(--color-neutral-1);
    line-height: 1.6;
    margin: 1rem 0;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.review-tag {
    background: rgba(157, 78, 221, 0.1);
    color: var(--color-primary-4);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.review-tag:hover {
    background: rgba(157, 78, 221, 0.2);
    transform: translateY(-2px);
}

#newsletter-form button {
    background: var(--primary-600);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
    justify-content: center;
    margin-top: 1rem;
}

#newsletter-form button:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 0, 44, 0.2);
}

#newsletter-form button:active {
    transform: translateY(0);
}

#newsletter-form button:disabled {
    background: var(--neutral-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.newsletter-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.newsletter-notification.success {
    border-left: 4px solid #00c851;
}

.newsletter-notification.error {
    border-left: 4px solid #ff4444;
}

.newsletter-notification.warning {
    border-left: 4px solid #ffbb33;
}

.newsletter-notification i {
    font-size: 1.5rem;
}

.newsletter-notification.success i {
    color: #00c851;
}

.newsletter-notification.error i {
    color: #ff4444;
}

.newsletter-notification.warning i {
    color: #ffbb33;
}

.newsletter-notification .message {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
}

.newsletter-notification .close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.newsletter-notification .close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.privacy-notice {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.privacy-notice a {
    color: var(--primary-600);
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 3rem 1rem;
    }
    
    .newsletter-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@keyframes checkPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
    .more-reviews {
        padding: 1.5rem;
    }
    
    .more-reviews-grid {
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
    }
    
    .more-reviews-title {
        font-size: 1.5rem;
    }
    
    .btn-recolher {
        width: 100%;
        margin-top: 1.5rem;
    }
}

/* Estilos para o botão de recolher */
.btn-recolher {
    display: block;
    margin: 2rem auto 0;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary-4), var(--color-primary-6));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-recolher:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.3);
    background: linear-gradient(135deg, var(--color-primary-5), var(--color-primary-6));
}

.btn-recolher:active {
    transform: translateY(0);
}
