/* Importações de variáveis e ícones */
@import url('clarinha-theme-variables.css');
@import url('clarinha-header.css');
@import url('clarinha-footer.css');

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Container principal */
.container {
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    padding: 48px 0;
}

/* Cabeçalho da página */
.page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.header-text h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
}

.header-text p {
    font-size: 14px;
    color: var(--text-description-color);
    margin-top: 4px;
}

/* Seções de conteúdo */
.content-section {
    margin-bottom: 0;
}

.section-block {
    background-color: var(--card-background);
    box-shadow: var(--card-shadow);
    border-radius: 12px;
    padding: 24px;
}

/* Cabeçalho das seções */
.section-header,
.section-header-text {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    margin: 12px 0;
}

.section-header {
    margin-bottom: 24px;
}

.section-header svg,
.section-header-text svg {
    width: 24px;
    height: 24px;
    color: var(--accent-blue);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 650;
    color: var(--text-color);
}

/* Texto das seções */
.section-content p {
    color: var(--section-text-color);
    line-height: 1.6;
}

.section-content strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Listas dentro do conteúdo */
.section-content ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
    color: var(--section-text-color);
    line-height: 1.6;
    margin-top: 14px;
    margin-bottom: 16px;
}

.section-content ul li {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

/* Lista de regras/itens */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    background: linear-gradient(to right, var(--search-focus-border) 5px, transparent 5px), var(--rule-container-background);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rule-item a {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
}

.rule-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--accent-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
}

.rule-text {
    color: var(--rule-container-text-color);
    line-height: 1.6;
    font-size: 14px;
}

.rule-text strong {
    color: var(--text-color);
    font-weight: 700;
    font-size: 16px;
}

/* Caixa de aviso */
.warning-box {
    background-color: var(--warning-background);
    border-left: 5px solid var(--warning-border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.warning-text {
    color: var(--warning-text-color) !important;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.warning-text strong {
    color: var(--warning-text-color) !important;
    font-weight: 700;
}

/* Rodapé de aceitação */
.accept-terms {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 5px;
}

.accept-terms-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.accept-terms-links a {
    color: var(--accent-blue);
    font-weight: 500;
}

/* Texto de privacidade */
.privacy-text {
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .section-header {
        justify-content: center;
    }
    .container {
        max-width: 90%;
    }
}