/* Isaac & Jefferson | Advocacia Estratégica — style.css */

:root {
  --ink: #121212;
  --gold: #A9843C;
  --paper: #F6F5F1;
  --graphite: #2B2E33;
  --ink-70: rgba(18, 18, 18, 0.7);
  --ink-16: rgba(18, 18, 18, 0.16);
  --ink-25: rgba(18, 18, 18, 0.25);
  --paper-82: rgba(246, 245, 241, 0.82);
  --paper-70: rgba(246, 245, 241, 0.7);
  --paper-60: rgba(246, 245, 241, 0.6);
  --paper-30: rgba(246, 245, 241, 0.3);
  --paper-16: rgba(246, 245, 241, 0.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --sp-1: 6px;
  --sp-2: 12px;
  --sp-3: 20px;
  --sp-4: 32px;
  --sp-5: clamp(34px, 5vw, 64px);
  --sp-section: clamp(70px, 10vw, 130px);
  --gutter: clamp(18px, 4vw, 48px);
  --maxw: 1280px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--ink); }
button, input, textarea, select { font: inherit; }

h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sp-section) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--graphite { background: var(--graphite); color: var(--paper); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.display {
  font-family: var(--font-display);
  line-height: 1.05;
}

.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 52ch;
}

.section--dark .lead, .section--graphite .lead { color: var(--paper-82); }
.section--light .lead { color: var(--graphite); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 19px 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--paper); border-color: var(--paper); }
.btn--ghost { border-color: var(--ink-25); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-light { border-color: var(--paper-30); color: var(--paper); padding: 15px 24px; font-size: 11.5px; letter-spacing: 0.16em; }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 17px 28px; font-size: 11.5px; }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--paper);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.link-underline:hover { color: var(--gold); }

/* ---------- navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: clamp(14px, 2.4vw, 22px) clamp(14px, 3vw, 28px) 0;
  transition: padding 380ms var(--ease-out-expo);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 2.4vw, 30px);
  height: clamp(60px, 7.2vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: rgba(246, 245, 241, 0);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    background 420ms var(--ease-out-expo),
    border-color 420ms var(--ease-out-expo),
    box-shadow 420ms var(--ease-out-expo),
    backdrop-filter 420ms var(--ease-out-expo),
    height 380ms var(--ease-out-expo);
}
.nav.is-solid { padding-top: clamp(8px, 1.4vw, 14px); }
.nav.is-solid .nav__inner {
  height: clamp(54px, 6.2vw, 66px);
  background: rgba(246, 245, 241, 0.86);
  border-color: var(--ink-16);
  box-shadow: 0 12px 40px -18px rgba(18, 18, 18, 0.28);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.nav__logo img { height: clamp(32px, 4.2vw, 42px); width: auto; mix-blend-mode: multiply; transition: height 380ms var(--ease-out-expo); }
.nav__links { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 26px); }
.nav__link {
  position: relative;
  display: none;
  padding: 6px 2px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease-out-expo);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out-expo), box-shadow 250ms ease;
}
.nav__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(169, 132, 60, 0.55);
}
.nav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; transition: background 250ms ease; }
.nav__cta:hover .nav__dot { background: var(--ink); }

/* ---------- burger ---------- */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: width 220ms var(--ease-out-expo);
}
.nav__burger span:nth-child(1) { width: 26px; }
.nav__burger span:nth-child(2) { width: 20px; }
.nav__burger span:nth-child(3) { width: 26px; }
.nav__burger:hover span { width: 26px; }

/* ---------- drawer premium ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease-out-expo), visibility 320ms var(--ease-out-expo);
  z-index: 9998;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 84vw);
  height: 100%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  transform: translateX(100%);
  transition: transform 380ms var(--ease-out-expo);
  z-index: 9999;
}
.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(64px, 8vw, 88px);
  flex: 0 0 auto;
}
.drawer__logo img { height: 59px; width: auto; filter: brightness(0) invert(1); }

.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}
.drawer__close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: background 200ms ease;
}
.drawer__close span:nth-child(1) { transform: rotate(45deg); }
.drawer__close span:nth-child(2) { transform: rotate(-45deg); }
.drawer__close:hover span { background: var(--gold); }

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  flex: 1 1 auto;
}
.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 28px);
  color: var(--paper);
  opacity: 0.7;
  padding: var(--sp-1) 0;
  transition: opacity 200ms ease, color 200ms ease;
}
.drawer__link:hover { opacity: 1; color: var(--gold); }

.drawer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  padding: 17px 24px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  flex: 0 0 auto;
  transition: background 250ms ease, border-color 250ms ease;
}
.drawer__cta:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

body.drawer-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding: clamp(76px, 8vh, 110px) 0 clamp(20px, 2.5vh, 40px); min-height: min(100svh, 700px); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero__kicker { margin-bottom: clamp(10px, 1.6vh, 20px); font-size: clamp(10px, 1.1vw, 12px); letter-spacing: 0.34em; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero__title > span { display: block; white-space: nowrap; }
.hero__amp { display: inline; color: var(--gold); font-style: italic; white-space: normal; }
.hero__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(84px, 12.5vw, 162px);
}
.hero__main { flex: 1 1 420px; max-width: 520px; display: flex; flex-direction: column; }
.hero__copy { margin-top: clamp(14px, 2vh, 28px); max-width: 520px; }
.hero__tagline {
  margin-bottom: clamp(10px, 1.6vh, 18px);
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.hero__text { margin-bottom: clamp(14px, 2vh, 24px); font-size: clamp(14px, 1.3vw, 17px); line-height: 1.55; color: var(--graphite); max-width: 56ch; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__figure {
  flex: 0 0 auto;
  width: min(clamp(240px, 33vw, 370px), calc(min(100svh, 700px) * 0.76 * 9 / 16));
  max-width: 370px;
  aspect-ratio: 9 / 16;
  margin: 0;
  position: relative;
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(169, 132, 60, 0.24), transparent 72%);
  opacity: 0;
  transition: opacity 900ms var(--ease-out-expo);
}
.hero__figure.is-glowing::after { opacity: 1; }
.hero__figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  background: var(--graphite);
}
.hero__figure figcaption { margin-top: 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--graphite); display: flex; align-items: center; gap: 10px; white-space: nowrap; }

.hero__video-controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
}
.hero__video-ctrl {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  color: var(--paper);
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid var(--paper-30);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: border-color 200ms ease, background 200ms ease;
}
.hero__video-ctrl:hover { border-color: var(--gold); background: rgba(18, 18, 18, 0.75); }
.hero__video:fullscreen { object-fit: contain; background: #000; }

/* ---------- hero mobile: texto + CTA no topo, retrato em moldura premium abaixo ---------- */
@media (max-width: 899px) {
  .hero { padding: clamp(96px, 24vw, 128px) 0 clamp(48px, 10vw, 72px); min-height: 0; }
  .nav__burger span { background: var(--ink); }
  .nav__logo img { height: 46px; }
  .hero__wrap { display: block; }
  .hero__main { max-width: 100%; }
  .hero__copy { max-width: 100%; }
  .hero__title { font-size: clamp(40px, 13vw, 68px); }
  .hero__video-controls { gap: 10px; padding: 14px; }
  .hero__video-ctrl { width: 42px; height: 42px; font-size: 16px; }

  .hero__figure {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 9 / 16;
    margin: clamp(32px, 8vw, 44px) auto 0;
    position: relative;
    align-self: auto;
    padding: 10px;
    border: 1px solid var(--ink-16);
  }
  .hero__figure::before {
    content: "";
    position: absolute;
    top: -8px;
    right: -8px;
    width: 56px;
    height: 56px;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    z-index: 1;
  }
  .hero__figure video {
    object-position: 50% 12%;
  }
  .hero__figure figcaption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    margin: 0;
    color: var(--paper);
    background: rgba(18, 18, 18, 0.72);
    padding: 8px 14px;
    backdrop-filter: blur(4px);
  }
  .hero__figure figcaption .rule { background: var(--gold); }
}
.rule { width: 22px; height: 1px; background: var(--gold); display: block; }

/* animações de entrada do hero */
.anim-rise { animation: ijRise 700ms var(--ease-out-expo) both; will-change: transform, opacity; }
.anim-rise--1 { animation-delay: 80ms; }
.anim-rise--2 { animation-delay: 160ms; }
.anim-rise--3 { animation-delay: 240ms; }
.anim-portrait { animation: ijPortrait 900ms ease-out 300ms both; will-change: transform, opacity; }

@keyframes ijRise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ijPortrait { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* revelação no scroll */
.js .reveal { opacity: 0; transform: translateY(25px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 450ms var(--ease-out-expo), transform 450ms var(--ease-out-expo); }
.reveal-off .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- dor e solução ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.split--center { align-items: center; }
.pain__title { margin-bottom: 26px; font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; }
.mb-3 { margin-bottom: 22px; }
.mb-4 { margin-bottom: clamp(30px, 4vw, 42px); }

/* ---------- problema vs solução (cards editoriais) ---------- */
.ps__head { max-width: 100%; margin-bottom: clamp(44px, 6vw, 76px); }
.ps__head .eyebrow { margin-bottom: clamp(18px, 2.6vw, 28px); }
.ps__head-row { display: flex; flex-direction: column; gap: clamp(24px, 3.2vw, 32px); }
.ps__head .pain__title { max-width: 20ch; line-height: 1.18; margin-bottom: 0; }
.ps__head .lead { color: var(--paper-82); max-width: 46ch; line-height: 1.75; }

.ps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.6vw, 48px);
}

.ps__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--paper-16);
  background: rgba(246, 245, 241, 0.03);
  overflow: hidden;
}
.ps__card--solution { border-color: rgba(169, 132, 60, 0.35); }

.ps__figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.ps__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 55%, rgba(18, 18, 18, 0.65) 100%);
}
.ps__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: transform 900ms var(--ease-out-expo);
  display: block;
}
.ps__card:hover .ps__figure img { transform: scale(1.045); }
.ps__card--problem .ps__figure img { object-position: 70% 40%; }
.ps__card--solution .ps__figure img { filter: grayscale(0.35) contrast(1.08) sepia(0.08); object-position: 30% 45%; }

.ps__content { padding: clamp(28px, 3.4vw, 42px); flex: 1; display: flex; flex-direction: column; }
.ps__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: clamp(14px, 2vw, 20px);
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper-70);
  border: 1px solid var(--paper-16);
}
.ps__tag--gold { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.ps__title { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; margin-bottom: clamp(18px, 2.2vw, 26px); max-width: 26ch; }
.ps__list { display: grid; gap: clamp(12px, 1.6vw, 16px); margin: 0 0 clamp(6px, 1vw, 10px); padding: 0; list-style: none; }
.ps__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-70);
  text-wrap: pretty;
}
.ps__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--paper-30);
}
.ps__card--solution .ps__list li::before { background: var(--gold); }

/* ---------- acordeão (áreas e FAQ) ---------- */
.head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.head-row h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 58px); max-width: 22ch; }
#areas .head-row h2 { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.2; }
#videos .head-row .pain__title { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.2; margin-bottom: 0; }
.head-row p { font-size: 14px; line-height: 1.6; color: var(--graphite); max-width: 34ch; }
#areas .head-row { align-items: center; }
#videos .head-row { align-items: center; }

.acc { border-top: 1px solid var(--ink-16); }
.acc__item { border-bottom: 1px solid var(--ink-16); }
.acc__btn {
  width: 100%;
  background: none;
  border: 0;
  padding: clamp(22px, 3vw, 32px) 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: color 200ms ease;
}
.acc__btn:hover { color: var(--gold); }
.acc__num { font-family: var(--font-display); font-size: 13px; color: var(--gold); letter-spacing: 0.06em; }
.acc__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.acc__name { font-family: var(--font-display); font-size: clamp(22px, 3.2vw, 40px); line-height: 1.1; }
.acc__tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--graphite); }
.acc__icon {
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
  display: inline-block;
  transition: transform 250ms ease;
  will-change: transform;
}
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(45deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height 420ms var(--ease-out-expo); }
.acc__inner { opacity: 0; transition: opacity 350ms ease-in-out; }
.acc__item.is-open .acc__inner { opacity: 1; }
.acc__services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 40px;
  padding-bottom: clamp(28px, 4vw, 40px);
  max-width: 1000px;
}
.acc__services p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--graphite);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2);
  align-items: baseline;
}
.acc__dash { width: 14px; height: 1px; background: var(--gold); display: block; transform: translateY(-4px); }

/* ---------- áreas de atuação: grid de cards editoriais premium ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 22px);
}
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: clamp(24px, 2.6vw, 34px);
  border: none;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  color: var(--paper);
  isolation: isolate;
}
.area-card__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--area-bg);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.1) brightness(0.62);
  transform: scale(1.06);
  transition: transform 1100ms var(--ease-out-expo), filter 600ms ease;
}
.area-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.15) 0%, rgba(18, 18, 18, 0.2) 40%, rgba(18, 18, 18, 0.92) 100%);
}
.area-card:hover .area-card__bg,
.area-card:focus-visible .area-card__bg { transform: scale(1); filter: grayscale(0.35) contrast(1.12) brightness(0.68); }

.area-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.area-card__num { font-family: var(--font-display); font-size: 14px; color: var(--gold); letter-spacing: 0.08em; }
.area-card__tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: var(--gold);
  padding: 5px 11px;
}
.area-card__bottom { display: flex; flex-direction: column; gap: 12px; }
.area-card__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08;
}
.area-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper-70);
  transition: color 250ms ease, gap 250ms ease;
}
.area-card:hover .area-card__cta,
.area-card:focus-visible .area-card__cta { color: var(--gold); gap: 12px; }

/* ---------- modal de serviços por área ---------- */
.area-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease-out-expo), visibility 320ms var(--ease-out-expo);
}
.area-modal-overlay.is-open { opacity: 1; visibility: visible; }

.area-modal {
  position: fixed;
  inset: 0;
  z-index: 9201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out-expo), visibility 320ms var(--ease-out-expo);
}
.area-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.area-modal__box {
  position: relative;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.98);
  transition: transform 380ms var(--ease-out-expo);
}
.area-modal.is-open .area-modal__box { transform: translateY(0) scale(1); }

.area-modal__close {
  position: absolute;
  top: clamp(14px, 2vw, 20px);
  right: clamp(14px, 2vw, 20px);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, 0.55);
  color: var(--paper);
  border: 1px solid var(--paper-30);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: border-color 200ms ease, color 200ms ease;
}
.area-modal__close:hover { border-color: var(--gold); color: var(--gold); }

.area-modal__content { padding: clamp(52px, 6vw, 68px) clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px); }
.area-modal__tag { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.area-modal__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; color: var(--paper); margin-bottom: clamp(22px, 3vw, 32px); }
.area-modal .acc__services { max-width: none; padding: 0; margin-bottom: clamp(20px, 2.7vw, 30px); }
.area-modal .acc__services p { color: var(--paper-70); }
.area-modal .acc__dash { background: var(--gold); }

body.area-modal-open { overflow: hidden; }

/* FAQ */
.faq__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.faq__head .pain__title { margin-bottom: 14px; }
.faq__head .lead { margin: 0 auto; max-width: 48ch; }
.faq-acc { border-top: 0; display: flex; flex-direction: column; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq-acc .acc__item {
  border: 1px solid var(--ink-16);
  background: var(--paper);
  transition: border-color 300ms ease, background 300ms ease, transform 300ms var(--ease-out-expo), box-shadow 300ms ease;
}
.faq-acc .acc__item:hover { border-color: var(--gold); transform: translateX(4px); }
.faq-acc .acc__item.is-open { border-color: var(--gold); background: #fffdf8; box-shadow: 0 12px 32px rgba(169, 132, 60, 0.12); }
.faq-acc .acc__item.is-open:hover { transform: none; }

/* PageSpeed fix: stagger de entrada do FAQ via classe CSS (evita forced reflow por style inline) */
.faq-acc.js-stagger .acc__item {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 450ms ease-out, transform 450ms ease-out;
}
.faq-acc.js-stagger .acc__item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.faq__btn {
  width: 100%;
  background: none;
  border: 0;
  padding: clamp(16px, 2vw, 20px) clamp(18px, 2.4vw, 24px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(12px, 2vw, 20px);
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: color 200ms ease;
}
.faq__btn:hover { color: var(--gold); }
.faq__num { font-family: var(--font-display); font-size: 12px; color: var(--gold); letter-spacing: 0.06em; }
.faq__q { font-family: var(--font-display); font-size: clamp(16px, 1.5vw, 19px); font-weight: 400; line-height: 1.3; }
.faq__icon {
  font-size: 16px;
  line-height: 1;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink-16);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 250ms ease, background 250ms ease, color 250ms ease;
}
.faq-acc .acc__item:hover .faq__icon { border-color: var(--gold); transform: scale(1.1); }
.faq-acc .acc__item.is-open:hover .faq__icon { transform: rotate(45deg); }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); border-color: var(--gold); background: var(--gold); color: var(--paper); }
.faq__answer {
  padding: 0 clamp(18px, 2.4vw, 24px) clamp(18px, 2.2vw, 22px) calc(12px + clamp(12px, 2vw, 20px) + clamp(18px, 2.4vw, 24px));
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 60ch;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 380ms ease 60ms, transform 380ms var(--ease-out-expo) 60ms;
}
.acc__item.is-open .faq__answer { opacity: 1; transform: translateY(0); }

/* ---------- encantamento (como trabalhamos) ---------- */
.ct { padding: clamp(48px, 6vw, 84px) 0; }
.ct__content .pain__title { font-size: clamp(26px, 3.8vw, 50px); }
.ct__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 4.4vw, 56px);
}
.ct__main { flex: 1 1 420px; min-width: 0; }
.ct__content { max-width: 640px; margin-bottom: clamp(28px, 3.6vw, 40px); }
.ct__figure {
  flex: 1 1 360px;
  max-width: 480px;
  width: min(clamp(340px, 40vw, 480px), 58vh);
  aspect-ratio: 3 / 4;
  margin: 0;
  position: relative;
}
@media (max-width: 899px) {
  .ct__main { display: contents; }
  .ct__content { order: 1; width: 100%; margin-bottom: 0; }
  .ct__figure { order: 2; flex: 0 0 auto; width: min(92%, 340px); max-width: 100%; aspect-ratio: 3 / 4; margin: 0 auto clamp(24px, 4vw, 32px); }
  .ct__steps { order: 3; width: 100%; }
}
.ct__figure::after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(169, 132, 60, 0.2), transparent 72%);
}
.ct__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.08); display: block; }
.ct__figure figcaption {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-60);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ct__figure figcaption .rule { background: var(--gold); }

.ct__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6vw, 28px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--paper-16);
}
.ct__step-num { display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 14px; color: var(--gold); letter-spacing: 0.06em; }
.ct__step h3 { margin-bottom: 6px; font-family: var(--font-display); font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; line-height: 1.2; }
.ct__step p { font-size: 13.5px; line-height: 1.55; color: var(--paper-70); text-wrap: pretty; }

/* ---------- sócios (cards interativos) ---------- */
#socios .head-row { margin-bottom: clamp(28px, 3.6vw, 40px); }
.team { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); }
.team__card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid transparent;
  transition: border-color 450ms ease;
}
.team__slides { position: relative; width: 100%; height: clamp(420px, 56vw, 620px); }
.team__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  filter: grayscale(1) contrast(1.05);
  transition: filter 700ms ease, transform 1100ms var(--ease-out-expo), opacity 500ms ease;
  display: block;
  opacity: 0;
  pointer-events: none;
}
.team__slides img.is-active { opacity: 1; pointer-events: auto; }

.team__dots {
  position: absolute;
  bottom: clamp(22px, 3vw, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.team__dots button {
  position: relative;
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 50%;
  background-color: var(--paper-30);
  transition: background-color 300ms ease, transform 300ms ease;
  cursor: default;
}
.team__dots button.is-active { background-color: var(--gold); transform: scale(1.3); }
/* Accessibility fix: touch target minimo 44x44px via pseudo-elemento invisivel, sem alterar o layout visual dos dots */
.team__dots button::before {
  content: "";
  position: absolute;
  inset: -19px;
}
.team__card:hover .team__dots,
.team__card:focus-within .team__dots { opacity: 0; }

.team__num {
  position: absolute;
  top: clamp(18px, 2.4vw, 26px);
  left: clamp(18px, 2.4vw, 26px);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.06em;
  transition: opacity 400ms ease;
}

.team__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.96) 0%, rgba(18, 18, 18, 0.55) 32%, rgba(18, 18, 18, 0) 62%);
  transition: opacity 500ms ease;
}

.team__panel {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(22px, 3vw, 32px) clamp(20px, 2.6vw, 28px) clamp(24px, 3.2vw, 32px);
  color: var(--paper);
  transform: translateY(calc(100% - 76px));
  transition: transform 550ms var(--ease-out-expo);
}
.team__panel h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; }
.team__oab { margin-bottom: 14px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity 400ms ease 60ms, transform 400ms var(--ease-out-expo) 60ms; }
.team__focus { margin-bottom: clamp(16px, 2.2vw, 22px); font-size: 14.5px; line-height: 1.6; color: var(--paper-82); max-width: 42ch; text-wrap: pretty; opacity: 0; transform: translateY(8px); transition: opacity 400ms ease 120ms, transform 400ms var(--ease-out-expo) 120ms; }
.team__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: color 250ms ease, gap 250ms ease, opacity 400ms ease 180ms, transform 400ms var(--ease-out-expo) 180ms;
  opacity: 0;
  transform: translateY(8px);
}
.team__link:hover { color: var(--gold); gap: 12px; }

/* estado expandido: hover em telas com ponteiro fino, sempre no toque/teclado */
.team__card:hover,
.team__card:focus-within {
  border-color: var(--gold);
}
.team__card:hover .team__slides img.is-active,
.team__card:focus-within .team__slides img.is-active { filter: grayscale(0.4) contrast(1.1); transform: scale(1.05); }
.team__card:hover .team__num,
.team__card:focus-within .team__num { opacity: 0; }
.team__card:hover .team__panel,
.team__card:focus-within .team__panel { transform: translateY(0); }
.team__card:hover .team__oab, .team__card:hover .team__focus, .team__card:hover .team__link,
.team__card:focus-within .team__oab, .team__card:focus-within .team__focus, .team__card:focus-within .team__link {
  opacity: 1;
  transform: translateY(0);
}

/* toque (sem hover fino): painel sempre aberto, sem depender de interação */
@media (hover: none) {
  .team__slides img.is-active { filter: grayscale(0.4) contrast(1.1); }
  .team__num { display: none; }
  .team__panel { transform: translateY(0); }
  .team__oab, .team__focus, .team__link { opacity: 1; transform: none; }
}

/* ---------- vídeos de conteúdo ---------- */
.vids { padding: clamp(36px, 4.6vw, 66px) 0 clamp(48px, 6vw, 84px); }
.vids__track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.vids__track::-webkit-scrollbar { height: 6px; }
.vids__track::-webkit-scrollbar-thumb { background: var(--gold); }
.vids__track::-webkit-scrollbar-track { background: transparent; }

.vid-card {
  flex: 0 0 auto;
  width: clamp(160px, 26vw, 220px);
  scroll-snap-align: start;
}
.vid-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--paper-16);
  background: var(--ink);
  overflow: hidden;
  transition: border-color 350ms ease;
}
.vid-card__frame:hover { border-color: var(--gold); }
.vid-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter 500ms ease;
}
.vid-card.is-playing .vid-card__video { filter: grayscale(0) contrast(1.02); }

.vid-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: rgba(18, 18, 18, 0.15);
  cursor: pointer;
  z-index: 2;
}
.vid-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  background: var(--gold);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: transform 300ms var(--ease-out-expo), opacity 250ms ease;
}
.vid-card__play:hover .vid-card__icon { transform: scale(1.08); }
.vid-card.is-playing .vid-card__play { opacity: 0; pointer-events: none; }

.vid-card__controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.75), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.vid-card.is-playing .vid-card__controls { opacity: 1; pointer-events: auto; }
.vid-card__ctrl {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  color: var(--paper);
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid var(--paper-30);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.vid-card__ctrl:hover { border-color: var(--gold); background: rgba(18, 18, 18, 0.75); }
@media (max-width: 699px) {
  .vid-card { width: clamp(200px, 58vw, 260px); }
  .vid-card__icon { width: 64px; height: 64px; font-size: 18px; }
  .vid-card__ctrl { width: 38px; height: 38px; font-size: 16px; }
}

.vid-card__label { margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--paper-82); text-wrap: pretty; }

/* fullscreen nativo: garante que o vídeo preencha bem a tela */
.vid-card__video:fullscreen { object-fit: contain; background: #000; }

/* ---------- depoimentos ---------- */
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- mural de depoimentos ---------- */
.wall__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.wall__head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.2; color: var(--paper); max-width: 20ch; margin: 0; }
.wall__track {
  display: flex;
  overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 0 8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}
.wall__seq {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  animation: wall-marquee 48s linear infinite;
  padding-left: clamp(14px, 2vw, 22px);
}
.wall__track:hover .wall__seq { animation-play-state: paused; }
@keyframes wall-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.wall__card {
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 300px);
  margin: 0;
  position: relative;
  padding: clamp(22px, 2.6vw, 30px) clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--paper-16);
  background: var(--ink);
  opacity: 1;
  transform: none;
  transition: border-color 300ms ease;
}
.wall__card:hover { border-color: var(--gold); }
@media (max-width: 699px) {
  .wall__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-overflow-scrolling: touch;
  }
  .wall__seq { animation: none; padding-left: var(--gutter); padding-right: var(--gutter); }
  .wall__seq:last-child { display: none; }
  .wall__card { width: min(84vw, 320px); scroll-snap-align: start; }
}
.wall__quote-mark {
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: rgba(169, 132, 60, 0.16);
  pointer-events: none;
}
.wall__text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: var(--paper-82); text-wrap: pretty; }
.wall__foot { display: flex; flex-direction: column; gap: 4px; }
.wall__stars { font-size: 11px; color: var(--gold); letter-spacing: 0.12em; margin-bottom: 2px; }
.wall__name { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); font-weight: 500; }
.wall__when { font-size: 11.5px; color: var(--paper-60); }

/* ---------- localização ---------- */
.local { position: relative; display: flex; flex-direction: column; padding: clamp(32px, 6vw, 48px) 0; background: var(--paper); }
.local__map { order: 2; position: relative; height: 320px; width: calc(100% - 32px); margin: clamp(20px, 3vw, 28px) auto 0; background: var(--graphite); }
.local__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.local__card {
  order: 1;
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  margin: 0 auto;
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.22);
}
@media (min-width: 900px) {
  .local { display: block; }
  .local { padding: 0; }
  .local { height: clamp(620px, 85vh, 820px); overflow: hidden; }
  .local__map { position: absolute; inset: 0; height: auto; width: auto; margin: 0; }
  .local__card {
    position: absolute;
    top: clamp(24px, 4vw, 48px);
    right: clamp(16px, 4vw, 48px);
    margin: 0;
    width: min(400px, calc(100% - 32px));
    max-height: calc(100% - clamp(48px, 8vw, 96px));
    overflow-y: auto;
  }
}
.local__card h2 { margin-bottom: clamp(16px, 2vw, 22px); font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.local__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
  margin-bottom: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-16);
}
.local__rows dt { margin-bottom: 5px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.local__rows dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.local__rows a { color: var(--ink); border-bottom: 1px solid var(--gold); transition: color 200ms ease; }
.local__rows a:hover { color: var(--gold); }
.local__card .row-actions { gap: 10px; }

/* ---------- formulário ---------- */
.cta__quote {
  margin: clamp(32px, 4vw, 44px) 0 0;
  padding: clamp(20px, 2.4vw, 26px) clamp(22px, 2.6vw, 28px);
  border-left: 2px solid var(--gold);
  background: rgba(246, 245, 241, 0.03);
  max-width: 46ch;
}
.cta__quote-mark { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--gold); }
.cta__quote blockquote { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: var(--paper-82); text-wrap: pretty; }
.cta__quote figcaption { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-70); }
.cta__quote-stars { color: var(--gold); letter-spacing: 0.1em; margin-right: 6px; }
.cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 clamp(28px, 3.6vw, 40px);
  padding: 0;
  list-style: none;
}
.cta__trust li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper-70);
}
.cta__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--gold);
}
.form {
  display: grid;
  gap: var(--sp-3);
  background: rgba(246, 245, 241, 0.03);
  border: 1px solid var(--paper-16);
  padding: clamp(28px, 3.4vw, 44px);
}
.form label { display: grid; gap: 8px; }
.form__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-70); }
.form input, .form textarea, .form select {
  background: rgba(246, 245, 241, 0.04);
  border: 1px solid var(--paper-16);
  color: var(--paper);
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
  border-radius: 0;
}
.form select { background: rgba(246, 245, 241, 0.04); }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); background: rgba(169, 132, 60, 0.06); }
.form input::placeholder, .form textarea::placeholder { color: rgba(246, 245, 241, 0.35); }
.form__error { display: none; font-size: 12.5px; color: var(--gold); }
.form__error.is-shown { display: block; }
.form [aria-invalid="true"] { border-color: var(--gold); }
.form__submit { justify-self: stretch; margin-top: 8px; }
.form__success { display: none; font-size: 14px; line-height: 1.6; color: var(--gold); max-width: 46ch; }
.form__success.is-shown { display: block; }
#contato { padding: clamp(40px, 5vw, 64px) 0; }
.cta__section { position: relative; }
.cta__section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(180deg, rgba(18, 18, 18, 0.82), rgba(18, 18, 18, 0.9)), var(--cta-bg);
  background-size: cover;
  background-position: 97.5% center;
  transform: scaleX(-1);
}
@media (min-width: 900px) {
  .cta__section::before { background-position: center; }
}
.cta__section > .wrap { position: relative; z-index: 1; }
.form--card {
  background: var(--paper);
  border: 0;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.form--card .form__label { color: var(--graphite); }
.form--card input, .form--card textarea, .form--card select {
  background: var(--paper);
  border: 1px solid var(--ink-16);
  color: var(--ink);
}
.form--card input:focus, .form--card textarea:focus, .form--card select:focus { border-color: var(--gold); background: rgba(169, 132, 60, 0.05); }
.form--card input::placeholder, .form--card textarea::placeholder { color: rgba(18, 18, 18, 0.35); }
.form--card .form__success { color: var(--gold); }
.cta__title { margin-bottom: 26px; font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.08; }

/* ---------- rodapé ---------- */
.footer { background: var(--paper); padding: clamp(60px, 8vw, 100px) 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: clamp(44px, 6vw, 72px);
}
.footer__logo { height: 74px; width: auto; margin-bottom: var(--sp-3); mix-blend-mode: multiply; }
.footer__about { font-size: 14px; line-height: 1.65; color: var(--graphite); max-width: 34ch; text-wrap: pretty; margin-bottom: 18px; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { display: inline-flex; color: var(--graphite); transition: color 200ms ease, transform 200ms ease; }
.footer__social a:hover { color: var(--gold); transform: translateY(-2px); }
.footer__title { margin-bottom: 18px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.footer__list { display: grid; gap: 14px; }
.footer__list--nav { gap: 12px; }
.footer__contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2);
  align-items: start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.footer__contact i { font-style: normal; color: var(--gold); }
.footer__contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer__contact:hover, .footer__nav-link:hover { color: var(--gold); }
.footer__nav-link { font-size: 14.5px; color: var(--ink); }
.footer__oab { font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.footer__disclaimer { margin-top: var(--sp-3); font-size: 12.5px; line-height: 1.6; color: var(--graphite); }
.credits {
  border-top: 1px solid var(--ink-16);
  padding: 26px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--graphite);
}
.credits a { font-weight: 600; }

.credits__left { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.credits__legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.credits__right { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.credits__legal-link { font-weight: 500 !important; }
.credits__cookie-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500 !important;
  color: var(--graphite);
}
.credits__cookie-link:hover { color: var(--gold); }
.credits__cookie-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 26px;
  height: 13px;
  background: var(--ink-16);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 200ms ease;
  padding: 2px;
  font-size: 7px;
  font-weight: 700;
  flex: 0 0 auto;
}
.credits__cookie-check { color: #2f7d4f; margin-left: 2px; }
.credits__cookie-x { color: #b23b3b; margin-left: auto; margin-right: 2px; }
.credits__cookie-dot {
  position: absolute;
  left: 2px;
  width: 9px;
  height: 9px;
  background: #9a9a9a;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  transition: left 200ms ease, background 200ms ease;
}
.credits__cookie-icon.active .credits__cookie-dot { left: 14px; background: var(--gold); }
.credits__cookie-icon.inactive .credits__cookie-dot { left: 2px; background: #9a9a9a; }
.credits__cookie-link:hover .credits__cookie-icon { border-color: var(--gold); }
.credits__cookie-link:hover .credits__cookie-dot { box-shadow: 0 0 6px rgba(169, 132, 60, 0.5); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- media queries (mobile-first) ---------- */
@media (min-width: 600px) {
  .acc__services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .nav__link { display: inline-flex; }
  .nav__burger { display: none; }
  .nav__cta { display: inline-flex; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps__card--solution { transform: translateY(-14px); }
  .ps__head-row { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: clamp(48px, 6vw, 90px); }
  .ps__head .pain__title { flex: 1 1 320px; padding-top: 6px; }
  .ps__head .lead { flex: 1 1 320px; max-width: 38ch; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .acc__services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

/* ═══════════════════════════════════════════════════════
   WHATSAPP PREMIUM — Balão + botão flutuante (AG5 V4)
═══════════════════════════════════════════════════════ */
.wa-premium-container {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 2000;
  font-family: var(--font-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(169, 132, 60, .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(169, 132, 60, .35);
  border-bottom: 1px solid rgba(169, 132, 60, .35);
  transform: rotate(45deg);
  border-bottom-right-radius: 4px;
  z-index: -1;
}

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

.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; }
}

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

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

/* Botão flutuante redondo */
.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 (Compliance Mode: fica sem uso via JS neste projeto) */
.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); }

.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 — evita forced reflow via inline style) */
.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; }
}
