* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #08783d;
    --dark-green: #075d31;
    --lime: #b9d900;
    --background: #ffffff;
    --cream: #f5f5ee;
    --text: #222222;
    --gray: #777777;
    --border: #e5e5e5;
    --brand-gradient: linear-gradient(135deg, var(--green), var(--dark-green));

    /* degradê do fundo: cada seção termina na cor em que a próxima começa */
    --bg-0: var(--dark-green);
    --bg-1: #0a6b39;
    --bg-2: #1a7a45;
    --bg-3: #e2efe3;
    --bg-4: #edf5ed;
    --bg-5: #f4f8f1;
    --bg-6: #fafbf7;

    /* foto de fundo do topo: intensidade (0 a 1) e quanto desfoca */
    --foto-opacidade: .8;
    --foto-blur: 5px;
    /* foto de fundo do fim da página */
    --foto2-opacidade: .3;
    --foto2-blur: 6px;
}

html { scroll-behavior: smooth; }

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
}

button, input { font-family: inherit; }
button { cursor: pointer; }

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-summary {
    position: fixed;
    left: 20px;
    top: 18px;
    z-index: 120;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: rgba(8, 120, 61, 0.96);
    box-shadow: 0 12px 24px rgba(8, 120, 61, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-summary span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: white;
    transition: all 0.25s ease;
}

.menu-summary.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-summary.active span:nth-child(2) {
    opacity: 0;
}

.menu-summary.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.side-menu {
    position: fixed;
    top: 76px;
    left: 20px;
    z-index: 110;
    width: min(240px, calc(100vw - 40px));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(8, 120, 61, 0.12);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 18px 30px rgba(15, 45, 21, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.side-menu a {
    text-decoration: none;
    color: var(--text);
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.side-menu a:hover {
    background: rgba(8, 120, 61, 0.08);
    color: var(--green);
}

.header-content {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--green);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -2px;
    flex-shrink: 0;
}

.logo-image {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--lime);
    background: #ebfff1;
    box-shadow: 0 8px 18px rgba(8, 120, 61, 0.18);
}

.logo span { color: var(--lime); }

.location {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 190px;
}

.location-icon { font-size: 22px; }
.location small {
    display: block;
    color: var(--gray);
    font-size: 11px;
}
.location strong { font-size: 13px; }

.search-box {
    height: 45px;
    flex: 1;
    display: flex;
    background: #f3f3f0;
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 18px;
}

.search-box button {
    width: 55px;
    border: none;
    background: var(--green);
    color: white;
}

.cart-button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: var(--dark-green);
    font-weight: bold;
}

.cart-button strong {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: #1e3000;
    font-size: 12px;
}

.main-button {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 25px;
    border: none;
    text-decoration: none;
    background: var(--lime);
    color: #183000;
    font-weight: 800;
    transition: .2s;
    box-shadow: 0 12px 22px rgba(185, 217, 0, 0.25);
}

.main-button:hover { transform: none; }

.offer-circle {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotate(-7deg);
}

.offer-circle small {
    font-size: 17px;
    letter-spacing: 4px;
}

.offer-circle strong {
    color: var(--lime);
    font-size: 39px;
    margin: 5px 0;
}

.offer-circle span { font-weight: bold; }

.section { padding: 72px 0; }

.about {
    padding: 78px 0 28px;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    align-items: center;
}

.about-text h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.about-text p {
    margin-top: 18px;
    line-height: 1.7;
    color: #3a3a3a;
}

.about-card {
    background: linear-gradient(180deg, #edf7ee, #ffffff);
    border: 1px solid rgba(8, 120, 61, 0.12);
    border-radius: 24px;
    padding: 26px 22px;
    box-shadow: 0 14px 26px rgba(15, 45, 21, 0.06);
}

.about-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--dark-green);
}

.about-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.about-card li {
    position: relative;
    padding-left: 20px;
    color: var(--text);
    font-weight: 600;
}

.about-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lime);
}

.cta-whatsapp {
    padding: 30px 0 10px;
}

.cta-whatsapp-content {
    background: linear-gradient(90deg, #0b7d44, #0f6337);
    border-radius: 26px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: white;
    box-shadow: 0 18px 28px rgba(8, 120, 61, 0.22);
}

.cta-whatsapp h2 {
    margin-top: 8px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -1px;
}

.catalog {
    padding: 70px 0;
    background: var(--cream);
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.section-label {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.section-header h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -1px;
}

.outline-button {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: 20px;
    font-weight: bold;
    transition: .2s ease;
}

.outline-button:hover {
    background: var(--green);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product {
    position: relative;
    padding: 18px 18px 16px;
    background: white;
    border: 1px solid rgba(8, 120, 61, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 22px rgba(15, 45, 21, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 26px rgba(15, 45, 21, 0.12);
}

.product-image {
    height: 175px;
    margin-bottom: 15px;
    border-radius: 16px;
    background: #f4f7f1;
    display: grid;
    place-items: center;
    font-size: 58px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--lime);
    color: #223600;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.product-category {
    color: var(--gray);
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.old-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price {
    color: var(--green);
    font-size: 1.4rem;
    font-weight: 900;
}

.add-button {
    width: 100%;
    padding: 11px 12px;
    margin-top: 14px;
    border: none;
    border-radius: 12px;
    background: var(--green);
    color: white;
    font-weight: 700;
    transition: background .2s ease;
}

.add-button:hover { background: var(--dark-green); }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 25px;
}

.filter {
    padding: 9px 17px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
}

.filter:hover, .filter.active {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.empty-message {
    display: none;
    text-align: center;
    padding: 50px;
    color: var(--gray);
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    padding: 14px 20px;
    background: #222;
    color: white;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: .25s;
    pointer-events: none;
    z-index: 200;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    place-items: center;
    padding: 20px;
    z-index: 150;
}

.modal.open { display: grid; }

.modal-content {
    width: min(470px, 100%);
    max-height: 80vh;
    overflow: auto;
    padding: 30px;
    background: white;
    border-radius: 18px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    background: transparent;
    border: none;
    font-size: 30px;
}

.modal-content h2 { margin: 8px 0 20px; }

.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.cart-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
}

.remove-item {
    border: none;
    background: #f7e5e5;
    color: #9a2b2b;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    padding: 20px 0;
}

.clear-cart {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #d77c7c;
    background: #fff3f3;
    color: #a23030;
    border-radius: 12px;
    padding: 11px 12px;
    font-weight: 700;
}

.checkout {
    width: 100%;
    text-align: center;
}

.location-section {
    padding: 40px 0 80px;
    background: white;
}

.location-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: center;
}

.location-info h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -1.5px;
}

.location-info p {
    margin-top: 18px;
    line-height: 1.7;
    color: #3d3d3d;
}

.location-address {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    background: #f4f8f4;
    border: 1px solid rgba(8, 120, 61, 0.12);
    border-radius: 18px;
}

.location-address strong {
    color: var(--dark-green);
    font-size: 1.1rem;
}

.location-address a {
    margin-top: 6px;
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

.map-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(8, 120, 61, 0.14);
    box-shadow: 0 18px 30px rgba(15, 45, 21, 0.1);
}

.map-card iframe {
    width: 100%;
    height: 360px;
    border: none;
    display: block;
}

/* ===== Complementos: promoções, estoque, carrinho, rodapé ===== */

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(8, 120, 61, .55); outline-offset: 2px; }

#ofertas, #produtos, #sobre, #whatsapp, #endereco { scroll-margin-top: 90px; }

.logo { white-space: nowrap; }
.search-box { min-width: 0; }
.header-content { padding-left: 0; }

.section-sub { margin-top: 8px; color: var(--gray); font-size: 14px; }

/* cartões de produto: mesma altura, botão sempre embaixo */
.product { display: flex; flex-direction: column; }
.product h3 { overflow-wrap: anywhere; }
.product .add-button { margin-top: auto; }
.price small { font-size: .7rem; color: var(--gray); font-weight: 700; }
.promo-until { margin: 6px 0 14px; min-height: 1.2em; font-size: 12px; font-weight: 700; color: var(--green); }
.product-image .no-photo { font-size: 58px; line-height: 1; }
.product-badge.out { background: #e8e8e1; color: #555; }
.product.is-out .product-image img { filter: grayscale(1); opacity: .55; }
.product.is-out .price { color: var(--gray); }
.add-button:disabled { background: #cfcfc8; color: #666; cursor: not-allowed; }

/* carrinho */
.cart-product > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.cart-product small { color: var(--gray); }
.qty { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 18px; line-height: 1; }
.qty button:hover { border-color: var(--green); color: var(--green); }
.qty b { min-width: 18px; text-align: center; }
.cart-note { margin-bottom: 12px; font-size: 12px; line-height: 1.5; color: var(--gray); }
.checkout { display: block; width: 100%; text-align: center; cursor: pointer; }
.checkout:disabled { background: #cfcfc8; color: #666; box-shadow: none; cursor: not-allowed; }
.modal-content { max-height: 92vh; max-height: 92dvh; overscroll-behavior: contain; }
.modal-content [hidden] { display: none !important; }

/* pedido aguardando pagamento (no topo do carrinho) */
.order-waiting { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: #f3f8e0; font-size: 14px; }
.order-waiting div { display: flex; gap: 8px; }
.order-waiting button { border: 1px solid var(--green); background: #fff; color: var(--green); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
.order-waiting button + button { border-color: var(--border); color: var(--gray); }

/* etapa de dados e entrega */
.cart-back { border: none; background: none; color: var(--green); font-weight: 700; font-size: 13px; padding: 0; margin-bottom: 14px; }
.checkout-form h2 { margin-bottom: 8px; }
.checkout-form label { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; }
.checkout-form label small { color: var(--gray); font-weight: 400; }
.checkout-form input:not([type="radio"]) { display: block; width: 100%; margin-top: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; background: #fff; }
.checkout-form input:focus { outline: 2px solid rgba(8, 120, 61, .35); border-color: var(--green); }
.form-row { display: flex; gap: 10px; }
.form-row > label { flex: 1; min-width: 0; }
.form-row .w-cep { flex: 1.4; }
.form-row .w-num { flex: 1; }
.form-row .w-uf { flex: 0 0 64px; }
.delivery-choice { border: none; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.delivery-choice legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.delivery-choice label { position: relative; margin: 0; }
.delivery-choice input { position: absolute; opacity: 0; }
.delivery-choice span { display: block; height: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.delivery-choice strong { display: block; font-size: 14px; }
.delivery-choice small { display: block; margin-top: 3px; color: var(--gray); font-size: 11px; font-weight: 400; line-height: 1.35; }
.delivery-choice input:checked + span { border-color: var(--green); background: #eef6f0; box-shadow: inset 0 0 0 1px var(--green); }
.delivery-choice input:focus-visible + span { outline: 3px solid rgba(8, 120, 61, .45); outline-offset: 2px; }
.freight-status { min-height: 18px; margin-top: 10px; font-size: 13px; color: var(--gray); }
.freight-status.ok { color: var(--green); font-weight: 700; }
.freight-status.erro { color: #a23030; font-weight: 700; }
.pickup-info { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--cream); font-size: 14px; line-height: 1.5; }
.checkout-summary { margin: 18px 0 12px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 14px; }
.checkout-summary div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.checkout-summary .checkout-total { font-size: 19px; padding-top: 8px; }
.form-msg { min-height: 0; margin-bottom: 10px; color: #a23030; font-size: 14px; font-weight: 700; }
.form-msg:empty { display: none; }

/* etapa do PIX */
#etapaPix { text-align: center; }
#etapaPix .checkout-summary { text-align: left; }
.pay-label { margin-top: 10px; color: var(--gray); font-size: 13px; }
.pay-number { margin: 0 0 4px !important; font-size: 34px; letter-spacing: -1px; color: var(--green); }
.pay-qr { display: block; width: 220px; max-width: 100%; height: auto; margin: 6px auto 14px; border: 1px solid var(--border); border-radius: 14px; padding: 8px; background: #fff; }
.copy-label { display: block; text-align: left; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; min-height: 42px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; background: var(--cream); }
.copy-row button { flex-shrink: 0; border: none; border-radius: 10px; padding: 0 16px; background: var(--green); color: #fff; font-weight: 700; }
.pay-steps { margin: 16px 0; padding-left: 20px; text-align: left; font-size: 13px; line-height: 1.55; color: #444; }
.pay-steps li + li { margin-top: 4px; }
.clear-cart.secondary { margin: 10px 0 0; border-color: var(--border); background: #fff; color: var(--text); }

/* "Quem somos" (as classes do HTML são footer-info*, que não tinham estilo) */
.footer-info { padding: 78px 0 28px; background: white; }
.footer-info-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; }
.about-text h2 { margin-top: 12px; }

/* ===== Responsivo ===== */

/* o botão do menu fica fixo no canto esquerdo: reserva espaço para ele no cabeçalho */
@media (max-width: 1340px) {
    .header-content { padding-left: 64px; }
}

@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .location { display: none; }
    .footer-info-grid, .location-grid { grid-template-columns: 1fr; }
    .footer-info { padding-top: 56px; }
    .cta-whatsapp-content { flex-direction: column; align-items: flex-start; }
    .offer-circle { display: none; }
}

/* tablet em pé: 3 por linha; só celular fica com 2 */
@media (max-width: 680px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .container { width: calc(100% - 24px); }
    .header-content { gap: 10px; min-height: 70px; padding-left: 60px; }
    .menu-summary { top: 12px; left: 12px; }
    .side-menu { top: 68px; left: 12px; }
    .logo { font-size: 23px; }
    .cart-button span { display: none; }
    .section, .catalog { padding: 45px 0; }
    .section-header { flex-wrap: wrap; }
    .section-header h2 { font-size: 27px; }
    .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -12px; padding-right: 12px; padding-bottom: 4px; scrollbar-width: none; }
    .filters::-webkit-scrollbar { display: none; }
    .filter { flex: 0 0 auto; }
    .products-grid { gap: 10px; }
    .product { padding: 11px; }
    .product-badge { top: 16px; left: 16px; }
    .product-image { height: 110px; font-size: 45px; }
    .product-image .no-photo { font-size: 44px; }
    .product h3 { font-size: 1rem; margin-bottom: 8px; }
    .price { font-size: 1.2rem; }
    .add-button { padding: 10px 8px; }
    .footer-info { padding: 44px 0 20px; }
    .cta-whatsapp-content { padding: 24px 20px; }
    .cta-whatsapp-content .main-button { width: 100%; text-align: center; }
    .location-section { padding-bottom: 56px; }
    .map-card iframe { height: 260px; }
    .modal { padding: 12px; }
    .modal-content { padding: 22px 18px; }
    .cart-product { align-items: flex-start; flex-direction: column; gap: 8px; }
    .form-row { flex-wrap: wrap; }
    .form-row > label { flex: 1 1 40%; }
    .form-row .w-uf { flex: 0 0 64px; }
    .toast { left: 12px; right: 12px; bottom: 12px; text-align: center; }
}

@media (max-width: 340px) {
    .products-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; }
}

/* ===== Banners do topo ===== */
.banner-area { padding: 22px 0 8px; background: var(--background); }
.banner-wrap { position: relative; }
.banner-viewport { overflow: hidden; border-radius: 22px; touch-action: pan-y; }
.banner-track { display: flex; transition: transform .5s ease; }

.banner {
    --b-bg: #2f9a5f; --b-luz: rgba(255, 255, 255, .13); --b-caixa: #a5161b; --b-btn: #e53935; --b-btn-txt: #fff;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(200px, 1.2fr) minmax(220px, 1fr) minmax(180px, .8fr);
    align-items: center;
    gap: 24px;
    padding: 26px 76px;
    color: #fff;
    background:
        radial-gradient(circle at 8% 18%, var(--b-luz) 0 46px, transparent 47px),
        radial-gradient(circle at 30% 88%, var(--b-luz) 0 60px, transparent 61px),
        radial-gradient(circle at 62% 10%, var(--b-luz) 0 34px, transparent 35px),
        radial-gradient(circle at 78% 82%, var(--b-luz) 0 52px, transparent 53px),
        radial-gradient(circle at 96% 30%, var(--b-luz) 0 40px, transparent 41px),
        var(--b-bg);
    user-select: none;
}
.banner-vermelho { --b-bg: #c8102e; --b-luz: rgba(255, 255, 255, .12); --b-caixa: #1d5e34; --b-btn: #ffd31a; --b-btn-txt: #7a1010; }
.banner-laranja { --b-bg: #ee7a12; --b-luz: rgba(255, 255, 255, .15); --b-caixa: #a5161b; --b-btn: #08783d; --b-btn-txt: #fff; }
.banner-roxo { --b-bg: #6b2fa0; --b-luz: rgba(255, 255, 255, .12); --b-caixa: #c4161c; --b-btn: #ffd31a; --b-btn-txt: #3a1460; }
.banner-azul { --b-bg: #1565c0; --b-luz: rgba(255, 255, 255, .12); --b-caixa: #c4161c; --b-btn: #ffd31a; --b-btn-txt: #0b2f5c; }

.banner-campanha { container-type: inline-size; width: 100%; }
.banner-campanha h2 {
    font-family: "Anton", Impact, "Arial Narrow", sans-serif;
    font-weight: 400;
    font-size: clamp(26px, calc(225cqi / var(--letras)), 78px);
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 3px 0 rgba(0, 0, 0, .12);
}

.banner-foto { position: relative; justify-self: center; width: 100%; max-width: 330px; }
.banner-foto img, .banner-foto .no-photo {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
    transform: rotate(-3deg);
}
.banner-foto .no-photo { font-size: 90px; }
.banner-selo {
    position: absolute;
    top: -14px;
    right: -10px;
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffd31a;
    color: #c4161c;
    font-family: "Anton", Impact, sans-serif;
    font-size: 22px;
    transform: rotate(10deg);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}

.banner-preco { display: flex; flex-direction: column; align-items: stretch; width: fit-content; max-width: 100%; }
.banner-titulo, .banner-de {
    background: var(--b-caixa);
    padding: 12px 16px;
    font-family: "Anton", Impact, sans-serif;
    text-transform: uppercase;
}
.banner-titulo { font-size: 24px; line-height: 1.15; border-radius: 6px 6px 0 0; letter-spacing: .5px; }
.banner-titulo:last-child { border-radius: 6px; }
.banner-de { padding-top: 0; border-radius: 0 0 6px 6px; font-size: 18px; align-self: stretch; }
.banner-de s { font-size: 34px; margin-left: 6px; text-decoration-thickness: 2px; }
.banner-por {
    align-self: flex-start;
    margin: -6px 0 0 22px;
    padding: 8px 16px;
    background: #ffd31a;
    color: #c4161c;
    border-radius: 6px;
    font-family: "Anton", Impact, sans-serif;
    font-size: 40px;
    line-height: 1.1;
    white-space: nowrap;
    transform: rotate(-2deg);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}
.banner-por span { font-size: 18px; color: #e3401a; margin-right: 4px; }
.banner-por small { font-size: 16px; }

.banner-cta { text-align: center; }
.banner-botao {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: var(--b-btn);
    color: var(--b-btn-txt);
    font-family: "Anton", Impact, sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .5px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, .18);
    transition: transform .15s;
}
.banner-botao:hover { transform: translateY(-2px); }
.banner-validade { margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.banner-texto { margin-top: 4px; font-size: 13px; line-height: 1.35; opacity: .95; }

.banner-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #333;
    font-size: 20px;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.banner-nav:hover { background: #fff; }
.banner-nav.prev { left: 16px; }
.banner-nav.next { right: 16px; }
.banner-area .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: #cfd8cf; }
.carousel-dot.active { width: 26px; border-radius: 5px; background: var(--green); }

@media (max-width: 1100px) {
    .banner { grid-template-columns: 1fr 1.1fr 1fr; padding: 26px 64px; }
    .banner-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; }
    .banner-validade { margin-top: 0; }
}

@media (max-width: 760px) {
    .banner-area { padding-top: 14px; }
    .banner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
        padding: 22px 20px 26px;
        text-align: center;
    }
    .banner-campanha h2 { font-size: clamp(26px, calc(225cqi / var(--letras)), 46px); }
    .banner-foto { max-width: 250px; }
    .banner-titulo { font-size: 20px; }
    .banner-de s { font-size: 26px; }
    .banner-por { align-self: center; margin: -6px 0 0; font-size: 34px; }
    .banner-cta { grid-column: auto; flex-direction: column; gap: 0; text-align: center; }
    .banner-validade { margin-top: 12px; }
    .banner-botao { font-size: 24px; }
    .banner-nav { top: 140px; width: 36px; height: 36px; font-size: 16px; }
    .banner-nav.prev { left: 10px; }
    .banner-nav.next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .banner-track { transition: none; }
}

/* ===== Instagram ===== */
.instagram-section {
    padding: 24px 0 80px;
    background: linear-gradient(180deg, #edf6ee 0%, #dfeee0 100%);
}

.instagram-profile-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 28px 26px;
    border: 1px solid rgba(22, 132, 71, 0.14);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(237,246,238,0.96));
    box-shadow: 0 18px 30px rgba(15, 45, 21, 0.08);
}

.instagram-avatar {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(22, 132, 71, 0.18);
    box-shadow: 0 14px 20px rgba(22, 132, 71, 0.12);
    background: #edf5ee;
}

.instagram-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-profile-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instagram-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.instagram-name-row h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    letter-spacing: -0.06em;
    color: var(--text);
    font-weight: 800;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--brand-gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    box-shadow: 0 10px 18px rgba(22, 132, 71, 0.18);
}

.instagram-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    color: var(--text);
    font-size: 0.96rem;
}

.instagram-stats li {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.instagram-stats strong {
    color: var(--dark-green);
    font-weight: 800;
}

.instagram-bio {
    margin: 0;
    color: #3a4a3f;
    line-height: 1.6;
    font-size: 0.96rem;
}

.instagram-posts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.instagram-post-link {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(22, 132, 71, 0.14);
    box-shadow: 0 12px 20px rgba(16, 55, 27, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.instagram-post-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 24px rgba(16, 55, 27, 0.1);
}

.instagram-post-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-video-link {
    position: relative;
    overflow: hidden;
    background: #0f1b12;
}

.instagram-video-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-play-badge {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.instagram-cta {
    flex-shrink: 0;
    margin-left: 0;
}

@media (max-width: 900px) {
    .instagram-profile-card {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .instagram-profile-card {
        grid-template-columns: 1fr;
    }
    .instagram-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .instagram-name-row h2 { font-size: 1.3rem; }
    .instagram-button { padding: 7px 12px; }
    .instagram-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Cards de categoria ===== */
.destaques { padding: 30px 0 6px; }
.destaques-titulo { font-size: 24px; margin-bottom: 18px; }
.destaques-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
/* cor padrão com especificidade zero (:where), para a cor escolhida no admin (.banner-azul etc.) prevalecer */
:where(.destaque) { --b-bg: #2f9a5f; --b-luz: rgba(255, 255, 255, .13); }
.destaque {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 7 / 10;
    padding: 18px 12px 0;
    border: none;
    border-radius: 26px;
    overflow: hidden;
    color: #f6efd2;
    text-align: center;
    background:
        radial-gradient(circle at 14% 22%, var(--b-luz) 0 22px, transparent 23px),
        radial-gradient(circle at 86% 40%, var(--b-luz) 0 18px, transparent 19px),
        radial-gradient(circle at 20% 70%, var(--b-luz) 0 26px, transparent 27px),
        var(--b-bg);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .1);
    transition: transform .2s, box-shadow .2s;
}
.destaque:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(0, 0, 0, .16); }
.destaque:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.destaque-titulo {
    padding-bottom: 12px;
    font-family: "Anton", Impact, "Arial Narrow", sans-serif;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q6 0 12 4 T24 4' fill='none' stroke='%23f6efd2' stroke-width='2.2'/%3E%3C/svg%3E") center bottom / 24px 8px repeat-x;
}
.destaque-ofertas { margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: #ffd31a; color: #8a1010; font-size: 12px; font-weight: 800; }
.destaque-foto { position: relative; flex: 1; align-self: stretch; margin: 14px -12px 0; min-height: 0; overflow: hidden; }
.destaque-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.destaque-foto.recorte img { inset: 0 6px; width: calc(100% - 12px); object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25)); }
.destaque:hover .destaque-foto img { transform: scale(1.05); }
.destaque-foto .no-photo { position: absolute; inset: 0; display: grid; place-items: center; font-size: 80px; }
.filtro-destaque { background: var(--green); color: #fff; }

@media (max-width: 600px) {
    .destaques { padding-top: 22px; }
    .destaques-titulo { font-size: 20px; margin-bottom: 14px; }
    .destaques-lista {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin-right: -12px;
        padding: 0 12px 8px 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .destaques-lista::-webkit-scrollbar { display: none; }
    .destaque { flex: 0 0 150px; scroll-snap-align: start; border-radius: 20px; padding-top: 14px; }
    .destaque-titulo { font-size: 22px; }
}

/* ===== Fundo camaleão: verde escuro no topo, clareando conforme desce ===== */
body { background: var(--bg-6); position: relative; overflow-x: clip; }

/* foto da horta desfocada, misturada ao verde do topo e sumindo conforme a página clareia.
   Fica por cima do fundo das seções e por baixo do conteúdo (.container é posicionado). */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1600px;
    background: url("foto-de-fundo.jpg") center 35% / cover no-repeat;
    filter: blur(var(--foto-blur)) saturate(1.1);
    opacity: var(--foto-opacidade);
    mix-blend-mode: soft-light;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
    pointer-events: none;
}

/* segunda foto (horta na sacada): na parte clara do fim da página, entrando aos poucos de baixo para cima */
body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1800px;
    background: url("foto-de-fundo2.avif") center 60% / cover no-repeat;
    /* vira monocromática verde (tira o roxo do vaso e o marrom da terra) antes de mesclar */
    filter: blur(var(--foto2-blur)) grayscale(1) sepia(1) hue-rotate(55deg) saturate(2.4);
    opacity: var(--foto2-opacidade);
    mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(0deg, #000 0, #000 25%, transparent 85%);
    mask-image: linear-gradient(0deg, #000 0, #000 25%, transparent 85%);
    pointer-events: none;
}
/* textos que ficam sobre a segunda foto: um pouco mais escuros para não perder contraste */
.location-info p, .instagram-bio { color: #262626; }
.location-section .section-label { color: var(--dark-green); }
/* conteúdo acima das fotos */
.container { position: relative; z-index: 1; }

.header {
    background: rgba(7, 93, 49, .92);
    border-bottom-color: rgba(255, 255, 255, .08);
    box-shadow: 0 8px 24px rgba(3, 40, 20, .18);
    backdrop-filter: blur(10px);
}
.logo { color: #fff; }
.cart-button { color: #fff; }
.menu-summary { border: 2px solid rgba(255, 255, 255, .35); }

/* os brilhos (radial) ficam inteiros dentro da própria seção, para não aparecer corte na emenda */
.banner-area {
    background:
        radial-gradient(620px 360px at 88% -40px, rgba(185, 217, 0, .22), transparent 70%),
        radial-gradient(520px 320px at 6% 60px, rgba(255, 255, 255, .1), transparent 70%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1));
}
.destaques { background: var(--bg-1); padding-bottom: 0; }
#ofertas {
    padding-top: 52px;
    background:
        radial-gradient(760px 420px at 100% 340px, rgba(185, 217, 0, .09), transparent 70%),
        radial-gradient(640px 400px at 0 300px, rgba(255, 255, 255, .06), transparent 70%),
        linear-gradient(180deg, var(--bg-1), var(--bg-2));
}
/* o topo do catálogo (título e filtros) fica no verde; o clareamento acontece atrás dos cards */
#ofertas { padding-bottom: 40px; }
.catalog { padding-top: 40px; }
.catalog { background: linear-gradient(180deg, var(--bg-2) 0, var(--bg-2) 220px, var(--bg-3) 100%); }
.catalog { background: linear-gradient(in oklab 180deg, var(--bg-2) 0, var(--bg-2) 220px, var(--bg-3) 100%); }
/* sem ofertas na semana a seção some: o catálogo assume a transição bg-1 → bg-2 para não ficar degrau */
#ofertas[hidden] + .catalog { background: linear-gradient(180deg, var(--bg-1) 0, var(--bg-2) 220px, var(--bg-3) 100%); }
#ofertas[hidden] + .catalog { background: linear-gradient(in oklab 180deg, var(--bg-1) 0, var(--bg-2) 220px, var(--bg-3) 100%); }
.footer-info { padding-top: 56px; background: linear-gradient(180deg, var(--bg-3), var(--bg-4)); }
.instagram-section { background: linear-gradient(180deg, var(--bg-4), var(--bg-5)); }
.cta-whatsapp { background: var(--bg-5); }
.location-section { background: linear-gradient(180deg, var(--bg-5), var(--bg-6)); }

/* textos que ficam sobre o verde escuro */
.carousel-dot { background: rgba(255, 255, 255, .35); }
.carousel-dot.active { background: var(--lime); }
.destaques-titulo { color: #fff; }
#ofertas .section-label, .catalog .section-label, .cta-whatsapp .section-label { color: var(--lime); }
#ofertas .section-header h2, .catalog .section-header h2 { color: #fff; }
#ofertas .section-sub { color: rgba(255, 255, 255, .78); }
#ofertas .outline-button { border-color: rgba(255, 255, 255, .7); color: #fff; }
#ofertas .outline-button:hover { background: #fff; color: var(--green); border-color: #fff; }
.filter { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; font-weight: 700; transition: background .2s, border-color .2s; }
.filter:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .4); }
.filter.active { background: var(--lime); color: #1e3000; border-color: var(--lime); }
.empty-message { background: #fff; border-radius: 20px; color: var(--gray); }

/* cards: sombra com tom de verde para "descolar" do fundo escuro, e anel lima no hover */
.product { border-color: transparent; box-shadow: 0 14px 30px rgba(3, 40, 20, .18); }
.product:hover { box-shadow: 0 0 0 2px var(--lime), 0 20px 36px rgba(3, 40, 20, .22); }
.destaque { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 28px rgba(3, 30, 15, .3); }
.destaque:hover { box-shadow: 0 0 0 2px var(--lime), 0 18px 32px rgba(3, 30, 15, .35); }

/* detalhe lima antes do rótulo das seções */
.section-label { display: inline-flex; align-items: center; gap: 8px; }
.section-label::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }

.outline-button { text-decoration: none; }

/* ===== Logo no cabeçalho ===== */
.header-content { min-height: 88px; }
.logo .logo-image { width: 72px; height: 72px; border-width: 2px; box-shadow: 0 6px 14px rgba(3, 30, 15, .3); }

/* ===== Instagram: Seguir e Ver perfil juntos, ao lado do @ ===== */
.instagram-profile-card { grid-template-columns: auto minmax(0, 1fr); }
.instagram-name-row { justify-content: flex-start; gap: 12px 18px; }
.instagram-name-row h2 { overflow-wrap: anywhere; }
.instagram-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.instagram-actions a { padding: 8px 18px; font-size: .86rem; line-height: 1.2; }
.instagram-section { padding-bottom: 48px; }

/* ===== Responsivo (ajustes do logo, Instagram e espaçamentos) ===== */
@media (max-width: 900px) {
    .instagram-avatar { width: 112px; height: 112px; }
}

@media (max-width: 600px) {
    .header-content { min-height: 70px; }
    .logo .logo-image { width: 54px; height: 54px; }
    .search-box { height: 40px; }
    /* 16px evita o zoom automático do iPhone ao tocar no campo */
    .search-box input { padding: 0 12px; font-size: 16px; }
    .checkout-form input:not([type="radio"]), .copy-row input { font-size: 16px; }
    .search-box button { width: 44px; }

    .about-text h2 { font-size: 1.75rem; letter-spacing: -1px; }
    .about-card h3 { font-size: 1.25rem; }

    /* Instagram: logo pequeno ao lado do @, botões e bio embaixo ocupando a largura toda */
    .instagram-section { padding: 16px 0 32px; }
    .instagram-profile-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 18px 16px; border-radius: 20px; }
    .instagram-avatar { width: 72px; height: 72px; border-width: 3px; }
    .instagram-profile-copy { display: contents; }
    .instagram-name-row { flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
    .instagram-name-row h2 { font-size: 1.15rem; }
    .instagram-stats, .instagram-bio { grid-column: 1 / -1; }
    .instagram-stats { gap: 14px; margin: 0; font-size: .88rem; }
    .instagram-bio { font-size: .9rem; }
    .instagram-posts { gap: 10px; margin-top: 12px; }
    .instagram-post-link { border-radius: 14px; }

    .cta-whatsapp h2 { font-size: 1.5rem; }
    .location-info h2 { font-size: 1.75rem; letter-spacing: -1px; }
}

@media (max-width: 360px) {
    .header-content { gap: 8px; }
    .cart-button { gap: 4px; }
}
