:root {
    --bg: #090b0a;
    --panel: #101512;
    --gold: #c89a3d;
    --gold-light: #e0b554;
    --muted: #b9b7b0;
    --serif: "Libre Caslon Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif
}

html {
    background: #030403
}

body {
    margin: 0;
    background: #030403;
    color: #fff;
    font-family: var(--sans);
    line-height: 1.6
}

.site-shell {
    width: 100%;
    max-width: 1920px;
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 0 70px rgba(0, 0, 0, .45)
}

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

.site-header {
    z-index: 1030;
    height: 78px;
    background: rgba(7, 9, 8, .95);
    border-bottom: 1px solid rgba(200, 154, 61, .23);
    backdrop-filter: blur(12px)
}

body {
    overflow-x: hidden
}

.site-shell {
    position: relative;
    overflow: visible
}

.navbar {
    min-height: 78px
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #fff !important
}

.navbar-brand strong {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400
}

.navbar-brand small {
    margin-top: 6px;
    color: var(--gold);
    font-size: 8px;
    letter-spacing: .14em
}

.navbar-nav .nav-link {
    padding: 29px 11px !important;
    color: #d6d6d2 !important;
    font-size: 11px;
    text-transform: uppercase
}

.btn-gold {
    padding: 13px 22px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    background: linear-gradient(135deg, var(--gold-light), #b98528);
    color: #15110a !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.hero {
    position: relative;
    min-height: 850px;
    background: url("assets/banner-jose-carlos-desktop.jpg") center top/cover no-repeat
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 6, 5, .98), rgba(4, 6, 5, .9) 35%, rgb(4 6 5 / 0%) 67%, rgba(4, 6, 5, .08));
}

.min-hero-row {
    min-height: 772px
}

.hero-content {
    position: relative;
    z-index: 2
}

.eyebrow {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em
}

.hero h1,
.section-title h2,
.important h2,
.about h2,
.faq h2,
.contact h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.06
}

.hero h1 {
    font-size: clamp(46px, 5vw, 74px);
    letter-spacing: -.03em
}

.hero em,
.section-title em,
.important em,
.about em,
.faq em,
.contact em {
    font-style: normal;
    color: var(--gold-light)
}

.hero .lead {
    max-width: 650px;
    color: #d0d0cb;
    font-size: 18px
}

.link-arrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.trust-row {
    max-width: 700px;
    border-top: 1px solid rgba(255, 255, 255, .18)
}

.trust-row>div {
    padding-top: 17px
}

.trust-row>div+div {
    border-left: 1px solid rgba(255, 255, 255, .13)
}

.trust-row strong,
.trust-row small {
    display: block
}

.trust-row strong {
    font-family: var(--serif);
    font-size: 18px
}

.trust-row small {
    color: #aaa;
    font-size: 14px
}

.lawyer-badge {
    position: absolute;
    z-index: 3;
    right: 15px;
    bottom: 48px;
    width: 290px;
    padding: 20px 23px;
    border-left: 2px solid var(--gold);
    background: rgba(7, 9, 8, .88)
}

.lawyer-badge span,
.lawyer-badge strong,
.lawyer-badge small {
    display: block
}

.lawyer-badge span {
    color: var(--gold);
    font-size: 8px;
    letter-spacing: .13em
}

.lawyer-badge strong {
    margin: 5px 0;
    font-family: var(--serif);
    font-size: 19px
}

.lawyer-badge small {
    color: #aaa
}

.section-space {
    padding: 95px 0
}

.section-title h2 {
    font-size: clamp(38px, 4vw, 56px)
}

.section-lead {
    color: var(--muted)
}

.situation-grid {
    border-top: 1px solid #594a2e;
    border-left: 1px solid #594a2e
}

.situation-grid>div {
    border-right: 1px solid #594a2e;
    border-bottom: 1px solid #594a2e
}

.situation-card {
    display: block;
    min-height: 270px;
    padding: 30px;
    color: #fff;
    transition: .25s
}

.situation-card:hover {
    background: #121912;
    transform: translateY(-2px)
}

.situation-card>span {
    color: var(--gold);
    font-size: 47px;
    font-weight: 600;
}

.situation-card h3 {
    margin: 32px 0 10px;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 25px;
}

.situation-card p {
    color: var(--muted);
    font-size: 17px
}

.situation-card b {
    display: block;
    margin-top: 22px;
    color: var(--gold-light);
    font-size: 15px;
    text-transform: uppercase
}

.important {
    background: linear-gradient(115deg, #2b2315, #0d100e);
    border-block: 1px solid #5b4a2c
}

.important h2 {
    font-size: clamp(36px, 4vw, 54px)
}

.important p {
    color: #c3c1ba
}

.practice {
    background: #101512
}

.practice-feature {
    min-height: 535px;
    padding: 38px;
    border: 1px solid #665333;
    background: radial-gradient(circle at 25% 5%, rgba(200, 154, 61, .16), transparent 38%)
}

.shield {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold)
}

.shield svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round
}

.practice-feature h3 {
    font-family: var(--serif);
    font-size: 33px
}

.practice-feature p {
    color: var(--muted)
}

.practice-feature a {
    color: var(--gold-light);
    font-size: 11px;
    text-transform: uppercase
}

.practice-list {
    border-top: 1px solid #5c4d32;
    border-left: 1px solid #5c4d32
}

.practice-list>div {
    border-right: 1px solid #5c4d32;
    border-bottom: 1px solid #5c4d32
}

.practice-list article {
    min-height: 178px;
    padding: 26px
}

.practice-list span {
    color: var(--gold);
    font-size: 17px;
    font-weight: 700;
    
}

.practice-list h3 {
    margin: 10px 0 8px;
    font-family: var(--serif);
    font-size: 20px
}

.practice-list p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.process {
    background: #f0ede5;
    color: #171914
}

.process-row {
    border-top: 1px solid #c9b98d
}

.process-row article {
    height: 100%;
    padding: 35px
}

.process-row>div+div {
    border-left: 1px solid #d0c6aa
}

.process-row span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #a47e33;
    border-radius: 50%;
    color: #886322
}

.process-row h3 {
    margin: 22px 0 10px;
    font-family: var(--serif);
    font-size: 24px
}

.process-row p {
    color: #65665f;
    font-size: 13px
}

.about {
    background: #0b0e0c
}

.about-photo {
    min-height: 760px;
    background: linear-gradient(90deg, transparent 75%, #0b0e0c), url("assets/banner-jose-carlos-desktop.jpg") 72% center/cover no-repeat;
    filter: saturate(.62)
}

.about-copy {
    max-width: 800px;
    padding: 80px 7vw 80px 5vw
}

.about h2 {
    font-size: clamp(40px, 4vw, 58px)
}

.about .role {
    color: var(--gold);
    font-size: 11px;
    text-transform: uppercase
}

.about-copy>p:not(.eyebrow):not(.role) {
    color: var(--muted);
    font-size: 14px
}

.about li {
    padding: 4px 0
}

.about li:before {
    content: "—";
    margin-right: 9px;
    color: var(--gold)
}

.faq {
    background: #101310
}

.faq h2 {
    font-size: 48px
}

.accordion .card {
    border: 0;
    border-top: 1px solid #594d36;
    border-radius: 0;
    background: transparent
}

.accordion .card:last-child {
    border-bottom: 1px solid #594d36
}

.accordion .card-header {
    padding: 0;
    border: 0;
    background: none
}

.accordion .btn-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5px;
    color: #fff;
    font-family: var(--serif);
    font-size: 19px;
    text-decoration: none
}

.accordion .btn-link span {
    color: var(--gold);
    transition: .2s
}

.accordion .btn-link:not(.collapsed) span {
    transform: rotate(45deg)
}

.accordion .card-body {
    padding: 0 40px 22px 5px;
    color: var(--muted);
    font-size: 14px
}

.contact {
    background: radial-gradient(circle at 10%, rgba(200, 154, 61, .12), transparent 32%), #0a0c0b
}

.contact h2 {
    font-size: clamp(40px, 4vw, 58px)
}

.contact-item {
    display: block;
    margin-top: 24px;
    padding-left: 15px;
    border-left: 1px solid var(--gold)
}

.contact-item small,
.contact-item strong {
    display: block
}

.contact-item small {
    color: var(--gold);
    font-size: 8px;
    letter-spacing: .14em
}

.contact-item strong {
    font-size: 13px
}

.contact form {
    padding: 35px;
    border: 1px solid #594d36;
    background: #111511
}

.contact label {
    color: #c6c3bb;
    font-size: 14px
}

.form-control {
    height: auto;
    padding: 12px;
    border: 1px solid #3d403b;
    border-radius: 2px;
    background: #080a09;
    color: #fff
}

.form-control:focus {
    border-color: var(--gold);
    background: #080a09;
    color: #fff;
    box-shadow: none
}

.custom-control-label,
.form-note {
    color: #999b96;
    font-size: 10px
}

footer {
    padding: 27px 0;
    background: #050705;
    color: #878984;
    font-size: 10px
}

.footer-brand strong,
.footer-brand span {
    display: block
}

.footer-brand strong {
    font-family: var(--serif);
    font-size: 19px;
    color: #ddd
}

.footer-brand span {
    color: var(--gold);
    font-size: 8px;
    letter-spacing: .15em
}

.floating-whatsapp {
    position: fixed;
    z-index: 1040;
    right: max(22px, calc((100vw - 1920px)/2 + 22px));
    bottom: 22px;
    padding: 11px 14px;
    background: #1d8f4b;
    border-radius: 28px;
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(min-width:1600px) {
    .container {
        max-width: 1420px
    }

    .hero {
        min-height: 920px
    }

    .min-hero-row {
        min-height: 842px
    }
}

@media(max-width:1199.98px) {
    .hero {
        background-position: 64% top
    }

    .situation-card {
        min-height: 250px
    }

    .lawyer-badge {
        right: 30px
    }
}

@media(max-width:991.98px) {

    .site-header,
    .navbar {
        height: auto;
        min-height: 72px
    }

    .navbar-collapse {
        padding: 18px 0 24px
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important
    }

    .hero {
        min-height: 780px;
        background-position: 62% center
    }

    .hero:before {
        background: linear-gradient(90deg, rgba(4, 6, 5, .97), rgba(4, 6, 5, .83) 58%, rgba(4, 6, 5, .3))
    }

    .min-hero-row {
        min-height: 708px
    }

    .section-space {
        padding: 75px 0
    }

    .about-photo {
        min-height: 650px;
        background-position: 68% center
    }

    .about-copy {
        padding: 70px 8vw
    }

    .contact form {
        padding: 28px
    }
}

@media(max-width:767.98px) {
    .hero {
        min-height: 780px;
        align-items: flex-end !important;
        background-position: 67% center
    }

    .hero:before {
        background: linear-gradient(0deg, rgba(4, 6, 5, .99), rgba(4, 6, 5, .84) 57%, rgba(4, 6, 5, .2))
    }

    .min-hero-row {
        min-height: 708px
    }

    .hero-content {
        align-self: end
    }

    .hero h1 {
        font-size: 42px
    }

    .hero .lead {
        font-size: 16px
    }

    .trust-row small {
        display: none
    }

    .section-title h2,
    .important h2 {
        font-size: 39px
    }

    .process-row>div+div {
        border-top: 1px solid #d0c6aa;
        border-left: 0
    }

    .process-row article {
        padding: 28px 15px
    }

    .about-photo {
        min-height: 540px
    }

    .faq h2 {
        font-size: 40px
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px
    }

    footer {
        padding-bottom: 75px
    }
}

@media(max-width:575.98px) {
    .container {
        padding-right: 20px;
        padding-left: 20px
    }

    .navbar-brand strong {
        font-size: 19px
    }

    .hero h1 {
        font-size: 37px
    }

    .hero-buttons .btn {
        width: 100%
    }

    .situation-card {
        min-height: 0;
        padding: 25px
    }

    .practice-feature {
        min-height: 420px;
        padding: 28px
    }

    .contact form {
        padding: 23px 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}

/* Segunda seção clara */
#situacoes {
    background: #f1f0ec;
    color: #202522;
}

#situacoes .eyebrow {
    color: #8a6428
}

#situacoes .section-title h2 {
    color: #202522
}

#situacoes .section-title em {
    color: #8a6428
}

#situacoes .section-lead {
    color: #626660
}

#situacoes .situation-grid {
    border-color: #c9c3b7
}

#situacoes .situation-grid>div {
    border-color: #c9c3b7
}

#situacoes .situation-card {
    color: #202522;
    background: rgba(255, 255, 255, .18)
}

#situacoes .situation-card:hover {
    background: #fff;
    box-shadow: 0 14px 35px rgba(35, 40, 37, .08)
}

#situacoes .situation-card>span,
#situacoes .situation-card b {
    color: #8a6428
}

#situacoes .situation-card p {
    color: #656862
}

/* Terceira seção clara, com contraste em relação à anterior */
.important {
    background: linear-gradient(115deg, #dedfdd, #f0efeb);
    border-block-color: #c4c1b8;
    color: #202522;
}

.important .eyebrow {
    color: #8a6428
}

.important h2 {
    color: #202522
}

.important h2 em {
    color: #8a6428
}

.important p {
    color: #5f645f
}

/* Cabeçalho persistente com efeito de vidro durante a rolagem */
.site-header {
    position: fixed !important;
    top: 0;
    left: 50%;
    width: min(100%, 1920px);
    background: rgba(7, 9, 8, .93);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, -110%, 0);
    transition: transform .42s cubic-bezier(.22, .75, .22, 1), opacity .3s ease, background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.site-header .navbar,
.site-header .navbar-brand,
.site-header .navbar-brand strong,
.site-header .navbar-brand small {
    transition: min-height .35s ease, transform .35s ease, font-size .35s ease, margin .35s ease;
}

.site-header.header-scrolled {
    height: 68px;
    background: rgba(7, 9, 8, .74);
    border-bottom-color: rgba(224, 181, 84, .32);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 0);
}

.site-header.header-scrolled .navbar {
    min-height: 66px
}

.site-header.header-scrolled .navbar-brand {
    transform: scale(.94);
    transform-origin: left center
}

.site-header.header-scrolled .navbar-nav .nav-link {
    padding-top: 23px !important;
    padding-bottom: 23px !important
}

@media(prefers-reduced-motion:reduce) {
    .site-header,
    .site-header .navbar,
    .site-header .navbar-brand,
    .site-header .navbar-brand strong,
    .site-header .navbar-brand small {
        transition: none
    }
}

@media(max-width:991.98px) {
    .site-header.header-scrolled {
        height: auto;
        min-height: 66px
    }
}

/* Parallax sutil da fotografia principal — somente desktop */
@media(min-width:992px) {
    .hero.parallax-active {
        background-position: center calc(0px - var(--hero-parallax, 0px));
        will-change: background-position
    }
}

@media(min-width:992px) and (max-width:1199.98px) {
    .hero.parallax-active {
        background-position: 64% calc(0px - var(--hero-parallax, 0px))
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero.parallax-active {
        background-position: center top;
        will-change: auto
    }
}

/* Camada independente para tornar o parallax perceptível e fluido */
.hero {
    overflow: hidden;
    background-image: none;
    background-color: #090b0a
}

.hero::before {
    z-index: 1
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -75px 0;
    background-image: url("assets/banner-jose-carlos-desktop.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate3d(0, calc(0px - var(--hero-parallax, 0px)), 0) scale(1.035);
    transform-origin: center top;
    will-change: transform;
    pointer-events: none
}

.hero>.container {
    z-index: 2
}

@media(max-width:1199.98px) {
    .hero::after {
        background-position: 64% top
    }
}

@media(max-width:991.98px) {
    .hero::after {
        inset: 0;
        background-position: 62% center;
        transform: none;
        will-change: auto
    }
}

@media(max-width:767.98px) {
    .hero::after {
        background-position: 67% center
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero::after {
        transform: none;
        will-change: auto
    }
}
