/* ==========================================================================
   FRANK PERES ADVOCACIA — Design System
   Paleta: ouro + grafite, alternando com marfim. Títulos: Fraunces.
   Corpo: Hanken Grotesk. CSS puro, mobile-first.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
    --gold: #C9A24B;
    --gold-light: #E8CB82;
    --gold-deep: #8F6B1F;

    --graphite-900: #0E1014;
    --graphite-800: #14171D;
    --graphite-700: #1C2028;
    --graphite-600: #272C37;

    --ivory: #F6F1E7;
    --ivory-deep: #EDE5D3;
    --white: #FFFFFF;

    --text-on-dark: #F4EFE4;
    --text-on-dark-soft: #B7B2A6;
    --text-on-light: #1A1D24;
    --text-on-light-soft: #5A5E69;

    --line-dark: rgba(201, 162, 75, .22);
    --line-light: rgba(26, 29, 36, .10);

    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --r: clamp(28px, 4vw, 56px);   /* curvatura entre seções */

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-soft: 0 10px 30px -12px rgba(14, 16, 20, .25);
    --shadow-lift: 0 28px 60px -20px rgba(14, 16, 20, .45);

    --ease: cubic-bezier(.22, .8, .24, 1);
    --container: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 9vw, 7.5rem);
    --header-h: 76px;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-on-light);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--graphite-900); }

.hidden { display: none !important; }
.text-center { text-align: center; }
.touch-target { min-width: 48px; min-height: 48px; }

/* --- 3. Layout e tipografia -------------------------------------------- */
.editorial-container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.section-editorial { padding-block: var(--section-y); position: relative; }
main > section, .site-footer { position: relative; }
main > section { border-radius: 0 0 var(--r) var(--r); }
main > section + section { margin-top: calc(-1 * var(--r)); padding-top: calc(var(--section-y) + var(--r)); }
main > section:nth-child(1) { z-index: 9; } main > section:nth-child(2) { z-index: 8; } main > section:nth-child(3) { z-index: 7; }
main > section:nth-child(4) { z-index: 6; } main > section:nth-child(5) { z-index: 5; } main > section:nth-child(6) { z-index: 4; }
main > section:nth-child(7) { z-index: 3; } main > section:nth-child(8) { z-index: 2; }
.site-footer { margin-top: calc(-1 * var(--r)); z-index: 1; }
.theme-light { background: var(--ivory); color: var(--text-on-light); }
.theme-white { background: var(--white); color: var(--text-on-light); }
.theme-dark  { background: var(--graphite-800); color: var(--text-on-dark); }

.section-label {
    display: inline-flex; align-items: center; gap: .75rem;
    font-size: .65rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold-deep); margin-bottom: 1.1rem;
}
.section-label::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.theme-dark .section-label { color: var(--gold-light); }
.text-center .section-label { justify-content: center; }

.section-heading {
    font-family: var(--font-display);
    font-weight: 700; line-height: 1.04; letter-spacing: -.025em;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 1.25rem;
    text-wrap: balance;
}
.section-heading em, .hero-title em, .cta-title em, .gold-gradient { font-style: italic; font-weight: 600; letter-spacing: -.02em; color: var(--gold); }
.theme-light .gold-gradient, .theme-white .gold-gradient, .theme-light em, .theme-white em { color: var(--gold-deep); }
.section-lead { max-width: 560px; font-size: .95rem; color: var(--text-on-light-soft); }
.theme-dark .section-lead { color: var(--text-on-dark-soft); }
.section-head-center { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.section-head-center .section-heading { margin-bottom: .9rem; }

/* --- 4. Botões ---------------------------------------------------------- */
.btn-gold-gradient, .btn-hairline-dark {
    display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
    min-height: 52px; padding: .9rem 1.8rem;
    font-weight: 700; font-size: .78rem; letter-spacing: .02em;
    border-radius: var(--radius-pill);
    transition: background .35s var(--ease), color .35s, border-color .35s;
}
.btn-gold-gradient { background: var(--gold); color: var(--graphite-900); }
.btn-gold-gradient:hover { background: var(--ivory); }
.btn-gold-gradient svg { transition: transform .4s var(--ease); }
.btn-gold-gradient:hover svg:last-child { transform: translateX(5px); }

.btn-hairline-dark {
    color: var(--text-on-dark); border: 1.5px solid rgba(232, 203, 130, .5);
}
.btn-hairline-dark:hover { background: var(--text-on-dark); color: var(--graphite-900); border-color: var(--text-on-dark); }

/* --- 5. Header ---------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: background .4s var(--ease), box-shadow .4s;
}
.site-header.is-scrolled, .site-header.is-solid, .rota-blog .site-header { background: var(--graphite-900); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-mark { display: flex; flex-direction: column; line-height: 1.15; color: var(--text-on-dark); }
.brand-logo { display: block; height: 46px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .1em; }
.brand-meta { font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link {
    position: relative; padding: .4rem 0; font-size: .78rem; font-weight: 600;
    color: var(--text-on-dark); opacity: .85; transition: opacity .3s, color .3s;
}
.nav-link::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 100%; height: 2px;
    background: var(--gold); border-radius: 2px;
    transform: translateX(-50%) scaleX(0); transition: transform .4s var(--ease);
}
.nav-link:hover { opacity: 1; color: var(--gold-light); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.desktop-cta { display: none; min-height: 46px; padding: .6rem 1.3rem; font-size: .78rem; }
.mobile-toggle-btn {
    display: grid; place-items: center; border-radius: 50%; color: var(--gold-light);
    border: 1px solid var(--line-dark); transition: background .3s;
}
.mobile-toggle-btn:hover { background: rgba(201, 162, 75, .15); }

.mobile-menu-drawer {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    display: flex; flex-direction: column; gap: .25rem; padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--graphite-900); overflow-y: auto;
    animation: drawerIn .4s var(--ease);
}
.mobile-menu-drawer > a:not(.btn-gold-gradient) {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-on-dark);
    padding: .65rem 0; border-bottom: 1px solid var(--line-dark); transition: color .3s, padding-left .3s var(--ease);
}
.mobile-menu-drawer > a:not(.btn-gold-gradient):hover { color: var(--gold-light); padding-left: .6rem; }
.mobile-menu-cta { margin-top: 1.5rem; }
.mobile-menu-cta .btn-gold-gradient { width: 100%; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-10px); } }

/* --- 6. Hero ------------------------------------------------------------ */
.hero-editorial {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: stretch;
    padding: calc(var(--header-h) + 2rem) 0 calc(var(--r) + 1.5rem);
    background: var(--graphite-900); color: var(--text-on-dark);
}
.hero-backdrop-right { position: absolute; inset: 0; z-index: -1; }
.hero-backdrop-img {
    width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%;
    }
.hero-backdrop-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 16, 20, .85) 0%, rgba(14, 16, 20, .55) 35%, rgba(14, 16, 20, .92) 100%),
        linear-gradient(90deg, rgba(14, 16, 20, .9), rgba(14, 16, 20, .6));
}
.hero-container-rel { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.hero-content-left { max-width: 760px; margin-block: auto; padding-top: 1rem; }

.hero-meta-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--text-on-dark-soft); margin-bottom: 1.75rem; }
.hero-meta-badge {
    padding: .4rem 1rem; border-radius: var(--radius-pill);
    background: rgba(201, 162, 75, .14); border: 1px solid var(--line-dark);
    color: var(--gold-light); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; font-weight: 700;
}
.hero-title {
    font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.03em;
    font-size: clamp(1.9rem, min(4vw, 6vh), 3.25rem); margin-bottom: 1.1rem; text-wrap: balance;
}
.hero-description { max-width: 540px; font-size: clamp(.92rem, 1.3vw, 1rem); color: var(--text-on-dark-soft); margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-footer-bar {
    display: grid; gap: 1rem; padding: 1.4rem 1.8rem; border-radius: 999px;
    background: rgba(20, 23, 29, .88); border: 1px solid var(--line-dark);
}
.hero-stat-block { display: flex; flex-direction: column; gap: .15rem; }
.hero-stat-label { font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.hero-stat-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }

/* entrada do hero */
.js .hero-content-left > *, .js .hero-footer-bar { opacity: 0; transform: translateY(28px); animation: rise .9s var(--ease) forwards; }
.js .hero-content-left > :nth-child(2) { animation-delay: .12s; }
.js .hero-content-left > :nth-child(3) { animation-delay: .24s; }
.js .hero-content-left > :nth-child(4) { animation-delay: .36s; }
.js .hero-footer-bar { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* --- 7. Sobre ----------------------------------------------------------- */
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-placard {                      /* arco: referência à arquitetura dos tribunais */
    position: relative; overflow: hidden; text-align: center; max-width: 440px; margin-inline: auto;
    padding: clamp(4.5rem, 14vw, 7rem) 2.2rem 2.4rem; border-radius: 999px 999px 40px 40px;
    background: var(--graphite-900); color: var(--text-on-dark);
    box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line-dark); transition: transform .6s var(--ease), box-shadow .6s;
}
.about-placard:hover { transform: translateY(-8px); }
.about-placard.has-photo { padding: 0 2.2rem 2.4rem; }
.placard-photo {
    display: block; width: calc(100% + 4.4rem); max-width: none; height: auto; margin: 0 -2.2rem 1.6rem;
    aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 12%;
    -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent);
}
.placard-eyebrow { position: relative; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.placard-name { position: relative; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: .6rem 0 .4rem; }
.placard-registry { position: relative; font-size: .75rem; font-weight: 600; color: var(--gold); margin-bottom: 1.25rem; }
.placard-text { position: relative; font-size: .875rem; color: var(--text-on-dark-soft); }
.placard-footer {
    position: relative; display: flex; flex-direction: column; gap: .35rem; margin-top: 1.75rem; padding-top: 1.25rem;
    border-top: 1px solid var(--line-dark); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-soft);
}
.prose-editorial { display: grid; gap: 1.1rem; max-width: 620px; color: var(--text-on-light-soft); font-size: .95rem; }

/* --- 8. Áreas de atuação: linhas editoriais que se preenchem de ouro ---- */
.section-practice { background: var(--graphite-800); }
.practice-header-row { display: grid; gap: 1.25rem; align-items: end; margin-bottom: 3rem; }
.practice-header-row .section-heading { margin-bottom: 0; }
.practice-header-row p { max-width: 440px; color: var(--text-on-dark-soft); }
.practice-grid { display: flex; flex-direction: column; gap: .8rem; }

.practice-card {
    --mx: 50%; --my: 50%;
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; gap: 1.25rem; align-items: center;
    padding: 1.75rem 1.6rem; border-radius: 36px;
    background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-dark);
    transition: transform .6s var(--ease), box-shadow .6s, background .4s;
}
.practice-card::before {              /* círculo dourado que nasce sob o cursor */
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
    clip-path: circle(0% at var(--mx) var(--my)); transition: clip-path .8s var(--ease);
}
.practice-card:hover { transform: translateX(10px); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .8); }
.practice-card:hover::before { clip-path: circle(150% at var(--mx) var(--my)); }
.practice-card-content { display: grid; gap: .75rem 1.5rem; align-items: center; }
.practice-icon-box {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    color: var(--gold-light); background: rgba(201, 162, 75, .14); box-shadow: inset 0 0 0 1px var(--line-dark);
    transition: background .5s, color .5s, transform .6s var(--ease);
}
.practice-card-title { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--text-on-dark); transition: color .5s; }
.practice-card-desc { font-size: .84rem; color: var(--text-on-dark-soft); transition: color .5s; }
.practice-card-cta {
    display: inline-flex; align-items: center; gap: .6rem; justify-self: start; white-space: nowrap;
    padding: .7rem 1.2rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--gold-light);
    box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .4s, color .4s, gap .4s var(--ease), box-shadow .4s;
}
.practice-card-cta svg { transition: transform .5s var(--ease); }
.practice-card:hover .practice-icon-box { background: var(--graphite-900); color: var(--gold-light); transform: rotate(-10deg) scale(1.08); }
.practice-card:hover .practice-card-title { color: var(--graphite-900); }
.practice-card:hover .practice-card-desc { color: rgba(14, 16, 20, .78); }
.practice-card:hover .practice-card-cta { background: var(--graphite-900); color: var(--gold-light); box-shadow: none; }
.practice-card-cta:hover { gap: 1rem; }
.practice-card:hover .practice-card-cta svg { transform: translateX(3px) rotate(-45deg); }
.practice-card-urgent { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(201, 162, 75, .08); }
.urgent-icon { background: var(--gold); color: var(--graphite-900); }

/* --- 10. FAQ: lista fluida ---------------------------------------------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-entry { position: relative; border-bottom: 1px solid var(--line-light); }
.faq-entry::after {                   /* linha dourada que varre no hover */
    content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.faq-entry:hover::after, .faq-entry:has([aria-expanded="true"])::after { transform: scaleX(1); }
.faq-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 1.6rem .25rem; text-align: left; font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em;
    font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.3; transition: color .4s, padding-left .5s var(--ease);
}
.faq-trigger:hover { color: var(--gold-deep); padding-left: .75rem; }
.faq-icon-wrapper {
    flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: var(--gold-deep); background: rgba(201, 162, 75, .16); transition: background .4s, color .4s, transform .6s var(--ease);
}
.faq-trigger:hover .faq-icon-wrapper { background: var(--gold); color: var(--graphite-900); }
.faq-trigger[aria-expanded="true"] .faq-icon-wrapper { background: var(--graphite-800); color: var(--gold-light); transform: rotate(135deg); }
.faq-content {
    max-height: 0; overflow: hidden; opacity: 0; padding: 0 .25rem; max-width: 720px;
    color: var(--text-on-light-soft); transition: max-height .6s var(--ease), opacity .4s, padding .6s var(--ease);
}
.faq-trigger[aria-expanded="true"] + .faq-content { max-height: 420px; opacity: 1; padding-bottom: 1.6rem; }

/* --- 11. CTA ------------------------------------------------------------ */
.cta-banner { position: relative; text-align: center; color: var(--text-on-dark); padding-block: clamp(4.5rem, 9vw, 7rem); background: var(--graphite-900); }
.cta-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; max-width: 780px; margin: 0 auto 1.1rem; text-wrap: balance; }
.cta-text { max-width: 520px; margin: 0 auto 2.25rem; color: var(--text-on-dark-soft); }
.cta-banner .btn-gold-gradient { min-height: 54px; padding-inline: 2.2rem; font-size: .85rem; }

/* --- 12. Rodapé --------------------------------------------------------- */
.site-footer { background: var(--graphite-900); color: var(--text-on-dark-soft); padding-top: calc(clamp(3.5rem, 7vw, 5rem) + var(--r)); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-on-dark); margin-bottom: .35rem; }
.footer-oab { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .9rem; }
.footer-about { font-size: .8rem; max-width: 380px; }
.footer-col-title { font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.footer-links { display: grid; gap: .55rem; font-size: .82rem; }
.footer-links a, .footer-contact-item a { position: relative; transition: color .3s, padding-left .3s var(--ease); }
.footer-links a:hover { color: var(--gold-light); padding-left: .55rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: .9rem; font-size: .8rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; }
.footer-icon { flex: none; margin-top: .3rem; color: var(--gold); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-sub-strip {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
    padding: 1.4rem 0 1.8rem; border-top: 1px solid var(--line-dark); font-size: .7rem; color: var(--text-on-dark-soft);
}
.footer-legal a, .footer-credit a { color: inherit; text-decoration: underline; }
.footer-legal a:hover { opacity: .8; }
.footer-legal span { margin: 0 .35rem; }
.footer-credit a { color: inherit; text-decoration: underline; }
.footer-credit a:hover { opacity: .8; }

/* --- 13. WhatsApp flutuante -------------------------------------------- */
.floating-whatsapp { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; }
.whatsapp-link {
    position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    color: #fff; background: #25D366; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.whatsapp-link:hover { transform: scale(1.08); }

/* --- 14. Blog e artigo -------------------------------------------------- */
#blog-secao, #artigo-secao { padding-top: calc(var(--header-h) + var(--section-y) * .6 + var(--r)); background: var(--ivory); }
.blog-head { margin-bottom: 2.5rem; }
.blog-head p { color: var(--text-on-light-soft); max-width: 600px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.editorial-blog-card {
    display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
    border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line-light); box-shadow: var(--shadow-soft);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.editorial-blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(201, 162, 75, .55); }
.editorial-blog-body { padding: 1.75rem 1.75rem 1rem; }
.editorial-blog-badge {
    display: inline-block; margin-bottom: 1rem; padding: .3rem .8rem; border-radius: var(--radius-pill);
    font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); background: rgba(201, 162, 75, .16);
}
.editorial-blog-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.15; margin-bottom: .75rem; }
.editorial-blog-desc { font-size: .84rem; color: var(--text-on-light-soft); }
.editorial-blog-footer { padding: 1rem 1.75rem 1.6rem; }
.editorial-blog-link { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 700; color: var(--gold-deep); transition: gap .4s var(--ease); }
.editorial-blog-link:hover { gap: .95rem; }

.editorial-article-box { max-width: 760px; margin-inline: auto; }
.editorial-article-box.is-wide { max-width: 1120px; }
.btn-back-blog {
    display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 2rem; padding: .55rem 1.1rem;
    border-radius: var(--radius-pill); border: 1px solid var(--line-light); font-size: .75rem; font-weight: 700; color: var(--gold-deep);
    transition: background .3s, gap .4s var(--ease), border-color .3s;
}
.btn-back-blog:hover { background: var(--white); border-color: var(--gold); gap: .9rem; }
.article-headline { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.1; margin-bottom: 1.75rem; text-wrap: balance; }
.article-prose { font-size: .98rem; color: var(--text-on-light-soft); }
.article-p { margin-bottom: 1.25rem; }
.article-h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-on-light); margin: 2.25rem 0 .9rem; }
.article-h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text-on-light); margin: 1.75rem 0 .7rem; }
.article-list { margin-bottom: 1.25rem; padding-left: 1.4rem; list-style: disc; }
.article-list li { margin-bottom: .5rem; }
.article-list li::marker { color: var(--gold); }
.article-cta-box {
    margin-top: 3rem; padding: 2.25rem; border-radius: var(--radius-lg); text-align: center;
    background: var(--graphite-900); color: var(--text-on-dark);
}
.article-cta-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: .6rem; }
.article-cta-desc { color: var(--text-on-dark-soft); margin-bottom: 1.5rem; }

/* --- 15. Página 404 ----------------------------------------------------- */
.page-404 {
    min-height: 100svh; display: grid; place-items: center; padding: 1.5rem; text-align: center;
    background: var(--graphite-900); color: var(--text-on-dark);
}
.card-404 { max-width: 460px; padding: 3rem 2rem; border-radius: var(--radius-lg); background: var(--graphite-800); border: 1px solid var(--line-dark); }
.card-404 h1 { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1.1; margin: 1rem 0 .6rem; }
.card-404 p { color: var(--text-on-dark-soft); margin-bottom: 1.75rem; }
.card-404 .hero-meta-badge { display: inline-block; }
.page-article-ssr { max-width: 760px; margin: 0 auto; padding: 4rem var(--gutter); }
.page-article-ssr h1 { font-family: var(--font-display); font-size: 2rem; line-height: 1.15; margin-bottom: 1.25rem; }

/* Autor flutuante e artigos sugeridos */
.article-layout { display: grid; gap: 1.5rem; }
.article-layout .article-inner-wrap, .article-author { width: 100%; max-width: 760px; margin-inline: auto; }
.article-author {
    display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; align-self: start;
    padding: 1.25rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); box-shadow: var(--shadow-soft);
}
.article-author-photo { grid-row: 1 / 4; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.article-author-eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.article-author-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.15; color: var(--text-on-light); }
.article-author-role { font-size: .78rem; font-weight: 600; color: var(--text-on-light-soft); }
.article-author-bio, .article-author .editorial-blog-link { grid-column: 1 / -1; }
.article-author-bio { margin: 1rem 0 .9rem; padding-top: 1rem; border-top: 1px solid var(--line-light); font-size: .82rem; color: var(--text-on-light-soft); }
@media (min-width: 1100px) {
    .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; }
    .article-layout .article-inner-wrap { grid-column: 1; grid-row: 1; max-width: none; margin: 0; }
    .article-author {
        grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.5rem); max-width: none; margin: 0;
        grid-template-columns: 1fr; justify-items: start; row-gap: .15rem; padding: 1.75rem;
    }
    .article-author-photo { grid-row: auto; width: 96px; height: 96px; margin-bottom: .9rem; }
}
.article-related { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line-light); }
.article-related-title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 600; margin-bottom: 1.5rem; }
.article-related-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.article-related .editorial-blog-body { padding: 1.4rem 1.4rem .6rem; }
.article-related .editorial-blog-title { font-size: 1.05rem; margin-bottom: 0; }
.article-related .editorial-blog-footer { padding: .8rem 1.4rem 1.3rem; }

/* --- 16. Reveal on scroll ---------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --- 17. Responsivo ----------------------------------------------------- */
@media (min-width: 640px) {
    .hero-footer-bar { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-inline: 2.2rem; }
    .hero-stat-block + .hero-stat-block { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
}
@media (min-width: 900px) {
    .nav-links, .desktop-cta { display: inline-flex; }
    .mobile-toggle-btn, .mobile-menu-drawer { display: none !important; }
    .hero-backdrop-overlay {
        background:
            linear-gradient(180deg, rgba(14, 16, 20, .55) 0%, transparent 30%, rgba(14, 16, 20, .75) 100%),
            linear-gradient(90deg, #0E1014 0%, rgba(14, 16, 20, .93) 34%, rgba(14, 16, 20, .45) 64%, rgba(14, 16, 20, .1) 100%);
    }
    .hero-backdrop-img { object-position: 78% 35%; }
    .hero-editorial { height: 100vh; height: 100svh; min-height: 680px; }
    /* cada seção principal ocupa a tela inteira */
    #sobre, #faq { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
    #sobre > .editorial-container, #faq > .editorial-container { width: min(100% - 2 * var(--gutter), var(--container)); }
    .about-grid { grid-template-columns: 5fr 7fr; gap: 6rem; }
    .practice-header-row { grid-template-columns: 1fr auto; }
    .practice-card { grid-template-columns: 1fr auto; padding: 1.9rem 2.4rem; gap: 2rem; }
    .practice-card-content { grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
    .practice-card-cta { min-height: 44px; }
    .practice-card:hover { transform: none; }
}
@media (max-width: 480px) {
    .hero-actions .btn-gold-gradient, .hero-actions .btn-hairline-dark { width: 100%; }
    .hero-footer-bar { border-radius: 28px; }
    .brand-logo { height: 38px; }
    .brand-meta { font-size: .55rem; }
    .whatsapp-link { width: 56px; height: 56px; }
}

/* --- 18. Movimento reduzido -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .js [data-reveal], .js .hero-content-left > *, .js .hero-footer-bar { opacity: 1; transform: none; }
}

/* --- Cookies (LGPD) e página de política -------------------------------- */
.cookie-banner {
    position: fixed; left: 1rem; bottom: 1rem; z-index: 200; width: min(320px, calc(100vw - 2rem));
    background: var(--graphite-800); color: var(--text-on-dark); border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm); padding: 1rem 1.1rem; box-shadow: var(--shadow-lift); font-size: .78rem; line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 .8rem; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-actions button {
    font: inherit; font-weight: 600; cursor: pointer; flex: 1; font-size: .75rem; padding: .45rem .6rem; border-radius: var(--radius-pill);
    border: 1px solid var(--gold); background: transparent; color: var(--text-on-dark);
}
.cookie-actions button[data-cookie="accept"] { background: var(--gold); color: var(--graphite-900); }
.cookie-actions button:hover { opacity: .85; }
.policy-page { background: var(--ivory); min-height: 100vh; padding: 3rem var(--gutter); }
.policy-page article { max-width: 780px; margin: 0 auto; }
.policy-page h1, .policy-page h2 { font-family: var(--font-display); line-height: 1.2; }
.policy-page h2 { margin-top: 2.2rem; font-size: 1.15rem; }
.policy-page a { color: var(--gold-deep); }
.policy-back { display: inline-block; margin-bottom: 1.5rem; }
