/* Importação de fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

/* Estilos Globais */
:root {
    --primary-color: #9C27B0; /* Roxo Médio */
    --secondary-color: #673AB7; /* Roxo Escuro */
    --accent-color: #4A148C; /* Roxo Muito Escuro */
    --light-bg: #EDE7F6; /* Roxo Muito Claro */
    --dark-text: #311B92; /* Roxo Índigo Escuro */
    --light-text: #FFFFFF; /* Branco */
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    /* Variáveis para os gradientes com a nova paleta roxa */
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-socials: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    --gradient-button: linear-gradient(45deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    --gradient-active-faq: linear-gradient(90deg, #D1C4E9 0%, var(--light-bg) 100%); /* Roxo claro para FAQ ativo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 80px 20px;
    margin-bottom: 0; /* Remover margin-bottom padrão */
}

/* Botões */
.btn {
    display: inline-block;
    background-image: var(--gradient-button); /* Usando o gradiente para o botão */
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-size 0.3s ease, transform 0.2s ease; /* Transição para o efeito hover */
    background-size: 200% auto; /* Para o efeito de gradiente no hover */
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background-position: right center; /* Move o gradiente no hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color:#ccc;
}

/* Navegação */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--light-text);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav div:first-child strong {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

nav a {
    margin-left: 25px;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero); /* Aplicando o gradiente principal aqui */
    color: var(--light-text);
    padding: 120px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* Remover margin-bottom padrão */
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.6rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
    line-height: 1.5;
}

/* Segunda seção hero */
.hero + section.hero {
    background: var(--light-bg);
    color: var(--dark-text);
    padding: 60px 20px;
    box-shadow: none;
    min-height: auto;
    text-align: center;
    border-bottom: 1px solid #eee; /* Manter um cinza claro para a borda */
}

.hero + section.hero p {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--secondary-color);
    max-width: 900px;
}

.hero + section.hero p strong {
    color: var(--primary-color);
}

/* Seção de Produtos */
.products {
    background-color: var(--light-bg);
    padding: 80px 20px;
    text-align: center;
}

.products h2 {
    margin-bottom: 4rem;
}
.products .box{
    display: flex;
    justify-content: center;
    align-items: safe;
    flex-wrap: wrap;
}
.products .product-card {
    width: 100%;
    max-width: 400px;
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin: 20px;
    vertical-align: top; /* Alinha o topo dos cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Garante que a imagem não vaze */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.products .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.products .product-card img {
    max-width: 100%;
    height: 200px; /* Altura fixa para as imagens */
    object-fit: cover; /* Recorta a imagem para preencher o espaço */
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.products .product-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    flex-grow: 0; /* Não permite que o título cresça */
}

.products .product-card p {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Permite que o parágrafo ocupe o espaço restante */
}

.products .product-card .btn {
    width: 80%; /* Botão um pouco menor */
    margin-top: auto; /* Empurra o botão para baixo */
}

/* Seção Sobre */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    background-color: var(--light-text);
    text-align: center;
}

.about img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2.5rem;
    border: 7px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.7); /* Baseado na --primary-color */
    }
    70% {
        box-shadow: 0 0 0 15px rgba(156, 39, 176, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(156, 39, 176, 0);
    }
}

.about h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about p {
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-text);
}

.about p strong {
    color: var(--primary-color);
}

/* Redes Sociais */
.socials {
    text-align: center;
    padding: 40px 20px;
    background-image: var(--gradient-socials); /* Aplicando o gradiente aqui */
    color: var(--light-text);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
}

.socials p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-weight: 300;
}

.socials a {
    color: var(--light-text);
    font-size: 2.5rem;
    margin: 0 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* FAQ Section */
.faq {
    background-color: var(--light-bg);
    padding: 80px 20px;
    text-align: center;
}

.faq h2 {
    margin-bottom: 3.5rem;
}

.faq-item {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto 20px auto;
    max-width: 800px;
    text-align: left;
    overflow: hidden;
}

.faq-item p {
    padding: 20px;
    margin: 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.faq-item p:last-child {
    border-bottom: none;
}

.faq-item p strong {
    color: var(--primary-color);
    flex-grow: 1; /* Permite que o texto da pergunta ocupe o espaço */
    margin-right: 15px;
}

.faq-item p span {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
    color: var(--dark-text);
    font-weight: 400;
    flex-shrink: 0; /* Evita que a resposta encolha */
    font-size: 1rem;
}

.faq-item p.active {
    background-image: var(--gradient-active-faq); /* Aplicando o gradiente no FAQ ativo */
}

.faq-item p.active span {
    max-height: 200px; /* Altura suficiente para o conteúdo */
    opacity: 1;
    padding-top: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    border-top: 5px solid var(--primary-color);
}

/* Media Queries para Responsividade */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero p {
        font-size: 1.4rem;
    }
    .about h2 {
        font-size: 2.5rem;
    }
    .about p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 20px;
    }
    nav div:first-child strong {
        margin-bottom: 15px;
    }
    nav a {
        margin: 0 10px;
        font-size: 0.95rem;
    }

    .hero {
        padding: 80px 20px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    section {
        padding: 60px 20px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .socials p {
        font-size: 1.2rem;
    }

    .socials a {
        font-size: 2rem;
    }

    .faq-item p {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-item p strong {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    nav a {
        margin: 0 8px;
        font-size: 0.9rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .socials a {
        font-size: 1.8rem;
        margin: 0 10px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .about img {
        width: 180px;
        height: 180px;
    }
    .about h2 {
        font-size: 2rem;
    }
    .about p {
        font-size: 1rem;
    }
}