@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Montserrat:wght@400;500;600&display=swap');

:root {
  --black: #0d0d0d;
  --charcoal: #171717;
  --paper: #f6f6f4;
  --white: #ffffff;
  --taupe: #b9a48c;
  --slate: #263746;
  --green: #344b40;
  --ink: #252525;
  --muted: #686662;
  --line: #d8cfc4;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--white); color: var(--black); padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 50; background: var(--black); color: var(--white); border-bottom: 1px solid #ffffff1f; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.brand { display: block; width: 164px; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.site-footer .brand { width: min(164px, 48vw); }
.site-nav { display: flex; align-items: center; gap: 35px; font-size: 12px; }
.site-nav a { text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--taupe); }
.menu-toggle { display: none; padding: 10px; border: 0; background: transparent; color: var(--white); }
.menu-toggle span { display: block; width: 26px; height: 1px; margin: 6px 0; background: currentColor; }

.eyebrow { color: var(--taupe); font-size: 11px; font-weight: 500; letter-spacing: 2.3px; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 23px; border: 1px solid var(--taupe); color: inherit; font-size: 11px; font-weight: 600; letter-spacing: .3px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.button-gold { background: var(--taupe); color: var(--black); }
.button-outline { background: transparent; color: var(--white); }
.button:hover { background: #cbb79f; border-color: #cbb79f; color: var(--black); }

/* Homepage */
.home-hero { min-height: 560px; color: var(--white); background: linear-gradient(90deg, rgba(13,13,13,.98) 0%, rgba(13,13,13,.88) 41%, rgba(13,13,13,.45) 67%, rgba(13,13,13,.08) 100%), url('../images/escritorio-executivo.png') center/cover no-repeat; }
.home-hero .container { min-height: 560px; display: flex; align-items: center; }
.hero-copy { max-width: 660px; padding-block: 70px; }
.hero-copy h1 { margin: 22px 0 18px; font-size: clamp(48px, 5vw, 72px); line-height: 1.05; }
.hero-copy p { max-width: 580px; margin: 0 0 31px; font-size: 17px; line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.home-intro { padding: 68px 0 62px; text-align: center; }
.gold-rule { width: 62px; height: 2px; margin: 0 auto 27px; background: var(--taupe); }
.home-intro p { max-width: 820px; margin: auto; font: 23px/1.55 var(--serif); }
.section { padding: 76px 0; }
.section-title { margin: 12px 0 36px; font-size: 44px; }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.area-summary { display: flex; flex-direction: column; min-height: 330px; padding: 28px; border: 1px solid transparent; }
.area-summary:nth-child(1) { background: var(--slate); color: var(--white); }
.area-summary:nth-child(2) { background: #ddd3c7; color: var(--ink); }
.area-summary:nth-child(3) { background: #181818; color: var(--white); }
.area-summary:nth-child(4) { background: var(--green); color: var(--white); }
.area-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--taupe); border-radius: 50%; color: #987c61; font: 22px var(--serif); }
.area-summary h3 { margin: 24px 0 16px; font-size: 25px; line-height: 1.05; }
.area-summary p { margin: 0 0 22px; color: inherit; opacity: .88; font-size: 12px; line-height: 1.7; }
.text-link { margin-top: auto; color: #917359; font-size: 11px; text-decoration: none; }
.approach { border-block: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: 32% 68%; }
.approach-title { padding: 64px 56px 64px 0; border-right: 1px solid var(--line); }
.approach-title h2 { max-width: 290px; margin: 0; font-size: 42px; line-height: 1.12; }
.approach-title:after { content: ''; display: block; width: 50px; height: 2px; margin-top: 25px; background: var(--taupe); }
.principles { display: grid; grid-template-columns: 1fr 1fr; }
.principle { min-height: 155px; padding: 30px 34px; border-bottom: 1px solid var(--line); }
.principle:nth-child(odd) { border-right: 1px solid var(--line); }
.principle:nth-last-child(-n+2) { border-bottom: 0; }
.principle h3 { margin: 0 0 10px; font-size: 20px; }
.principle p { margin: 0; color: #5d5b58; font-size: 11px; line-height: 1.7; }
.home-profile { display: grid; grid-template-columns: 40% 60%; background: var(--white); }
.home-profile-image { min-height: 580px; background: url('../images/luiz-artur-rocha.png') center 36%/cover no-repeat; }
.home-profile-copy { align-self: center; padding: 70px 78px; }
.home-profile-copy h2 { margin: 11px 0 26px; font-size: 42px; }
.home-profile-copy p { color: #535353; font-size: 13px; line-height: 1.85; }
.home-profile-copy .button { margin-top: 12px; background: var(--black); border-color: var(--black); color: var(--taupe); }
.complementary { background: var(--black); color: var(--white); text-align: center; }
.complementary h2 { margin: 0; padding: 22px 0 16px; font-size: 34px; }
.complementary-list { display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: 25px; }
.complementary-list span { padding: 8px 20px; border-right: 1px solid var(--taupe); font: 15px/1.35 var(--serif); }
.complementary-list span:last-child { border-right: 0; }
.home-content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-content-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.home-content-card .visual { height: 120px; background: linear-gradient(135deg,#beb6ac,#263746); }
.home-content-card:nth-child(2) .visual { background: linear-gradient(135deg,#162532,#6f7880); }
.home-content-card:nth-child(3) .visual { background: linear-gradient(135deg,#d8cfc4,#847666); }
.home-content-body { padding: 21px; }
.home-content-body h3 { margin: 10px 0 14px; font-size: 21px; }
.contact-strip { padding: 42px 0; background: var(--black); color: var(--white); text-align: center; }
.contact-strip h2 { margin: 0 0 7px; font-size: 36px; }
.contact-strip p { margin: 0 0 22px; color: #c8c8c8; font-size: 11px; }

/* Internal pages */
.mast { min-height: 310px; display: flex; align-items: center; color: var(--white); background: linear-gradient(120deg, var(--black), #1c2024); }
.mast h1 { margin: 18px 0 17px; font-size: clamp(47px, 5vw, 62px); }
.mast p { max-width: 790px; margin: 0; color: #ddd; font-size: 14px; line-height: 1.8; }
.thank-actions { margin-top: 28px; }
.office-layout { display: grid; grid-template-columns: 41% 59%; min-height: 820px; background: var(--white); }
.office-photo { background: url('../images/luiz-artur-rocha.png') center 35%/cover no-repeat; }
.office-copy { display: flex; flex-direction: column; justify-content: center; padding: 88px 88px; }
.office-copy h1 { margin: 15px 0 34px; font-size: 52px; }
.office-copy p { margin: 0 0 17px; color: #505050; font-size: 13px; line-height: 1.9; }
.office-copy .button { align-self: flex-start; margin-top: 15px; }
.areas-details { padding: 58px 0 78px; background: var(--black); }
.area-detail { display: grid; grid-template-columns: 31% 69%; min-height: 330px; margin: 0 0 24px; overflow: hidden; box-shadow: 0 12px 34px #0006; }
.area-detail:last-child { margin-bottom: 0; }
.area-detail-image { min-height: 100%; background-position: center; background-size: cover; }
.area-detail-body { padding: 38px 44px; }
.area-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid currentColor; }
.area-detail h2 { max-width: 520px; margin: 0; font-size: 31px; line-height: 1.15; }
.area-detail p, .area-detail li { font-size: 12px; line-height: 1.75; }
.area-detail ul { columns: 2; padding-left: 18px; }
.area-detail.slate { background: var(--slate); color: var(--white); }
.area-detail.slate p, .area-detail.slate li { color: #e4e6e8; }
.area-detail.warm { background: #ddd3c7; }
.area-detail.warm p, .area-detail.warm li { color: #41403e; }
.area-detail.dark { background: #181818; color: var(--white); }
.area-detail.dark p, .area-detail.dark li { color: #dedbd7; }
.area-detail.green { background: var(--green); color: var(--white); }
.area-detail.green p, .area-detail.green li { color: #e2e7e3; }

/* Areas hub */
.areas-mast { min-height: 285px; }
.practice-hub { padding: 68px 0 78px; background: var(--black); }
.practice-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.practice-card { display: grid; grid-template-columns: 42% 58%; min-height: 315px; overflow: hidden; box-shadow: 0 14px 35px rgba(0,0,0,.28); }
.practice-card-image { min-height: 100%; background-position: center; background-size: cover; }
.practice-card-body { display: flex; flex-direction: column; padding: 34px 34px 30px; }
.practice-card h2 { margin: 0 0 18px; font-size: 30px; line-height: 1.08; }
.practice-card p { margin: 0 0 24px; font-size: 12px; line-height: 1.75; }
.practice-link { align-self: flex-start; margin-top: auto; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: inherit; font-size: 10px; font-weight: 600; letter-spacing: .3px; text-decoration: none; }
.practice-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.practice-link:hover span { transform: translateX(4px); }
.practice-card.slate, .practice-detail-panel.slate { background: var(--slate); color: var(--white); }
.practice-card.slate p, .practice-detail-panel.slate p, .practice-detail-panel.slate li { color: #e4e6e8; }
.practice-card.warm, .practice-detail-panel.warm { background: #ddd3c7; color: var(--ink); }
.practice-card.warm p, .practice-detail-panel.warm p, .practice-detail-panel.warm li { color: #41403e; }
.practice-card.dark, .practice-detail-panel.dark { background: #181818; color: var(--white); }
.practice-card.dark p, .practice-detail-panel.dark p, .practice-detail-panel.dark li { color: #dedbd7; }
.practice-card.green, .practice-detail-panel.green { background: var(--green); color: var(--white); }
.practice-card.green p, .practice-detail-panel.green p, .practice-detail-panel.green li { color: #e2e7e3; }
.areas-complementary { border-top: 1px solid rgba(255,255,255,.13); }

/* Individual practice pages */
.practice-detail { padding: 46px 0 76px; background: var(--black); }
.back-link { display: inline-block; margin: 0 0 22px; color: var(--taupe); font-size: 11px; text-decoration: none; }
.practice-detail-panel { display: grid; grid-template-columns: 40% 60%; min-height: 590px; overflow: hidden; box-shadow: 0 18px 48px rgba(0,0,0,.34); }
.practice-detail-image { min-height: 100%; background-position: center; background-size: cover; }
.practice-detail-copy { align-self: center; padding: 62px 66px; }
.practice-detail-copy .eyebrow { color: currentColor; opacity: .72; }
.practice-detail-copy h1 { margin: 17px 0 27px; font-size: clamp(42px, 4vw, 61px); line-height: 1.02; }
.practice-detail-copy h2 { margin: 32px 0 12px; font-size: 23px; }
.practice-detail-copy p, .practice-detail-copy li { font-size: 13px; line-height: 1.8; }
.practice-detail-copy ul { columns: 2; column-gap: 42px; padding-left: 20px; }
.practice-detail-copy li { break-inside: avoid; margin-bottom: 6px; }
.detail-cta { padding: 48px 0; background: var(--paper); text-align: center; }
.detail-cta h2 { margin: 0 0 20px; font-size: 34px; }
.content-lead { display: grid; grid-template-columns: 45% 55%; gap: 78px; align-items: start; }
.content-lead h2 { margin: 6px 0 26px; font-size: 47px; line-height: 1.12; }
.content-lead p, .article-card p { color: #5b5855; font-size: 13px; line-height: 1.75; }
.feature-card, .article-card { padding: 38px; border-top: 2px solid var(--taupe); background: var(--white); }
.feature-card h2 { margin: 19px 0; font-size: 34px; line-height: 1.22; }
.article-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.article-card { min-height: 270px; }
.article-card h2 { margin: 18px 0; font-size: 27px; line-height: 1.25; }
.newsletter { padding: 54px 0; background: #304255; color: var(--white); }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.newsletter h2 { margin: 0 0 7px; font-size: 36px; }
.newsletter p { margin: 0; color: #d9dcdf; font-size: 11px; }
.newsletter-form { display: flex; flex-wrap: wrap; width: min(500px, 100%); }
.newsletter-form input { flex: 1; min-width: 0; border: 0; padding: 16px; font: 12px var(--sans); }
.newsletter-form button { border: 0; background: var(--taupe); padding: 0 25px; font: 600 10px var(--sans); cursor: pointer; }
.newsletter-form .form-status { flex-basis: 100%; margin: 10px 0 0; color: #fff; }
.newsletter-form .form-status:empty { display: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 74px; }
.contact-copy h2 { margin: 7px 0 30px; font-size: 46px; line-height: 1.12; }
.contact-copy > p { color: #555; font-size: 13px; line-height: 1.8; }
.contact-facts { margin-top: 35px; border-top: 1px solid var(--line); }
.contact-fact { padding: 21px 0; border-bottom: 1px solid var(--line); }
.contact-fact h3 { margin: 0 0 6px; font-size: 20px; }
.contact-fact p { margin: 0; color: #666; font-size: 11px; line-height: 1.6; }
.contact-form { padding: 38px; border-top: 2px solid var(--taupe); background: var(--white); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status.is-error { color: #8b2d2d; font-weight: 600; }
.contact-form h2 { margin: 0 0 27px; font-size: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 8px; color: #777; font-size: 8px; letter-spacing: 1px; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #ddd; border-radius: 0; background: #fafafa; padding: 13px; font: 12px var(--sans); }
.field textarea { min-height: 124px; resize: vertical; }
.privacy-note { color: #777; font-size: 9px; line-height: 1.55; }
.form-status { min-height: 18px; color: var(--green); font-size: 11px; }
.whatsapp-band { padding: 65px 0; background: var(--black); color: var(--white); text-align: center; }
.whatsapp-band h2 { margin: 0 0 10px; font-size: 40px; }
.whatsapp-band p { margin: 0 0 25px; color: #ccc; font-size: 12px; }
.legal-copy { max-width: 860px; }
.legal-copy h2 { margin: 42px 0 12px; font-size: 30px; }
.legal-copy p, .legal-copy li { color: #555; font-size: 13px; line-height: 1.85; }

.site-footer { padding: 44px 0; background: var(--black); color: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.footer-meta { margin-top: 9px; color: #a9a9a9; font-size: 8px; letter-spacing: .5px; text-transform: uppercase; }
.footer-links { display: flex; align-items: center; gap: 24px; font-size: 10px; }
.footer-links a { color: #c7c7c7; text-decoration: none; }

/* Movimento discreto durante a rolagem, sem alterar o layout aprovado. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .container { width: min(var(--max), calc(100% - 52px)); }
  .brand { width: 158px; }
  .site-nav { gap: 18px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .home-profile-copy, .office-copy { padding: 60px 48px; }
  .complementary-list { grid-template-columns: repeat(2, 1fr); }
  .complementary-list span { border-right: 0; border-bottom: 1px solid #ffffff22; }
  .practice-card { grid-template-columns: 1fr; }
  .practice-card-image { min-height: 220px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 36px, var(--max)); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand { width: min(142px, calc(100vw - 82px)); flex-shrink: 0; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 18px 26px; background: var(--black); border-top: 1px solid #ffffff1f; box-shadow: 0 18px 30px #0008; }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 16px 12px; border-bottom: 1px solid #ffffff18; }
  .home-hero, .home-hero .container { min-height: 610px; }
  .home-hero { background-image: linear-gradient(90deg, rgba(13,13,13,.94), rgba(13,13,13,.62)), url('../images/escritorio-executivo.png'); background-position: 63% center; }
  .hero-copy h1 { font-size: 48px; }
  .section { padding: 58px 0; }
  .areas-grid, .home-content-grid, .article-list { grid-template-columns: 1fr; }
  .area-summary { min-height: 250px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-title { padding: 54px 0 35px; border-right: 0; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .principle:last-child { border-bottom: 0; }
  .home-profile, .office-layout { grid-template-columns: 1fr; }
  .home-profile-image, .office-photo { min-height: 590px; background-position: center 30%; }
  .home-profile-copy, .office-copy { padding: 55px 24px; }
  .office-copy h1 { font-size: 44px; }
  .complementary-list { grid-template-columns: 1fr; }
  .mast { min-height: 270px; }
  .area-detail { grid-template-columns: 1fr; }
  .area-detail-image { min-height: 300px; }
  .area-detail-body { padding: 33px 25px; }
  .area-detail ul { columns: 1; }
  .practice-card-grid { grid-template-columns: 1fr; }
  .practice-card { grid-template-columns: 42% 58%; min-height: 300px; }
  .practice-card-image { min-height: 100%; }
  .practice-detail-panel { grid-template-columns: 1fr; }
  .practice-detail-image { min-height: 390px; }
  .practice-detail-copy { padding: 48px 36px 54px; }
  .content-lead, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .brand { width: min(148px, calc(100vw - 78px)); }
  .hero-copy h1 { font-size: 41px; }
  .hero-copy p { font-size: 15px; }
  .home-intro p { font-size: 20px; }
  .button-row .button { width: 100%; }
  .section-title, .approach-title h2, .contact-copy h2 { font-size: 37px; }
  .home-profile-image, .office-photo { min-height: 490px; }
  .area-detail-head { display: block; }
  .area-detail .mini { margin-top: 14px; }
  .practice-hub { padding: 42px 0 52px; }
  .practice-card { grid-template-columns: 1fr; min-height: 0; }
  .practice-card-image { min-height: 205px; }
  .practice-card-body { min-height: 280px; padding: 28px 24px; }
  .practice-card h2 { font-size: 27px; }
  .practice-detail { padding-top: 30px; }
  .practice-detail-image { min-height: 290px; }
  .practice-detail-copy { padding: 36px 24px 42px; }
  .practice-detail-copy h1 { font-size: 40px; }
  .practice-detail-copy ul { columns: 1; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } .reveal { opacity: 1; transform: none; } }
