/* Evolução visual 1.2 — clássico institucional editorial com acabamento premium. */
:root {
  --wine-soft: #7a1b10;
  --gold: #b68a60;
  --warm-light: #faf8f4;
  --shadow-soft: 0 24px 70px rgba(63, 34, 29, .10);
  --shadow-card: 0 16px 45px rgba(63, 34, 29, .08);
}

body { background: var(--warm-light); }
.shell { width: min(1320px, calc(100% - 72px)); }
.site-header { box-shadow: 0 8px 30px rgba(48, 25, 20, .035); }
.header-inner { min-height: 96px; }
.brand img { width: 62px; height: 62px; }
.brand strong { font-size: 18px; letter-spacing: -.01em; }
.brand small { color: var(--wine); font-weight: 700; }
.desktop-nav { gap: 31px; }
.desktop-nav a { font-weight: 600; }
.button { min-height: 54px; padding-inline: 27px; border-radius: 2px; }
.button-primary { box-shadow: 0 14px 30px rgba(96, 10, 0, .17); }
.digital-nav { background: #f7f2ec; }
.digital-nav-inner { min-height: 46px; }

.hero-premium { background: linear-gradient(110deg, #f8f4ee 0%, #f8f4ee 58%, #eee4da 58%, #f6eee6 100%); }
.hero-premium::before { inset: 0; background: radial-gradient(circle at 14% 18%, rgba(182,138,96,.12), transparent 26%), linear-gradient(90deg, transparent 0 57%, rgba(96,10,0,.035) 57%); }
.hero-premium .hero-grid { min-height: 760px; grid-template-columns: 1.12fr .68fr; gap: 7%; padding-block: 76px; }
.hero-premium .hero-copy { max-width: 820px; }
.hero-registry, .practice-registry { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 35px; padding: 8px 11px; border: 1px solid rgba(96,10,0,.2); color: #63534d; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-registry span, .practice-registry span { padding-left: 12px; border-left: 1px solid rgba(96,10,0,.25); color: var(--wine); }
.hero-premium .eyebrow { margin-bottom: 20px; }
.hero-premium h1 { font-size: clamp(53px, 5.2vw, 79px); line-height: 1.01; }
.hero-premium h1 span { display: block; max-width: 720px; }
.hero-premium h1 em { max-width: 800px; margin-top: 19px; font-size: .76em; line-height: 1.07; }
.hero-premium .hero-lead { max-width: 680px; margin-top: 31px; font-size: 17px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 9px 23px; margin-top: 34px; color: #71615a; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-assurances span { position: relative; padding-left: 15px; }
.hero-assurances span::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.hero-panel-people { position: relative; align-self: center; min-height: 590px; padding: 0; border: 0; display: block; }
.founder-portrait { position: absolute; inset: 0 34px 65px 0; margin: 0; overflow: hidden; background: #d9d0c8; box-shadow: var(--shadow-soft); }
.founder-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(34,16,12,.85) 100%); }
.founder-portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: saturate(.78) contrast(1.02); transform: scale(1.005); }
.founder-portrait figcaption { position: absolute; left: 34px; right: 34px; bottom: 30px; z-index: 2; display: flex; flex-direction: column; color: #fff; }
.founder-portrait small, .partner-portrait small, .practice-expert-card small { color: #d9bbb6; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.founder-portrait strong { margin-top: 7px; font: 400 29px/1.1 var(--serif); }
.founder-portrait figcaption span { margin-top: 6px; color: rgba(255,255,255,.7); font-size: 11px; }
.partner-portrait { position: absolute; right: -16px; top: 62px; z-index: 4; width: 160px; padding: 10px; background: #fff; box-shadow: 0 20px 45px rgba(48,25,20,.20); }
.partner-portrait > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(.82); }
.partner-portrait > div { padding: 13px 6px 7px; }
.partner-portrait small { color: var(--wine); }
.partner-portrait strong { display: block; margin-top: 5px; color: var(--wine-dark); font: 400 17px/1.15 var(--serif); }
.hero-quote { position: absolute; z-index: 5; right: 0; bottom: 0; width: 86%; min-height: 117px; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 20px; padding: 24px 28px; background: var(--wine); color: #fff; box-shadow: 0 18px 45px rgba(96,10,0,.2); }
.hero-quote img { width: 43px; filter: brightness(0) invert(1); }
.hero-quote p { margin: 0; font: italic 17px/1.45 var(--serif); }
.signature-band { box-shadow: 0 8px 30px rgba(50,28,23,.035); }
.signature-grid p { padding-block: 27px; font-size: 14px; }

.section { padding-block: 112px; }
.section-heading h2, .section-topline h2, .digital-section h2, .contact h2 { line-height: 1.02; }
.about { background: #fff; }
.about .section-heading { position: sticky; top: 170px; }
.history-band { padding-block: 78px; background: linear-gradient(110deg, var(--wine-dark) 0 42%, var(--wine) 42%); color: #fff; }
.history-band .split-layout { align-items: center; }
.history-band h2 { color: #fff; }
.history-band p { color: rgba(255,255,255,.72); line-height: 1.85; }
.history-band .eyebrow { color: #d9bbb6; }
.areas-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #3d0500, var(--wine-dark)); }
.areas-section::after { content: ""; position: absolute; right: -220px; top: -260px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.07); transform: rotate(45deg); }
.areas-section .shell { position: relative; z-index: 2; }
.area-card { min-height: 425px; padding: 39px 32px; }
.area-card:hover { background: rgba(255,255,255,.075); transform: translateY(-5px); }
.area-card h3 { font-size: 30px; }
.digital-section { background: linear-gradient(100deg, #eee5dc, #faf7f2); }
.digital-mark { background: rgba(255,255,255,.52); box-shadow: inset 0 0 0 8px rgba(255,255,255,.42); }

.team-premium, .practice-team-section { background: #fff; }
.team-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 9%; max-width: none; margin-bottom: 55px; }
.team-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.team-photo-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; background: none; border: 0; }
.team-card-photo { min-height: 470px; padding: 0; display: grid; grid-template-columns: 42% 58%; gap: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.team-card-photo:hover { transform: translateY(-7px); box-shadow: 0 26px 65px rgba(63,34,29,.14); }
.team-card-photo figure { height: 100%; margin: 0; overflow: hidden; background: #e4ddd5; }
.team-card-photo figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.76) contrast(1.03); transition: transform .45s ease, filter .3s ease; }
.team-card-photo:hover figure img { transform: scale(1.035); filter: saturate(.95); }
.team-card-copy { position: relative; padding: 38px 29px 32px; display: flex; flex-direction: column; justify-content: center; }
.team-card-copy h3 { font-size: 24px; line-height: 1.15; }
.team-card-copy > p:last-of-type { margin-top: 22px; }
.profile-line { position: absolute; left: 29px; right: 29px; bottom: 25px; height: 1px; background: linear-gradient(90deg, var(--wine), var(--line)); }
.practice-team-section { border-top: 1px solid var(--line); }

.post-card { box-shadow: var(--shadow-card); border-left: 0; border-right: 0; border-bottom: 0; }
.locations { background: linear-gradient(135deg, #2f211e 0%, var(--wine-dark) 100%); }
.location-list article { transition: background .2s ease, padding .2s ease; }
.location-list article:hover { padding-inline: 18px; background: rgba(255,255,255,.035); }
.contact { background: linear-gradient(90deg, #fff 0 60%, #f3ece5 60%); }

.practice-hero-premium { min-height: 720px; background: radial-gradient(circle at 78% 18%, rgba(182,138,96,.18), transparent 26%), linear-gradient(135deg, #360500, var(--wine-dark) 58%, #6c150c); }
.practice-hero-premium::after { width: 680px; height: 680px; right: -210px; top: -230px; border-color: rgba(255,255,255,.09); }
.practice-hero-premium .practice-hero-grid { min-height: 720px; grid-template-columns: 1.15fr .53fr; gap: 8%; }
.practice-registry { margin-bottom: 34px; border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.68); }
.practice-registry span { border-color: rgba(255,255,255,.22); color: #e1c5be; }
.practice-hero-premium h1 { font-size: clamp(48px, 5vw, 74px); }
.practice-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.practice-hero-actions > span { max-width: 220px; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.practice-expert-card { align-self: center; padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: 0 32px 80px rgba(20,0,0,.28); }
.practice-expert-card figure { margin: 0; position: relative; }
.practice-expert-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(34,16,12,.86)); }
.practice-expert-card figure > img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 25%; filter: saturate(.78); }
.practice-expert-card figcaption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; display: flex; flex-direction: column; color: #fff; }
.practice-expert-card figcaption strong { margin-top: 6px; font: 400 23px/1.1 var(--serif); }
.practice-expert-card figcaption span { margin-top: 5px; color: rgba(255,255,255,.68); font-size: 10px; }
.practice-trust { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 14px; }
.practice-trust span { padding: 0 10px; border-right: 1px solid var(--line); color: var(--muted); font-size: 8px; line-height: 1.45; text-align: center; text-transform: uppercase; letter-spacing: .07em; }
.practice-trust span:last-child { border-right: 0; }
.practice-trust b { display: block; margin-bottom: 6px; color: var(--wine); font: 400 20px/1 var(--serif); }
.practice-highlights { box-shadow: 0 14px 35px rgba(58,29,23,.05); }
.practice-highlights article { transition: background .2s ease; }
.practice-highlights article:hover { background: #fff; }
.pain-grid article { box-shadow: 0 13px 35px rgba(63,34,29,.06); transition: transform .2s ease; }
.pain-grid article:hover { transform: translateY(-5px); }
.service-grid article { transition: background .2s ease; }
.service-grid article:hover { background: rgba(255,255,255,.055); }
.steps-grid li { background: #fff; }
.faq-grid details { background: transparent; transition: padding .2s ease; }
.faq-grid details[open] { padding-inline: 18px; background: rgba(255,255,255,.56); }
.practice-cta { background: linear-gradient(115deg, var(--wine), #7b1a10); }

@media (max-width: 1180px) {
  .hero-premium .hero-grid { grid-template-columns: 1fr .62fr; gap: 5%; }
  .hero-premium h1 { font-size: clamp(48px, 6vw, 66px); }
  .partner-portrait { width: 135px; right: -8px; }
  .team-card-photo { min-height: 430px; grid-template-columns: 44% 56%; }
  .team-card-copy { padding: 30px 22px; }
  .team-card-copy h3 { font-size: 21px; }
}

@media (max-width: 920px) {
  .shell { width: min(100% - 40px, 780px); }
  .hero-premium { background: linear-gradient(180deg, #f8f4ee 0 64%, #eee4da 64%); }
  .hero-premium .hero-grid { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 60px; }
  .hero-panel-people { min-height: 600px; margin-top: 55px; }
  .founder-portrait { right: 55px; }
  .partner-portrait { right: 0; width: 160px; }
  .hero-quote { width: 70%; }
  .about .section-heading { position: static; }
  .history-band { background: var(--wine-dark); }
  .team-heading { grid-template-columns: 1fr; gap: 25px; }
  .team-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { background: #fff; }
  .practice-hero-premium .practice-hero-grid { grid-template-columns: 1fr; padding-bottom: 70px; }
  .practice-expert-card { display: block; max-width: 510px; margin: 10px auto 0; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); }
  .hero-premium .hero-grid { padding-top: 56px; }
  .hero-registry, .practice-registry { align-items: flex-start; flex-direction: column; gap: 7px; }
  .hero-registry span, .practice-registry span { padding: 7px 0 0; border-left: 0; border-top: 1px solid currentColor; }
  .hero-premium h1 { font-size: 43px; }
  .hero-premium h1 em { font-size: .72em; }
  .hero-assurances { flex-direction: column; }
  .hero-panel-people { min-height: 505px; margin-top: 40px; }
  .founder-portrait { inset: 0 20px 70px 0; }
  .founder-portrait figcaption { left: 22px; bottom: 22px; }
  .partner-portrait { top: 28px; width: 108px; }
  .partner-portrait > div { display: none; }
  .hero-quote { width: calc(100% - 20px); min-height: 95px; padding: 18px; grid-template-columns: 36px 1fr; }
  .hero-quote p { font-size: 14px; }
  .signature-grid p { padding-block: 21px; }
  .section { padding-block: 76px; }
  .team-photo-grid { grid-template-columns: 1fr; }
  .team-card-photo { min-height: 390px; grid-template-columns: 44% 56%; }
  .practice-hero-premium { min-height: auto; }
  .practice-hero-premium .practice-hero-grid { padding-top: 58px; }
  .practice-hero-premium h1 { font-size: 42px; }
  .practice-hero-actions { align-items: stretch; flex-direction: column; }
  .practice-hero-actions .button { width: 100%; }
  .practice-expert-card { margin-top: 15px; }
  .practice-trust { padding-inline: 6px; }
  .practice-trust span { padding-inline: 5px; font-size: 7px; }
}

/* 1.2.1 — autoridade no topo e equipe em lista institucional. */
.hero-authority-panel {
  align-self: center;
  min-height: 560px;
  padding: 52px 48px 44px;
  border: 1px solid rgba(96, 10, 0, .13);
  background: linear-gradient(155deg, #fff 0%, #f2e9e1 100%);
  box-shadow: var(--shadow-soft);
}
.authority-mark { display: grid; justify-items: center; text-align: center; }
.authority-frame {
  position: relative;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 10, 0, .24);
  transform: rotate(45deg);
  background: rgba(255, 255, 255, .65);
}
.authority-frame::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(182, 138, 96, .28);
}
.authority-frame img { width: 82px; transform: rotate(-45deg); }
.authority-mark p { margin: 44px 0 0; color: var(--wine-dark); font: 400 23px/1.35 var(--serif); }
.authority-mark p em { color: var(--wine); }
.authority-metrics { margin: 38px 0 0 !important; border-top: 1px solid var(--line); }
.hero-authority-panel .authority-metrics div {
  grid-template-columns: 74px 1fr;
  min-height: 64px;
  padding: 14px 0;
}
.authority-metrics dt { font-size: 25px !important; }
.authority-metrics dd { font-size: 9px !important; line-height: 1.45; }
.authority-note { margin-top: auto !important; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }

.practice-authority-card {
  align-self: center;
  padding: 45px 37px 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 30px 75px rgba(20, 0, 0, .22);
  backdrop-filter: blur(8px);
}
.practice-authority-mark { display: grid; justify-items: center; text-align: center; }
.practice-authority-mark img { width: 105px; filter: brightness(0) invert(1); }
.practice-authority-mark p { margin: 26px 0 30px; color: #fff; font: 400 25px/1.3 var(--serif); }
.practice-authority-mark em { color: #dfbbb4; }
.practice-authority-card .practice-trust { padding: 23px 0; border-block: 1px solid rgba(255,255,255,.18); }
.practice-authority-card .practice-trust span { border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.6); }
.practice-authority-card .practice-trust b { color: #fff; }
.practice-authority-note { margin: 24px 0 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.7; text-align: center; }

.team-premium .shell,
.practice-team-section .shell {
  display: grid;
  grid-template-columns: minmax(250px, .55fr) minmax(560px, 1.45fr);
  align-items: start;
  gap: clamp(55px, 8vw, 110px);
}
.team-premium .team-heading,
.practice-team-section .team-heading {
  position: sticky;
  top: 170px;
  display: block;
  margin: 0;
}
.team-premium .team-heading > p,
.practice-team-section .team-heading > p { margin-top: 25px; }
.team-photo-grid { grid-template-columns: 1fr; gap: 13px; width: 100%; }
.team-card-photo {
  min-height: 128px;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 23px;
  padding: 22px 28px;
  overflow: visible;
  border: 1px solid #dfd6cf;
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
}
.team-card-photo:hover {
  transform: translateX(5px);
  border-color: rgba(96,10,0,.34);
  box-shadow: 0 15px 35px rgba(63,34,29,.07);
}
.team-card-photo figure {
  width: 78px;
  height: 78px;
  margin: 0;
  padding: 3px;
  overflow: hidden;
  border: 1px solid #d9cdc5;
  border-radius: 50%;
  background: #f3eee9;
}
.team-card-photo figure img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(.76) contrast(1.02);
}
.team-card-photo:hover figure img { transform: none; filter: saturate(.88); }
.team-card-copy { min-width: 0; padding: 0; justify-content: center; }
.team-card-copy .team-role { margin: 0 0 6px; font-size: 8px; }
.team-card-copy h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.team-card-copy > p:last-of-type { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.profile-line { display: none; }

@media (max-width: 920px) {
  .hero-authority-panel { min-height: auto; margin-top: 48px; }
  .team-premium .shell,
  .practice-team-section .shell { grid-template-columns: 1fr; gap: 42px; }
  .team-premium .team-heading,
  .practice-team-section .team-heading { position: static; }
}

@media (max-width: 620px) {
  .hero-authority-panel { padding: 42px 27px 32px; }
  .authority-frame { width: 125px; height: 125px; }
  .authority-frame::before { width: 98px; height: 98px; }
  .authority-frame img { width: 68px; }
  .practice-authority-card { padding: 38px 22px 28px; }
  .team-card-photo { min-height: 112px; grid-template-columns: 64px 1fr; gap: 17px; padding: 18px 17px; border-radius: 13px; }
  .team-card-photo figure { width: 64px; height: 64px; }
  .team-card-copy h3 { font-size: 17px; }
  .team-card-copy > p:last-of-type { font-size: 10px; }
}
