:root {
    --navy: #01122E;
    --navy-2: #071D3E;
    --navy-3: #0B2A53;
    --gold: #D9A83D;
    --gold-2: #F0CF7B;
    --gold-soft: #F6E7BD;
    --ivory: #F7F4EC;
    --paper: #FFFEFA;
    --ink: #12213A;
    --muted: #667085;
    --line: rgba(18, 33, 58, .13);
    --white: #FFFFFF;
    --shadow: 0 24px 70px rgba(1, 18, 46, .14);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1220px;
    --header-height: 108px;
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
}
body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    position: relative;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container {
    width: min(calc(100% - 40px), var(--container));
    max-width: 100%;
    margin-inline: auto;
}
main,
header,
footer,
section,
.site-header,
.site-footer,
.hero {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
.section { padding: 108px 0; }
section[id], article[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
.skip-link {
    position: fixed;
    left: 16px;
    top: -70px;
    z-index: 9999;
    padding: 12px 16px;
    background: #fff;
    color: #000;
    border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(217, 168, 61, .28);
    box-shadow: 0 8px 30px rgba(0, 7, 25, .16);
}
.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-block: 12px;
}
.brand {
    width: 215px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.brand img {
    width: 100%;
    max-height: 86px;
    height: auto;
    object-fit: contain;
    display: block;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}
.main-nav a,
.main-nav button {
    border: 0;
    background: transparent;
    text-decoration: none;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .01em;
    padding: 8px 0;
}
.main-nav a:hover,
.main-nav button:hover { color: #fff; }
.main-nav .nav-cta {
    padding: 13px 20px;
    color: var(--navy);
    background: var(--gold);
    border-radius: 999px;
    font-weight: 750;
}
.main-nav .nav-cta:hover { color: var(--navy); background: #E7B84D; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.24);
    background: transparent;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* Reusable headings/buttons */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9D6F1E;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .17em;
}
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-2); }
.hero h1,
.section-heading h2,
.focus-copy h2,
.process-intro h2,
.faq-intro h2,
.final-contact h2 {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: -.035em;
}
.primary-button,
.gold-button,
.secondary-button {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-button,
.gold-button {
    background: var(--gold);
    color: var(--navy);
}
.primary-button:hover,
.gold-button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(217,168,61,.24); }
.secondary-button {
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    padding: 15px 19px;
    background: rgba(255,255,255,.03);
}
.secondary-button:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 82px 0 104px;
    min-height: min(820px, calc(100vh - var(--header-height)));
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 82px 82px;
    mask-image: linear-gradient(to right, #000, transparent 90%);
    pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(217,168,61,.16), transparent 68%); }
.hero-glow-two { width: 460px; height: 460px; left: 28%; bottom: -300px; background: radial-gradient(circle, rgba(36,97,164,.22), transparent 68%); }
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 72px;
    align-items: center;
}
.hero-copy { max-width: 650px; }
.hero h1 {
    font-size: clamp(54px, 5.7vw, 78px);
    line-height: 1.03;
    margin: 18px 0 24px;
    font-weight: 600;
}
.hero h1 em { color: var(--gold-soft); font-style: normal; }
.hero-lead { color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; max-width: 620px; }
.hero-paths { display: flex; flex-wrap: wrap; gap: 10px; margin: 27px 0 30px; }
.hero-paths a {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255,255,255,.025);
}
.hero-paths a:hover { border-color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.hero-primary { min-height: 54px; padding: 15px 22px; font-size: 15px; }
.hero-note { margin: 16px 0 0; color: rgba(255,255,255,.5); font-size: 12px; }
.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    padding: 18px 0;
}
.hero-lawyer-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.15);
    background: #071B39;
    box-shadow: 0 30px 70px rgba(0,0,0,.32);
}
.hero-lawyer-paulo { margin-top: 74px; }
.hero-photo-frame { aspect-ratio: 554 / 434; overflow: hidden; background: #e9ece7; }
.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-lawyer-copy { padding: 19px 20px 21px; }
.hero-lawyer-copy span {
    display: block;
    color: var(--gold-2);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px;
    font-weight: 750;
    margin-bottom: 4px;
}
.hero-lawyer-copy strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    line-height: 1.2;
}
.hero-visual-line {
    position: absolute;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-34deg);
    opacity: .7;
    pointer-events: none;
}

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 28px 31px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 5px; }
.trust-grid span { color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Section headings */
.section-heading { max-width: 870px; margin-bottom: 54px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2 {
    color: var(--navy);
    font-size: clamp(40px, 4.6vw, 61px);
    line-height: 1.1;
    margin: 16px 0 20px;
}
.section-heading h2 em { color: #A77B2E; font-style: normal; }
.section-heading p { color: var(--muted); font-size: 17px; max-width: 760px; }
.section-heading.centered p { margin-inline: auto; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.split-heading p { margin-bottom: 8px; }

/* Areas */
.intro-section { background: var(--paper); }
.area-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.area-overview-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 44px;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(1,18,46,.07);
}
.area-overview-card.dark-card { background: var(--navy); color: #fff; border-color: transparent; }
.area-number { position: absolute; right: 32px; top: 25px; font-family: "Playfair Display", serif; color: rgba(1,18,46,.08); font-size: 78px; line-height: 1; }
.dark-card .area-number { color: rgba(255,255,255,.08); }
.area-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: #F5E9CC; color: #9A6F23; margin-bottom: 22px; }
.area-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dark-card .area-icon { background: rgba(217,168,61,.14); color: var(--gold-2); }
.area-label { color: #9A6F23; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; font-size: 12px; }
.dark-card .area-label { color: var(--gold-2); }
.area-overview-card h3 { color: var(--navy); font-family: "Playfair Display", serif; font-size: 33px; line-height: 1.18; margin: 14px 0 18px; }
.dark-card h3 { color: #fff; }
.area-overview-card p { color: var(--muted); font-size: 16px; }
.dark-card p { color: rgba(255,255,255,.7); }
.clean-list { list-style: none; padding: 0; margin: 25px 0 30px; display: grid; gap: 11px; }
.clean-list li { position: relative; padding-left: 23px; color: #4D5A70; font-size: 14px; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dark-card .clean-list li { color: rgba(255,255,255,.78); }
.text-link { border: 0; background: transparent; padding: 0; color: var(--navy); font-weight: 750; text-align: left; }
.dark-card .text-link { color: var(--gold-2); }
.text-link span { margin-left: 7px; }

/* Insurance focus */
.insurance-focus { background: #F4F0E6; }
.focus-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.focus-copy h2 { color: var(--navy); font-size: clamp(43px, 4.6vw, 63px); line-height: 1.05; margin: 17px 0 24px; }
.focus-copy p { color: var(--muted); font-size: 17px; }
.document-box { margin-top: 27px; border-left: 4px solid var(--gold); background: #FFF9EA; padding: 21px 23px; border-radius: 0 15px 15px 0; }
.document-box strong { display: block; color: var(--navy); margin-bottom: 5px; font-size: 15px; }
.document-box span { color: #78684B; font-size: 14px; }
.focus-panel { background: var(--navy); color: #fff; border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow); }
.panel-kicker { display: block; color: var(--gold-2); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.focus-items { display: grid; grid-template-columns: 1fr 1fr; margin-top: 25px; }
.focus-items div { padding: 25px 20px; border-top: 1px solid rgba(255,255,255,.13); display: flex; gap: 16px; align-items: flex-start; }
.focus-items b { color: var(--gold); font-family: "Playfair Display", Georgia, serif; font-size: 21px; line-height: 1.35; }
.focus-items span { color: rgba(255,255,255,.89); font-size: 16px; line-height: 1.5; font-weight: 650; }

/* Lawyer profiles */
.lawyers-section { background: var(--ivory); }
.lawyer-profile {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 56px;
    align-items: center;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: 0 14px 50px rgba(1,18,46,.06);
}
.lawyer-profile + .lawyer-profile { margin-top: 28px; }
.profile-image { position: relative; overflow: hidden; border-radius: 27px; background: #E9ECE7; aspect-ratio: 554 / 434; }
.profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-image span { position: absolute; left: 18px; bottom: 18px; background: var(--navy); color: var(--gold-soft); border-radius: 999px; padding: 9px 13px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.profile-role { color: #9D6F1E; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.profile-copy h3 { color: var(--navy); font-family: "Playfair Display", serif; font-size: 46px; line-height: 1.08; margin: 10px 0 17px; }
.profile-copy p { color: var(--muted); font-size: 16px; margin: 0 0 13px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.profile-tags span { background: #F0F3F7; color: #31415A; padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.reverse-profile .profile-image { order: 2; }

/* Books */
.books-section { background: var(--navy); color: #fff; }
.light-heading h2 { color: #fff; }
.light-heading h2 em { color: var(--gold-soft); }
.light-heading p { color: rgba(255,255,255,.66); }
.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; }
.book-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.book-image { aspect-ratio: 3 / 4; display: grid; place-items: center; border-radius: 15px; background: #F0F2F5; padding: 15px; margin-bottom: 19px; overflow: hidden; }
.book-image img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(0,0,0,.2)); }
.book-card > span { color: #9D6F1E; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.book-card h3 { color: var(--navy); font-size: 18px; line-height: 1.25; margin: 9px 0 10px; }
.book-card p { color: var(--muted); font-size: 13px; line-height: 1.58; margin: 0; }

/* Process */
.process-section { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: start; }
.process-intro h2 { font-size: clamp(38px, 4vw, 55px); line-height: 1.12; color: var(--navy); margin: 15px 0 20px; }
.process-intro > p { color: var(--muted); font-size: 17px; }
.process-note { margin-top: 27px; padding: 28px 30px; border-radius: 24px; background: var(--navy); color: #fff; }
.process-note strong { display: block; color: #F4E2A6; font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.process-note span { display: block; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.62; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.process-list li { display: grid; grid-template-columns: 74px 1fr; gap: 20px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.process-list b { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #F4EAD3; color: #9D7428; font-family: "Playfair Display", Georgia, serif; font-size: 19px; }
.process-list strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.process-list span { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-section { background: #F4F0E6; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: start; }
.faq-intro h2 { color: var(--navy); font-size: clamp(39px, 4vw, 55px); line-height: 1.08; margin: 16px 0 19px; }
.faq-intro p { color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); padding: 0 48px 0 0; position: relative; }
.accordion summary { list-style: none; cursor: pointer; padding: 21px 0; color: var(--navy); font-weight: 750; font-size: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 2px; top: 17px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: 20px; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { color: var(--muted); padding: 0 0 22px; margin: 0; font-size: 14px; }

/* Final contact */
.final-contact { background: var(--navy); color: #fff; }
.final-contact-card { display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.final-contact h2 { color: #fff; font-size: clamp(40px, 4.7vw, 62px); line-height: 1.08; margin: 16px 0 18px; max-width: 800px; }
.final-contact p { color: rgba(255,255,255,.67); max-width: 720px; }
.gold-button { flex: 0 0 auto; padding: 17px 24px; min-height: 56px; }

/* Contact modal */
.contact-modal { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; padding: 22px; }
.contact-modal.is-open { display: flex; }
.contact-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 8, 24, .76); backdrop-filter: blur(8px); }
.contact-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(92vh, 880px);
    overflow: auto;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 34px 100px rgba(0,0,0,.42);
    padding: 38px;
    animation: modal-in .22s ease both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute;
    right: 17px;
    top: 17px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #F6F7F9;
    color: var(--navy);
    font-size: 27px;
    line-height: 1;
    z-index: 2;
}
.modal-heading { padding-right: 46px; margin-bottom: 24px; }
.form-kicker { display: block; color: #9D6F1E; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.modal-heading h2,
.modal-success h2 { color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 39px; line-height: 1.08; margin: 8px 0 10px; }
.modal-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.lead-form { color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.form-grid label { display: block; }
.form-grid label > span { display: block; color: var(--navy); font-size: 12px; font-weight: 750; margin-bottom: 7px; }
.full-field { grid-column: 1 / -1; }
.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    border: 1px solid #D2D9E4;
    background: #FBFCFE;
    color: var(--ink);
    border-radius: 13px;
    padding: 13px 14px;
    outline: none;
}
.form-grid input,
.form-grid select { min-height: 51px; }
.form-grid textarea { resize: vertical; min-height: 116px; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,168,61,.13); }
.form-consents { display: grid; gap: 8px; margin: 18px 0; }
.check-line { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.check-line input { margin-top: 3px; }
.check-line a { color: var(--navy); font-weight: 750; }
.modal-submit { width: 100%; min-height: 57px; padding: 15px 18px; }
.modal-submit svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-note { color: #7A8495; font-size: 11px; line-height: 1.5; margin: 13px 0 0; }
.form-status { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 11px; font-size: 13px; }
.form-status.show { display: block; }
.form-status.success { background: #EAF8EF; color: #17613A; }
.form-status.error { background: #FFF0F0; color: #9A2626; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.modal-success { text-align: center; padding: 34px 18px 18px; }
.success-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: #EAF8EF; color: #17613A; font-size: 35px; font-weight: 800; }
.modal-success p { color: var(--muted); max-width: 500px; margin: 0 auto 24px; }
.success-close { padding: 14px 28px; min-width: 170px; }

/* Footer */
.site-footer { background: #000D2A; color: rgba(255,255,255,.68); padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .72fr 1fr .65fr; gap: 48px; align-items: start; }
.footer-brand img { width: 184px; height: auto; object-fit: contain; margin-bottom: 20px; }
.footer-brand p { max-width: 360px; font-size: 14px; }
.footer-col { display: grid; gap: 9px; }
.footer-col strong { color: #fff; margin-bottom: 8px; }
.footer-col a { text-decoration: none; font-size: 13px; }
.footer-col span { font-size: 12px; line-height: 1.55; }
.office-seal {
    justify-self: end;
    width: 178px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}
.office-seal img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    display: block;
}

.whatsapp-float-stack {
    position: fixed;
    z-index: 3600;
    left: 20px;
    bottom: 20px;
    display: grid;
    gap: 11px;
    width: min(272px, calc(100vw - 40px));
    justify-items: start;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.whatsapp-float-stack > * {
    width: 100%;
}

.whatsapp-float-button {
    position: relative;
    isolation: isolate;
    min-height: 62px;
    display: inline-flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 9px 17px 9px 10px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    background: linear-gradient(135deg, #2BDF70 0%, #18B957 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0, 91, 44, .32), 0 4px 10px rgba(0,0,0,.14);
    transform: translateZ(0);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.whatsapp-float-button::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(110deg, rgba(255,255,255,.14), transparent 45%);
    pointer-events: none;
}
.whatsapp-float-button:hover,
.whatsapp-float-button:focus-visible {
    color: #fff;
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 20px 42px rgba(0, 91, 44, .38), 0 6px 13px rgba(0,0,0,.16);
    filter: saturate(1.08);
}
.whatsapp-float-button:focus-visible { outline: 3px solid rgba(240,207,123,.88); outline-offset: 3px; }
.whatsapp-float-icon {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.17);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
}
.whatsapp-float-icon::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(43,223,112,.62);
    border-radius: 50%;
    animation: whatsapp-pulse 2s ease-out infinite;
    pointer-events: none;
}
.whatsapp-float-icon svg { width: 28px; height: 28px; fill: currentColor; }
.whatsapp-float-label { min-width: 0; display: grid; line-height: 1.16; }
.whatsapp-float-label small {
    margin-bottom: 3px;
    color: rgba(255,255,255,.82);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.whatsapp-float-label strong { color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
body.modal-open .whatsapp-float-stack { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; }
@keyframes whatsapp-pulse {
    0% { opacity: .72; transform: scale(.86); }
    65%, 100% { opacity: 0; transform: scale(1.38); }
}

/* Cookie */
.cookie-banner {
    position: fixed;
    z-index: 4000;
    right: 22px;
    bottom: 22px;
    left: auto;
    width: min(344px, calc(100vw - 36px));
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: start;
    gap: 14px;
    padding: 22px 22px 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(2,19,49,.98), rgba(0,11,33,.98));
    color: #E8F0FF;
    box-shadow: 0 24px 65px rgba(0,0,0,.28);
    border: 1px solid rgba(213,177,88,.22);
}
.cookie-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(212,178,98,.18);
    color: #E2BD68;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 900;
}
.cookie-banner-body h3 {
    margin: 2px 0 10px;
    font-size: 18px;
    line-height: 1.15;
    color: #FFFFFF;
}
.cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(232,240,255,.78);
}
.cookie-primary-button {
    border: 0;
    width: 100%;
    margin-top: 16px;
    min-height: 54px;
    border-radius: 15px;
    background: linear-gradient(180deg, #E2B44B 0%, #C99A2C 100%);
    color: #03163D;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(201,154,44,.28);
}
.cookie-banner-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.cookie-banner-links a {
    text-decoration: none;
    font-size: 13px;
    color: #D7BA6A;
    font-weight: 700;
}
.cookie-banner.is-hidden { display: none !important; }

/* Privacy modal */
.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 5100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.privacy-modal.is-open { display: flex; }
.privacy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 28, .76);
    backdrop-filter: blur(8px);
}
.privacy-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1060px, 100%);
    max-height: min(92vh, 980px);
    background: linear-gradient(180deg, #F8FBFF 0%, #EEF3FB 100%);
    border: 1px solid rgba(7,35,84,.08);
    border-radius: 34px;
    padding: 28px 28px 24px;
    box-shadow: 0 32px 90px rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
}
.privacy-modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding-right: 12px;
    margin-top: 8px;
}
.privacy-modal h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(46px, 5.4vw, 68px);
    line-height: .98;
    letter-spacing: -.05em;
    margin: 0 0 12px;
    color: #03163D;
}
.privacy-article h3,
.privacy-preferences h3 {
    margin: 0 0 18px;
    color: #0D2D63;
    font-size: 27px;
}
.privacy-article h4 {
    color: #0D2D63;
    margin: 30px 0 10px;
    font-size: 18px;
}
.privacy-article p,
.privacy-article li {
    color: #314766;
    font-size: 15px;
    line-height: 1.7;
}
.privacy-article ul {
    padding-left: 22px;
    margin: 14px 0 0;
}
.privacy-note-box {
    border: 1px solid rgba(13,45,99,.12);
    background: rgba(10,39,93,.05);
    color: #123365;
    border-radius: 16px;
    padding: 18px 18px;
    line-height: 1.6;
    margin-bottom: 26px;
}
.privacy-preferences {
    flex: 0 0 auto;
    margin-top: 18px;
    padding: 22px 22px;
    border: 1px solid rgba(8,36,88,.10);
    border-radius: 22px;
    background: linear-gradient(180deg, #062354 0%, #03163D 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.privacy-pref-list {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}
.privacy-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #F2F6FF;
    font-weight: 600;
}
.privacy-check input {
    width: 18px;
    height: 18px;
    accent-color: #E0B24C;
}
.privacy-save-button {
    border: 0;
    margin-top: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #E2B44B 0%, #C99A2C 100%);
    color: #03163D;
    padding: 14px 22px;
    font-weight: 800;
    min-width: 210px;
}

/* Responsive */
@media (max-width: 1080px) {
    :root { --header-height: 108px; }
    .brand { width: 188px; }
    .main-nav { gap: 18px; }
    .hero { padding-top: 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-copy { max-width: 790px; }
    .hero-visual { width: min(820px, 100%); margin-inline: auto; }
    .area-overview-card { padding: 38px; }
    .focus-grid { gap: 48px; }
    .books-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.2fr .8fr .9fr; }
    .office-seal { justify-self: start; }
}

@media (max-width: 900px) {
    :root { --header-height: 96px; }
    .header-inner { min-height: var(--header-height); }
    .brand { width: 168px; }
    .menu-toggle { display: flex; }
    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 16px;
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a,
    .main-nav button { color: var(--navy); text-align: left; padding: 11px 9px; width: 100%; }
    .main-nav .nav-cta { text-align: center; margin-top: 6px; }
    .section { padding: 86px 0; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-grid > div:last-child { border-bottom: 0; }
    .area-overview,
    .focus-grid,
    .process-grid,
    .faq-grid { grid-template-columns: 1fr; }
    .split-heading { grid-template-columns: 1fr; gap: 12px; }
    .lawyer-profile { grid-template-columns: 1fr; gap: 28px; }
    .reverse-profile .profile-image { order: initial; }
    .profile-image { width: min(600px, 100%); }
    .final-contact-card { align-items: center; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
        overscroll-behavior-x: none;
    }
    body { touch-action: pan-y; }
    main,
    header,
    footer,
    section,
    .site-header,
    .site-footer,
    .hero,
    .container {
        max-width: 100%;
        overflow-x: clip;
    }
    .hero-glow { display: none; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 70px 0; }
    .hero { padding: 58px 0 74px; min-height: auto; }
    .hero h1 { font-size: clamp(44px, 13vw, 58px); }
    .hero-lead { font-size: 16px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .primary-button,
    .hero-actions .secondary-button { width: 100%; }
    .hero-visual { grid-template-columns: 1fr; gap: 18px; padding-top: 4px; }
    .hero-lawyer-paulo { margin-top: 0; }
    .hero-visual-line { display: none; }
    .hero-lawyer-card { max-width: 520px; margin-inline: auto; }
    .section-heading h2,
    .focus-copy h2,
    .process-intro h2,
    .faq-intro h2,
    .final-contact h2 { font-size: 40px; }
    .area-overview-card { padding: 30px 24px; }
    .area-overview-card h3 { font-size: 29px; }
    .focus-panel { padding: 30px 22px; }
    .focus-items { grid-template-columns: 1fr; }
    .focus-items div { padding: 21px 4px; }
    .focus-items span { font-size: 16px; }
    .lawyer-profile { padding: 20px; border-radius: 25px; }
    .profile-copy h3 { font-size: 39px; }
    .books-grid { grid-template-columns: 1fr; }
    .book-card { display: grid; grid-template-columns: 120px 1fr; column-gap: 16px; align-items: start; }
    .book-image { grid-row: 1 / 5; margin: 0; padding: 8px; }
    .book-card > span { margin-top: 3px; }
    .process-list li { grid-template-columns: 54px 1fr; padding: 20px 16px; gap: 13px; }
    .process-list b { width: 48px; height: 48px; }
    .accordion details { padding-right: 42px; }
    .contact-modal { padding: 10px; }
    .contact-modal-dialog { padding: 27px 18px 23px; border-radius: 22px; max-height: 96vh; }
    .modal-heading { padding-right: 38px; }
    .modal-heading h2,
    .modal-success h2 { font-size: 32px; }
    .form-grid { grid-template-columns: 1fr; }
    .full-field { grid-column: auto; }
    .modal-submit { min-height: 61px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand img { width: 172px; }
    .office-seal { justify-self: start; }
    .footer-bottom { flex-direction: column; }
    .site-footer { padding-bottom: 24px; }
    .whatsapp-float-stack {
        left: 12px;
        bottom: 18px;
        width: min(220px, calc(100vw - 24px));
        min-width: 0;
        max-width: calc(100vw - 24px);
        gap: 7px;
    }
    .whatsapp-float-button {
        min-height: 49px;
        padding: 5px 12px 5px 7px;
        gap: 9px;
    }
    .whatsapp-float-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
    .whatsapp-float-icon::after { inset: -4px; }
    .whatsapp-float-icon svg { width: 23px; height: 23px; }
    .whatsapp-float-label small { display: none; }
    .whatsapp-float-label strong {
        font-size: 12.5px;
        line-height: 1.15;
    }
    .cookie-banner { left: 14px; right: 14px; width: auto; bottom: 20px; grid-template-columns: 1fr; }
    .cookie-badge { display: none; }
    .privacy-modal { padding: 10px; }
    .privacy-modal-dialog { padding: 22px 16px 18px; border-radius: 24px; max-height: 96vh; }
    .privacy-modal-scroll { flex: 1 1 auto; min-height: 0; padding-right: 4px; }
    .privacy-modal h2 { font-size: 44px; }
    .privacy-article h3, .privacy-preferences h3 { font-size: 22px; }
    .privacy-pref-list { flex-direction: column; align-items: flex-start; gap: 12px; }
    .privacy-save-button { width: 100%; }
    .process-note { padding: 24px 22px; }
    .process-note strong { font-size: 20px; }
    .process-note span { font-size: 15px; }
    .final-contact h2 { font-size: 42px; }
    .final-contact p { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.privacy-preferences h3 { color: #FFFFFF; }
.privacy-preferences .privacy-check input[disabled] { opacity: .7; }
.privacy-modal-dialog .privacy-save-button:hover, .privacy-modal-dialog .privacy-save-button:focus-visible, .cookie-primary-button:hover, .cookie-primary-button:focus-visible { filter: brightness(1.03); transform: translateY(-1px); }


/* V2.3 - centralizacao e conversao */
.centered-contact-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 28px;
}
.centered-contact-card > div {
    width: 100%;
    max-width: 1080px;
}
.centered-eyebrow {
    justify-content: center;
}
.centered-contact-card .final-contact h2,
.centered-contact-card h2 {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}
.centered-contact-card p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
}
.centered-contact-card .gold-button {
    align-self: center;
    min-width: 260px;
}

.area-cta-button,
.profile-cta-button,
.focus-cta-button,
.section-cta-button,
.faq-cta-link {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 19px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.area-cta-button {
    margin-top: 25px;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 12px 25px rgba(1,18,46,.12);
}
.dark-card .area-cta-button {
    background: var(--gold);
    color: var(--navy);
}
.area-cta-button:hover,
.area-cta-button:focus-visible,
.profile-cta-button:hover,
.profile-cta-button:focus-visible,
.focus-cta-button:hover,
.focus-cta-button:focus-visible,
.section-cta-button:hover,
.section-cta-button:focus-visible,
.faq-cta-link:hover,
.faq-cta-link:focus-visible {
    transform: translateY(-2px);
}
.profile-cta-button {
    margin-top: 22px;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 12px 24px rgba(1,18,46,.12);
}
.focus-cta-button {
    width: 100%;
    margin-top: 26px;
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 14px 30px rgba(217,168,61,.18);
}
.section-cta-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 18px;
}
.section-cta-button {
    min-width: 300px;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 14px 30px rgba(1,18,46,.14);
}
.faq-cta-row {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 26px;
    border-top: 1px solid rgba(18,33,58,.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.faq-cta-row p {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
}
.faq-cta-link {
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid rgba(1,18,46,.2);
    background: transparent;
    color: var(--navy);
}

/* Evita conflito entre cookies e os WhatsApps no celular */
@media (max-width: 680px) {
    body.cookie-banner-visible .whatsapp-float-stack {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        pointer-events: none;
    }
    .area-cta-button,
    .profile-cta-button,
    .focus-cta-button,
    .section-cta-button,
    .faq-cta-link {
        width: 100%;
    }
    .section-cta-button {
        min-width: 0;
    }
    .faq-cta-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .centered-contact-card p {
        font-size: 17px;
    }
}


/* V2.4 - contenção horizontal no mobile */
.hero-grid > *,
.area-overview > *,
.focus-grid > *,
.lawyer-profile > *,
.process-grid > *,
.faq-grid > *,
.footer-grid > * {
    min-width: 0;
}
@supports not (overflow: clip) {
    html,
    body,
    main,
    header,
    footer,
    section,
    .site-header,
    .site-footer,
    .hero {
        overflow-x: hidden;
    }
}


/* Blog integrado */
.blog-home-section {
    background:
        radial-gradient(circle at 88% 12%, rgba(217, 168, 61, .12), transparent 24%),
        linear-gradient(180deg, #F8F5EE 0%, #FFFFFF 100%);
}
.blog-home-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 38px;
}
.blog-home-heading h2 {
    max-width: 850px;
    margin: 16px 0 0;
    color: var(--navy);
    font-size: clamp(42px, 4.8vw, 68px);
    line-height: 1.02;
    letter-spacing: -.045em;
}
.blog-home-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}
.blog-home-grid,
.blog-home-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.blog-home-card,
.blog-home-preview article {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(1, 18, 46, .09);
}
.blog-home-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E9EEF5;
}
.blog-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.blog-home-card:hover .blog-home-image img { transform: scale(1.035); }
.blog-home-card-content { padding: 24px; }
.blog-home-card-content > span {
    color: #9C7227;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.blog-home-card h3 {
    margin: 11px 0 12px;
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    line-height: 1.14;
}
.blog-home-card h3 a { text-decoration: none; }
.blog-home-card p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.blog-home-read {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-weight: 900;
    text-decoration: none;
}
.blog-home-read b { color: #A9791F; transition: transform .2s ease; }
.blog-home-read:hover b { transform: translateX(4px); }
.blog-home-preview article { padding: 30px; }
.blog-home-preview article > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #F4E7C6;
    color: #946D22;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
}
.blog-home-preview strong { display: block; color: var(--navy); font-size: 21px; margin-bottom: 9px; }
.blog-home-preview p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.blog-home-actions { display: flex; justify-content: center; margin-top: 34px; }
.blog-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(1, 18, 46, .18);
    transition: transform .2s ease, background .2s ease;
}
.blog-home-button:hover { transform: translateY(-2px); background: var(--navy-2); }
.blog-home-button span { color: var(--gold-2); }

@media (max-width: 900px) {
    .blog-home-heading { grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .blog-home-grid,
    .blog-home-preview { grid-template-columns: 1fr 1fr; }
    .blog-home-grid > :last-child,
    .blog-home-preview > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .blog-home-heading h2 { font-size: 40px; }
    .blog-home-grid,
    .blog-home-preview { grid-template-columns: 1fr; }
    .blog-home-grid > :last-child,
    .blog-home-preview > :last-child { grid-column: auto; }
    .blog-home-preview article { padding: 25px 22px; }
    .blog-home-button { width: 100%; }
}
