/* FONTELIS CAFÉ - DESIGN COMPLETAMENTE NOVO */
/* Vermelho Vinho Puro - Design Moderno 2024 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vermelho-vinho: #8B0000;   /* VERMELHO VINHO - COR PRINCIPAL */
    --vermelho-escuro: #6B0000;  /* Vermelho mais escuro */
    --marrom-escuro: #2C1810;    /* Marrom ESCURO - única marrom permitida */
    --preto: #1A1A1A;            /* Preto */
    --branco: #FFFFFF;           /* Branco */
    --cinza-claro: #F5F5F5;      /* Backgrounds */
    --cinza: #757575;            /* Textos secundários */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--preto);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* PROGRESS BAR */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--vermelho-vinho);
    z-index: 99999;
    transition: width 0.3s;
}

/* HEADER MODERNO */
.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--branco);
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.3s;
}

.header-modern.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(139, 0, 0, 0.25);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    flex: 0 0 auto;
}

.logo-principal {
    height: 70px;
    transition: all 0.3s;
}

.header-modern.scrolled .logo-principal {
    height: 50px;
}

.nav-modern {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--preto);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--vermelho-vinho);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-cta {
    background: var(--vermelho-vinho);
    color: var(--branco);
    padding: 0.8rem 2rem;
    border-radius: 50px;
}

.nav-link.btn-cta::after {
    display: none;
}

.nav-link.btn-cta:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.5);
}

.menu-mobile {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-mobile span {
    width: 30px;
    height: 3px;
    background: var(--vermelho-vinho);
    transition: all 0.3s;
}

/* HERO COMPLETAMENTE NOVO */
.hero-novo {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%, 
            rgba(0, 0, 0, 0.5) 30%,
            rgba(139, 0, 0, 0.4) 60%,
            transparent 100%
        ),
        url('../img/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

/* Fallback se a imagem não existir */
.hero-novo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.6) 30%,
            rgba(139, 0, 0, 0.5) 60%,
            rgba(0, 0, 0, 0.3) 100%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(139, 0, 0, 0.1),
            rgba(139, 0, 0, 0.1) 10px,
            transparent 10px,
            transparent 20px
        );
    z-index: -1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content-novo {
    animation: fadeInLeft 1s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--vermelho-vinho);
    color: var(--branco);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.title-linha {
    color: var(--branco);
}

.title-linha.destaque {
    color: var(--vermelho-vinho);
    font-size: 6rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-descricao {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 500px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-hero {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-vermelho {
    background: var(--vermelho-vinho);
    color: var(--branco);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.btn-vermelho:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--vermelho-vinho);
    border: 2px solid var(--vermelho-vinho);
}

.btn-outline:hover {
    background: var(--vermelho-vinho);
    color: var(--branco);
}

/* FLOATING IMAGES */
.hero-image {
    position: relative;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: var(--branco);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
    border: 3px solid var(--vermelho-vinho);
}

.floating-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

/* Fallback se imagens não existirem */
.floating-card img:not([src]), 
.floating-card img[src=""],
.floating-card img[src="img/item1.png"]:not([src*="/"]),
.floating-card img[src="img/item2.png"]:not([src*="/"]),
.floating-card img[src="img/item3.png"]:not([src*="/"]) {
    background: var(--vermelho-vinho);
    position: relative;
}

.floating-card img::after {
    content: '📷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.3;
}

.card-1 {
    top: 50px;
    right: 100px;
    animation-delay: 0s;
}

.card-2 {
    top: 250px;
    right: 50px;
    animation-delay: 1s;
}

.card-3 {
    top: 450px;
    right: 150px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* WAVE */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave path {
    fill: var(--vermelho-vinho);
}

/* SOBRE SECTION */
.sobre-section {
    padding: 8rem 0;
    background: var(--branco);
}

.container-novo {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.sobre-imagem {
    position: relative;
}

.imagem-placeholder {
    width: 100%;
    height: 500px;
    background: var(--vermelho-vinho);
    border-radius: 20px;
}

.section-title {
    margin-bottom: 2rem;
}

.title-small {
    display: block;
    color: var(--vermelho-vinho);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.title-big {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--preto);
    line-height: 1.1;
}

.section-title.center {
    text-align: center;
}

.section-title.white .title-small {
    color: rgba(255,255,255,0.8);
}

.section-title.white .title-big {
    color: var(--branco);
}

.sobre-texto p {
    font-size: 1.1rem;
    color: var(--cinza);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-numero {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--vermelho-vinho);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--cinza);
    font-size: 0.9rem;
}

/* CARDÁPIO MODERNO */
.cardapio-novo {
    padding: 8rem 0;
    background: var(--cinza-claro);
}

.categoria-moderna {
    margin-bottom: 6rem;
}

.categoria-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--preto);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.categoria-titulo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--vermelho-vinho);
}

.produtos-grid-novo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.produto-card-novo {
    background: var(--branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.produto-card-novo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.3);
}

.produto-img-novo {
    width: 100%;
    height: 220px;
    background: var(--vermelho-vinho);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.produto-info-novo {
    padding: 2rem;
}

.produto-nome-novo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--preto);
    margin-bottom: 0.5rem;
}

.produto-desc-novo {
    font-size: 0.95rem;
    color: var(--cinza);
    margin-bottom: 1.5rem;
}

.produto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.produto-preco-novo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--vermelho-vinho);
}

.btn-add {
    background: var(--vermelho-vinho);
    color: var(--branco);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add:hover {
    background: var(--vermelho-escuro);
    transform: scale(1.05);
}

/* PEDIDOS */
.pedidos-novo {
    padding: 8rem 0;
    background: var(--vermelho-vinho);
}

.pedido-form-moderno {
    max-width: 800px;
    margin: 0 auto;
    background: var(--branco);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 600;
    color: var(--preto);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--vermelho-vinho);
}

.carrinho-moderno {
    background: var(--cinza-claro);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    min-height: 150px;
}

.carrinho-total-novo {
    text-align: right;
    font-size: 2rem;
    font-weight: 900;
    color: var(--vermelho-vinho);
    margin: 2rem 0;
}

.btn-moderno {
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-moderno.full {
    width: 100%;
}

.btn-moderno.btn-vermelho {
    background: var(--vermelho-vinho);
    color: var(--branco);
}

.btn-moderno.btn-vermelho:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.btn-moderno.btn-secondary {
    background: var(--marrom-escuro);
    color: var(--branco);
}

/* RASTREAR */
.rastrear-novo {
    padding: 8rem 0;
    background: var(--branco);
}

.rastrear-form-moderno {
    max-width: 600px;
    margin: 0 auto 3rem;
    display: flex;
    gap: 1rem;
}

.rastrear-form-moderno .form-field {
    flex: 1;
}

.pedidos-lista-novo {
    max-width: 900px;
    margin: 0 auto;
}

/* LOGIN */
.login-novo {
    padding: 8rem 0;
    background: var(--marrom-escuro);
}

.login-box {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 20px;
}

.login-form-moderno {
    margin-top: 2rem;
}

/* FOOTER */
.footer-novo {
    background: var(--preto);
    color: var(--branco);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-slogan {
    font-style: italic;
    color: var(--vermelho-vinho);
    font-weight: 600;
}

.footer-col h4 {
    color: var(--vermelho-vinho);
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* MODAL */
.modal-novo {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.modal-content-novo {
    background: var(--branco);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--cinza);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container,
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .title-linha {
        font-size: 4rem;
    }
    
    .title-linha.destaque {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .nav-modern {
        display: none;
    }
    
    .menu-mobile {
        display: flex;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .title-linha.destaque {
        font-size: 4rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-hero {
        text-align: center;
    }
}
