﻿:root {
    --primary-color: #d12229; /* Red typical for food brands */
    --secondary-color: #f7a827; /* Orange/Yellow */
    --text-color: #333;
    --light-bg: #fff9f5; /* Warm cream background instead of stark white/grey */
    --dark-bg: #1a1a1a;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Intro Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#intro-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

.intro-animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Fundo com macarrão - começa grande (fora da tela) e se contrai para dentro */
.intro-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(2.5);
    opacity: 0;
    animation: elementsComeTogether 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

/* Logo no centro - aparece depois e pulsa */
.intro-logo-img {
    position: absolute;
    width: 350px;
    height: 350px;
    object-fit: contain;
    z-index: 2;
    opacity: 0;
    mix-blend-mode: multiply; /* Remove o fundo branco do JPG */
    border-radius: 50%;
    animation: logoAppearAndPulse 2s ease 1.2s forwards;
}

@keyframes elementsComeTogether {
    0% {
        transform: scale(2.5);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes logoAppearAndPulse {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    40% {
        opacity: 1;
        transform: scale(1.15);
    }
    55% {
        transform: scale(0.95);
    }
    70% {
        transform: scale(1.08);
    }
    85% {
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    background: var(--light-bg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 550px;
    margin-top: 80px;
    overflow: hidden;
    background: #fff;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.carousel-slide {
    position: absolute;
    width: 90vw;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    height: auto;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
    background: #000;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 3;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.carousel-slide.prev {
    opacity: 0.6;
    z-index: 2;
    transform: translate(-160%, -50%) scale(0.85);
}

.carousel-slide.next {
    opacity: 0.6;
    z-index: 2;
    transform: translate(60%, -50%) scale(0.85);
}

.carousel-bg {
    display: none; /* Removemos o fundo desfocado */
}

.carousel-main {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover; /* Cobre o container perfeitamente quadrado */
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 3;
    border-radius: 5px;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: var(--primary-color);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: var(--primary-color);
}

/* Sections */
.section-padding {
    padding: 100px 50px;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title.text-left {
    text-align: left;
}

.history-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a8161b 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(209, 34, 41, 0.3);
    color: var(--white);
}

.history-container .section-title {
    color: var(--secondary-color);
}

.history-text {
    flex: 1;
}

.history-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffeceb;
}

.history-video-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-video {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
}

/* Products Section & Background Branding */
.has-bg-details {
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
}

.bg-shape.shape1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.bg-shape.shape2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 50px;
    right: -50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s, box-shadow 0.4s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(209, 34, 41, 0.15);
}

.product-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

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

.product-card h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal de Produtos */
.product-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.product-modal.show {
    display: flex;
    animation: fadeInModal 0.3s forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #000;
}

.modal-header h2 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-right: 20px;
}

.modal-subtitle {
    font-weight: 600;
    color: #555;
    margin-bottom: 20px;
    font-size: 1rem;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.modal-list {
    list-style: none;
    margin-bottom: 20px;
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
}

.modal-list li {
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* Contact & Map Section */
.contact-map-section {
    background: var(--light-bg);
}

.contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* Card de Contato (esquerda) */
.contact-card {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 35px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(209, 34, 41, 0.2);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-info {
    font-size: 0.9rem;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
    margin-bottom: 5px;
    opacity: 0.95;
}

.contact-social-icons {
    display: flex;
    gap: 12px;
    margin: 15px 0 20px;
}

.social-icon-link {
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.3s;
    color: var(--white);
}

.social-icon-link:hover {
    transform: scale(1.2);
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--secondary-color);
}

.contact-form textarea {
    resize: vertical;
}

.contact-submit-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: var(--dark-bg);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.contact-submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Card Mapa (direita) */
.map-card {
    background: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(209, 34, 41, 0.2);
    text-align: left;
}

.map-card-content {
    padding: 30px 30px 20px 30px;
}

.map-icon {
    margin-bottom: 15px;
    stroke: var(--secondary-color);
}

.map-card-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.map-card-address {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--white);
    opacity: 0.95;
}

.map-card-status {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0.9;
}

.map-wrapper-inner {
    padding: 0 20px 20px 20px;
}

.map-wrapper-inner iframe {
    border-radius: 12px;
    display: block;
}

/* Footer */
.site-footer {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 60px 50px 20px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

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

/* Responsive */
@media (max-width: 768px) {
    .section-padding { padding: 60px 15px; }
    .contact-card, .map-card { padding: 25px 20px; overflow: hidden; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .product-card { padding: 15px; }
    .product-card h3 { font-size: 0.9rem; margin: 10px 0; }
    .product-card .btn-outline { font-size: 0.75rem; padding: 6px 10px; width: 100%; }
    .site-footer { padding: 40px 15px 20px; }
    .footer-container { flex-direction: column; align-items: center; justify-content: center; width: 100%; }
    header {
        padding: 20px;
    }
    nav ul {
        gap: 15px;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .history-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }
    .big-logo {
        max-width: 300px;
    }
    .contact-map-grid {
        grid-template-columns: 1fr;
    }
}


/* Mobile Fixes & Menu */
.nav-header { display: flex; justify-content: space-between; align-items: center; }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.menu-toggle .bar { height: 3px; width: 25px; background-color: var(--primary-color); margin: 4px 0; transition: 0.3s; }

@media (max-width: 768px) {
    .section-padding { padding: 60px 15px; }
    .contact-card, .map-card { padding: 25px 20px; overflow: hidden; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .product-card { padding: 15px; }
    .product-card h3 { font-size: 0.9rem; margin: 10px 0; }
    .product-card .btn-outline { font-size: 0.75rem; padding: 6px 10px; width: 100%; }
    .site-footer { padding: 40px 15px 20px; }
    .footer-container { flex-direction: column; align-items: center; justify-content: center; width: 100%; }
    .menu-toggle { display: flex; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); box-shadow: 0 5px 10px rgba(0,0,0,0.1); padding: 20px 0; z-index: 1000; text-align: center; gap: 20px; }
    .nav-links.active { display: flex; }
    .footer-col { text-align: center; }
    .contact-map-grid { gap: 40px; }
    .contact-card, .map-card { width: 100%; box-sizing: border-box; }
}











