:root {
    --primary: #2c5282;
    --primary-light: #4299e1;
    --primary-dark: #1a365d;
    --secondary: #d69e2e;
    --secondary-light: #f6ad55;
    --dark: #1a202c;
    --light: #f7fafc;
    --gray: #718096;
    --light-gray: #edf2f7;
    --success: #38a169;
    --error: #e53e3e;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Header Elegante */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
    line-height: 1; /* Para evitar espaçamento extra */
}

.logo-text span {
    color: var(--primary);
}

.slogan {
    font-size: 0.8rem;
    color: var(--gray); /* Use uma cor da sua paleta, ou ajuste */
    font-style: italic;
    margin-top: 2px;
    line-height: 1; /* Para evitar espaçamento extra */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -6px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Hero Section Elegante */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
}

.hero-subtitle {
    color: var(--secondary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/subtle-white-feathers.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    z-index: 2;
    border: 10px solid rgba(255, 255, 255, 0.1);
}

/* Botões Elegantes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 0.8rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
}

/* Features Elegantes e Seções */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-text {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(66, 153, 225, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-text {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
}

/* Nova Seção de Vídeo */
.video-section {
    background-color: var(--light-gray); /* Um fundo sutil para destacar */
    padding-top: 6rem; /* Ajuste para não ter muito espaço acima da section */
    padding-bottom: 6rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção de vídeo 16:9 (altura/largura = 9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    max-width: 900px; /* Largura máxima para o vídeo */
    margin: 0 auto 2rem; /* Centraliza e adiciona margem inferior */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg); /* Sombra para destacar o vídeo */
    background-color: var(--dark); /* Cor de fundo para o iframe */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--border-radius); /* Borda arredondada para o iframe */
}

.video-caption {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    margin-top: 1rem;
}


/* CTA Elegante */
.cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 2rem;
}

.cta-text {
    opacity: 0.9;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer Elegante */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-about {
    max-width: 350px;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Floating Action Buttons Elegantes */
.fab-container {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.fab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.fab:hover::after {
    opacity: 1;
}

.fab-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.fab-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.fab-dark {
    background: var(--dark);
}

.fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Install Button Elegante */
.install-btn-circle {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.install-btn-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.install-btn-circle:hover::after {
    opacity: 1;
}

.install-btn-circle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Tooltip Elegante */
.install-btn-circle::before {
    content: attr(title);
    position: absolute;
    right: 80px;
    white-space: nowrap;
    background-color: var(--dark);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.install-btn-circle:hover::before {
    opacity: 1;
    right: 70px;
}

/* Animação de pulsar elegante */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(66, 153, 225, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(66, 153, 225, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(66, 153, 225, 0); }
}

.install-btn-circle.pulse {
    animation: pulse 2s infinite;
}

/* Mobile Menu Elegante */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: var(--transition);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: auto;
}

.mobile-nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-links a::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
}

.mobile-nav-links a:hover {
    color: var(--primary);
    padding-left: 1rem;
}

.mobile-nav-links a:hover::before {
    opacity: 1;
}

.mobile-menu-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Modal do Chatbot */
.chatbot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.chatbot-modal.active {
    opacity: 1;
    visibility: visible;
}

.chatbot-container {
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.chatbot-modal.active .chatbot-container {
    transform: translateY(0);
}

.chatbot-header {
    background-color: var(--primary-dark);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    position: relative;
}

.chatbot-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.chatbot-title h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.chatbot-title p {
    font-size: 0.75rem;
    opacity: 0.8;
}

.close-chatbot {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.close-chatbot:hover {
    opacity: 1;
}

.chatbot-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
}

.chat-message {
    max-width: 80%;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    position: relative;
    animation: fadeIn 0.3s ease;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
    background-color: white;
    color: var(--dark);
    border-bottom-left-radius: 5px;
    box-shadow: var(--shadow-sm);
}

.user-message {
    align-self: flex-end;
    background-color: var(--primary);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-content {
    margin-bottom: 0.3rem;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: right;
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-option {
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-option:hover {
    background-color: var(--light-gray);
}

.chatbot-footer {
    padding: 0.8rem;
    background-color: white;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
}

.typing-indicator {
    display: none;
    position: absolute;
    bottom: 70px;
    left: 20px;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--gray);
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1.4s infinite both;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-3px);
    }
}

#userInput {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

#userInput:focus {
    border-color: var(--primary);
}

#sendBtn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#sendBtn:hover {
    background-color: var(--primary);
}

/* Botão do Chatbot */
.chatbot-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* colocado no lado inferior esquerdo */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 1000;
}

.chatbot-btn:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

/* Ajustes para mobile */
@media (max-width: 1200px) {
    .hero-image {
        right: 5%;
        width: 45%;
    }
}

@media (max-width: 1024px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .footer-grid {
        gap: 3rem;
    }
    
    .chatbot-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .chatbot-btn {
        bottom: 20px;
        left: 20px; /* lado inferior esquerdo também no mobile */
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    /* Ajustes para vídeo em mobile */
    .video-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 700px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .fab-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .fab, .install-btn-circle {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}