/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

/* Variáveis */
:root {
    /* Paleta de cores - Tema roxo e violeta */
    --primary: #8E24AA;      /* Roxo médio */
    --primary-dark: #4A148C; /* Roxo escuro */
    --accent: #E1BEE7;       /* Lilás claro */
    --accent-dark: #7B1FA2;  /* Roxo médio-escuro */
    --light: #FFFFFF;        /* Branco */
    --light-gray: #F8F5FB;   /* Cinza muito claro com tom roxo */
    --gray: #9E9E9E;         /* Cinza médio */
    --dark: #212121;         /* Cinza muito escuro */
    
    /* Tipografia */
    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Bordas */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(138, 36, 170, 0.1);
    --shadow-md: 0 4px 16px rgba(138, 36, 170, 0.15);
    --shadow-lg: 0 8px 24px rgba(138, 36, 170, 0.2);
}

/* Reset e configurações básicas */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--dark);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-md);
}

/* Cabeçalho e navegação */
.header {
    background-color: var(--light);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

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

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-xs) 0;
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    padding: var(--space-lg) 0 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    color: var(--light);
    font-size: 2.7rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.visual-container {
    max-width: 450px;
}

.hero-graphic {
    width: 100%;
    height: auto;
}

.wave-divider {
    position: relative;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
}

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

/* Botões */
.btn {
    display: inline-block;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(225, 190, 231, 0.3);
}

.btn-primary:hover {
    background-color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(225, 190, 231, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--light);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Seção de cabeçalho */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: var(--space-xs) auto 0;
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Seção de recursos */
.features {
    padding: var(--space-xl) 0;
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.feature-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 36, 170, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon-wrap {
    margin-bottom: var(--space-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
}

.features-cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* Seção como funciona */
.how-to {
    padding: var(--space-xl) 0;
    background-color: var(--light-gray);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.step-card {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--primary);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto var(--space-sm);
}

.step-info h3 {
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.step-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.step-divider {
    width: 40px;
    flex-shrink: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-divider svg {
    width: 100%;
    height: auto;
    opacity: 0.7;
}

.how-to-visual {
    margin-top: var(--space-lg);
    text-align: center;
}

.process-graphic {
    max-width: 100%;
    height: auto;
}

/* Seção de benefícios */
.benefits {
    padding: var(--space-xl) 0;
    background-color: var(--light);
}

.benefits-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.benefits-text {
    flex: 1;
}

.benefits-text h2 {
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

.benefits-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: var(--space-xs) 0 0;
    border-radius: var(--radius-full);
}

.benefits-list {
    margin-bottom: var(--space-md);
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.benefits-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.benefits-graphic {
    max-width: 100%;
    height: auto;
}

/* Seção FAQ */
.faq {
    padding: var(--space-xl) 0;
    background-color: var(--light-gray);
}

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

.faq-item {
    background-color: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--primary);
}

.faq-question {
    padding: var(--space-sm);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(138, 36, 170, 0.05);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding: 0 var(--space-sm) var(--space-sm);
    margin-bottom: 0;
}

.faq-item.active .faq-question {
    background-color: rgba(138, 36, 170, 0.05);
}

/* Seção CTA final */
.final-cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--light);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--light);
    margin-bottom: var(--space-xs);
}

.cta-content h2::after {
    background-color: var(--accent);
    margin: var(--space-xs) auto 0;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

/* Rodapé */
.footer {
    background-color: var(--primary-dark);
    color: var(--light);
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-xs);
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

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

/* Media Queries */
@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .benefits-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .benefits-text h2::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--light);
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        height: 100%;
        justify-content: center;
        gap: var(--space-lg);
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-card {
        width: 100%;
        max-width: 100%;
    }
    
    .step-divider {
        transform: rotate(90deg);
        margin: var(--space-xs) 0;
        height: 24px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .footer-col {
        text-align: center;
        width: 100%;
    }
}
