:root {
    --primary-color: #2C2C2C;      /* Preto suave */
    --secondary-color: #c8ae8c;    /* Dourado do logo */
    --accent-color: #4A4A4A;       /* Cinza escuro */
    --text-light: #F5F5F5;         /* Branco off-white */
    --text-dark: #333333;          /* Cinza escuro quase preto */
    --bg-light: #F8F8F8;           /* Fundo claro */
    --bg-medium: #EFEFEF;          /* Fundo médio */
    --gray-light: #D1D1D1;         /* Cinza claro */
    --gray-medium: #9A9A9A;        /* Cinza médio */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    border-top: 3px solid var(--secondary-color);
}

/* Elementos de texto */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h2 {
    margin: 2rem 0 1.5rem 0;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

h5 {
    margin: 1.5rem 0 1rem 0;
    color: var(--primary-color);
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    border-bottom: 2px solid var(--secondary-color);
}

.navbar-brand img.logo {
    height: 50px;
    transition: var(--transition);
}

.navbar-brand img.logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    background: rgba(200, 174, 140, 0.1);
}

/* Headers para cada página */
.hero {
    background: url('../images/bg-hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--text-light);
    padding: 150px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.85); /* Preto suave com opacidade */
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Cards e Seções */
.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--secondary-color);
    border-bottom: 1px solid var(--gray-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    border-bottom: 1px solid var(--secondary-color);
}

.contact-card {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--secondary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.contact-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    box-shadow: 0 1px 3px rgba(200, 174, 140, 0.3);
}

/* Botões */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    box-shadow: var(--box-shadow);
    border-bottom: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    background-color: #1a1a1a; /* Versão mais escura do primary-color */
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Formulários */
.form-control {
    border-radius: 8px;
    padding: 0.8rem 1rem;
    border: 2px solid #eee;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(166, 124, 82, 0.25);
}

/* Footer */
.page-header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    border-bottom: 5px solid var(--secondary-color);
}

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 5px solid var(--secondary-color);
}

.footer h5 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    margin-right: 1rem;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card, .contact-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Landing Page */
.cta-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    border-left: 4px solid var(--secondary-color);
}

/* Páginas Internas */
.internal-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0;
    border-bottom: 5px solid var(--secondary-color);
}

.content-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.requirements-list {
    list-style: none;
    padding-left: 0;
}

.requirements-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.requirements-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 15px;
}

.requirements-list li:last-child {
    border-bottom: none;
}

/* Formulário de Contato */
.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Specialist Info */
.specialist-info {
    margin-bottom: 30px;
}

.specialist-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Auxilio Doença Header */
.auxilio-doenca-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

/* Auxilio Acidente Header */
.auxilio-acidente-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

/* Contato Header */
.contato-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

/* Landing Hero */
.landing-hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    border-bottom: 5px solid var(--secondary-color);
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ccc;
    text-decoration: underline;
}

/* Seção Sobre o Advogado */
.about-lawyer {
    padding: 5rem 0;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.about-lawyer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.about-lawyer .container {
    position: relative;
    z-index: 2;
}

.lawyer-image {
    text-align: center;
    margin-bottom: 2rem;
}

.lawyer-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    object-position: center 0;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.lawyer-info h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.lawyer-info h4 {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.lawyer-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.lawyer-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-medium);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--secondary-color);
}

.highlight-item span {
    font-weight: 500;
}
