/* --- RESET E BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: #333; scroll-behavior: smooth; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* --- HEADER --- */
header { 
    background: #0050a2; 
    color: white; 
    height: 120px; 
    display: flex;
    align-items: center;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-links { display: flex; list-style: none; }
.nav-links li a { color: white; text-decoration: none; margin-right: 25px; font-weight: bold; font-size: 0.9rem; text-transform: uppercase; }

/* LOGO FLUTUANTE */
.logo-container { position: relative; }
.logo-img {
    height: 200px; 
    position: absolute; 
    top: -110px; 
    right: -50px; 
    filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.3)); 
    z-index: 1001; 
}

/* --- HERO --- */
.hero { 
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero h1, .hero p { color: #0050a2; }
.hero h1 { font-size: 3rem; }

.btn { 
    background: #f7a81b; 
    color: #0050a2; 
    padding: 15px 30px; 
    text-decoration: none; 
    border-radius: 12px; 
    font-weight: bold; 
    display: inline-block;
    transition: 0.3s;
    border: none;
}

/* --- CARROSSEL (650x360) --- */
.carrossel-section { padding: 60px 0; background: #f4f4f4; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2rem; color: #0050a2; }

.swiper { 
    max-width: 650px; 
    margin: 0 auto; 
    border-radius: 15px; 
    overflow: hidden;
}
.swiper-slide img { 
    width: 100%; 
    height: 360px; 
    object-fit: cover; 
    object-position: center top; 
}

/* --- SERVIÇOS (ALINHAMENTO CORRIGIDO) --- */
.servicos { padding: 80px 0; }
.servicos-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 25px; 
    align-items: stretch; /* Garante que todos os cards na mesma linha tenham a mesma altura */
}
.servico-card { 
    background: white;
    padding: 30px; 
    border-radius: 10px; 
    border-top: 6px solid #0050a2; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    text-align: center;
    display: flex;
    flex-direction: column; /* Organiza o conteúdo em coluna */
    justify-content: flex-start; 
    height: 100%; /* Força o card a ocupar todo o espaço do grid */
}
.servico-card h3 {
    margin-bottom: 15px;
    color: #0050a2;
    min-height: 50px; /* Alinha os títulos mesmo que tenham números de linhas diferentes */
    display: flex;
    align-items: center;
    justify-content: center;
}
.servico-card p {
    font-size: 0.95rem;
    color: #555;
}

/* --- CONTATO E FORMULÁRIO --- */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 30px; }
.form-group { margin-bottom: 15px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #f4f4f4;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    background-color: #ffffff;
    border-color: #0050a2;
}
.contato-form .btn { width: 100%; cursor: pointer; }

/* --- DESTAQUE DA REUNIÃO --- */
.reuniao-destaque {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 20px;
    background-color: #fff4e0;
    border-left: 5px solid #f7a81b;
    border-radius: 10px;
    animation: blinking 2s infinite ease-in-out;
}
.reuniao-destaque p { margin: 0; color: #0050a2; font-weight: bold; }

@keyframes blinking {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- RODAPÉ --- */
footer { background: #222; color: white; text-align: center; padding: 40px 0; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .contato-grid { grid-template-columns: 1fr; }
    .logo-img { height: 100px; top: -10px; right: 10px; }
    .hero h1 { font-size: 2rem; }
}