/* Composição, dimensões e tipografia da base V2 recuperada, com ajustes aprovados até V6. */
:root {
  --paper: #F7F0E5;
  --text: #806348;
  --title: #3D2D23;
  --line: rgb(128 99 72 / 24%);
  --radius: 12px;
  font-family: 'Segoe UI', Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--title); outline-offset: 4px; }
button:disabled { cursor: default; }
p { line-height: 1.7; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--title); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 14px 18px; color: var(--paper); background: var(--title); }
.skip-link:focus { top: 12px; }
.shell { max-width: 1380px; margin: 0 auto; }
.site { container-type: inline-size; container-name: site; background: var(--paper); min-height: 100vh; }
.inner { width: min(calc(100% - 100px), 1130px); margin: 0 auto; }
.smallcap { font-size: 11px; font-weight: 770; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 30px; }
.brand { min-width: 174px; display: flex; align-items: center; gap: 10px; color: var(--title); }
.brand-mark { border: 1.5px solid var(--text); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-size: 14px; letter-spacing: -1px; color: var(--title); }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: .09em; }
.brand-line { display: block; color: var(--text); font-size: 9px; font-weight: 640; letter-spacing: .11em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); font-size: 12px; font-weight: 570; padding-block: 14px; }
.nav a:hover { color: var(--title); text-decoration: underline; text-underline-offset: 5px; }
.mobile-menu-button { display: none; border: 1px solid var(--line); color: var(--title); background: transparent; min-height: 44px; padding: 8px 12px; border-radius: 6px; }
.hero { position: relative; overflow: hidden; min-height: 500px; border-bottom: 1px solid var(--line); }
.hero-topography { position: absolute; right: -10%; top: 0; width: 70%; height: 100%; opacity: .15; pointer-events: none; color: var(--text); }
.hero-layout { position: relative; z-index: 1; min-height: 500px; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 86px; padding-block: 76px; }
.hero h1 { max-width: 690px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.11; letter-spacing: -.049em; margin: 18px 0 22px; font-weight: 715; }
.hero h1 em { font-style: normal; color: var(--title); }
.hero-lead { max-width: 540px; font-size: 15px; line-height: 1.72; margin-bottom: 19px; }
.hero-principle { font-size: 13px; font-weight: 550; padding-left: 12px; border-left: 2px solid var(--text); margin: 0 0 27px; max-width: 490px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--text); padding: 10px 1px; min-height: 44px; font-size: 12px; font-weight: 630; gap: 10px; color: var(--title); }
.btn:hover { border-color: var(--title); }
.arrow { font-size: 16px; }
.portrait-area { position: relative; justify-self: end; width: 100%; max-width: 285px; }
.portrait-card { border-radius: 150px 150px 5px 5px; min-height: 325px; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: var(--text); }
.portrait-card:before, .portrait-card:after { content: ''; border: 1px solid var(--line); position: absolute; border-radius: 50%; width: 350px; height: 350px; transform: translate(135px,110px); opacity: .48; }
.portrait-card:after { width: 440px; height: 440px; transform: translate(125px,120px); }
.portrait-card.has-photo::before, .portrait-card.has-photo::after { display: none; }
.portrait-card.has-photo { aspect-ratio: 285 / 325; min-height: 0; }
.portrait-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 44% center; }
.portrait-icon { width: 88px; height: 88px; border: 2px solid var(--line); border-radius: 50%; position: relative; transform: scale(.84); margin-bottom: 7px; }
.portrait-icon:before { content: ''; position: absolute; width: 27px; height: 27px; left: 28px; top: 16px; background: var(--line); border-radius: 50%; }
.portrait-icon:after { content: ''; position: absolute; width: 51px; height: 28px; left: 17px; bottom: 8px; background: var(--line); border-radius: 45px 45px 12px 12px; }
.portrait-card strong { font-size: 10px; letter-spacing: .13em; }
.portrait-card span { font-size: 11px; max-width: 180px; text-align: center; line-height: 1.6; margin-top: 7px; }
.section { padding: 78px 0; scroll-margin-top: 90px; }
.section-header { max-width: 800px; margin-bottom: 33px; }
.section-header h2 { font-size: clamp(29px,3.2vw,40px); letter-spacing: -.04em; line-height: 1.18; margin: 9px 0 0; font-weight: 670; }
.section-header p { font-size: 13px; max-width: 695px; line-height: 1.77; margin: 14px 0 0; }
.journey { border-block: 1px solid var(--line); }
.journey-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 37px; align-items: stretch; }
.map-panel { border: 1px solid var(--line); min-height: 408px; border-radius: var(--radius); position: relative; overflow: hidden; padding: 25px; }
.contours { position: absolute; inset: -25px; width: 120%; height: 110%; opacity: .16; pointer-events: none; color: var(--text); }
.map-badge { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .15em; font-weight: 750; }
.compass { width: 20px; height: 20px; border: 1px solid var(--text); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.route-line { position: absolute; z-index: 0; left: 53px; top: 92px; bottom: 48px; width: 1px; border-left: 2px dashed var(--line); }
.milestones { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; margin-top: 17px; }
.milestone { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; background: transparent; border: 0; padding: 5px 4px; border-radius: 10px; }
.milestone:hover, .milestone.active { background: rgb(128 99 72 / 6%); }
.pin { width: 48px; flex-shrink: 0; height: 48px; background: var(--paper); border: 1px solid var(--text); border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 780; color: var(--text); }
.milestone.active .pin { background: var(--title); color: var(--paper); border-color: var(--title); box-shadow: 0 0 0 5px rgb(128 99 72 / 8%); }
.pin-text strong { display: block; font-size: 14px; font-weight: 650; color: var(--title); }
.pin-text span { font-size: 10px; display: block; margin-top: 4px; color: var(--text); }
.detail-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-height: 408px; height: 100%; display: flex; flex-direction: column; }
.journey-panels { min-width: 0; }
.detail-kicker { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 24px; }
.mini-label { color: var(--text); letter-spacing: .15em; text-transform: uppercase; font-size: 10px; font-weight: 760; }
.period-tag { color: var(--text); border: 1px solid var(--line); font-size: 11px; padding: 7px 11px; border-radius: 16px; white-space: nowrap; }
.detail-panel h3 { font-size: 25px; font-weight: 680; letter-spacing: -.034em; line-height: 1.23; margin: 0 0 17px; }
.detail-panel p { font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
.detail-bottom { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.text-button { background: transparent; border: 0; color: var(--text); padding: 10px 0; min-height: 44px; font-size: 12px; font-weight: 780; display: flex; align-items: center; gap: 8px; }
.expanded { padding: 22px 0 0; border-top: 1px solid var(--line); margin-top: 19px; }
.expanded p { font-size: 12px; line-height: 1.68; margin: 0 0 12px; }
.expanded h4 { font-size: 13px; margin: 15px 0 7px; }
.carousel { position: relative; --visible-cards: 3; --card-gap: 17px; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 10px; margin: -64px 0 20px; }
.carousel-arrow { border: 1px solid var(--text); background: transparent; color: var(--title); width: 44px; height: 44px; border-radius: 50%; font-size: 22px; display: grid; place-items: center; }
.carousel-arrow:hover:not(:disabled) { background: rgb(128 99 72 / 8%); }
.carousel-arrow:disabled { border-color: var(--line); color: var(--text); }
.cases-grid { display: flex; gap: var(--card-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 11px; }
.cases-grid::-webkit-scrollbar { display: none; }
.case { flex: 0 0 calc((100% - (var(--visible-cards) - 1)*var(--card-gap))/var(--visible-cards)); min-width: 0; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; display: flex; flex-direction: column; min-height: 325px; }
.case-art { height: 100px; flex-shrink: 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.case-art svg { width: 56%; height: 75px; color: var(--text); }
.case-num { position: absolute; left: 22px; top: 15px; font-weight: 760; font-size: 10px; letter-spacing: .13em; }
.case-body { padding: 22px 23px; display: flex; flex-direction: column; flex: 1; }
.case-type { font-size: 10px; font-weight: 760; letter-spacing: .1em; }
.case h3 { font-size: 23px; letter-spacing: -.03em; margin: 10px 0; }
.case p { font-size: 13px; line-height: 1.6; margin-bottom: 21px; }
.case-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case-open { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; border-bottom: 1px solid var(--text); font-size: 11px; font-weight: 760; color: var(--text); padding: 3px 0; }
.case-open:hover { color: var(--title); border-color: var(--title); }
.value { border-block: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; column-gap: 45px; }
.value-item { border-top: 1px solid var(--line); padding: 22px 4px; min-height: 120px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.value-num { font-size: 12px; font-weight: 800; padding-top: 3px; }
.value-item h3 { font-size: 18px; margin: 0 0 8px; font-weight: 655; letter-spacing: -.02em; }
.value-item p { font-size: 13px; line-height: 1.58; margin: 0; }
.contact { padding: 70px 0 79px; }
.contact-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact h2 { font-size: 38px; line-height: 1.2; margin: 13px 0 12px; font-weight: 670; letter-spacing: -.04em; }
.contact p { font-size: 13px; margin: 0; }
.contact-details { display: flex; flex-direction: column; gap: 16px; padding-top: 7px; align-items: flex-start; min-width: 0; }
.contact .email-text { font-size: clamp(15px,2vw,21px); letter-spacing: -.01em; line-height: 1.35; display: block; overflow-wrap: anywhere; user-select: text; }
.linkedin-only { margin-top: 4px; color: var(--text); width: 44px; height: 44px; display: grid; place-items: center; }
.linkedin-only:hover { color: var(--title); }
.footer { border-top: 1px solid var(--line); padding: 23px 0; font-size: 11px; }
.footer-inner { display: flex; justify-content: flex-start; gap: 15px; align-items: center; }
.case-dialog { background: var(--paper); border: 1px solid var(--text); border-radius: 16px; max-width: min(720px,calc(100% - 32px)); width: 100%; max-height: calc(100dvh - 32px); padding: 0; color: var(--text); overflow-y: auto; overscroll-behavior: contain; }
.case-dialog::backdrop { background: rgb(61 45 35 / 70%); }
.dialog-head { padding: 29px 34px; display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 27px; margin: 8px 0 0; letter-spacing: -.02em; }
.dialog-close { border: 1px solid var(--text); background: transparent; border-radius: 6px; font-size: 24px; color: var(--title); width: 44px; height: 44px; flex-shrink: 0; }
.dialog-content { padding: 12px 34px 37px; }
.dialog-content h3, .case-page .dialog-content h2 { font-size: 11px; color: var(--title); margin: 21px 0 6px; letter-spacing: .1em; text-transform: uppercase; }
.dialog-content p { font-size: 14px; margin: 0 0 12px; line-height: 1.62; }
.dialog-note { border-left: 3px solid var(--text); margin-top: 25px !important; padding: 15px; font-size: 12px !important; line-height: 1.7; }
.workflow { margin: 16px 0; padding-left: 23px; }
.workflow li { padding: 8px 10px; font-size: 14px; }
.workflow p { margin: 0; }
.human-approval { border: 1px solid var(--text); border-radius: 6px; margin-block: 10px; }
.human-approval strong { display: block; color: var(--title); font-size: 12px; margin-bottom: 5px; }
.case-page { padding-block: 72px 90px; max-width: 800px; min-height: calc(100vh - 140px); }
.case-page h1 { font-size: clamp(32px,5vw,48px); margin: 20px 0 12px; letter-spacing: -.04em; }
.case-subtitle { font-size: 18px; }
.case-page .dialog-content { padding: 16px 0 0; }
@container site (max-width: 880px) {
  .inner { width: min(calc(100% - 52px),780px); }
  .nav { gap: 13px; }
  .nav a { font-size: 11px; }
  .hero-layout { gap: 35px; grid-template-columns: 1.2fr .8fr; }
  .hero h1 { font-size: clamp(34px,4.5vw,46px); }
  .portrait-card { min-height: 285px; }
  .journey-grid { gap: 17px; }
  .map-panel, .detail-panel { min-height: 410px; }
  .detail-panel { padding: 25px; }
  .carousel { --visible-cards: 2; }
  .case-body { padding: 20px; }
  .contact-inner { gap: 25px; }
}
@container site (max-width: 680px) {
  .inner { width: calc(100% - 38px); }
  .header-inner { height: 67px; gap: 12px; }
  .brand-name { font-size: 13px; }
  .brand-line { font-size: 8px; }
  .mobile-menu-button { display: block; }
  .nav { display: none; position: absolute; top: 67px; left: 0; right: 0; background: var(--paper); padding: 18px 21px 23px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.show { display: flex; }
  .nav a { font-size: 13px; }
  .hero, .hero-layout { min-height: 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 55px 53px; }
  .hero h1 { font-size: 40px; line-height: 1.13; }
  .hero-lead { font-size: 14px; }
  .portrait-area { max-width: 218px; justify-self: start; margin-left: 14px; }
  .portrait-card { min-height: 230px; }
  .portrait-card.has-photo { aspect-ratio: 218 / 230; min-height: 0; }
  .hero-topography { right: -30%; width: 120%; height: 60%; }
  .section { padding: 62px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 31px; }
  .journey-grid { grid-template-columns: 1fr; gap: 16px; }
  .map-panel { min-height: 0; padding: 22px; }
  .route-line { left: 49px; top: 85px; bottom: 41px; }
  .milestones { gap: 0; }
  .pin { width: 43px; height: 43px; }
  .detail-panel { min-height: 255px; padding: 24px; }
  .carousel { --visible-cards: 1; }
  .carousel-controls { margin-top: -62px; margin-bottom: 18px; }
  .case { min-height: 325px; }
  .case-art { height: 93px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item { min-height: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 27px; }
  .contact { padding: 60px 0; }
  .contact h2 { font-size: 34px; }
  .contact .email-text { font-size: 17px; }
  .footer-inner { flex-direction: column; align-items: start; }
  .dialog-head { padding: 24px 20px; }
  .dialog-head h2 { font-size: 22px; }
  .dialog-content { padding: 10px 20px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .portrait-area, .carousel-controls, .text-button, .case-open { display: none; }
  .section, .contact { padding-block: 24px; }
  .case { flex: 1; break-inside: avoid; }
  .cases-grid { display: grid; grid-template-columns: repeat(2,1fr); overflow: visible; }
}
