/* === RESET E CONFIGURAÇÕES GLOBAIS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --primary-bg: #CBA0FF;
    --accent-peach: #FFA987;
    --accent-azure: #59D2FE;
    --text-indigo: #2E003E;
    --gradient-light: linear-gradient(135deg, #8B5CF6 0%, #CBA0FF 100%);
    --gradient-card: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    --white: #FFFFFF;
    --shadow: 0 10px 25px rgba(46, 0, 62, 0.1);
    --shadow-hover: 0 20px 40px rgba(46, 0, 62, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-indigo);
    background: var(--primary-bg);
    overflow-x: hidden;
}

/* === LAYOUT E CONTAINERS === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--gradient-light);
}

/* === TIPOGRAFIA === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-indigo);
    opacity: 0.9;
}

/* === BOTÕES === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-peach);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #FF9470;
}

.btn-secondary {
    background: var(--accent-azure);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #42C7FD;
}

.btn-outline {
    background: transparent;
    color: var(--text-indigo);
    border: 2px solid var(--text-indigo);
}

.btn-outline:hover {
    background: var(--text-indigo);
    color: var(--white);
}

/* === HEADER === */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Offset anchor links to account for fixed header */
section[id] {
    scroll-margin-top: 120px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-indigo);
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 0.5rem;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.navigation .btn {
    white-space: nowrap;
}

/* === HERO SECTION === */
.hero {
    background: var(--gradient-light);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFFFFF" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero .lead {
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* === CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card h3 {
    color: var(--text-indigo);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-indigo);
    opacity: 0.8;
}

.card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-peach);
    margin: 1rem 0;
}

.card .price-note {
    font-size: 0.9rem;
    color: var(--text-indigo);
    opacity: 0.7;
}

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* === FORMULÁRIO === */
.form-section {
    background: var(--white);
    padding: 4rem 0;
    position: relative;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gradient-card);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 169, 135, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-indigo);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(46, 0, 62, 0.1);
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-indigo);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-peach);
    box-shadow: 0 0 0 3px rgba(255, 169, 135, 0.2);
    transform: scale(1.02);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--accent-peach);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--gradient-light);
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--accent-peach);
    font-weight: 700;
}

.testimonial p {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-indigo);
}

.testimonial .author {
    font-weight: 600;
    color: var(--text-indigo);
}

.testimonial .company {
    font-size: 0.9rem;
    color: var(--text-indigo);
    opacity: 0.7;
}

/* === FOOTER === */
.footer {
    background: var(--text-indigo);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-peach);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-peach);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-hover);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup p {
    margin-bottom: 1rem;
    color: var(--text-indigo);
}

.cookie-popup .cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-popup .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .cookie-popup .cookie-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .navigation {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navigation .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .navigation .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .header-content {
        padding: 0.3rem 0;
    }
    
    section[id] {
        scroll-margin-top: 100px;
    }
}

/* === ANIMAÇÕES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.p-2 {
    padding: 2rem !important;
}

.rounded-2xl {
    border-radius: 2rem !important;
}

.shadow {
    box-shadow: var(--shadow) !important;
}

.gradient-bg {
    background: var(--gradient-light) !important;
}

.white-bg {
    background: var(--white) !important;
}

.hidden {
    display: none !important;
}

.flex {
    display: flex !important;
}

.items-center {
    align-items: center !important;
}

.justify-center {
    justify-content: center !important;
}

.gap-1 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 2rem !important;
} 