/*
Theme Name: Advogado Criminalista
Theme URI: https://seusite.com
Author: Seu Nome
Author URI: https://seusite.com
Description: Tema profissional para advogado criminalista com foco em conversão e SEO
Version: 2.0.0
License: GPL v2 or later
Text Domain: advcriminal
*/

/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #c9a050;
    --accent-color: #192d4d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gray-bg: #f8f9fa;
    --dark-bg: #0f0f1a;
    --success-color: #25d366;
    --danger-color: #dc3545;
    --border-radius: 10px;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-logo {
	width: 185px !important;
	height: auto !important;
}
/* ============================================
   HEADER STICKY
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.8rem 5%;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 0.5rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo h1 a {
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.main-menu a:hover,
.main-menu .current-menu-item a {
    color: black;
	font-weight: 600;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.main-menu a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 50px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ============================================
   BOTÕES GLOBAIS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #b58b40;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201,160,80,0.4);
}

.btn-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--text-light);
    background: transparent;
}

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

.btn-whatsapp {
    background: var(--success-color);
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37,211,102,0.4);
}

.btn-phone {
    background: var(--text-light);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
}

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

.btn-whatsapp-1 {
	background-color: #25d366;
    color: black;
}

.btn-whatsapp-1:hover {
	background-color: black;
    color: white;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
    padding: 5rem 5%;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(201,160,80,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-placeholder {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(201,160,80,0.3);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-placeholder i {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.hero-placeholder p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--secondary-color);
    padding: 1.5rem 5%;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-item i {
    font-size: 1.3rem;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title span {
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ÁREAS DE ATUAÇÃO
   ============================================ */
.practice-areas {
    padding: 5rem 5%;
    background: var(--text-light);
}

.areas-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.area-card {
    background: var(--gray-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.area-card i {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    display: block;
}

.area-card h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1.15rem;
}

.area-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   AUTORIDADE / SOBRE
   ============================================ */
.authority-section {
    padding: 5rem 5%;
    background: var(--gray-bg);
}

.authority-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.authority-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.authority-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.authority-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.authority-list li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.authority-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
}

.authority-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.authority-placeholder {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.authority-placeholder i {
    font-size: 8rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

/* ============================================
   COMO FUNCIONA
   ============================================ */
.how-it-works {
    padding: 5rem 5%;
    background: var(--text-light);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
    background: var(--text-light);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(201,160,80,0.4);
}

.step-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.step-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.step-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-section {
    padding: 5rem 5%;
    background: var(--gray-bg);
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--text-light);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-rating {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-case {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.3rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 5rem 5%;
    background: var(--text-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-bg);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--secondary-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: var(--gray-bg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-size: 1rem;
    color: var(--primary-color);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-question i {
    transition: var(--transition);
    color: var(--secondary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 20px;
}
.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-container p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ============================================
   FORMULÁRIO DE CONTATO
   ============================================ */
.contact-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
}

.contact-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.contact-container h2 span {
    color: var(--secondary-color);
}

.contact-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--text-light);
    box-shadow: 0 0 0 4px rgba(201,160,80,0.1);
}

.submit-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #b58b40;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201,160,80,0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
}

.form-disclaimer i {
    color: var(--secondary-color);
}

/* ============================================
   LOCALIZAÇÃO
   ============================================ */
.location-section {
    padding: 5rem 5%;
    background: var(--gray-bg);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-detail i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 0.3rem;
}

.location-detail p {
    color: #555;
    line-height: 1.6;
}

.location-map iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    border: none;
}

.map-placeholder {
    background: var(--text-light);
    border: 2px dashed #ddd;
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.map-placeholder p {
    color: #999;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--success-color);
    color: var(--text-light);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-align: center;
    font-size: 2.2rem;
    line-height: 65px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: #333;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    line-height: 1.4;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,0.8);
    padding: 4rem 5% 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-content h3,
.footer-content h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-info p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-info i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 18px;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-hours p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
}

.footer-oab {
    margin-top: 0.3rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* ============================================
   PÁGINAS INTERNAS
   ============================================ */
.main-content {
    padding: 3rem 5%;
    min-height: 60vh;
}

.main-content .container {
    max-width: 900px;
}

.entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-bg);
}

.entry-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.entry-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.nav-links .page-numbers {
    padding: 0.6rem 1rem;
    background: var(--gray-bg);
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 5rem 2rem;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404 h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-404 p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Search Results */
.search-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-bg);
}

.search-header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.search-header h1 span {
    color: var(--secondary-color);
}

/* Archive Header */
.archive-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-bg);
}

.archive-header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Widget Area (Sidebar) */
.widget-area {
    padding: 2rem;
}

.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-bg);
    border-radius: var(--border-radius);
}

.widget h2 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.widget a {
    color: #555;
    transition: var(--transition);
}

.widget a:hover {
    color: var(--secondary-color);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
    .hero-container,
    .authority-container,
    .location-container {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-menu {
        position: fixed;
        top: 135px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--text-light);
        transition: left 0.3s ease;
        padding: 2rem;
        z-index: 999;
        overflow-y: auto;
    }

    .main-menu.active {
        left: 0;
    }

    .main-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .main-menu a {
        font-size: 1.1rem;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        padding: 3rem 5%;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .trust-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .authority-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 2rem 1.5rem;
    }

    .cta-container h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .authority-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .error-404 h1 {
        font-size: 5rem;
    }
}

/* ============================================
   PÁGINA DE TERMOS E POLÍTICA DE PRIVACIDADE
   ============================================ */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 5rem 5% 3rem;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.legal-hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.legal-hero h1 span {
    color: var(--secondary-color);
}

.legal-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.legal-page {
    padding: 3rem 5%;
    background: var(--gray-bg);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Navegação interna */
.legal-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.legal-nav-link {
    padding: 0.8rem 2rem;
    background: var(--text-light);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-nav-link:hover,
.legal-nav-link.active {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.legal-nav-link i {
    font-size: 1rem;
}

/* Seções */
.legal-section {
    margin-bottom: 4rem;
}

.legal-section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.legal-section-title i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.legal-updated {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legal-updated i {
    color: var(--secondary-color);
}

/* Cards */
.legal-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.legal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.legal-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-card h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 1.2rem 0 0.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legal-card h4 i {
    color: var(--secondary-color);
}

.legal-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 0.98rem;
}

.legal-card ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

.legal-card ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.legal-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.legal-card a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.legal-card a:hover {
    color: var(--primary-color);
}

/* Contato */
.legal-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.legal-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.legal-contact h3 i {
    color: var(--secondary-color);
}

.legal-contact > p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.legal-contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.legal-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.legal-contact-info i {
    color: var(--secondary-color);
}

.legal-contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.legal-contact-info a:hover {
    color: var(--secondary-color);
}

/* Responsivo - Legal Pages */
@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 1.7rem;
    }

    .legal-nav {
        flex-direction: column;
        align-items: center;
    }

    .legal-nav-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .legal-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}