/* ========================================
   FACTORY SORVETERIA - ESTILO PRINCIPAL
   Site: factoryalimentos.com.br
   Cores: Rosa Pastel, Creme, Marrom Claro
   ======================================== */

/* ===== VARIÁVEIS DE CORES (Fácil de Editar!) ===== */
:root {
    /* Cores Principais - EDITE AQUI PARA MUDAR AS CORES DO SITE */
    --rosa-pastel: #fddde6;
    --rosa-escuro: #f5a6c4;
    --creme: #fff8f0;
    --marrom-claro: #b48a78;
    --verde-menta: #a8d5ba;
    --branco: #ffffff;
    --cinza-claro: #f5f5f5;
    --cinza-texto: #666666;
    --preto: #333333;
    
    /* Fontes */
    --fonte-principal: 'Poppins', sans-serif;
    --fonte-titulo: 'Playfair Display', serif;
    
    /* Espaçamentos */
    --espacamento: 20px;
    --border-radius: 15px;
}

/* ===== RESET E CONFIGURAÇÕES BÁSICAS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-principal);
    color: var(--preto);
    background-color: var(--creme);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
    color: var(--marrom-claro);
}

h2 {
    font-size: 2.5rem;
    color: var(--marrom-claro);
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
    color: var(--rosa-escuro);
}

p {
    font-size: 1.1rem;
    color: var(--cinza-texto);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--espacamento);
}

.section {
    padding: 80px 0;
}

/* ===== HEADER / CABEÇALHO ===== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px var(--espacamento);
}

.logo img {
    height: 60px;
    width: auto;
}

/* Menu de Navegação */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--preto);
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--rosa-pastel);
    color: var(--rosa-escuro);
}

/* Botão WhatsApp no Header */
.btn-whatsapp-header {
    background-color: #25D366;
    color: var(--branco);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-header:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Menu Mobile (Hambúrguer) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--preto);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== HERO / BANNER PRINCIPAL ===== */
.hero {
    background: linear-gradient(135deg, #FFE5EC 0%, #FFF0F5 50%, #FFF8F0 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(245, 166, 196, 0.15), transparent 50%),
                radial-gradient(circle at bottom left, rgba(180, 138, 120, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--marrom-claro);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    color: var(--cinza-texto);
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

/* ===== BOTÕES ===== */
.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--rosa-escuro);
    color: var(--branco);
}

.btn-primary:hover {
    background-color: var(--marrom-claro);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 166, 196, 0.4);
}

.btn-secondary {
    background-color: var(--branco);
    color: var(--rosa-escuro);
    border: 2px solid var(--rosa-escuro);
}

.btn-secondary:hover {
    background-color: var(--rosa-escuro);
    color: var(--branco);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--branco);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* ===== SEÇÃO SOBRE NÓS ===== */
.sobre {
    background-color: var(--branco);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-imagem img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sobre-texto h2 {
    text-align: left;
}

.sobre-texto p {
    margin-bottom: 20px;
}

.diferenciais {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.diferencial-item {
    background-color: var(--rosa-pastel);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.diferencial-item i {
    font-size: 2rem;
    color: var(--rosa-escuro);
}

/* ===== SEÇÃO DE PRODUTOS / CARDÁPIO ===== */
.produtos {
    background-color: var(--creme);
}

.categorias-filtro {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.categoria-btn {
    padding: 10px 25px;
    background-color: var(--branco);
    border: 2px solid var(--rosa-pastel);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.categoria-btn:hover,
.categoria-btn.active {
    background-color: var(--rosa-escuro);
    color: var(--branco);
    border-color: var(--rosa-escuro);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.produto-card {
    background-color: var(--branco);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.produto-imagem {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.produto-info {
    padding: 20px;
}

.produto-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.produto-info p {
    font-size: 0.95rem;
    color: var(--cinza-texto);
    margin-bottom: 15px;
}

.produto-preco {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rosa-escuro);
    margin-bottom: 15px;
}

/* ===== GALERIA ===== */
.galeria {
    background-color: var(--branco);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--branco);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
    background-color: var(--rosa-pastel);
}

.depoimentos-slider {
    max-width: 800px;
    margin: 0 auto;
}

.depoimento-card {
    background-color: var(--branco);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.depoimento-texto {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--cinza-texto);
    margin-bottom: 20px;
}

.depoimento-autor {
    font-weight: 600;
    color: var(--rosa-escuro);
}

.estrelas {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===== CONTATO ===== */
.contato {
    background-color: var(--branco);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--rosa-escuro);
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.mapa {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mapa iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== FOOTER / RODAPÉ ===== */
footer {
    background: linear-gradient(135deg, #8B5A3C 0%, #6B3B2F 100%);
    color: var(--branco);
    padding: 60px 0 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--branco);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--branco);
    transform: translateX(5px);
}

.redes-sociais {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.redes-sociais a {
    width: 40px;
    height: 40px;
    background-color: var(--rosa-pastel);
    color: var(--marrom-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.redes-sociais a:hover {
    background-color: var(--branco);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--creme);
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-float a {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #20B358 100%);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    animation: whatsappPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-float a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsappRipple 2s ease-out infinite;
}

.whatsapp-float a:hover {
    background: linear-gradient(135deg, #20B358 0%, #128C7E 100%);
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes whatsappRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ===== RESPONSIVO - TABLET ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    nav {
        display: none;
        width: 100%;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .sobre-content,
    .contato-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .diferenciais {
        grid-template-columns: 1fr;
    }
}

/* ===== RESPONSIVO - MOBILE ===== */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ===== SEÇÃO DE DOWNLOADS ===== */
.downloads {
    background-color: var(--creme);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.download-card {
    background-color: var(--branco);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.download-imagem {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.download-info {
    padding: 25px;
}

.download-info h3 {
    margin-bottom: 10px;
}

.download-info p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-download {
    background-color: var(--verde-menta);
    color: var(--branco);
}

.btn-download:hover {
    background-color: #8bc4a0;
}

/* ===== UTILITÁRIOS ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Botão Instagram Header */
.btn-instagram-header {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.btn-instagram-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.5);
}

.btn-instagram-header i {
    font-size: 1.2rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .btn-instagram-header {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}



/* ===== AVISO TEMPORÁRIO CARDÁPIO ===== */
.aviso-atualizacao {
    background: linear-gradient(135deg, #FFF4E6, #FFE5E5);
    border-left: 4px solid #F47A9B;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.aviso-atualizacao p {
    margin: 0;
    color: #6B3B2F;
    font-size: 1rem;
    line-height: 1.6;
}

.aviso-atualizacao i {
    color: #F47A9B;
    margin-right: 8px;
    font-size: 1.2rem;
}

.aviso-atualizacao strong {
    color: #6B3B2F;
}

.aviso-atualizacao a {
    color: #F47A9B;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.aviso-atualizacao a:hover {
    color: #6B3B2F;
}

/* Responsivo */
@media (max-width: 768px) {
    .aviso-atualizacao {
        margin: 15px 10px;
        padding: 12px 15px;
    }
    
    .aviso-atualizacao p {
        font-size: 0.9rem;
    }
}


/* ===== FILTROS DE DOWNLOADS ===== */

.filtros-downloads {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.filtro-download {
    background: white;
    border: 2px solid #F47A9B;
    color: #6B3B2F;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filtro-download:hover {
    background: #FFF4E6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 122, 155, 0.2);
}

.filtro-download.active {
    background: linear-gradient(135deg, #F47A9B, #FF6B9D);
    color: white;
    border-color: #F47A9B;
    box-shadow: 0 4px 15px rgba(244, 122, 155, 0.4);
}

.filtro-download i {
    font-size: 1.1rem;
}

/* Downloads Grid Atualizado */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.download-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.download-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.download-card-content {
    padding: 20px;
}

.download-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6B3B2F;
    margin-bottom: 10px;
}

.download-card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.download-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(131, 58, 180, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(131, 58, 180, 0.5);
}

.btn-download {
    background: #25D366;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.btn-download:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

/* Responsive Downloads */
@media (max-width: 768px) {
    .filtros-downloads {
        gap: 8px;
        margin: 20px auto;
    }
    
    .filtro-download {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .download-card-title {
        font-size: 1.1rem;
    }
    
    .download-card-description {
        font-size: 0.9rem;
    }
}

/* ===== FIM FILTROS DE DOWNLOADS ===== */
