/* Variáveis de tema */
:root {
--primary: #8a2be2;
--primary-light: #b57eed;
--primary-dark: #5f1a9a;
--primary-gradient: linear-gradient(135deg, #8a2be2, #5f1a9a);
--secondary: #ff69b4;
--secondary-light: #ff9ec9;
--secondary-dark: #d43d7b;
--secondary-gradient: linear-gradient(135deg, #ff69b4, #d43d7b);
--accent: #25D366;
--accent-light: #5df58f;
--accent-dark: #128C7E;
--text: #2d3748;
--text-light: #718096;
--bg: #ffffff;
--bg-secondary: #f9f5ff;
--card-bg: #ffffff;
--border: #e9d8fd;
--shadow: 0 4px 20px rgba(138, 43, 226, 0.1);
--whatsapp: #25D366;
--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark Theme */
.dark-mode {
--primary: #b57eed;
--primary-light: #d4b5f5;
--primary-dark: #8a2be2;
--primary-gradient: linear-gradient(135deg, #b57eed, #8a2be2);
--secondary: #ff9ec9;
--secondary-light: #ffc4dd;
--secondary-dark: #ff69b4;
--text: #f8f9fa;
--text-light: #e2e8f0;
--bg: #1a052e;
--bg-secondary: #2d0a54;
--card-bg: #2d0a54;
--border: #5f1a9a;
--shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

body {
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
color: var(--text);
background-color: var(--bg);
transition: var(--transition);
overflow-x: hidden;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

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

h1, h2, h3, h4 {
color: var(--text);
font-weight: 700;
margin-bottom: 20px;
}

h1 {
font-size: 3.5rem;
line-height: 1.2;
}

h2 {
font-size: 2.5rem;
}

p {
color: var(--text-light);
margin-bottom: 15px;
line-height: 1.7;
}

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

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

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px 32px;
background: var(--primary);
color: white;
border-radius: 50px;
font-weight: 600;
text-align: center;
border: none;
cursor: pointer;
transition: var(--transition);
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
}

.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: 0.5s;
}

.btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
}

.btn:hover::before {
left: 100%;
}

.btn-whatsapp {
background: var(--accent);
box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
background: var(--accent-dark);
box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-outline {
background: transparent;
border: 2px solid var(--primary);
color: var(--primary);
box-shadow: none;
}

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

.text-center {
text-align: center;
}

/* Header */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background-color: var(--bg);
box-shadow: var(--shadow);
padding: 20px 0;
transition: var(--transition);
}

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

.logo {
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
display: flex;
align-items: center;
gap: 10px;
}

.logo i {
font-size: 1.5rem;
}

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

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

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

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

.theme-toggle {
background: var(--bg-secondary);
border: none;
color: var(--text);
font-size: 1.2rem;
cursor: pointer;
padding: 8px;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 15px;
transition: var(--transition);
}

.theme-toggle:hover {
background: var(--primary);
color: white;
transform: rotate(30deg);
}

.hamburger {
display: none;
cursor: pointer;
font-size: 1.5rem;
color: var(--text);
transition: var(--transition);
}

.hamburger:hover {
color: var(--primary);
}

/* Hero Section */
#hero {
padding-top: 140px;
min-height: 100vh;
display: flex;
align-items: center;
background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(255, 105, 180, 0.05) 100%);
position: relative;
overflow: hidden;
}

#hero::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 80vh;
height: 80vh;
background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
opacity: 0.2;
z-index: -1;
}

#hero::after {
content: '';
position: absolute;
bottom: -30%;
left: -10%;
width: 60vh;
height: 60vh;
background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
opacity: 0.2;
z-index: -1;
}

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

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

.hero-text h1 span {
color: var(--primary);
position: relative;
display: inline-block;
}

.hero-text h1 span::after {
content: '';
position: absolute;
bottom: 10px;
left: 0;
width: 100%;
height: 15px;
background: rgba(138, 43, 226, 0.2);
z-index: -1;
border-radius: 20px;
}

.hero-text p {
font-size: 1.2rem;
margin-bottom: 30px;
max-width: 500px;
}

.hero-btns {
display: flex;
gap: 20px;
margin-top: 30px;
}

.hero-img {
position: relative;
text-align: center;
animation: float 6s ease-in-out infinite;
}

@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}

.chat-container {
background: white;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
overflow: hidden;
max-width: 350px;
margin: 0 auto;
border: 1px solid var(--border);
transform-style: preserve-3d;
perspective: 1000px;
transition: var(--transition);
}

.chat-container:hover {
transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.chat-header {
background: var(--primary-gradient);
color: white;
padding: 15px;
display: flex;
align-items: center;
gap: 10px;
}

.chat-header i {
font-size: 1.5rem;
}

.chat-messages {
height: 400px;
padding: 20px;
overflow-y: auto;
background: var(--bg-secondary);
scrollbar-width: thin;
scrollbar-color: var(--primary) var(--bg-secondary);
}

.chat-messages::-webkit-scrollbar {
width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
background: var(--bg-secondary);
}

.chat-messages::-webkit-scrollbar-thumb {
background-color: var(--primary);
border-radius: 6px;
}

.message {
margin-bottom: 15px;
max-width: 80%;
opacity: 0;
transform: translateY(20px);
animation: fadeIn 0.5s forwards;
}

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

.bot-message {
background: white;
padding: 12px 16px;
border-radius: 18px 18px 18px 4px;
box-shadow: var(--shadow);
align-self: flex-start;
}

.user-message {
background: var(--primary-light);
color: white;
padding: 12px 16px;
border-radius: 18px 18px 4px 18px;
margin-left: auto;
}

.chat-input {
display: flex;
padding: 15px;
background: white;
border-top: 1px solid var(--border);
}

.chat-input input {
flex: 1;
padding: 12px 15px;
border: 1px solid var(--border);
border-radius: 50px;
outline: none;
transition: var(--transition);
}

.chat-input input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.chat-input button {
background: var(--primary);
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
margin-left: 10px;
cursor: pointer;
transition: var(--transition);
}

.chat-input button:hover {
background: var(--primary-dark);
transform: rotate(15deg);
}

/* Features Section */
#features {
background-color: var(--bg-secondary);
position: relative;
overflow: hidden;
}

#features::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 50.41a6 6 0 0 1-6 6H12a6 6 0 0 1-6-6V9.59a6 6 0 0 1 6-6h36a6 6 0 0 1 6 6v40.82z' fill='%238a2be2' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
opacity: 0.5;
z-index: 0;
}

.section-title {
text-align: center;
margin-bottom: 60px;
position: relative;
z-index: 1;
}

.section-title::after {
content: '';
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: var(--primary);
border-radius: 2px;
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
position: relative;
z-index: 1;
}

.feature-card {
background: var(--card-bg);
padding: 40px 30px;
border-radius: 15px;
box-shadow: var(--shadow);
transition: var(--transition);
border-bottom: 4px solid transparent;
position: relative;
overflow: hidden;
z-index: 1;
}

.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--primary-gradient);
opacity: 0;
z-index: -1;
transition: var(--transition);
}

.feature-card:hover {
transform: translateY(-10px);
border-bottom-color: var(--secondary);
color: white;
}

.feature-card:hover::before {
opacity: 1;
}

.feature-card:hover h3,
.feature-card:hover p {
color: white;
}

.feature-card:hover .feature-icon {
background: white;
color: var(--primary);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
width: 70px;
height: 70px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 25px;
font-size: 1.8rem;
transition: var(--transition);
}

/* Gallery Section */
#gallery {
text-align: center;
background: var(--bg);
}

.glide__slide {
position: relative;
height: 400px;
overflow: hidden;
border-radius: 15px;
box-shadow: var(--shadow);
transition: var(--transition);
}

.glide__slide:hover {
transform: scale(1.02);
}

.glide__slide img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.glide__slide:hover img {
transform: scale(1.1);
}

.slide-caption {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 20px;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
color: white;
text-align: left;
opacity: 0;
transition: var(--transition);
}

.glide__slide:hover .slide-caption {
opacity: 1;
}

.glide__arrows {
position: relative;
margin-top: 20px;
}

.glide__arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: var(--primary);
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 1.2rem;
cursor: pointer;
z-index: 1;
transition: var(--transition);
box-shadow: var(--shadow);
}

.glide__arrow:hover {
background: var(--primary-dark);
transform: translateY(-50%) scale(1.1);
}

.glide__arrow--left {
left: -25px;
}

.glide__arrow--right {
right: -25px;
}

/* Pricing Section */
#pricing {
background-color: var(--bg-secondary);
position: relative;
overflow: hidden;
}

#pricing::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 300px;
height: 300px;
background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
opacity: 0.1;
z-index: 0;
}

.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
position: relative;
z-index: 1;
}

.pricing-card {
background: var(--card-bg);
padding: 40px 30px;
border-radius: 15px;
box-shadow: var(--shadow);
text-align: center;
position: relative;
transition: var(--transition);
overflow: hidden;
}

.pricing-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: var(--primary);
transition: var(--transition);
}

.pricing-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover::before {
height: 10px;
background: var(--secondary-gradient);
}

.pricing-card.popular {
border: 2px solid var(--secondary);
}

.popular-badge {
position: absolute;
top: 20px;
right: 20px;
background: var(--secondary-gradient);
color: white;
padding: 5px 15px;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 600;
box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}

.price {
font-size: 2.5rem;
font-weight: 700;
color: var(--primary);
margin: 20px 0;
position: relative;
display: inline-block;
}

.price::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 3px;
background: var(--primary);
border-radius: 3px;
}

.price span {
font-size: 1rem;
color: var(--text-light);
}

.pricing-features {
margin: 30px 0;
text-align: left;
}

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

.pricing-features i {
color: var(--secondary);
}

/* Testimonials */
#testimonials {
text-align: center;
background: var(--bg);
}

.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 50px;
}

.testimonial-card {
background: var(--card-bg);
padding: 30px;
border-radius: 15px;
box-shadow: var(--shadow);
text-align: left;
transition: var(--transition);
position: relative;
overflow: hidden;
}

.testimonial-card::before {
content: '"';
position: absolute;
top: 20px;
right: 20px;
font-size: 5rem;
color: var(--primary);
opacity: 0.1;
font-family: serif;
line-height: 1;
}

.testimonial-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
}

.testimonial-img {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--primary);
}

.testimonial-rating {
color: var(--secondary);
margin: 10px 0;
}

/* FAQ Section */
#faq {
background-color: var(--bg-secondary);
}

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

.accordion-item {
margin-bottom: 15px;
background: var(--card-bg);
border-radius: 10px;
box-shadow: var(--shadow);
overflow: hidden;
transition: var(--transition);
}

.accordion-item:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.accordion-header {
padding: 20px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
transition: var(--transition);
}

.accordion-header:hover {
background-color: rgba(138, 43, 226, 0.1);
}

.accordion-content {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: var(--transition);
}

.accordion-item.active .accordion-content {
padding: 0 20px 20px;
max-height: 500px;
}

.accordion-icon {
transition: var(--transition);
}

.accordion-item.active .accordion-icon {
transform: rotate(180deg);
}

/* CTA Section */
#cta {
text-align: center;
background: var(--primary-gradient);
color: white;
position: relative;
overflow: hidden;
}

#cta::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 50.41a6 6 0 0 1-6 6H12a6 6 0 0 1-6-6V9.59a6 6 0 0 1 6-6h36a6 6 0 0 1 6 6v40.82z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
opacity: 0.3;
}

#cta h2 {
color: white;
position: relative;
}

#cta p {
color: rgba(255, 255, 255, 0.8);
max-width: 700px;
margin: 0 auto 30px;
position: relative;
}

/* Footer */
footer {
background: var(--primary-dark);
color: white;
padding: 80px 0 30px;
position: relative;
}

footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 50.41a6 6 0 0 1-6 6H12a6 6 0 0 1-6-6V9.59a6 6 0 0 1 6-6h36a6 6 0 0 1 6 6v40.82z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
opacity: 0.2;
}

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

.footer-col h3 {
color: white;
margin-bottom: 25px;
position: relative;
padding-bottom: 15px;
}

.footer-col h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: var(--secondary);
border-radius: 3px;
}

.footer-links li {
margin-bottom: 12px;
list-style: none;
}

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

.footer-links a:hover {
color: white;
padding-left: 5px;
}

.social-links {
display: flex;
gap: 15px;
margin-top: 20px;
}

.social-links a {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}

.social-links a:hover {
background: var(--secondary);
transform: translateY(-3px);
}

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

/* Floating Elements */
.floating {
position: absolute;
border-radius: 50%;
background: rgba(138, 43, 226, 0.1);
z-index: -1;
animation: float 15s infinite ease-in-out;
}

.floating:nth-child(1) {
width: 150px;
height: 150px;
top: 20%;
left: 10%;
animation-delay: 0s;
}

.floating:nth-child(2) {
width: 200px;
height: 200px;
bottom: 30%;
right: 15%;
animation-delay: 3s;
}

.floating:nth-child(3) {
width: 100px;
height: 100px;
top: 60%;
left: 25%;
animation-delay: 6s;
}

/* Responsividade */
@media (max-width: 992px) {
.hero-content {
grid-template-columns: 1fr;
text-align: center;
}

.hero-text p {
margin-left: auto;
margin-right: auto;
}

.hero-btns {
justify-content: center;
}

.hero-img {
margin-top: 50px;
}

h1 {
font-size: 2.8rem;
}

h2 {
font-size: 2.2rem;
}
}

@media (max-width: 768px) {
.nav-links {
position: fixed;
top: 80px;
left: -100%;
width: 100%;
height: calc(100vh - 80px);
background: var(--bg);
flex-direction: column;
align-items: center;
justify-content: center;
gap: 30px;
transition: var(--transition);
z-index: 999;
}

.nav-links.active {
left: 0;
}

.hamburger {
display: block;
}

h1 {
font-size: 2.2rem;
}

h2 {
font-size: 1.8rem;
}

section {
padding: 80px 0;
}

.glide__arrow {
width: 40px;
height: 40px;
font-size: 1rem;
}

.glide__arrow--left {
left: -15px;
}

.glide__arrow--right {
right: -15px;
}
}

@media (max-width: 576px) {
.hero-btns {
flex-direction: column;
gap: 15px;
}

.btn {
width: 100%;
}

.popular-badge {
top: 10px;
right: 10px;
font-size: 0.7rem;
padding: 3px 10px;
}

h1 {
font-size: 1.8rem;
}

.hero-text p {
font-size: 1rem;
}

.feature-card, .pricing-card, .testimonial-card {
padding: 30px 20px;
}
}

/* Dark mode specific styles */
.dark-mode a {
color: var(--secondary-light);
}

.dark-mode a:hover {
color: var(--secondary);
}

.dark-mode .nav-links a {
color: var(--text);
}

.dark-mode .nav-links a:hover {
color: var(--primary-light);
}

.dark-mode .chat-container {
background: var(--card-bg);
border-color: var(--border);
}

.dark-mode .chat-header {
background: var(--primary-dark);
}

.dark-mode .chat-messages {
background: var(--bg);
}

.dark-mode .bot-message {
background: var(--card-bg);
color: var(--text);
}

.dark-mode .chat-input {
background: var(--card-bg);
border-top-color: var(--border);
}

.dark-mode .chat-input input {
background: var(--bg);
border-color: var(--border);
color: var(--text);
}

.dark-mode .btn-outline {
color: var(--primary-light);
border-color: var(--primary-light);
}

.dark-mode .btn-outline:hover {
color: white;
}