/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: #333; line-height: 1.6; background-color: #fff; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- VARIABLES --- */
:root {
    --primary-color: #D32F2F; /* Vermelho Inove */
    --accent-color: #111111;
    --dark-bg: #111;
    --light-text: #fff;
    --dark-text: #222;
    --section-light-bg: #f8f9fa;
    --topbar-bg: #ffffff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- TOP BAR & NAVBAR --- */
.top-bar { background-color: var(--topbar-bg); color: #333; height: 40px; font-size: 0.85rem; position: absolute; top: 0; width: 100%; z-index: 1001; border-bottom: 1px solid #e0e0e0; display: flex; align-items: center; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.top-bar-left i { margin-right: 8px; color: var(--primary-color); }
.top-bar-left { font-weight: 700; letter-spacing: 0.5px; color: #444; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.phone-link { font-weight: 700; color: #333; display: flex; align-items: center; }
.phone-link i { margin-right: 8px; color: var(--primary-color); }
.social-icons { display: flex; gap: 15px; }
.social-icons a { color: #555; font-size: 1.2rem; }
.social-icons a:hover { color: var(--primary-color); transform: scale(1.1); }

.navbar { background: rgba(17, 17, 17, 0.95); height: 90px; position: absolute; width: 100%; top: 40px; z-index: 1000; border-bottom: 1px solid #333; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo a { display: flex; align-items: center; }
.logo img { max-height: 60px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #ccc; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; }
.nav-links a:hover { color: var(--primary-color); }
.hamburger { display: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* --- BUTTONS --- */
.btn-primary { background-color: var(--primary-color); color: #fff; padding: 12px 25px; border-radius: 5px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; display: inline-block; border: none; cursor: pointer; text-align: center; transition: 0.3s; }
.btn-primary:hover { background-color: #b71c1c; transform: translateY(-2px); color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; padding: 12px 25px; border-radius: 5px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; transition: 0.3s; }
.btn-outline:hover { background: #fff; color: #111; }


/* --- HERO SECTION --- */
.hero { height: 100vh; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('BANNER-LOJA-INOVE.webp'); background-size: cover; background-position: center; display: flex; align-items: center; text-align: center; color: var(--light-text); padding-top: 130px; }
.hero-content { max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: 4.2rem; margin-bottom: 25px; font-weight: 800; text-transform: uppercase; line-height: 1.1; letter-spacing: -1px; }
.hero h1 span { color: var(--primary-color); }
.hero p { font-size: 1.3rem; margin-bottom: 40px; color: #ddd; max-width: 700px; margin-inline: auto; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* --- SERVICES GRID & CARDS (FLEXBOX TRAVADO) --- */
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; color: #222; }
.section-header h2 span { color: var(--primary-color); }
.section-header p { color: #666; font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.category-title { font-size: 2rem; font-weight: 800; color: #222; margin: 60px 0 30px 0; border-bottom: 3px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }

.services-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
}
.service-card { 
    width: 350px; /* Trava a largura exata para não esticar */
    max-width: 100%; 
    background: #fff; 
    border-radius: 12px; 
    border: 1px solid #e1e1e1; 
    transition: all 0.3s ease; 
    text-align: left; 
    position: relative; 
    overflow: hidden; /* Garante que a imagem respeite as bordas arredondadas */
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
}
.service-card:hover { transform: translateY(-10px); border-color: var(--primary-color); box-shadow: 0 15px 40px rgba(211, 47, 47, 0.15); }
.service-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 4px solid var(--primary-color); }
.service-body { padding: 25px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.service-card h3 { font-size: 1.3rem; color: #222; margin-bottom: 10px; font-weight: 700; text-transform: uppercase; }
.price-tag-card { color: var(--primary-color); font-weight: 800; font-size: 1.1rem; margin-bottom: 15px; display: block; }
.service-card p { color: #666; font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; flex-grow: 1; }
.btn-card { display: block; width: 100%; text-align: center; background: #222; color: #fff; padding: 12px; border-radius: 5px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; border: none; cursor: pointer; transition: 0.3s; margin-top: auto; }
.btn-card:hover { background: var(--primary-color); }

/* --- MODAL --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 9999; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background: #fff; padding: 40px; border-radius: 12px; max-width: 550px; width: 95%; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #333; cursor: pointer; transition: 0.3s; line-height: 1; }
.close-modal:hover { color: var(--primary-color); }
.modal-price-box { background: #f8f9fa; padding: 20px; border-radius: 8px; margin-top: 25px; border-left: 5px solid var(--primary-color); }
#modalTitle { margin-bottom: 15px; color: #111; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; border-bottom: 2px solid #eee; padding-bottom: 10px; }
#modalDesc { color: #555; font-size: 1.05rem; line-height: 1.6; }
.modal-price-box h4 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.2rem; }
#modalPrice { color: #111; font-weight: 700; font-size: 1.1rem; line-height: 1.8; white-space: pre-line; }

/* --- WHATSAPP WIDGET --- */
.chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9000; }
.chat-toggle-btn { width: 60px; height: 60px; background-color: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); transition: 0.3s; }
.chat-toggle-btn:hover { transform: scale(1.1); color: #fff; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hamburger { display: block; z-index: 1002; }
    .nav-btn, .top-bar-left { display: none; }
    .top-bar-content { justify-content: center; }
    .nav-links { position: fixed; top: 130px; right: 0; height: calc(100vh - 130px); background-color: #111; display: flex; flex-direction: column; align-items: center; padding-top: 40px; width: 100%; transform: translateX(100%); transition: 0.3s; z-index: 999; }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1.2rem; margin-bottom: 20px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
}