/* =====================================
   CONFIGURAÇÕES
===================================== */

:root {

    --vinho: #651b2d;
    --vinho-escuro: #45121f;
    --vinho-claro: #822940;

    --bege: #f7eddc;
    --bege-escuro: #ead8bc;

    --creme: #fffaf2;

    --texto: #2b1b1e;
    --cinza: #725d60;

    --branco: #ffffff;

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--bege);

    color: var(--texto);

    line-height: 1.6;
}


img {
    max-width: 100%;
}


a {
    text-decoration: none;
}


button,
input,
select,
textarea {
    font-family: inherit;
}


/* =====================================
   CONTAINER
===================================== */

.container {

    width: 90%;

    max-width: 1150px;

    margin: auto;

}


/* =====================================
   HEADER
===================================== */

.header {

    background: var(--vinho);

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.15);

}


.header-content {

    min-height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.logo {

    width: 95px;

    height: 70px;

    object-fit: contain;

}


.nav {

    display: flex;

    gap: 28px;

}


.nav a {

    color: var(--branco);

    font-weight: bold;

    font-size: 15px;

    transition: 0.3s;

}


.nav a:hover {

    color: var(--bege-escuro);

}


.cart-button {

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 50%;

    background: var(--bege);

    color: var(--vinho);

    font-size: 20px;

    cursor: pointer;

    position: relative;

}


#cart-count {

    position: absolute;

    top: -5px;

    right: -5px;

    width: 22px;

    height: 22px;

    background: var(--vinho-claro);

    color: white;

    border-radius: 50%;

    font-size: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

}


/* =====================================
   HERO
===================================== */

.hero {

    padding: 80px 0;

    background:

        radial-gradient(
            circle at 90% 20%,
            var(--bege-escuro),
            transparent 35%
        );

}


.hero-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

}


.hero-label {

    color: var(--vinho);

    font-weight: bold;

    letter-spacing: 2px;

    font-size: 13px;

}


.hero h1 {

    font-family: Georgia, serif;

    font-size: clamp(45px, 6vw, 75px);

    line-height: 1;

    color: var(--vinho-escuro);

    margin: 20px 0;

}


.hero h1 span {

    color: var(--vinho-claro);

    display: block;

}


.hero p {

    font-size: 19px;

    max-width: 550px;

    color: var(--cinza);

}


.hero-buttons {

    display: flex;

    gap: 15px;

    margin-top: 30px;

    flex-wrap: wrap;

}


.btn {

    padding: 14px 22px;

    border-radius: 12px;

    font-weight: bold;

    transition: 0.3s;

}


.btn-primary {

    background: var(--vinho);

    color: white;

}


.btn-primary:hover {

    background: var(--vinho-escuro);

    transform: translateY(-2px);

}


.btn-secondary {

    border: 2px solid var(--vinho);

    color: var(--vinho);

}


.btn-secondary:hover {

    background: var(--vinho);

    color: white;

}


.hero-image {

    display: flex;

    justify-content: center;

}


.hero-circle {

    width: 420px;

    height: 420px;

    border-radius: 50%;

    padding: 15px;

    background: var(--vinho);

    box-shadow:
        0 25px 50px rgba(101, 27, 45, 0.3);

}


.hero-circle img {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

}


/* =====================================
   SEÇÕES
===================================== */

.menu-section,
.how-section,
.order-section,
.contact-section {

    padding: 90px 0;

}


.menu-section {

    background: var(--creme);

}


.section-header {

    text-align: center;

    max-width: 650px;

    margin: 0 auto 45px;

}


.section-header span {

    color: var(--vinho);

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

}


.section-header h2 {

    font-family: Georgia, serif;

    font-size: 43px;

    color: var(--vinho-escuro);

    margin: 10px 0;

}


.section-header p {

    color: var(--cinza);

}


/* =====================================
   PRODUTOS
===================================== */

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

}


.product-card {

    background: white;

    border-radius: 20px;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 10px 30px rgba(69, 18, 31, 0.08);

    transition: 0.3s;

}


.product-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 20px 40px rgba(69, 18, 31, 0.15);

}


.product-image {

    height: 230px;

    overflow: hidden;

    background: var(--bege-escuro);

}


.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.4s;

}


.product-card:hover
.product-image img {

    transform: scale(1.05);

}


.product-info {

    padding: 20px;

}


.product-info h3 {

    font-family: Georgia, serif;

    font-size: 21px;

    color: var(--vinho);

    margin-bottom: 5px;

}


.product-info p {

    color: var(--cinza);

    font-size: 14px;

    min-height: 45px;

}


.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 15px;

}


.product-bottom strong {

    color: var(--vinho-escuro);

    font-size: 19px;

}


.add-button {

    background: var(--vinho);

    color: white;

    border: none;

    border-radius: 10px;

    padding: 10px 14px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s;

}


.add-button:hover {

    background: var(--vinho-claro);

}


.destaque {

    border: 2px solid var(--vinho);

}


.tag {

    position: absolute;

    top: 12px;

    left: 12px;

    background: var(--vinho);

    color: white;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;

    z-index: 2;

}


/* =====================================
   COMO PEDIR
===================================== */

.how-section {

    background: var(--bege);

}


.steps {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}


.step {

    text-align: center;

    background: white;

    padding: 35px 25px;

    border-radius: 20px;

}


.step-number {

    width: 55px;

    height: 55px;

    margin: auto;

    border-radius: 50%;

    background: var(--vinho);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    font-weight: bold;

}


.step h3 {

    margin: 15px 0 5px;

    color: var(--vinho);

    font-family: Georgia, serif;

}


.step p {

    color: var(--cinza);

}


/* =====================================
   PEDIDO
===================================== */

.order-section {

    background: var(--vinho);

}


.order-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}


.order-text {

    color: white;

}


.order-text > span {

    color: var(--bege-escuro);

    font-weight: bold;

    letter-spacing: 2px;

}


.order-text h2 {

    font-family: Georgia, serif;

    font-size: 50px;

    line-height: 1.1;

    margin: 15px 0;

}


.order-text p {

    color: #ead8bc;

    max-width: 500px;

}


.cart {

    background: white;

    padding: 30px;

    border-radius: 22px;

}


.empty-cart {

    text-align: center;

    padding: 25px;

    color: var(--cinza);

}


.empty-cart:first-line {

    font-size: 35px;

}


.empty-cart a {

    color: var(--vinho);

    font-weight: bold;

}


.cart-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #eee;

    padding: 12px 0;

    gap: 10px;

}


.cart-item-info strong {

    display: block;

    color: var(--vinho);

}


.cart-item-info span {

    font-size: 13px;

    color: var(--cinza);

}


.quantity-controls {

    display: flex;

    align-items: center;

    gap: 8px;

}


.quantity-controls button {

    width: 28px;

    height: 28px;

    border: none;

    border-radius: 50%;

    background: var(--bege-escuro);

    color: var(--vinho);

    cursor: pointer;

    font-weight: bold;

}


.remove-button {

    border: none;

    background: transparent;

    color: #a33;

    cursor: pointer;

}


.cart-total {

    display: flex;

    justify-content: space-between;

    font-size: 22px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 2px solid var(--bege-escuro);

}


.cart-total strong {

    color: var(--vinho);

}


.whatsapp-button,
.ifood-button {

    width: 100%;

    display: block;

    border: none;

    padding: 15px;

    border-radius: 12px;

    text-align: center;

    font-weight: bold;

    cursor: pointer;

    margin-top: 15px;

}


.whatsapp-button {

    background: #25D366;

    color: white;

}


.ifood-button {

    background: var(--vinho);

    color: white;

}


/* =====================================
   CONTATO
===================================== */

.contact-section {

    background: var(--creme);

}


.contact-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}


.contact-content > div:first-child span {

    color: var(--vinho);

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

}


.contact-content h2 {

    font-family: Georgia, serif;

    color: var(--vinho);

    font-size: 40px;

}


.contact-links {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.contact-links a {

    background: var(--vinho);

    color: white;

    padding: 12px 18px;

    border-radius: 10px;

    font-weight: bold;

}


/* =====================================
   FOOTER
===================================== */

footer {

    background: var(--vinho-escuro);

    color: var(--bege);

    text-align: center;

    padding: 40px 0;

}


.footer-logo {

    width: 100px;

    margin-bottom: 10px;

}


.copyright {

    margin-top: 15px;

    font-size: 12px;

    opacity: 0.7;

}


/* =====================================
   MODAL
===================================== */

.modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    z-index: 2000;

}


.modal.active {

    display: flex;

}


.modal-content {

    width: 100%;

    max-width: 500px;

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    padding: 30px;

    border-radius: 22px;

    position: relative;

}


.modal-content h2 {

    color: var(--vinho);

    font-family: Georgia, serif;

    font-size: 30px;

}


.modal-content > p {

    color: var(--cinza);

    margin-bottom: 20px;

}


.close-modal {

    position: absolute;

    top: 15px;

    right: 15px;

    border: none;

    background: var(--bege);

    color: var(--vinho);

    width: 35px;

    height: 35px;

    border-radius: 50%;

    font-size: 24px;

    cursor: pointer;

}


.modal label {

    display: block;

    font-weight: bold;

    color: var(--vinho);

    margin-top: 15px;

    margin-bottom: 5px;

}


.modal input,
.modal select,
.modal textarea {

    width: 100%;

    padding: 13px;

    border: 1px solid #ddd;

    border-radius: 10px;

    outline: none;

    resize: vertical;

}


.modal input:focus,
.modal select:focus,
.modal textarea:focus {

    border-color: var(--vinho);

}


/* =====================================
   RESPONSIVIDADE
===================================== */

@media (max-width: 1000px) {

    .products-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 800px) {

    .nav {

        display: none;

    }


    .hero-content {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .hero p {

        margin: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .hero-circle {

        width: 330px;

        height: 330px;

    }


    .order-container {

        grid-template-columns: 1fr;

    }


    .contact-content {

        flex-direction: column;

        text-align: center;

    }


    .contact-links {

        justify-content: center;

    }

}


@media (max-width: 550px) {

    .container {

        width: 92%;

    }


    .header-content {

        min-height: 70px;

    }


    .logo {

        width: 80px;

        height: 60px;

    }


    .hero {

        padding: 55px 0;

    }


    .hero h1 {

        font-size: 48px;

    }


    .hero-circle {

        width: 280px;

        height: 280px;

    }


    .products-grid {

        grid-template-columns: 1fr;

    }


    .product-image {

        height: 260px;

    }


    .steps {

        grid-template-columns: 1fr;

    }


    .menu-section,
    .how-section,
    .order-section,
    .contact-section {

        padding: 65px 0;

    }


    .section-header h2 {

        font-size: 35px;

    }


    .order-text h2 {

        font-size: 40px;

    }

}