/* ============================================
   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
   ============================================ */

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

/* ============================================
   CONTAINER DO TYPEBOT
   ============================================ */

.typebot-container {
    flex: 1;
    width: 100%;
    overflow: hidden;
}

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

/* ============================================
   SEÇÃO DE CREDIBILIDADE
   ============================================ */

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

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

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

.credibility-icon {
    color: #10b981;
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
}

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

.credibility-divider {
    width: 1px;
    height: 20px;
    background-color: #374151;
}

/* ============================================
   RODAPÉ
   ============================================ */

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

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

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

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

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

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

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

.footer-link:hover {
    color: #ffffff;
}

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

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

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

.footer-copyright {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ============================================
   BARRA DE COOKIES
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    animation: slideUp 0.3s ease-out;
}

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

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

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

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

.cookie-link {
    text-decoration: underline;
    color: #93c5fd;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #bfdbfe;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept:hover {
    background-color: #1d4ed8;
}

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

.cookie-btn-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn-close:hover {
    color: #ffffff;
}

/* ============================================
   CLASSE PARA ESCONDER BANNER
   ============================================ */

.cookie-banner.hidden {
    display: none;
}

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

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

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

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

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

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

    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-text p {
        font-size: 0.8rem;
    }
}

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

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

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

    .footer {
        padding: 2rem 0.75rem;
    }

    .cookie-banner {
        padding: 0.75rem;
    }

    .cookie-content {
        gap: 0.5rem;
    }

    .cookie-buttons {
        width: 100%;
        gap: 0.5rem;
    }

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

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

button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

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

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