/* --- PÁGINA SOBRE (sobre.html) ---
   Linguagem editorial: títulos alinhados à esquerda, texto corrido, linhas finas
   separando os blocos. Sem etiquetas em pílula e sem cartões.
   Reaproveita navbar, botões e rodapé do site. Celular: responsive.css. */

.pagina-sobre {
    background-color: #070b1d;
    color: var(--Grey-50);
}

.sobre-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* a página atual fica marcada no menu */
.pagina-sobre .nav-links a[aria-current="page"] {
    opacity: 1;
    color: var(--S-700);
}

/* --- ABERTURA --- */
.sobre-abertura {
    padding: 104px 0 0;
}

.sobre-abertura h1 {
    max-width: 1000px;

    font-size: 80px;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.sobre-abertura h1 em {
    font-style: normal;
    color: var(--S-300);
}

.sobre-abertura-texto {
    margin-top: 32px;
    max-width: 580px;

    font-size: 20px;
    line-height: 1.55;
    opacity: 0.85;
}

/* --- LINHA DO TEMPO --- */
.sobre-historia {
    padding: 96px 0 112px;
}

.sobre-linha {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    position: relative;
}

/* a linha que liga os marcos; "desenha" da esquerda para a direita ao abrir */
.sobre-linha::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.18));
    transform-origin: left center;
}

.sobre-marco {
    position: relative;
    padding-top: 38px;
}

.sobre-marco-ponto {
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    background-color: var(--P-700);
}

.sobre-marco--atual .sobre-marco-ponto {
    background-color: var(--S-700);
    border-color: var(--S-300);
    box-shadow: 0 0 0 6px rgba(8, 196, 96, 0.22);
}

.sobre-marco-ano {
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* o mês fica pequeno, ao lado do ano */
.sobre-marco-ano span {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--S-300);
    vertical-align: 14px;
}

.sobre-marco-titulo {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
}

.sobre-marco-texto {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.55;
    opacity: 0.75;
}

/* --- BLOCOS: título à esquerda, conteúdo à direita --- */
.sobre-bloco {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 72px;
    padding: 104px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* sem isto a faixa de operadoras (que é mais larga que a tela) alarga a coluna */
.sobre-bloco > *,
.sobre-final > * {
    min-width: 0;
}

.sobre-bloco h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

/* coluna da esquerda: título e uma imagem, que acompanham a leitura do texto ao lado */
.sobre-bloco-lado {
    position: sticky;
    top: 48px;
    align-self: start;
}

.sobre-bloco-lado > * + * {
    margin-top: 32px;
}

/* retrato de quem conta a história */
.sobre-retrato img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    background-color: #131a33;
}

.sobre-retrato figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 320px;
    margin-top: 16px;

    font-size: 15px;
    line-height: 1.5;
}

.sobre-retrato figcaption strong {
    font-size: 17px;
    font-weight: 600;
}

.sobre-retrato figcaption span {
    opacity: 0.75;
}

.sobre-retrato figcaption .sobre-retrato-bio {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.6;
}

/* sublinhado sempre: o link não pode depender só da cor para ser notado */
.sobre-retrato a {
    color: var(--S-300);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.sobre-retrato a:hover {
    text-decoration-thickness: 2px;
}

/* fotos da equipe, lado a lado */
.sobre-equipe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sobre-equipe img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.sobre-nota--esquerda {
    margin-top: 20px;
}

/* print real do sistema */
.sobre-print {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 70px -30px rgba(4, 115, 255, 0.7);
}

/* blocos curtos: título em cima, conteúdo na largura toda */
.sobre-bloco--empilhado {
    display: block;
}

.sobre-bloco--empilhado > h2 {
    margin-bottom: 48px;
}

/* --- NOSSA HISTÓRIA: texto corrido --- */
.sobre-prosa > p {
    max-width: 640px;
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.75;
}

.sobre-prosa > p + p {
    margin-top: 20px;
}

.sobre-prosa > p:first-child {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.38;
    letter-spacing: -0.01em;
    opacity: 1;
}

.sobre-prosa > p:first-child + p {
    margin-top: 32px;
}

/* --- NÚMEROS --- */
/* título à esquerda e a nota da data à direita, na mesma linha */
.sobre-numeros-topo {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.sobre-numeros-topo .sobre-nota {
    text-align: right;
}

.sobre-nota {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.6;
}

.sobre-numeros {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 28px;
}

.sobre-numeros li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.sobre-numeros strong {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sobre-numeros span {
    max-width: 170px;
    font-size: 15px;
    line-height: 1.45;
    opacity: 0.72;
}

/* --- A FRASE --- */
.sobre-frase {
    padding: 128px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-image: radial-gradient(60% 120% at 12% 100%, rgba(4, 115, 255, 0.28), transparent 70%);
}

.sobre-frase p {
    max-width: 1040px;
    font-size: 72px;
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.sobre-frase em {
    font-style: normal;
    color: var(--S-300);
}

/* --- PRINCÍPIOS: linhas, não cartões --- */
.sobre-principios {
    list-style: none;
}

.sobre-principios li {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 40px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sobre-principios li:first-child {
    padding-top: 6px;
    border-top: none;
}

.sobre-principios h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.sobre-principios p {
    max-width: 560px;
    font-size: 17px;
    line-height: 1.65;
    opacity: 0.75;
}

/* --- QUEM CONFIA: clientes e operadoras --- */
.sobre-clientes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px 56px;
}

.sobre-clientes img {
    display: block;
    height: auto;
    max-width: 150px;
}

.sobre-bloco .operadoras-faixa {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sobre-bloco .operadoras-titulo {
    text-align: left;
}

/* --- FECHAMENTO: endereço + chamada --- */
.sobre-final {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 72px;
    padding: 104px 0 128px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sobre-final h2 {
    max-width: 640px;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.sobre-final .btn {
    display: inline-block;
    margin-top: 36px;
}

.sobre-local-titulo {
    font-size: 18px;
    font-weight: 600;
}

.sobre-contato {
    list-style: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;

    font-size: 15px;
    line-height: 1.6;
}

.sobre-contato li {
    opacity: 0.75;
}

.sobre-contato a {
    color: inherit;
    text-decoration: underline rgba(255, 255, 255, 0.35);
    text-underline-offset: 4px;
}

.sobre-contato a:hover {
    text-decoration-color: var(--S-700);
}

/* --- ENTRADA DA ABERTURA: título sobe, linha do tempo se desenha --- */
@media (prefers-reduced-motion: no-preference) {
    .sobre-abertura h1,
    .sobre-abertura-texto,
    .sobre-marco {
        animation: sobre-subir 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .sobre-abertura-texto { animation-delay: 0.18s; }

    .sobre-linha::before {
        animation: sobre-tracar 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
    }

    .sobre-marco:nth-child(1) { animation-delay: 0.40s; }
    .sobre-marco:nth-child(2) { animation-delay: 0.52s; }
    .sobre-marco:nth-child(3) { animation-delay: 0.64s; }
    .sobre-marco:nth-child(4) { animation-delay: 0.76s; }
    .sobre-marco:nth-child(5) { animation-delay: 0.88s; }
}

@keyframes sobre-subir {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes sobre-tracar {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
