/* Variables */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #06D6A0;
    --accent-color: #FFD166;
    --dark-color: #073B4C;
    --light-color: #F8F9FA;
    --text-color: #333333;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #FF9E80);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #00B3A1);
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

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

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

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

section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

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

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 5px 15px rgba(6, 214, 160, 0.4);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Animação de pulse para os botões */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 20px rgba(255, 107, 107, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }
}

/* Header e Navegação */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

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

.logo-svg {
    width: 4rem;
    height: 4rem;
}

.logo h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

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

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 15rem;
    padding-bottom: 8rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0) 70%);
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
    position: relative;
}

.hero h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
}

/* Como Funciona */
.how-it-works {
    background-color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

.step {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.step h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.cta-center {
    text-align: center;
    margin-top: 4rem;
}

/* Recursos */
.features {
    background: linear-gradient(135deg, #073B4C 0%, #118AB2 100%);
    color: white;
}

.features .section-title {
    color: white;
}

.features .section-title::after {
    background: var(--gradient-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

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

.feature h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ */
.faq {
    background-color: var(--light-color);
}

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

.accordion-item {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    background-color: white;
    color: var(--dark-color);
    padding: 2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    background-color: white;
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active .accordion-content {
    padding: 0 2rem 2rem;
    max-height: 1000px;
}

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

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 80%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
    background: var(--light-color);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

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

.footer-logo-svg {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

.footer-links h4, .footer-terms h4 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul, .footer-terms ul {
    list-style: none;
}

.footer-links li, .footer-terms li {
    margin-bottom: 1rem;
}

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

.footer-links a:hover, .footer-terms a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
}

.footer-bottom p:not(:last-child) {
    margin-bottom: 1rem;
}

/* Responsividade */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        margin: 4rem auto 0;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 6rem 0;
    }
    
    .hero {
        padding-top: 12rem;
    }
    
    .hero h2 {
        font-size: 3.6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        z-index: 1100;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        padding: 8rem 2rem 2rem;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1200;
        position: relative;
    }
    
    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .steps, .feature-grid {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1.2rem 2.5rem;
        font-size: 1.4rem;
    }
}
