/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-dark: #2d5a27;
    --green-mid: #4a8c3f;
    --green-light: #7cc47a;
    --green-pale: #e8f5e3;
    --green-bg: #f4faf2;
    --accent: #f5a623;
    --accent-dark: #e09010;
    --text-dark: #1a2e18;
    --text-mid: #3d5c38;
    --text-light: #6b8c66;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(45, 90, 39, 0.12);
    --shadow-hover: 0 8px 32px rgba(45, 90, 39, 0.22);
    --radius: 16px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--green-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===========================
   HEADER
=========================== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--green-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--green-mid);
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.whatsapp-btn:hover {
    background: #1da851;
}

/* ===========================
   HERO
=========================== */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1466781783364-36c955e42a7f?w=1200&q=60') center/cover no-repeat;
    opacity: 0.15;
}

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

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    opacity: 0.9;
    font-weight: 500;
}

/* ===========================
   FILTROS
=========================== */
.filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 24px 16px 8px;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--green-light);
    color: var(--green-mid);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green-mid);
    border-color: var(--green-mid);
    color: var(--white);
}

/* ===========================
   LEGENDA
=========================== */
.price-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 16px 20px;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.price-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-legend i {
    color: var(--green-mid);
}

/* ===========================
   CATALOG GRID
=========================== */
.catalog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ===========================
   CARD
=========================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card.hidden {
    display: none;
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.novidade {
    background: var(--green-mid);
}

.card-badge.servico {
    background: #7c3aed;
}

.card-badge.destaque {
    background: var(--accent);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.card-img-wrap a.card-img-link,
.card-img-wrap a.glightbox {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: zoom-in;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.card:hover .card-img-wrap img {
    transform: scale(1.08);
}

/* Overlay ao passar o mouse */
.img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 60, 25, 0.42);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover .img-overlay {
    opacity: 1;
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

/* Linha título + código */
.card-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--green-dark);
    flex: 1;
}

.card-codigo {
    background: var(--green-pale);
    color: var(--green-mid);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    white-space: nowrap;
    margin-top: 4px;
    letter-spacing: 0.5px;
    border: 1px solid var(--green-light);
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===========================
   PREÇOS NO CARD
=========================== */
.card-prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-mid);
    background: var(--green-pale);
    padding: 7px 12px;
    border-radius: var(--radius-sm);
}

.price-item i {
    color: var(--green-mid);
    width: 16px;
    flex-shrink: 0;
}

.price-item span {
    flex: 1;
}

.price-item small {
    font-size: 0.74rem;
    color: var(--text-light);
    display: block;
}

.price-item strong {
    color: var(--green-dark);
    font-weight: 700;
    white-space: nowrap;
}

.price-item.preparo {
    background: #f0fbed;
    border: 1px dashed var(--green-light);
}

.price-item.preparo i {
    color: var(--green-dark);
}

.price-item.preparo strong {
    color: var(--green-mid);
}

/* TOTAL */
.card-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--green-dark);
    color: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-top: 2px;
}

.card-total span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.card-total strong {
    font-size: 1.1rem;
    font-weight: 700;
}

/* BOTÃO DO CARD */
.card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    transition: background 0.2s, transform 0.15s;
    margin-top: auto;
}

.card-btn:hover {
    background: #1da851;
    transform: scale(1.02);
}

/* ===========================
   SERVIÇO CARD (especial)
=========================== */
.servico-card {
    border: 2px solid #ede9fe;
}

.service-includes {
    background: #faf5ff;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.service-includes h3 {
    font-size: 0.85rem;
    color: #7c3aed;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-includes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-includes li {
    font-size: 0.83rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 7px;
}

.service-includes li i {
    color: #7c3aed;
    font-size: 0.7rem;
}

/* ===========================
   SEÇÃO INFO
=========================== */
.info-section {
    background: var(--green-dark);
    color: var(--white);
    padding: 48px 20px;
}

.info-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    color: var(--green-light);
    margin-bottom: 10px;
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.info-item p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 28px 20px;
}

.footer .logo {
    justify-content: center;
    color: var(--white);
    margin-bottom: 6px;
}

.footer p {
    font-size: 0.88rem;
    opacity: 0.7;
    margin-bottom: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-links a {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--green-mid);
}

/* ===========================
   FLOATING WHATSAPP
=========================== */
.float-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: var(--white);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    z-index: 999;
    animation: pulse 2s infinite;
    transition: transform 0.2s;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.85); }
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 480px) {
    .catalog {
        grid-template-columns: 1fr;
        padding: 0 12px 32px;
    }

    .hero {
        padding: 40px 16px 36px;
    }

    .card-prices {
        gap: 5px;
    }

    .price-item {
        font-size: 0.82rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .catalog {
        grid-template-columns: repeat(2, 1fr);
    }
}
