/* style.css */
:root {
    --primary: #4a2b29;   /* Marrom escuro da logo */
    --secondary: #d19a9a; /* Rosa suave */
    --accent: #e8d0b3;    /* Dourado/Areia suave */
    --bg: #fdfbfb;        /* Fundo bem clarinho */
    --text: #4a2b29;      /* Texto na cor marrom */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
}

/* --- Cabeçalho --- */
header {
    background-image: url('img/back.png'); 
    background-size: cover; 
    background-position: top center; 
    color: #4a2b29; 
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    min-height: 280px; 
    padding: 2rem 1rem 1.5rem 1rem; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
}

.logo-container {
    width: 100%;
    margin-top: auto; 
}

header h1 {
    font-size: 1.4rem;
    margin: 0.3rem 0;
}

header p {
    font-size: 0.85rem;
    margin: 0;
}

.social-links {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.social-links a {
    background-color: white; 
    color: var(--text);
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    padding: 0.5rem 1rem;
    border-radius: 20px; 
    transition: transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-links a i {
    font-size: 1.2rem;
    color: #E1306C; 
}

.social-links a:hover {
    transform: scale(1.05);
    color: var(--secondary);
}

/* --- Filtros --- */
.filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: white;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.05);
}

/* --- Vitrine de Doces --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem 2rem; 
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background-color: white;
    padding: 0.8rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--accent);
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px); 
}

.img-doce {
    width: 100%;
    height: 120px; 
    object-fit: cover; 
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.card h3 {
    font-size: 0.95rem;
    margin: 0.4rem 0;
    color: var(--primary);
}

.card p {
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.3;
    color: #666;
}

.item {
    transition: opacity 0.4s ease;
}

.item.hide {
    display: none;
}

/* --- QUEM SOU EU --- */
.about {
    padding: 2rem 1rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-container {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-left: 5px solid var(--secondary); 
}

.about-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    flex-shrink: 0;
    background-color: var(--bg);
}

.img-aline {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Mantém a cabeça da foto sempre aparecendo */
}

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

.about-text h2 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: #555;
}

/* --- DEPOIMENTOS --- */
.testimonials {
    padding: 1rem 1rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.testimonial-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary); 
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #f39c12; 
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    color: var(--primary);
    margin: 0;
    font-size: 0.95rem;
    font-weight: bold;
}

/* --- Rodapé (Footer) --- */
footer {
    background-color: var(--primary); 
    color: white;
    text-align: center;
    padding: 3rem 1rem 1.5rem;
    border-top: 6px solid var(--accent); 
}

.footer-content h2 {
    color: var(--accent); 
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact {
    margin-bottom: 2.5rem;
}

.footer-whatsapp {
    background-color: #25d366;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp:hover {
    transform: scale(1.05);
    background-color: #1ebe57;
}

.footer-whatsapp i {
    font-size: 1.5rem;
}

.footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.social-icons-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.social-icons-footer a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover {
    color: var(--secondary); 
}

.social-icons-footer a i {
    font-size: 1.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
    padding-bottom: 5rem; 
}


/* --- Botão Flutuante do WhatsApp Chamativo --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background-color: #25d366; 
    color: #FFF;
    border-radius: 50px;
    padding: 0.8rem 1.5rem; 
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite; 
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    transform: translateY(-5px); 
    background-color: #1ebe57; 
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 480px) {
    .whatsapp-float {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* --- Ajustes Responsivos (Para Tablets e PC) --- */
@media (min-width: 768px) {
    header {
        min-height: 450px; 
        padding: 3rem 1rem 2.5rem 1rem;
    }

    header h1 { font-size: 2rem; }
    header p { font-size: 1rem; }
    
    .social-links {
        flex-direction: row; 
        justify-content: center;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
        padding: 0 2rem 2rem;
    }
    
    .card { padding: 1.5rem; }
    .img-doce { height: 160px; }
    
    .about-container {
        flex-direction: row;
        text-align: left;
        padding: 3rem;
        gap: 3rem;
    }
    .about-text {
        text-align: left;
    }
    .about-img-wrapper {
        width: 220px;
        height: 220px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .testimonials {
        padding: 2rem 2rem 6rem;
    }

    .social-icons-footer {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
    }
}