/* Importando fonte moderna (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    /* --- CORES PRINCIPAIS (Tema: Red #8B0000) --- */
    --brand-blue: #8B0000;     /* Vermelho Principal */
    --brand-dark: #500000;     /* Vermelho Escuro (Hover/Títulos/Negritos) */
    --brand-light: #b71c1c;    /* Vermelho Claro (Detalhes) */

    --accent-green: #00c853;   /* Whatsapp */
    --surface: #ffffff;        /* Fundo Branco */
    --surface-secondary: #f8f9fa; /* Fundo Cinza Claro */
    --text-main: #1e293b;      /* Texto Principal */
    --text-muted: #64748b;     /* Texto Secundário */

    /* --- DESIGN SYSTEM --- */
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(139, 0, 0, 0.1), 0 10px 10px -5px rgba(139, 0, 0, 0.04);
    --gradient-hero: linear-gradient(135deg, #8B0000 0%, #500000 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface-secondary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- GLOBAL STRONG (SEO & VISUAL) --- */
/* Destaca termos chaves automaticamente */
strong {
    font-weight: 700;
    color: var(--brand-dark); 
}

/* Exceção para o Hero (título principal) onde o fundo é vermelho */
.hero h1 strong {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s ease;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.logo-image {
    height: auto;
    width: 60px;
}

.logo span {
    color: var(--brand-blue);
}

.btn-primary {
    background: var(--brand-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(139, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
    background: var(--brand-dark);
}

.btn-whatsapp {
    background: var(--accent-green);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.3);
}

/* --- HERO SECTION --- */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.92) 0%, rgba(60, 0, 0, 0.85) 100%),
        url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.0.3') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.service-icon-hero {
    width: 48px;
    height: 48px;
    vertical-align: middle;
    margin-right: 15px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    position: relative;
    top: -4px;
}

/* --- SERVICES CARDS --- */
.services-section {
    padding: 100px 0;
    background: var(--surface-secondary);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139, 0, 0, 0.1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(139, 0, 0, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    margin-bottom: 24px;
    padding: 14px;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-link:hover .card-icon {
    background: var(--brand-blue);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(139, 0, 0, 0.3);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 0;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--brand-blue);
    object-fit: cover;
    min-height: 450px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--brand-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* --- CHECKLIST (Estilo Profissional) --- */
.checklist {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .checklist {
        grid-template-columns: 1fr 1fr;
        gap: 24px 40px;
    }
}

.checklist li {
    position: relative;
    padding-left: 45px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
    font-weight: 400;
    display: block;
}

.checklist li strong {
    color: var(--brand-dark);
    font-weight: 700;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 0, 0, 0.1);
    color: var(--brand-blue);
    border-radius: 50%;
    font-weight: 900;
    font-size: 1rem;
}

/* --- STATS BAR --- */
.trust-bar {
    background: var(--brand-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffcccc;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- CONTEÚDO SEO --- */
.content-seo {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
}

.content-seo h2 {
    color: var(--brand-dark);
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
}

.content-seo h3 {
    color: var(--brand-blue);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-seo p {
    margin-bottom: 18px;
    color: #555;
    text-align: justify;
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-image-banner {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: var(--radius);
    background-color: var(--brand-dark);
    margin: 40px 0;
    box-shadow: var(--shadow-sm);
}

/* --- CITY ACCORDION CARDS --- */
.city-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.city-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: rgba(139, 0, 0, 0.15);
}

.city-card-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    user-select: none;
}

.city-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chevron {
    width: 24px;
    height: 24px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.city-card.active .chevron {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

.city-card.active .city-card-header {
    background: #fff5f5;
}

.city-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--surface-secondary);
    border-top: 1px solid transparent;
}

.city-card.active .city-card-content {
    border-top-color: rgba(0,0,0,0.05);
}

.city-content-padding {
    padding: 24px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.hub-link {
    display: block;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.2s;
}

.hub-link:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
}

/* --- FOOTER MODERNO (NOVO) --- */
.footer-modern {
    background-color: #111; /* Fundo quase preto para contraste profissional */
    color: #a3a3a3; /* Texto cinza suave */
    padding-top: 80px;
    font-size: 0.95rem;
    border-top: 4px solid var(--brand-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Colunas assimétricas para layout interessante */
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 24px;
    height: 3px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a3a3a3;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-blue);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact .icon {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #4ade80; /* Verde neon */
    border-radius: 50%;
    margin-top: 6px;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--brand-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Responsividade do Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- MENU NAVIGATION (DESKTOP & MOBILE LOGIC) --- */

.nav-links-desktop {
    display: flex;
    align-items: center;
}

.nav-item-dropdown {
    position: relative;
    height: 100%;
    margin: 0 10px;
}

.nav-link-btn {
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-radius: 12px;
    padding: 10px 0;
    top: 100%;
    left: -20px;
    border: 1px solid #f0f0f0;
    animation: fadeIn 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: var(--text-muted);
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid #f9f9f9;
}

.dropdown-menu a:hover {
    background-color: #fff5f5;
    color: var(--brand-blue);
    padding-left: 28px;
    transition: all 0.2s;
}

.arrow-down {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.menu-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    stroke: var(--brand-blue);
    stroke-width: 2;
    fill: none;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.dropdown-menu a:hover .menu-icon {
    stroke: var(--brand-dark);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE MENU OVERRIDES --- */

/* 1. Desktop: Esconde elementos mobile por padrão */
.mobile-menu-btn,
.mobile-nav-overlay,
.mobile-nav-container {
    display: none !important;
}

/* 2. Responsividade Geral do Site (Ajustes de Layout) */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-container { order: -1; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .service-icon-hero { width: 36px; height: 36px; margin-right: 10px; }
}

/* 3. Ativação do Menu Mobile (Telas < 992px) */
@media (max-width: 992px) {
    
    /* Esconde menu desktop */
    .nav-links-desktop {
        display: none !important;
    }

    /* Mostra botão hamburger */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1100;
    }

    .hamburger-icon {
        width: 32px;
        height: 32px;
        stroke: var(--brand-dark);
        stroke-width: 2.5;
    }

    /* Container do Menu (Gaveta Lateral) */
    .mobile-nav-container {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px; /* Começa escondido */
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 1100; /* Acima do Header */
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 25px;
        overflow-y: auto;
    }

    /* Overlay Escuro */
    .mobile-nav-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 1050; /* Entre Header e Menu */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(2px);
    }

    /* Cabeçalho do Menu Mobile */
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
    }

    .close-btn {
        background: none;
        border: none;
        font-size: 2.5rem;
        color: var(--brand-dark);
        cursor: pointer;
        line-height: 0.8;
        padding: 0 10px;
    }

    /* Links do Mobile */
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-link {
        font-size: 1.1rem;
        color: var(--text-main);
        text-decoration: none;
        font-weight: 500;
        padding: 10px 0;
        border-bottom: 1px solid #f9f9f9;
        display: block;
    }

    /* Dropdown no Mobile (Accordion) */
    .mobile-dropdown-btn {
        background: none;
        border: none;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--brand-dark);
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-dropdown-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: #fafafa;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .mobile-dropdown-content a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        text-decoration: none;
        color: #666;
        font-size: 0.95rem;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-dropdown-content a:last-child {
        border-bottom: none;
    }

    /* --- ESTADOS ATIVOS (JS) --- */
    body.mobile-menu-open .mobile-nav-container {
        right: 0;
    }

    body.mobile-menu-open .mobile-nav-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    body.mobile-menu-open {
        overflow: hidden;
    }
}
/* --- BOTÕES FLUTUANTES (FIXED) --- */
.floating-actions {
    position: fixed;
    bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn:hover {
    transform: scale(1.1);
}

.phone-float {
    background-color: var(--brand-blue); /* Vermelho da marca */
    width: 60px; 
    height: 60px;
    margin-left: 10px; /* Centralizar com o de baixo */
    animation: pulse-red 2s infinite;
}

.whatsapp-float {
    background-color: #25D366; /* Verde Oficial WhatsApp */
    animation: pulse-green 2s infinite;
    margin-right: 10px; /* Centralizar com o de cima */
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 37, 37, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 55px;
        height: 55px;
    }
    
    .phone-float {
        width: 45px;
        height: 45px;
        margin-left: 10px;
    }
}