/* Página inicial reformulada — Almeida Advocacia.
   A base de tokens, fontes, skip link e movimentos permanece em style.css.
   Esta folha é deliberadamente escopada à home para não desestabilizar as
   páginas institucionais e artigos que já usam os componentes existentes. */

:root {
    --home-shadow: 0 24px 60px rgba(7, 24, 42, 0.13);
    --home-shadow-deep: 0 22px 70px rgba(0, 0, 0, 0.25);
    --home-radius: 2px;
    --home-container: min(1180px, calc(100% - 48px));
}

/* O drawer móvel e os monogramas usam composição fora do quadro sem criar
   rolagem horizontal para quem navega em telas estreitas. */
html {
    overflow-x: hidden;
    overflow-x: clip;
}

.home-page {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--text);
}

.home-page .container {
    width: var(--home-container);
    max-width: none;
}

.home-page :is(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid var(--brass-light);
    outline-offset: 4px;
}

.home-page .skip-link:focus {
    z-index: 1000;
}

/* Cabeçalho */

.home-page .home-header {
    position: fixed;
    z-index: 100;
    width: 100%;
    min-height: 82px;
    border-bottom: 1px solid transparent;
    background: rgba(11, 27, 46, 0.96);
    transition: min-height 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-page .home-header.is-scrolled {
    min-height: 66px;
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(11, 27, 46, 0.985);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1.25rem;
    min-height: 82px;
    transition: min-height 180ms ease;
}

.is-scrolled .home-header__inner {
    min-height: 66px;
}

.home-page .home-brand {
    display: inline-flex;
    align-items: center;
    width: 186px;
    min-width: 0;
}

.home-page .home-brand .brand-logo-full {
    display: block;
    width: 100%;
    height: auto;
    max-height: 46px;
    transition: max-height 180ms ease;
}

.is-scrolled .home-brand .brand-logo-full {
    max-height: 38px;
}

.home-page .home-brand .brand-logo-mark {
    display: none;
    width: 39px;
    height: 39px;
}

.home-page .home-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.72rem, 1.65vw, 1.5rem);
    width: auto;
    margin: 0;
}

.home-page .home-nav a {
    position: relative;
    padding: 0.45rem 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.91rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
}

.home-page .home-nav a::after {
    right: 0;
    bottom: 0.08rem;
    left: 0;
    width: auto;
    background: var(--brass-light);
}

.home-page .home-nav a:hover,
.home-page .home-nav a.active,
.home-page .home-nav a[aria-current="true"] {
    color: #fff;
}

.home-header__contact,
.home-nav__mobile-cta {
    border: 1px solid rgba(227, 199, 126, 0.72);
    color: var(--brass-glow) !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
}

.home-header__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 0.65rem 0.9rem;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.home-header__contact:hover {
    border-color: var(--brass-glow);
    background: rgba(176, 141, 79, 0.16);
    color: #fff !important;
}

.home-nav__mobile-cta {
    display: none;
}

.home-page .home-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: transparent;
}

.home-page .home-menu-button span {
    flex: 0 0 1px;
    width: 20px;
    height: 1px;
    margin: 0;
    background: #fff;
}

.home-nav-scrim {
    display: none;
}

.home-nav-scrim[hidden] {
    display: none;
}

/* Hero */

.home-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: max(680px, 88svh);
    overflow: hidden;
    padding: 138px 0 70px;
    background:
        linear-gradient(118deg, rgba(14, 37, 64, 0.92), rgba(11, 27, 46, 0.995) 58%),
        #0b1b2e;
    color: #fff;
}

.home-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(176, 141, 79, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 141, 79, 0.075) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 75%);
}

.home-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.home-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(330px, 0.86fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: end;
}

.home-hero__copy {
    max-width: 765px;
}

.home-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0 0 1rem;
    color: var(--brass-ink);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.35;
    text-transform: uppercase;
}

.home-eyebrow::before {
    display: inline-block;
    width: 36px;
    height: 1px;
    margin-right: 0.45rem;
    content: "";
    background: currentColor;
}

.home-eyebrow--light {
    color: var(--brass-glow);
}

.home-hero h1,
.home-page h2,
.home-page h3 {
    font-family: var(--serif);
    font-weight: 500;
}

.home-hero h1 {
    max-width: 20ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 4.1vw, 4.45rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    text-wrap: balance;
}

.home-hero h1::before {
    display: block;
    width: 56px;
    height: 2px;
    margin: 0 0 1.5rem;
    content: "";
    background: var(--brass);
}

.home-hero__lead {
    max-width: 640px;
    margin: 1.65rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.04rem, 1.55vw, 1.21rem);
    line-height: 1.72;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.1rem;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.85rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--home-radius);
    font-family: var(--sans);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button--gold {
    border-color: var(--brass);
    background: var(--brass);
    color: #fff;
}

.home-button--gold:hover {
    border-color: var(--brass-light);
    background: var(--brass-light);
    color: var(--ink-900);
}

.home-button--outline {
    border-color: rgba(255, 255, 255, 0.62);
    color: #fff;
}

.home-button--outline:hover {
    border-color: #fff;
    background: #fff;
    color: var(--ink-900);
}

.home-button--whatsapp {
    border-color: #2b7048;
    background: #2b7048;
    color: #fff;
}

.home-button--whatsapp:hover {
    border-color: #3f8f61;
    background: #3f8f61;
    color: #fff;
}

.home-hero__identity {
    display: grid;
    gap: 0.18rem;
    width: fit-content;
    margin: 2.65rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.73);
    font-size: 0.89rem;
    line-height: 1.45;
}

.home-hero__identity strong {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
}

.home-hero__portrait {
    position: relative;
    justify-self: end;
    align-self: stretch;
    width: min(100%, 460px);
    margin: 0;
    border: 1px solid rgba(227, 199, 126, 0.44);
    background: #0b1b2e;
    box-shadow: var(--home-shadow-deep);
    overflow: hidden;
}

.home-hero__portrait picture {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.home-hero__portrait picture::after {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: block;
    width: 44px;
    height: 1px;
    content: "";
    background: rgba(227, 199, 126, 0.88);
}

.home-hero__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}

.home-hero__portrait figcaption {
    padding: 1rem 1.15rem 1.15rem;
    border-top: 1px solid rgba(227, 199, 126, 0.42);
    background: #0b1b2e;
}

.home-hero__portrait figcaption span {
    color: var(--brass-glow);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-hero__portrait figcaption p {
    margin: 0.38rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.91rem;
    line-height: 1.42;
}

.home-hero__watermark {
    position: absolute;
    right: -70px;
    bottom: -205px;
    width: min(47vw, 650px);
    height: auto;
    opacity: 0.045;
    transform: rotate(-10deg);
}

/* Estruturas compartilhadas */

.home-section {
    position: relative;
    padding: clamp(4.7rem, 8vw, 8rem) 0;
}

.home-section-heading {
    max-width: 760px;
    margin-bottom: clamp(2.3rem, 5vw, 4rem);
}

.home-section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
    gap: clamp(1.5rem, 8vw, 9rem);
    max-width: none;
    align-items: end;
}

.home-section-heading h2,
.home-approach h2,
.home-faq h2,
.home-contact h2,
.home-about h2 {
    max-width: 19ch;
    margin: 0;
    color: var(--ink-900);
    font-size: clamp(2rem, 3.25vw, 3.45rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.home-section-heading--split > p {
    max-width: 36ch;
    margin: 0;
    padding-bottom: 0.22rem;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

/* Atuação */

.home-areas {
    background: #fff;
}

.home-areas__composition {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 1px;
    border: 1px solid var(--line-strong);
    background: var(--line-strong);
    box-shadow: var(--home-shadow);
}

.home-area {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.6rem, 3.4vw, 3rem);
    background: var(--paper);
}

.home-area--primary {
    min-height: 590px;
    padding: clamp(2rem, 4.2vw, 4.25rem);
    background: var(--ink-800);
    color: #fff;
}

.home-area--primary::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(60%, 330px);
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(227, 199, 126, 0.3);
    border-right: 0;
    border-bottom: 0;
    transform: translate(29%, 29%) rotate(45deg);
}

.home-area--banking {
    background: #f7f5f0;
}

.home-area--inventory {
    background: #fff;
}

.home-areas__secondary {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background: var(--line-strong);
}

.home-area__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.65rem;
}

.home-area__topline span {
    color: var(--brass-ink);
    font-family: var(--serif);
    font-size: 1.08rem;
    letter-spacing: 0.07em;
}

.home-area__topline p {
    margin: 0;
    color: var(--brass-glow);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-area--primary .home-area__topline span {
    color: var(--brass-glow);
}

.home-area h3 {
    position: relative;
    z-index: 1;
    max-width: 16ch;
    margin: 0;
    color: var(--ink-900);
    font-size: clamp(1.55rem, 2.4vw, 2.45rem);
    letter-spacing: -0.02em;
    line-height: 1.18;
}

.home-area--primary h3 {
    color: #fff;
    font-size: clamp(2rem, 3vw, 3.15rem);
}

.home-area > p {
    position: relative;
    z-index: 1;
    max-width: 49ch;
    margin: 1rem 0 1.3rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.home-area--primary > p {
    max-width: 48ch;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
}

.home-area ul {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.35rem;
    margin: 0;
    padding: 1.35rem 0 1.6rem;
    border-top: 1px solid var(--line-strong);
    list-style: none;
}

.home-area ul li {
    display: flex;
    gap: 0.55rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.42;
}

.home-area ul li::before {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 0.45rem;
    content: "";
    background: var(--brass);
}

.home-area--primary ul {
    border-color: rgba(255, 255, 255, 0.22);
}

.home-area--primary ul li {
    color: rgba(255, 255, 255, 0.83);
}

.home-area__link {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 0.22rem;
    border-bottom: 1px solid currentColor;
    color: var(--brass-ink);
    font-size: 0.91rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.home-area__link span {
    display: inline-block;
    margin-left: 0.24rem;
    transition: transform 160ms ease;
}

.home-area__link:hover {
    color: var(--ink-700);
}

.home-area__link:hover span {
    transform: translateX(3px);
}

.home-area--primary .home-area__link {
    color: var(--brass-glow);
}

.home-area--primary .home-area__link:hover {
    color: #fff;
}

/* Forma de atendimento */

.home-approach {
    overflow: hidden;
    background: var(--ink-900);
    color: #fff;
}

.home-approach::before {
    position: absolute;
    top: -120px;
    right: -90px;
    width: 500px;
    height: 500px;
    content: "";
    border: 1px solid rgba(176, 141, 79, 0.25);
    border-radius: 50%;
}

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

.home-approach h2 {
    max-width: 13ch;
    color: #fff;
}

.home-approach__intro > p:not(.home-eyebrow) {
    max-width: 37ch;
    margin: 1.4rem 0 1.6rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.08rem;
    line-height: 1.68;
}

.home-text-link {
    display: inline-block;
    padding-bottom: 0.23rem;
    border-bottom: 1px solid currentColor;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.home-text-link--light {
    color: var(--brass-glow);
}

.home-text-link:hover {
    color: #fff;
}

.home-approach__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;
}

.home-approach__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    min-height: 184px;
    padding: 1.6rem 1.1rem 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.home-approach__list li:nth-child(odd) {
    margin-right: 1.4rem;
}

.home-approach__list li:nth-child(even) {
    padding-left: 1.4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.home-approach__list > li > span {
    color: var(--brass-glow);
    font-family: var(--serif);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.home-approach__list h3 {
    margin: 0 0 0.55rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
}

.home-approach__list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
    line-height: 1.56;
}

/* Sobre */

.home-about {
    background: #fff;
}

.home-about__layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.24fr);
    gap: clamp(2.5rem, 9vw, 9rem);
    align-items: start;
}

.home-about__art {
    position: sticky;
    top: 100px;
}

.home-about__art-frame {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--paper);
}

.home-about__art-frame::before,
.home-about__art-frame::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(176, 141, 79, 0.45);
}

.home-about__art-frame::before {
    inset: 16px;
}

.home-about__art-frame::after {
    width: 72%;
    aspect-ratio: 1;
    transform: rotate(45deg);
}

.home-about__art-frame img {
    position: absolute;
    width: 64%;
    height: auto;
    opacity: 0.23;
}

.home-about__art-frame span {
    position: relative;
    z-index: 1;
    color: var(--ink-700);
    font-family: var(--serif);
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    letter-spacing: 0.13em;
    line-height: 1.45;
    text-align: center;
    text-transform: uppercase;
}

.home-about__art > p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.home-about h2 {
    max-width: none;
}

.home-about__copy {
    max-width: 65ch;
    margin-top: 1.55rem;
}

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

.home-credentials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 2.15rem 0 0;
    border: 1px solid var(--line-strong);
    background: var(--line-strong);
}

.home-credentials div {
    min-height: 113px;
    padding: 1.1rem 1.15rem;
    background: #fff;
}

.home-credentials dt {
    margin-bottom: 0.45rem;
    color: var(--brass-ink);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-credentials dd {
    margin: 0;
    color: var(--ink-900);
    font-size: 0.94rem;
    line-height: 1.46;
}

/* Processo */

.home-process {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.home-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line-strong);
    list-style: none;
}

.home-process__grid li {
    position: relative;
    min-height: 270px;
    padding: 1.65rem 1.35rem 1.4rem;
    border-right: 1px solid var(--line-strong);
}

.home-process__grid li:first-child {
    padding-left: 0;
}

.home-process__grid li:last-child {
    border-right: 0;
}

.home-process__grid span {
    display: block;
    margin-bottom: 3.3rem;
    color: var(--brass-ink);
    font-family: var(--serif);
    font-size: clamp(1.65rem, 2.7vw, 2.55rem);
    letter-spacing: 0.06em;
}

.home-process__grid h3 {
    margin: 0 0 0.8rem;
    color: var(--ink-900);
    font-family: var(--sans);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
}

.home-process__grid p {
    max-width: 30ch;
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.62;
}

/* FAQ */

.home-faq {
    background: #fff;
}

.home-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2.8rem, 10vw, 11rem);
    align-items: start;
}

.home-faq h2 {
    max-width: 13ch;
}

.home-faq__intro > p:last-child {
    max-width: 37ch;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.68;
}

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

.home-faq__item {
    border-bottom: 1px solid var(--line-strong);
}

.home-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
    padding: 1rem 0;
    color: var(--ink-900);
    cursor: pointer;
    font-size: clamp(1.04rem, 1.65vw, 1.17rem);
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
}

.home-faq__item summary::-webkit-details-marker {
    display: none;
}

.home-faq__item summary::after {
    flex: 0 0 auto;
    content: "+";
    color: var(--brass-ink);
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms ease;
}

.home-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.home-faq__item > div {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 220ms ease;
}

.home-faq__item[open] > div {
    grid-template-rows: 1fr;
}

.home-faq__item > div > p {
    min-height: 0;
    margin: 0;
    padding: 0 2.8rem 1.45rem 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.66;
}

/* Contato */

.home-contact {
    overflow: hidden;
    background: var(--ink-800);
    color: #fff;
}

.home-contact::before {
    position: absolute;
    right: -5vw;
    bottom: -15vw;
    width: min(48vw, 650px);
    height: min(48vw, 650px);
    content: "";
    border: 1px solid rgba(176, 141, 79, 0.2);
    transform: rotate(45deg);
}

.home-contact__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.87fr) minmax(300px, 0.8fr);
    gap: clamp(2.5rem, 8vw, 9rem);
    align-items: start;
}

.home-contact h2 {
    max-width: 15ch;
    color: #fff;
}

.home-contact__heading > p:last-of-type {
    max-width: 39ch;
    margin: 1.35rem 0 1.7rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.07rem;
    line-height: 1.68;
}

.home-contact__details {
    padding: clamp(1.5rem, 3.4vw, 2.5rem);
    border: 1px solid rgba(227, 199, 126, 0.46);
    background: rgba(7, 24, 42, 0.31);
}

.home-contact__person {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-contact__person strong {
    color: #fff;
    font-size: 1.06rem;
    font-weight: 600;
}

.home-contact__person span {
    color: var(--brass-glow);
    font-size: 0.89rem;
}

.home-contact__details dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.home-contact__details dl div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.9rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-contact__details dt {
    color: var(--brass-glow);
    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-contact__details dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.97rem;
    line-height: 1.55;
}

.home-contact__details address {
    font-style: normal;
}

.home-contact__details a {
    color: #fff;
    text-underline-offset: 0.22em;
}

.home-contact__details a:hover {
    color: var(--brass-glow);
}

.home-contact__map {
    display: inline-block;
    margin-top: 1.45rem;
    color: var(--brass-glow) !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
}

.home-contact__map span {
    margin-left: 0.2rem;
}

.home-contact-form {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.home-contact-form summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 66px;
    color: var(--brass-glow);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    list-style: none;
}

.home-contact-form summary::-webkit-details-marker {
    display: none;
}

.home-contact-form summary::after {
    content: "+";
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    transition: transform 180ms ease;
}

.home-contact-form[open] summary::after {
    transform: rotate(45deg);
}

.home-contact-form form {
    max-width: 920px;
    padding: 0.6rem 0 0.2rem;
}

.home-contact-form__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-contact-form__wide {
    grid-column: 1 / -1;
}

.home-contact-form label {
    display: block;
    margin-bottom: 0.42rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-weight: 500;
}

.home-contact-form :is(input, select, textarea) {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink-900);
    font: inherit;
    line-height: 1.4;
}

.home-contact-form :is(input, select) {
    min-height: 48px;
    padding: 0.65rem 0.75rem;
}

.home-contact-form textarea {
    min-height: 128px;
    padding: 0.75rem;
    resize: vertical;
}

.home-contact-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 720px;
    margin: 1.2rem 0;
}

.home-contact-form__consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0.2rem 0 0;
    accent-color: var(--brass);
}

.home-contact-form__consent label {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.5;
}

.home-contact-form__consent a {
    color: var(--brass-glow);
}

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

.home-contact-form__status {
    min-height: 1.55rem;
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.91rem;
}

.home-contact-form__status[data-state="sucesso"] {
    color: #c9f0d5;
}

.home-contact-form__status[data-state="erro"] {
    color: #ffd2cb;
}

.home-contact-form__note {
    max-width: 73ch;
    margin: 0.25rem 0 1rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.79rem;
    line-height: 1.5;
}

/* Rodapé */

.home-footer {
    padding: 3.8rem 0 1.4rem;
    background: #071827;
    color: #fff;
}

.home-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(150px, 0.55fr));
    gap: clamp(2rem, 8vw, 8rem);
}

.home-footer__brand img {
    display: block;
    width: min(205px, 100%);
    height: auto;
}

.home-footer__brand p {
    margin: 1.1rem 0 0;
    color: rgba(255, 255, 255, 0.69);
    font-size: 0.91rem;
    line-height: 1.6;
}

.home-footer__column {
    display: grid;
    align-content: start;
    gap: 0.48rem;
}

.home-footer__column h2 {
    margin: 0 0 0.55rem;
    color: var(--brass-glow);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-footer__column a,
.home-footer__bottom a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.91rem;
    text-decoration: none;
}

.home-footer :is(a:hover, a:focus-visible) {
    color: var(--brass-glow);
}

.home-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.51);
    font-size: 0.78rem;
    line-height: 1.5;
}

.home-footer__bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.home-footer__bottom a {
    font-size: 0.8rem;
}

/* Entrada suave, reutilizando o JS existente. */

.home-page.js .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 360ms ease, transform 360ms ease;
}

.home-page.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsividade */

@media (max-width: 1120px) {
    .home-header__inner {
        gap: 0.82rem;
    }

    .home-page .home-nav {
        gap: 0.75rem;
    }

    .home-page .home-nav a {
        font-size: 0.83rem;
    }

    .home-header__contact {
        padding-inline: 0.7rem;
        font-size: 0.78rem !important;
    }

    .home-hero__layout,
    .home-approach__layout,
    .home-faq__layout {
        gap: 3.8rem;
    }
}

@media (max-width: 960px) {
    .home-page .home-header {
        min-height: 76px;
    }

    .home-header__inner,
    .is-scrolled .home-header__inner {
        grid-template-columns: 1fr auto;
        min-height: 76px;
    }

    .is-scrolled .home-header__inner {
        min-height: 62px;
    }

    .home-page .home-header.is-scrolled {
        min-height: 62px;
    }

    .home-header__contact {
        display: none;
    }

    .home-page .home-menu-button {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        position: relative;
        z-index: 103;
    }

    .home-page .home-menu-button[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .home-page .home-menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .home-page .home-menu-button[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .home-page .home-nav {
        position: fixed;
        z-index: 102;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        width: min(84vw, 360px);
        min-height: 100svh;
        padding: 6rem 2rem 2rem;
        border-left: 1px solid rgba(227, 199, 126, 0.45);
        background: #0b1b2e;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: translateX(100%);
        transition: opacity 200ms ease, transform 200ms ease;
    }

    .home-page .home-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0);
    }

    .home-page .home-nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.02rem;
    }

    .home-page .home-nav a::after {
        display: none;
    }

    .home-page .home-nav__mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        margin-top: 1.5rem;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(227, 199, 126, 0.72);
    }

    .home-nav-scrim {
        position: fixed;
        z-index: 101;
        inset: 0;
        display: block;
        background: rgba(2, 12, 22, 0.67);
    }

    .home-nav-scrim[hidden] {
        display: none;
    }

    .home-page.menu-open {
        overflow: hidden;
    }

    .home-hero {
        min-height: 0;
        padding: 135px 0 58px;
    }

    .home-hero__layout {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .home-hero__copy {
        max-width: 720px;
    }

    .home-hero__portrait {
        justify-self: start;
        width: min(100%, 620px);
    }

    .home-hero__portrait picture {
        aspect-ratio: 3 / 2;
    }

    .home-hero__watermark {
        right: -130px;
        bottom: -155px;
        width: 460px;
    }

    .home-section-heading--split,
    .home-areas__composition,
    .home-approach__layout,
    .home-about__layout,
    .home-faq__layout,
    .home-contact__layout {
        grid-template-columns: 1fr;
    }

    .home-section-heading--split {
        gap: 1rem;
    }

    .home-section-heading--split > p {
        max-width: 60ch;
    }

    .home-area--primary {
        min-height: 0;
    }

    .home-areas__secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 1fr;
    }

    .home-approach__layout,
    .home-faq__layout {
        gap: 2.5rem;
    }

    .home-approach h2,
    .home-faq h2 {
        max-width: 18ch;
    }

    .home-about__art {
        position: relative;
        top: auto;
        max-width: 420px;
    }

    .home-about__art-frame {
        min-height: 320px;
    }

    .home-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-process__grid li:nth-child(2) {
        border-right: 0;
    }

    .home-process__grid li:nth-child(3) {
        padding-left: 0;
    }

    .home-contact__details {
        max-width: 650px;
    }

    .home-contact-form {
        grid-column: auto;
    }

    .home-footer__grid {
        grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 680px) {
    :root {
        --home-container: min(100% - 32px, 1180px);
    }

    .home-page .home-brand {
        width: 164px;
    }

    .home-hero {
        padding-top: 118px;
    }

    .home-hero h1 {
        max-width: 17ch;
        font-size: clamp(2.05rem, 9.6vw, 3rem);
    }

    .home-hero h1::before {
        width: 42px;
        margin-bottom: 1.1rem;
    }

    .home-hero__lead {
        font-size: 1rem;
        line-height: 1.66;
    }

    .home-actions,
    .home-actions .home-button {
        width: 100%;
    }

    .home-hero__identity {
        margin-top: 2rem;
    }

    .home-hero__portrait {
        display: block;
        width: 100%;
        margin-top: 0.35rem;
    }

    .home-hero__portrait picture {
        aspect-ratio: 3 / 2;
    }

    .home-hero__portrait figcaption {
        display: none;
    }

    .home-section {
        padding: 4.2rem 0;
    }

    .home-section-heading h2,
    .home-approach h2,
    .home-faq h2,
    .home-contact h2,
    .home-about h2 {
        font-size: clamp(1.78rem, 8.3vw, 2.3rem);
    }

    .home-eyebrow {
        gap: 0.3rem;
        font-size: 0.68rem;
        letter-spacing: 0.11em;
    }

    .home-eyebrow::before {
        width: 25px;
        margin-right: 0.25rem;
    }

    .home-areas__secondary,
    .home-approach__list,
    .home-credentials,
    .home-contact-form__fields,
    .home-footer__grid {
        grid-template-columns: 1fr;
    }

    .home-area {
        padding: 1.6rem;
    }

    .home-area--primary {
        padding: 2rem 1.6rem;
    }

    .home-area ul {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .home-area--primary h3 {
        font-size: 2rem;
    }

    .home-approach__list li,
    .home-approach__list li:nth-child(odd),
    .home-approach__list li:nth-child(even) {
        min-height: 0;
        margin: 0;
        padding: 1.25rem 0;
        border-left: 0;
    }

    .home-approach__list li + li {
        border-top: 0;
    }

    .home-about__art-frame {
        min-height: 270px;
    }

    .home-about__art > p {
        display: none;
    }

    .home-credentials div {
        min-height: 0;
    }

    .home-process__grid {
        grid-template-columns: 1fr;
    }

    .home-process__grid li,
    .home-process__grid li:first-child,
    .home-process__grid li:nth-child(3) {
        min-height: 0;
        padding: 1.3rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--line-strong);
    }

    .home-process__grid li:last-child {
        border-bottom: 0;
    }

    .home-process__grid span {
        margin-bottom: 1.3rem;
    }

    .home-faq__item summary {
        min-height: 70px;
        font-size: 1rem;
    }

    .home-faq__item > div > p {
        padding-right: 0.2rem;
        font-size: 0.96rem;
    }

    .home-contact__details dl div {
        grid-template-columns: 1fr;
        gap: 0.28rem;
    }

    .home-contact-form__wide {
        grid-column: auto;
    }

    .home-contact-form .home-button {
        width: 100%;
    }

    .home-footer__grid {
        gap: 2rem;
    }

    .home-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 2.4rem;
    }
}

@media (max-width: 390px) {
    .home-page .home-brand {
        width: 140px;
    }

    .home-page .home-menu-button {
        width: 42px;
        height: 42px;
    }

}

@media (max-width: 360px) {
    .home-page .home-brand .brand-logo-full {
        display: none;
    }

    .home-page .home-brand .brand-logo-mark {
        display: block;
    }
}

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