* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2C7A7B;
    --primary-dark: #1E5A5B;
    --primary-light: #4A9E9F;
    --secondary: #F7B05E;
    --secondary-dark: #E59A3C;
    --dark: #1E2A2E;
    --gray: #4A5B5E;
    --light: #F8FAF9;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
    touch-action: pan-y;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(4px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 2rem;
}

.logo {
    display: flex;
    cursor: pointer;
    transition: transform 0.2s;
    align-items: center;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-line {
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-left: 2px;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    color: var(--gray);
    transition: 0.2s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.direita {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn i {
    font-size: 13px;
    transition: transform 0.3s;
}

.cart-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cart {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

.modal-cart {
    max-width: 600px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

.modal-body {
    padding: 1.5rem;
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* Cart items */
.cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-details {
    font-size: 0.75rem;
    color: var(--gray);
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
}

.cart-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: right;
}

.delivery-option {
    margin: 1rem 0;
}

.delivery-option label {
    display: inline-block;
    margin-right: 1rem;
    cursor: pointer;
}

.freight-warning {
    background: #fff3cd;
    padding: 0.75rem;
    border-radius: 12px;
    margin: 0.75rem 0;
    font-size: 0.85rem;
    color: #856404;
}

/* Ball animation */
.ball-animation {
    position: fixed;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 9999;
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    pointer-events: none;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, #EFF7F5 100%);
    padding: 80px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 0.875rem 2rem;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 32px;
    padding: 0.3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image img {
    max-width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.hero-badge {
    position: absolute;
    bottom: -40px;
    right: -20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 1rem 1.5rem;
    border-radius: 80px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

/* Seções */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Categorias */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.category-btn {
    background: var(--white);
    border: 1px solid #E0E8E5;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Produtos Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    cursor: pointer;
}

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

.product-img {
    height: 180px;
    background: linear-gradient(135deg, #E8F4F2 0%, #D4E8E5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary);
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.product-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.product-detail {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.btn-order {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-order:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-encomendar {
    background: #25D366;
    width: 100%;
    margin-top: 1rem;
}

.btn-encomendar:hover {
    background: #20b859;
}

.product-img-slider {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-image.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--gray);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Sobre */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.about-grid .about-image {
    justify-self: center;
}

.about-content p {
    margin-bottom: 1.25rem;
    color: var(--gray);
    line-height: 1.6;
    text-align: justify;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.about-image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 32px;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
}

.about-image img {
    max-width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    align-items: center;
}

/* Contatos */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

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

.contact-icon {
    width: 64px;
    height: 64px;
    background: rgba(44, 122, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--primary);
}

.contact-link {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

.contact-info {
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.25rem;
}

.contact-text {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 3rem 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.floating-wpp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
}

.floating-wpp:hover {
    transform: scale(1.1);
    background: #20b859;
}

@media (max-width: 992px) {

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        right: 0;
        z-index: 1000;
    }

    .nav-container {
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        background: var(--white);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-menu.show {
        display: flex;
    }

    .container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 50px 0;
    }
}