
/* =========================================================
   POLETINE ADVOCACIA
   DESIGN TOKENS
========================================================= */

:root {

    --ivory: #F7F5F0;
    --ivory-deep: #EFEAE0;

    --ink: #111111;
    --ink-soft: #1c1c1b;

    --gray: #6F6F6A;
    --gray-soft: #97958E;

    --gold: #B39A6B;
    --gold-dim: rgba(179,154,107,.4);

    --hairline: rgba(17,17,17,.13);
    --hairline-on-dark: rgba(247,245,240,.18);

    --serif:
        'Cormorant Garamond',
        'Times New Roman',
        serif;

    --sans:
        'Manrope',
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    --container: 1360px;

    --pad: clamp(24px, 5vw, 80px);

    --section-y: clamp(88px, 11vw, 168px);

    --ease: cubic-bezier(.22,.61,.36,1);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--ivory);
    color: var(--ink);

    font-family: var(--sans);
    font-weight: 400;

    -webkit-font-smoothing: antialiased;

    line-height: 1.5;
}

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

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

button {
    font: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    margin: 0;

    font-family: var(--serif);
    font-weight: 500;

    letter-spacing: -.01em;
}

p {
    margin: 0;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;

    background: var(--ink);
    color: var(--ivory);

    padding: 12px 20px;

    z-index: 999;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}


/* =========================================================
   SHARED
========================================================= */

.eyebrow {

    font-family: var(--sans);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .18em;

    color: var(--gold);

    margin: 0 0 18px;

    text-transform: uppercase;
}


.btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 15px 30px;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: .06em;

    text-transform: uppercase;

    border: 1px solid transparent;

    transition:
        background .35s var(--ease),
        color .35s var(--ease),
        border-color .35s var(--ease);

    white-space: nowrap;
}


.btn--light {

    background: var(--ivory);
    color: var(--ink);

    border-color: var(--ivory);
}

.btn--light:hover {

    background: transparent;
    color: var(--ivory);
}


.btn--ghost {

    border-color: currentColor;
    color: inherit;
}

.btn--ghost:hover {

    background: var(--ivory);

    color: var(--ink);

    border-color: var(--ivory);
}


.btn--outline-dark {

    border-color: var(--ink);

    color: var(--ink);

    text-align: center;

    justify-content: center;
}

.btn--outline-dark:hover {

    background: var(--ink);

    color: var(--ivory);
}


.btn--gold {

    background: var(--gold);

    color: var(--ink);

    border-color: var(--gold);
}

.btn--gold:hover {

    background: transparent;

    color: var(--ivory);

    border-color: var(--gold);
}


.link-arrow {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: .03em;

    padding-bottom: 3px;
}

.link-arrow span {

    transition:
        transform .3s var(--ease);
}

.link-arrow::after {

    content: '';

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    height: 1px;

    background: currentColor;

    transform: scaleX(.34);

    transform-origin: left;

    transition:
        transform .4s var(--ease);
}

.link-arrow:hover::after {

    transform: scaleX(1);
}

.link-arrow:hover span {

    transform: translateX(4px);
}


/* =========================================================
   PHOTO
========================================================= */

.photo-frame {

    position: relative;

    overflow: hidden;

    background: var(--ivory-deep);
}

.photo-frame img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 1.1s var(--ease);
}

.photo-frame:hover img {

    transform: scale(1.045);
}


/* =========================================================
   REVEAL
========================================================= */

[data-reveal] {

    opacity: 0;

    transform: translateY(26px);
}

[data-reveal].is-visible {

    opacity: 1;

    transform: none;

    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease);
}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    inset: 0 0 auto 0;

    z-index: 100;

    padding: 26px var(--pad) 0;

    transition:
        background .5s var(--ease),
        padding .5s var(--ease),
        border-color .5s var(--ease);

    border-bottom: 1px solid transparent;
}

.header__inner {

    max-width: var(--container);

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: clamp(20px, 4vw, 56px);

    padding-bottom: 22px;

    color: var(--ivory);

    transition:
        color .5s var(--ease);
}


.header.is-solid {

    background: rgba(247,245,240,.92);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    padding-top: 14px;

    border-color: var(--hairline);
}

.header.is-solid .header__inner {

    color: var(--ink);

    padding-bottom: 14px;
}


.brand {

    display: flex;

    flex-direction: column;

    line-height: 1;

    margin-right: auto;
}

.brand__name {

    font-family: var(--serif);

    font-size: 21px;

    letter-spacing: .06em;
}

.brand__sub {

    font-size: 9.5px;

    letter-spacing: .32em;

    color: var(--gold);

    margin-top: 5px;
}


.nav {

    display: none;

    gap: clamp(18px, 2.6vw, 38px);

    font-size: 13.5px;

    font-weight: 500;
}

.nav a {

    position: relative;

    padding-bottom: 4px;
}

.nav a::after {

    content: '';

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    height: 1px;

    background: currentColor;

    transform: scaleX(0);

    transform-origin: right;

    transition:
        transform .35s var(--ease);
}

.nav a:hover::after {

    transform: scaleX(1);

    transform-origin: left;
}


.header__cta {

    display: none;
}


.menu-toggle {

    width: 34px;
    height: 22px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    margin-left: auto;
}

.menu-toggle span {

    display: block;

    height: 1px;
    width: 100%;

    background: currentColor;

    transition:
        transform .3s var(--ease),
        opacity .3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {

    transform:
        translateY(9.5px)
        rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {

    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {

    transform:
        translateY(-9.5px)
        rotate(-45deg);
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {

    position: fixed;

    inset: 0;

    z-index: 99;

    background: var(--ivory);

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 40px;

    padding: 0 var(--pad);

    transform: translateY(-100%);

    transition:
        transform .55s var(--ease);
}

.mobile-nav.is-open {

    transform: translateY(0);
}

.mobile-nav nav {

    display: flex;

    flex-direction: column;

    gap: 22px;
}

.mobile-nav a {

    font-family: var(--serif);

    font-size: 34px;
}

.mobile-nav .btn {

    align-self: flex-start;

    margin-top: 8px;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 100svh;

    display: flex;

    align-items: center;

    padding: 120px var(--pad) 64px;

    background: var(--ink);

    color: var(--ivory);

    overflow: hidden;
}

.hero__grid {

    max-width: var(--container);

    margin: 0 auto;

    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    gap: 56px;
}

.hero__title {

    font-size: clamp(40px, 6.6vw, 84px);

    line-height: 1.04;

    margin: 0 0 30px;

    max-width: 15ch;
}

.hero__title em {

    font-style: italic;

    color: var(--gold);
}

.hero__support {

    font-size: clamp(16px, 1.5vw, 18px);

    color: rgba(247,245,240,.72);

    max-width: 44ch;

    margin-bottom: 40px;

    font-weight: 300;
}

.hero__actions {

    display: flex;

    align-items: center;

    gap: 36px;

    flex-wrap: wrap;
}

.hero__actions .link-arrow {

    color: var(--ivory);
}

.hero__media {

    position: relative;
}

.hero__image {

    aspect-ratio: 478.18 / 598.17;

    width: 100%;

    border: none;
}

.hero__location {

    position: absolute;

    left: -14px;

    top: 50%;

    transform:
        translateY(-50%)
        rotate(-90deg);

    transform-origin: left center;

    font-size: 11px;

    letter-spacing: .3em;

    font-weight: 600;

    color: var(--gold);

    display: none;
}


.hero__scroll {

    position: absolute;

    bottom: 28px;

    left: 50%;

    transform: translateX(-50%);

    width: 1px;

    height: 52px;

    background: rgba(247,245,240,.25);
}

.hero__scroll span {

    position: absolute;

    top: 0;
    left: -2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--gold);

    animation:
        scrollDot 2.6s ease-in-out infinite;
}

@keyframes scrollDot {

    0% {
        top: 0;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}


/* =========================================================
   INTRO
========================================================= */

.intro {

    padding:
        var(--section-y)
        var(--pad);
}

.intro__grid {

    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 52px;
}

.intro__title {

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.14;

    max-width: 16ch;

    margin-bottom: 26px;
}

.intro__text {

    font-size: 17px;

    color: var(--gray);

    max-width: 42ch;

    line-height: 1.7;
}

.intro__media .ph--tall {

    aspect-ratio: 5 / 4;
}


/* =========================================================
   ÁREAS
========================================================= */

.areas {

    padding:
        var(--section-y)
        var(--pad);

    border-top: 1px solid var(--hairline);
}

.areas__head {

    max-width: var(--container);

    margin: 0 auto 56px;
}

.areas__head h2 {

    font-size: clamp(32px, 4.4vw, 52px);

    margin-bottom: 14px;
}

.areas__sub {

    color: var(--gray);

    font-size: 16px;
}


.areas__list {

    max-width: var(--container);

    margin: 0 auto;

    border-top: 1px solid var(--hairline);
}


.area {

    display: block;

    width: 100%;

    text-align: left;

    padding: 26px 4px 0;

    border-bottom: 1px solid var(--hairline);

    cursor: pointer;
}

.area__row {

    display: flex;

    align-items: baseline;

    gap: clamp(16px, 3vw, 40px);

    padding-bottom: 24px;
}

.area__num {

    font-family: var(--serif);

    font-size: 18px;

    color: var(--gold-dim);

    font-weight: 500;

    transition:
        color .35s var(--ease);

    width: 34px;

    flex-shrink: 0;
}

.area__name {

    font-family: var(--serif);

    font-size: clamp(24px, 3.6vw, 40px);

    font-weight: 400;

    transition:
        transform .4s var(--ease),
        color .35s var(--ease);

    flex: 1;
}

.area__plus {

    position: relative;

    width: 16px;
    height: 16px;

    flex-shrink: 0;

    margin-top: 8px;
}

.area__plus::before,
.area__plus::after {

    content: '';

    position: absolute;

    background: var(--ink);

    transition:
        transform .4s var(--ease),
        opacity .3s;
}

.area__plus::before {

    left: 0;
    top: 7px;

    width: 16px;
    height: 1px;
}

.area__plus::after {

    left: 7px;
    top: 0;

    width: 1px;
    height: 16px;
}

.area__line {

    display: block;

    height: 1px;

    width: 0;

    background: var(--gold);

    transition:
        width .5s var(--ease);
}

.area__desc {

    display: block;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.7;

    max-width: 56ch;

    transition:
        max-height .5s var(--ease),
        opacity .4s var(--ease),
        padding .5s var(--ease);
}


.area:hover .area__num,
.area.is-open .area__num {

    color: var(--gold);
}

.area:hover .area__name,
.area.is-open .area__name {

    transform: translateX(10px);
}

.area:hover .area__line,
.area.is-open .area__line {

    width: 100%;
}

.area.is-open .area__plus::after {

    transform: rotate(90deg);

    opacity: 0;
}

.area.is-open .area__desc {

    max-height: 160px;

    opacity: 1;

    padding: 16px 0 28px;
}


@media (hover:hover) {

    .area:hover .area__desc {

        max-height: 160px;

        opacity: 1;

        padding: 16px 0 28px;
    }
}


/* =========================================================
   METODOLOGIA
========================================================= */

.method {

    padding:
        var(--section-y)
        var(--pad);

    background: var(--ivory-deep);
}

.method__head {

    max-width: var(--container);

    margin: 0 auto 60px;
}

.method__head h2 {

    font-size: clamp(30px, 4vw, 46px);

    max-width: 18ch;
}


.method__grid {

    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 1px;

    background: var(--hairline);

    border: 1px solid var(--hairline);
}

.method__item {

    background: var(--ivory-deep);

    padding: 44px 34px;
}

.method__num {

    display: block;

    font-family: var(--serif);

    font-size: 15px;

    color: var(--gold);

    margin-bottom: 26px;
}

.method__item h3 {

    font-size: 26px;

    margin-bottom: 14px;
}

.method__item p {

    color: var(--gray);

    font-size: 15px;

    line-height: 1.7;

    max-width: 32ch;
}


/* =========================================================
   ESCRITÓRIO
========================================================= */

.office {

    padding:
        var(--section-y)
        var(--pad);
}

.office__grid {

    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 64px;
}


.office__media {

    position: relative;

    padding-bottom: 26px;
}

.ph--main {

    aspect-ratio: 4 / 5;

    width: 82%;
}

.ph--overlap {

    aspect-ratio: 5 / 4;

    width: 58%;

    position: absolute;

    right: 0;

    bottom: 0;

    border: 6px solid var(--ivory);
}

.office__tag {

    position: absolute;

    left: 0;

    bottom: 0;

    font-size: 11px;

    letter-spacing: .24em;

    color: var(--gray);

    font-weight: 600;
}


.office__copy h2 {

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.16;

    margin-bottom: 30px;

    max-width: 16ch;
}

.office__points {

    display: flex;

    flex-direction: column;

    gap: 16px;
}

.office__points li {

    position: relative;

    padding-left: 26px;

    color: var(--gray);

    font-size: 15.5px;

    line-height: 1.6;
}

.office__points li::before {

    content: '';

    position: absolute;

    left: 0;

    top: 9px;

    width: 10px;

    height: 1px;

    background: var(--gold);
}


/* =========================================================
   ATENDIMENTO
========================================================= */

.reviews {

    padding:
        var(--section-y)
        var(--pad);

    border-top: 1px solid var(--hairline);

    text-align: center;
}

.reviews__head {

    margin-bottom: 64px;
}

.reviews__title {

    display: block;

    font-family: var(--serif);

    font-size: clamp(34px, 4vw, 48px);
}

.reviews__count {

    display: block;

    margin-top: 10px;

    font-size: 13px;

    letter-spacing: .1em;

    text-transform: uppercase;

    color: var(--gray);
}

.reviews__grid {

    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 40px;
}

.review p {

    font-family: var(--serif);

    font-style: italic;

    font-size: clamp(19px, 2vw, 23px);

    line-height: 1.5;

    color: var(--ink-soft);
}


/* =========================================================
   LINKEDIN
========================================================= */

.linkedin {

    padding:
        var(--section-y)
        var(--pad);

    background: var(--ivory-deep);

    border-top: 1px solid var(--hairline);
}

.linkedin__inner {

    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 60px;

    align-items: center;
}

.linkedin__content {

    max-width: 680px;
}

.linkedin__content h2 {

    font-size: clamp(34px, 5vw, 58px);

    line-height: 1.08;

    max-width: 15ch;

    margin-bottom: 24px;
}

.linkedin__content p:not(.eyebrow) {

    color: var(--gray);

    font-size: 16px;

    line-height: 1.7;

    max-width: 48ch;

    margin-bottom: 32px;
}

.linkedin__content .btn {

    display: inline-flex;
}

.linkedin__content .btn span {

    font-size: 18px;

    transition:
        transform .3s var(--ease);
}

.linkedin__content .btn:hover span {

    transform: translateX(5px);
}


.linkedin__side {

    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--hairline);

    background: var(--ivory);

    text-align: center;
}

.linkedin__symbol {

    width: 82px;
    height: 82px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);

    font-family: var(--sans);

    font-size: 42px;

    font-weight: 700;

    color: var(--gold);

    margin-bottom: 28px;
}

.linkedin__name {

    font-family: var(--serif);

    font-size: 28px;

    line-height: 1.15;
}


/* =========================================================
   CTA
========================================================= */

.cta {

    background: var(--ink);

    color: var(--ivory);

    padding:
        var(--section-y)
        var(--pad);

    text-align: center;
}

.cta__inner {

    max-width: 760px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 26px;
}

.cta__inner h2 {

    font-size: clamp(32px, 5vw, 54px);

    line-height: 1.12;
}

.cta__inner p {

    color: rgba(247,245,240,.68);

    font-size: 16px;

    max-width: 42ch;
}

.cta__loc {

    margin-top: 6px;

    font-size: 11px;

    letter-spacing: .24em;

    text-transform: uppercase;

    color: var(--gray-soft);
}


/* =========================================================
   CONTATO
========================================================= */

.contact {

    padding:
        var(--section-y)
        var(--pad);

    border-top: 1px solid var(--hairline);

    position: relative;
}

.contact__grid {

    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 44px;
}

.contact__brand {

    font-size: clamp(30px, 4vw, 44px);

    margin-top: 4px;
}

.contact__col h3 {

    font-family: var(--sans);

    font-size: 12px;

    letter-spacing: .14em;

    text-transform: uppercase;

    color: var(--gold);

    margin-bottom: 12px;

    font-weight: 600;
}

.contact__col h3.mt {

    margin-top: 26px;
}

.contact__col p {

    color: var(--gray);

    font-size: 15.5px;

    line-height: 1.7;

    margin-bottom: 16px;
}

.contact__col p a {

    color: var(--ink);

    font-weight: 600;

    transition:
        color .3s var(--ease);
}

.contact__col p a:hover {

    color: var(--gold);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 80;

    display: flex;

    align-items: center;

    gap: 10px;

    background: var(--ink);

    color: var(--ivory);

    padding: 13px 18px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: .03em;

    border: 1px solid var(--ink);

    box-shadow:
        0 12px 30px rgba(17,17,17,.18);

    transition:
        background .3s var(--ease),
        color .3s var(--ease);
}

.whatsapp:hover {

    background: var(--gold);

    border-color: var(--gold);

    color: var(--ink);
}

.whatsapp span {

    display: none;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: var(--ink);

    color: rgba(247,245,240,.7);

    padding:
        56px var(--pad) 40px;
}

.footer__inner {

    max-width: var(--container);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 34px;
}

.footer__brand {

    display: flex;

    flex-direction: column;

    color: var(--ivory);
}

.footer__brand .brand__name {

    font-size: 19px;
}

.footer__seal {

    width: 40px;
    height: 40px;

    object-fit: cover;

    border-radius: 50%;

    margin-bottom: 12px;

    opacity: .92;

    filter: grayscale(.15);
}

.footer__nav {

    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    font-size: 13.5px;
}

.footer__nav a {

    transition:
        color .3s var(--ease);
}

.footer__nav a:hover {

    color: var(--ivory);
}

.footer__meta {

    display: flex;

    flex-direction: column;

    gap: 8px;

    font-size: 12px;

    letter-spacing: .03em;

    color: rgba(247,245,240,.4);

    padding-top: 28px;

    border-top: 1px solid var(--hairline-on-dark);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 640px) {

    .whatsapp span {
        display: inline;
    }
}


@media (min-width: 760px) {

    .footer__inner {

        flex-direction: row;

        align-items: flex-start;

        justify-content: space-between;
    }

    .footer__meta {

        flex-direction: row;

        gap: 24px;

        border: none;

        padding-top: 0;

        text-align: right;
    }
}


@media (min-width: 860px) {

    .hero__grid {

        grid-template-columns: .86fr 1fr;

        align-items: center;

        gap: 64px;
    }

    .hero__location {

        display: block;
    }


    .method__grid {

        grid-template-columns: repeat(3, 1fr);
    }


    .reviews__grid {

        grid-template-columns: repeat(3, 1fr);

        gap: 56px;
    }
}


@media (min-width: 900px) {

    .intro__grid {

        grid-template-columns: 1.1fr .9fr;

        align-items: center;

        gap: 80px;
    }


    .contact__grid {

        grid-template-columns: 1.1fr 1fr 1fr;

        gap: 60px;
    }


    .linkedin__inner {

        grid-template-columns: 1.1fr .9fr;

        gap: 100px;
    }

    .linkedin__side {

        min-height: 360px;
    }
}


@media (min-width: 960px) {

    .nav {

        display: flex;
    }

    .header__cta {

        display: inline-flex;
    }

    .menu-toggle {

        display: none;
    }


    .mobile-nav {

        display: none;
    }


    .office__grid {

        grid-template-columns: 1fr 1fr;

        align-items: center;

        gap: 100px;
    }

    .office__media {

        padding-bottom: 60px;
    }
}


@media (min-width: 1180px) {

    .hero__grid {

        gap: 80px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .001ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .001ms !important;

        scroll-behavior: auto !important;
    }
}


