/* ═══════════════════════════════════════════════════════════════════
   BUENO GÓIS ADVOGADOS — Design System CSS
   Advocacia Trabalhista Estratégica · São Bernardo do Campo
   
   Paleta: Azul Marinho Profundo / Preto Sofisticado / Dourado Quente
   Tipografia: Playfair Display (headlines) + Inter (corpo)
   Estética: Dark Luxury Jurídico, Cinematográfico, Editorial
   ═══════════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cromática principal (Navy Theme Custom) */
    --preto: #193455;
    --preto-leve: #1c3a5e;
    --grafite: #204068;
    --grafite-medio: #264c7a;
    --grafite-claro: #2c588c;
    --cinza-escuro: #3d6a9e;
    --cinza: #6fa0d1;
    --cinza-claro: #b0cfee;
    --off-white: #e9f2fb;
    --branco: #ffffff;

    /* Dourado (Canary CTA Custom) */
    --dourado: #F5CE32;
    --dourado-claro: #ffdf6b;
    --dourado-escuro: #c4a11f;
    --dourado-sutil: rgba(245, 206, 50, 0.1);
    --dourado-glow: rgba(245, 206, 50, 0.2);

    /* Azul marinho */
    --marinho: #12253e;
    /* Navy base even darker */
    --marinho-leve: #1a3454;

    /* Tipografia */
    --font-headline: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;

    /* Espaçamento */
    --section-py: clamp(5rem, 10vw, 9rem);
    --container-px: clamp(1.25rem, 4vw, 3rem);
    --max-width: 1280px;

    /* Transições */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--preto);
    background-image: radial-gradient(circle at 50% 0%, rgba(24, 51, 84, 0.15), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(24, 51, 84, 0.08), transparent 50%);
    color: var(--off-white);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Esconder cursor nativo se JS ativar custom cursor */
body.has-custom-cursor,
body.has-custom-cursor * {
    cursor: none !important;
}

/* ─── CUSTOM SELECTION & SCROLLBAR ──────────────────────────────── */
::selection {
    background: var(--preto);
    color: var(--branco);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--preto-leve);
}

::-webkit-scrollbar-thumb {
    background: var(--dourado);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dourado-claro);
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--dourado);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background-color 0.3s;
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor-hover .cursor-dot {
    width: 0px;
    height: 0px;
    background-color: transparent;
}

.cursor-hover .cursor-ring {
    width: 50px;
    height: 50px;
    border-color: var(--dourado);
    background-color: rgba(201, 168, 76, 0.08);
}

/* ─── ARCHITECTURAL MESH & PARTICLES ────────────────────────────── */
#bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    opacity: 0.34;
    mix-blend-mode: screen;
}

.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 4;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(245, 206, 50, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 206, 50, 0.045) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center center;
    opacity: 0.3;
    mix-blend-mode: screen;
    animation: mesh-drift 26s linear infinite;
}

.mesh-bg::before {
    content: '';
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(105deg, transparent 0 44%, rgba(245, 206, 50, 0.055) 49%, transparent 54%),
        linear-gradient(180deg, transparent 0 47%, rgba(111, 160, 209, 0.045) 50%, transparent 53%);
    background-size: 520px 100%, 100% 460px;
    background-position: -35% 0, 0 -30%;
    opacity: 0.18;
    animation: mesh-scan 22s linear infinite;
}

@keyframes mesh-drift {
    from {
        background-position: center center;
    }

    to {
        background-position: calc(50% + 80px) calc(50% + 80px);
    }
}

@keyframes mesh-scan {
    from {
        background-position: -35% 0, 0 -30%;
    }

    to {
        background-position: 135% 0, 0 130%;
    }
}

/* ─── CINEMATIC NOISE ───────────────────────────────────────────── */
#noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 100;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.025;
    mix-blend-mode: soft-light;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

strong {
    font-weight: 600;
    color: var(--branco);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* Garante que TODAS as seções ficam acima do mesh e das partículas */
section,
.site-header,
.site-footer {
    position: relative;
    z-index: 2;
}


.ethics-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--dourado), var(--marinho), var(--dourado));
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    z-index: 1001;
}


/* ─── HEADER / NAVBAR ───────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 2px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.5s var(--ease-out);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(11, 11, 13, 0.65);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 0;
    border-bottom: none;
}

/* Specular Top Edge */
.site-header.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 206, 50, 0.25), transparent);
    z-index: -1;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-headline);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dourado);
    letter-spacing: 0.01em;
}

.brand-tag {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cinza-claro);
}

.nav-logo-img {
    height: 38px;
    /* Proporção mais clean/equilibrada, Golden Ratio baseline */
    width: auto;
    object-fit: contain;
    transition: transform 0.4s var(--ease-out);
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--cinza-claro);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 1px;
    background: var(--dourado);
    transition: all 0.3s var(--ease-out);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--dourado);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    background: var(--dourado);
    color: var(--preto);
    transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
    background: var(--dourado-claro);
    transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--dourado);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}


/* ─── HERO CINEMATOGRÁFICA ─────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
    background-color: var(--preto);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-color: var(--preto);
    background-size: cover;
    /* Ancora a partir do centro para nunca voar pra borda isolada, com pequena folga no topo para salvar testa */
    background-position: calc(50% + 25vw) top 20px;
    background-repeat: no-repeat;
    z-index: 1;
}

@media (min-width: 1440px) {
    .hero-bg-image {
        /* Em telas gigantes, trava o limite de flutuação para a direita para não afastar a imagem do texto */
        background-position: calc(50% + 350px) top 30px;
    }
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 11, 13, 0.4);
    z-index: 2;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 11, 13, 0.95) 0%, rgba(11, 11, 13, 0.8) 35%, transparent 100%);
    z-index: 3;
}

.hero-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(11, 11, 13, 0.8) 100%);
    z-index: 4;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 680px;
    /* Limita a largura da copy para não colar no Alan */
}

.hero-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dourado);
    opacity: 0.9;
}

.hero-headline {
    font-family: var(--font-headline);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--branco);
    letter-spacing: -0.02em;
    /* Tracking refinado das big techs */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.85);
    max-width: 680px;
    text-wrap: balance;
    /* Impede viúvas irritantes e equilibra 3 linhas de texto */
}

.font-italic {
    font-style: italic;
    font-weight: 400;
    /* Contrasta elegantemente com bold base */
    color: var(--dourado);
    opacity: 0.9;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--cinza-claro);
    max-width: 520px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    padding-top: 0.5rem;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 0.5rem;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cinza-claro);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.proof-item svg {
    flex-shrink: 0;
}


/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    background: var(--dourado);
    color: var(--preto);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary:hover {
    background: var(--dourado-claro);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.15);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: transparent;
    color: var(--dourado);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(201, 168, 76, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-secondary:hover {
    border-color: var(--dourado);
    background: rgba(201, 168, 76, 0.05);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--dourado);
    color: var(--preto);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    15% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-whatsapp {
    animation: neon-pulse 3s infinite alternate;
}

@keyframes neon-pulse {
    from {
        box-shadow: 0 0 10px rgba(245, 206, 50, 0.2);
    }

    to {
        box-shadow: 0 0 25px rgba(245, 206, 50, 0.6), 0 0 50px rgba(245, 206, 50, 0.2);
    }
}

.btn-whatsapp:hover {
    background: var(--dourado-claro);
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(245, 206, 50, 0.6);
}


/* ─── SECTION HELPERS ───────────────────────────────────────────── */
.section-header {
    margin-bottom: 3.5rem;
    max-width: 720px;
}

.section-header-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--branco);
}


/* ─── MANIFESTO ─────────────────────────────────────────────────── */
.manifesto {
    padding: 4rem 0;
    background: rgba(25, 52, 85, 0.6);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    position: relative;
    z-index: 2;
}

.manifesto-text {
    font-family: var(--font-headline);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.8;
    color: var(--cinza-claro);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

.manifesto-text::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--dourado);
    margin: 0 auto 2rem;
}

.manifesto-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--dourado);
    margin: 2rem auto 0;
}


/* ─── DORES ─────────────────────────────────────────────────────── */
.dores {
    padding: var(--section-py) 0;
    background: rgba(14, 30, 50, 0.92);
    position: relative;
}

/* Pseudo-elementos decorativos removidos — causavam bloqueio de visibilidade dos cards */

.dores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.dor-card {
    padding: 3rem 2.5rem;
    background: rgba(32, 64, 104, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out);
    position: relative;
    z-index: 1;
}

/* Cursor Reactive Radial Glow */
.dor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 168, 76, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}

.dor-card:hover::before {
    opacity: 1;
}

/* Inner Specular Edge on Hover */
.dor-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.dor-card:hover::after {
    opacity: 1;
}

.dor-card:hover {
    background: rgba(43, 85, 138, 0.6) !important;
    border: 1px solid rgba(245, 206, 50, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 206, 50, 0.1);
    z-index: 2;
}

.dor-number {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(201, 168, 76, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.dor-title {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--branco);
    margin-bottom: 0.75rem;
}

.dor-text {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--cinza-claro);
}

.dores-cta {
    text-align: center;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--grafite-claro);
}

.dores-cta-text {
    font-size: 1rem;
    color: var(--cinza-claro);
    margin-bottom: 1.5rem;
}


/* ─── SOBRE ─────────────────────────────────────────────────────── */
.sobre {
    padding: var(--section-py) 0;
    background: var(--preto-leve);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.sobre-image-wrapper {
    position: relative;
}

.sobre-image {
    width: 100%;
    filter: grayscale(15%);
    box-shadow: -15px 15px 0px rgba(245, 206, 50, 0.25);
    border-radius: 4px;
    transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.sobre-image:hover {
    filter: grayscale(0%);
    transform: translate(5px, -5px);
}

.sobre-content .section-label {
    margin-bottom: 0.75rem;
}

.sobre-content .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 2rem;
}

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sobre-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--cinza-claro);
}

.timeline-ux {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    padding-left: 10px;
    border-top: 1px solid var(--grafite-claro);
}

.credential-node {
    padding: 1.5rem 2rem;
    background: rgba(32, 64, 104, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--dourado);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 1.25rem;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
}

.credential-node:hover {
    transform: translateX(10px);
    background: rgba(43, 85, 138, 0.6);
}

.node-bullet {
    width: 9px;
    height: 9px;
    background: var(--dourado);
    border-radius: 50%;
    margin-top: 6px;
    box-shadow: 0 0 10px var(--dourado-glow);
    flex-shrink: 0;
}

.credential-box {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.credential-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dourado);
}

.credential-value {
    font-size: 0.9rem;
    color: var(--branco);
}


/* ─── MÉTODO ────────────────────────────────────────────────────── */
.metodo {
    padding: var(--section-py) 0;
    background: rgba(18, 40, 65, 0.85);
    position: relative;
    z-index: 2;
}

.metodo-header {
    max-width: 680px;
    margin-bottom: 3.5rem;
}

.metodo-intro {
    font-size: 1rem;
    font-weight: 300;
    color: var(--cinza-claro);
    margin-top: 1.25rem;
    line-height: 1.7;
}

.metodo-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.metodo-image {
    width: 100%;
    border-radius: 16px;
    filter: grayscale(25%) contrast(1.05);
    transition: filter 0.6s var(--ease-out);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 120px;
}

.metodo-image:hover {
    filter: grayscale(0%);
}

.metodo-steps-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metodo-step {
    padding: 2rem 2.5rem;
    background: rgba(32, 64, 104, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    display: flex;
    gap: 1.5rem;
}

.metodo-step:hover {
    background: rgba(43, 85, 138, 0.8);
    border: 1px solid rgba(245, 206, 50, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 206, 50, 0.06);
}

.step-number {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dourado);
    opacity: 0.4;
    flex-shrink: 0;
    width: 2.5rem;
    padding-top: 0.15rem;
}

.step-title {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--branco);
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--cinza-claro);
    line-height: 1.7;
}


/* ─── ÁREAS DE ATUAÇÃO ──────────────────────────────────────────── */
.atuacao {
    padding: var(--section-py) 0;
    background: rgba(18, 40, 65, 0.7);
    position: relative;
}

/* Pseudo-elemento decorativo removido — bloqueava cards */

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.atuacao-card {
    padding: 3rem 2.5rem;
    background: rgba(32, 64, 104, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

/* Cursor Reactive Glow */
.atuacao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 168, 76, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}

.atuacao-card:hover::before {
    opacity: 1;
}

.atuacao-card:hover {
    background: linear-gradient(135deg, var(--grafite-medio) 0%, rgba(26, 52, 84, 0.9) 100%);
    border-color: rgba(245, 206, 50, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 206, 50, 0.08);
    z-index: 2;
}

/* Animated Conic Gradient Setup */
@property --spin-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin-border {
    to {
        --spin-angle: 360deg;
    }
}

.atuacao-featured {
    grid-column: span 2;
    background: var(--preto-leve);
    min-height: 240px;
    padding: 3rem 2.5rem;
    z-index: 3;
}

/* Animated Edge on Featured */
.atuacao-featured::after {
    content: '';
    position: absolute;
    inset: 0px;
    z-index: 2;
    background: conic-gradient(from var(--spin-angle), transparent 70%, rgba(201, 168, 76, 0.5) 100%);
    animation: spin-border 6s linear infinite;
    pointer-events: none;
    /* Usa máscara para mostrar só a borda de 1px */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

.atuacao-featured:hover {
    background: var(--grafite);
}

.atuacao-title {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--branco);
    margin-bottom: 0.75rem;
}

.atuacao-featured .atuacao-title {
    font-size: 1.8rem;
    font-style: italic;
}

.atuacao-text {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--cinza-claro);
    line-height: 1.7;
}


/* ─── AUTORIDADE ────────────────────────────────────────────────── */
.autoridade {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
}

.autoridade-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.autoridade-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top !important;
    opacity: 0.25;
    filter: grayscale(60%) sepia(10%) hue-rotate(180deg);
}

.autoridade-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--preto) 0%, rgba(11, 11, 13, 0.6) 50%, var(--preto) 100%);
}

.autoridade-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.autoridade-headline {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--branco);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.autoridade-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--cinza-claro);
    line-height: 1.75;
}

.autoridade-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.75rem 2rem;
    background: rgba(32, 64, 104, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.stat:hover {
    border-color: rgba(245, 206, 50, 0.3);
    background: rgba(43, 85, 138, 0.6);
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-highlight {
    font-family: var(--font-headline);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dourado);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--cinza-claro);
    letter-spacing: 0.02em;
}


/* ─── PROVA SOCIAL ──────────────────────────────────────────────── */
.prova-social {
    padding: var(--section-py) 0;
    background: var(--preto-leve);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.depoimento-card {
    padding: 3rem 2.5rem;
    background: rgba(32, 64, 104, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.depoimento-card:hover {
    border-color: rgba(245, 206, 50, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 206, 50, 0.08);
}

.depoimento-aspas {
    font-family: var(--font-headline);
    font-size: 5rem;
    color: rgba(201, 168, 76, 0.12);
    line-height: 0.8;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.depoimento-text {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
    color: var(--off-white);
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.depoimento-autor {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.autor-nome {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dourado);
}

.autor-cargo {
    font-size: 0.75rem;
    color: var(--cinza);
}


/* ─── FAQ ───────────────────────────────────────────────────────── */
.faq {
    padding: var(--section-py) 0;
    background: rgba(18, 40, 65, 0.7);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--grafite-claro);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    font-family: var(--font-headline);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--branco);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--dourado);
}

.faq-icon-wrapper {
    color: var(--dourado);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-plus {
    transform-origin: center;
    transition: transform 0.4s var(--ease-out), stroke 0.3s ease;
}

.faq-item.open .faq-plus {
    transform: rotate(135deg);
    /* Gira suavemento do + para um x angular */
    stroke: var(--dourado-claro);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--cinza-claro);
}


/* ─── CTA FINAL ─────────────────────────────────────────────────── */
.cta-final {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
}

.cta-final-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--marinho) 0%, var(--preto) 50%, var(--grafite) 100%);
}

.cta-final-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.cta-final-image {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    filter: grayscale(25%) contrast(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.cta-final-headline {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--branco);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-final-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--cinza-claro);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.cta-final-content .btn-whatsapp {
    margin-top: 1rem;
}

.cta-final-ethics {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cinza);
    margin-top: 1.5rem;
}


/* ─── FOOTER ────────────────────────────────────────────────────── */
.site-footer {
    background: var(--preto);
    padding: 4rem 0 2.5rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 206, 50, 0.15), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--cinza);
    line-height: 1.7;
    max-width: 360px;
}

.footer-col-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--cinza);
    transition: all 0.3s var(--ease-out);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--dourado);
    transform: translateX(4px);
}

.footer-address {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--cinza);
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copy {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cinza-escuro);
}

.footer-oab {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--cinza-escuro);
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero {
        align-items: flex-end;
        min-height: 100svh;
        padding-bottom: 2.75rem;
        padding-top: 5.5rem;
    }

    .hero-bg-image {
        /* Desloca para a DIREITA (85%) no mobile e abaixa 60px (Sintaxe CSS válida de 2 eixos) */
        background-position: 82% 52px !important;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-overlay-gradient {
        /* Protege brutalmente a metade inferior onde o texto ficará e deixa o topo limpo */
        background: linear-gradient(180deg, rgba(11, 11, 13, 0) 0%, rgba(11, 11, 13, 0.75) 35%, rgba(11, 11, 13, 0.98) 60%, rgba(11, 11, 13, 1) 100%);
    }

    .hero-content {
        align-items: center;
        text-align: center;
        /* Abaixa com força o texto pro fundo do celular para limpar o rosto */
        margin-top: clamp(14rem, 25vh, 16rem);
    }

    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-proof {
        justify-content: center;
    }

    .hero-sub {
        max-width: 100%;
    }


    .hero-image-wrapper {
        justify-content: center;
        order: -1;
    }

    .hero-image {
        max-width: 340px;
    }

    .hero-image-caption {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .sobre-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .metodo-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .metodo-image-col {
        max-width: 500px;
    }

    .autoridade-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-final-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-final-image-wrapper {
        display: flex;
        justify-content: center;
    }

    .cta-final-image {
        max-width: 320px;
    }

    .cta-final-content .btn-whatsapp {
        margin: 1rem auto 0;
    }

    .cta-final-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    #noise-overlay {
        display: none;
    }

    .atuacao-featured::after {
        display: none;
        /* Desliga mask e gradient pro mobile */
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 11, 13, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
        font-family: var(--font-headline);
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .hero {
        min-height: 100svh;
        padding-top: 5.5rem;
        padding-bottom: 2.75rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-image {
        max-width: 280px;
    }

    .dores-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        /* Maior separação das caixas de vidro */
    }

    .dor-card {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        /* Retorna com a borda completa */
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dor-card:nth-child(n+4) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dor-card:last-child {
        border-bottom: none;
    }

    .atuacao-grid {
        grid-template-columns: 1fr;
    }

    .atuacao-featured {
        grid-column: span 1;
    }

    .sobre-credentials {
        flex-direction: column;
        gap: 1.25rem;
    }

    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .autoridade-stats {
        flex-direction: row;
        gap: 0;
        border-top: 1px solid var(--grafite-claro);
    }

    .stat {
        flex: 1;
        padding: 1.5rem 1rem;
        border-bottom: none;
        border-right: 1px solid var(--grafite-claro);
        text-align: center;
    }

    .stat:last-child {
        border-right: none;
    }

    .stat-highlight {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.65rem;
    }

    .hero-proof {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .manifesto-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .autoridade-stats {
        flex-direction: column;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--grafite-claro);
        text-align: left;
    }
}
