/* ==========================================================
   Coelho & Silva Advocacia Criminal — Veio de Cobre · Editorial Grotesk
   Mobile-first · breakpoints 480 / 768 / 1024 / 1280
   ========================================================== */

:root {
  /* cores */
  --grafite: #1C1C1C;
  --osso: #EEEBE6;
  --marmore: #9A9C9E;
  --nogueira: #4A2A1A;
  --cobre: #A45A30;
  --cobre-claro: #D68A5C;
  --grafite-2: #242424;
  --linha-escura: #3A3A3A;
  --texto-2: #3D3D3D;
  --texto-3: #6B6D6F;
  --osso-2: #DCCFC4;

  /* fontes */
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* espaçamentos */
  --pad-x: 20px;
  --sec-y: 72px;
  --gap: 24px;
  --max: 1440px;
  --nav-h: 88px;
  --nav-h-s: 64px;

  /* easings */
  --ease-nav: cubic-bezier(.2,.7,.2,1);
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-clip: cubic-bezier(.77,0,.18,1);
  --ease-line: cubic-bezier(.65,0,.35,1);
  --ease-card: cubic-bezier(.2,.8,.2,1);

  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.03'/></svg>");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h-s); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--f-body);
  color: var(--grafite);
  background: var(--osso) var(--noise);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--cobre); text-decoration: none; transition: color .25s; }
a:hover { color: var(--grafite); }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--cobre); color: var(--osso); }
:focus-visible { outline: 2px solid var(--cobre); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; }
.muted { color: var(--texto-3); }
.accent { color: var(--cobre); }
.label-copper { font: 500 12px var(--f-mono); letter-spacing: .12em; color: var(--cobre); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--grafite); color: var(--osso); padding: 10px 14px; }
.skip:focus { top: 12px; }

.h-display {
  font: 800 clamp(40px, 11vw, 96px)/.92 var(--f-display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.h-display--md { font-size: clamp(36px, 9vw, 72px); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head p { max-width: 440px; }
.section-head .mono { font-size: 12px; line-height: 1.6; }

/* ---------- linha cobre (scaleX) ---------- */
.rule { height: 1px; background: var(--cobre); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-line); will-change: transform; }
.rule.is-in { transform: scaleX(1); }

/* ---------- botões ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 22px;
  font: 600 15px/1.2 var(--f-body);
  border: 1px solid transparent; cursor: pointer;
  transition: color .3s var(--ease-nav), border-color .3s var(--ease-nav);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .3s var(--ease-nav); will-change: transform;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease-nav); }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: translateX(4px); }
.btn--block { width: 100%; justify-content: space-between; }

.btn--dark { background: var(--grafite); color: var(--osso); }
.btn--dark::before { background: var(--cobre); }
.btn--dark:hover { color: var(--osso); }
.btn--copper { background: var(--cobre); color: var(--osso); }
.btn--copper::before { background: var(--grafite); }
.btn--copper:hover { color: var(--osso); }
.btn--outline { border-color: var(--grafite); color: var(--grafite); }
.btn--outline::before { background: var(--grafite); }
.btn--outline:hover { color: var(--osso); }
.btn--light { background: var(--osso); color: var(--grafite); }
.btn--light::before { background: var(--cobre); }
.btn--light:hover { color: var(--osso); }
.btn--ghost-light { border-color: var(--osso); color: var(--osso); }
.btn--ghost-light::before { background: var(--osso); }
.btn--ghost-light:hover { color: var(--grafite); }

/* ==========================================================
   NAVBAR
   ========================================================== */
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(238,235,230,0);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease-nav), background-color .3s var(--ease-nav), border-color .3s var(--ease-nav), backdrop-filter .3s var(--ease-nav);
}
.nav.is-scrolled {
  height: var(--nav-h-s);
  background: rgba(238,235,230,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-color: rgba(28,28,28,.1);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--grafite); }
.nav__brand:hover { color: var(--grafite); }
.nav__brand img { width: 44px; height: 44px; border-radius: 50%; transition: width .3s var(--ease-nav), height .3s var(--ease-nav); }
.nav.is-scrolled .nav__brand img { width: 38px; height: 38px; }
.nav__name { display: flex; flex-direction: column; line-height: 1; }
.nav__name strong { font: 800 16px/1 var(--f-display); letter-spacing: -.01em; }
.nav__name small { font: 500 9px/1 var(--f-mono); letter-spacing: .14em; color: var(--texto-3); margin-top: 5px; }

.nav__links { display: none; }
.nav__cta { display: none; }
.nav__cta-text { display: inline-flex; align-items: center; gap: 7px; }
.nav__cta-tag {
  font-size: 10px; letter-spacing: .06em; line-height: 1;
  padding: 3px 6px; border: 1px solid rgba(238,235,230,.5);
}
.nav__toggle {
  width: 44px; height: 44px; border: 1px solid var(--grafite); background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav__toggle span { width: 18px; height: 1.5px; background: var(--grafite); transition: transform .25s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ==========================================================
   DRAWER (menu mobile)
   ========================================================== */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(28,28,28,.55);
  opacity: 0; transition: opacity .3s var(--ease-nav);
}
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 9999;
  width: min(86vw, 360px);
  display: flex; flex-direction: column;
  background: var(--grafite);
  padding: 20px var(--pad-x) 28px;
  transform: translateX(100%);
  transition: transform .4s var(--ease-clip);
  box-shadow: -8px 0 32px rgba(0,0,0,.3);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.drawer__brand { display: flex; align-items: center; gap: 10px; color: var(--osso); }
.drawer__brand:hover { color: var(--osso); }
.drawer__brand img { width: 40px; height: 40px; border-radius: 50%; }
.drawer .nav__name strong { color: var(--osso); }
.drawer .nav__name small { color: var(--osso-2); }
.drawer__close {
  position: relative;
  width: 40px; height: 40px; border: 1px solid var(--osso-2); background: transparent; cursor: pointer; flex-shrink: 0;
}
.drawer__close span {
  position: absolute; top: 50%; left: 50%; width: 18px; height: 1.5px; background: var(--osso);
}
.drawer__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.drawer__links { display: flex; flex-direction: column; overflow-y: auto; }
.drawer__links a {
  position: relative; color: var(--osso);
  font: 700 26px/1 var(--f-display); letter-spacing: -.02em;
  padding: 16px 0; border-bottom: 1px solid rgba(238,235,230,.15);
  opacity: .85; transition: opacity .25s ease, color .25s ease;
}
.drawer__links a:hover, .drawer__links a:focus-visible { opacity: 1; color: var(--cobre-claro); }
.drawer__cta { margin-top: 24px; width: 100%; }

body.no-scroll { overflow: hidden; }

/* ==========================================================
   HERO C
   ========================================================== */
.hero { position: relative; padding-top: 36px; padding-bottom: 56px; }
.hero__tag {
  font-size: 11px; color: var(--nogueira); margin-bottom: 22px;
  letter-spacing: .06em; display: flex; align-items: center; gap: 10px;
}
.hero__tag::before { content: ''; width: 24px; height: 1px; background: var(--cobre); }
.hero__title {
  font: 800 10.5vw/1.08 var(--f-display);
  letter-spacing: -.025em;
  position: relative; z-index: 1;
}
.mask { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.mask__line {
  display: block; transform: translateY(110%);
  transition: transform .9s var(--ease-out-expo); will-change: transform;
}
.mask:nth-child(2) .mask__line { transition-delay: .12s; }
.mask:nth-child(3) .mask__line { transition-delay: .24s; }
.is-loaded .mask__line { transform: translateY(0); }
.hero__accent { color: var(--cobre); }
.rule--hero { margin: 28px 0; }

.hero__bottom { display: flex; flex-direction: column; gap: 24px; }
.hero__sub { font: 500 17px/1.5 var(--f-body); color: #2B2B2B; max-width: 560px; text-wrap: pretty; }
.hero__ctas { display: flex; flex-direction: column; gap: 10px; }
.js-hero-fade { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s ease-out; }
.is-loaded .js-hero-fade { opacity: 1; transform: none; }

.hero__photo {
  position: relative; margin-top: 32px;
  aspect-ratio: 4 / 5; width: 100%;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease-clip) .4s;
  will-change: transform, clip-path;
}
.is-loaded .hero__photo { clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--grafite); color: var(--osso);
  font-size: 10px; padding: 8px 12px; text-transform: uppercase;
}

/* ==========================================================
   DOR E SOLUÇÃO
   ========================================================== */
.pain { background: var(--grafite); padding-block: calc(var(--sec-y) * .55); }

.pain__panels { display: grid; gap: 2px; background: var(--cobre); }
.pain__panel {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; display: flex; align-items: flex-end;
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease-card), transform .7s var(--ease-card);
}
.pain__panel.is-in { opacity: 1; transform: none; }
.pain__panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) contrast(1.05);
  transition: transform 1s var(--ease-clip);
}
.pain__panel:hover img { transform: scale(1.05); }
.pain__panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(15,12,10,0) 0%, rgba(15,12,10,.28) 55%, rgba(15,12,10,.85) 100%);
}
.pain__panel-body {
  position: relative; z-index: 2; width: 100%;
  padding: 24px 22px 28px; color: var(--osso); display: grid; gap: 10px;
  background: linear-gradient(180deg, rgba(15,12,10,0) 0%, rgba(15,12,10,.9) 22%, rgba(15,12,10,.96) 100%);
}
.pain__panel-tag { font-size: 11px; letter-spacing: .1em; color: var(--osso-2); }
.pain__panel-tag.label-copper { color: var(--cobre-claro); }
.pain__panel-body p { font: 600 16px/1.5 var(--f-body); letter-spacing: -.005em; text-wrap: pretty; max-width: 420px; }
.pain__panel--solucao .pain__panel-body .btn { margin-top: 6px; justify-self: start; }

/* ==========================================================
   SERVIÇOS F
   ========================================================== */
.services { padding-block: var(--sec-y) calc(var(--sec-y) * .8); position: relative; }
.services .rule { background: var(--marmore); }

.svc { display: grid; gap: 3px; background: var(--marmore); }
.svc__card {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / 1; display: flex; align-items: flex-end;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  opacity: 0; transform: translateY(36px) scale(.98);
  transition: opacity .8s var(--ease-card), transform .8s var(--ease-card), clip-path .8s var(--ease-card);
}
.svc__card.is-in { opacity: 1; transform: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.svc__card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: saturate(.88) contrast(1.05) grayscale(.25);
  transition: transform 1.1s var(--ease-clip), filter .5s ease;
}
.svc__card:hover img { transform: scale(1.07); filter: saturate(1) contrast(1.05) grayscale(0); }
.svc__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,14,12,0) 30%, rgba(17,14,12,.6) 68%, rgba(17,14,12,.97) 100%);
  transition: background .4s ease;
}
.svc__card:hover::before { background: linear-gradient(180deg, rgba(74,42,26,0) 18%, rgba(74,42,26,.55) 60%, rgba(74,42,26,.97) 100%); }
.svc__card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 1px solid rgba(214,138,92,0); transition: border-color .4s ease;
}
.svc__card:hover::after { border-color: rgba(214,138,92,.55); }
.svc__card-body { position: relative; z-index: 1; padding: 20px 18px 24px; color: var(--osso); display: grid; gap: 6px; width: 100%; }
.svc__num { font-size: 30px; line-height: .9; letter-spacing: -.03em; color: var(--cobre-claro); }
.svc__title { font: 700 clamp(17px, 3.6vw, 21px)/1.15 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.svc__card-body p {
  color: var(--osso-2); font-size: 13px; text-wrap: pretty;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease-nav), opacity .3s ease, margin-top .45s var(--ease-nav);
}
.svc__card:hover .svc__card-body p, .svc__card:focus-within .svc__card-body p {
  max-height: 140px; opacity: 1; margin-top: 2px;
}
/* Sem hover disponível (touch): descrição sempre visível */
@media (hover: none) {
  .svc__card-body p { max-height: 140px; opacity: 1; margin-top: 2px; }
}

/* Card hero: serviço em destaque, tratamento visual próprio */
.svc__card--hero { aspect-ratio: 1 / 1; }
.svc__badge {
  display: inline-flex; align-self: start; margin-bottom: 4px;
  font-size: 10px; letter-spacing: .12em; color: var(--grafite);
  background: var(--cobre-claro); padding: 5px 10px;
}
.svc__card--hero .svc__num { font-size: clamp(46px, 6vw, 64px); color: var(--cobre-claro); }
.svc__card--hero .svc__title { font-size: clamp(26px, 4vw, 38px); }
.svc__card--hero .svc__card-body p { font-size: 15px; }
.svc__card--hero .svc__card-body { padding: 32px 28px 36px; gap: 10px; }
/* parallax controla o transform via JS; hover só troca filtro/saturação */
.svc__card--hero img { transition: filter .5s ease; }
.svc__card--hero:hover img { transform: none; filter: saturate(1) contrast(1.05) grayscale(0); }

.also { margin-top: 40px; display: grid; gap: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 500 12px var(--f-mono); letter-spacing: .02em; border: 1px solid var(--marmore); padding: 9px 13px; transition: border-color .25s, color .25s; }
.tags li:hover { border-color: var(--cobre); color: var(--cobre); }

/* ==========================================================
   ENCANTAMENTO
   ========================================================== */
.office { padding-block: var(--sec-y); position: relative; }
.office__grid { display: grid; gap: 40px; }
.office__side { order: 1; }
.office__photo { order: 2; display: grid; gap: 18px; grid-template-rows: auto auto; }
.office__photo-frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; width: 100%;
  background: var(--grafite);
  border: 6px solid var(--osso);
  box-shadow: 0 40px 70px -32px rgba(28,28,28,.55), 0 1px 0 rgba(28,28,28,.08);
  transform: rotate(-1.2deg);
  transition: transform .5s var(--ease-nav), box-shadow .5s var(--ease-nav);
}
.office__photo-frame:hover { transform: rotate(0deg); box-shadow: 0 48px 80px -30px rgba(28,28,28,.6); }
.office__photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1s var(--ease-clip); }
.office__photo-frame:hover img { transform: scale(1.04); }
.office__photo figcaption {
  font: 700 clamp(17px, 2.2vw, 20px)/1.25 var(--f-display); letter-spacing: -.02em; text-wrap: balance;
  color: var(--grafite); padding-left: 2px;
}
.office__photo figcaption span { color: var(--cobre); }
.office__side { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.office__kicker { font-size: 12px; letter-spacing: .12em; margin-bottom: 24px; }
.diffs li {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: clamp(64px, 9vw, 96px) 1fr; align-items: start; gap: 22px;
  padding: 32px 0; border-top: 1px solid var(--marmore);
  transition: padding-left .35s var(--ease-nav);
}
.diffs li:last-child { border-bottom: 1px solid var(--marmore); }
.diffs li:hover { padding-left: 14px; }
.diffs__num {
  font-size: clamp(42px, 6vw, 64px); line-height: .85; letter-spacing: -.03em;
  color: var(--marmore); transition: color .35s var(--ease-nav);
}
.diffs li:hover .diffs__num { color: var(--cobre); }
.diffs h3 { font: 700 clamp(21px, 2.6vw, 26px)/1.15 var(--f-display); letter-spacing: -.015em; margin-bottom: 8px; }
.diffs p { color: var(--texto-2); font-size: 15px; line-height: 1.6; text-wrap: pretty; max-width: 420px; }

/* ==========================================================
   SOBRE E — split: imagem de um lado, texto do outro
   ========================================================== */
.about { padding-block: var(--sec-y) 0; position: relative; overflow: hidden; }
.about::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 180px; height: 1px; background: var(--cobre); }

.about__split {
  display: flex; flex-direction: column; gap: 48px;
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x);
}

/* --- lado da imagem: composição editorial com inset --- */
.about__media { position: relative; margin-bottom: 8%; }
.about__vignette { position: relative; overflow: hidden; background: var(--grafite); }
.about__vignette-index {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 10px; letter-spacing: .1em; color: var(--osso);
  background: rgba(28,28,28,.55); backdrop-filter: blur(3px);
  padding: 4px 8px; line-height: 1;
}
.about__vignette img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.03) grayscale(.25); display: block;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-out-expo, ease), filter 1s ease;
}
.about__vignette.is-in img { clip-path: inset(0 0 0 0); filter: saturate(.92) contrast(1.03) grayscale(0); }
.about__vignette--b img { transition-delay: .18s; }
.about__vignette figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  margin: 0; padding: 10px 14px; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--osso);
  background: linear-gradient(0deg, rgba(28,28,28,.65), transparent);
  width: 100%;
}

.about__vignette--a { aspect-ratio: 4 / 5; }
.about__vignette--b {
  position: absolute; z-index: 3;
  width: 48%; aspect-ratio: 4 / 5;
  right: 4%; bottom: -8%;
  border: 5px solid var(--osso);
  box-shadow: 0 20px 40px -14px rgba(28,28,28,.35);
}

/* --- lado do texto --- */
.about__head-text .label-copper { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.about__head-text .label-copper::after { content: ''; width: 40px; height: 1px; background: var(--cobre); }
.about__title {
  font: 600 clamp(32px, 4.6vw, 52px)/1.22 var(--f-display);
  letter-spacing: -.02em; color: var(--grafite); text-wrap: balance;
}

.about__stories {
  display: flex; flex-direction: column; margin-top: 48px;
  border-top: 1px solid var(--marmore); border-bottom: 1px solid var(--marmore);
}
.about__story-item {
  position: relative;
  opacity: .25; transition: opacity .6s ease;
  padding-block: 24px;
}
.about__story-item + .about__story-item { border-top: 1px solid var(--marmore); }
.about__story-item.is-in { opacity: 1; }
.about__story-index {
  position: absolute; top: 24px; right: 0;
  font-size: 11px; letter-spacing: .05em; color: var(--marmore);
}
.about__story-item h3 {
  font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--cobre); margin-bottom: 12px; padding-right: 32px;
}
.about__story-item p { font-size: 15px; line-height: 1.6; color: var(--texto-2); text-wrap: pretty; max-width: 46ch; }

.about__creds {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--grafite);
}
.about__creds > div { display: flex; flex-direction: column; gap: 8px; }
.about__creds dt { font: 500 clamp(24px, 3.2vw, 30px)/1 var(--f-mono); letter-spacing: -.02em; color: var(--cobre); }
.about__creds dd { font-size: 11px; color: var(--texto-3); line-height: 1.4; letter-spacing: .02em; }

/* ==========================================================
   SÓCIOS
   ========================================================== */
.partners { background: var(--grafite); color: var(--osso); padding-block: var(--sec-y); }

.partners__head { max-width: 720px; margin-bottom: 48px; }
.partners__head .label-copper { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--cobre-claro); }
.partners__head .label-copper::after { content: ''; width: 40px; height: 1px; background: var(--cobre-claro); }
.partners__title {
  font: 500 clamp(24px, 3.2vw, 34px)/1.35 var(--f-body);
  letter-spacing: -.01em; color: var(--osso); text-wrap: balance;
}

/* --- duo: cartão único unificado (desktop) --- */
.duo { display: none; background: var(--grafite-2); }

/* --- partner cards: um card por sócio (mobile) --- */
.partner-cards { display: flex; flex-direction: column; gap: 20px; }
.partner-card { background: var(--grafite-2); border-top: 1px solid var(--cobre); overflow: hidden; }
.partner-card__photo { position: relative; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; background: var(--grafite); }
.partner-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: saturate(.9) contrast(1.05);
}
.partner-card__body { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.partner-card__body > .mono { font-size: 11px; color: var(--cobre-claro); letter-spacing: .08em; }
.partner-card__body h3 { font: 700 clamp(22px, 6vw, 28px)/1.1 var(--f-display); letter-spacing: -.02em; color: var(--osso); }
.partner-card__body .duo__stat { padding-top: 10px; margin-top: 2px; border-top: 1px solid #3A3A3A; }
.partner-card__body a {
  color: var(--osso); font-size: 13px; letter-spacing: .02em; align-self: flex-start;
  padding-bottom: 2px; border-bottom: 1px solid rgba(238,235,230,.3);
  transition: color .3s ease, border-color .3s ease;
}
.partner-card__body a:hover { color: var(--cobre-claro); border-color: var(--cobre-claro); }

.duo__media { position: relative; display: flex; align-items: stretch; }
.duo__photo { position: relative; flex: 1 1 50%; aspect-ratio: 1 / 1; overflow: hidden; margin: 0; background: var(--grafite); }
.duo__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: saturate(.9) contrast(1.05) grayscale(.25);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-out-expo, ease), filter .6s ease, transform 1.2s var(--ease-out-expo, ease);
}
.duo__photo.is-in img { clip-path: inset(0 0 0 0); filter: saturate(.9) contrast(1.05) grayscale(0); }
.duo__photo:hover img { transform: scale(1.03); }
.duo__index {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-size: 11px; letter-spacing: .1em; color: var(--osso);
  background: rgba(28,28,28,.65); backdrop-filter: blur(3px);
  padding: 4px 8px; line-height: 1;
}
.duo__glyph {
  position: absolute; top: 50%; left: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  font: 500 clamp(28px, 3.2vw, 38px)/1 var(--f-mono); color: var(--osso);
  width: 64px; height: 64px;
  background: var(--grafite);
  border: 1px solid var(--cobre-claro);
  display: flex; align-items: center; justify-content: center;
}

.duo__strip {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--cobre);
  position: relative;
}
.duo__col {
  padding: 24px 20px; display: flex; flex-direction: column; gap: 12px;
}
.duo__col:first-child { border-bottom: 1px solid rgba(238,235,230,.14); }
.duo__col > .mono { font-size: 11px; color: var(--cobre-claro); letter-spacing: .08em; }
.duo__col h3 { font: 700 clamp(22px, 4.5vw, 30px)/1.05 var(--f-display); letter-spacing: -.025em; }
.duo__stat {
  display: flex; align-items: baseline; gap: 10px;
  padding-top: 10px; margin-top: 2px; border-top: 1px solid #3A3A3A;
}
.duo__stat dt { font: 500 clamp(28px, 5vw, 34px)/1 var(--f-mono); letter-spacing: -.02em; color: var(--cobre-claro); }
.duo__stat dd { font-size: 12px; color: #BDBBB7; letter-spacing: .02em; }
.duo__col a {
  color: var(--osso); font-size: 13px; letter-spacing: .02em; align-self: flex-start;
  padding-bottom: 2px; border-bottom: 1px solid rgba(238,235,230,.3);
  transition: color .3s ease, border-color .3s ease;
}
.duo__col a:hover { color: var(--cobre-claro); border-color: var(--cobre-claro); }

/* ==========================================================
   CONTEÚDO
   ========================================================== */
.content { padding-block: calc(var(--sec-y) + 29px) var(--sec-y); position: relative; }
.content::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 180px; height: 1px; background: var(--cobre); }
.link-under { color: var(--grafite); font-size: 13px; letter-spacing: .02em; border-bottom: 1px solid var(--cobre); padding-bottom: 4px; }
.link-under:hover { color: var(--cobre); }
.videos { display: grid; gap: 16px; }
.video {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 9 / 16; max-height: 640px;
  background: var(--grafite); color: var(--osso);
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-card), transform .8s var(--ease-card);
}
.video.is-in { opacity: 1; transform: none; }
.video__thumb { position: absolute; inset: 0; z-index: -2; }
.video__thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: saturate(.88) contrast(1.05) grayscale(.3) brightness(.85);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out-expo, ease);
}
.video:hover .video__thumb img, .video:focus-visible .video__thumb img { transform: scale(1.1); }
.video__meta { position: relative; z-index: 1; display: flex; justify-content: space-between; font-size: 11px; color: var(--osso); letter-spacing: .08em; opacity: .75; }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1);
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(238,235,230,.5);
  background: rgba(28,28,28,.35); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--osso);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out-expo, ease);
}
.video:hover .video__play, .video:focus-visible .video__play { background: var(--cobre); color: var(--osso); border-color: var(--cobre); transform: translate(-50%, -50%) scale(1.08); }
.video__body {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px;
  margin: -100px -26px -26px; padding: 100px 26px 26px;
  background: linear-gradient(180deg, transparent 0%, #0A0A0A 42%);
}
.video__title { color: #FFFFFF; font: 600 clamp(15px, 2.6vw, 17px)/1.35 var(--f-body); letter-spacing: -.005em; text-wrap: pretty; max-width: 34ch; }
.video__cta { color: #FFFFFF; font: 600 14px var(--f-body); display: flex; gap: 10px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 18px; }
.video__cta .btn__arrow { color: #E59A6C; }
.video:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================
   DEPOIMENTO B — frase fullscreen
   ========================================================== */
.quote { background: var(--grafite); color: var(--osso); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.quote__inner { padding-block: 88px; display: flex; flex-direction: column; gap: 40px; }
.quote__text { font: 700 clamp(32px, 8.4vw, 88px)/1.04 var(--f-display); letter-spacing: -.035em; }
.quote__text .w { opacity: .12; transition: opacity .4s ease; }
.quote__text .w--key { color: var(--cobre-claro); }
.quote__text.is-in .w { opacity: 1; }
.quote__foot { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; border-top: 1px solid var(--linha-escura); padding-top: 28px; }
.quote__foot cite { font-style: normal; font-size: 12px; line-height: 1.6; letter-spacing: .04em; color: #BDBBB7; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding-block: calc(var(--sec-y) * .95) calc(var(--sec-y) * .95); position: relative; }
.faq__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.faq__head .mono.label-copper { display: flex; align-items: center; gap: 12px; }
.faq__head .mono.label-copper::after { content: ''; width: 40px; height: 1px; background: var(--cobre); }
.faq__head h2 {
  font: 600 clamp(30px, 4vw, 40px)/1.1 var(--f-display); letter-spacing: -.02em;
}
.faq__head p { max-width: 440px; font-size: 15px; }

.faq__list { border-top: 1px solid var(--grafite); }
.faq__q {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: grid; grid-template-columns: 40px 1fr 20px; gap: 10px; align-items: center; padding: 24px 4px;
  font: 600 clamp(16px, 1.8vw, 18px)/1.3 var(--f-display); letter-spacing: -.01em;
  border-bottom: 1px solid var(--marmore);
  transition: color .3s ease, padding-left .3s var(--ease-out-expo, ease), background .3s ease;
}
.faq__q:hover, .faq__q:focus-visible { color: var(--cobre); padding-left: 12px; background: linear-gradient(90deg, rgba(164,90,48,.07), transparent 65%); }
.faq__q:focus-visible { outline: 2px solid var(--cobre); outline-offset: -2px; }
.faq__q .mono { font-size: 12px; color: var(--cobre); letter-spacing: .08em; }
.faq__q i {
  font: 400 18px/1 var(--f-body); font-style: normal; color: var(--cobre); justify-self: end;
  opacity: .5; transition: opacity .3s ease, transform .3s var(--ease-out-expo, ease);
}
.faq__q:hover i, .faq__q:focus-visible i { opacity: 1; transform: translateX(4px); }

/* --- pop-up de resposta --- */
.faq-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.faq-modal[hidden] { display: none; }
.faq-modal__overlay { position: absolute; inset: 0; background: rgba(20,18,16,.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease; }
.faq-modal.is-visible .faq-modal__overlay { opacity: 1; }
.faq-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 520px;
  background: var(--osso); padding: 40px 36px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .35s var(--ease-out-expo, ease), transform .35s var(--ease-out-expo, ease);
}
.faq-modal.is-visible .faq-modal__panel { opacity: 1; transform: none; }
.faq-modal__close {
  all: unset; position: absolute; top: 20px; right: 20px; cursor: pointer;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font: 300 26px/1 var(--f-body); color: var(--grafite); transition: color .2s ease, transform .2s ease;
}
.faq-modal__close:hover { color: var(--cobre); transform: rotate(90deg); }
.faq-modal__panel #faq-modal-index { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.faq-modal__title { font: 600 clamp(20px, 3vw, 25px)/1.25 var(--f-display); letter-spacing: -.015em; color: var(--grafite); margin-bottom: 16px; padding-right: 24px; }
.faq-modal__answer { font-size: 15px; line-height: 1.65; color: var(--texto-2); text-wrap: pretty; margin-bottom: 26px; }
.faq-modal__panel .btn { width: 100%; justify-content: center; }

/* ==========================================================
   LOCALIZAÇÃO
   ========================================================== */
.location { background: var(--grafite); padding-block: var(--sec-y); }

.location__grid { display: flex; flex-direction: column; gap: 32px; }

.location__card {
  position: relative;
  width: 100%; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  background: linear-gradient(165deg, rgba(32,30,28,.92), rgba(20,19,18,.96));
  border: 1px solid rgba(238,235,230,.14);
  padding: 24px 22px;
  box-shadow: 0 50px 100px -28px rgba(0,0,0,.6), inset 0 1px 0 rgba(238,235,230,.06);
}
.location__card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 48px; height: 2px; background: var(--cobre);
}
.location__card .label-copper { display: flex; align-items: center; gap: 12px; color: var(--cobre-claro); }
.location__card .label-copper::after { content: ''; width: 40px; height: 1px; background: var(--cobre-claro); }
.location__card h2 {
  font: 600 clamp(22px, 6vw, 34px)/1.25 var(--f-display); letter-spacing: -.02em; color: var(--osso);
}
.location__card h2 .accent { color: var(--cobre-claro); }

.loc-list { display: grid; grid-template-columns: 1fr; row-gap: 14px; width: 100%; padding-top: 16px; border-top: 1px solid rgba(238,235,230,.16); }
.loc-list dt { font-size: 11px; line-height: 1.6; color: var(--cobre-claro); letter-spacing: .08em; margin-bottom: 4px; }
.loc-list dd { line-height: 1.55; color: var(--osso); font-size: 14px; }
.loc-list a { position: relative; color: var(--osso); padding-bottom: 1px; border-bottom: 1px solid rgba(238,235,230,.25); transition: color .25s ease, border-color .25s ease; }
.loc-list a:hover { color: var(--cobre-claro); border-color: var(--cobre-claro); }

.location__cta { align-self: flex-start; }

.location__map-panel {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border: 1px solid rgba(238,235,230,.14); background: #D9D6D0;
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.4);
  overflow: hidden;
}
.location__map-panel iframe {
  width: 100%; height: 100%; border: 0;
  filter: saturate(1.05) contrast(1.03) brightness(.98);
}

/* ==========================================================
   CTA + FORM
   ========================================================== */
.cta { position: relative; background: var(--nogueira); color: var(--osso); padding-block: var(--sec-y); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) contrast(1.08) brightness(.55) grayscale(.15);
}
.cta__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,12,10,.94) 0%, rgba(15,12,10,.82) 42%, rgba(74,42,26,.55) 75%, rgba(74,42,26,.35) 100%);
}
.cta .container { position: relative; z-index: 1; }
.cta__grid { display: grid; gap: 40px; align-items: start; }
.cta__left { display: flex; flex-direction: column; gap: 36px; }
.cta__title { font: 600 clamp(26px, 3.4vw, 38px)/1.2 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.cta__left > p { color: var(--osso-2); max-width: 460px; margin-top: -12px; }
.cta__phone { display: flex; flex-direction: column; gap: 10px; border-block: 1px solid var(--cobre); padding: 22px 0; color: var(--osso); }
.cta__phone:hover { color: #F0B48D; }
.cta__phone span { font-size: 11px; color: var(--cobre-claro); }
.cta__phone strong { font-size: clamp(24px, 4vw, 34px); line-height: 1; letter-spacing: -.02em; }

.cta__creds {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 32px; margin-top: 12px; border-top: 1px solid rgba(238,235,230,.16);
}
.cta__creds > div {
  display: flex; flex-direction: column; gap: 8px;
  padding-left: 18px; border-left: 1px solid rgba(238,235,230,.14);
}
.cta__creds > div:first-child { padding-left: 0; border-left: none; }
.cta__creds dt { font: 600 clamp(26px, 3.2vw, 34px)/1 var(--f-mono); letter-spacing: -.03em; color: var(--cobre-claro); }
.cta__creds dd { font-size: 12px; color: var(--osso-2); line-height: 1.45; letter-spacing: .01em; max-width: 14ch; }

.form { background: var(--osso) var(--noise); color: var(--grafite); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 2px; }
.field label { font-size: 11px; }
.field input, .field select {
  border: 0; border-bottom: 1px solid var(--grafite); border-radius: 0; background: transparent;
  padding: 4px 0; font: 500 14px var(--f-body); outline: none; min-height: 28px;
  transition: border-color .25s;
}
.field input[type="tel"] { font-family: var(--f-mono); }
.field select { appearance: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23A45A30' stroke-width='1.5'/></svg>") no-repeat right 4px center; cursor: pointer; }
.field textarea { border: 1px solid var(--grafite); background: transparent; padding: 7px; font: 400 14px/1.4 var(--f-body); outline: none; resize: vertical; min-height: 54px; transition: border-color .25s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cobre); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--cobre); border-width: 0 0 2px; }
.field.is-invalid textarea { border-width: 2px; }
.field__err { font: 500 12px var(--f-body); color: var(--cobre); min-height: 16px; }
.form__note { font-size: 12px; color: var(--texto-3); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--grafite); color: var(--osso); padding-top: 64px; }
.footer__grid { display: grid; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid var(--linha-escura); align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 22px; }
.footer__brand img { width: 97.2px; height: 97.2px; border-radius: 50%; box-shadow: 0 0 0 1px var(--linha-escura); }
.footer__brand p:not(.footer__desc) { font: 800 clamp(30px, 7vw, 44px)/.95 var(--f-display); letter-spacing: -.035em; }
.footer__brand p span { color: var(--cobre-claro); }
.footer__desc { font-size: 14px; line-height: 1.6; color: var(--osso-2); max-width: 30ch; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { display: flex; align-items: center; justify-content: center; color: var(--osso); transition: color .3s ease, transform .3s ease; }
.footer__social a:hover { color: var(--cobre-claro); transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__nav > .mono, .footer__contact > .mono { font-size: 11px; letter-spacing: .12em; color: var(--marmore); margin-bottom: 4px; }
.footer__nav a { color: var(--osso); font-weight: 500; align-self: flex-start; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--cobre-claro); }
.footer__contact a, .footer__contact p { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--osso); font-size: 15px; line-height: 1.45; }
.footer__contact svg { width: 20px; height: 20px; fill: none; stroke: var(--cobre-claro); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; transition: stroke .3s ease; }
.footer__contact svg.icon-scale { stroke: var(--osso); }
.footer__contact a:hover svg.icon-scale { stroke: var(--cobre-claro); }
.footer__contact strong { font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.credits { display: flex; flex-direction: column; gap: 10px; padding-block: 24px; font-size: 11px; letter-spacing: .04em; color: var(--marmore); }
.credits a { color: var(--cobre); font-weight: 500; }
.credits a:hover { color: var(--cobre-claro); }
.credits__left { display: flex; flex-direction: column; gap: 4px; }
.credits__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.credits__right { white-space: nowrap; }

/* ---------- Toggle visual de cookies (link do rodapé) ---------- */
.ck-toggle-link { display: inline-flex; align-items: center; gap: 6px; }
.ck-toggle-link__pill {
  display: inline-flex; align-items: center; position: relative;
  width: 28px; height: 14px; padding: 2px;
  background: rgba(238, 235, 230, .1);
  border: 1px solid rgba(238, 235, 230, .2);
  border-radius: 10px;
  font-size: 8px; font-weight: 700;
  transition: border-color .25s;
}
.ck-toggle-link:hover .ck-toggle-link__pill { border-color: rgba(238, 235, 230, .4); }
.ck-toggle-link__check { color: #86EFAC; margin-left: 2px; }
.ck-toggle-link__x { color: #FCA5A5; margin-left: auto; margin-right: 2px; }
.ck-toggle-link__dot {
  position: absolute; left: 2px; width: 10px; height: 10px;
  background: var(--marmore); border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  transition: left .2s ease, background .2s ease, box-shadow .25s;
}
.ck-toggle-link__pill.active .ck-toggle-link__dot { left: 15px; background: var(--cobre); }
.ck-toggle-link__pill.inactive .ck-toggle-link__dot { left: 2px; background: var(--marmore); }
.ck-toggle-link:hover .ck-toggle-link__dot { box-shadow: 0 0 8px rgba(var(--ck-accent-rgb), .5); }

/* ==========================================================
   PÁGINAS LEGAIS (Termos · Privacidade)
   ========================================================== */
.legal { max-width: 900px; margin: 0 auto; padding: 64px var(--pad-x) var(--sec-y); }
.legal__updated { font: 500 13px var(--f-mono); letter-spacing: .04em; color: var(--texto-3); margin-bottom: 40px; }
.legal h1 { font: 800 clamp(34px, 6vw, 56px)/1.05 var(--f-display); letter-spacing: -.03em; margin-bottom: 12px; text-wrap: balance; }
.legal__intro { font-size: 17px; color: var(--texto-2); max-width: 640px; margin-bottom: 8px; }
.legal section { padding-block: 28px; border-top: 1px solid var(--marmore); }
.legal section:first-of-type { border-top: none; padding-top: 40px; }
.legal h2 { font: 700 clamp(22px, 3vw, 28px)/1.2 var(--f-display); letter-spacing: -.015em; color: var(--grafite); margin-bottom: 14px; }
.legal h3 { font: 700 16px var(--f-body); letter-spacing: -.005em; margin: 18px 0 8px; }
.legal p { font-size: 16px; line-height: 1.75; color: var(--texto-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.legal li { font-size: 16px; line-height: 1.6; color: var(--texto-2); }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--grafite); }

/* ==========================================================
   ≥ 480
   ========================================================== */
@media (min-width: 480px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .form { padding: 32px; }
}

/* ==========================================================
   ≥ 768
   ========================================================== */
@media (min-width: 768px) {
  :root { --pad-x: 40px; --sec-y: 104px; }
  .nav__name strong { font-size: 17px; }
  .nav__name small { font-size: 10px; }
  .nav__brand img { width: 48px; height: 48px; }
  .h-display { font-size: clamp(56px, 7.6vw, 96px); }
  .h-display--md { font-size: clamp(44px, 5.4vw, 72px); }
  .section-head { margin-bottom: 52px; }

  .hero { padding-top: 56px; padding-bottom: 88px; }
  .hero__tag { font-size: 13px; margin-bottom: 32px; }
  .hero__title { font-size: 8vw; line-height: 1.08; }
  .rule--hero { margin: 40px 0; }
  .hero__sub { font-size: 19px; }

  .pain__panels { grid-template-columns: repeat(2, 1fr); }
  .pain__panel { aspect-ratio: 4 / 3; }
  .pain__panel-body { padding: 32px 36px 40px; }

  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc__card--hero { grid-column: span 2; aspect-ratio: 21 / 10; }

  .also { grid-template-columns: 112px 1fr; gap: 28px; padding-left: 18px; }
  .also h3 { padding-top: 10px; }

  .office__photo-frame { aspect-ratio: 16 / 11; }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .quote__foot { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; margin-top: 8px; }
  .credits { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ==========================================================
   ≥ 1024
   ========================================================== */
@media (min-width: 1024px) {
  :root { --pad-x: 56px; --sec-y: 132px; }

  /* nav desktop */
  .nav__toggle { display: none; }
  .nav__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 20px; font-size: 14px; }
  .nav__links {
    display: flex; position: relative; flex-direction: row; gap: 2px;
    background: none; border: 0; padding: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .drawer, .drawer-overlay { display: none; }

  /* Indicador líquido: pill que segue o link sob o cursor */
  .nav__indicator {
    position: absolute; top: 50%; left: 0; height: 34px;
    width: 0; border-radius: 999px;
    background: var(--grafite);
    transform: translate(0, -50%) scale(.94);
    opacity: 0;
    transition:
      transform .5s cubic-bezier(.34, 1.56, .64, 1),
      width .4s cubic-bezier(.34, 1.56, .64, 1),
      opacity .25s ease;
    pointer-events: none;
    z-index: 0;
  }

  .nav__links a {
    position: relative; z-index: 1;
    font: 500 14px var(--f-body); letter-spacing: 0;
    padding: 8px 16px; border: 0;
    color: var(--texto-2);
    transition: color .35s ease;
  }
  .nav__links a:hover { color: var(--osso); }

  /* hero editorial em grid: texto à esquerda, foto grande à direita */
  .hero {
    padding-top: 16px; padding-bottom: 48px;
    display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px);
  }
  .hero__tag { margin-bottom: 20px; }
  .hero__title { font-size: clamp(52px, 4.6vw, 80px); max-width: 100%; }
  .rule--hero { margin: 22px 0; }
  .hero__bottom { max-width: 100%; gap: 20px; }
  .hero__sub { font-size: 17px; max-width: 460px; }
  .hero__photo {
    position: relative; right: auto; bottom: auto; top: auto; z-index: 1;
    width: 100%; max-width: 546px; aspect-ratio: 1 / 1.075; justify-self: end;
    box-shadow: 0 34px 70px -28px rgba(28,28,28,.5);
  }
  .is-loaded .hero__photo { clip-path: inset(0 0 0 0); }

  .pain__panel { aspect-ratio: 16 / 11; }

  /* mosaico editorial: hero (01) ocupa 2 colunas × 2 linhas; os demais preenchem o restante */
  .svc {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(220px, 1fr));
  }
  .svc__card { aspect-ratio: auto; }
  .svc__card--hero { grid-column: 1 / 3; grid-row: 1 / 3; }
  .svc__card-body { padding: 24px 22px 26px; }
  .svc__num { font-size: 32px; }
  .svc__title { font-size: clamp(18px, 1.5vw, 21px); }
  .also { grid-template-columns: minmax(150px, 14%) 1fr; gap: 48px; padding-left: 24px; }

  .office__grid { grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
  .office__side { order: 0; }
  .office__photo { order: 1; max-width: 456px; justify-self: end; }
  .office__photo-frame { aspect-ratio: 3 / 4; }

  /* sobre: split real — imagem fixa de um lado, texto do outro */
  .about__split { flex-direction: row; align-items: flex-start; gap: 96px; }
  .about__media { order: -1; flex: 0 0 36%; position: sticky; top: 120px; align-self: flex-start; margin-bottom: 5%; }
  .about__vignette--b { right: -8%; bottom: -12%; }
  .about__content { flex: 1 1 auto; min-width: 0; }
  .about__stories { flex-direction: row; align-items: stretch; gap: 32px; margin-top: 56px; border-top: 1px solid var(--marmore); border-bottom: none; }
  .about__story-item { flex: 1 1 0; border-top: none; padding-top: 24px; padding-bottom: 0; }
  .about__story-item + .about__story-item { border-top: none; border-left: 1px solid var(--marmore); padding-left: 32px; }
  .about__creds { grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: none; }
  .about__creds > div { padding-right: 32px; }

  .duo { display: block; }
  .partner-cards { display: none; }
  .duo__strip { grid-template-columns: 1fr 1fr; }
  .duo__col:first-child { border-bottom: none; border-right: 1px solid rgba(238,235,230,.14); }

  .videos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .quote__inner { padding-block: 140px; gap: 64px; }
  .quote__text { font-size: clamp(56px, 5.4vw, 92px); }

  .faq__head { max-width: 560px; }

  .location__grid { flex-direction: row; align-items: center; gap: 64px; }
  .location__card { flex: 0 1 460px; padding: 29px 38px; gap: 19px; }
  .location__card h2 { font-size: clamp(26px, 3.2vw, 34px); }
  .loc-list { grid-template-columns: 100px 1fr; row-gap: 16px; column-gap: 16px; padding-top: 20px; }
  .loc-list dt { margin-bottom: 0; }
  .location__map-panel { flex: 1 1 auto; aspect-ratio: 16 / 11; }
  .cta__grid { grid-template-columns: 1fr 1fr; gap: 96px; }
  .form { padding: 44px; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__contact { grid-column: auto; }
}

/* ==========================================================
   ≥ 1280
   ========================================================== */
@media (min-width: 1280px) {
  .hero__title { max-width: 80%; }
  .hero__bottom { max-width: 560px; }
}

/* ==========================================================
   Movimento reduzido: sem transforms, opacity instantânea
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mask__line, .js-hero-fade, .pain__panel, .svc__row, .rule { transform: none !important; }
  .js-hero-fade, .pain__panel, .svc__row, .story, .quote__text .w { opacity: 1 !important; }
  .hero__photo { clip-path: none !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP PREMIUM — Balão + botão flutuante (AG5 V4)
═══════════════════════════════════════════════════════ */
.wa-premium-container {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 2000;
  font-family: var(--f-body);
}

/* Balão Glassmorphism */
.wa-bubble {
  width: 280px;
  position: absolute;
  bottom: 68px;
  right: 0;
  background: rgba(255, 252, 246, .98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(164, 90, 48, .25);
  border-radius: 1rem;
  box-shadow: 0 12px 32px -12px rgba(28, 24, 12, .18);
  padding: 1rem 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cauda triangular conectando o balão ao botão */
.wa-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 16px;
  width: 20px;
  height: 20px;
  background: inherit;
  border-right: 1px solid rgba(164, 90, 48, .35);
  border-bottom: 1px solid rgba(164, 90, 48, .35);
  transform: rotate(45deg);
  border-bottom-right-radius: 4px;
  z-index: -1;
}

.wa-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Cabeçalho */
.wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-avatar-wrapper { position: relative; flex-shrink: 0; }

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid #25d366;
  display: block;
}

.wa-name {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
  letter-spacing: .01em;
}

/* Digitação */
.wa-typing {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}

.wa-typing span {
  width: 5px;
  height: 5px;
  background: #25d366;
  border-radius: 50%;
  animation: wa-typing-ani 1.4s infinite;
  opacity: 0.4;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-typing-ani {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-4px); opacity: 1; }
}

/* Mensagem */
.wa-message-text p {
  margin: 0;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.wa-message-text p strong {
  color: var(--cobre);
  font-weight: 700;
}

/* Botão flutuante redondo (estado inicial hidden, JS controla via .visible) */
.wa-float-btn {
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.6s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  position: relative;
}

.wa-float-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-float-btn:hover { transform: scale(1.1) translateY(-3px); }
.wa-float-btn svg { display: block; }

/* Badge de notificação (compacto — não invasivo; permanece oculto em modo Compliance) */
.wa-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: #ff3b30;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1.5px solid #fff;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.wa-badge.show { opacity: 1; transform: scale(1); }

/* Botão fechar */
.wa-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-close:hover { color: #666; }

/* Classes utilitárias (PageSpeed fix — substituem inline style do JS, evita forced reflow) */
.wa-typing.is-hidden { display: none !important; }
.wa-message-text.is-visible { display: block !important; opacity: 0; transition: opacity 500ms ease; }
.wa-message-text.is-visible.is-in { opacity: 1; }

@media (max-width: 480px) {
  .wa-premium-container { bottom: 16px; right: 16px; }
  .wa-bubble { width: 260px; bottom: 72px; }

  .duo__glyph { width: 44px; height: 44px; font-size: 20px; }
  .duo__col { padding: 22px 20px; gap: 10px; }
  .duo__col h3 { font-size: 20px; }
}
