/* =========================================
   PAGES - COMMON STYLES
   Estilos compartilhados para páginas internas
   ========================================= */

.page-section {
    padding: 140px 0 80px;
}

.page-header {
    margin-bottom: 48px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 12px;
}

/* About Page */
.about-intro {
    margin-bottom: 48px;
    max-width: 700px;
}

.about-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-text h3 {
    font-size: 1.3rem;
    margin: 32px 0 16px;
    color: var(--accent);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.services-list {
    list-style: none;
    margin: 20px 0;
}

.services-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.services-list li strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

.services-list li span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: var(--black-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.about-card h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.about-card p {
    color: var(--white);
    margin-bottom: 16px;
}

.about-card .btn {
    width: 100%;
}

/* Steps Grid - Como Funciona */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.step-card {
    background: var(--black-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.7;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Licenses Section */
.licenses-section {
    margin-top: 60px;
}

.licenses-section h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.license-card {
    background: var(--black-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.license-card.featured {
    border-color: var(--accent);
    position: relative;
}

.license-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.license-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.license-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.license-price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.license-features {
    list-style: none;
    flex: 1;
}

.license-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
}

.license-features li::before {
    content: '✓';
    color: var(--accent);
}

.license-for {
    margin-top: 20px;
    padding: 12px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--accent);
}

.royalties-info {
    margin-top: 20px;
    padding: 16px;
    background: var(--black-soft);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--black-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-700);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin: 40px 0 16px;
    color: var(--accent);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-secondary);
    margin: 16px 0 16px 24px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--white);
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

/* Info Boxes */
.info-box {
    background: var(--black-card);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
    border: 1px solid var(--border-light);
}

.info-box.highlight {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.info-box h4 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1rem;
}

.info-box p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.info-box a {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .licenses-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }
}