/* ==========================================================================
   DESIGN SYSTEM & ESTILOS GLOBAIS
   Renan Broch Bonaroski Advocacia
   ========================================================================== */

/* Importação das Fontes (Playfair Display para títulos e Inter para texto de leitura) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Paleta de Cores */
    --base: #0E1B2C;         /* Azul-marinho profundo / Grafite escuro */
    --base-light: #162a42;   /* Variação mais clara para hovers e backgrounds alternativos */
    --accent: #B8935F;       /* Dourado envelhecido institucional */
    --accent-hover: #a37f4e; /* Dourado envelhecido mais escuro para estados ativos/hover */
    --accent-light: #f6efe6; /* Dourado muito claro para fundos e realces sutis */
    --text: #2B2E33;         /* Cinza-chumbo escuro para alta legibilidade */
    --text-light: #5C626C;   /* Cinza médio para textos secundários e legendas */
    --bg: #FAFAF8;           /* Fundo off-white refinado */
    --bg-card: #FFFFFF;      /* Fundo de cards em branco puro para contraste */
    --border: #E5E6E0;       /* Cor de borda sutil */
    --border-accent: rgba(184, 147, 95, 0.25);
    
    /* Tipografia */
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Espaçamentos e Medidas */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Transições e Sombras */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-subtle: 0 4px 20px rgba(14, 27, 44, 0.03);
    --shadow-medium: 0 10px 30px rgba(14, 27, 44, 0.05);
    --shadow-hover: 0 20px 40px rgba(14, 27, 44, 0.08);
}

/* Reset Geral */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
}

/* Cabeçalhos e Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--base);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem; /* ~36px */
    letter-spacing: -0.01em;
}

h2 {
    font-size: 1.85rem; /* ~30px */
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

/* Linha dourada decorativa sutil abaixo do título H2 */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

/* Efeito sutil ao passar o mouse em seções contendo H2 */
section:hover h2::after {
    width: 60px;
}

h3 {
    font-size: 1.35rem; /* ~21px */
    margin-bottom: 12px;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Divisores Elegantes */
.subtle-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    color: var(--accent);
    opacity: 0.5;
}

.subtle-divider::before, .subtle-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background-color: var(--accent);
}

.subtle-divider span {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    transform: rotate(45deg);
}

/* Links e Botões */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Botões do Design System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(184, 147, 95, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--base);
    border-color: var(--base);
}

.btn-secondary:hover {
    background-color: var(--base);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-text-link {
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-text-link:hover {
    color: var(--accent-hover);
}

.btn-text-link:hover span {
    transform: translateX(4px);
}

.btn-text-link span {
    display: inline-block;
    transition: var(--transition-smooth);
}

/* Layout Geral & Containers */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 80px 0;
}

.section-dark {
    background-color: var(--base);
    color: #FFFFFF;
}

.section-dark h2, .section-dark h3 {
    color: #FFFFFF;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

/* Elementos Visuais Sutis e Padrão de Fundo */
.bg-pattern {
    position: relative;
}

/* Adiciona linhas verticais sutis que descem no fundo como um grid sofisticado */
.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    bottom: 0;
    background: linear-gradient(to right, rgba(14, 27, 44, 0.015) 1px, transparent 1px);
    background-size: 40% 100%;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   COMPONENTE: HEADER (CABEÇALHO)
   ========================================================================== */
header {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
    height: var(--header-height);
}

.header-container {
    max-width: var(--container-max-width);
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    height: 42px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding-left: 14px;
    border-left: 1px solid var(--border);
}

.logo-name {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--base);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.logo-role {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Navegação */
nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

nav a:hover, nav a.active {
    color: var(--base);
}

/* Linha indicadora de aba ativa/hover */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav a:hover::after, nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Menu Hambúrguer (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--base);
    position: absolute;
    left: 0;
    transition: var(--transition-smooth);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* Estado Ativo do Menu Toggle */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Compensação para o Header Fixo */
main {
    margin-top: var(--header-height);
}

/* ==========================================================================
   PÁGINA: HOME (INDEX.HTML)
   ========================================================================== */

/* Hero Section */
.hero {
    background-color: var(--base);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    border-bottom: 4px solid var(--accent);
}

/* Linhas sutis decorativas ao fundo do Hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(184, 147, 95, 0.08) 0%, transparent 60%),
        linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 8% 100%;
    pointer-events: none;
}

.hero-container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.hero h1 {
    color: #FFFFFF;
    font-size: 2.85rem;
    margin-bottom: 24px;
    max-width: 850px;
    line-height: 1.25;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 720px;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Quem Sou (Home) */
.about-home {
    background-color: #FFFFFF;
    position: relative;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.portrait-container {
    width: 100%;
    position: relative;
    padding: 15px; /* Abre espaço para moldura dourada decorativa */
}

/* Moldura dourada decorativa sutil atrás da foto */
.portrait-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 1px solid var(--accent);
    z-index: 0;
    pointer-events: none;
}

.portrait-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.portrait-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border);
}

/* Seção de Áreas de Atuação (Cards de Peso Igual) */
.practice-areas-home {
    background-color: var(--bg);
    position: relative;
}

.section-intro-center {
    max-width: 720px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.section-intro-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    z-index: 1;
    position: relative;
}

.card-practice {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    position: relative;
}

/* Detalhe de borda dourada sutil em todo o card no hover */
.card-practice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    pointer-events: none;
}

/* Linha horizontal no topo do card */
.card-practice::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.card-practice:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-practice:hover::before {
    border-color: var(--border-accent);
}

.card-practice:hover::after {
    width: 100%;
}

.card-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.card-practice:hover .card-icon {
    transform: scale(1.08);
}

.card-practice h3 {
    margin-bottom: 18px;
    font-size: 1.55rem;
}

.card-practice p {
    font-size: 0.95rem;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Formação Técnica Aplicada */
.features-section {
    background-color: #FFFFFF;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background-color: var(--bg);
    border: 1px solid var(--border);
    padding: 35px 28px;
    transition: var(--transition-smooth);
    position: relative;
}

/* Pequeno friso dourado no canto superior de cada box */
.feature-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    width: 30px;
    height: 1px;
    background-color: var(--accent);
}

.feature-box:hover {
    background-color: #FFFFFF;
    box-shadow: var(--shadow-medium);
    border-color: var(--accent);
}

.feature-box h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--base);
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.65;
}

/* Seção de Fluxo de Trabalho (Novo conteúdo informativo que substitui o CTA da home) */
.workflow-section {
    background-color: var(--bg);
    border-top: 1px solid var(--border);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.workflow-step {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid var(--border-accent);
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -4px;
    width: 7px;
    height: 7px;
    background-color: var(--accent);
    border-radius: 50%;
}

.workflow-number {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 12px;
}

.workflow-step h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.workflow-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   PÁGINA: SOBRE MIM (SOBRE.HTML)
   ========================================================================== */
.about-hero {
    background-color: var(--base);
    color: #FFFFFF;
    padding: 65px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 15%;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle, rgba(184, 147, 95, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero h1 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.about-content {
    background-color: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 70px;
    align-items: flex-start;
}

.about-text {
    font-size: 1.05rem;
}

.about-text p {
    margin-bottom: 1.8rem;
    text-align: justify;
    color: var(--text);
}

/* ==========================================================================
   PÁGINA: ÁREA DE ATUAÇÃO (AREA-DE-ATUACAO.HTML)
   ========================================================================== */
.practice-intro-nav {
    display: flex;
    gap: 20px;
    margin: 30px 0 0 0;
}

.practice-block {
    margin-bottom: 80px;
    padding-top: 60px; /* Margem interna maior para âncoras */
}

.practice-block:last-child {
    margin-bottom: 0;
}

.practice-block-header {
    margin-bottom: 40px;
    max-width: 850px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.practice-block-header h2 {
    font-size: 2.1rem;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.practice-block-header h2::after {
    display: none; /* Remove linha padrão pois usamos borda lateral */
}

.practice-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.practice-item-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    padding: 35px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Pequeno friso dourado que desliza na borda esquerda no hover */
.practice-item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.practice-item-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-accent);
}

.practice-item-card:hover::before {
    background-color: var(--accent);
}

.practice-item-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--base);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.practice-item-card h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.8;
}

.practice-item-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.65;
}

/* ==========================================================================
   PÁGINA: DÚVIDAS E ARTIGOS (DUVIDAS-E-ARTIGOS.HTML)
   ========================================================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    position: relative;
}

/* Friso de hover sutil */
.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.article-card:hover::after {
    width: 100%;
}

.article-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-accent);
}

.article-card h3 {
    font-size: 1.25rem;
    line-height: 1.45;
    margin-bottom: 16px;
    color: var(--base);
}

.article-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 28px;
    flex-grow: 1;
}

.btn-disabled {
    color: var(--text-light);
    cursor: default;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.article-card:hover .btn-disabled {
    color: var(--accent);
}

/* ==========================================================================
   PÁGINA: CONTATO (CONTATO.HTML)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 70px;
}

/* Painel de Informações de Contato */
.contact-info-panel {
    background-color: var(--base);
    color: #FFFFFF;
    padding: 55px 45px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* Padrão decorativo sutil no card escuro de contatos */
.contact-info-panel::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(184, 147, 95, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-panel h3 {
    color: #FFFFFF;
    font-size: 1.6rem;
    margin-bottom: 35px;
    border-left: 2px solid var(--accent);
    padding-left: 15px;
}

.contact-details-list {
    list-style: none;
    margin-bottom: 40px;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 35px;
}

.contact-details-list li:last-child {
    margin-bottom: 0;
}

.contact-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
    background-color: rgba(255, 255, 255, 0.03);
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 5px;
    display: block;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 300;
}

.contact-value a:hover {
    color: var(--accent);
}

.contact-socials-row {
    display: flex;
    gap: 20px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 35px;
}

.social-circle-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
}

.social-circle-link:hover {
    background-color: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Formulário de Contato */
.contact-form-wrapper {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    padding: 50px 45px;
    box-shadow: var(--shadow-subtle);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group.full-width {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border-radius: 2px;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(184, 147, 95, 0.08);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

/* ==========================================================================
   COMPONENTE: FOOTER (RODAPÉ)
   ========================================================================== */
footer {
    background-color: var(--base);
    color: #FFFFFF;
    border-top: 4px solid var(--accent);
}

.footer-top {
    padding: 70px 0 45px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr;
    gap: 70px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 14px;
    font-family: var(--font-title);
    letter-spacing: 0.02em;
}

.footer-brand .logo-img {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-brand .footer-name {
    margin-bottom: 6px;
}

.footer-brand .footer-oab {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Nota de registro profissional (OAB) separada dos canais diretos de contato */
.contact-oab-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: -10px;
    margin-bottom: 0;
}

.contact-oab-note span:last-child {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    display: inline-block;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-list li a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 30px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
    transform: translateY(-5px) scale(1.03);
    background-color: #20BA5A;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA (Intersection Observer)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   REGRAS DE RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Telas Médias (Tablets ~768px) */
@media (max-width: 992px) {
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-grid .portrait-container {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-grid .footer-brand {
        grid-column: span 2;
    }
}

/* Telas Pequenas (Celulares/Mobile ~375px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .logo-mark {
        height: 34px;
    }
    
    .logo-wordmark {
        padding-left: 10px;
        gap: 0;
    }
    
    .logo-name {
        font-size: 0.9rem;
    }
    
    .logo-role {
        font-size: 0.6rem;
    }
    
    .container {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.1rem;
    }
    
    /* Menu Hamburguer Mobile */
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #FFFFFF;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 40px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1009;
        overflow-y: auto;
        border-top: 1px solid var(--border);
    }
    
    nav.open {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    nav a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    nav a::after {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-info-panel {
        padding: 30px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }
    
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
