/* ==========================================================================
   VARIÁVEIS DE AMBIENTE E CONFIGURAÇÕES DE RESET
   ========================================================================== */
:root {
    --primary: #E31C25;
    --primary-dark: #B31218;
    --dark-bg: #111111;
    --dark-surface: #1C1C1C;
    --dark-card: #252525;
    --light-bg: #F9F9F9;
    --white: #FFFFFF;
    
    --text-main: #222222;
    --text-muted: #666666;
    --text-light: #CCCCCC;
    
    --whatsapp: #25D366;
    --whatsapp-dark: #1EBE57;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
}

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   COMPONENTES GERAIS / REUTILIZÁVEIS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-red { color: var(--primary); }

.divider {
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.divider-left {
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    margin: 12px 0 20px;
    border-radius: 2px;
}

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(227, 28, 37, 0.3); }
.btn-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--dark-bg); transform: translateY(-2px); }
.btn-nav { background-color: var(--primary); color: var(--white); padding: 10px 20px; font-size: 0.85rem; }
.btn-nav:hover { background-color: var(--primary-dark); }
.btn-whatsapp-full { background-color: var(--whatsapp); color: var(--white); width: 100%; font-size: 1rem; padding: 16px; }
.btn-whatsapp-full:hover { background-color: var(--whatsapp-dark); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3); }

/* TÍTULOS DE SEÇÃO */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; }
.section-header p { color: var(--text-muted); margin-top: 16px; font-size: 1.1rem; }

/* ==========================================================================
   CABEÇALHO (NAVBAR) E LOGO - FUNDO BRANCO SÓLIDO
   ========================================================================== */
header {
    background-color: var(--white);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header.scrolled {
    background-color: var(--white); /* Removida a transparência para não manchar o fundo branco */
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; max-width: 1240px; margin: 0 auto; }

/* LOGO COM FUNDO INVISÍVEL (TRUQUE DO MULTIPLY) */
.logo img {
    height: 70px;
    display: block;
    transition: var(--transition);
    mix-blend-mode: multiply; /* Mágica: remove qualquer marcação ou variação do fundo branco do JPG */
}

header.scrolled .logo img { height: 55px; }

.nav-menu ul { display: flex; gap: 30px; list-style: none; }
.nav-link { 
    color: var(--text-main); 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    text-decoration: none; 
    position: relative; 
    padding: 8px 0; 
    transition: var(--transition); 
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }

/* BOTÃO MENU HAMBÚRGUER (CELULAR) */
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; background: transparent; border: none; cursor: pointer; }
.menu-toggle span { width: 100%; height: 3px; background-color: var(--text-main); border-radius: 2px; transition: var(--transition); }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ==========================================================================
   SEÇÃO HERO
   ========================================================================== */
.hero { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('images/Image (9).jpg') no-repeat center center/cover; padding: 180px 0 120px; color: var(--white); text-align: center; }
.hero-content { max-width: 850px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background-color: rgba(227, 28, 37, 0.15); border: 1px solid var(--primary); padding: 6px 18px; border-radius: 50px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; }
.ping-animation { width: 8px; height: 8px; background-color: #25D366; border-radius: 50%; display: inline-block; position: relative; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 .highlight { color: var(--primary); }
.hero p { font-size: 1.2rem; color: var(--text-light); max-width: 700px; margin: 0 auto 40px; }
.hero-cta-group { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   BARRA DE RECURSOS E SERVIÇOS
   ========================================================================== */
.features-bar { background-color: var(--dark-surface); color: var(--white); padding: 40px 0; border-bottom: 4px solid var(--primary); }
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-item { display: flex; align-items: center; gap: 20px; }
.feature-icon { font-size: 2rem; color: var(--primary); }
.feature-text h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 4px; }
.feature-text p { font-size: 0.9rem; color: var(--text-light); }

.services { padding: 100px 0; background-color: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background-color: var(--light-bg); padding: 45px 35px; border-radius: 6px; border-top: 3px solid transparent; box-shadow: var(--shadow); transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); border-top-color: var(--primary); background-color: var(--dark-bg); color: var(--white); }
.service-icon { width: 60px; height: 60px; background-color: var(--primary); color: var(--white); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 24px; transition: var(--transition); }
.service-card:hover .service-icon { background-color: var(--white); color: var(--primary); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); transition: var(--transition); }
.service-card:hover p { color: var(--text-light); }

/* ==========================================================================
   SEÇÃO QUEM SOMOS
   ========================================================================== */
.about { padding: 100px 0; background-color: var(--light-bg); }
.grid-about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.about-content h2 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; }
.about-content .lead { font-size: 1.15rem; font-weight: 600; color: var(--text-main); margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 20px; }
.about-list { list-style: none; margin-top: 24px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; margin-bottom: 12px; }
.about-list li i { color: var(--primary); font-size: 1.2rem; }
.about-image img { width: 100%; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

/* ==========================================================================
   SEÇÃO GALERIA E LIGHTBOX
   ========================================================================== */
.gallery { padding: 100px 0; background-color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.gallery-item { position: relative; border-radius: 6px; overflow: hidden; height: 260px; box-shadow: var(--shadow); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,0.95) 40%, rgba(0,0,0,0)); color: var(--white); transform: translateY(10px); opacity: 0; transition: var(--transition); pointer-events: none; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-info { transform: translateY(0); opacity: 1; }
.gallery-info h4 { font-size: 1.1rem; text-transform: uppercase; font-weight: 700; }
.gallery-info span { font-size: 0.85rem; color: var(--primary); font-weight: 600; }

.modal { display: none; position: fixed; z-index: 9999; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.92); backdrop-filter: blur(8px); }
.modal-content { margin: auto; display: block; max-width: 90%; max-height: 80vh; object-fit: contain; border-radius: 6px; box-shadow: 0 5px 30px rgba(0,0,0,0.6); animation: zoomIn 0.3s ease; }
@keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }
.close-modal { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 45px; font-weight: bold; transition: 0.3s; cursor: pointer; z-index: 10000; }
.close-modal:hover, .close-modal:focus { color: var(--primary); transform: scale(1.1); }
.prev-btn, .next-btn { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 20px; margin-top: -30px; color: white; font-size: 25px; font-weight: bold; transition: 0.3s; user-select: none; background: rgba(0,0,0,0.6); border: none; border-radius: 50%; }
.next-btn { right: 30px; }
.prev-btn { left: 30px; }
.prev-btn:hover, .next-btn:hover { background-color: var(--primary); transform: scale(1.1); }
#caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #fff; padding: 15px 0; font-size: 1.2rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

/* ==========================================================================
   SEÇÃO CONTATO E RODAPÉ
   ========================================================================== */
.contact { padding: 100px 0; background-color: var(--dark-bg); color: var(--white); border-top: 4px solid var(--primary); }
.grid-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2.2rem; text-transform: uppercase; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 40px; }
.contact-cards-stack { display: flex; flex-direction: column; gap: 24px; }
.contact-card-item { display: flex; align-items: flex-start; gap: 20px; }
.card-icon { font-size: 1.5rem; color: var(--primary); background-color: rgba(227, 28, 37, 0.1); padding: 14px; border-radius: 4px; }
.card-details h4 { font-size: 1rem; text-transform: uppercase; margin-bottom: 4px; }
.card-details p { color: var(--text-light); margin-bottom: 0; }
.social-links { margin-top: 40px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: var(--dark-surface); color: var(--white); border-radius: 4px; font-size: 1.2rem; text-decoration: none; transition: var(--transition); }
.social-links a:hover { background-color: var(--primary); transform: translateY(-3px); }
.contact-panel-cta { background-color: var(--dark-surface); padding: 50px 40px; border-radius: 6px; border: 1px solid #2d2d2d; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.panel-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 24px; }
.contact-panel-cta h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 16px; }
.contact-panel-cta p { color: var(--text-light); margin-bottom: 35px; font-size: 0.95rem; }

footer { background-color: #090909; color: #777777; padding: 30px 0; font-size: 0.9rem; border-top: 1px solid #1a1a1a; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.whatsapp-sticky { position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp); color: var(--white); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 6px 20px rgba(0,0,0,0.3); z-index: 999; text-decoration: none; transition: var(--transition); }
.whatsapp-sticky:hover { background-color: var(--whatsapp-dark); transform: scale(1.08); }

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-menu { position: fixed; top: 86px; left: -100%; width: 100%; height: calc(100vh - 86px); background-color: var(--white); transition: var(--transition); padding: 40px; border-top: 2px solid var(--light-bg); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-menu.open { left: 0; }
    .nav-menu ul { flex-direction: column; gap: 30px; align-items: center; }
    .nav-link { font-size: 1.1rem; }
    .grid-about, .grid-contact { grid-template-columns: 1fr; gap: 50px; }
    .about-image { order: -1; }
    .hero h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .btn-nav { display: none; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .prev-btn, .next-btn { padding: 12px; font-size: 18px; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}