﻿.container-terms {
    --primary-green: #6BA82F;
    --secondary-green: #5A9620;
    --dark-text: #333333;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    max-width: 900px;
    margin: 0 auto 3rem auto; 
    padding: 100px 1rem 0 1rem; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .terms-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--dark-text);
        margin-bottom: 0.5rem;
    }

    .terms-header p {
        color: #666666;
        font-size: 0.95rem;
    }

.terms-content {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    line-height: 1.8;
}

.terms-section {
    margin-bottom: 2rem;
}

    .terms-section h2 {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--dark-text);
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }

        .terms-section h2:first-child {
            margin-top: 0;
        }

    .terms-section h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--dark-text);
        margin-bottom: 0.75rem;
        margin-top: 1rem;
    }

    .terms-section p {
        color: #555555;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .terms-section ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 1rem;
    }

        .terms-section ul li {
            color: #555555;
            margin-bottom: 0.75rem;
            padding-left: 1.5rem;
            position: relative;
            font-size: 0.95rem;
        }

            .terms-section ul li:before {
                content: "•";
                color: var(--primary-green);
                font-weight: bold;
                position: absolute;
                left: 0;
            }

    .terms-section strong {
        color: var(--dark-text);
        font-weight: 600;
    }

    .terms-section a {
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 500;
    }

        .terms-section a:hover {
            text-decoration: underline;
        }

.highlight-box {
    background-color: #FFF9E6;
    border-left: 4px solid var(--primary-green);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #FFF9E6;
    border-top: 1px solid #FFE4B5;
    padding: 1.5rem;
    margin-top: 3rem;
    border-radius: 8px;
}

    .cookie-banner h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark-text);
        margin-bottom: 0.5rem;
    }

    .cookie-banner p {
        font-size: 0.9rem;
        color: #666666;
        margin-bottom: 1rem;
    }

    .cookie-banner a {
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 500;
    }

        .cookie-banner a:hover {
            text-decoration: underline;
        }

.cookie-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-accept {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

    .btn-accept:hover {
        background-color: var(--secondary-green);
    }

.btn-close-cookie {
    background-color: transparent;
    color: #666666;
    border: 1px solid #CCCCCC;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .btn-close-cookie:hover {
        background-color: #F0F0F0;
        border-color: #999999;
    }

/* Animação Suave para o Banner de Cookies */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 1.8rem;
    }

    .terms-content {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.1rem;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn-accept,
    .btn-close-cookie {
        width: 100%;
    }
}
