/* Paleta de Cores baseada na Logo */
:root {
    --azul-escuro: #0C2C55; 
    --azul-claro: #00A2E8;  
    --laranja: #F37021;     
    --amarelo: #FFD100;     
    --fundo-claro: #f8f9fa;
    --texto-padrao: #333333;
}

/* Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body { background-color: var(--fundo-claro); color: var(--texto-padrao); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* -------------------- CABEÇALHO E LOGO DIVIDIDA -------------------- */
header {
    background-color: var(--azul-escuro); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    padding: 15px 0; 
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

/* Novo visual da Logo (Ícone + Texto HTML) */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 50px; /* Tamanho exato e proporcional, sem distorção */
    width: auto;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-titulo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-sub {
    color: var(--amarelo);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Menus */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px; 
}

.nav-links a {
    color: #ffffff; 
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--amarelo); }

/* Dropdown Submenu */
.dropdown { position: relative; display: inline-block; }
.dropdown-icon { font-size: 12px; margin-left: 5px; transition: transform 0.3s; }
.dropdown-content { display: none; position: absolute; background-color: #ffffff; min-width: 240px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2); z-index: 1; top: 100%; left: 0; border-radius: 5px; overflow: hidden; margin-top: 15px; }
.dropdown-content::before { content: ""; position: absolute; top: -10px; left: 20px; border-width: 0 10px 10px 10px; border-style: solid; border-color: transparent transparent #ffffff transparent; }
.dropdown-content a { color: var(--azul-escuro); padding: 15px 20px; text-decoration: none; display: block; font-size: 15px; font-weight: 500; border-bottom: 1px solid #f1f1f1; transition: background-color 0.3s, color 0.3s, padding-left 0.3s; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: var(--fundo-claro); color: var(--laranja); padding-left: 25px; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover .dropdown-icon { transform: rotate(180deg); }

/* Botões */
.btn { display: inline-block; padding: 12px 25px; text-decoration: none; border-radius: 5px; font-weight: 600; transition: all 0.3s; cursor: pointer; }
.btn-header { background-color: #25D366; color: #fff; padding: 10px 20px; }
.btn-header:hover { background-color: #1ebe57; }
.btn-primary { background-color: var(--laranja); color: #fff; font-size: 18px; }
.btn-primary:hover { background-color: #d95c16; transform: scale(1.05); }

/* -------------------- HERO (ALINHADO À ESQUERDA) -------------------- */
.hero {
    background: linear-gradient(rgba(12, 44, 85, 0.7), rgba(12, 44, 85, 0.7)), url('https://images.unsplash.com/photo-1519046904884-53103b34b206?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: left; 
    color: #fff;
}

.hero-content {
    max-width: 700px; 
    padding-right: 20px;
}

.hero-content h2 {
    font-size: 54px; 
    margin-bottom: 20px;
    color: var(--amarelo);
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #f8f9fa; 
}

/* -------------------- ESPAÇAMENTO PADRÃO DE SEÇÕES -------------------- */
section { padding: 110px 0; text-align: center; }
section h2 { font-size: 36px; color: var(--azul-escuro); margin-bottom: 20px; position: relative; }
section h2::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--azul-claro); margin: 15px auto 0; border-radius: 2px; }

/* Sobre Nós */
.sobre { padding: 130px 0; background-color: #ffffff; }
.sobre .container { max-width: 1000px; margin: 0 auto; }
.sobre h2 { font-size: 42px; text-align: left; margin-bottom: 10px; color: var(--azul-escuro); }
.sobre h2::after { margin: 15px 0 40px 0; }
.sobre-content p { font-size: 20px; line-height: 1.9; margin-bottom: 25px; text-align: left; color: #444; }

/* Soluções */
.solucoes { background: linear-gradient(rgba(12, 44, 85, 0.95), rgba(12, 44, 85, 0.95)), url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed; color: #fff; text-align: left; padding: 110px 0; }
.solucoes-header { margin-bottom: 60px; }
.solucoes h2 { color: #fff; font-size: 40px; margin-bottom: 15px; text-align: left; }
.solucoes h2::after { margin: 15px 0 0 0; }
.solucoes-header p { font-size: 20px; color: var(--amarelo); font-weight: 300; }
.solucoes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.solucao-item { display: flex; align-items: flex-start; gap: 20px; }
.solucao-icon { color: var(--laranja); font-size: 24px; margin-top: 5px; }
.solucao-texto h3 { font-size: 22px; margin-bottom: 10px; color: #fff; }
.solucao-texto p { font-size: 16px; line-height: 1.6; color: #d1d9e6; }

/* Serviços e Facility */
.servicos { background-color: #ffffff; padding: 110px 0; }
.servicos-intro { font-size: 18px; color: var(--texto-padrao); margin: 0 auto 50px; max-width: 800px; }
.cards { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.card { background-color: var(--fundo-claro); padding: 40px 30px; border-radius: 10px; width: 320px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; border-bottom: 5px solid var(--azul-claro); }
.card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-bottom: 5px solid var(--laranja); }
.card-icon { font-size: 40px; color: var(--laranja); margin-bottom: 20px; }
.card h3 { color: var(--azul-escuro); margin-bottom: 15px; }

/* Contato */
.contato { padding: 110px 0; background-color: #f8f9fa; }
.contato-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; margin-bottom: 40px; }
.contato-info-box { background: #fff; padding: 30px 20px; border-radius: 8px; width: 380px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.contato-info-box i { font-size: 30px; color: var(--azul-claro); margin-bottom: 15px; }
.contato-info-box h4 { color: var(--azul-escuro); margin-bottom: 10px; }
.email-text { white-space: nowrap; }
.contato-info-box a { color: var(--texto-padrao); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.contato-info-box a:hover { color: var(--laranja); }
.endereco-box { background-color: var(--azul-escuro); color: #fff; padding: 20px; border-radius: 8px; max-width: 700px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 15px; }
.endereco-box i { font-size: 24px; color: var(--amarelo); }

/* Rodapé */
footer { background-color: var(--azul-escuro); color: #fff; padding: 60px 0 20px; border-top: 5px solid var(--azul-claro); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 20px; }
.footer-logo-img { max-height: 160px; } /* Logo gigante mantida aqui */
.footer-info { text-align: right; font-size: 14px; line-height: 1.6; color: #ccc; }
.footer-info p strong { color: var(--amarelo); font-size: 18px; }
.footer-bottom { text-align: center; font-size: 13px; color: #888; }

/* -------------------- REGRAS PARA TELAS ADMIN/RESERVAS -------------------- */
.admin-form .form-group { margin-bottom: 15px; }
.admin-form label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--azul-escuro); }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; }
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group input { width: auto; transform: scale(1.5); }

.reservas-hero { background: linear-gradient(rgba(12, 44, 85, 0.5), rgba(12, 44, 85, 0.5)), url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover; height: 55vh; display: flex; justify-content: center; align-items: center; position: relative; }
.reservas-hero-content { text-align: center; color: white; width: 100%; }
.reservas-hero-content h1 { font-size: 40px; margin-bottom: 10px; }

.filtro-box { background: rgba(255, 255, 255, 0.95); padding: 15px; border-radius: 8px; display: flex; justify-content: center; gap: 10px; max-width: 900px; margin: 30px auto 0; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.filtro-box input, .filtro-box select { padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 15px; flex: 1; }

.secao-resultados { padding: 110px 0 80px 0; }
.secao-destaques { padding: 80px 0 110px 0; }
.carrossel-imoveis { display: flex; gap: 20px; overflow-x: auto; padding: 20px 5px; scroll-snap-type: x mandatory; }
.grid-imoveis { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.imovel-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); min-width: 300px; max-width: 350px; scroll-snap-align: start; display: flex; flex-direction: column; }
.imovel-img-container { height: 200px; overflow: hidden; }
.imovel-img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.imovel-card:hover .imovel-img-container img { transform: scale(1.1); }
.imovel-info { padding: 20px; display: flex; flex-direction: column; flex: 1; text-align: left; }
.imovel-info h3 { color: var(--azul-escuro); font-size: 18px; margin-bottom: 5px; }
.imovel-bairro { color: #666; font-size: 14px; margin-bottom: 15px; }
.imovel-tags { display: flex; gap: 15px; margin-bottom: 20px; font-size: 13px; color: #444; }

.btn-detalhes { margin-top: auto; background: transparent; border: 1px solid var(--laranja); color: var(--laranja); text-align: center; padding: 10px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-detalhes:hover { background: var(--laranja); color: white; }

.detalhes-container { display: flex; gap: 30px; margin: 100px auto; }
.detalhes-main { flex: 2; background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.detalhes-sidebar { flex: 1; }
.galeria-fotos { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 30px; }
.galeria-fotos img { width: 100%; height: 450px; object-fit: cover; }
.galeria-controles { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 10px; }
.galeria-controles button { background: rgba(255,255,255,0.9); border: none; padding: 10px 15px; border-radius: 5px; cursor: pointer; font-weight: 600; color: var(--azul-escuro); }
.galeria-controles button:hover { background: var(--laranja); color: white; }

.detalhes-info h1 { color: var(--azul-escuro); margin-bottom: 10px; }
.detalhes-local { color: #666; font-size: 16px; margin-bottom: 20px; }
.detalhes-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.detalhes-badges span { background: #eef2f5; padding: 8px 15px; border-radius: 20px; font-size: 14px; color: var(--azul-escuro); font-weight: 600; }
.detalhes-texto { line-height: 1.8; color: #444; font-size: 16px; }

.box-reserva { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); position: sticky; top: 120px; }
.btn-email { display: block; width: 100%; background: white; color: #333; border: 1px solid #ccc; text-align: center; margin-bottom: 15px; }
.btn-email:hover { background: #f4f4f4; }
.btn-zap { display: block; width: 100%; background: white; color: #333; border: 1px solid #ccc; text-align: center; }
.btn-zap i { color: #25D366; }
.btn-zap:hover { background: #f4f4f4; }

/* -------------------- RESPONSIVIDADE (CELULARES) -------------------- */
@media (max-width: 900px) {
    .header-container { flex-direction: column; gap: 15px; padding-bottom: 10px; }
    
    .logo-link { justify-content: center; width: 100%; }
    .hero-content h2 { font-size: 38px; }

    .nav-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px; width: 100%; padding: 10px 0; }
    .dropdown-content { position: relative; min-width: 100%; box-shadow: none; background-color: transparent; margin-top: 5px; }
    .dropdown-content a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
    .dropdown-content::before { display: none; }

    .solucoes-grid { grid-template-columns: 1fr; }
    .solucoes h2 { font-size: 32px; }

    .footer-content { flex-direction: column; text-align: center; gap: 30px; }
    .footer-info { text-align: center; }
    
    .filtro-box { flex-direction: column; width: 90%; }
    .detalhes-container { flex-direction: column; margin: 40px auto; }
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 400px) {
    .contato-info-box { width: 100%; }
    .email-text { white-space: normal; word-wrap: break-word; }
}