/* ==========================================================================
   Mobile First CSS - Ribeiro Cavalcante Landing Page
   Brand Colors: #050d28 (Dark Blue), #d18b00 (Gold)
   Fonts: Inter, Poppins
   ========================================================================== */

/* Base Styles - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #050d28;
    --secondary-color: #d18b00;
    --accent-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #0a1a4a;
    border-color: #0a1a4a;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #b8770a;
    border-color: #b8770a;
    color: white;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20b858, #0e6b5e);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Header Styles */
.header-section {
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-section.scrolled {
    background-color: rgba(5, 13, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-section.scrolled .logo-header {
    transform: scale(0.9);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.logo-header {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo-header:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* ===== HERO SECTION REFATORADA ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

/* Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(5, 13, 40, 0.9) 0%,
        rgba(5, 13, 40, 0.7) 50%,
        rgba(5, 13, 40, 0.85) 100%
    );
    z-index: 2;
}

/* Main Container */
.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: calc(100vh - 160px);
    align-items: center;
    position: relative;
}

/* Content Section */
.hero-content {
    color: white;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Urgency Badge */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff4757, #ff3838);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse-urgency 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

@keyframes pulse-urgency {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hero Title */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-question {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85em;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--secondary-color), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1em;
    font-weight: 800;
    margin: 0.5rem 0;
}

.title-location {
    display: block;
    color: white;
    font-size: 0.9em;
    font-weight: 500;
}

/* Hero Subtitle */
.hero-subtitle {
    margin-bottom: 2rem;
}

.hero-subtitle .lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Info Highlights Section */
.info-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* CTA Principal - Movido para depois das stats */
.hero-cta {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.btn-contact-main {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    overflow: hidden;
    max-width: 400px;
}

.btn-content {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    gap: 15px;
}

.btn-content i {
    font-size: 2rem;
    flex-shrink: 0;
}

.btn-text {
    text-align: left;
}

.btn-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.btn-text small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.btn-contact-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    color: white;
}

.contact-alternative {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.contact-alternative i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Credentials Indicators */
.credentials-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 8rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.credential-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 0.5rem;
}

.credential-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* About Section - Layout Simplificado */
.about-section {
    background-color: var(--bg-light);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
}

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

.expertise-item i {
    color: var(--secondary-color);
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.expertise-content h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.expertise-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary-color), #0a1a4a);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('header/fundo-ribeiro-cavalcante-advocacia.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.mission-box > * {
    position: relative;
    z-index: 2;
}

.mission-box h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.mission-box h4 i {
    margin-right: 10px;
}

.mission-box p {
    margin: 0;
    line-height: 1.7;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.btn-expertise {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    font-weight: 600;
}

.btn-expertise:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.btn-expertise i {
    font-size: 2rem;
}

.btn-expertise .btn-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.btn-expertise .btn-text small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Responsividade About Section - Layout Simplificado */
@media (max-width: 767px) {
    .about-section {
        padding: 2rem 0;
    }
    
    .about-section .section-title {
        font-size: 1.8rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-item {
        padding: 1.5rem;
    }
    
    .mission-box {
        padding: 2rem;
    }
    
    .btn-expertise {
        padding: 1.2rem 2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .about-section .section-title {
        font-size: 2.2rem;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (min-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Scroll Indicator - Corrigido */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(-50%) translateY(-3px);
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: bounceArrow 2s infinite;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.scroll-arrow i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0);
    }
    40% { 
        transform: translateY(-8px);
    }
    60% { 
        transform: translateY(-4px);
    }
}

/* ===== RESPONSIVE - HERO SECTION ===== */

/* Mobile First - até 767px */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 70px;
        min-height: 100vh;
    }
    
    .hero-wrapper {
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .hero-content {
        z-index: 10;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .title-highlight {
        font-size: 1.05em;
    }
    
    .info-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .btn-content {
        padding: 18px 25px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .btn-content i {
        font-size: 1.8rem;
    }
    
    .credentials-indicators {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.8rem;
        padding: 0;
        justify-items: center;
    }
    
    .credential-item:nth-child(1),
    .credential-item:nth-child(2) {
        /* Dois superiores lado a lado */
    }
    
    .credential-item:nth-child(3) {
        grid-column: 1 / -1; /* Ocupa toda a largura */
        justify-self: center; /* Centralizado */
    }
    
    .credential-item {
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 0.3rem;
        max-width: 150px;
    }
    
    .credential-item span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    
    .credentials-indicators {
        margin-bottom: 6rem;
    }
    
    .scroll-indicator {
        bottom: 10px;
    }
    
    .scroll-arrow {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .scroll-arrow i {
        font-size: 1.1rem;
    }
    
    .scroll-indicator span {
        font-size: 0.75rem;
    }
}

/* Tablet - 768px até 991px */
@media (min-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: stretch;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        max-width: 800px;
        z-index: 10;
        position: relative;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .info-highlights {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        margin: 2rem auto;
    }
    
    .credentials-indicators {
        justify-content: center;
    }
    
    .urgency-badge {
        margin-bottom: 2rem;
    }
}

/* Desktop - 992px até 1199px */
@media (min-width: 992px) {
    .hero-wrapper {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle .lead {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-content {
        padding: 22px 35px;
        flex-direction: row;
        text-align: left;
    }
    
}

/* Large Desktop - 1200px+ */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle .lead {
        font-size: 1.3rem;
    }
    
    
    .hero-wrapper {
        gap: 4rem;
    }
}

/* Touch Devices - Improved interactions */
@media (hover: none) and (pointer: coarse) {
    .btn-contact-main:active {
        transform: translateY(-1px);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    }
    
    .urgency-badge {
        animation: none;
    }
    
    
    .scroll-indicator {
        display: none;
    }
}


/* Content Cards */
.content-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.expertise-highlight {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
}

.expertise-highlight h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Denial Reasons Section */
.denial-reasons {
    margin-bottom: 2rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.reason-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.reason-icon i {
    color: white;
    font-size: 1.2rem;
}

.reason-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.legal-basis {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--secondary-color);
}

.legal-basis h3 {
    color: var(--primary-color);
}

/* Table Styles */
.criteria-table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.criteria-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.criteria-table td {
    padding: 1rem;
    border-color: #e9ecef;
}

.criteria-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.warning-box i {
    color: #856404;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Steps Grid */
.steps-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    box-shadow: 0 4px 12px rgba(209, 139, 0, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    margin-top: 0;
    font-size: 1.3rem;
}

/* Timeline - Melhorado */
.process-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="%23050d28" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.process-section > .container {
    position: relative;
    z-index: 2;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        to bottom, 
        var(--secondary-color) 0%, 
        var(--primary-color) 50%,
        var(--secondary-color) 100%
    );
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(209, 139, 0, 0.3);
}

.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInTimeline 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideInTimeline {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #b8770a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 2px 5px rgba(255,255,255,0.3);
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--secondary-color);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 20px solid white;
    filter: drop-shadow(-2px 2px 4px rgba(0,0,0,0.1));
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(209, 139, 0, 0.05) 100%);
    border-radius: 0 15px 0 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--primary-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.timeline-content h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

.timeline-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
    position: relative;
    z-index: 2;
}

.timeline-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Destaque para informações importantes */
.timeline-content .highlight-info {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 3px solid var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Case Cards */
.case-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
}

.case-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.case-header i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.case-header h4 {
    margin: 0;
}

.case-content {
    padding: 1.5rem;
}

/* Testimonials */
.testimonials {
    margin-top: 2rem;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-content cite {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Info */
.team-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.specialist-item {
    text-align: center;
    padding: 1.5rem;
}

.specialist-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.specialist-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialist-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(209, 139, 0, 0.3);
}

.specialist-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* FAQ Styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1.2rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--secondary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: white;
    padding: 1.5rem;
}

/* Documents Section */
.documents-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.documents-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a1a4a 100%);
}

.contact-methods {
    margin-bottom: 2rem;
}

.phone-number {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.phone-number i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(209, 139, 0, 0.3);
    border-color: var(--secondary-color);
}

/* Footer - Melhorado */
.footer-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a1a4a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('header/fundo-ribeiro-cavalcante-advocacia.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.footer-section > .container {
    position: relative;
    z-index: 2;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    filter: brightness(1.2);
}

.footer-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.footer-link-discrete {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    transition: var(--transition);
}

.footer-link-discrete:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.social-btn:hover {
    background: linear-gradient(135deg, #20b858, #0e6b5e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.social-btn i {
    font-size: 1.2rem;
}

@media (max-width: 767px) {
    .footer-logo-img {
        max-width: 150px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .footer-info,
    .footer-contact {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-disclaimer {
        text-align: center;
        font-size: 0.7rem;
        margin-top: 1rem;
    }
}

/* Fixed WhatsApp Button */
.fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #20b858, #0e6b5e);
    color: white;
    transform: scale(1.1);
}

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

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-header {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Critical CSS Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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


/* Additional Mobile Fixes */
@media (max-width: 767px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        padding-left: 70px;
        margin-bottom: 3rem;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 0;
    }
    
    .process-timeline::before {
        left: 20px;
        width: 3px;
    }
    
    .timeline-content {
        padding: 1.8rem;
    }
    
    .timeline-content::before {
        left: -15px;
        top: 20px;
        border-right: 15px solid white;
    }
    
    .timeline-content h4 {
        font-size: 1.3rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .fixed-whatsapp,
    .header-section,
    .whatsapp-btn {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .hero-section {
        background: #fff !important;
        color: #000 !important;
    }
}