/* RESET E CORES */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-color: #000;      
    --secondary-color: #ce1111; 
    --accent-color: #FFD700;    
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.08); 
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 80px; 
    background-color: var(--white); 
}

/* UTILITÁRIOS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--white); }
.text-red { color: var(--secondary-color); }
.text-yellow { color: var(--accent-color); }
.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }

/* TIPOGRAFIA */
h2 { font-size: 2.8em; font-weight: 700; margin-bottom: 20px; color: var(--primary-color); line-height: 1.2; }
h3 { font-size: 2em; font-weight: 700; margin-bottom: 15px; color: var(--primary-color); }
h4 { font-size: 1.2em; font-weight: 600; margin-bottom: 10px; }
.subtitle {
    display: block;
    font-size: 0.85em;
    color: var(--secondary-color);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* BOTÕES */
.btn-primary, .btn-yellow {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px; 
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary { background-color: var(--secondary-color); color: #fff; }
.btn-primary:hover { background-color: #cacaca; transform: translateY(-3px); }

.btn-yellow { background-color: var(--accent-color); color: var(--primary-color); }
.btn-yellow:hover { background-color: #e6c000; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4); }

/* HEADER */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: rgba(172, 20, 20, 0.95); 
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 80px;
    transition: all 0.3s;
}

#navbar .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo img { height: 60px; }

#nav-menu { display: flex; align-items: center; gap: 30px; }
#nav-menu a:not(.nav-phone) {
    text-decoration: none; color: var(--bg-light); font-weight: 500; font-size: 1rem;
    position: relative;
}

/* Efeito de linha embaixo do link ao passar o mouse */
#nav-menu a:not(.nav-phone)::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background-color: var(--accent-color); transition: width 0.3s;
}
#nav-menu a:hover::after { width: 100%; }

.nav-phone {
    background-color: var(--accent-color); color: #000000 !important;
    padding: 10px 20px; border-radius: 30px; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.8em; cursor: pointer; color: var(--text-color); }

/* HERO SECTION */
.hero {
    background: linear-gradient(to right, #fff 40%, rgba(255, 255, 255, 0.1)), url('assets/3.png');
    background-size: cover; background-position: center top;
    min-height: 85vh; /* Aumentei a altura */
    display: flex; align-items: center;
}
.hero-content { width: 100%; }
.hero-text { max-width: 600px; padding: 40px; background: rgba(255,255,255,0.8); border-radius: 20px; backdrop-filter: blur(5px); }

/* QUEM SOMOS - NOVO LAYOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 5px; box-shadow: var(--shadow); }
.about-text p { font-size: 1.1em; color: var(--text-light); margin-bottom: 20px; }
.features-list { display: flex; gap: 20px; margin-top: 20px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary-color); }

/* PRODUTOS - CARDS INTERATIVOS */
.cards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; margin-top: 50px;
}

.interactive-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.4s ease;
    position: relative; text-align: center; border: 1px solid #eee;
}

/* A Mágica do Hover e Interatividade */
.interactive-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.card-image { height: 180px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px; }
.card-image img { max-height: 100%; max-width: 100%; transition: transform 0.5s ease; }
.interactive-card:hover .card-image img { transform: scale(1.15) rotate(2deg); }

.card-content { padding: 25px; position: relative; }
.icon-box {
    width: 50px; height: 50px; background: var(--secondary-color); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: -50px auto 15px; position: relative; border: 4px solid #fff; font-size: 1.2rem;
}
.interactive-card h4 { color: var(--primary-color); font-size: 1.25em; }
.interactive-card p { font-size: 0.9em; color: var(--text-light); }

/* SERVIÇOS PILLS */
.services-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.service-pill {
    background: #fff; padding: 12px 25px; border-radius: 30px; border: 1px solid #ddd;
    font-weight: 600; color: var(--secondary-color); display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* OFERTAS */
.offer-delivery-banner { background: linear-gradient(135deg, #a70707, #850000); color: #fff; }
.offer-content { display: flex; align-items: center; justify-content: space-between; }
.offer-image img { width: 70%; height: auto ;}
.offer-text h2 { color: #fff; font-size: 2.5em; }
.phone-display { font-size: 2.5em; font-weight: 800; margin: 20px 0; color: var(--accent-color); }
.offer-text .address { margin-top: 30px; opacity: 0.8; font-size: 0.95em; }

/* Animação de pulso no botão */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.pulse-animation { animation: pulse 2s infinite; }

/* FOOTER */
footer { background-color: #1a1a1a; color: #aaa; padding: 60px 0 20px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.social-link { color: #fff; font-size: 1.2em; display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.social-link:hover { color: var(--accent-color); }

.logo-footer img {
    height: 85px;
    margin-bottom: 10px;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .features-list { justify-content: center; }
    .hero { min-height: 600px; text-align: center; justify-content: center; background-position: right center; }
    .hero-text { margin: 0 auto; }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }
    h2 { font-size: 2em; }
    .hero { min-height: auto; padding: 60px 0; background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('assets/bkg.png'); }
    #nav-menu {
        position: absolute; top: 80px; left: 0; width: 100%; background: #fff;
        flex-direction: column; padding: 20px; box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        display: none;
    }
    #nav-menu.active { display: flex; }
    .menu-toggle { display: block; }
    .phone-display { font-size: 1.8em; }
}