/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

/* Cores do tema */
:root {
    --orange-primary: #51200d;
    --orange-secondary: #fb923c;
    --orange-light: #fed7aa;
    --orange-dark: #9a3412;
    --green-status: #22c55e;
    --navy: #1e293b;
    --gray-light: #f1f5f9;
    --gray-medium: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --error-color: #ef4444;
    --success-color: #22c55e;
}

/* Botões reutilizáveis */
.btn-primary {
    background: var(--orange-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

.btn-outline {
    background: white;
    color: var(--orange-primary);
    border: 2px solid var(--orange-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

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

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn-email {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.btn-email:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Floating Mobile Button */
.btn-mobile-floating {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1001;
    padding: 0.75rem 1.25rem;
    background-color: var(--orange-primary);
    color: white;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-weight: bold;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-mobile-floating:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0; /* Reduzido ainda mais */
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-height: 50px; /* Reduzido ainda mais */
    justify-content: flex-start;
}

.logo {
    height: 50px; /* Reduzido ainda mais */
    width: auto;
}

.status-badge {
    background: var(--green-status);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    line-height: 1;
}

.nav-desktop {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.cart-btn {
    position: relative;
    background: var(--orange-primary);
    color: white;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    display: none;
}

.cart-count.show {
    display: flex;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-light);
    width: 100%;
}

/* Desktop */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 2rem;
        align-items: center;
        flex: 1;
        justify-content: center;
    }

    .logo-section,
    .header-actions {
        flex: 0 0 auto;
    }

    .header-content {
        flex-wrap: nowrap;
    }
    
    .logo-section {
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }

    .nav-mobile.active {
        display: flex;
    }

    .nav-desktop {
        display: none;
    }

    .logo-badge-container {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .logo-section,
    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-actions {
        justify-content: flex-end;
    }

    /* Hide "Pedir no WhatsApp" button on mobile */
    .header-actions .btn-primary {
        display: none;
    }
}

/* Estilos de navegação */
.nav-desktop a,
.nav-mobile a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
    color: var(--orange-primary);
}

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

.nav-desktop a:hover::after {
    width: 100%;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh; /* Aumentado ainda mais */
    background: linear-gradient(135deg, var(--orange-light) 0%, #fef3c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        height: 100vh;
    }
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Ajustes para telas menores */
@media (max-width: 767px) {
    .carousel-slide {
        background-position: center top;
    }
    
    .hero {
        height: 85vh; /* Aumentado ainda mais para telas pequenas */
    }
}

.slide-1 {
    background-image: url('img/banner-01.png');
}

.slide-2 {
    background-image: url('img/banner-02.png');
}

.slide-3 {
    background-image: url('img/banner-03.png');
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    height: 100%;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for small screens */
@media (max-width: 767px) {
    .hero {
        height: 85vh;
    }
    
    .hero-content {
        padding: 0 1rem;
        justify-content: center;
        height: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-top: 0;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 80vh; /* Ajustado para manter mais espaço para o topo */
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Ajuste especial para telas muito pequenas */
@media (max-width: 360px) {
    .hero {
        height: 75vh; /* Ajustado para manter mais espaço para o topo */
    }
    
    .carousel-slide {
        background-size: cover;
        background-position: center top;
    }
    
    .hero-content {
        height: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 0.8rem;
    }
}

/* Ajuste para orientação paisagem em dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .carousel-slide {
        background-size: cover;
        background-position: center top;
    }
}

/* Ajuste para telas com proporção diferente */
@media (orientation: landscape) and (max-height: 400px) {
    .hero {
        height: 100vh;
    }
    
    .carousel-slide {
        background-position: center top;
    }
    
    .hero-content {
        height: 100%;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: transparent;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dot.active {
    background: white;
}

/* Featured Products */
.featured-products {
    padding: 6rem 0;
    background: var(--gray-light);
}

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

.section-badge {
    background: var(--orange-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
    border: 2px solid var(--orange-primary);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--orange-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    text-align: center;
}

.biscoito-title {
    margin-bottom: 1rem;
    color: #1e293b;
    text-align: center;
}

.product-info > p {
    color: var(--gray-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-description {
    color: var(--gray-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.product-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    margin-top: 1rem;
    background-color: var(--gray-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-message p {
    font-size: 1.25rem;
    color: var(--navy);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 767px) {
    .product-message {
        padding: 1.5rem 1rem;
    }
    
    .product-message p {
        font-size: 1.1rem;
    }
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 1rem;
}

.btn-add-cart {
    width: 100%;
    background: var(--orange-primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--orange-dark);
}

/* Menu Section */
.menu-section {
    padding: 6rem 0;
    background: white;
}

.menu-section h2 {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
}

.menu-section p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.menu-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.category-btn {
    background: transparent;
    color: var(--gray-medium);
    border: 2px solid var(--gray-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.menu-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .menu-products {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

/* Delivery Info Section */
.delivery-info {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.delivery-info p {
    font-size: 1.125rem;
    color: var(--navy);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .delivery-info {
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .delivery-info p {
        font-size: 1rem;
    }
}

/* Party Section */
.party-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, var(--orange-light) 100%);
}

.party-section h2 {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
}

.party-section .section-header p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.party-content {
    max-width: 1000px;
    margin: 0 auto;
}

.party-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .party-categories {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.party-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.party-category h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.party-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .party-products {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 3rem;
    }
}

.party-packages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .party-packages {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.party-package {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.party-package:hover {
    transform: translateY(-5px);
}

.package-image {
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-info {
    padding: 1.5rem;
}

.package-info h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.package-info p {
    color: var(--gray-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.package-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 1rem;
}

.package-items ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.package-items li {
    padding: 0.25rem 0;
    color: var(--gray-medium);
    position: relative;
    padding-left: 1.5rem;
}

.package-items li:before {
    content: "✓";
    color: var(--orange-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.package-quantity {
    background: var(--orange-light);
    color: var(--orange-primary);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.product-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    margin-top: 1rem;
    background-color: var(--gray-light);
    border-radius: 12px;
}

.product-message p {
    font-size: 1.25rem;
    color: var(--navy);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

.party-column {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.party-column h4 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--orange-primary);
    padding-bottom: 0.5rem;
}

.party-column ul {
    list-style: none;
}

.party-column li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
}

.party-column li::before {
    content: '•';
    color: var(--orange-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.party-order {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.party-order h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.party-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    text-align: center;
}

.info-item strong {
    display: block;
    color: var(--orange-primary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.info-item span {
    color: var(--gray-medium);
}

.contact-info {
    margin-top: 1rem;
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Special Orders */
.special-orders {
    padding: 6rem 0;
    background: white;
}

.special-orders h2 {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 3rem;
}

.orders-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .orders-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.orders-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .orders-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .orders-image img {
        height: 250px;
        border-radius: 8px;
    }
}

.orders-list h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.special-items {
    margin-bottom: 2rem;
}

.special-item {
    padding: 1rem 0;
    border-left: 4px solid var(--orange-primary);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.special-item h4 {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.special-item p {
    color: var(--gray-medium);
}

/* History Section */
.history-section {
    padding: 6rem 0;
    background: var(--gray-light);
}

.history-section h2 {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
}

.history-section p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-medium);
    font-weight: 500;
}

.timeline {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--orange-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--orange-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex: 1;
    margin: 0 2rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-medium);
}

.history-cta {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.history-cta h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.history-cta p {
    color: var(--gray-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-content img {
    max-width: 50%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.timeline-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.timeline-flex img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .timeline-flex {
        flex-direction: column;
    }
    
    .timeline-flex img {
        height: 100%;
        width: 100%;
    }
}

.timeline-text {
    flex: 1;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-section p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-item h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray-medium);
    line-height: 1.8;
}

.contact-buttons {
    margin-top: 1rem;
}

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* Estilos para campos inválidos */
input.invalid,
textarea.invalid,
select.invalid {
    border: 2px solid #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

input.invalid:focus,
textarea.invalid:focus,
select.invalid:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3) !important;
}

.payment-option.invalid {
    border: 2px solid #e74c3c !important;
    border-radius: 8px;
    padding: 0.5rem;
}

/* Estilos para campos válidos */
input:valid:not(.invalid),
textarea:valid:not(.invalid),
select:valid:not(.invalid) {
    border: 2px solid #27ae60 !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.payment-option {
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
}

.payment-option:hover {
    border-color: var(--orange-primary);
}

.payment-option input {
    margin-right: 0.5rem;
}

/* Mensagens de feedback */
.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    display: block;
}

/* Formulário de entrega */
.delivery-form {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    display: none;
}

.delivery-form.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Privacy Policy Page */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
}

.privacy-content h1 {
    color: var(--orange-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-content h2 {
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--orange-primary);
    padding-bottom: 0.5rem;
}

.privacy-content h3 {
    color: var(--orange-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--gray-medium);
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-medium);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--orange-primary);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.last-updated {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.875rem;
}

.footer-info {
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.875rem;
}

hr {
    margin: 3rem 0;
    border: none;
    border-top: 1px solid var(--gray-light);
}

/* Responsive fixes for privacy policy */
@media (max-width: 768px) {
    .privacy-content {
        padding: 1rem;
    }
    
    .privacy-content h1 {
        font-size: 1.75rem;
    }
    
    .privacy-content h2 {
        font-size: 1.35rem;
    }
}

/* Carrinho Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: block;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #94a3b8;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-body {
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    color: var(--gray-medium);
    font-style: italic;
    padding: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

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

.cart-item-details h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--navy);
}

.cart-item-details p {
    margin: 0;
    color: var(--gray-medium);
    font-size: 0.875rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--gray-light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--navy);
}

.quantity {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.remove-btn {
    background: var(--error-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.quantity-btn:hover,
.remove-btn:hover {
    transform: scale(1.1);
}

.cart-total {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
    text-align: right;
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-minimum {
    margin-bottom: 1.5rem;
}

.minimum-progress {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--orange-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.minimum-reached {
    text-align: center;
    color: var(--success-color);
    font-weight: 500;
}

.minimum-not-reached {
    text-align: center;
    color: var(--gray-medium);
}

.delivery-form {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.delivery-form.show {
    display: block;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .modal-footer {
        flex-direction: column;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 3000;
    animation: slideInRight 0.3s ease;
    max-width: 300px;
    font-weight: 500;
    display: none;
}

.toast.error {
    background: var(--error-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Footer */
.footer {
    background: #51200d;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    height: 130px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo-text p {
    color: #cbd5e1;
    margin: 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #ffffff;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}


#biscoitoSabor, #biscoitoQuantidade {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

#biscoitoSabor:focus, #biscoitoQuantidade:focus {
    outline: none;
    border-color: var(--orange-primary);
}

#biscoitoSabor {
    margin-bottom: 1rem;
}

.biscoito-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy);
    text-align: left;
    max-width: 400px;
    margin: 0 auto 0.5rem auto;
}

.biscoito-form-container {
    text-align: center;
}

.biscoito-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--navy);
    text-align: center;
    margin: 1rem 0;
}

.btn-add-cart.biscoito-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--orange-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-add-cart.biscoito-btn:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-add-cart.biscoito-btn:active {
    transform: translateY(0);
}

.btn-add-cart.biscoito-special {
    background-color: var(--orange-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.btn-add-cart.biscoito-special:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
    .btn-add-cart.biscoito-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .biscoito-price {
        font-size: 1.3rem;
    }
    
    #biscoitoSabor, #biscoitoQuantidade {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .product-info h3 {
        font-size: 1.125rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section ul {
        text-align: left;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--orange-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--orange-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}
