/* ============================================
   SERVICOS.CSS — PÁGINA DE SERVIÇOS LETUSH
   ============================================
   Regras aplicadas:
   - Padding de 50px em todas as seções.
   - Cores institucionais do base.css (--text-light, --text-gray, --gold, etc.)
   - Texto JUSTIFICADO nos boxes de destaque e painéis das tabs.
   - UX de Tabs horizontal com animação suave.
   ============================================ */

/* ============================================
   01. HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    padding: 50px 0 80px;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--black);
}

.hero-section__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px) brightness(0.55);
    transform: scale(1.05);
    z-index: 0;
}

.hero-section__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.78) 0%,
        rgba(10, 10, 10, 0.65) 50%,
        rgba(212, 175, 55, 0.08) 100%);
    z-index: 1;
}

.hero-section__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--gutter, 24px);
}

.hero-section__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text-light);
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-section__subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   02. INTRODUÇÃO
   ============================================ */
.intro-section {
    padding: 50px 0;
    background: var(--dark-gray);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--gutter, 24px);
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* BOX DE DESTAQUE — TEXTO JUSTIFICADO */
.intro-text--highlight {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.8;
    margin-top: 32px;
    padding: 32px 36px;
    background: rgba(212, 175, 55, 0.04);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    text-align: justify; /* JUSTIFICADO */
}

/* ============================================
   03. SEÇÃO DIMENSÕES (TABS)
   ============================================ */
.dimensoes-section {
    padding: 50px 0;
    background: var(--black);
}

.dimensoes-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 var(--gutter, 24px);
}

.dimensoes-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 16px;
}

.dimensoes-header .section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* Container de Tabs */
.tabs-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--gutter, 24px);
}

/* Barra de abas horizontal */
.tabs-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    margin-bottom: 0;
    background: var(--dark-gray);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.tab-btn {
    background: var(--black);
    border: none;
    padding: 20px 12px;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    position: relative;
    border-right: 1px solid rgba(242, 242, 239, 0.08);
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn:hover {
    background: rgba(212, 175, 55, 0.08);
}

.tab-btn.active {
    background: var(--dark-gray);
    border-bottom: 2px solid var(--dark-gray);
}

.tab-btn__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 6px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.tab-btn.active .tab-btn__num {
    opacity: 1;
}

.tab-btn__title {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Painel de conteúdo */
.tab-panel {
    display: none;
    background: var(--black);
    border: 2px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 48px 56px;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel__header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tab-panel__big-num {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    min-width: 140px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.tab-panel__content {
    flex: 1;
}

.tab-panel__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 700;
}

.tab-panel__subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

/* TEXTO DO PAINEL — JUSTIFICADO */
.tab-panel__text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: justify; /* JUSTIFICADO */
}

.tab-panel__deliverable {
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.tab-panel__deliverable strong {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

/* TEXTO DO DELIVERABLE — JUSTIFICADO */
.tab-panel__deliverable p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify; /* JUSTIFICADO */
}

/* ============================================
   04. INTEGRAÇÃO
   ============================================ */
.integracao-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    background: var(--dark-gray);
}

.integracao-section__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px) brightness(0.3);
    transform: scale(1.05);
    z-index: 0;
}

.integracao-section__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 28, 35, 0.88);
    z-index: 1;
}

.integracao-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--gutter, 24px);
    text-align: center;
}

.integracao-content .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 32px;
}

.integracao-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* TEXTO DE DESTAQUE — JUSTIFICADO */
.integracao-text--highlight {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-top: 32px;
    padding: 24px 32px;
    background: rgba(212, 175, 55, 0.04);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    text-align: justify; /* JUSTIFICADO */
}

/* ============================================
   05. MODALIDADES
   ============================================ */
.modalidades-section {
    padding: 50px 0;
    background: var(--black);
}

.modalidades-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 var(--gutter, 24px);
}

.modalidades-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 16px;
}

.modalidades-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto 48px;
    padding: 0 var(--gutter, 24px);
}

.modalidade-card {
    background: var(--dark-gray);
    border: 1px solid rgba(242, 242, 239, 0.08);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.22s ease;
}

.modalidade-card:hover {
    border-color: rgba(212, 175, 55, 0.28);
    transform: translateY(-4px);
}

.modalidade-card__icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.modalidade-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.modalidade-card__text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.modalidades-footer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--gutter, 24px);
}

.modalidades-footer__text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    font-style: italic;
}

/* ============================================
   06. RESPONSABILIDADES
   ============================================ */
.responsabilidades-section {
    padding: 50px 0;
    background: var(--dark-gray);
}

.responsabilidades-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 var(--gutter, 24px);
}

.responsabilidades-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 16px;
}

.responsabilidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 48px;
    padding: 0 var(--gutter, 24px);
}

.responsabilidade-item {
    background: var(--black);
    border: 1px solid rgba(242, 242, 239, 0.08);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.22s ease;
}

.responsabilidade-item:hover {
    border-color: rgba(212, 175, 55, 0.28);
    transform: translateY(-4px);
}

.responsabilidade-item__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.responsabilidade-item__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.responsabilidade-item__text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.responsabilidades-disclaimer {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
    background: rgba(212, 175, 55, 0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.28);
}

.responsabilidades-disclaimer p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   07. CTA FINAL
   ============================================ */
.cta-final-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.cta-final-section__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px) brightness(0.45);
    transform: scale(1.05);
    z-index: 0;
}

.cta-final-section__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.78) 0%,
        rgba(10, 10, 10, 0.65) 50%,
        rgba(212, 175, 55, 0.12) 100%);
    z-index: 1;
}

.cta-final-section .container {
    position: relative;
    z-index: 2;
}

.cta-final-section__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--gutter, 24px);
}

.cta-final-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.2;
}

.cta-final-section__text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.cta-final-section__text--highlight {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 32px;
}

.cta-final-section__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ============================================
   08. RESPONSIVO
   ============================================ */
@media (max-width: 992px) {
    .tabs-nav {
        grid-template-columns: repeat(3, 1fr);
    }
    .tab-btn {
        border-bottom: 1px solid rgba(242, 242, 239, 0.08);
    }
    .tab-panel__header {
        flex-direction: column;
        gap: 20px;
    }
    .tab-panel__big-num {
        font-size: 4rem;
        min-width: auto;
    }
    .modalidades-grid,
    .responsabilidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 60px;
        min-height: auto;
    }
    .tabs-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-panel {
        padding: 32px 24px;
    }
    .tab-panel__title {
        font-size: 1.5rem;
    }
    .tab-btn__title {
        font-size: 0.65rem;
    }
    .modalidades-grid,
    .responsabilidades-grid {
        grid-template-columns: 1fr;
    }
    .intro-text--highlight,
    .integracao-text--highlight {
        padding: 20px;
        text-align: left; /* Em telas muito pequenas, left fica melhor que justify */
    }
    .cta-final-section__actions {
        flex-direction: column;
    }
    .cta-final-section__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tabs-nav {
        grid-template-columns: 1fr 1fr;
    }
    .tab-btn {
        padding: 16px 8px;
    }
    .tab-btn__num {
        font-size: 1.1rem;
    }
    .tab-panel__big-num {
        font-size: 3rem;
    }
}