/* ========================================= */
/* --- AJUSTE GLOBAL DE LARGURA --- */
/* ========================================= */
.container { max-width: 1600px !important; }
html, body { overflow-x: hidden; }

/* ========================================= */
/* --- 1. HERO SECTION (BANNER) --- */
/* ========================================= */
.pericias-hero { 
    position: relative;
    height: 65vh; 
    min-height: 500px; 
    background-image: url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; width: 100%;
}
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.95) 20%, rgba(10, 25, 47, 0.5) 100%); 
    z-index: 1; 
}
.hero-text-box { position: relative; z-index: 10; max-width: 800px; padding-top: 60px;}
.hero-tag { color: var(--paultrab-orange); text-transform: uppercase; font-weight: 800; letter-spacing: 4px; font-size: 0.85rem; display: block; margin-bottom: 15px; }
.hero-title { color: var(--white); font-family: var(--font-title); font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px;}
.hero-title .highlight { color: var(--paultrab-orange); }
.hero-description { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 650px; line-height: 1.6; }

/* Botão Laranja Padrão */
.btn-solid-orange {
    background: var(--paultrab-orange); color: var(--navy-dark); padding: 18px 35px; border: none; border-radius: 4px;
    font-family: var(--font-title); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: all 0.3s;
}
.btn-solid-orange:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* ========================================= */
/* --- 2. CARDS PREMIUM --- */
/* ========================================= */
.pericias-specialties { padding: 100px 0; background: var(--bg-light); }
.specialties-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }

.premium-card {
    background: var(--white); padding: 50px 40px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.05); border: 1px solid var(--border-light);
    transition: 0.4s ease; display: flex; flex-direction: column;
    border-bottom: 4px solid transparent; 
}
.premium-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(10, 25, 47, 0.1); border-bottom-color: var(--paultrab-orange); }

.card-icon {
    width: 70px; height: 70px; background: rgba(10, 25, 47, 0.05); color: var(--navy-dark);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 25px; transition: 0.4s;
}
.premium-card:hover .card-icon { background: var(--navy-dark); color: var(--paultrab-orange); }

.premium-card h3 { font-family: var(--font-title); font-size: 1.6rem; color: var(--navy-dark); margin-bottom: 15px; line-height: 1.2; font-weight: 800;}
.premium-card p { font-size: 1rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }

.btn-link {
    font-family: var(--font-title); font-size: 0.95rem; font-weight: 800; color: var(--paultrab-orange);
    text-transform: uppercase; text-decoration: none; letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; margin-top: auto;
}
.btn-link i { transition: 0.3s; }
.btn-link:hover { color: var(--navy-dark); }
.btn-link:hover i { transform: translateX(5px); }

/* ========================================= */
/* --- 3. MÉTODO DE TRABALHO --- */
/* ========================================= */
.pericias-method { padding: 100px 0; background: var(--white); }
.method-title { font-family: var(--font-title); font-size: 2.5rem; color: var(--navy-dark); font-weight: 900; margin-bottom: 60px; }

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.step-card { position: relative; padding: 30px; border-left: 2px solid var(--border-light); transition: 0.3s; }
.step-card:hover { border-left-color: var(--paultrab-orange); }

.step-number { 
    font-family: var(--font-title); font-size: 4rem; font-weight: 900; 
    color: rgba(10, 25, 47, 0.05); line-height: 1; margin-bottom: 10px; 
    position: absolute; top: 10px; right: 20px;
}
.step-card h4 { font-family: var(--font-title); font-size: 1.4rem; color: var(--navy-dark); margin-bottom: 15px; position: relative; z-index: 2; font-weight: 800;}
.step-card p { font-size: 1rem; color: var(--text-dark); line-height: 1.6; position: relative; z-index: 2; }

/* ========================================= */
/* --- 4. FAIXA CTA FINAL --- */
/* ========================================= */
.cta-band { padding: 90px 0; background-color: var(--navy-dark); color: var(--white); }
.cta-band h2 { font-family: var(--font-title); font-size: 2.8rem; font-weight: 900; margin: 0 auto 15px; max-width: 800px; line-height: 1.2; }
.cta-band p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 35px; line-height: 1.6; }

/* Botão Branco Sólido */
.btn-solid-white {
    background: var(--white); color: var(--navy-dark); padding: 18px 35px; border: none; border-radius: 4px;
    font-family: var(--font-title); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: all 0.3s;
}
.btn-solid-white:hover { background: var(--paultrab-orange); color: var(--navy-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* ========================================= */
/* --- 5. RESPONSIVIDADE PENTE-FINO --- */
/* ========================================= */
@media (max-width: 1024px) {
    .specialties-grid { gap: 30px; }
    .hero-title { font-size: 2.8rem; }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    @media (max-width: 768px) {
    /* Remove a trava que impedia o texto de quebrar a linha */
    .nowrap-mobile { white-space: normal; }
    
    /* Ajustes do Banner */
    .pericias-hero { padding: 130px 0 50px; height: auto; min-height: 350px; }
    .hero-text-box { padding-top: 0; }
    /* Reduzimos de 2.2rem para 2rem para caber perfeitamente */
    .hero-title { font-size: 1.7rem; line-height: 1.2; margin-bottom: 15px; } 
    .hero-description { font-size: 1rem; margin-bottom: 25px; }
    .btn-solid-orange { width: 100%; justify-content: center; }
    
    
    /* Ajustes dos Cards */
    .pericias-specialties { padding: 60px 0; }
    .specialties-grid { grid-template-columns: 1fr; gap: 20px; }
    .premium-card { padding: 30px 20px; } 

    /* Ajustes do Método */
    .pericias-method { padding: 60px 0; }
    .method-title { font-size: 2rem; margin-bottom: 40px; }
    .method-grid { grid-template-columns: 1fr; gap: 20px; }
    .step-card { border-left: none; border-top: 2px solid var(--border-light); padding: 30px 0 0 0; }
    .step-card:hover { border-top-color: var(--paultrab-orange); border-left-color: transparent;}
    
    /* CTA Final */
    .cta-band { padding: 60px 0; }
    .cta-band h2 { font-size: 1.8rem; margin-bottom: 15px;}
    .cta-band p { font-size: 1rem; margin-bottom: 25px; }
    .btn-solid-white { width: 100%; justify-content: center; }
}