/* ================= VARIÁVEIS DE IDENTIDADE VISUAL ================= */
:root {
    --cor-fundo: #fdf5e6;
    --cor-bordo: #6b1c1a;
    --cor-bordo-transparente: rgba(107, 28, 26, 0.85);
    --cor-laranja: #f39c12;
    --cor-laranja-hover: #d68910;
    --cor-branco: #ffffff;
    --cor-texto-corpo: #3d1c13;
    --cor-texto-secundario: #555555;
    --sombra: 0 8px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto-corpo);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= HEADER ================= */
header {
    background-color: var(--cor-bordo-transparente);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.rolagem {
    background-color: rgba(107, 28, 26, 0.98); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cor-branco);
    font-weight: 800;
    font-size: 1.2rem;
}

.logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--cor-laranja);
}

.nav-links a {
    color: var(--cor-branco);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--cor-laranja);
}

/* ================= BOTÕES ================= */
.btn-primary {
    background-color: var(--cor-laranja);
    color: var(--cor-branco);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--cor-laranja-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-secondary {
    border: 2px solid var(--cor-branco);
    color: var(--cor-branco);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: var(--cor-branco);
    color: var(--cor-bordo);
}

.btn-small {
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--cor-bordo);
    color: var(--cor-bordo);
}

.btn-outline:hover {
    background-color: var(--cor-bordo);
    color: var(--cor-branco);
}

.center-btn {
    text-align: center;
    margin-top: 50px; 
}

.btn-full {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 15px;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 90vh;
    width: 100%;
    background-image: url('assets/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cor-branco);
    max-width: 850px;
    padding: 20px;
    margin-top: 50px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ================= ESPECIALIDADES ================= */
.especialidades {
    position: relative; 
    padding: 80px 5%;
    max-width: 100%; 
    background: url('assets/img/especialidades-bg.png') no-repeat center center/cover;
}

.especialidades::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(253, 245, 230, 0.85); 
    z-index: 1;
}

.especialidades .section-title, 
.especialidades .cards-grid, 
.especialidades .center-btn {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--cor-bordo);
    margin-bottom: 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-produto {
    position: relative;
    background: var(--cor-branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-produto:hover {
    transform: translateY(-10px);
}

.card-produto img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-info h3 {
    margin-bottom: 10px;
    color: var(--cor-bordo);
}

.card-info p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.preco {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--cor-bordo);
}

/* ================= DIFERENCIAIS (ÍCONES SOBREPOSTOS) ================= */
.diferenciais {
    padding: 80px 5%;
    background-color: rgba(107, 28, 26, 0.03);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.card-diferencial {
    background: var(--cor-branco);
    padding: 50px 30px 30px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--sombra);
    position: relative; 
    margin-top: 40px; 
}

.diferencial-icone {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; 
    filter: drop-shadow(0px 10px 12px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.diferencial-icone img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.emoji-icon {
    font-size: 60px;
    line-height: 1;
}

.diferencial-texto h3 {
    color: var(--cor-bordo);
    margin-bottom: 10px;
}

/* ================= EFEITOS DE HOVER INDIVIDUAIS ================= */
.card-diferencial:hover .diferencial-icone {
    filter: drop-shadow(0px 15px 20px rgba(0, 0, 0, 0.3));
}

.card-diferencial:hover .icone-1 {
    transform: translateX(-120%) translateY(-5px); 
}

.card-diferencial:hover .icone-2 {
    transform: translateX(-50%) translateY(-5px); 
}

.card-diferencial:hover .icone-3 {
    transform: translateX(-50%) translateY(-5px); 
}

/* ================= POSIÇÕES INDIVIDUAIS DOS ÍCONES ================= */
/* Ícone 1 (Cesta) - Com o seu ajuste customizado */
.icone-1 {
    top: -45px;
    left: 0%;
    transform: translateX(-120%);
    height: 270px;
    width: 90px;
    filter: drop-shadow(0px 12px 15px rgba(107, 28, 26, 0.2));
}

/* Ícone 2 (Receita) - Alinhamento central padrão */
.icone-2 {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    height: 90px;
    width: 90px;
    filter: drop-shadow(0px 5px 8px rgba(0, 0, 0, 0.2));
}

/* Ícone 3 (Moto) - Alinhamento central padrão */
.icone-3 {
    top: 15px;
    left: 100%;
    transform: translateX(-50%);
    height: 170px;
    width: 90px;
    filter: drop-shadow(0px 12px 15px rgba(107, 28, 26, 0.2));
}

/* ================= MODAIS (POP-UPS) ================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 2000; 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--cor-branco);
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-box {
    transform: translateY(0); 
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal:hover { color: var(--cor-bordo); }

.modal-titulo { color: var(--cor-bordo); margin-bottom: 15px; font-size: 1.5rem; }
.modal-desc { font-size: 0.95rem; color: var(--cor-texto-secundario); margin-bottom: 20px; }

.nutri-lista { list-style: none; margin-bottom: 20px; }
.nutri-lista li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.nutri-lista li:last-child { border-bottom: none; }

.alerta-alergicos {
    background: #fff3cd; 
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 5px solid #ffeeba;
}

#form-whatsapp input, #form-whatsapp textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#form-whatsapp input:focus, #form-whatsapp textarea:focus {
    outline: none;
    border-color: var(--cor-laranja);
}

/* ================= RESPONSIVO ================= */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--cor-branco);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .menu-toggle { display: block; }
    .hero-buttons { flex-direction: column; }
    .hero { height: 70vh; }
    
    .card-diferencial {
        margin-top: 50px;
    }
}

/* ================= NOVO: BOTÃO FLUTUANTE WHATSAPP PREMIUM ================= */
.whatsapp-float {
    position: fixed;
    width: 65px; /* Ligeiramente maior para melhor leitura da logo */
    height: 65px;
    bottom: 30px;
    right: 30px;
    /* Degradê premium que remete à marca, em vez de verde chapado */
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* Sombra mais profunda e suave para efeito 3D profissional */
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.4);
}

.whatsapp-logo-oficial {
    width: 38px; /* Tamanho ajustado do logo oficial no centro */
    height: 38px;
    fill: #FFF; /* Logo branco preenchido */
}

/* Efeito de HOVER Professional: Apenas elevação e aumento sutil de sombra */
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px); /* Sobe 5px e expande, sem rotacionar */
    background: linear-gradient(135deg, #128C7E, #25D366); /* Inverte o degradê suavemente */
    box-shadow: 0 12px 35px rgba(18, 140, 126, 0.6);
}

/* ================= ANIMAÇÃO DE PULSO PROFESSIONAL ================= */
/* Adiciona uma borda pulsante sutil para atrair a atenção na HostGator */
.premium-float {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 8px 25px rgba(18, 140, 126, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 12px 35px rgba(18, 140, 126, 0.6), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 25px rgba(18, 140, 126, 0.4), 0 0 0 0px rgba(37, 211, 102, 0);
    }
}

/* Ajuste Responsivo Profissional */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-logo-oficial {
        width: 32px;
        height: 32px;
    }
}

/* ================= EFEITO DE VAPOR QUENTE (FUMAÇA) ================= */
.card-produto::before,
.card-produto::after {
    content: '';
    position: absolute;
    top: 140px; /* Nasce bem no meio da foto do pastel */
    left: 40%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.496) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 10%;
    opacity: 0;
    pointer-events: none; 
    z-index: 10;
    animation: subirVapor 3s infinite ease-in-out;
}

.card-produto::after {
    left: 45%;
    width: 35px;
    height: 35px;
    animation-delay: 1.5s; /* Atraso para criar um fluxo contínuo */
    animation-duration: 4s;
}

@keyframes subirVapor {
    0% {
        transform: translate(-50%, 0) scale(1);
        opacity: 0;
        filter: blur(4px);
    }
    30% {
        opacity: 0.6; /* Aparece mais forte */
    }
    100% {
        transform: translate(-50%, -80px) scale(3); /* Sobe 80px e espalha */
        opacity: 0;
        filter: blur(15px);
    }
}