:root {
    --azul-turquesa: #40E0D0;
    --azul-escuro: #008080;
    --azul-claro: #E0F7F7;
    --branco: #ffffff;
    --fundo: #f8f9fa;
    --texto: #333333;
    --texto-claro: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--fundo);
    color: var(--texto);
    line-height: 1.6;
}

/* Trava a rolagem enquanto a tela de abertura acontece */
body.no-scroll {
    overflow: hidden;
}

/* =========================================
   TELA DE ABERTURA (SPLASH SCREEN)
   ========================================= */
#splash-screen {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background-color: var(--branco);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slideUpOut 0.8s ease-in-out 2s forwards;
}

.splash-logo {
    max-width: 200px;
    height: auto;
    animation: pulseFade 1.2s ease-in-out;
}

.splash-slogan {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--azul-escuro);
    margin-top: 20px;
    opacity: 0;
    text-align: center;
    animation: fadeIn 1s ease-in-out 0.8s forwards;
}

@keyframes pulseFade {
    0% { transform: scale(0.7); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUpOut {
    to { transform: translateY(-100%); visibility: hidden; }
}

/* =========================================
   HEADER & NAVEGAÇÃO
   ========================================= */
header {
    background-color: var(--branco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px; /* Dá um espacinho entre a logo e o texto */
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text-group h1 {
    font-family: 'Great Vibes', cursive;
    color: var(--azul-turquesa);
    font-size: 2.2rem;
    margin: 0;
    line-height: 1;
}

.logo-text-group p {
    font-size: 0.95rem;
    color: var(--azul-escuro);
    font-weight: 600;
    margin: 0;
}

.logo-img {
    height: 60px;
    max-width: 250px;
    width: auto;
    object-fit: contain;
    transition: transform 2s ease;
    display: block;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--texto);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--azul-turquesa);
}

/* Botão do Menu Mobile (3 pontinhos) - Oculto no PC */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .dot {
    width: 6px;
    height: 6px;
    background-color: var(--azul-escuro);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.menu-toggle:hover .dot {
    background-color: var(--azul-turquesa);
}

/* Botão Padrão */
.btn {
    display: inline-block;
    background-color: var(--azul-turquesa);
    color: var(--branco);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.btn:hover {
    background-color: var(--azul-escuro);
    transform: scale(1.05);
}

/* =========================================
   HERO SECTION (BANNER ONDA - TEXTO DIREITA)
   ========================================= */
.hero {
    position: relative;
    background: url('../img/banner.jpg') center left / cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background-color: var(--azul-escuro); /* VOLTOU: Fundo de segurança escuro */
    padding-bottom: 80px; 
}

/* ONDAS DESKTOP */
.hero-onda-desktop {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ONDAS MOBILE (Ocultas no PC) */
.hero-onda-mobile {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
}

/* Container do Texto e Botão */
.hero-content {
    position: relative;
    z-index: 3;
    width: 48%;
    padding: 0 5% 0 8%; 
    color: var(--branco); /* VOLTOU: O texto voltou a ser branco */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 4.8rem;
    color: var(--azul-turquesa);
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* VOLTOU: Sombra sutil ativada */
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* =========================================
   LOGO DENTRO DO BANNER (HERO)
   ========================================= */
.logo-in-banner {
    position: absolute;
    top: -50px; /* Subi um pouquinho para compensar o aumento */
    right: 5%;
    height: 150px; /* AUMENTADO: Era 100px, agora está bem maior e imponente */
    width: auto;
    opacity: 0.95;
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.4));
}

/* =========================================
   INDICADOR DE ROLAGEM (SETAS ANIMADAS)
   ========================================= */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--azul-turquesa);
    border-right: 3px solid var(--azul-turquesa);
    transform: rotate(45deg);
    margin: -5px;
    animation: animateArrows 2s infinite;
}

.scroll-indicator span:nth-child(2) { animation-delay: -0.2s; }
.scroll-indicator span:nth-child(3) { animation-delay: -0.4s; }

@keyframes animateArrows {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

/* =========================================
   ESTRUTURA GERAL (SEÇÕES)
   ========================================= */
section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2.section-title {
    text-align: center;
    color: var(--azul-escuro);
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
}

h2.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--azul-turquesa);
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.sobre-container { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.diferenciais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.diferencial-card { background: var(--branco); padding: 30px 20px; border-radius: 12px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-bottom: 4px solid var(--azul-turquesa); transition: transform 0.3s; }
.diferencial-card:hover { transform: translateY(-10px); }
.diferencial-card h3 { color: var(--azul-escuro); margin-bottom: 15px; }

.galeria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.galeria-item { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.galeria-item:hover img { transform: scale(1.1); }

.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--branco); border-radius: 12px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--azul-turquesa); }
.depoimento-foto { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; display: block; border: 4px solid var(--azul-turquesa); }

/* Footer */
footer { background-color: var(--azul-escuro); color: var(--branco); padding: 60px 5% 30px; }
.unidades { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; max-width: 1200px; margin: 0 auto; }
.unidade-box h3 { color: var(--azul-turquesa); font-size: 1.5rem; }

/* =========================================
   EFEITOS DE ROLAGEM (SCROLL REVEAL)
   ========================================= */
.reveal { opacity: 0; transform: translateY(60px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }
.delay-4 { transition-delay: 0.7s; }

.reveal-zoom { opacity: 0; transform: scale(0.85); transition: all 0.8s ease-out; }
.reveal-zoom.active { opacity: 1; transform: scale(1); }

/* =========================================
   SISTEMA DE ABAS (TABS) - GALERIA
   ========================================= */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.tab-btn { background: transparent; border: 2px solid var(--azul-turquesa); color: var(--azul-escuro); padding: 12px 35px; border-radius: 50px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.tab-btn:hover, .tab-btn.active { background: var(--azul-turquesa); color: var(--branco); box-shadow: 0 5px 15px rgba(64, 224, 208, 0.4); transform: translateY(-2px); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeInTab 0.5s ease-in-out; }

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.galeria-item video { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* =========================================
   LISTA DE SERVIÇOS E TERAPIAS
   ========================================= */
.servicos-badge-container { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 20px; }
.servico-badge { background: var(--azul-claro); color: var(--azul-escuro); padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; border: 1px solid var(--azul-turquesa); }

/* Cards de Terapia com Degradê */
.terapia-card { position: relative; border-radius: 15px; overflow: hidden; height: 350px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); text-align: left; display: flex; align-items: flex-end; }
.terapia-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; z-index: 1; }
.terapia-card:hover .terapia-bg { transform: scale(1.1); }
.terapia-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(to bottom, rgba(0, 128, 128, 0) 0%, rgba(0, 80, 80, 0.95) 100%); z-index: 2; }
.terapia-content { position: relative; padding: 30px 20px 25px 20px; z-index: 3; width: 100%; }
.terapia-content h3 { color: var(--azul-turquesa); margin-bottom: 8px; font-size: 1.5rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.terapia-content p { color: var(--branco); margin: 0; font-size: 0.95rem; line-height: 1.5; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

/* =========================================
   FAIXA DE CONTATOS E REDES SOCIAIS
   ========================================= */
.banner-contato {
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul-turquesa));
    color: var(--branco);
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 40px 5%;
    max-width: 1200px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.banner-contato h2 { font-family: 'Great Vibes', cursive; font-size: 3.5rem; margin-top: 0; margin-bottom: 10px; }
.social-links { display: flex; justify-content: center; gap: 15px; margin: 30px 0; flex-wrap: wrap; }
.social-btn { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); padding: 12px 25px; border-radius: 50px; color: var(--branco); text-decoration: none; border: 1px solid rgba(255,255,255,0.3); font-weight: 600; transition: all 0.3s ease; }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; }
.social-btn:hover { background: var(--branco); color: var(--azul-escuro); transform: translateY(-3px); }

/* =========================================
   WHATSAPP FLUTUANTE 
   ========================================= */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; box-shadow: 2px 2px 15px rgba(0,0,0,0.3); z-index: 9999; display: flex; align-items: center; justify-content: center; text-decoration: none; animation: pulse-whats 2s infinite; transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 35px; height: 35px; fill: currentColor; }
@keyframes pulse-whats {
    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); }
}


/* =========================================
   SEÇÃO: POR QUE ESCOLHER A FAMÍLIA? (NOVO)
   ========================================= */
.porque-escolher {
    background-color: var(--branco);
    padding: 80px 5%;
}

.motivos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.motivo-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--fundo);
    border-radius: 12px;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--azul-turquesa);
}

.motivo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.motivo-icone {
    font-size: 2.5rem;
    line-height: 1;
}

.motivo-texto h3 {
    color: var(--azul-escuro);
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.motivo-texto p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--texto-claro);
}

/* =========================================
   SERVIÇOS EM CARDS (SUBSTITUI OS BADGES)
   ========================================= */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.servico-box {
    background: var(--branco);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--azul-claro);
    transition: transform 0.3s ease;
}

.servico-box:hover {
    transform: translateY(-5px);
    border-color: var(--azul-turquesa);
}

.servico-box .icone {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.servico-box h4 {
    color: var(--azul-escuro);
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.servico-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--texto-claro);
}

/* =========================================
   CHAMADA FINAL (CTA) ANTES DO RODAPÉ
   ========================================= */
.cta-final {
    background: url('../img/hero-bg.jpg') center/cover no-repeat; /* Usa a mesma foto acolhedora */
    position: relative;
    text-align: center;
    padding: 80px 20px;
    color: var(--branco);
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 128, 128, 0.9); /* Overlay azul escuro forte */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--azul-turquesa);
    margin: 0 0 15px 0;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* =========================================
   RODAPÉ EM 3 COLUNAS (NOVO)
   ========================================= */
footer {
    background-color: #001f1f; /* Um azul quase preto, muito elegante */
    color: var(--branco);
    padding: 60px 5% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h3 {
    color: var(--azul-turquesa);
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.footer-col p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--azul-turquesa);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #888888;
}

/* =========================================
   FORMULÁRIOS DE CONTATO E CURRÍCULO
   ========================================= */
.form-container {
    background: var(--branco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
    border-top: 5px solid var(--azul-turquesa);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--azul-escuro);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--azul-turquesa);
    outline: none;
    box-shadow: 0 0 8px rgba(64, 224, 208, 0.2);
}

/* =========================================
   PORTAL DE VAGAS (TRABALHE CONOSCO PREMIUM)
   ========================================= */
.vagas-header {
    background: linear-gradient(rgba(0, 128, 128, 0.8), rgba(0, 128, 128, 0.8)), url('../img/hero-bg.jpg') center/cover;
    padding: 100px 20px;
    text-align: center;
    color: var(--branco);
}

.vagas-header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    color: var(--azul-turquesa);
    margin: 0 0 10px 0;
}

.vagas-container {
    max-width: 900px; /* Um pouco mais estreito para visual mais premium */
    margin: -40px auto 60px;
    position: relative;
    z-index: 2;
    padding: 0 20px; /* Garante que não cole nas bordas do celular */
}

/* Lista Profissional de Vagas (Card Premium) */
.vaga-list-item {
    background: var(--branco);
    border-radius: 15px; /* Borda mais suave e moderna */
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* Sombra mais difusa e elegante */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.04);
    border-left: 6px solid var(--azul-turquesa);
    transition: all 0.3s ease;
}

.vaga-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 128, 128, 0.15); /* Sombra colorida no hover */
    border-color: var(--azul-claro);
}

.vaga-info {
    flex: 1; /* Ocupa o máximo de espaço possível */
    padding-right: 20px;
}

.vaga-info h3 {
    margin: 0 0 12px 0;
    color: var(--azul-escuro);
    font-size: 1.5rem;
}

/* Alinhamento perfeito das categorias */
.vaga-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    background: var(--fundo);
    color: var(--texto-claro);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    white-space: nowrap; /* Impede que o texto da categoria quebre no meio */
}

.badge.categoria { 
    background: var(--azul-claro); 
    color: var(--azul-escuro); 
    border-color: var(--azul-turquesa); 
}

/* Botão específico do card de vagas */
.btn-vaga {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box; /* Fundamental para não estourar a tela no celular */
    text-align: center;
}

/* Banner do Banco de Talentos */
.banco-talentos-banner {
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul-turquesa));
    color: var(--branco);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* =========================================
   MODAL: BANCO DE TALENTOS
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 9999; display: none; justify-content: center; align-items: center;
    padding: 15px;
}

.modal-content {
    background: var(--branco); width: 100%; max-width: 500px; max-height: 90vh;
    border-radius: 15px; display: flex; flex-direction: column; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); animation: modalFadeIn 0.4s ease-out;
}

.modal-header {
    background: var(--azul-escuro); color: var(--branco); padding: 15px 25px;
    display: flex; justify-content: space-between; align-items: center;
    border-radius: 15px 15px 0 0;
}
.modal-header h2 { margin: 0; font-size: 1.3rem; color: var(--azul-turquesa); }
.close-modal { background: none; border: none; color: var(--branco); font-size: 2rem; cursor: pointer; line-height: 1; }
.modal-body { padding: 25px; overflow-y: auto; flex-grow: 1; }

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   AJUSTES RESPONSIVOS (MOBILE) PARA VAGAS
   ========================================= */
@media (max-width: 768px) {
    /* Diminui o texto gigante do Trabalhe Conosco */
    .vagas-header { padding: 60px 20px; }
    .vagas-header h1 { font-size: 2.8rem; }
    
    /* Reposiciona o Card para visual de celular */
    .vaga-list-item { 
        flex-direction: column; 
        align-items: stretch; /* Estica o conteúdo para preencher o card */
        padding: 25px 20px; 
    }
    
    .vaga-info { padding-right: 0; margin-bottom: 20px; }
    .vaga-info h3 { font-size: 1.3rem; }
    
    /* Configuração perfeita para o botão no celular */
    .vaga-btn-area { width: 100%; }
    .btn-vaga { 
        width: 100%; 
        padding: 15px; 
        font-size: 1rem;
        white-space: normal; /* Permite que o texto do botão quebre linha se a tela for minúscula */
        line-height: 1.2;
    }
}
/* =========================================
   REGRAS RESPONSIVAS (MOBILE & TABLET)
   (Todas as telas menores estão organizadas aqui para evitar conflitos)
   ========================================= */

/* Tablets (até 992px) */
@media (max-width: 992px) {
    /* Ajustes do Banner Inicial e Ondas */
    .hero {
        background: url('../img/banner.jpg') top center / 100% auto no-repeat;
        align-items: flex-start;
        min-height: auto;
        padding-top: 75vw; /* Resolve o corte perfeito da imagem */
    }
    .hero-onda-desktop { display: none; }
    .hero-onda-mobile {
        display: block; 
        top: calc(75vw - 4vw); 
        height: 6vw; 
    }
    .hero-content {
        width: 100%;
        padding: 40px 20px 80px 20px;
        text-align: center;
        background-color: var(--azul-escuro); /* VOLTOU: Fundo escuro no celular */
    }
    .hero-content h2 { font-size: 3.5rem; }

    /* Logo no Banner */
    .logo-in-banner {
        position: static; 
        height: 110px; /* Aumentado no celular também (era 85px) */
        margin-bottom: 20px;
        display: inline-block;
    }
    
    .logo a {
        flex-direction: column; /* Empilha a logo e o texto no mobile */
        text-align: center;
        gap: 5px;
    }
    
    .logo-text-group {
        align-items: center; /* Centraliza o nome no celular */
    }

    /* Rodapé e Redes Sociais Centralizados */
    footer .unidades {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    footer .unidade-box { margin-bottom: 30px; }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    .social-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
}

/* Celulares Menores (até 768px) */
/* Celulares Menores (até 768px) */
@media (max-width: 768px) {
    /* Mantém a logo e o texto LADO A LADO no celular */
    .logo a {
        flex-direction: row; /* Força a ficar na horizontal */
        text-align: left;
        gap: 10px; /* Reduz um pouco o espaço entre a foto e o texto */
    }
    
    .logo-text-group {
        align-items: flex-start; /* Mantém o alinhamento à esquerda */
    }

    /* Reduz levemente os tamanhos para caber bem com o botão de 3 pontinhos */
    .logo-img {
        height: 45px; /* Logo um pouquinho menor na barra */
    }

    .logo-text-group h1 {
        font-size: 1.8rem; /* Fonte do "Família" ajustada pro celular */
    }

    .logo-text-group p {
        font-size: 0.75rem; /* Fonte do "residencial" ajustada pro celular */
    }

    /* Restante das regras mobile que você já tem... */
    .menu-toggle { display: flex; }

    nav {
        position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--branco); flex-direction: column; padding: 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1); max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
    }
    nav.active { max-height: 400px; padding: 20px 0; }
    nav a { padding: 15px 20px; width: 100%; text-align: center; border-bottom: 1px solid var(--fundo); }
    
    .hero h2 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    section { padding: 50px 20px; }
}