/* --- VARIÁVEIS E RESET --- */
:root {
    /* Paleta: Tons de Pão, Café e Trigo */
    --primary: #8B4513;
    /* Marrom Sela (Cor de casca de pão) */
    --primary-dark: #5D2906;
    /* Café Escuro */
    --secondary: #D4A017;
    /* Dourado/Trigo */
    --accent: #C0392B;
    /* Vermelho suave (Apetite) */
    --bg-cream: #FFF8E1;
    /* Creme suave (Fundo) */
    --white: #ffffff;
    --text-dark: #3E2723;
    /* Marrom muito escuro para texto */
    --text-light: #6D4C41;

    --shadow: 0 10px 30px rgba(62, 39, 35, 0.15);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary-dark);
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Detalhe decorativo de trigo */
.section-header h2::after {
    content: '\f7ec';
    /* Ícone de trigo do FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -25px;
    right: -25px;
    font-size: 1.5rem;
    color: var(--secondary);
    opacity: 0.6;
    transform: rotate(15deg);
}

.section-header span {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 10px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-top: 5px;
    text-align: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=2072&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 90px;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h1 i {
    color: var(--secondary);
    font-size: 0.8em;
}

/* --- DESTAQUES (Ícones) --- */
.features {
    background: var(--white);
    position: relative;
    z-index: 10;
    margin-top: -80px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- MENU/PRODUTOS (Grid Estiloso) --- */
.products {
    background-color: var(--bg-cream);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 69, 19, 0.15);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-category {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* --- SOBRE (LAYOUT MISTO) --- */
.about {
    background-color: var(--white);
    overflow: hidden;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about-img {
    height: 100%;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1555507036-ab1f4038808a?q=80&w=2026&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    position: relative;
}

/* Moldura decorativa na imagem */
.about-img::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.about-text {
    padding: 80px 60px;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--primary);
    font-style: italic;
    font-family: var(--font-title);
    margin-bottom: 20px;
    display: block;
}

/* --- LOCALIZAÇÃO & CONTATO --- */
.location {
    background-color: var(--primary-dark);
    /* Fundo escuro para contraste */
    color: var(--bg-cream);
}

.location h2 {
    color: var(--secondary);
}

.location p {
    opacity: 0.9;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background: #251612;
    /* Quase preto */
    color: #aaa;
    padding: 60px 0 20px;
    text-align: center;
    border-top: 5px solid var(--primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--white);
}

.cnpj {
    font-family: monospace;
    font-size: 0.9rem;
    color: #777;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary);
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* --- WHATSAPP FIXO --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-img {
        min-height: 300px;
        order: -1;
    }

    /* Imagem acima do texto */
    .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--bg-cream);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .navbar .nav-links.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Animações */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}