/* Páginas completas das áreas de atuação.
   Compartilha tokens, cabeçalho e rodapé com a nova home, mantendo uma
   composição editorial própria para que o site não pareça uma coleção de
   cartões repetidos. */

.area-page .home-header {
    background: rgba(11, 27, 46, 0.985);
}

.area-main {
    overflow: hidden;
    background: var(--paper);
}

.area-hero {
    position: relative;
    overflow: hidden;
    padding: 152px 0 76px;
    background: var(--ink-900);
    color: #fff;
}

.area-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(135deg, transparent 0 49.7%, rgba(176, 141, 79, 0.12) 49.8% 50.2%, transparent 50.3%),
        linear-gradient(45deg, transparent 0 49.7%, rgba(176, 141, 79, 0.07) 49.8% 50.2%, transparent 50.3%);
    background-size: 124px 124px;
    opacity: 0.75;
}

.area-hero::after {
    position: absolute;
    right: -4rem;
    bottom: -12rem;
    width: min(46vw, 550px);
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(227, 199, 126, 0.3);
    border-radius: 50%;
}

.area-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.area-breadcrumb {
    margin-bottom: 2rem;
}

.area-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    list-style: none;
}

.area-breadcrumb li + li::before {
    margin-right: 0.45rem;
    color: var(--brass-glow);
    content: "/";
}

.area-breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-underline-offset: 0.2em;
}

.area-page .area-hero .home-eyebrow {
    margin-bottom: 1.1rem;
}

.area-hero h1 {
    max-width: 15ch;
    margin: 0;
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(2.45rem, 5.1vw, 5.1rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-wrap: balance;
}

.area-hero h1::before {
    display: block;
    width: 52px;
    height: 2px;
    margin-bottom: 1.35rem;
    content: "";
    background: var(--brass);
}

.area-hero__lead {
    max-width: 61ch;
    margin: 1.55rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.04rem, 1.55vw, 1.2rem);
    line-height: 1.72;
}

.area-content {
    padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.area-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.55fr);
    gap: clamp(2.5rem, 9vw, 9rem);
    align-items: start;
    padding-bottom: clamp(4rem, 7vw, 7rem);
}

.area-kicker {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
    color: var(--brass-ink);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.area-kicker::before {
    width: 34px;
    height: 1px;
    content: "";
    background: currentColor;
}

.area-intro h2,
.area-section h2,
.area-documents h2,
.area-faq h2,
.area-cta h2 {
    max-width: 19ch;
    margin: 0;
    color: var(--ink-900);
    font-family: var(--serif);
    font-size: clamp(1.95rem, 3.4vw, 3.35rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.area-intro__copy {
    max-width: 62ch;
    margin-top: 1.35rem;
}

.area-intro__copy p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.72;
}

.area-side-note {
    padding: 1.5rem;
    border-top: 2px solid var(--brass);
    background: #fff;
    box-shadow: var(--home-shadow);
}

.area-side-note span {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--brass-ink);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.area-side-note p {
    margin: 0;
    color: var(--ink-800);
    font-size: 1.05rem;
    line-height: 1.58;
}

.area-section {
    padding: clamp(3.8rem, 6vw, 6.2rem) 0;
    border-top: 1px solid var(--line);
    background: #fff;
}

.area-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(240px, 0.6fr);
    gap: clamp(2rem, 8vw, 8rem);
    align-items: end;
    margin-bottom: 2.6rem;
}

.area-section__heading > p:last-child {
    max-width: 38ch;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.area-scope {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line-strong);
    background: var(--line-strong);
}

.area-scope article {
    min-height: 250px;
    padding: 1.55rem;
    background: var(--paper);
}

.area-scope article:nth-child(2),
.area-scope article:nth-child(5) {
    background: #fff;
}

.area-scope span {
    display: block;
    margin-bottom: 2.4rem;
    color: var(--brass-ink);
    font-family: var(--serif);
    font-size: 1.6rem;
    letter-spacing: 0.06em;
}

.area-scope h3 {
    margin: 0 0 0.75rem;
    color: var(--ink-900);
    font-family: var(--sans);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

.area-scope p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.area-documents {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 7vw, 7rem) 0;
    background: var(--ink-800);
    color: #fff;
}

.area-documents::after {
    position: absolute;
    right: -7rem;
    bottom: -9rem;
    width: min(42vw, 510px);
    height: min(42vw, 510px);
    content: "";
    border: 1px solid rgba(227, 199, 126, 0.22);
    transform: rotate(45deg);
}

.area-documents__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 10vw, 10rem);
    align-items: start;
}

.area-documents h2 {
    color: #fff;
}

.area-documents__intro > p:last-child {
    max-width: 36ch;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.03rem;
    line-height: 1.68;
}

.area-documents__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    list-style: none;
}

.area-documents__list li {
    min-height: 126px;
    padding: 1.15rem 1.2rem 1.15rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.81);
    font-size: 1rem;
    line-height: 1.55;
}

.area-documents__list li:nth-child(even) {
    padding-left: 1.2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.area-documents__list strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--brass-glow);
    font-size: 0.82rem;
    font-weight: 600;
}

.area-faq {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2.5rem, 10vw, 10rem);
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.area-faq h2 {
    max-width: 14ch;
}

.area-faq__intro > p:last-child {
    max-width: 36ch;
    margin: 1.3rem 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.66;
}

.area-faq__list {
    border-top: 1px solid var(--line-strong);
}

.area-faq details {
    border-bottom: 1px solid var(--line-strong);
}

.area-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
    color: var(--ink-900);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.42;
    list-style: none;
}

.area-faq summary::-webkit-details-marker {
    display: none;
}

.area-faq summary::after {
    flex: 0 0 auto;
    color: var(--brass-ink);
    content: "+";
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
    transition: transform 180ms ease;
}

.area-faq details[open] summary::after {
    transform: rotate(45deg);
}

.area-faq details > div {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 220ms ease;
}

.area-faq details[open] > div {
    grid-template-rows: 1fr;
}

.area-faq details p {
    min-height: 0;
    margin: 0;
    padding: 0 0.25rem 1.4rem 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.99rem;
    line-height: 1.65;
}

.area-cta {
    padding: clamp(3.8rem, 6.5vw, 6.5rem) 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.area-cta__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.area-cta h2 {
    max-width: 20ch;
}

.area-cta p {
    max-width: 58ch;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.area-page .area-cta .home-button--gold {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .area-hero {
        padding-top: 132px;
    }

    .area-intro,
    .area-section__heading,
    .area-documents__layout,
    .area-faq {
        grid-template-columns: 1fr;
    }

    .area-intro,
    .area-section__heading,
    .area-documents__layout,
    .area-faq {
        gap: 2.2rem;
    }

    .area-side-note {
        max-width: 560px;
    }

    .area-section__heading > p:last-child {
        max-width: 58ch;
    }

    .area-documents__intro > p:last-child,
    .area-faq__intro > p:last-child {
        max-width: 55ch;
    }

    .area-faq h2 {
        max-width: 19ch;
    }
}

@media (max-width: 680px) {
    .area-hero {
        padding: 116px 0 56px;
    }

    .area-breadcrumb {
        margin-bottom: 1.5rem;
    }

    .area-hero h1 {
        font-size: clamp(2.05rem, 9.5vw, 3rem);
    }

    .area-hero h1::before {
        width: 40px;
        margin-bottom: 1.1rem;
    }

    .area-content {
        padding: 4rem 0;
    }

    .area-intro {
        padding-bottom: 4rem;
    }

    .area-intro h2,
    .area-section h2,
    .area-documents h2,
    .area-faq h2,
    .area-cta h2 {
        font-size: clamp(1.78rem, 8.2vw, 2.3rem);
    }

    .area-scope,
    .area-documents__list {
        grid-template-columns: 1fr;
    }

    .area-scope article {
        min-height: 0;
    }

    .area-scope span {
        margin-bottom: 1.5rem;
    }

    .area-documents__list li,
    .area-documents__list li:nth-child(even) {
        min-height: 0;
        padding: 1rem 0;
        border-left: 0;
    }

    .area-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .area-page .area-cta .home-button--gold {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .area-page *,
    .area-page *::before,
    .area-page *::after {
        transition-duration: 0.01ms !important;
    }
}
