/* ============================================================
   DITOM — Página Sobre (templates/base/sobre.html)
   Preto e branco: topo cinza-claro, passo a passo, quem somos,
   perguntas frequentes e contato.
   ============================================================ */

.sobre {
    background: #ffffff;
    color: #111111;
    font-family: var(--font-body);
}

.sobre-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #707072;
    margin-bottom: 12px;
}

.sobre-h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0 0 28px;
    text-wrap: balance;
}

.sobre-btn {
    display: inline-block;
    width: auto;
    text-decoration: none;
}

/* ── Topo ── */
.sobre-hero {
    background: #f5f5f5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 0;
}
.sobre-hero-texto { padding-bottom: 56px; }
.sobre-titulo {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    text-wrap: balance;
}
.sobre-sub {
    font-size: 16px;
    line-height: 1.6;
    color: #3d3d3f;
    max-width: 44ch;
    margin: 0 0 26px;
}
.sobre-hero-img {
    align-self: end;
    justify-self: center;
    height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;   /* fundo branco da foto some no cinza */
}

/* ── Seções com largura máxima (fundo de ponta a ponta, conteúdo em até 1100px) ── */
.sobre-hero,
.sobre-secao,
.sobre-dupla,
.sobre-fim {
    padding-left: max(24px, calc((100% - 1100px) / 2));
    padding-right: max(24px, calc((100% - 1100px) / 2));
}
.sobre-secao { padding-top: 64px; padding-bottom: 64px; }

/* ── Passo a passo ── */
.sobre-passos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sobre-passos li {
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
}
.sobre-passo-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
}
.sobre-passos strong { font-size: 15px; }
.sobre-passos span:not(.sobre-passo-num) { font-size: 14px; line-height: 1.55; color: #707072; }
.sobre-passos a {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
}
.sobre-passos a:hover { text-decoration: underline; }

/* ── Quem somos ── */
.sobre-dupla {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 64px;
}
.sobre-dupla img {
    width: 100%;
    height: auto;
    background: #f5f5f5;
    padding: 24px;
    box-sizing: border-box;
    mix-blend-mode: multiply;
}
.sobre-dupla .sobre-h2 { margin-bottom: 16px; }
.sobre-dupla p {
    font-size: 15px;
    line-height: 1.65;
    color: #3d3d3f;
    margin: 0 0 12px;
    max-width: 58ch;
}

/* ── Perguntas frequentes ── */
.sobre-faq { background: #f5f5f5; }
.sobre-faq details {
    background: #ffffff;
    margin-bottom: 8px;
    padding: 18px 22px;
}
.sobre-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
}
.sobre-faq summary::-webkit-details-marker { display: none; }
.sobre-faq summary::after { content: '+'; font-size: 20px; line-height: 1; }
.sobre-faq details[open] summary::after { content: '–'; }
.sobre-faq summary:focus-visible { outline: 2px solid #111111; outline-offset: 4px; }
.sobre-faq p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #707072;
    max-width: 64ch;
}

/* ── Contato ── */
.sobre-fim {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 40px;
    padding-bottom: 56px;
    border-top: 1px solid #e5e5e5;
}
.sobre-fim h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.sobre-fim p { margin: 0; font-size: 14px; color: #707072; overflow-wrap: anywhere; }

/* ── Celular / tablet ── */
@media (max-width: 820px) {
    .sobre-hero { grid-template-columns: 1fr; padding-top: 40px; }
    .sobre-hero-texto { padding-bottom: 0; }
    .sobre-hero-img { height: 280px; }
    .sobre-passos { grid-template-columns: 1fr 1fr; }
    .sobre-dupla { grid-template-columns: 1fr; gap: 24px; padding-bottom: 48px; }
    .sobre-secao { padding-top: 48px; padding-bottom: 48px; }
    .sobre-h2 { font-size: 24px; }
}
@media (max-width: 480px) {
    .sobre-hero,
    .sobre-secao,
    .sobre-dupla,
    .sobre-fim { padding-left: 16px; padding-right: 16px; }
    .sobre-passos { grid-template-columns: 1fr; }
    .sobre-fim .sobre-btn { width: 100%; text-align: center; }
}
