/* ===================== ADVOGADO ===================== */
:root {
    --bg: #0d0f14;
    --bg2: #141821;
    --ink: #ece8df;
    --muted: #8d8b85;
    --gold: #c2a26a;
    --gold-soft: #ddc69a;
    --line: rgba(236, 232, 223, .12);
    --line2: rgba(236, 232, 223, .24);
    --serif: 'Zodiak', Georgia, serif;
    --body: 'General Sans', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--gold);
    color: var(--bg);
}

.grain {
    position: fixed;
    inset: -50%;
    z-index: 999;
    pointer-events: none;
    opacity: .04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor: a letra E (monograma) que segue o mouse */
body,
a,
button,
[data-mag],
summary {
    cursor: none;
}

.curE {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    font-family: var(--serif);
    font-weight: 600;
    font-style: italic;
    font-size: 46px;
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 4px 18px rgba(0, 0, 0, .5);
    will-change: transform;
    user-select: none;
}

@media (hover:none),
(pointer:coarse) {
    .curE {
        display: none;
    }

    body,
    a,
    button,
    summary {
        cursor: auto;
    }
}

/* utils */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.kicker {
    display: inline-block;
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

.h-serif {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.01em;
    max-width: 18ch;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 1.05rem 1.9rem;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background .35s var(--ease), color .35s, border-color .35s, transform .2s;
}

.btn--gold {
    background: var(--gold);
    color: #1a140a;
}

.btn--gold:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
}

.btn--line {
    border-color: var(--line2);
    color: var(--ink);
}

.btn--line:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

.btn--xl {
    padding: 1.3rem 2.4rem;
    font-size: 1.1rem;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem clamp(1.2rem, 4vw, 3rem);
    background: rgba(13, 15, 20, .72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav__brand {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: baseline;
    gap: .3rem;
}

.nav__brand span {
    color: var(--gold);
}

.nav__brand em {
    font-style: normal;
    font-family: var(--body);
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .06em;
    color: var(--muted);
}

.nav__mid {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav__mid a {
    font-size: .92rem;
    color: var(--muted);
    transition: color .3s;
}

.nav__mid a:hover {
    color: var(--ink);
}

@media (max-width:900px) {

    .nav__mid,
    .nav__cta {
        display: none;
    }
}

/* HERO */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 7rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 50vw;
    height: 70vh;
    background: radial-gradient(circle, rgba(194, 162, 106, .12), transparent 65%);
    pointer-events: none;
}

.hero__grid {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-inline: clamp(1.2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 600px);
    align-items: center;
}

.hero__h {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    margin: 1.4rem 0;
}

.hero__h .ln {
    display: block;
    overflow: hidden;
}

.hero__h .em {
    color: var(--gold-soft);
    font-style: italic;
}

.hero__p {
    max-width: 46ch;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 1.4rem;
}

.hero__trust {
    font-family: var(--mono);
    font-size: .78rem;
    color: var(--muted);
    letter-spacing: .02em;
}

.hero__media {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(420px, 47vw, 820px);
    height: 100%;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    filter: grayscale(.18) contrast(1.06) brightness(.95);
}

.hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 15, 20, 1) 0%, rgba(13, 15, 20, .5) 26%, rgba(13, 15, 20, 0) 62%),
        linear-gradient(0deg, rgba(13, 15, 20, .9) 0%, rgba(13, 15, 20, 0) 36%),
        linear-gradient(180deg, rgba(13, 15, 20, .55) 0%, rgba(13, 15, 20, 0) 24%);
}

.hero__cap {
    position: absolute;
    left: clamp(1.4rem, 3vw, 2.6rem);
    bottom: clamp(1.6rem, 4vw, 2.6rem);
    z-index: 2;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: #fff;
}

.hero__cap small {
    display: block;
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-top: .3rem;
}

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

    .hero__media {
        width: 100%;
    }

    .hero__media img {
        object-position: 50% 16%;
    }

    .hero__media::after {
        background: linear-gradient(0deg, rgba(13, 15, 20, .97) 6%, rgba(13, 15, 20, .5) 48%, rgba(13, 15, 20, .72) 100%);
    }

    .hero__cap {
        display: none;
    }
}

/* STATS */
.stats {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-block: 1px solid var(--line);
}

.stat {
    text-align: left;
    border-left: 1px solid var(--line);
    padding-left: 1.6rem;
}

.stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.stat__n {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--gold-soft);
    line-height: 1;
}

.stat__l {
    display: block;
    margin-top: .5rem;
    color: var(--muted);
    font-size: .92rem;
}

@media (max-width:720px) {
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .stat:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }
}

/* sections */
.areas,
.about,
.proc,
.quotes,
.faq {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 3rem);
}

.sec-head {
    margin-bottom: 3.2rem;
}

/* AREAS */
.areas__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.area {
    background: var(--bg);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    transition: background .4s var(--ease);
}

.area:hover {
    background: var(--bg2);
}

.area__i {
    font-family: var(--mono);
    font-size: .78rem;
    color: var(--gold);
}

.area h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.5rem;
    margin: 1rem 0 .6rem;
}

.area p {
    color: var(--muted);
    font-size: .95rem;
}

@media (max-width:860px) {
    .areas__grid {
        grid-template-columns: 1fr;
    }
}

/* ABOUT */
.about {
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
    min-height: 88svh;
    padding-block: clamp(4rem, 9vw, 8rem);
    border-top: 1px solid var(--line);
}

.about__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(.28) contrast(1.04) brightness(.62);
}

.about__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 15, 20, .97) 0%, rgba(13, 15, 20, .82) 38%, rgba(13, 15, 20, .35) 72%, rgba(13, 15, 20, .55) 100%),
        linear-gradient(0deg, rgba(13, 15, 20, .7) 0%, rgba(13, 15, 20, 0) 40%);
}

.about__txt {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: clamp(1.2rem, 4vw, 3rem);
}

.about__txt>* {
    max-width: 600px;
}

.about__txt p {
    color: var(--muted);
    max-width: 48ch;
    margin: 1rem 0 1.8rem;
}

.about__list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.about__list span {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--gold);
}

@media (max-width:860px) {
    .about {
        min-height: auto;
        padding-block: clamp(4rem, 12vw, 7rem);
    }

    .about__media::after {
        background: linear-gradient(0deg, rgba(13, 15, 20, .96) 8%, rgba(13, 15, 20, .58) 55%, rgba(13, 15, 20, .8) 100%);
    }
}

/* PROC */
.proc {
    border-top: 1px solid var(--line);
}

.proc__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step__n {
    font-family: var(--serif);
    font-size: 2.4rem;
    color: var(--line2);
}

.step h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.3rem;
    margin: .6rem 0 .5rem;
}

.step p {
    color: var(--muted);
    font-size: .95rem;
}

@media (max-width:860px) {
    .proc__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.2rem;
    }
}

@media (max-width:520px) {
    .proc__grid {
        grid-template-columns: 1fr;
    }
}

/* QUOTES */
.quotes {
    border-top: 1px solid var(--line);
}

.quotes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 2rem;
}

.quote {
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2rem;
}

.quote p {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.5;
}

.quote cite {
    display: block;
    margin-top: 1.4rem;
    font-style: normal;
    font-family: var(--mono);
    font-size: .76rem;
    letter-spacing: .06em;
    color: var(--gold-soft);
}

@media (max-width:860px) {
    .quotes__grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq__list {
    border-top: 1px solid var(--line);
}

.qa {
    border-bottom: 1px solid var(--line);
}

.qa summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
}

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

.qa__i {
    position: relative;
    width: 18px;
    height: 18px;
    flex: none;
}

.qa__i::before,
.qa__i::after {
    content: '';
    position: absolute;
    background: var(--gold);
    transition: transform .4s var(--ease);
}

.qa__i::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    transform: translateY(-50%);
}

.qa__i::after {
    left: 50%;
    top: 0;
    width: 1.5px;
    height: 100%;
    transform: translateX(-50%);
}

.qa[open] .qa__i::after {
    transform: translateX(-50%) scaleY(0);
}

.qa__b {
    overflow: hidden;
    height: 0;
}

.qa[open] .qa__b {
    height: auto;
}

.qa__b p {
    color: var(--muted);
    max-width: 62ch;
    padding-bottom: 1.5rem;
}

/* CLOSE */
.close {
    text-align: center;
    padding: clamp(5rem, 12vw, 9rem) clamp(1.2rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.close::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70vw;
    height: 70vw;
    max-width: 800px;
    max-height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(194, 162, 106, .12), transparent 60%);
    pointer-events: none;
}

.close__inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.close__h {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.06;
    margin: 0 auto 1.2rem;
    max-width: 20ch;
}

.close__p {
    color: var(--muted);
    max-width: 50ch;
    margin: 0 auto 2.4rem;
}

/* FOOT */
.foot {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem clamp(1.2rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.foot__brand {
    font-family: var(--serif);
    font-size: 1.1rem;
}

.foot__made {
    font-size: .82rem;
    color: var(--muted);
}

.foot__made a {
    color: var(--gold-soft);
    border-bottom: 1px solid var(--line2);
}

/* reveal */
html.motion [data-fade] {
    opacity: 0;
    transform: translateY(26px);
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition-duration: .001ms !important;
    }
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 9px;
    border: 2px solid var(--bg);
}
