@font-face {
    font-family: Sabrina;
    src: url('../fonts/sabrina-sans-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Sabrina;
    src: url('../fonts/sabrina-sans-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #0b243a;
    --navy-deep: #071b2b;
    --navy-soft: #153b58;
    --blue: #0879b6;
    --blue-light: #a9d9ef;
    --blue-pale: #e5f5fc;
    --paper: #f4f7f8;
    --white: #ffffff;
    --ink: #182733;
    --muted: #66747d;
    --line: #d8e0e3;
    --radius: 18px;
    --shadow: 0 22px 60px rgba(11, 36, 58, .12);
    --shell: min(1180px, calc(100% - 48px));
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: Sabrina, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 110px 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; z-index: 1000; top: 12px; left: 16px;
    padding: 10px 16px; background: #fff; color: var(--navy);
    transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Cabeçalho */
.site-header {
    position: fixed; z-index: 100; inset: 0 0 auto;
    height: 84px; color: #fff;
    transition: height .25s, background .25s, box-shadow .25s;
}
.site-header.is-scrolled,
.blog-page .site-header,
.article-page .site-header,
.legal-page .site-header,
.error-page .site-header {
    height: 72px;
    background: rgba(11, 36, 58, .97);
    box-shadow: 0 8px 30px rgba(5, 23, 36, .14);
    backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; z-index: 102; display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 41px; height: 41px; }
.brand span { display: grid; line-height: .92; }
.brand strong { font-size: 1rem; letter-spacing: .02em; }
.brand small { margin-top: 4px; font-size: .63rem; letter-spacing: .23em; text-transform: uppercase; opacity: .68; }
.site-nav { display: flex; align-items: center; gap: 29px; font-size: .79rem; font-weight: 700; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after {
    content: ""; position: absolute; right: 100%; bottom: -7px; left: 0;
    height: 1px; background: #fff; transition: right .25s;
}
.site-nav > a:hover::after, .site-nav > a.is-active::after { right: 0; }
.nav-cta {
    display: flex; align-items: center; gap: 13px;
    padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 6px;
    transition: .2s;
}
.nav-cta:hover { background: #fff; color: var(--navy); }
.menu-button { display: none; position: relative; z-index: 102; padding: 10px; border: 0; background: none; color: #fff; }
.menu-button svg { width: 25px; }

/* Componentes */
.eyebrow {
    display: block; margin-bottom: 20px;
    color: var(--blue-light); font-size: .68rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow-blue { color: var(--blue); }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 13px;
    min-height: 49px; padding: 13px 19px; border: 0; border-radius: 6px;
    font-size: .82rem; font-weight: 700;
    transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.button svg, .inline-link svg, .direct-contact > a > svg { width: 18px; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(8, 121, 182, .24); }
.button-primary:hover { background: #05679c; box-shadow: 0 14px 28px rgba(5, 103, 156, .3); }
.button-light { background: #fff; color: var(--navy); }
.button-outline { border: 1px solid rgba(105, 205, 247, .72); background: rgba(22, 143, 206, .14); color: #fff; }
.button-outline:hover { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(22, 143, 206, .25); }
.button-full { width: 100%; }
.section-heading { margin-bottom: 50px; }
.section-heading.centered { max-width: 820px; margin: 0 auto 52px; text-align: center; }
.section-heading h2,
.about-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.8rem, 4.4vw, 4.8rem);
    line-height: 1;
    letter-spacing: -.045em;
}
.section-heading p { max-width: 620px; margin: 18px auto 0; color: var(--muted); }

/* Hero */
.hero {
    position: relative; display: flex; align-items: center;
    min-height: 100svh; padding: 125px 0 70px;
    overflow: hidden; background: var(--navy); color: #fff;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 0 58%, rgba(255, 255, 255, .035) 58% 100%);
}
.hero::after {
    content: ""; position: absolute; top: -210px; right: -210px;
    width: 480px; height: 480px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 75px; align-items: center; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.6rem, 5.7vw, 6.3rem); line-height: .94; letter-spacing: -.055em; }
.hero h1 span { color: #b9d7e3; font-weight: 400; }
.hero-copy > p { max-width: 610px; margin: 29px 0 27px; color: #c4d0d6; font-size: 1.06rem; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 580px; display: flex; align-items: flex-end; justify-content: center; }
.portrait-frame {
    width: min(450px, 95%); height: 570px; overflow: hidden;
    border-radius: 220px 220px 8px 8px; background: #cbdde5;
    box-shadow: 0 32px 75px rgba(0, 0, 0, .24);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-label {
    position: absolute; bottom: 36px; left: -12px; display: grid;
    width: 240px; padding: 17px 19px; border-left: 4px solid var(--blue);
    background: #fff; color: var(--ink); box-shadow: var(--shadow);
}
.portrait-label span, .portrait-label small { color: var(--muted); font-size: .61rem; letter-spacing: .09em; text-transform: uppercase; }
.portrait-label strong { margin: 3px 0; font-size: 1.12rem; }
.hero-scroll {
    position: absolute; z-index: 3; bottom: 22px; left: 50%;
    display: flex; align-items: center; gap: 10px;
    color: #8eabb9; font-size: .59rem; letter-spacing: .13em; text-transform: uppercase;
    transform: translateX(-50%);
}
.hero-scroll span { width: 35px; height: 1px; background: #8eabb9; }

/* Serviços */
.services-section { background: #fff; }
.office-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office-service {
    display: flex; min-height: 640px; overflow: hidden;
    flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.office-service:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.service-media { display: block; width: 100%; height: 245px; flex: 0 0 auto; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.office-service:hover .service-media img { transform: scale(1.035); }
.service-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 25px; }
.service-body > span { color: #89969d; font-size: .61rem; }
.service-body h3 { margin: 11px 0 13px; color: var(--navy); font-size: 1.45rem; line-height: 1.1; letter-spacing: -.025em; }
.service-body p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.service-body > a {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 9px;
    margin-top: auto; padding: 12px 15px; border: 1px solid #cce8f5; border-radius: 8px;
    background: var(--blue-pale); color: #0879b6; font-size: .7rem; font-weight: 700;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.service-body > a:hover { border-color: var(--blue); background: var(--blue); color: #fff; transform: translateY(-2px); }
.service-body > a svg { width: 17px; }
.legal-caption { max-width: 760px; margin: 20px auto 0; color: #879198; font-size: .65rem; text-align: center; }

/* FAQ */
.faq-section { background: var(--navy-deep); color: #fff; }
.faq-section .eyebrow { color: var(--blue-light); }
.faq-section .section-heading h2 { color: #fff; }
.faq-section .section-heading p { color: #b8c7ce; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
    margin-bottom: 10px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    transition: background .2s, border-color .2s;
}
.faq-list details[open] { border-color: rgba(169, 205, 221, .45); background: rgba(255, 255, 255, .08); }
.faq-list summary {
    display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 12px;
    padding: 21px 23px; list-style: none; color: #fff; font-size: 1.03rem; font-weight: 700; cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #9fc8da; font-size: .62rem; }
.faq-list summary i { font-style: normal; font-size: 1.35rem; font-weight: 400; transition: transform .25s; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > div { padding: 0 67px 22px; }
.faq-list details p { margin: 0; color: #bbcbd2; font-size: .9rem; }

/* Blog na home e cards */
.blog-home-section { background: #fff; }
.home-blog-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid { margin-top: 42px; }
.post-card {
    display: flex; overflow: hidden; flex-direction: column;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.post-card-media {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: transparent;
}
.post-card-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    object-fit: contain;
    object-position: center top;
    transition: opacity .25s;
}
.post-card:hover .post-card-media img { transform: none; opacity: .97; }
.post-card-media > span {
    position: absolute; bottom: 13px; left: 13px;
    padding: 7px 10px; border-radius: 5px; background: rgba(11, 36, 58, .92); color: #fff;
    font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.post-card-copy { display: flex; min-height: 255px; flex: 1; flex-direction: column; padding: 28px; }
.post-date { display: flex; justify-content: space-between; gap: 13px; color: #81909a; font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.post-date span { color: var(--blue); font-weight: 700; }
.post-card-copy h3 { margin: 13px 0; color: var(--navy); font-size: 1.35rem; line-height: 1.14; letter-spacing: -.025em; }
.post-card-copy p { margin: 0 0 15px; color: var(--muted); font-size: .84rem; }
.inline-link {
    display: inline-flex; width: fit-content; align-items: center; gap: 11px;
    margin-top: auto; padding: 10px 13px; border: 1px solid #d4eaf4; border-radius: 7px;
    background: #f4fafc; color: #0879b6; font-size: .74rem; font-weight: 700;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.inline-link:hover { border-color: var(--blue); background: var(--blue); color: #fff; transform: translateY(-2px); }
.blog-more { display: flex; justify-content: center; margin-top: 50px; }
.blog-more .button { min-height: 54px; padding-inline: 27px; border-radius: 8px; }
.empty-box { padding: 65px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-box > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: auto; background: var(--blue-pale); color: var(--navy); }
.empty-box svg { width: 23px; }
.empty-box h3 { margin: 17px 0 4px; font-size: 1.8rem; }
.empty-box p { color: var(--muted); }

/* Sobre */
.about-section { background: #eaf0f2; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.about-visual { position: relative; }
.about-photo { height: 640px; overflow: hidden; border-radius: 8px; background: #cbdde5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-copy h2 { margin-bottom: 27px; }
.about-lead { color: var(--navy); font-size: 1.25rem; line-height: 1.45; }
.about-copy > p:not(.about-lead) { color: var(--muted); }
.about-copy .button { margin-top: 18px; }

/* Contato */
.contact-section { padding: 110px 0; background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 95px; align-items: start; }
.contact-copy h2 { max-width: 600px; margin: 0; font-size: clamp(3rem, 4.7vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
.contact-copy > p { max-width: 480px; margin: 27px 0; color: #bdcbd2; }
.direct-contact { display: grid; gap: 5px; }
.direct-contact > a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.direct-contact > a > i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-style: normal; }
.direct-contact > a > i svg { width: 20px; }
.direct-contact > a span { display: grid; }
.direct-contact small { color: #8da6b2; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.direct-contact strong { font-size: .84rem; }
.contact-card { padding: 39px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.form-title > span { color: var(--blue); font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.form-title h3 { margin: 9px 0 28px; color: var(--navy); font-size: 1.85rem; line-height: 1.1; }
.contact-card form { display: grid; gap: 15px; }
.contact-card label { display: grid; gap: 6px; color: var(--navy); font-size: .7rem; font-weight: 700; }
.contact-card input, .contact-card select, .contact-card textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px; outline: none; background: #fbfcfc; color: var(--ink); }
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 115, 148, .1); }
.contact-card textarea { resize: vertical; }
.contact-card label > small { color: var(--muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.honeypot { position: absolute; left: -9999px; }
.check { grid-template-columns: 19px 1fr !important; align-items: start; color: var(--muted) !important; font-weight: 400 !important; }
.check input { width: 16px; height: 16px; margin-top: 3px; padding: 0; accent-color: var(--blue); }
.check a { color: var(--blue); text-decoration: underline; }

/* Rodapé */
.site-footer { padding: 72px 0 28px; background: #061725; color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-description strong { font-size: 1.35rem; }
.footer-description p { max-width: 360px; color: #8fa3ad; font-size: .78rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-links h3 { margin: 0 0 10px; color: #718792; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a, .footer-links span { color: #cbd5d9; font-size: .78rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 25px 0 18px; color: #71838c; font-size: .65rem; }
.brand-footer { justify-self: start; color: #fff; }
.footer-bottom p { margin: 0; }
.footer-bottom > div { justify-self: end; display: flex; gap: 18px; }
.footer-legal { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-legal p { max-width: 830px; margin: 0; color: #657a84; font-size: .61rem; }
.instagram-float {
    position: fixed; z-index: 90; right: 22px; bottom: 22px;
    display: grid; width: 56px; height: 56px; padding: 0; place-items: center;
    border-radius: 50%; background: linear-gradient(135deg, #405de6, #833ab4 48%, #e1306c); color: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .24); transition: transform .2s, box-shadow .2s;
}
.instagram-float svg { width: 22px; }
.instagram-float span { display: none; }
.instagram-float:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0, 0, 0, .3); }

/* Mensagens */
.flash-stack { position: fixed; z-index: 200; top: 90px; right: 20px; width: min(400px, calc(100% - 40px)); display: grid; gap: 8px; }
.flash { display: flex; justify-content: space-between; gap: 18px; padding: 14px 17px; border-left: 4px solid var(--blue); border-radius: 7px; background: #fff; box-shadow: var(--shadow); font-size: .8rem; }
.flash-success { border-color: #498c66; }
.flash-error { border-color: #b65d5d; }
.flash button { border: 0; background: none; color: var(--muted); font-size: 1.2rem; }

/* Arquivo do blog */
.inner-hero { padding: 155px 0 78px; background: var(--navy); color: #fff; }
.inner-kicker { color: var(--blue-light); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.inner-hero h1 { max-width: 900px; margin: 20px 0 24px; font-size: clamp(3.8rem, 7vw, 7rem); line-height: .9; letter-spacing: -.06em; }
.inner-hero h1 span { color: #b9d7e3; font-weight: 400; }
.inner-hero p { max-width: 620px; color: #bdcbd2; }
.archive-tools { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 36px; }
.category-filter { display: flex; gap: 7px; flex-wrap: wrap; }
.category-filter a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; font-size: .68rem; font-weight: 700; }
.category-filter a:hover, .category-filter a.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.archive-count { color: var(--muted); font-size: .7rem; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 55px; }
.pagination a, .pagination span { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 5px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.pagination .current { border-color: var(--navy); background: var(--navy); color: #fff; }

/* Publicação */
.article-hero { padding: 150px 0 62px; background: var(--navy); color: #fff; }
.article-breadcrumb { margin-bottom: 38px; color: #8ca1ac; font-size: .68rem; }
.article-breadcrumb a { color: #b7d5e1; }
.article-category { color: var(--blue-light); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.article-hero h1 { max-width: 1050px; margin: 17px 0 25px; font-size: clamp(3rem, 5.5vw, 6rem); line-height: .94; letter-spacing: -.052em; }
.article-deck { max-width: 780px; color: #bdcbd2; font-size: 1.08rem; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 27px; color: #8fa4ae; font-size: .68rem; }
.article-cover { width: var(--shell); height: min(630px, 56vw); margin: 0 auto; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); background: #d8e4e9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 150px minmax(0, 730px) 1fr; gap: 45px; align-items: start; padding: 80px 0 110px; }
.article-share { position: sticky; top: 100px; }
.article-share > span { display: block; margin-bottom: 11px; color: var(--muted); font-size: .59rem; letter-spacing: .13em; text-transform: uppercase; }
.share-buttons { display: flex; gap: 6px; }
.share-buttons a, .share-buttons button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: transparent; font-size: .65rem; font-weight: 700; }
.article-content { color: #354550; }
.article-content > p:first-child { color: var(--navy); font-size: 1.2rem; }
.article-content p { margin: 0 0 1.35em; }
.article-content h2 { margin: 1.9em 0 .62em; color: var(--navy); font-size: 2rem; line-height: 1.1; letter-spacing: -.03em; }
.article-content h3 { margin: 1.6em 0 .5em; color: var(--navy); font-size: 1.4rem; }
.article-content ul, .article-content ol { padding-left: 23px; }
.article-content blockquote { margin: 2em 0; padding: 23px 26px; border-left: 4px solid var(--blue); background: var(--blue-pale); }
.article-content a { color: var(--blue); text-decoration: underline; }
.article-note { margin-top: 32px; padding: 20px; border: 1px solid #cbdce3; border-radius: 10px; background: #edf5f7; color: #40535d; font-size: .75rem; }
.article-note strong { display: block; color: var(--navy); }
.article-sidebar { position: sticky; top: 100px; }
.article-cta { padding: 23px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.article-cta > span { color: var(--blue-light); font-size: .59rem; letter-spacing: .12em; text-transform: uppercase; }
.article-cta h3 { margin: 12px 0; font-size: 1.3rem; line-height: 1.12; }
.article-cta p { color: #bdcbd2; font-size: .73rem; }
.related-section { padding: 90px 0; background: #eaf0f2; }
.related-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.related-heading h2 { margin: 0; color: var(--navy); font-size: 2.8rem; letter-spacing: -.04em; }
.section-index { margin-bottom: 10px; color: var(--blue); font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

/* Páginas auxiliares */
.legal-wrap { padding: 145px 0 100px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 75px; }
.legal-side { position: sticky; top: 100px; align-self: start; }
.legal-side span { color: var(--blue); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; }
.legal-side h1 { margin: 13px 0; color: var(--navy); font-size: 2.7rem; line-height: 1; letter-spacing: -.04em; }
.legal-side p { color: var(--muted); font-size: .7rem; }
.legal-content h2 { margin: 1.8em 0 .55em; color: var(--navy); font-size: 1.45rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--blue); }
.error-wrap { min-height: 75vh; padding: 165px 0 90px; display: grid; place-items: center; background: var(--navy); color: #fff; text-align: center; }
.error-code { color: #80aabc; font-size: clamp(7rem, 18vw, 15rem); font-weight: 700; line-height: .7; letter-spacing: -.1em; }
.error-wrap h1 { margin: 30px 0 8px; font-size: 2.5rem; }
.error-wrap p { max-width: 480px; margin: 0 auto 24px; color: #a9bbc3; }

@media (max-width: 1050px) {
    :root { --shell: min(940px, calc(100% - 40px)); }
    .site-nav { gap: 18px; }
    .hero-grid { gap: 38px; }
    .hero h1 { font-size: 4.7rem; }
    .portrait-frame { height: 535px; }
    .section { padding: 95px 0; }
    .office-services { grid-template-columns: repeat(2, 1fr); }
    .home-blog-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { gap: 60px; }
    .article-layout { grid-template-columns: 110px minmax(0, 1fr); }
    .article-sidebar { display: none; }
    .footer-top { gap: 55px; }
}

@media (max-width: 820px) {
    :root { --shell: calc(100% - 32px); }
    .site-header { height: 72px; background: rgba(11, 36, 58, .97); backdrop-filter: blur(14px); }
    .menu-button { display: block; }
    .site-nav {
        position: fixed; z-index: 101; inset: 0; width: 100%; height: 100dvh; min-height: 100vh;
        padding: 104px 24px 32px; overflow-y: auto; overscroll-behavior: contain;
        flex-direction: column; align-items: flex-start; gap: 21px;
        background: #071b2b; color: #fff; font-size: 1.35rem;
        box-shadow: -24px 0 60px rgba(0, 0, 0, .28);
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateX(100%);
        transition: transform .32s var(--ease), opacity .22s ease, visibility .32s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
    .site-nav > a:not(.nav-cta) { width: 100%; padding: 8px 0 13px; border-bottom: 1px solid rgba(255, 255, 255, .11); }
    .site-nav .nav-cta { width: 100%; justify-content: space-between; margin-top: 14px; font-size: .85rem; }
    body.menu-open .site-header { background: #071b2b; }
    .hero { min-height: auto; padding: 120px 0 72px; }
    .hero-grid, .about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
    .hero-grid { gap: 32px; }
    .hero h1 { font-size: clamp(3.6rem, 12vw, 5.5rem); }
    .hero-visual { min-height: 530px; }
    .portrait-frame { width: min(430px, 90%); height: 520px; }
    .portrait-label { left: 10px; }
    .hero-scroll { display: none; }
    .about-grid { gap: 28px; }
    .contact-grid { gap: 48px; }
    .about-visual { width: min(560px, 100%); margin-inline: auto; }
    .about-photo { height: 560px; overflow: visible; border-radius: 0; background: transparent; }
    .about-photo img {
        object-fit: contain; object-position: center bottom;
        transform: scale(1.08); transform-origin: center bottom;
    }
    .footer-description { padding-bottom: 10px; }
    .footer-links { max-width: 520px; }
    .footer-bottom { grid-template-columns: 1fr auto; }
    .footer-bottom > p { display: none; }
    .article-layout { grid-template-columns: 1fr; padding-top: 55px; }
    .article-share { position: static; display: flex; align-items: center; gap: 14px; }
    .article-share > span { margin: 0; }
    .article-cover { height: 54vw; }
    .legal-layout { grid-template-columns: 1fr; gap: 25px; }
    .legal-side { position: static; }
    .archive-tools { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .hero { min-height: 100svh; padding-top: 112px; }
    .hero h1 { font-size: 3.45rem; }
    .hero-copy > p { font-size: .97rem; }
    .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .hero-visual { min-height: 425px; }
    .portrait-frame { width: 94%; height: 420px; }
    .portrait-label { bottom: 20px; width: 210px; }
    .section { padding: 76px 0; }
    .section-heading.centered { margin-bottom: 42px; }
    .section-heading h2, .about-copy h2 { font-size: 2.65rem; }
    .section-heading p { margin-top: 14px; }
    .office-services, .home-blog-grid, .post-grid { grid-template-columns: 1fr; }
    .office-service { min-height: 0; }
    .service-media { height: 255px; }
    .faq-list summary { grid-template-columns: 28px 1fr 24px; padding: 19px 17px; font-size: .95rem; }
    .faq-list details > div { padding: 0 47px 20px; }
    .post-card-media {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
    }

    .post-card-media img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
    }
    .post-card-copy { min-height: 235px; padding: 24px; }
    .about-grid { gap: 20px; }
    .about-photo { height: 450px; }
    .about-photo img { transform: scale(1.1); }
    .contact-section { padding: 78px 0; }
    .contact-copy h2 { font-size: 3rem; }
    .contact-card { padding: 25px 20px; }
    .field-row { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-bottom { grid-template-columns: 1fr; }
    .footer-bottom > div { justify-self: start; margin-top: 16px; }
    .instagram-float { right: 13px; bottom: 13px; width: 52px; height: 52px; }
    .inner-hero { padding: 125px 0 65px; }
    .inner-hero h1 { font-size: 3.8rem; }
    .article-hero { padding: 120px 0 48px; }
    .article-hero h1 { font-size: 2.8rem; }
    .article-cover { width: 100%; height: 68vw; border-radius: 0; }
    .article-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
    .article-content h2 { font-size: 1.7rem; }
    .related-heading { align-items: flex-start; flex-direction: column; }
    .legal-wrap { padding-top: 120px; }
    .legal-side h1 { font-size: 2.35rem; }
    .flash-stack { top: 82px; right: 12px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Foto principal maior e sem moldura */
.hero .hero-grid {
    grid-template-columns: 0.94fr 1.06fr;
    gap: 42px;
}

.hero .hero-visual {
    min-height: 680px;
    overflow: visible;
    align-items: flex-end;
}

.hero .portrait-frame.portrait-frame-clean {
    width: min(610px, 118%);
    height: 700px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero .portrait-frame.portrait-frame-clean img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.23);
    transform-origin: center bottom;
    filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.2));
}

/* Tablet */
@media (max-width: 820px) {
    .hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero .hero-visual {
        display: flex;
        min-height: 540px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .hero .portrait-frame.portrait-frame-clean {
        width: min(560px, 108%);
        height: 550px;
    }

    .hero .portrait-frame.portrait-frame-clean img {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: scale(1.07);
    }
}

/* Celular */
@media (max-width: 560px) {
    .hero {
        min-height: auto;
        padding-bottom: 38px;
    }

    .hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero .hero-visual {
        min-height: 430px;
        margin-top: -4px;
    }

    .hero .portrait-frame.portrait-frame-clean {
        width: 112%;
        height: 440px;
    }

    .hero .portrait-frame.portrait-frame-clean img {
        transform: scale(1.08);
    }
}