/* Variáveis de Cores e Fontes */
:root {
    /* Paleta de cores principal */
    --cor-primaria: #6c5ce7;
    --cor-secundaria: #a29bfe;
    --cor-destaque: #ff7675;
    --cor-texto: #2d3436;
    --cor-texto-claro: #636e72;
    --cor-fundo: #f9f9f9;
    --cor-branco: #ffffff;
    
    /* Sombras */
    --sombra-suave: 0 5px 15px rgba(0, 0, 0, 0.05);
    --sombra-media: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Fontes */
    --fonte-principal: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

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

body {
    font-family: var(--fonte-principal);
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--cor-primaria);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cor-secundaria);
}

ul {
    list-style: none;
}

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

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branco);
    border: none;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
    transform: translateY(-2px);
    color: var(--cor-branco);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--cor-primaria);
    color: var(--cor-primaria);
}

.btn-secondary:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
}

/* Header */
header {
    background-color: var(--cor-branco);
    box-shadow: var(--sombra-suave);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--cor-primaria);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(108, 92, 231, 0.05);
}

/* Seção Hero */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(162, 155, 254, 0.05));
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--cor-texto-claro);
    margin-bottom: 2.5rem;
}

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

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

/* Seção Features */
.features {
    padding: 80px 0;
    background-color: var(--cor-branco);
}

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

.feature-card {
    background-color: var(--cor-branco);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--sombra-suave);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--cor-primaria);
}

.feature-card p {
    color: var(--cor-texto-claro);
    margin-bottom: 0;
}

/* Seção How It Works */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(162, 155, 254, 0.05));
}

.steps {
    display: flex;
    gap: 30px;
    margin: 50px 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--cor-secundaria);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branco);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--cor-primaria);
}

.step p {
    color: var(--cor-texto-claro);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Seção About */
.about {
    padding: 80px 0;
    background-color: var(--cor-branco);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: var(--cor-texto-claro);
}

/* Footer */
footer {
    background-color: #2d3436;
    color: var(--cor-branco);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-group h4 {
    color: var(--cor-secundaria);
    margin-bottom: 20px;
}

.footer-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-group a {
    color: var(--cor-branco);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-group a:hover {
    opacity: 1;
    color: var(--cor-secundaria);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-visual {
        flex: initial;
        width: 100%;
        text-align: center;
    }
    
    .hero-content h2 {
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: unset;
        right: unset;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-group {
        width: 100%;
    }
    
    .footer-group ul {
        align-items: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 20px;
    }
}

/* Fontes web */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/nunito/v16/XRXV3I6Li01BKofINeaE.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/nunito/v16/XRXW3I6Li01BKofAjsOUYevI.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
