p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto; /* Para compatibilidade com Safari */
}

/* Reset Básico para consistência */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis de Cores e Tipografia: Suavizando os contrastes */
:root {
    --gold: #D4AF37; /* O dourado permanece como cor de destaque */
    --gold-hover: #b9932d;
    --black-charcoal: #1A1A1A; /* Preto suavizado para o texto */
    --black-deep: #111111; /* Preto para fundos escuros */
    --light-grey-soft: #FAFAFA; /* Fundo cinza quase branco para conforto visual */
    --white: #ffffff;
    --text-body: #444444; /* Cinza escuro para o texto do corpo, menos agressivo */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--black-charcoal);
    background-color: var(--white);
    /* Conforto visual: Aumentando o espaçamento entre as linhas do texto principal */
    line-height: 1.7; 
    font-weight: 300;
}

/* Container principal com mais respiro lateral */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px; /* Mais espaço nas bordas */
}

/* Tipografia e Títulos: Mais limpos e com espaçamento */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--black-deep);
}

h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 10px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 15px; }

/* Subtítulos de Seção com divisores dourados sutis */
.section-title {
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Texto à esquerda com divisor sutil no local */
.text-left::after { margin: 10px 0 0; }

/* Botões: Mais elegantes e com texto em caixa alta */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

/* Header: Reduzido e mais limpo */
.header {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    max-height: 90px;
    margin-top: 10px; /* Isso ajuda a centralizar se a logo ficar muito grande */
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Main content spacing: Dando respiro entre as seções */
main section {
    padding: 120px 0; /* Aumentando o preenchimento para 120px para mais respiro */
}

/* Hero Section: Design limpo com foco em texto e autoridade */
.hero {
    background-color: var(--light-grey-soft);
    padding: 100px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1.2;
    max-width: 600px;
}

.credential {
    font-family: var(--font-heading);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.credential-reg {
    margin-top: 15px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--black-charcoal);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 15px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 300px; /* Reduzindo a imagem de perfil */
    border-radius: 50%; /* Imagem em formato circular para suavidade */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 5px solid var(--white);
}

/* Seção de Especialidades: Cartões com design discreto e limpo */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Mais espaço entre os cartões */
    margin-top: 60px;
}

.service-card {
    background-color: var(--light-grey-soft);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.icon-placeholder {
    font-size: 3rem;
    margin-bottom: 25px;
}

.service-card p {
    color: var(--text-body);
    font-size: 1rem;
}

/* Seção Sobre: Layout limpo em duas colunas */
.about {
    background-color: var(--light-grey-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-title-block .section-title {
    margin-bottom: 10px;
}

.divider {
    width: 50px;
    height: 4px;
    background-color: var(--gold);
    margin: 10px 0;
}

.about-content p {
    color: var(--text-body);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Seção de Contato: Foco no Call to Action */
.contact {
    background-color: var(--black-deep);
    color: var(--white);
    text-align: center;
    padding: 140px 0;
}

.contact .section-title {
    color: var(--white);
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Rodapé: Minimalista e completo */
.footer {
    background-color: var(--black-deep);
    color: #888;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

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

/* Seção de Importância (Zigue-Zague) */
.importance-section {
    background-color: var(--white);
    padding: 100px 0;
}

.importance-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

/* Remove a margem do último bloco para não dar espaço extra */
.importance-row:last-child {
    margin-bottom: 0;
}

.importance-image {
    flex: 1;
}

.importance-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    display: block;
}

.importance-text {
    flex: 1;
}

.importance-text p {
    color: var(--text-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.importance-text .section-title {
    margin-bottom: 10px;
    padding-bottom: 0;
}

.importance-text .section-title::after {
    display: none; /* Remove a linha dourada padrão do título da seção para usar o divider */
}

/* Responsividade básica para dispositivos móveis */
@media (max-width: 768px) {
    /* Ajustes para a seção de importância no celular */
    .importance-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .reverse-row {
        flex-direction: column-reverse; /* Força a imagem a ficar em cima do texto no celular também */
    }
    .container { padding: 0 20px; }

    .header-container { flex-direction: column; height: auto; padding: 15px 0; }
    .nav ul { gap: 15px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }

    main section { padding: 80px 0; }
    
    .hero-container { flex-direction: column; text-align: center; gap: 30px; }
    h1 { font-size: 2.2rem; }
    .hero-text { flex: none; width: 100%; max-width: none; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-image img { max-width: 200px; margin-top: 20px; }

    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-title-block .section-title { text-align: left; }
    .about-title-block .section-title::after { margin-left: 0; }
    
    .footer-container { flex-direction: column; gap: 10px; text-align: center; }
}

/* Botão do WhatsApp Flutuante */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    background-color: #20b858;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.2);
}

.whatsapp-icon {
    width: 38px;
    height: 38px;
}

/* Ajuste do botão para celular */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
}