@charset "UTF-8";
/* ---
Paleta de Cores:
Azul Escuro: #223a54
Ouro Escuro: #8c7146
Ouro Claro: #c0ad82
Branco: #ffffff

Fontes:
Títulos: 'Cinzel', serif
Textos: 'Lato', sans-serif
--- */

/* --- Reset Básico e Estilos Globais --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto; /* Centraliza o conteúdo */
    padding: 0 20px; /* Espaçamento lateral */
}

a {
    color: #8c7146; /* Ouro Escuro para links */
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #223a54; /* Azul Escuro no hover */
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Cabeçalho e Navegação --- */
.header-public {
    background-color: #223a54; /* Azul Escuro */
    padding: 20px 0;
    border-bottom: 4px solid #c0ad82; /* Ouro Claro */
}

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

.header-public .logo {
    font-family: 'Cinzel', serif;
}
.header-public .logo a { 
    font-size: 28px;
    font-weight: 700; /* Bold para o nome principal */
    color: #ffffff; 
    display: block;
    line-height: 1.1;
}
.header-public .logo span {
    font-size: 14px;
    font-weight: 400; /* Regular para o subtítulo */
    color: #c0ad82; /* Ouro Claro */
    letter-spacing: 0.5px;
}

.nav-public ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-public ul li {
    margin-left: 25px;
}

.nav-public ul li a {
    color: #ffffff;
    font-family: 'Cinzel', serif; /* Fonte de título no menu */
    font-weight: 400;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}

.nav-public ul li a:hover,
.nav-public ul li a.active {
    border-bottom-color: #c0ad82; /* Ouro Claro */
    color: #c0ad82;
}

/* --- Rodapé --- */
.footer-public {
    background-color: #333;
    color: #f1f1f1;
    padding: 40px 0;
    margin-top: 50px;
    font-size: 15px; /* Aumentei um pouco a fonte base do rodapé */
}

.footer-public .container {
    display: grid; /* Mudei para grid para melhor alinhamento */
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer-public h4 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid #c0ad82; /* Ouro Claro */
    padding-bottom: 10px;
}

.footer-public .footer-col {
    /* Não precisa mais de width */
}

.footer-public ul {
    list-style: none;
    padding: 0;
}
.footer-public ul li {
    margin-bottom: 10px;
}
.footer-public ul li a {
    color: #f1f1f1;
}
.footer-public ul li a:hover {
    color: #c0ad82; /* Ouro Claro */
}

/* --- Seções da Página Home --- */
.hero {
    background: #223a54; /* Azul Escuro */
    color: white;
    padding: 80px 0;
    text-align: center;
}
.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    margin-bottom: 15px;
}
.hero p {
    font-size: 20px;
    font-weight: 300;
    color: #c0ad82; /* Ouro Claro */
}

.page-section {
    padding: 60px 0;
}
.page-section h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #223a54; /* Azul Escuro */
}

/* --- Grid do Blog (Home) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsivo */
    gap: 30px; /* Espaço entre elas */
}

.blog-post-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden; /* Para o efeito da imagem */
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}
.blog-post-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.blog-post-card img.featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Garante que a imagem cubra o espaço */
    background: #eee; /* Cor de fundo caso não tenha imagem */
}
.blog-post-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-post-card .card-content h3 {
    font-family: 'Cinzel', serif;
    margin-top: 0;
    font-size: 22px;
    color: #223a54; /* Azul Escuro */
}
/* Link do título do post */
.blog-post-card .card-content h3 a {
    color: #223a54;
}
.blog-post-card .card-content h3 a:hover {
    color: #8c7146;
}
.blog-post-card .card-content .excerpt {
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}
.blog-post-card .card-content .read-more {
    font-weight: bold;
    color: #8c7146; /* Ouro Escuro */
    font-family: 'Cinzel', serif;
}
.blog-post-card .card-content .read-more:hover {
    color: #223a54; /* Azul Escuro */
}


/* --- Estilos para PÁGINAS INTERNAS (SOBRE) --- */
.page-header {
    background-color: #223a54;
    padding: 40px 0;
    text-align: center;
    color: #ffffff;
}
.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    margin: 0;
    color: #c0ad82; /* Ouro Claro */
}

/* Layout de 2 colunas */
.content-layout {
    display: flex;
    flex-wrap: wrap; /* Para responsividade */
    gap: 40px;
}
.content-main {
    flex: 2; /* Ocupa 2/3 do espaço */
    min-width: 300px; /* Largura mínima */
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.content-sidebar {
    flex: 1; /* Ocupa 1/3 do espaço */
    min-width: 280px; /* Largura mínima */
}

.content-main .content-title {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: #223a54;
    border-bottom: 2px solid #c0ad82;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: left;
}
.content-main p {
    font-size: 17px;
    margin-bottom: 20px;
}

.sidebar-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.sidebar-box h3 {
    font-family: 'Cinzel', serif;
    color: #223a54;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.sidebar-box .icon {
    margin-right: 8px;
    font-style: normal;
}
.sidebar-box ul {
    list-style: none;
    padding-left: 10px;
}
.sidebar-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}
.sidebar-box ul li::before {
    content: '⚖'; /* Ícone de balança (pode trocar) */
    position: absolute;
    left: 0;
    top: 0;
    color: #8c7146; /* Ouro Escuro */
    font-size: 14px;
}


/* --- Estilos para ÁREAS DE ATUAÇÃO --- */
.areas-grid {
    display: grid;
    /* Cria colunas de no mínimo 300px, e preenche o espaço */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.area-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}
.area-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.area-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #8c7146; /* Ouro Escuro */
    font-family: serif; /* Para que os emojis de ícones fiquem mais sérios */
}

.area-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #223a54; /* Azul Escuro */
    margin-top: 0;
    margin-bottom: 15px;
}

.area-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}


/* --- Estilos para BLOG (LISTA E POST ÚNICO) --- */
.blog-grid.single-column .blog-post-card {
    /* Faz os cards ocuparem a largura toda (como uma lista) */
    grid-column: 1 / -1; 
}
.post-meta {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #8c7146; /* Ouro Escuro */
    margin-bottom: 10px;
}

/* Post Único (post.php) */
.post-featured-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.post-content p {
    font-size: 18px; /* Texto mais confortável para leitura */
    line-height: 1.7;
    margin-bottom: 25px;
}
.post-content h2 {
    font-family: 'Cinzel', serif;
    color: #223a54;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}
.post-content h3 {
    font-family: 'Cinzel', serif;
    color: #223a54;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.post-content ul, .post-content ol {
    font-size: 18px;
    line-height: 1.7;
    padding-left: 30px;
    margin-bottom: 25px;
}
.post-content blockquote {
    border-left: 4px solid #c0ad82; /* Ouro Claro */
    padding-left: 25px;
    margin-left: 0;
    font-size: 19px;
    font-style: italic;
    color: #555;
}

/* Lista de detalhes na sidebar */
.sidebar-box ul.post-details-list li::before {
    content: ''; /* Remove o ícone de balança */
}
.sidebar-box ul.post-details-list li {
    padding-left: 0;
    line-height: 1.5;
}
.sidebar-box ul.post-details-list li strong {
    color: #223a54;
}


/* --- Estilos para CONTATO --- */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.contact-form-container {
    flex: 2;
    min-width: 300px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.contact-info-container {
    flex: 1;
    min-width: 280px;
}

/* Formulário (COM A CORREÇÃO) */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block; /* <-- Põe o label ACIMA do campo */
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}
.form-control {
    width: 100%; /* <-- Faz o campo ter 100% de largura */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px; /* <-- ARREDONDA OS CANTOS */
    box-sizing: border-box; /* Importante */
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}
.form-control:focus {
    border-color: #8c7146;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(140, 113, 70, 0.2);
}
textarea.form-control {
    min-height: 150px;
}

.btn-submit {
    background-color: #223a54; /* Azul Escuro */
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 25px;
    border: none;
    border-radius: 5px; /* <-- ARREDONDA O BOTÃO */
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-submit:hover {
    background-color: #8c7146; /* Ouro Escuro */
}

/* Caixa de Mapa */
.map-container {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.map-container iframe {
    display: block;
}

/* Lista de Infos de Contato */
.contact-info-list {
    list-style: none;
    padding: 0;
}
.contact-info-list li {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}
.contact-info-list li strong {
    font-family: 'Cinzel', serif;
    color: #223a54;
    font-size: 17px;
}

/* Mensagens de Alerta */
.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
}
.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde WhatsApp */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}


/* --- NOVOS ESTILOS PARA AGENDAMENTO --- */

.schedule-step {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.service-selection select {
    max-width: 500px;
}

.schedule-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}
.calendar-container {
    flex: 2;
    min-width: 400px;
}
.slots-container {
    flex: 1;
    min-width: 250px;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
}
.slots-container h4 {
    margin-top: 0;
    font-family: 'Cinzel', serif;
    color: #223a54;
}

/* Calendário */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.calendar-header strong {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #223a54;
}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
}
.calendar-table th {
    font-family: 'Cinzel', serif;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd; /* Adicionado para a grade do cabeçalho */
}
.calendar-table td {
    border: 1px solid #ddd; /* <-- A LINHA QUE CRIA A GRADE */
    width: 14.28%;
    height: 70px;
    text-align: right;
    padding: 8px;
    vertical-align: top;
    font-weight: bold;
}
.calendar-table td.past {
    background: #f7f7f7;
    color: #aaa;
}
.calendar-table td.today {
    background: #fff8e1;
}
.calendar-table td.selected a {
    background: #223a54;
    color: #ffffff;
}
.calendar-table td a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    color: #8c7146;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}
.calendar-table td a:hover {
    background: #c0ad82;
    color: #ffffff;
}

/* Slots (Horários) */
.slot-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}
.slot-item {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid #c0ad82;
    color: #8c7146;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}
.slot-item:hover {
    background: #8c7146;
    color: #ffffff;
    border-color: #8c7146;
}
.slot-item-none {
    font-style: italic;
    color: #777;
}

/* Modal */
.modal-overlay {
    display: none; /* Oculto por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    /* --- A CORREÇÃO ESTÁ AQUI --- */
    align-items: flex-start; /* Alinha ao topo (em vez de 'center') */
    /* --- FIM DA CORREÇÃO --- */
    justify-content: center;
    overflow-y: auto; /* Permite scroll vertical */
    padding: 50px 30px; /* Adiciona padding no topo (50px) */
    box-sizing: border-box;
}
.modal-content {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    box-sizing: border-box; 
    margin-bottom: 50px; /* Garante um espaço no fundo ao rolar */
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
}
.modal-content h3 {
    font-family: 'Cinzel', serif;
    color: #223a54;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
}
.modal-content p {
    font-size: 17px;
}
/* Esconde o modal ao invés de usar JS, para o caso de o JS não ter carregado */
.modal-overlay:not([style*="display: flex"]) {
    display: none;
}