/* ============================================
   RESET E ESTILOS GLOBAIS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   CONTAINER PRINCIPAL (main-wrapper)
   ============================================ */

.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================
   ÁREA DO CHATBOT (chat-area)
   ============================================ */

.chat-area {
    flex: 1;
    width: 100%;
    overflow: hidden;
}

typebot-standard {
    display: block;
    width: 100%;
}

/* ============================================
   BARRA DE CONFIANÇA (trust-bar)
   ============================================ */

.trust-bar {
    width: 100%;
    background-color: #000000;
    color: white;
    padding: 2rem 1rem;
    border-top: 2px solid #1f2937;
}

.trust-content {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.trust-icon {
    color: #4ade80; /* Cor de destaque verde */
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.trust-text {
    color: #ffffff;
    letter-spacing: 0.3px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

/* ============================================
   RODAPÉ DO SITE (site-footer) - TEMA PRETO
   ============================================ */

.site-footer {
    background-color: #000000;
    color: #d1d5db;
    padding: 3rem 1rem;
    border-top: 1px solid #374151;
}

.footer-inner {
    max-width: 56rem;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.section-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links {
    flex-direction: row;
    gap: 1.5rem;
}

.footer-link {
    font-size: 0.875rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-link:hover {
    color: #4ade80; /* Cor de destaque verde */
}

.info-text {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.copyright-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* ============================================
   BARRA DE COOKIES (cookie-bar) - TEMA PRETO
   ============================================ */

.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000; /* Fundo preto */
    color: #ffffff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.cookie-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bar-content {
    max-width: 56rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.bar-text {
    flex: 1;
    min-width: 250px;
}

.bar-text p {
    font-size: 0.875rem;
    line-height: 1.5;
}

.bar-link {
    color: #4ade80; /* Cor de destaque para o link */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.bar-link:hover {
    color: #86efac;
}

.bar-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.action-btn {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    white-space: nowrap;
}

.accept-btn {
    background-color: #4ade80; /* Botão de aceitar verde */
    color: #000000;
}

.accept-btn:hover {
    background-color: #86efac;
}

.accept-btn:active {
    transform: scale(0.98);
}

.reject-btn {
    background: none;
    border: 1px solid #4ade80; /* Borda verde para o botão de rejeitar */
    color: #4ade80;
}

.reject-btn:hover {
    background-color: #4ade80;
    color: #000000;
}

.reject-btn:active {
    transform: scale(0.98);
}

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

@media (max-width: 768px) {
    .trust-content {
        gap: 1rem;
    }

    .trust-item {
        font-size: 0.9rem;
    }

    .trust-text {
        font-size: 0.95rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    ..bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .bar-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .trust-bar {
        padding: 1.5rem 0.75rem;
    }

    .trust-item {
        font-size: 0.85rem;
    }

    .trust-text {
        font-size: 0.9rem;
    }

    .site-footer {
        padding: 2rem 0.75rem;
    }

    .bar-content {
        gap: 0.5rem;
    }

    .bar-actions {
        width: 100%;
        gap: 0.5rem;
    }

    .action-btn {
        flex: 1;
        padding: 0.5rem 0.75rem;
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

button:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

a:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .cookie-bar {
        display: none;
    }
}
