/* 
* Landing Page AI24H - Assistente Liz
* Estilos principais - Versão atualizada
*/

/* Variáveis CSS */
:root {
    /* Cores principais */
    --primary: #00CFFF;
    --primary-dark: #00A3CC;
    --secondary: #004B6B;
    --secondary-dark: #003A54;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark: #212529;
    --text: #333333;
    
    /* Cores de glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    
    /* Fontes */
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Tamanhos */
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    
    /* Efeitos */
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 75, 107, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 75, 107, 0.15);
}

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0;
    position: relative;
}

/* Efeito de Partículas */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* Efeito de Vidro (Glassmorphism) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Botões */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 207, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 207, 255, 0.4);
    color: var(--white);
}

.btn-contato {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-contato:hover {
    background: var(--white);
    color: var(--primary);
}

/* Títulos de Seção */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 207, 255, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.menu-mobile {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(0, 75, 107, 0.05) 0%, rgba(0, 207, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.headline {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--secondary);
}

.cta-primary {
    margin-top: 30px;
}

.hero-image {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.assistant-avatar {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 207, 255, 0.3);
}

.avatar-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 207, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.assistant-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary);
}

.chat-demo {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Estilos para o chat header e avatar */
.chat-header {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assistant-circle {
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 207, 255, 0.5);
    animation: pulse-circle 2s infinite;
}

@keyframes pulse-circle {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 207, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 207, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 207, 255, 0);
    }
}

.chat-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--secondary);
}

.status {
    font-size: 0.8rem;
    color: #4CAF50;
    display: flex;
    align-items: center;
}

.status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 5px;
}

.chat-message {
    padding: 12px 15px;
    border-radius: 18px;
    max-width: 80%;
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

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

.chat-message.client {
    background-color: rgba(248, 249, 250, 0.8);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-message.assistant {
    background: linear-gradient(135deg, rgba(0, 207, 255, 0.8) 0%, rgba(0, 163, 204, 0.8) 100%);
    color: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-typing {
    display: flex;
    gap: 5px;
    align-self: flex-start;
    padding: 12px 15px;
    background: rgba(0, 207, 255, 0.3);
    border-radius: 18px;
    border-bottom-left-radius: 5px;
}

.typing-indicator {
    display: flex;
    gap: 5px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: bounce 1.5s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}

.wave-divider {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-divider.top {
    top: -5px;
    bottom: auto;
    transform: rotate(180deg);
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

/* Benefícios Section */
.beneficios {
    background-color: var(--white);
    position: relative;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.beneficio-card {
    text-align: center;
    padding: 40px 25px;
}

.beneficio-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beneficio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.comparativo {
    max-width: 800px;
    margin: 0 auto;
}

.comparativo h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.comparativo-table {
    width: 100%;
    border-collapse: collapse;
}

.comparativo-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    font-weight: 700;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.comparativo-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparativo-row:last-child {
    border-bottom: none;
}

.comparativo-cell {
    padding: 10px;
    text-align: center;
}

.comparativo-cell:first-child {
    text-align: left;
}

.comparativo-cell.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Funcionalidades Section */
.funcionalidades {
    background-color: var(--light-gray);
    position: relative;
}

.funcionalidades-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 207, 255, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.content-text ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-text li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-text li i {
    color: var(--primary);
    font-size: 1.2rem;
}

.content-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.content-image img {
    max-height: 100%;
    object-fit: contain;
}

/* Depoimentos Section */
.depoimentos {
    background-color: var(--white);
    position: relative;
}

.depoimentos-slider {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    width: 100%;
}

.depoimento-card {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.depoimento-content {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
}

.depoimento-content p::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    vertical-align: bottom;
    line-height: 0;
}

.depoimento-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    vertical-align: bottom;
    line-height: 0;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.autor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.8;
}

.autor-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.autor-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--secondary);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--secondary);
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 75, 107, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Planos Section */
.planos {
    background-color: var(--light-gray);
    position: relative;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.plano-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plano-card.featured {
    transform: scale(1.05);
    z-index: 2;
}

.plano-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
}

.plano-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.plano-preco {
    text-align: center;
    margin-bottom: 20px;
}

.preco-original {
    display: block;
    text-decoration: line-through;
    color: var(--secondary);
    opacity: 0.7;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.preco-atual {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.preco-periodo {
    font-size: 1rem;
    color: var(--secondary);
}

.plano-economia {
    text-align: center;
    background: rgba(0, 207, 255, 0.1);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary);
}

.plano-features {
    margin-bottom: 30px;
}

.plano-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.plano-features li i {
    color: var(--primary);
    margin-top: 5px;
}

.countdown-timer {
    margin-bottom: 20px;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.faq-toggle {
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Form Section */
.form-section {
    background-color: var(--light-gray);
    position: relative;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-content {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.2);
    color: var(--secondary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.2);
}

.form-control.error {
    border-color: #ff3b30;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.footer {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 50px 0 20px;
    position: relative;
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        height: 400px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-text {
        order: 2;
    }
    
    .content-image {
        order: 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .planos-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plano-card.featured {
        transform: scale(1);
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .content-text h3 {
        font-size: 1.5rem;
    }
    
    .beneficio-card {
        padding: 30px 20px;
    }
    
    .form-content {
        padding: 30px 20px;
    }
}
