/* ==========================================================
   PÁGINAS INSTITUCIONAIS (Sobre Nós e Corpo Técnico)
   Base comum: banner, secção, texto e citações.
   ========================================================== */

/* ---------- Banner ---------- */
.banner-sobre-img {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    line-height: 0;
    border-bottom: 4px solid var(--academia-gold, #d4af37);
    overflow: hidden;
}
.banner-sobre-img img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 380px;
    object-fit: cover;
}
.banner-sobre-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, .55) 0%,
        rgba(255, 255, 255, .35) 45%,
        color-mix(in srgb, var(--academia-primary, #1C8199) 18%, transparent) 100%);
    z-index: 1;
    pointer-events: none;
}
.banner-sobre-conteudo {
    position: absolute;
    inset: 0;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
}
.banner-sobre-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: color-mix(in srgb, var(--academia-gold, #d4af37) 75%, black);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 1px 4px rgba(255, 255, 255, .6);
}
.banner-sobre-titulo {
    margin: 0 0 14px;
    color: var(--academia-primary, #1C8199);
    font-size: calc(clamp(2.2rem, 4.5vw, 3.4rem) * var(--academia-escala-titulos, 1));
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, .75), 0 2px 6px rgba(255, 255, 255, .5);
}
.banner-sobre-linha {
    width: 75px;
    height: 4px;
    margin: 0 0 18px;
    background: var(--academia-gold, #d4af37);
    border-radius: 99px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.banner-sobre-subtitulo {
    max-width: 560px;
    margin: 0;
    color: var(--academia-dark, #0b4352);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(255, 255, 255, .65);
}
@media (max-width: 768px) {
    .banner-sobre-img { line-height: normal; }
    .banner-sobre-img img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
    .banner-sobre-img::after {
        background: linear-gradient(135deg,
            rgba(255, 255, 255, .72) 0%,
            rgba(255, 255, 255, .6) 50%,
            rgba(244, 248, 250, .5) 100%);
    }
    .banner-sobre-conteudo { position: relative; padding: 50px 24px; }
    .banner-sobre-titulo { font-size: calc(2rem * var(--academia-escala-titulos, 1)); }
}

/* ---------- Secção ---------- */
.sobre-section {
    --teal: var(--academia-primary, #1C8199);
    --teal-dark: var(--academia-primary-escura, #126d80);
    --deep: var(--academia-dark, #0b4352);
    --gold: var(--academia-gold, #d4af37);
    --ink: #1f2a30;
    --muted: #4f6067;
    --line: var(--academia-azul-suave, #e8f4f7);
    --background: var(--academia-fundo-claro, #f4f8fa);
    --w: 1120px;
    --pad: 20px;
    --lotus-banner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100' fill='none' stroke='%23d4af37' stroke-opacity='.55' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M80 92 C48 91 25 76 20 53 C42 53 62 63 76 79 C67 52 69 28 80 8 C91 28 93 52 84 79 C98 63 118 53 140 53 C135 76 112 91 80 92Z'/%3E%3Cpath d='M80 90 C58 75 48 58 50 38 C66 44 77 57 80 74 C83 57 94 44 110 38 C112 58 102 75 80 90Z'/%3E%3C/svg%3E");

    padding: 0 var(--pad) 90px;
    background:
        radial-gradient(circle at 5% 30%, color-mix(in srgb, var(--academia-primary) 5.5%, transparent), transparent 20%),
        radial-gradient(circle at 95% 75%, color-mix(in srgb, var(--academia-gold) 5.5%, transparent), transparent 20%),
        var(--background);
}
.sobre-container {
    max-width: var(--w);
    margin: 0 auto;
    padding-top: clamp(28px, 4vw, 56px);
}

/* ---------- Texto ---------- */
.sobre-texto {
    color: var(--ink);
    font-size: .95rem;
    line-height: 1.7;
    text-wrap: pretty;
}
.sobre-texto > *,
.sobre-texto .is-layout-constrained > *,
.sobre-texto .wp-block-group > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.sobre-texto p { margin: 0 0 1.1em; }
.sobre-texto p:empty { display: none; }
.sobre-texto em { font-style: italic; }
.sobre-texto h2,
.sobre-texto h3 { text-wrap: balance; }

/* ---------- Citações e destaques (um único estilo, com aspas) ---------- */
.sobre-texto .paragrafo-destaque,
.sobre-texto .frase-destaque,
.sobre-texto .paula-destaque,
.sobre-texto .frase-teresa,
.sobre-texto .sobre-citacao {
    position: relative;
    margin: 26px 0 !important;
    padding: 6px 0 6px 64px;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    color: var(--ink);
    font-size: .98rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.65;
    text-align: left;
}
.sobre-texto .paragrafo-destaque::before,
.sobre-texto .frase-destaque::before,
.sobre-texto .paula-destaque::before,
.sobre-texto .frase-teresa::before,
.sobre-texto .sobre-citacao::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4.4rem;
    line-height: 1;
    color: var(--teal);
}
.sobre-texto .paragrafo-destaque { font-style: italic; font-weight: 500; }
.sobre-texto .frase-teresa { font-style: italic; font-weight: 500; color: var(--teal-dark); }
.sobre-texto .sobre-citacao > p {
    margin: 0 !important;
    padding: 0;
    color: inherit;
    font: inherit;
}

@media (max-width: 781px) {
    .sobre-section { padding-bottom: 60px; }
    .sobre-texto .paragrafo-destaque,
    .sobre-texto .frase-destaque,
    .sobre-texto .paula-destaque,
    .sobre-texto .frase-teresa,
    .sobre-texto .sobre-citacao { padding-left: 46px; font-size: .95rem; }
    .sobre-texto .paragrafo-destaque::before,
    .sobre-texto .frase-destaque::before,
    .sobre-texto .paula-destaque::before,
    .sobre-texto .frase-teresa::before,
    .sobre-texto .sobre-citacao::before { font-size: 3.6rem; }
}
