/* Layout: full-bleed sections whose background shifts between the brand green (#455356) and off-white as you scroll; 12-column grid, oversized serif type, one color family only. */

/* Fontes da marca (manual do escritório): Amiri e Montserrat, SIL OFL */
@font-face {
  font-family: "Amiri";
  src: url("fonts/amiri-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Amiri";
  src: url("fonts/amiri-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat.woff2") format("woff2-variations"), url("fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --green: #455356;
  --night: #455356;
  --night-2: #364245;
  --olive: #3d4a4d;
  --deep: #263133;
  --cream: #f5f0eb;
  --cream-2: #ebe5de;
  --ink: #233033;
  --beige: #a59071; --beige-l: #d3c4ac;
  --serif: "Amiri", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --gap: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --cookie-h: 0px;
  --edge: max(var(--gutter), calc((100vw - var(--sbw, 0px) - 1440px) / 2 + var(--gutter)));
  --bg: var(--night); --fg: var(--cream); --mute: rgba(245, 240, 235, .76);
  --accent: var(--beige-l); --btn-bg: var(--cream); --btn-fg: var(--green);
}
.t-dark, .hero-in, .no-js [data-theme="dark"] { --bg: var(--night); --fg: var(--cream); --mute: rgba(245, 240, 235, .76); --accent: var(--beige-l); --btn-bg: var(--cream); --btn-fg: var(--green); }
.t-light, .no-js [data-theme="light"] { --bg: var(--cream); --fg: var(--ink); --mute: #56625f; --accent: var(--green); --btn-bg: var(--green); --btn-fg: var(--cream); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.anim) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 120; padding: 12px 18px; background: var(--cream); color: var(--green); text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* Fundos por seção: com JS a cor vem do body e muda com a rolagem */
.js main { position: relative; z-index: 1; background: var(--bg); color: var(--fg); transition: background-color .9s var(--ease), color .9s var(--ease); }
.js body { transition: background-color .9s var(--ease), color .9s var(--ease); }
.no-js [data-theme] { background: var(--bg); color: var(--fg); }

/* Tipografia */
.label { display: flex; align-items: center; gap: 14px; font: 500 .875rem/1.3 var(--sans); letter-spacing: .01em; color: var(--accent); }
.label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.h-xl { font: 400 clamp(2.5rem, 1rem + 5vw, 6rem)/.98 var(--serif); letter-spacing: -.032em; text-wrap: balance; }
.h-l { font: 400 clamp(2.2rem, 1rem + 3.3vw, 4.4rem)/1 var(--serif); letter-spacing: -.028em; text-wrap: balance; }

/* Texto dividido em palavras para a revelação */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .14em; margin: -.16em 0 -.14em; }
.swi { display: inline-block; }

/* Botões e links */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 14px 26px 14px 30px;
  border: 0; border-radius: 2px; background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  font: 600 .9375rem/1.3 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: left;
  transition: color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--deep); transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 46px; padding: 10px 24px; }
.ar { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.btn:hover .ar { transform: translateX(5px); }
.tlink {
  display: inline-block; padding: 0 0 5px; border: 0; background: none; color: inherit; cursor: pointer;
  font: 500 .9375rem/1.3 var(--sans); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-size: 100% 1px; background-position: 100% 100%;
  transition: background-size .6s var(--ease), color .3s;
}
.tlink:hover { background-size: 0 1px; color: var(--accent); }

/* Abertura */
.loader { display: none; }
.intro .loader {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: var(--night); color: var(--cream);
  animation: loader-safe .5s 5s forwards;
}
@keyframes loader-safe { to { opacity: 0; visibility: hidden; } }
.loader-mark { width: clamp(92px, 12vw, 132px); height: auto; overflow: visible; }
.loader-mark use { fill: var(--beige); fill-opacity: 0; stroke: var(--beige); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader-word { display: flex; gap: .32em; font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--serif); letter-spacing: .02em; }
.loader-word span { display: inline-block; }
.loader-line { width: 120px; height: 1px; background: var(--beige); transform: scaleX(0); }

/* Barra de progresso */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Cabeçalho */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px);
  padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--edge) 20px;
  color: var(--fg);
  transition: transform .7s var(--ease), background-color .5s, padding .5s var(--ease), color .9s var(--ease);
}
.top.scrolled { padding-block: calc(env(safe-area-inset-top, 0px) + 12px) 12px; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top.hide { transform: translateY(-110%); }
.brand { display: block; flex-shrink: 0; margin-right: auto; text-decoration: none; }
.brand img { height: 50px; width: auto; transition: height .5s var(--ease); }
.top.scrolled .brand img { height: 42px; }
.t-dark .logo-dark, .t-light .logo-light { display: none; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.nav a, .top-cta { display: inline-block; height: 1.3em; overflow: hidden; line-height: 1.3; text-decoration: none; font: 500 .9375rem/1.3 var(--sans); }
.roll { display: block; text-shadow: 0 1.3em currentColor; transition: transform .55s var(--ease); }
.nav a:hover .roll, .top-cta:hover .roll { transform: translateY(-1.3em); }
.nav a.is-active { color: var(--accent); }
.nav-wa { display: none !important; }
.top-status { display: flex; align-items: center; gap: 10px; padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid color-mix(in srgb, currentColor 20%, transparent); font: 500 .8125rem/1 var(--sans); color: var(--mute); white-space: nowrap; }
.top-status:empty { display: none; }
.top-cta { color: var(--accent); white-space: nowrap; }
.status-dot, .top-status::before, .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; flex: none; }
.top-status.open::before, .status.open::before { background: #6fae7c; opacity: 1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 174, 124, .55); } 100% { box-shadow: 0 0 0 10px rgba(111, 174, 124, 0); } }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-lines, .menu-lines::before { display: block; width: 28px; height: 1px; margin: 0 auto; background: currentColor; transition: transform .5s var(--ease); }
.menu-lines { transform: translateY(-4px); }
.menu-lines::before { content: ""; transform: translateY(8px); }
.menu-btn[aria-expanded="true"] .menu-lines { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: rotate(-90deg); }

/* Hero: foto real da fachada ocupando a tela, texto embaixo à esquerda */
.hero { position: relative; background: #364245; min-height: max(640px, min(100svh, calc(100vw * 633 / 1050))); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: calc(env(safe-area-inset-top, 0px) + 140px) 0 calc(clamp(56px, 9vh, 104px) + var(--cookie-h)); transition: padding-bottom .8s var(--ease); }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* Foto inteira, sem corte: a sobra de espaço fica no verde, do lado do texto */
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 100% 50%; background: #364245; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #364245 0%, rgba(54, 66, 69, 0) 12%), linear-gradient(180deg, rgba(54, 66, 69, .6) 0%, rgba(54, 66, 69, 0) 22%), linear-gradient(0deg, rgba(54, 66, 69, .4) 0%, rgba(54, 66, 69, 0) 24%); }
.hero-sheen { position: absolute; top: 0; bottom: 0; left: 0; width: 34%; background: linear-gradient(100deg, rgba(255, 236, 205, 0) 0%, rgba(255, 236, 205, .22) 50%, rgba(255, 236, 205, 0) 100%); mix-blend-mode: soft-light; transform: translateX(-110%); pointer-events: none; }
/* O hero é sempre escuro, mesmo quando a seção seguinte já trocou o tema da página */
.hero-in { position: relative; z-index: 2; color: var(--fg); }
/* Retrato: a foto aparece inteira em cima e o texto vem logo abaixo */
@media (max-aspect-ratio: 1/1) {
  .hero { --hm: min(calc(100vw * 1227 / 1002), 70vh); --hm: min(calc(100vw * 1227 / 1002), 70svh); min-height: 0; justify-content: flex-start; padding-top: calc(var(--hm) + 28px); }
  .hero-media { bottom: auto; height: var(--hm); }
  .hero-media img { object-position: 50% 100%; }
  .hero-media::after { background: linear-gradient(0deg, #364245 0%, rgba(54, 66, 69, 0) 34%), linear-gradient(180deg, rgba(54, 66, 69, .55) 0%, rgba(54, 66, 69, 0) 30%); }
}
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: clamp(20px, 3vh, 36px); font: 500 .875rem/1.3 var(--sans); color: var(--mute); }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.hero-title { font: 400 clamp(2.7rem, min(6vw, 10.5vh), 7.4rem)/.92 var(--serif); letter-spacing: -.038em; text-wrap: balance; max-width: 7.4em; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; margin-top: clamp(22px, 3.4vh, 40px); }
.hero-lead { flex: 0 1 34em; color: var(--mute); font-size: clamp(1rem, .9rem + .3vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* Ilustrações em traço (hero e áreas) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ln { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fl, .hv-body > .ln:first-child { fill: var(--ill-bg, var(--bg)); }
.fa { fill: color-mix(in srgb, var(--accent) 9%, transparent); }
.gl { fill: color-mix(in srgb, var(--accent) 18%, transparent); }
.crop-st { fill: none; stroke: #f5f0eb; stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
.crop-hd { fill: #f5f0eb; opacity: .5; }
.pat-s .crop-st { stroke: #455356; stroke-width: 1; opacity: .7; }
.pat-s .crop-hd { fill: #455356; opacity: .55; }
.ill { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 0 6px -4px; overflow: visible; color: var(--fg); }
.ill .bar { fill: color-mix(in srgb, var(--accent) 12%, transparent); }
.ill-level { stroke-dasharray: 4 4; }
.ill-credito { overflow: hidden; }
.ill-dot { fill: var(--accent); }

/* O espaço: fotos de dentro do escritório */

/* Escritório */
.office { padding: clamp(100px, 12vw, 170px) 0 clamp(64px, 7vw, 110px); }
.office-head { display: grid; gap: 28px; }
.office-head .h-xl { max-width: 12.5em; }
.office-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(48px, 6vw, 90px); align-items: center; }
.office-side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 4vw, 64px) clamp(48px, 8vw, 140px); align-items: start; }
.office-copy { display: grid; gap: 22px; max-width: 34em; font-size: 1.125rem; }
.office-copy p + p { color: var(--mute); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div + div { margin-top: 22px; }
.facts div { padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.facts dt { font: 500 .8125rem/1.3 var(--sans); color: var(--mute); }
.facts dd { margin: 8px 0 0; font: 400 clamp(1.3rem, 1rem + .8vw, 1.7rem)/1.2 var(--serif); letter-spacing: -.01em; }

/* Áreas de atuação: trilho horizontal (nativo) que vira rolagem fixada no desktop */
.areas { position: relative; padding: clamp(96px, 11vw, 150px) 0 clamp(80px, 9vw, 130px); overflow: hidden; }
.areas-intro { padding-inline: var(--edge); max-width: 820px; display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.areas-hint { color: var(--mute); max-width: 30em; }
.areas-ctrl { display: flex; gap: 10px; }
.areas-index { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--edge) 4px; margin-bottom: 28px; }
.areas-index::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 11px 16px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; background: transparent; color: inherit; font: 500 .875rem/1 var(--sans); cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.chip:hover { border-color: currentColor; }
.chip[aria-current="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.areas-foot { display: flex; align-items: center; gap: 20px; margin: clamp(36px, 4vw, 56px) var(--edge) 0; }
.ctrl { width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); border-radius: 50%; background: none; color: inherit; cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s; }
.ctrl:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.areas-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain; }
.areas-list::-webkit-scrollbar { display: none; }
.area {
  flex: 0 0 min(82vw, 400px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  padding: 6px clamp(24px, 2.6vw, 40px); border-left: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.area h3 { min-height: 3.12em; font: 400 clamp(1.75rem, 1.1rem + 1.4vw, 2.45rem)/1.04 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.area-brief { font-weight: 600; font-size: .9375rem; }
.area-desc { color: var(--mute); font-size: .9688rem; line-height: 1.6; }
.area-label { margin-top: 4px; font: 500 .8125rem/1.3 var(--sans); color: var(--accent); }
.area-cases { list-style: none; margin: -4px 0 6px; padding: 0; display: grid; gap: 10px; font-size: .9375rem; line-height: 1.5; }
.area-cases li { position: relative; padding-left: 20px; }
.area-cases li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--accent); }
.area .tlink { margin-top: auto; align-self: flex-start; }
.area-cta { justify-content: center; gap: 22px; }
.area-cta-text { font: 400 clamp(1.9rem, 1.2rem + 1.6vw, 2.8rem)/1.06 var(--serif); letter-spacing: -.024em; text-wrap: balance; }
.area-cta .btn { align-self: flex-start; margin-top: 8px; }
.areas-bar { position: relative; flex: 1; height: 1px; background: color-mix(in srgb, currentColor 16%, transparent); }
.areas-bar span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(.15); transform-origin: left; }
.feed-bar { margin: clamp(36px, 4vw, 56px) var(--edge) 0; }

.areas.is-pinned { height: 100vh; padding: 88px 0 48px; display: flex; flex-direction: column; justify-content: center; }
.areas.is-pinned .areas-move { display: flex; width: max-content; padding-left: var(--edge); will-change: transform; }
.areas.is-pinned .areas-intro { flex: 0 0 min(38vw, 580px); align-content: center; margin: 0; padding: 0 clamp(40px, 5vw, 88px) 0 0; }
.areas.is-pinned .areas-ctrl, .areas.is-pinned .areas-index { display: none; }
.areas.is-pinned .areas-list { overflow: visible; padding: 0 var(--edge) 0 0; scroll-snap-type: none; }
.areas.is-pinned .area { flex: 0 0 clamp(320px, 25vw, 390px); }
.areas.is-pinned .area { gap: clamp(8px, 1.5vh, 16px); }
.areas.is-pinned .ill { max-width: clamp(150px, 22vh, 300px); margin-bottom: 0; }
.areas.is-pinned .area-cases { gap: clamp(6px, 1vh, 10px); }
/* Versão estática: todas as áreas paradas, em grade */
.areas.is-static .areas-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: clamp(48px, 5vw, 72px); overflow: visible; scroll-snap-type: none; }
.areas.is-static .area { padding-inline: clamp(20px, 2vw, 32px); }
/* Quatro colunas: títulos de até quatro linhas, para os textos começarem na mesma altura */
@media (min-width: 1200px) { .areas.is-static .area h3 { min-height: 4.16em; } }
.areas.is-static .areas-index, .areas.is-static .areas-foot { display: none; }
@media (max-width: 1199px) { .areas.is-static .areas-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .areas.is-static .areas-list { grid-template-columns: minmax(0, 1fr); } }

/* Sócias */
.partners-head { display: grid; gap: 28px; padding-top: clamp(110px, 13vw, 180px); padding-bottom: clamp(56px, 7vw, 96px); }
.partner { position: relative; background: var(--night); color: var(--cream); --mute: rgba(245, 240, 235, .76); --accent: var(--beige-l); }
.partner:nth-child(2) { background: var(--olive); }
.partner:nth-child(3) { background: var(--night-2); }
.partner-in { position: relative; overflow: hidden; min-height: 86svh; display: flex; align-items: flex-end; border-top: 1px solid rgba(245, 240, 235, .12); transform-origin: 50% 0; }
.partner-pic { position: absolute; top: 0; right: 0; bottom: 0; width: min(50%, 66.6667vh); overflow: hidden; background: #d9d3d0; }
.partner-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.partner-top { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(96px, 13vh, 140px); }
.partner-body { position: relative; z-index: 2; display: grid; row-gap: 28px; align-items: end; padding-top: calc(clamp(96px, 13vh, 140px) + 64px); padding-bottom: clamp(48px, 7vw, 104px); padding-right: calc(min(50vw, 66.6667vh) + var(--gutter)); }
.partner-name { max-width: 8.4em; font: 400 clamp(2.8rem, 1rem + 4.4vw, 6.4rem)/.92 var(--serif); letter-spacing: -.038em; }
.partner-meta { max-width: 30em; display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(245, 240, 235, .16); }
.oab { font-size: .875rem; color: var(--mute); }
.bio { color: rgba(245, 240, 235, .82); }

/* Novas publicações do Instagram: trilho com rolagem nativa, avanço automático e setas */
.feed { padding: clamp(100px, 12vw, 170px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.feed-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.feed-copy { grid-column: 1 / 7; display: grid; gap: 24px; }
.feed-side { grid-column: 8 / 13; display: grid; gap: 24px; }
.feed-text { color: var(--mute); max-width: 30em; }
.feed-ctrl { display: flex; align-items: center; gap: 10px; }
.feed-ctrl .tlink { margin-left: 18px; }
.feed-track {
  list-style: none; margin: 0; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--edge); scroll-padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain;
}
.feed-track::-webkit-scrollbar { display: none; }
.js .feed:not(.is-empty) .feed-track { min-height: calc(clamp(250px, 24vw, 340px) * 1.34 + 120px); }
.post { flex: 0 0 clamp(250px, 24vw, 340px); scroll-snap-align: start; }
.post a { display: grid; gap: 14px; text-decoration: none; }
.post-media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--cream-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-media::after { content: ""; position: absolute; inset: 0; background: var(--green); opacity: 0; transition: opacity .6s var(--ease); }
.post-open { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: flex; align-items: center; gap: 10px; color: var(--cream); font: 500 .875rem/1 var(--sans); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.post-play { position: absolute; z-index: 1; top: 16px; right: 16px; width: 48px; height: 48px; padding: 14px 13px 14px 15px; border-radius: 50%; fill: var(--cream); background: rgba(46, 56, 58, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .6s var(--ease), background-color .4s; }
.post a:hover .post-play, .post a:focus-visible .post-play { transform: scale(1.12); background: var(--green); }
.post-open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.post a:hover .post-media img, .post a:focus-visible .post-media img { transform: scale(1.06); }
.post a:hover .post-media::after, .post a:focus-visible .post-media::after { opacity: .42; }
.post a:hover .post-open, .post a:focus-visible .post-open { opacity: 1; transform: none; }
.post-info { display: flex; gap: 14px; font: 500 .8125rem/1.3 var(--sans); color: var(--mute); }
.post-info span { color: var(--accent); }
.post-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: .9375rem; line-height: 1.55; }
.feed.is-empty .feed-track, .feed.is-empty .feed-bar, .feed.is-empty .ctrl, .no-js .feed-track, .no-js .feed-bar, .no-js .feed .ctrl { display: none; }
.feed.is-empty .feed-ctrl .tlink, .no-js .feed-ctrl .tlink { margin-left: 0; }
.feed-empty { display: none; }
.feed.is-empty .feed-empty, .no-js .feed-empty { display: block; }
.feed.is-empty .feed-ctrl, .no-js .feed-ctrl { display: none; }
.big-link { display: flex; align-items: center; color: inherit; text-decoration: none; gap: clamp(16px, 2.4vw, 36px); padding: clamp(26px, 3.6vw, 48px) 0; border-block: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.big-link img, .big-ic { flex: none; width: clamp(56px, 6.4vw, 104px); height: auto; border-radius: 50%; transition: transform .8s var(--ease); }
.big-link-txt { display: grid; gap: 6px; min-width: 0; }
.big-link-k { font: 500 .875rem/1.3 var(--sans); color: var(--mute); }
.big-link-v { font: 400 clamp(1.6rem, .6rem + 5.4vw, 6.6rem)/1 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; transition: transform .7s var(--ease); }
.big-ic { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); }
.big-link .big-ic svg { width: 46%; margin: 0; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.big-link > svg { flex: none; width: clamp(26px, 3vw, 48px); height: auto; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease); }
.big-link:hover img, .big-link:focus-visible img, .big-link:hover .big-ic, .big-link:focus-visible .big-ic { transform: rotate(-12deg) scale(1.05); }
.big-link:hover .big-link-v, .big-link:focus-visible .big-link-v { transform: translateX(10px); }
.big-link:hover > svg, .big-link:focus-visible > svg { transform: translate(4px, -4px); }

/* Atendimento */
.contact-visit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: stretch; margin-top: clamp(90px, 10vw, 150px); }
.visit-copy { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 26px; }
.hours { width: 100%; max-width: 460px; border-collapse: collapse; }
.hours th, .hours td { padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); text-align: left; vertical-align: top; font-weight: 400; }
.hours th { padding-right: 20px; color: var(--mute); }
.hours td { font-variant-numeric: tabular-nums; }
.status { display: flex; align-items: center; gap: 10px; font: 500 .9375rem/1.3 var(--sans); }
.status:empty { display: none; }
.visit-note { color: var(--mute); max-width: 30em; }
.map { grid-column: 7 / 13; position: relative; min-height: clamp(380px, 40vw, 560px); overflow: hidden; background: var(--night-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.04); }
.map-gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 28px; text-align: center; color: var(--mute); }
.map-gate img { width: 64px; opacity: .5; }
.map-gate p { max-width: 24em; font-size: .9375rem; }

/* Avaliações */
.reviews { padding: clamp(70px, 8vw, 110px) 0 clamp(110px, 12vw, 170px); }
.reviews-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: end; }
.reviews-copy { grid-column: 1 / 7; display: grid; gap: 26px; }
.reviews-text { grid-column: 8 / 13; align-self: end; color: var(--mute); max-width: 32em; }
.reviews-link { margin-top: clamp(40px, 5vw, 64px); }

/* Contato */
.contact { position: relative; overflow: hidden; padding: clamp(110px, 12vw, 180px) 0 clamp(90px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 64px; align-items: end; }
.contact-copy { grid-column: 1 / 7; display: grid; gap: 28px; justify-items: start; }
.contact-title { max-width: 7.6em; font: 400 clamp(3rem, 1rem + 5.6vw, 7.6rem)/.9 var(--serif); letter-spacing: -.04em; }
.contact-text { max-width: 31em; color: var(--mute); font-size: 1.0625rem; }
.contact-actions { margin-top: 6px; }
.wa-ic { flex: none; width: 20px; height: 20px; }
.contact-rows { grid-column: 8 / 13; list-style: none; margin: 0; padding: 0; }
.contact-rows li:last-child a { border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.contact-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 20px; padding: clamp(20px, 2.2vw, 28px) 0; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); text-decoration: none; }
.c-k { grid-column: 1 / -1; font: 500 .8125rem/1.3 var(--sans); color: var(--mute); }
.c-v { font: 400 clamp(1.4rem, 1rem + 1.2vw, 2.2rem)/1.15 var(--serif); letter-spacing: -.02em; overflow-wrap: anywhere; transition: color .4s, transform .6s var(--ease); }
.contact-rows svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease), color .4s; }
.contact-rows a:hover .c-v { color: var(--accent); transform: translateX(12px); }
.contact-rows a:hover svg { color: var(--accent); transform: rotate(45deg); }

/* Rodapé (revelado por baixo do conteúdo no desktop) */
.foot { position: relative; background: var(--night-2); color: rgba(245, 240, 235, .74); padding: clamp(64px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding-bottom: 48px; }
.foot-id { grid-column: 1 / 6; display: grid; gap: 22px; align-content: start; font-size: .875rem; line-height: 1.7; }
.foot-logo { height: 66px; width: auto; }
.foot-oab { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--beige) 45%, transparent); font-size: .8125rem; color: rgba(245, 240, 235, .62); }
.foot-oab p { margin: 0; }
.foot-k { color: var(--beige-l); font-weight: 500; }
.foot-name { display: block; font: 400 clamp(1.25rem, 1.6vw, 1.5rem)/1.25 var(--serif); color: var(--cream); }
.foot-nav { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: .9375rem; }
.foot-nav a, .link-btn { text-decoration: none; transition: color .3s; }
.foot-nav a:hover, .link-btn:hover { color: var(--beige-l); }
.foot-grid > nav.foot-nav { grid-column: 7 / 10; }
.foot-grid > div.foot-nav { grid-column: 10 / 13; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.foot-ethics { grid-column: 1 / 8; font-size: .8125rem; line-height: 1.7; color: rgba(245, 240, 235, .55); }
.credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(245, 240, 235, .12); font-size: .8125rem; color: rgba(245, 240, 235, .55); }
.credit a { color: rgba(245, 240, 235, .85); text-decoration: none; border-bottom: 1px solid rgba(245, 240, 235, .25); transition: color .3s; }
.credit a:hover { color: var(--beige-l); }
@media (min-width: 900px) and (min-height: 700px) {
  .js main { box-shadow: 0 40px 80px rgba(30, 40, 42, .45); }
  .js .foot { position: sticky; bottom: 0; z-index: 0; }
}

/* WhatsApp */
.wa-float {
  position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(var(--cookie-h) + 16px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deep); color: var(--cream); box-shadow: 0 12px 30px rgba(30, 40, 42, .35), inset 0 0 0 1px rgba(245, 240, 235, .16);
  transition: transform .5s var(--ease), opacity .5s, bottom .5s var(--ease);
}
.js .wa-float:not(.show) { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Cookies */
.cookie { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; background: var(--cream); color: var(--ink); border-top: 1px solid var(--ink); padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); animation: cookie-in .8s var(--ease); --fg: var(--ink); --bg: var(--cream); --accent: var(--green); --btn-bg: var(--green); --btn-fg: var(--cream); }
@keyframes cookie-in { from { transform: translateY(100%); } }
.cookie-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; }
.cookie p { max-width: 58em; font-size: .9375rem; color: #3e4a4c; }
.cookie strong { font-weight: 600; color: var(--ink); }
.cookie-actions { display: flex; align-items: center; gap: 24px; flex: none; }

/* Estados iniciais das animações (só com JS ativo; failsafe se o script não rodar) */
.anim [data-reveal], .anim [data-intro] { opacity: 0; }
.anim [data-split] { visibility: hidden; }
.anim:not(.go) [data-reveal], .anim:not(.go) [data-intro], .anim:not(.go) [data-split] { animation: failsafe .01s 4s forwards; }
@keyframes failsafe { to { opacity: 1; visibility: visible; } }

/* Página de privacidade */
.legal { padding: calc(env(safe-area-inset-top, 0px) + 150px) 0 120px; }
.legal .wrap { max-width: 860px; }
.legal h1 { margin: 22px 0 12px; font: 400 clamp(2.6rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.03em; }
.legal h2 { margin: 52px 0 12px; font: 400 1.8rem/1.15 var(--serif); letter-spacing: -.015em; }
.legal p { margin-top: 12px; color: var(--mute); }
.legal .updated { font-size: .875rem; }
.legal-top { gap: 24px; }

/* Responsivo */
@media (max-width: 1320px) {
  .top-status { display: none; }
}
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 110px var(--gutter) 48px; background: var(--night); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { height: 1.25em; font: 400 clamp(2.4rem, 8vw, 3.4rem)/1.25 var(--serif); letter-spacing: -.02em; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s; }
  .nav .roll { text-shadow: 0 1.25em currentColor; }
  .nav a:hover .roll { transform: translateY(-1.25em); }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(2) { transition-delay: .05s; }
  .nav.open a:nth-child(3) { transition-delay: .1s; }
  .nav.open a:nth-child(4) { transition-delay: .15s; }
  .nav.open a:nth-child(5) { transition-delay: .2s; }
  .nav.open a:nth-child(6) { transition-delay: .25s; }
  .nav.open a:nth-child(7) { transition-delay: .3s; }
  .nav a.nav-wa { display: inline-block !important; height: auto; margin-top: 28px; font: 500 1rem/1.3 var(--sans); color: var(--beige-l); }
  .menu-open .top { color: var(--cream); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .logo-dark { display: none; }
  .menu-open .logo-light { display: block; }
}
@media (max-width: 1024px) {
  .office-side { grid-template-columns: minmax(0, 1fr); }
  .visit-copy { grid-column: 1 / -1; }
  .map { grid-column: 1 / -1; margin-top: 56px; }
  .reviews-copy, .reviews-text { grid-column: 1 / -1; }
  .contact-copy, .contact-rows { grid-column: 1 / -1; }
  .feed-copy, .feed-side { grid-column: 1 / -1; }
  .foot-id { grid-column: 1 / -1; }
  .foot-grid > nav.foot-nav { grid-column: 1 / 7; }
  .foot-grid > div.foot-nav { grid-column: 7 / 13; }
  .foot-ethics { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .top-cta { display: none; }
  .brand img { height: 42px; }
  .top.scrolled .brand img { height: 36px; }
  .hero-foot { gap: 26px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero { padding-bottom: calc(40px + var(--cookie-h)); }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts div { padding: 16px 0; }
  .partner-in { min-height: 0; }
  .partner-pic { aspect-ratio: 4 / 5; }
  .area h3 { min-height: 0; }
  .post { flex-basis: 78vw; }
  .js .feed:not(.is-empty) .feed-track { min-height: calc(78vw * 1.34 + 120px); }
  .foot-grid > nav.foot-nav, .foot-grid > div.foot-nav { grid-column: 1 / -1; }
  .credit { flex-direction: column; padding-bottom: 76px; }
  .cookie-in { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 720px), (max-aspect-ratio: 1/1) {
  .partner-in { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .partner-pic { position: relative; inset: auto; width: 100%; }
  .partner-top { position: static; padding-top: 36px; }
  .partner-body { padding-top: 20px; padding-right: var(--gutter); padding-bottom: 56px; }
}
@media (min-width: 721px) and (max-aspect-ratio: 1/1) {
  .partner-pic { flex: 1 1 auto; min-height: 42vh; }
}
@media (max-width: 1023px) {
  .hero-title { font-size: clamp(2.6rem, 7.4vw, 4.6rem); }
}
@media (min-width: 768px) and (min-height: 640px) {
  .js .stack .partner { position: sticky; top: 0; }
  .stack .partner-in { min-height: 100vh; }
}

/* Paisagem: o título nunca passa por cima do letreiro da fachada */
@media (min-aspect-ratio: 1/1) {
  .hero-title { font-size: clamp(2.4rem, min(6vw, 10.5vh, calc((44vw - max(var(--gutter), 50vw - 720px + var(--gutter))) / 6.5)), 7.4rem); }
  /* A foto fica só na metade direita, sem passar por baixo do texto */
  .hero-media { left: 46%; }
  .hero-title, .hero-lead, .hero-foot { max-width: calc(44vw - max(var(--gutter), 50vw - 720px + var(--gutter))); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 36px !important; }
