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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Cabeçalho */
header {
    background: rgba(255, 255, 255, 0.514);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    padding: 0.75rem 0;
    z-index: 1000;
}

nav {
    max-width: 1200px; /* Limita a largura máxima do conteúdo */
    margin: 0 auto; /* Centraliza o conteúdo */
    display: flex; /* Usar flexbox para layout */
    justify-content: space-between; /* Espaçamento entre itens */
    align-items: center; /* Alinha os itens ao centro verticalmente */
    position: relative; /* permite posicionamento absoluto relativo para o toggle móvel */
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f8a5c2;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto; /* centraliza os links horizontalmente no header */
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #6b5b95;
}

.mobile-menu-toggle.open {
    color: #f8a5c2;
    font-size: 1.9rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f8a5c2;
}

.cta-button {
    background: #fff2a3;
    color: #8b7355;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 242, 163, 0.6);
}

/* Seção Inicial (Hero) */
.hero {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: #5d4e75;
    padding: 120px 0 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center; /* centraliza horizontalmente o conteúdo do hero */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    justify-content: center;
    margin-top: 99px;
    margin-top: 100px;
    
}



.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    
}

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

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Seção de Serviços */
.features {
    padding: 80px 0;
    background: #faf9f9;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6b5b95;
    margin-bottom: 1rem;
}

.features-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #8a7ca8;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 cards por linha no desktop */
    gap: 2rem;
    align-items: start;
}

/* Tablets: 2 colunas */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(181, 194, 215, 0.15);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #f3e5f5;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(181, 194, 215, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff2a3, #ffeaa7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    color: #f8a5c2;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Como Funciona */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6b5b95;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-content h3 {
    color: #f8a5c2;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.step-content p {
    font-size: 1.1rem;
    color: #8a7ca8;
    margin-bottom: 1.5rem;
}

.step-image {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6b5b95;
}

/* Depoimentos */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #d1c4e9, #b39ddb);
    color: #4a4a4a;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6b5b95;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 4rem;
    color: #5d4e75;
}

.testimonial-card {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 165, 194, 0.3);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #6b5b95;
}

.testimonial-author {
    font-weight: bold;
    color: #f8a5c2;
}


.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf7ff, #ffffff);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6b5b95;
    margin-bottom: 1rem;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #8a7ca8;
    margin-bottom: 2.5rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(101, 84, 155, 0.06);
    overflow: hidden;
    border: 1px solid #f1e9fb;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(248,165,194,0.03), transparent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question::after {
    content: "▾";
    transition: transform 0.3s ease;
    color: #6b5b95;
    font-size: 1rem;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.35s ease, padding 0.25s ease;
    background: white;
}

.faq-answer p {
    padding: 1rem 0 1.25rem;
    color: #5d4e75;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    .faq-list {
        padding: 0 10px;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff9c4, #fff2a3);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #6b5b95;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #8a7ca8;
    margin-bottom: 2rem;
}

.cta-large {
    background: linear-gradient(135deg, #f8a5c2, #fbb6ce);
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(248, 165, 194, 0.3);
}

.cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(248, 165, 194, 0.4);
}

/* Footer */
footer {
    background: #6b5b95;
    color: #e8e1f5;
    padding: 40px 0;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
    display: none;
    position: absolute;
    top: 100px; /* espaço para o botão fechar */
    left: 0;
    right: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.966), rgba(255, 255, 255, 0.671)); ;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    max-width: none;
    border-radius: 0 0 10px 10px; /* arredonda só a parte inferior */
    box-shadow: 0 8px 25px rgba(101,84,155,0.08);
    padding: 0.5rem 0.75rem; /* ajuste do preenchimento do menu */
    transform-origin: top right;
    z-index: 999; /* abaixo do botão */
    }

    /* Ajustes do Hero em mobile */
    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.25rem 0;
        list-style: none;
    }

    .nav-links li a {
        display: block;
    padding: 14px 16px; /* aumenta touch target */
        border-radius: 8px;
        color: #333;
        text-decoration: none;
    width: 100%;
    text-align: center;
    }

    .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 50%; /* centraliza verticalmente em relação ao header */
    transform: translateY(-50%);
    right: 20px;
    z-index: 1001; /* acima do nav móvel */
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: 6px;
    }

    /* Hide desktop CTA and style CTA inside mobile menu */
    .desktop-cta {
        display: none;
    }

    .mobile-cta a.cta-button {
    display: block;
    width: calc(100% - 8px);
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
        background: linear-gradient(135deg, #f8a5c2, #fbb6ce);
        color: #fff;
        box-shadow: 0 6px 18px rgba(248,165,194,0.12);
        font-weight: 700;
    }

}

@media (min-width: 769px) {
    /* Ensure mobile menu toggle hidden on desktop and desktop CTA visible */
    .mobile-menu-toggle { display: none; }
    .desktop-cta { display: inline-block; }
    .nav-links { display: flex !important; position: static; background: none; box-shadow: none; padding: 0; width: auto; max-width: none; }
    .nav-links li { margin: 0; }
}
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 138px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr; /* 1 coluna em telas pequenas */
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step:nth-child(even) {
        direction: ltr;
    }
}