/* CSS para elementos que aparecem após a rolagem da página */

/* --- Seções --- */
section {
    padding: 70px 0;
    position: relative;
}

.section-title {
    font-family: 'Baloo 2', cursive;
    font-size: 48px;
    color: var(--dark-blue);
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-subtitle p {
    margin-bottom: 1em;
}

/* --- Produtos Section --- */
#produtos {
    background: var(--background-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background-color: var(--background-white);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* ANIMAÇÃO REMOVIDA DA BASE */
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.product-card h3.multiline-title {
    line-height: 1.2;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    color: #6c757d;
    font-size: 15px;
}

.product-card ul li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 8px;
}

.product-card ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-orange);
    position: absolute;
    left: 0;
}

.btn-whatsapp {
    background-color: #25D366;
    margin-top: auto;
    font-size: 16px;
    padding: 14px 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp .fab {
    margin-right: 8px;
    font-size: 1.2em;
}

/* --- Sobre Section --- */
#sobre {
    background: var(--background-soft);
}

#sobre .container {
    max-width: 800px;
    text-align: center;
}

/* --- Galeria de Fotos --- */
#galeria {
    background: var(--background-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: center;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    /* ANIMAÇÃO REMOVIDA DA BASE */
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    /* ANIMAÇÃO REMOVIDA DA BASE */
}

/* --- FAQ Section --- */
#faq {
    background: var(--background-soft);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: var(--background-white);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    color: #6c757d;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* --- Contato Section --- */
#contato {
    background: var(--background-white);
}

#contato .contact-info {
    text-align: center;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

#contato .contact-info .fab,
#contato .contact-info .far {
    vertical-align: -0.1em;
    margin-right: 8px;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 50px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 20px 0;
}

.social-links a {
    color: var(--text-light);
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* ANIMAÇÃO REMOVIDA DA BASE */
}

.social-links svg,
.social-links .fab {
    width: 1em;
    height: 1em;
}

/* --- Botão Flutuante --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    text-decoration: none;
    /* ANIMAÇÃO REMOVIDA DA BASE */
}

.floating-whatsapp .fab {
    font-size: 35px;
}


/* --- Responsividade (partes não críticas) --- */
@media (max-width: 768px) {
    .section-title { font-size: 38px; }
    section { padding: 60px 0; }
    .products-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .social-links { gap: 20px; }
}

/* ==========================================================================
   ANIMAÇÕES - APLICADAS APENAS EM TELAS GRANDES (DESKTOP)
   ========================================================================== */
@media (min-width: 769px) {
    .product-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(44, 62, 80, 0.1);
    }

    .gallery-item {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(44, 62, 80, 0.15);
    }
    .gallery-item img {
         transition: filter 0.3s ease;
    }
    .gallery-item:hover img {
        filter: brightness(1.05);
    }
    
    .social-links a {
        transition: color 0.3s ease, transform 0.3s ease;
    }
    .social-links a:hover {
        color: var(--primary-blue);
        transform: translateY(-3px);
    }

    .floating-whatsapp {
        transition: transform 0.3s ease;
    }
    .floating-whatsapp:hover {
        transform: scale(1.1);
    }
}

/* ==========================================================================
   ACessibilidade - Reduzir animações se o usuário preferir
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
