/* ============================================
   PÁGINAS INTERNAS - ÁVILA PERÍCIAS PREMIUM
   ============================================ */

/* Body das Páginas */
body {
    padding-top: 80px;
}

.page-main {
    min-height: calc(100vh - 160px);
}

/* Hero das Páginas */
.page-hero {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5a 50%, #0a2540 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 198, 162, 0.1), transparent);
    pointer-events: none;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 198, 162, 0.3);
    position: relative;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

/* ============================================
   SISTEMA DE ABAS (TABS)
   ============================================ */

.tabs-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #0a2540, #1a3a5a);
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 198, 162, 0.5);
    color: white;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #00c6a2, #00a88e);
    border-color: #00c6a2;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 198, 162, 0.3);
}

.tab-icon {
    font-size: 1.5rem;
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

.tab-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tab-header h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 198, 162, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Qualificações */
.qualifications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.qualification-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 198, 162, 0.2);
}

.qual-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.qual-content h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
}

.qual-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ============================================
   PÁGINA DE SERVIÇOS
   ============================================ */

.filters-section {
    padding: 2rem 0;
    background: linear-gradient(180deg, #1a3a5a, #0a2540);
}

.filters-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 198, 162, 0.5);
    color: white;
}

.filter-btn.active {
    background: linear-gradient(135deg, #00c6a2, #00a88e);
    border-color: #00c6a2;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 198, 162, 0.3);
}

.services-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #0a2540, #1a3a5a);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 198, 162, 0.2);
}

.service-card.hidden {
    display: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-header h3 {
    font-size: 1.35rem;
    color: white;
    margin: 0;
}

.service-header small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-expand {
    width: 100%;
    background: rgba(0, 198, 162, 0.1);
    border: 1px solid rgba(0, 198, 162, 0.3);
    color: #00c6a2;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-expand:hover {
    background: rgba(0, 198, 162, 0.2);
    border-color: #00c6a2;
}

.expand-icon {
    transition: transform 0.3s ease;
}

.btn-expand.active .expand-icon {
    transform: rotate(180deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.service-details.active {
    max-height: 500px;
    margin-top: 1.5rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    line-height: 1.6;
}

/* ============================================
   PÁGINA DE CONTATO
   ============================================ */

.contact-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #0a2540, #1a3a5a);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    padding: 2.5rem;
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 2rem;
}

.premium-form select {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 198, 162, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
}

.premium-form select:focus {
    outline: none;
    border-color: #00c6a2;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 198, 162, 0.2);
}

.premium-form select option {
    background: #0a2540;
    color: white;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 198, 162, 0.2);
}

.contact-info-card h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
}

.contact-info-card a {
    color: #00c6a2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #00e8bb;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 198, 162, 0.1);
    border: 1px solid rgba(0, 198, 162, 0.3);
    border-radius: 8px;
    color: #00c6a2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(0, 198, 162, 0.2);
    border-color: #00c6a2;
    transform: translateX(5px);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #1a3a5a, #0a2540);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 198, 162, 0.05);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #00c6a2;
    flex-shrink: 0;
}

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

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

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

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #0a2540, #1a3a5a);
}

.cta-card {
    text-align: center;
    padding: 3rem;
}

.cta-card h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        justify-content: center;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .qualification-item {
        flex-direction: column;
        text-align: center;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .filters-nav {
        flex-direction: column;
    }
}

/* Navbar active link */
.nav-links a.active {
    color: #00c6a2;
    border-bottom: 2px solid #00c6a2;
}
