:root {
    --primary: #b71c1c;
    --secondary: #ff9800;
    --accent: #FFD700;
    --success: #43A047;
    --danger: #E53935;
    --warning: #FFB300;
    --dark: #111111;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --gray-dark: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, .12);
    --radius: 16px;
    --transition: .3s ease;
}

html { scrollbar-gutter: stable; }

/* ===== RESET ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    background: var(--gray);
    color: var(--dark);
    overflow-x: hidden;
}
img {
    display: block;
    max-width: 100%;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}
input,
select {
    font-family: 'Poppins', sans-serif;
}

/* ====== CONTAINER======= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ====== HEADER ========= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .05);
}
.header .container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    height: 60px;
    width: auto;
}
.menu {
    display: flex;
    gap: 25px;
}
.menu a {
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}
.menu a:hover {
    color: var(--primary);
}

/* ====== BOTÃO CARRINHO ======== */
#cartButton {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 22px;
}
#cartCounter {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== HERO ======= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    margin-top: 50px;
}
.tag {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .15);
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
#cartOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}
#cartOverlay.active{
    opacity:1;
    visibility:visible;
}

/* ===== BOTÕES ======== */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
}
.btn-primary:hover {
    transform: translateY(-3px);
}
.btn-secondary {
    background: #fff;
    color: var(--dark);
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 700;
}

/* ==== BENEFÍCIOS ========= */
.benefits {
    padding: 80px 0;
}
.benefits .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.benefit {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}
.benefit .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* =====  TITULOS ======== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.section-title p {
    color: var(--gray-dark);
}

/* ====  DISPONIBILIDADE ====== */
.availability {
    padding: 80px 0;
}
.availability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.availability-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.availability-card span {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}
.availability-card small {
    color: var(--gray-dark);
}

/* =====  PRODUTOS ======== */
.products {
    padding: 100px 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
}
.product-content {
    padding: 15px;
	font-size: 0.85rem;
}
.product-content h3 {
    margin-bottom: 10px;
	height: 55px;
	font-size: 1rem;
	font-weight: 500;
}
.price {
    display: block;
    margin: 15px 0;
    font-size: clamp(0.6rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--primary);
	letter-spacing:-0.1rem;
}

/* =====  QUANTIDADE ======== */
.quantity-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.quantity-box button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition);
}
.quantity-box button:hover {
    transform: scale(1.08);
}
.quantity-box span {
    min-width: 30px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ======  OFERTA DA SEMANA ======= */
.weekly-offer {
    padding: 100px 0;
}
.offer-box {
    background: linear-gradient(135deg, var(--primary), #8e1414);
    color: #fff;
    padding: 60px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.offer-tag {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.offer-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

/* =====  ASSINATURA DOMINGO ======== */
.subscription{
    padding:80px 20px;
    background:#fff8f0;
}
.subscription-container{
    max-width:1200px;
    margin:auto;
    text-align:center;
}
.subscription-badge{
    background:#FFD700;
    color:#000;
    padding:8px 18px;
    border-radius:30px;
    font-weight:700;
}
.subscription h2{
    margin:20px 0 10px;
    font-size:2.5rem;
    color:#b71c1c;
}
.subscription-description{
    max-width:700px;
    margin:0 auto 50px;
    color:#555;
}
.plans-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}
.plan-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    position:relative;
    transition:.3s;
}
.plan-card:hover{
    transform:translateY(-8px);
}
.featured{
    border:3px solid #FFD700;
}
.popular-tag{
    position:absolute;
    top:-15px;
    left:50%;
    transform:translateX(-50%);
    background:#FFD700;
    padding:8px 18px;
    border-radius:30px;
    font-weight:700;
}
.price{
    font-size:2rem;
    font-weight:700;
    color:#b71c1c;
    margin:20px 0;
}
.price span{
    font-size:.9rem;
    color:#666;
}
.plan-card ul{
    list-style:none;
    margin:25px 0;
}
.plan-card li{
    margin:12px 0;
}
.btn-subscribe{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#b71c1c;
    color:#fff;
    font-size:1rem;
    font-weight:700;
    cursor:pointer;
}
.btn-subscribe:hover{
    background:#8e1414;
}

/* ===== FIDELIDADE ========= */
.fidelity {
    padding: 120px 0;
    background: #fff;
}
.rank-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.rank {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: var(--shadow);
}
.rank small {
    display: block;
    margin-top: 10px;
}
.bronze {
    background: #CD7F32;
    color: #fff;
}
.silver {
    background: #C0C0C0;
    color: #000;
}
.gold {
    background: #FFD700;
    color: #000;
}

/* ==== BARRA EVOLUÇÃO ======== */
.fidelity-progress {
    width: 100%;
    height: 22px;
    border-radius: 50px;
    overflow: hidden;
    background: #ddd;
    margin-bottom: 40px;
}
#fidelityFill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #CD7F32, #C0C0C0, #FFD700);
    transition: .5s;
}

/* ====== CARTÃO DE SELOS ======== */
.stamp-card {
    background: var(--gray);
    padding: 40px;
    border-radius: var(--radius);
}
.stamps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 25px 0;
}
.stamps span {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: auto;
    box-shadow: var(--shadow);
}

/* ======  FORMULÁRIOS ======== */
.customer-section,
.delivery-section,
.schedule-section,
.coupon-section {
    padding: 100px 0;
}
.customer-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input,
.form-group select {
    width: 100%;
    height: 55px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    padding: 0 15px;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* =====  ENTREGA ======== */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.radio-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow);
}
.radio-card input {
    margin-right: 10px;
}
#deliveryFields {
    display: none;
    margin-top: 30px;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.delivery-area{
    display:block;
    margin-top:6px;
    color:#b71c1c;
    font-size:0.9rem;
    font-weight:600;
}

/* =====  AGENDAMENTO ======== */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ====  CUPOM ======== */
.coupon-box {
    max-width: 700px;
    margin: auto;
    display: flex;
    gap: 15px;
}
.coupon-box input {
    flex: 1;
    height: 55px;
    padding: 10px 15px;
    border-radius: var(--radius);
    border: 1px solid #ddd;
}
.coupon-box button {
    padding: 10px 30px;
    border-radius: var(--radius);
    background: var(--success);
    color: #fff;
    font-weight: 700;
}

/* =====  BARRA PROGRESSO ========= */
.checkout-progress {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 998;
    padding: 10px 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
}
.progress-bar {
    width: 100%;
    height: 14px;
    background: #ddd;
    border-radius: 50px;
    overflow: hidden;
}
#progressFill {
    width: 0%;
    height: 100%;
    transition: .4s;
    background: var(--danger);
}
.progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: .9rem;
    font-weight: 600;
}

/* =====  CARRINHO LATERAL ======== */
#cartSidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 90%;
    height: 100dvh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
    transition: .6s ease;
}
#cartSidebar.active {
    right: 0;
}
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px; 
    box-shadow:0px 2px 4px rgba(0,0,0,0.2);
}
.cart-header h2 {
    font-size: 1.3rem;
}
#closeCart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f4;
    font-size: 18px;
}
#cartItems {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    height: 100dvh;
    margin-bottom: 180px;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.cart-item-name {
    font-weight: 500;
    font-size: 1.1rem;
}
.cart-item-price {
    color: var(--primary);
    font-size:1.1rem;
    font-weight: 300;
}
.cart-summary {
    width:100%;
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
    position:absolute;
    bottom:180px;
    box-shadow:2px -6px 4px rgba(0,0,0,0.2);
}
.cart-summary-botoes{
    height:180px;
    padding:10px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    background: #f4f4f4;
}
.cart-summary-btn{
    padding:10px;
} 
.summary-row {
    display: flex;
    justify-content: space-between;
}
.summary-row.total {
    border-top: 2px solid #ddd;
    font-size: 1.3rem;
    padding:5px 0px;
}
#checkoutBtn,
#continueShopping,
#clearCart{
    width:100%;
    height: 40px;
    margin-bottom:10px;
    border-radius:12px;
    font-weight: 400;
    font-size: 0.9rem;
}
.cart-controls{
    display:flex;
    align-items:center;
    gap:10px;
    background:#eee;
}
.cart-controls button{
    width:32px;
    height:32px;
    background:#F4F4F4;
    color:red;
    font-weight:600;
    font-size:20px;
    border-radius:12px;
}
.cart-controls span{
    min-width:20px;
    text-align:center;
    font-weight:700;

}
#continueShopping{
    background:#ccc;
}
#clearCart{
    background:#E53935;
    color:#fff;
}
#checkoutBtn {
    background: var(--success);
    color: #fff;
}
@media(min-width:768px){
    #cartSidebar{
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }
    .cart-summary-botoes{
        display:grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap:20px;
        height: 90px;
        background: #f4f4f4;
    }
    #clearCart,
    #checkoutBtn,
    #continueShopping{
        width: auto;
        height: auto;
        padding:10px;
    }
    .cart-summary{
        bottom: 90px;
        padding: 20px 20px 0px;
        background: #f4f4f4;
    }
    #cartItems{
        margin-bottom: 140px;
    }
}

/* ====== AVALIAÇÕES ======== */
.reviews {
    padding: 120px 0;
    background: #fff;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.review-card {
    background: var(--gray);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.review-card:hover {
    transform: translateY(-8px);
}
.review-card p {
    margin: 15px 0;
}
.reviews {
    padding: 100px 20px;
    background: #111;
    color: #fff;
}
.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 50px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}
.review-card:hover {
    transform: translateY(-8px);
    border-color: #FFD700;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.review-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700;
}
.review-header h3 {
    margin: 0;
    color: #fff;
}
.review-header span {
    color: #bbb;
    font-size: 0.9rem;
}
.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.review-card p {
    color: #ddd;
    line-height: 1.7;
}

/* ====== FAQ ======== */
.faq {
    padding: 120px 0;
}
.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}
.faq-item h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ======= CONTATO ========== */
.contact-section {
    padding: 120px 0;
    background: var(--primary);
    color: #fff;
    text-align: center;
}
.contact-section h2 {
    margin-bottom: 20px;
}
.contact-section p {
    margin-bottom: 10px;
}

/* =====  FOOTER ========= */
.footer {
    background: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.footer p {
    margin: 5px 0;
}

/* ======  BARRA DESENVOLVEDOR ======= */
.developer-bar {
    width: 100%;
    min-height: 70px;
    background: #000;
    border-top: 2px solid #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
.developer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.developer-content span {

    color: #fff;

}
.developer-content a {
    font-weight: 700;
    transition: .3s;
}
.developer-content a:first-of-type {
    color: #FFD700;
}
.developer-content a:last-of-type {
    color: #25D366;
}
.developer-content a:hover {
    opacity: .8;
}

/* ======= WHATSAPP FLUTUANTE ======= */
#floatingWhatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    z-index: 999;
    transition: .3s;
}
#floatingWhatsapp:hover {
    transform: scale(1.08);
}

/* ====== TOAST ========= */
#toast-container {
    position: fixed;
    top: 110px;
    right: 20px;
    z-index: 99999;
}
.toast {
    background: #111;
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    animation: toastIn .3s ease;
}
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ======  SCROLL REVEAL ======= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===  LOADING ======== */
.loading {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}
.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #eee;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* =====  RESPONSIVO ========= */
@media(max-width:992px) {
    .benefits .container {
        grid-template-columns: 1fr 1fr;
    }
    .rank-bar {
        grid-template-columns: 1fr;
    }
}
@media(max-width:768px) {
    .menu {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .availability-grid {
        grid-template-columns: 1fr;
    }
    .delivery-options {
        grid-template-columns: 1fr;
    }
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    .coupon-box {
        flex-direction: column;
    }
    #cartSidebar {
        width: 100%;
    }
    .developer-content {

        flex-direction: column;

        text-align: center;

    }

}
@media(max-width:576px) {
    .benefits .container {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 80vh;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}





