/* BITTENCOURT & ADVOGADOS
 * Identidade visual: Manual da marca v1.0, novembro de 2026.
 * Verde-garrafa #14291E | Cobre #B06A31 | Cobre claro #D08A52
 * Branco #FFFFFF | Papel #F4F2EE | Cinza #5A5654
 * Raleway — títulos e comunicação institucional.
 */
:root {
  --green: #14291E;
  --green-deep: #102218;
  --copper: #B06A31;
  --copper-light: #D08A52;
  --white: #FFFFFF;
  --paper: #F4F2EE;
  --text-gray: #5A5654;
  --hairline: rgba(20, 41, 30, .15);
  --on-green: rgba(255, 255, 255, .7);
  --container: 1260px;
  --font: 'Raleway', 'Trebuchet MS', Arial, sans-serif;
  --ease: cubic-bezier(.2, .68, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--green); font-family: var(--font); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.nav-is-open { overflow: hidden; }
::selection { background: #e6ccb3; color: var(--green); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
button { font: inherit; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; padding: 14px 20px; color: white; background: var(--green); }
.skip-link:focus { top: 12px; }
.brand-topline { height: 3px; background: var(--copper); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid rgba(20, 41, 30, .08); transition: box-shadow .35s var(--ease); }
.site-header.header-scrolled { box-shadow: 0 10px 35px rgba(20, 41, 30, .055); }
.nav-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.site-logo { flex: 0 0 auto; padding-block: 12px; display: block; }
.site-logo img { width: clamp(180px, 18vw, 235px); height: auto; }
.primary-nav { display: flex; gap: clamp(18px, 2.5vw, 42px); align-items: center; }
.nav-link { padding-block: 14px; position: relative; color: #34493c; font-size: 12px; font-weight: 600; letter-spacing: .025em; transition: color .2s ease; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 100%; height: 1px; background: var(--copper); transition: right .25s var(--ease); }
.nav-link:hover, .nav-link:focus-visible { color: var(--copper); }
.nav-link:hover::after, .nav-link:focus-visible::after { right: 0; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 20px; font-size: 11px; letter-spacing: .13em; font-weight: 600; background: var(--green); color: var(--white); text-transform: uppercase; transition: background .25s ease; white-space: nowrap; }
.nav-contact span { font-size: 18px; font-weight: 400; line-height: 0; }
.nav-contact:hover { background: #274535; }
.menu-toggle { display: none; }

/* Padrões editoriais */
.section { padding: clamp(96px, 9vw, 144px) 0; }
.eyebrow, .section-label { display: flex; align-items: center; gap: 16px; color: var(--copper); font-size: 10px; font-weight: 600; letter-spacing: .26em; line-height: 1.5; }
.eyebrow-line { width: 35px; height: 1px; background: var(--copper); }
.section-label { gap: 21px; margin-bottom: 42px; }
.section-label > span:first-child { color: var(--copper); }
.section-label-rule { display: inline-block; width: 38px; height: 1px; background: var(--copper); }
.section-heading { max-width: 780px; margin: 0; color: var(--green); font-size: clamp(43px, 5vw, 73px); line-height: 1.14; letter-spacing: -.067em; font-weight: 400; }
.highlight-word { color: var(--copper); }
.section-intro { margin-bottom: 58px; }
.split-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: end; column-gap: 110px; }
.section-intro p { margin: 0 0 8px; color: var(--text-gray); font-size: 14px; line-height: 1.92; }
.button-primary { background: var(--green); color: var(--white); padding: 19px 23px 19px 25px; min-width: 244px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.button-primary span { color: var(--copper-light); font-size: 20px; font-weight: 400; }
.button-primary:hover { background: #274535; transform: translateY(-2px); }
.button-text { display: inline-flex; gap: 30px; align-items: center; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--green); padding: 12px 0; white-space: nowrap; transition: color .2s ease; }
.button-text:hover { color: var(--copper); }
.tiny-arrow { font-size: 20px; font-weight: 400; }

/* Hero */
.hero { overflow: hidden; position: relative; }
.hero-layout { min-height: 760px; padding: 75px 0 92px; display: grid; grid-template-columns: 1.02fr .98fr; column-gap: clamp(32px, 6vw, 105px); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-top: 10px; }
.hero-title { font-size: clamp(62px, 5.8vw, 90px); font-weight: 400; line-height: 1.09; letter-spacing: -.079em; margin: 31px 0 28px; max-width: 650px; }
.title-emphasis { color: var(--copper); }
.hero-description { max-width: 465px; margin: 0; line-height: 1.95; color: var(--text-gray); font-size: clamp(14px, 1.15vw, 16px); }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 38px; flex-wrap: wrap; }
.hero-founded { margin-top: 93px; padding-top: 21px; border-top: 1px solid var(--hairline); display: flex; align-items: center; gap: 22px; width: max-content; }
.founded-year { color: var(--green); font-size: 42px; line-height: 1; letter-spacing: -.05em; }
.founded-caption { padding-left: 20px; border-left: 1px solid var(--copper); text-transform: uppercase; color: var(--text-gray); line-height: 1.75; font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.hero-visual { position: relative; min-width: 0; padding: 30px 28px 0 0; }
.hero-image { height: 605px; width: 100%; position: relative; }
.hero-outer-line { position: absolute; top: 0; left: 32px; right: 0; bottom: 33px; border: 1px solid rgba(176,106,49,.58); pointer-events: none; }
.image-slot { position: relative; overflow: hidden; }
.image-slot-fallback { height: 100%; width: 100%; position: relative; overflow: hidden; }
.image-slot-photo { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-loaded > .image-slot-fallback { visibility: hidden; }
.hero-fallback { background: var(--green); }
.hero-fallback::before { content: ''; position: absolute; top: 0; right: 16%; width: 1px; height: 100%; background: rgba(255, 255, 255, .075); }
.hero-fallback::after { content: ''; position: absolute; inset: 26px; border: 1px solid rgba(255, 255, 255, .13); }
.hero-arch { display: block; position: absolute; height: 66%; width: 55%; border: 1px solid rgba(208,138,82,.48); border-radius: 400px 400px 0 0; top: 15%; left: 22%; }
.fallback-signature { position: absolute; left: 46px; bottom: 54px; display: grid; gap: 9px; z-index: 1; }
.fallback-tag { font-size: 9px; font-weight: 600; letter-spacing: .19em; color: var(--copper-light); }
.fallback-text { color: var(--white); opacity: .84; font-size: 16px; line-height: 1.65; }
.hero-side-label { position: absolute; right: -7px; top: 45%; writing-mode: vertical-rl; color: var(--copper); font-size: 9px; font-weight: 600; letter-spacing: .28em; }
.hero-overlay-mark { position: absolute; z-index: 3; left: -28px; bottom: -14px; background: var(--paper); min-width: 295px; padding: 28px 28px; display: flex; align-items: center; gap: 16px; color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.small-copper-line { display: block; height: 32px; width: 2px; background: var(--copper); }
.hero-bottom-rule { height: 1px; background: var(--hairline); width: min(var(--container), calc(100% - 96px)); margin: auto; }

/* Escritório */
.about-section { padding-bottom: 152px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0,.84fr); column-gap: clamp(60px, 9vw, 150px); align-items: start; }
.about-main .section-heading { max-width: 670px; }
.copy-column { max-width: 570px; margin-top: 32px; }
.copy-column p { margin: 0 0 18px; font-size: 14px; line-height: 2; color: var(--text-gray); }
.copy-column strong { font-weight: 600; color: var(--green); }
.about-principles { margin-top: 50px; border-top: 1px solid var(--hairline); }
.principle { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 22px; border-bottom: 1px solid var(--hairline); padding: 21px 0; font-size: 13px; font-weight: 500; }
.principle-number { font-size: 10px; letter-spacing: .08em; color: var(--copper); }
.principle-plus { font-size: 22px; color: var(--copper); font-weight: 400; line-height: .8; }
.about-visual { margin-top: 0; }
.about-image { height: 588px; }
.about-fallback { background: var(--paper); }
.about-fallback::before { content: ''; position: absolute; top: 0; bottom: 0; left: 22%; width: 1px; background: rgba(20, 41, 30, .09); }
.about-fallback::after { content: ''; position: absolute; top: 0; bottom: 0; right: 18%; width: 1px; background: rgba(20, 41, 30, .09); }
.about-arches { position: absolute; top: 10%; left: 14%; width: 72%; height: 76%; border: 1px solid rgba(176, 106, 49, .32); border-radius: 400px 400px 0 0; }
.about-arches::after { content: ''; position: absolute; top: 13%; bottom: 0; left: 18%; right: 18%; border: 1px solid rgba(176, 106, 49, .24); border-bottom: 0; border-radius: 380px 380px 0 0; }
.about-placeholder-text { position: absolute; left: 0; right: 0; bottom: 47px; text-align: center; display: grid; gap: 10px; }
.about-placeholder-text > span { color: var(--copper); font-weight: 600; font-size: 9px; letter-spacing: .25em; }
.about-placeholder-text small { color: var(--text-gray); font-size: 12px; }
.about-photo-caption { padding-top: 19px; display: flex; align-items: center; gap: 11px; font-size: 9px; font-weight: 600; letter-spacing: .13em; color: var(--text-gray); }
.caption-rule { width: 25px; height: 1px; background: var(--copper); }

/* Painel verde: citação institucional */
.brand-statement { background: var(--green); color: var(--white); position: relative; overflow: hidden; }
.statement-layout { min-height: 360px; display: flex; align-items: center; gap: clamp(40px, 8vw, 128px); position: relative; }
.statement-symbol { flex: 0 0 108px; }
.statement-symbol img { width: 108px; height: 108px; object-fit: cover; }
.statement-copy { position: relative; z-index: 1; }
.statement-kicker { color: var(--copper-light); font-size: 10px; font-weight: 600; letter-spacing: .27em; }
.statement-copy p { max-width: 760px; margin: 20px 0 25px; font-size: clamp(33px, 4.2vw, 62px); font-weight: 400; line-height: 1.22; letter-spacing: -.055em; }
.statement-copy p span { color: #e8d7c3; }
.statement-rule { height: 1px; width: 74px; background: var(--copper-light); }
.statement-side-word { position: absolute; bottom: -54px; right: -4px; color: rgba(255,255,255,.04); font-size: 260px; line-height: 1; letter-spacing: -.11em; pointer-events: none; }

/* Áreas de atuação */
.practice-section { background: var(--paper); }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.practice-card { min-height: 342px; background: var(--white); border: 1px solid rgba(20,41,30,.06); padding: 30px 30px 32px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.practice-card:hover { transform: translateY(-5px); border-color: rgba(176,106,49,.4); }
.practice-card-top { display: flex; justify-content: space-between; align-items: start; }
.practice-index { color: var(--copper); font-size: 10px; letter-spacing: .19em; font-weight: 600; }
.practice-symbol { color: var(--copper); font-size: 21px; line-height: .9; }
.practice-title { margin: 0 0 17px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.055em; font-weight: 500; line-height: 1.3; }
.practice-description { max-width: 292px; font-size: 12px; line-height: 1.95; color: var(--text-gray); margin: 0; }
.practice-card-rule { display: block; width: 52px; height: 1px; background: var(--copper); margin-top: 30px; }
.practice-card.is-complete .practice-index { color: var(--green); }
.editorial-note { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--text-gray); margin: 27px 0 0; }
.editorial-note span { color: var(--copper); font-size: 16px; }

/* Equipe */
.team-section { background: var(--white); }
.team-intro { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.team-intro .section-heading { max-width: 710px; }
.team-intro p { flex: 0 1 330px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.person-card { min-width: 0; }
.person-portrait { aspect-ratio: 0.79; width: 100%; background: var(--paper); }
.portrait-fallback { background: var(--paper); }
.person-card:nth-child(2) .portrait-fallback { background: #e9e8e3; }
.person-card:nth-child(3) .portrait-fallback { background: #eae7e1; }
.person-card:nth-child(4) .portrait-fallback { background: #ebece8; }
.portrait-fallback::after { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; bottom: 22px; border: 1px solid rgba(20,41,30,.075); }
.portrait-initials { position: absolute; font-size: clamp(80px, 9vw, 125px); color: rgba(20,41,30,.12); letter-spacing: -.09em; font-weight: 400; top: 47%; left: 47%; transform: translate(-50%, -50%); }
.portrait-placeholder-label { position: absolute; left: 36px; bottom: 38px; z-index: 1; color: var(--copper); font-size: 9px; font-weight: 600; letter-spacing: .16em; line-height: 1.8; }
.person-info { border-top: 2px solid var(--green); margin-top: 19px; padding: 19px 0 0; }
.person-small-number { color: var(--copper); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.person-info h3 { font-size: clamp(18px, 1.8vw, 23px); font-weight: 500; letter-spacing: -.046em; margin: 19px 0 9px; line-height: 1.3; }
.person-info p { color: var(--text-gray); font-size: 12px; margin: 0 0 18px; line-height: 1.65; }
.person-registration { border-top: 1px solid var(--hairline); display: block; padding-top: 15px; color: var(--copper); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.person-registration.person-no-oab { color: var(--text-gray); font-weight: 400; }

/* Conteúdos */
.insights-section { background: var(--paper); }
.articles-grid { display: grid; grid-template-columns: 1.22fr 1fr 1fr; gap: 24px; }
.article-placeholder { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.article-placeholder-art { background: var(--green); min-height: 266px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.article-placeholder-art::after { content: ''; position: absolute; border: 1px solid rgba(208,138,82,.38); width: 55%; height: 80%; border-radius: 300px 300px 0 0; left: 22%; top: 20%; }
.article-placeholder-art.light-art { background: #e6e4df; }
.article-placeholder-art.light-art::after { border-color: rgba(176,106,49,.3); }
.article-placeholder-symbol { font-size: 110px; letter-spacing: -.09em; font-weight: 400; color: rgba(255,255,255,.10); }
.light-art .article-placeholder-symbol { color: rgba(20,41,30,.1); }
.article-art-label { position: absolute; z-index: 1; bottom: 28px; left: 28px; color: var(--copper-light); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.light-art .article-art-label { color: var(--copper); }
.article-placeholder-info { flex: 1; padding: 29px 30px 32px; }
.small-topic { color: var(--copper); font-size: 9px; font-weight: 600; letter-spacing: .19em; }
.article-placeholder-info h3 { font-size: clamp(21px, 2vw, 27px); font-weight: 500; letter-spacing: -.055em; line-height: 1.32; margin: 19px 0 12px; }
.article-placeholder-info p { color: var(--text-gray); font-size: 12px; line-height: 1.8; margin: 0; }
.published-article { min-width: 0; display: flex; flex-direction: column; background: var(--white); }
.published-article-media { height: 255px; background: var(--green); color: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.published-article-media img { width: 100%; height: 100%; object-fit: cover; }
.published-article-body { padding: 26px 26px 33px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.published-article-body h3 { font-size: 23px; line-height: 1.38; letter-spacing: -.05em; font-weight: 500; margin: 15px 0; }
.published-article-body p { font-size: 12px; line-height: 1.9; color: var(--text-gray); margin: 0 0 18px; }
.article-date { font-size: 10px; color: var(--text-gray); margin-bottom: 15px; }
.article-read-link { font-size: 11px; color: var(--copper); font-weight: 600; margin-top: auto; border-bottom: 1px solid var(--copper); padding: 8px 0; }

/* Contato */
.contact-section { color: var(--white); background: var(--green); padding: clamp(95px, 9vw, 130px) 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(65px, 9vw, 150px); align-items: center; }
.contact-label { margin-bottom: 34px; color: var(--copper-light); }
.contact-label .section-label-rule { background: var(--copper-light); }
.contact-copy h2 { font-size: clamp(48px, 5.2vw, 76px); letter-spacing: -.068em; font-weight: 400; line-height: 1.16; margin: 0 0 25px; max-width: 530px; }
.contact-copy h2 span { color: var(--copper-light); }
.contact-copy p { color: var(--on-green); font-size: 14px; line-height: 1.9; max-width: 380px; }
.contact-inline-link { display: inline-flex; align-items: center; gap: 35px; border-bottom: 1px solid var(--copper-light); padding: 12px 0; margin-top: 26px; font-size: 12px; font-weight: 500; }
.contact-inline-link span { font-size: 20px; color: var(--copper-light); }
.contact-panel { padding: clamp(32px, 3.6vw, 57px); background: var(--white); color: var(--green); }
.contact-panel-header { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--hairline); }
.contact-panel-header span:first-child { color: var(--copper); font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.contact-panel-header span:last-child { color: var(--copper); font-size: 23px; }
.contact-list { margin: 0; }
.contact-row { padding: 21px 0 20px; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr; gap: 10px; }
.contact-row dt { color: var(--text-gray); font-size: 11px; font-weight: 500; }
.contact-row dd { margin: 0; color: var(--green); font-size: 14px; line-height: 1.7; font-weight: 500; overflow-wrap: anywhere; }
.contact-row dd a { text-decoration: underline; text-decoration-color: rgba(176,106,49,.5); text-underline-offset: 5px; }
.field-pending { color: #807c78; font-style: italic; font-weight: 400; }
.contact-links { display: flex; gap: 24px; margin-top: 24px; font-size: 12px; color: var(--copper); font-weight: 600; }
.contact-whatsapp { margin-top: 24px; background: var(--green); color: white; padding: 17px 20px; display: flex; justify-content: space-between; font-size: 12px; }
.contact-whatsapp span { color: var(--copper-light); }

/* Rodapé */
.site-footer { background: var(--green-deep); color: var(--white); border-top: 1px solid rgba(255,255,255,.12); }
.footer-main { display: grid; grid-template-columns: 1.25fr .65fr .85fr; gap: clamp(35px, 8vw, 130px); padding: 71px 0 77px; }
.footer-logo { width: 280px; height: auto; }
.footer-identity p { color: var(--on-green); font-size: 12px; line-height: 1.9; margin: 26px 0 0; }
.footer-navigation { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 2px; }
.footer-navigation a { font-size: 12px; color: #e7eee8; transition: color .2s; }
.footer-navigation a:hover { color: var(--copper-light); }
.footer-note { display: flex; flex-direction: column; align-items: flex-start; }
.footer-monogram img { width: 64px; height: 64px; }
.footer-note p { color: var(--on-green); font-size: 11px; line-height: 1.95; max-width: 300px; margin: 23px 0 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 23px 0 25px; display: flex; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.53); font-size: 9px; line-height: 1.7; letter-spacing: .055em; }
.footer-bottom span:last-child { letter-spacing: .16em; }
.back-to-top { position: fixed; right: 25px; bottom: 25px; z-index: 35; border: 1px solid rgba(176,106,49,.46); background: var(--green); color: var(--white); height: 45px; width: 45px; display: grid; place-items: center; font-size: 22px; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .25s, transform .25s; }
.back-to-top.is-active { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: #264435; }

/* Animações de entrada discretas. */
.has-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.has-js .hero-copy .reveal:nth-child(2) { transition-delay: .08s; }
.has-js .hero-copy .reveal:nth-child(3) { transition-delay: .16s; }
.has-js .hero-copy .reveal:nth-child(4) { transition-delay: .24s; }

/* Notebook e tablet horizontal */
@media (max-width: 1180px) {
  .container { width: min(var(--container), calc(100% - 64px)); }
  .hero-bottom-rule { width: calc(100% - 64px); }
  .nav-inner { min-height: 90px; }
  .primary-nav { gap: 18px; }
  .nav-link { font-size: 11px; }
  .nav-contact { padding: 15px 17px; gap: 15px; }
  .hero-layout { column-gap: 48px; min-height: 650px; }
  .hero-title { font-size: clamp(51px, 6.2vw, 76px); }
  .hero-image { height: 555px; }
  .hero-founded { margin-top: 62px; }
  .about-layout { column-gap: 65px; }
  .about-image { height: 530px; }
  .team-grid { gap: 17px; }
  .portrait-placeholder-label { left: 22px; }
  .statement-side-word { font-size: 215px; }
}

/* Tablet vertical: navegação recolhível */
@media (max-width: 880px) {
  html { scroll-padding-top: 82px; }
  .nav-inner { min-height: 78px; }
  .site-logo img { width: 215px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 45px; height: 45px; padding: 8px; background: transparent; border: 1px solid var(--hairline); cursor: pointer; }
  .menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--green); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7.5px) rotate(-45deg); }
  .primary-nav { position: fixed; left: 0; right: 0; top: 81px; height: calc(100dvh - 81px); padding: 45px 32px; display: none; flex-direction: column; align-items: stretch; gap: 5px; background: var(--white); overflow-y: auto; border-top: 1px solid var(--hairline); }
  .primary-nav.is-open { display: flex; }
  .primary-nav .nav-link { font-size: 20px; letter-spacing: -.035em; font-weight: 500; border-bottom: 1px solid var(--hairline); padding: 21px 0; }
  .primary-nav .nav-link::after { display: none; }
  .primary-nav .nav-contact { margin-top: 21px; padding: 20px; font-size: 12px; }
  .hero-layout { grid-template-columns: 1fr 1fr; padding: 67px 0 90px; gap: 30px; min-height: 0; }
  .hero-title { font-size: clamp(47px, 6.7vw, 65px); }
  .hero-image { height: 485px; }
  .hero-description { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-founded { margin-top: 48px; }
  .hero-overlay-mark { min-width: 245px; padding: 22px; left: -18px; bottom: -24px; }
  .hero-visual { padding: 24px 18px 0 0; }
  .hero-side-label { right: -11px; }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 42px; }
  .about-image { height: 500px; }
  .section-heading { font-size: clamp(42px, 5.8vw, 60px); }
  .copy-column p { font-size: 13px; }
  .split-intro { gap: 35px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 42px; }
  .portrait-initials { font-size: 112px; }
  .person-info h3 { font-size: 23px; }
  .articles-grid { gap: 16px; }
  .article-placeholder-art { min-height: 205px; }
  .article-placeholder-info { padding: 25px 22px; }
  .article-placeholder-info h3 { font-size: 21px; }
  .contact-layout { gap: 45px; }
  .contact-copy h2 { font-size: clamp(43px, 6vw, 64px); }
  .footer-main { gap: 45px; grid-template-columns: 1.1fr .6fr .9fr; }
  .footer-logo { width: 220px; }
}

/* Celular */
@media (max-width: 650px) {
  .container { width: calc(100% - 38px); }
  .hero-bottom-rule { width: calc(100% - 38px); }
  .nav-inner { min-height: 70px; }
  .site-logo img { width: 190px; }
  .primary-nav { top: 73px; height: calc(100dvh - 73px); }
  .section { padding: 90px 0; }
  .section-label { margin-bottom: 27px; }
  .section-heading { font-size: clamp(41px, 10vw, 58px); }
  .hero-layout { grid-template-columns: 1fr; padding: 62px 0 75px; gap: 56px; }
  .hero-title { margin: 24px 0 20px; font-size: clamp(51px, 12.3vw, 72px); max-width: 520px; }
  .hero-description { max-width: 540px; line-height: 1.85; font-size: 14px; }
  .hero-actions { flex-direction: row; gap: 23px; align-items: center; margin-top: 27px; }
  .button-primary { min-width: 0; padding: 18px 19px; font-size: 11px; gap: 20px; }
  .button-text { font-size: 11px; gap: 12px; }
  .hero-founded { margin-top: 43px; }
  .hero-visual { padding-right: 15px; padding-top: 15px; margin-right: 6px; }
  .hero-image { height: clamp(395px, 115vw, 570px); }
  .hero-outer-line { left: 15px; bottom: 16px; }
  .hero-side-label { font-size: 7px; right: -7px; }
  .hero-overlay-mark { left: -9px; bottom: -25px; padding: 20px; min-width: 242px; }
  .fallback-signature { bottom: 43px; left: 31px; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .copy-column { margin-top: 25px; }
  .copy-column p { font-size: 14px; }
  .about-principles { margin-top: 35px; }
  .about-image { height: clamp(400px, 120vw, 580px); }
  .about-section { padding-bottom: 90px; }
  .statement-layout { min-height: 342px; gap: 25px; }
  .statement-symbol { display: none; }
  .statement-copy p { font-size: clamp(34px, 8.5vw, 50px); }
  .statement-side-word { font-size: 155px; bottom: -27px; }
  .split-intro { display: block; }
  .section-intro { margin-bottom: 34px; }
  .section-intro p { margin-top: 22px; font-size: 13px; }
  .practice-grid { grid-template-columns: 1fr; gap: 14px; }
  .practice-card { min-height: 245px; padding: 26px; }
  .practice-title { font-size: 26px; }
  .practice-description { max-width: 410px; }
  .team-intro { display: block; }
  .team-grid { gap: 39px 16px; }
  .person-portrait { aspect-ratio: .75; }
  .person-info h3 { font-size: clamp(17px, 4.2vw, 23px); }
  .person-info p { font-size: 11px; min-height: 35px; }
  .person-registration { font-size: 10px; }
  .portrait-initials { font-size: clamp(72px, 17vw, 112px); }
  .portrait-placeholder-label { left: 17px; bottom: 25px; font-size: 7px; }
  .portrait-fallback::after { inset: 13px; }
  .articles-grid { grid-template-columns: 1fr; gap: 19px; }
  .article-placeholder { display: grid; grid-template-columns: .78fr 1fr; min-height: 185px; }
  .article-placeholder-art { min-height: 185px; }
  .article-placeholder-symbol { font-size: 72px; }
  .article-placeholder-info { padding: 24px 20px; align-self: center; }
  .article-placeholder-info h3 { font-size: 20px; }
  .article-placeholder-info p { font-size: 11px; }
  .article-art-label { left: 13px; bottom: 15px; font-size: 7px; }
  .published-article-media { height: 245px; }
  .contact-section { padding: 90px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-copy h2 { font-size: clamp(46px, 11vw, 65px); }
  .contact-copy p { max-width: 100%; }
  .contact-panel { padding: 31px 27px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; padding: 53px 0; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-note { grid-column: auto; }
  .footer-monogram img { width: 55px; height: 55px; }
  .footer-bottom { flex-direction: column; gap: 13px; }
}

/* Retratos individuais mais legíveis em telefones pequenos. */
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; gap: 46px; }
  .person-portrait { aspect-ratio: .88; max-height: 490px; }
  .person-info h3 { font-size: 25px; }
  .person-info p { font-size: 13px; min-height: 0; }
  .person-registration { font-size: 11px; }
  .portrait-initials { font-size: clamp(106px, 27vw, 147px); }
  .portrait-placeholder-label { font-size: 9px; left: 25px; bottom: 27px; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 47px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .person-info h3 { font-size: 23px; }
  .person-info p { font-size: 12px; }
  .person-registration { font-size: 11px; }
  .portrait-placeholder-label { font-size: 9px; }
  .article-placeholder { grid-template-columns: .7fr 1fr; }
  .footer-main { display: flex; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .has-js .reveal { opacity: 1 !important; transform: none !important; }
}
