:root {
    --azul-escuro: #0a192f;
    --vermelho: #cc0000;
    --branco: #ffffff;
    --cinza-claro: #f4f4f4;
    --cinza-texto: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Header */
header {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid var(--vermelho);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo h1 { font-size: 1.6rem; letter-spacing: 1px; }
.logo span { color: var(--vermelho); }

nav a {
    color: var(--branco);
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    transition: 0.3s;
}
nav a:hover { color: var(--vermelho); }

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), 
                url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--branco);
    padding: 0 20px;
    margin-top: 60px;
}

.hero h2 { font-size: 2.8rem; margin-bottom: 15px; max-width: 800px; }
.hero p { font-size: 1.3rem; margin-bottom: 35px; max-width: 600px; }

.btn-call {
    background-color: var(--vermelho);
    color: var(--branco);
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

.btn-call:hover { background-color: #a30000; transform: translateY(-3px); }

/* Info Bar */
.info-bar {
    background-color: var(--branco);
    padding: 50px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid var(--azul-escuro);
}

/* Seção de Serviços Detalhada */
.servicos {
    padding: 80px 5%;
    background-color: var(--cinza-claro);
}

.section-title {
    text-align: center;
    color: var(--azul-escuro);
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.servico-item {
    background: var(--branco);
    padding: 25px;
    border-left: 5px solid var(--vermelho);
}

.servico-item h3 { color: var(--azul-escuro); margin-bottom: 15px; }
.servico-item ul { list-style: none; text-align: left; }
.servico-item ul li { margin-bottom: 10px; color: var(--cinza-texto); }
.servico-item ul li::before { content: "✓"; color: var(--vermelho); font-weight: bold; margin-right: 8px; }

/* Marcas */
.marcas {
    padding: 50px 5%;
    text-align: center;
    background: var(--branco);
}

.marcas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-weight: bold;
    color: var(--azul-escuro);
    font-size: 1.1rem;
}

.badge-autorizada {
    display: inline-block;
    border: 2px solid var(--vermelho);
    color: var(--vermelho);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    background-color: white;
}

/* --- SEÇÃO PARCEIROS --- */
#parceiros {
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
    /* background-color: var(--cinza-claro); */
}

#parceiros h2 {
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2rem;
}

.parceiros-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card-parceiro {
    background: white;
    text-decoration: none;
    color: var(--azul-escuro);
    padding: 20px;
    border-radius: 12px;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-parceiro-accent {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.logo-parceiro {
    width: 100%;
    height: 100px; /* Altura fixa para os logos */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo-parceiro img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain; /* Garante que o logo não estique e mantenha a proporção */
    filter: grayscale(20%); /* Opcional: deixa os logos cinzas e coloridos no hover */
    opacity: 0.7;
    transition: 0.3s;
}

.card-parceiro span {
    font-weight: bold;
    font-size: 1rem;
}

/* Efeito de passar o mouse */
.card-parceiro:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    border-color: var(--azul-escuro);
}

.card-parceiro-accent:hover {
    border-color: black;
}

.card-parceiro:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 60px 5% 20px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.horarios-list { list-style: none; margin-top: 15px; }
.horarios-list li { margin-bottom: 8px; color: #ccc; }

.contato-destaque {
    font-size: 1.5rem;
    color: var(--branco);
    text-decoration: none;
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero h2 { font-size: 2rem; }
    .footer-grid { text-align: center; }
    nav { display: none; }
}