/* Cores baseadas na análise do site hidrotecnicadesentupidora.com.br */
:root {
    --primary-color: #CC3333; /* Vermelho/Laranja forte */
    --secondary-color: #F8F8F8; /* Fundo claro */
    --text-color: #333333; /* Texto principal */
    --link-color: #007bff; /* Azul padrão para links */
    --font-family: 'Roboto', sans-serif;
}

/* ============================================
   FAIXA DE AVISO (Privacy Banner)
   ============================================ */

.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
}


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

.privacy-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.privacy-banner-text {
    font-size: 0.95em;
    line-height: 1.4;
    flex: 1;
}

.privacy-banner-link {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s;
}

.privacy-banner-link:hover {
    opacity: 0.8;
}

.privacy-banner-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.privacy-banner-close:hover {
    opacity: 0.7;
}

/* ============================================
   MODAL DA POLÍTICA DE PRIVACIDADE
   ============================================ */

.privacy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.privacy-modal {
    background-color: white;
    border-radius: 8px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    animation: slideUp 0.3s ease-out;
}

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

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.privacy-modal-header h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 0;
}

.privacy-modal-close {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.privacy-modal-close:hover {
    opacity: 0.7;
}

.privacy-modal-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Estilos do conteúdo dentro do modal */
.privacy-modal-content h1 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.privacy-modal-content h2 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.privacy-modal-content h3 {
    color: var(--text-color);
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 700;
}

.privacy-modal-content p {
    margin-bottom: 12px;
    text-align: justify;
}

.privacy-modal-content strong {
    font-weight: 700;
}

.privacy-modal-content ul, .privacy-modal-content ol {
    margin: 12px 0 12px 25px;
}

.privacy-modal-content li {
    margin-bottom: 6px;
}

.privacy-modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.9em;
}

.privacy-modal-content th, .privacy-modal-content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.privacy-modal-content th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

.privacy-modal-content tr:nth-child(even) {
    background-color: #f9f9f9;
}

.privacy-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    flex-shrink: 0;
}

.privacy-modal-btn-accept, .privacy-modal-btn-close {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s;
}

.privacy-modal-btn-accept {
    background-color: var(--primary-color);
    color: white;
}

.privacy-modal-btn-accept:hover {
    background-color: #b82a2a;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(204, 51, 51, 0.3);
}

.privacy-modal-btn-close {
    background-color: #e0e0e0;
    color: var(--text-color);
}

.privacy-modal-btn-close:hover {
    background-color: #d0d0d0;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    .privacy-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .privacy-banner-text {
        font-size: 0.85em;
    }

    .privacy-banner-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .privacy-modal {
        margin: 20px 10px;
        max-height: 95vh;
    }

    .privacy-modal-header h2 {
        font-size: 1.4em;
    }

    .privacy-modal-content {
        font-size: 0.9em;
    }

    .privacy-modal-content h1 {
        font-size: 1.6em;
    }

    .privacy-modal-content h2 {
        font-size: 1.2em;
    }

    .privacy-modal-content table {
        font-size: 0.8em;
    }

    .privacy-modal-footer {
        flex-direction: column-reverse;
    }

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

#accept-privacy-policy-faixa{ margin-top: 0px; margin-left: 60px; color: var(--primary-color); background: #fff; }
@media (max-width: 920px){
    #accept-privacy-policy-faixa{ margin-left:0px; margin-top:10px; }
    
    .privacy-banner {
        bottom: unset;
        top:0;
    }
}
