/* =====================================================================
   Vasconcelos & Mendes — landing de advocacia
   Paleta: tinta azul-preta + bronze patinado. Tema escuro por padrão,
   tema claro (papel) disponível pelo botão da navegação.
   ===================================================================== */

/* --- tokens: tema escuro (padrão da marca) --------------------------- */
:root {
  --ink:        #0A0F17;
  --ink-deep:   #070B11;
  --surface:    #0F1520;
  --surface-2:  #141C29;
  --text:       #ECE7DE;
  --text-dim:   #A5AEBD;
  --text-mute:  #6F7A8B;
  --bronze:     #B08D57;
  --bronze-lit: #D9B87C;
  --bronze-ink: #0A0F17;
  --line:       rgba(176, 141, 87, .18);
  --line-soft:  rgba(236, 231, 222, .09);
  --glow:       rgba(176, 141, 87, .16);
  --shade:      0 24px 60px rgba(0, 0, 0, .55);
  --img-tone:   .82;
  --danger:     #E0785F;
  --icon-sun:   none;
  --icon-moon:  block;
  --hero-photo: grayscale(.9) contrast(1.05) brightness(.42);
  --tile-photo: grayscale(.65) brightness(.6);
  --tile-photo-hover: grayscale(.25) brightness(.68);
  --hero-veil:
    radial-gradient(120% 90% at 76% 46%, transparent 0%, var(--ink) 74%),
    linear-gradient(100deg, var(--ink) 6%, color-mix(in srgb, var(--ink) 72%, transparent) 46%, transparent 74%),
    linear-gradient(to top, var(--ink) 2%, transparent 34%);

  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --s-1: .5rem;
  --s-2: .75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4.5rem;
  --s-8: clamp(4.5rem, 3rem + 7vw, 9rem);

  --t-hero: clamp(2.35rem, 1.3rem + 3.9vw, 4.35rem);
  --t-h2:   clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  --t-h3:   clamp(1.1rem, 1rem + .5vw, 1.35rem);
  --t-lead: clamp(1.02rem, .97rem + .35vw, 1.18rem);
  --t-body: 1rem;
  --t-small:.875rem;
  --t-label:.6875rem;

  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --edge: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- tokens: tema claro (papel) -------------------------------------- */
:root[data-theme="light"] {
  --ink:        #F3EFE7;
  --ink-deep:   #E8E2D6;
  --surface:    #FBF8F2;
  --surface-2:  #EDE7DB;
  --text:       #17202E;
  --text-dim:   #515B6C;
  --text-mute:  #7C8494;
  --bronze:     #8A6A34;
  --bronze-lit: #6E5327;
  --bronze-ink: #FBF8F2;
  --line:       rgba(138, 106, 52, .24);
  --line-soft:  rgba(23, 32, 46, .1);
  --glow:       rgba(138, 106, 52, .12);
  --shade:      0 20px 48px rgba(23, 32, 46, .12);
  --img-tone:   1;
  --danger:     #B4432A;
  --icon-sun:   block;
  --icon-moon:  none;
  --hero-photo: grayscale(1) contrast(.82) brightness(1.24);
  --tile-photo: grayscale(.55) brightness(.66);
  --tile-photo-hover: grayscale(.15) brightness(.74);
  --hero-veil:
    radial-gradient(120% 90% at 78% 46%, transparent 0%, var(--ink) 68%),
    linear-gradient(100deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 88%, transparent) 62%, color-mix(in srgb, var(--ink) 45%, transparent) 88%),
    linear-gradient(to top, var(--ink) 4%, transparent 40%);
}
/* mesmo conjunto de tokens para quem deixou o sistema no modo claro e ainda
   nao escolheu um tema aqui; a pagina publicada fixa data-theme="dark" */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --ink:        #F3EFE7;
  --ink-deep:   #E8E2D6;
  --surface:    #FBF8F2;
  --surface-2:  #EDE7DB;
  --text:       #17202E;
  --text-dim:   #515B6C;
  --text-mute:  #7C8494;
  --bronze:     #8A6A34;
  --bronze-lit: #6E5327;
  --bronze-ink: #FBF8F2;
  --line:       rgba(138, 106, 52, .24);
  --line-soft:  rgba(23, 32, 46, .1);
  --glow:       rgba(138, 106, 52, .12);
  --shade:      0 20px 48px rgba(23, 32, 46, .12);
  --img-tone:   1;
  --danger:     #B4432A;
  --icon-sun:   block;
  --icon-moon:  none;
  --hero-photo: grayscale(1) contrast(.82) brightness(1.24);
  --tile-photo: grayscale(.55) brightness(.66);
  --tile-photo-hover: grayscale(.15) brightness(.74);
  --hero-veil:
    radial-gradient(120% 90% at 78% 46%, transparent 0%, var(--ink) 68%),
    linear-gradient(100deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 88%, transparent) 62%, color-mix(in srgb, var(--ink) 45%, transparent) 88%),
    linear-gradient(to top, var(--ink) 4%, transparent 40%);
  }
}



/* --- reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.sprite { display: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 2px solid var(--bronze-lit);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--bronze); color: var(--bronze-ink);
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* --- rótulos e títulos ----------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: .875rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  max-width: 5rem;
  height: 1px;
  background: var(--line);
}

.sec__t {
  font-family: var(--serif);
  font-size: var(--t-h2);
  letter-spacing: -.015em;
}
.sec__t em { font-style: italic; color: var(--bronze-lit); }

/* --- botões ----------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .875rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--edge);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--mono);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; stroke-width: 1.6; }
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  --btn-bg: var(--bronze);
  --btn-fg: var(--bronze-ink);
  --btn-bd: var(--bronze);
  font-weight: 500;
}
.btn--gold:hover { --btn-bg: var(--bronze-lit); --btn-bd: var(--bronze-lit); }

.btn--ghost:hover { --btn-bd: var(--bronze); --btn-fg: var(--bronze-lit); }

.btn--lg { padding: 1.0625rem 1.875rem; }
.btn--full { width: 100%; padding-block: 1.0625rem; }

.lnk {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.lnk svg { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.lnk:hover svg { transform: translateX(5px); }

/* --- navegação -------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 82px;
  transition: min-height .35s var(--ease);
}
.nav.is-stuck .nav__in { min-height: 68px; }

.brand { display: flex; align-items: center; gap: .8125rem; }
.brand__mark { width: 34px; height: 34px; color: var(--bronze); flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  letter-spacing: .01em;
}
.brand__name em { font-style: italic; color: var(--bronze); }
.brand__sub {
  font-family: var(--mono);
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.nav__links { display: flex; gap: var(--s-4); margin-left: auto; }
.nav__links a {
  font-size: var(--t-small);
  color: var(--text-dim);
  padding-block: .375rem;
  position: relative;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__end { display: flex; align-items: center; gap: var(--s-2); }

.tglt {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--edge);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.tglt:hover { color: var(--bronze-lit); border-color: var(--bronze); }
.tglt svg { width: 17px; height: 17px; }
.tglt__s { display: var(--icon-sun); }
.tglt__m { display: var(--icon-moon); }

.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--edge);
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block; height: 1px; width: 100%;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 7.5rem 6rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../assets/img/hero-skyline.jpg") center 30% / cover no-repeat;
  filter: var(--hero-photo);
  transform: scale(1.06);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-veil);
}

.hero__in {
  position: relative;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.hero__h1 {
  font-family: var(--serif);
  font-size: var(--t-hero);
  letter-spacing: -.025em;
  line-height: 1.02;
}
.hero__h1 em {
  font-style: italic;
  color: var(--bronze-lit);
}

.hero__p {
  font-size: var(--t-lead);
  color: var(--text-dim);
  max-width: 34rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-1); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero__trust svg { width: 14px; height: 14px; color: var(--bronze); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.75rem;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: start center;
  padding-top: 7px;
}
.hero__scroll span {
  width: 2px; height: 7px;
  background: var(--bronze);
  border-radius: 2px;
  animation: drop 1.9s var(--ease) infinite;
}
@keyframes drop {
  0%, 15% { transform: translateY(0); opacity: 0; }
  35% { opacity: 1; }
  70%, 100% { transform: translateY(13px); opacity: 0; }
}

/* --- números ---------------------------------------------------------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  border-left: 1px solid var(--line);
  padding: var(--s-6) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: .375rem;
  align-items: center;
  text-align: center;
}
.stat:first-child { border-left: 0; }
.stat__n {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem);
  line-height: 1;
  color: var(--bronze-lit);
  font-variant-numeric: tabular-nums;
}
.stat__l {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* --- seções ----------------------------------------------------------- */
.sec { padding-block: var(--s-8); }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec--dark { background: var(--ink-deep); border-block: 1px solid var(--line); }

.sec__head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 40rem;
  margin-bottom: var(--s-6);
}
.sec__p { color: var(--text-dim); font-size: var(--t-lead); }

/* --- áreas de atuação -------------------------------------------------- */
.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area {
  background: var(--ink);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  position: relative;
  transition: background-color .4s var(--ease);
}
.area::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.area:hover { background: var(--surface-2); }
.area:hover::before { transform: scaleX(1); }
.area__i {
  width: 30px; height: 30px;
  color: var(--bronze);
  stroke-width: 1.2;
  margin-bottom: var(--s-2);
}
.area h3 { font-family: var(--serif); font-size: var(--t-h3); }
.area p { color: var(--text-dim); font-size: var(--t-small); flex: 1; }
.area .lnk { margin-top: var(--s-2); }

/* --- split escritório -------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(.35) brightness(var(--img-tone));
  border: 1px solid var(--line);
}
.quote {
  position: absolute;
  right: clamp(-2.5rem, -3vw, -1rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  max-width: 20rem;
  margin: 0;
  padding: var(--s-4);
  background: var(--bronze);
  color: var(--bronze-ink);
  box-shadow: var(--shade);
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.quote figcaption {
  margin-top: var(--s-2);
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .78;
}
.split__text { display: flex; flex-direction: column; gap: var(--s-3); }
.split__text p { color: var(--text-dim); }

.checks { display: flex; flex-direction: column; gap: .75rem; margin-top: var(--s-2); }
.checks li {
  position: relative;
  padding-left: 1.875rem;
  font-size: var(--t-small);
  color: var(--text);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 13px; height: 7px;
  border-left: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze);
  transform: rotate(-45deg);
}

/* --- mosaico diferenciais --------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.tile {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: var(--tile-photo);
  transform: scale(1.02);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 11, 17, .96) 4%, rgba(7, 11, 17, .6) 48%, rgba(7, 11, 17, .1) 82%);
}
.tile:hover img { transform: scale(1.08); filter: var(--tile-photo-hover); }
.tile__c { padding: var(--s-4); display: flex; flex-direction: column; gap: .5rem; }
.tile__c h3 { font-family: var(--serif); font-size: var(--t-h3); color: #ECE7DE; }
.tile__c p { font-size: var(--t-small); color: rgba(236, 231, 222, .76); max-width: 34rem; }

/* --- processo --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: var(--s-5) var(--s-4) var(--s-5) 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .625rem;
  position: relative;
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: var(--s-4); }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 42px; height: 3px;
  background: var(--bronze);
}
.step:not(:first-child)::before { left: 0; }
.step__n {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .2em;
  color: var(--bronze);
}
.step h3 { font-family: var(--serif); font-size: var(--t-h3); }
.step p { font-size: var(--t-small); color: var(--text-dim); }

/* --- equipe ----------------------------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: var(--s-4);
}
.member {
  border: 1px solid var(--line);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.member:hover { border-color: var(--bronze); transform: translateY(-4px); }
.member__ph { overflow: hidden; }
.member__ph img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(.85) contrast(1.05) brightness(var(--img-tone));
  transition: filter .5s var(--ease), transform .7s var(--ease);
}
.member:hover .member__ph img { filter: grayscale(0) brightness(1); transform: scale(1.04); }
.member__c { padding: var(--s-4); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.member__c h3 { font-family: var(--serif); font-size: var(--t-h3); }
.member__role { font-size: var(--t-small); color: var(--bronze); }
.member__bio { font-size: var(--t-small); color: var(--text-dim); flex: 1; }
.member__oab {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .16em;
  color: var(--text-mute);
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
}

/* --- depoimentos ------------------------------------------------------ */
.slider { position: relative; overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .7s var(--ease);
}
.slide {
  flex: 0 0 100%;
  margin: 0;
  padding-right: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.slide blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  line-height: 1.4;
  font-style: italic;
  max-width: 48rem;
  position: relative;
  padding-left: clamp(1.75rem, 4vw, 3rem);
}
.slide blockquote::before {
  content: "";
  position: absolute;
  left: 0; top: .25em; bottom: .25em;
  width: 2px;
  background: var(--bronze);
}
.slide figcaption {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-left: clamp(1.75rem, 4vw, 3rem);
}
.slide figcaption strong { font-weight: 500; }
.slide figcaption span {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.slider__ui {
  display: flex;
  gap: .625rem;
  margin-top: var(--s-5);
  padding-left: clamp(1.75rem, 4vw, 3rem);
}
.sdot {
  width: 34px; height: 2px;
  padding: 0;
  border: 0;
  background: var(--line-soft);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.sdot.is-on { background: var(--bronze); }

/* --- dúvidas ---------------------------------------------------------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq__head { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; position: sticky; top: 7rem; }
.faq__head p { color: var(--text-dim); }
.faq__head .btn { margin-top: var(--s-2); }

.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  transition: color .25s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--bronze-lit); }
.qa summary svg {
  width: 17px; height: 17px;
  flex: none;
  color: var(--bronze);
  transition: transform .35s var(--ease);
}
.qa[open] summary svg { transform: rotate(45deg); }
.qa__b { padding-bottom: var(--s-4); }
.qa__b p { color: var(--text-dim); font-size: var(--t-small); max-width: 44rem; }

/* --- contato ---------------------------------------------------------- */
.cta { background: var(--surface); border-top: 1px solid var(--line); }
.cta__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.cta__text { display: flex; flex-direction: column; gap: var(--s-3); }
.cta__text > p { color: var(--text-dim); }

.contacts { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); }
.contacts li {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: var(--t-small);
  color: var(--text-dim);
}
.contacts svg { width: 17px; height: 17px; color: var(--bronze); flex: none; }
.contacts a { transition: color .25s var(--ease); }
.contacts a:hover { color: var(--bronze-lit); }

.form {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  box-shadow: var(--shade);
}
.form__t {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: .4375rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8125rem .9375rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--edge);
  font-size: var(--t-small);
  font-weight: 300;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--bronze);
  outline: none;
}
.field select { appearance: none; cursor: pointer; }

.err {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  color: var(--danger);
  min-height: 0;
}
.is-bad input, .is-bad select, .is-bad textarea { border-color: var(--danger); }

.consent { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: .3rem; accent-color: var(--bronze); flex: none; width: 15px; height: 15px; }
.consent span { font-size: .8125rem; color: var(--text-dim); line-height: 1.55; }
.consent strong { color: var(--text); font-weight: 500; }

.form__note {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
}
.form__ok { font-size: var(--t-small); color: var(--bronze-lit); text-align: center; }

/* --- rodapé ----------------------------------------------------------- */
.foot { background: var(--ink-deep); border-top: 1px solid var(--line); padding-top: var(--s-7); }
.foot__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: var(--s-5);
  padding-bottom: var(--s-6);
}
.foot__brand .brand__mark { width: 38px; height: 38px; color: var(--bronze); margin-bottom: var(--s-3); }
.foot__name { font-family: var(--serif); font-size: 1.25rem; }
.foot__sub {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: .25rem;
}
.foot__legal { margin-top: var(--s-3); font-size: .75rem; color: var(--text-mute); max-width: 26rem; line-height: 1.6; }

.foot__col { display: flex; flex-direction: column; gap: .5rem; }
.foot__col h4 {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: .375rem;
}
.foot__col a, .foot__col p { font-size: var(--t-small); color: var(--text-dim); }
.foot__col a { transition: color .25s var(--ease); width: fit-content; }
.foot__col a:hover { color: var(--bronze-lit); }

.foot__end {
  border-top: 1px solid var(--line);
  padding-block: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  justify-content: space-between;
}
.foot__end p { font-size: .75rem; color: var(--text-mute); }
.foot__demo { max-width: 34rem; }

/* --- flutuantes -------------------------------------------------------- */
.wa {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.25rem;
  background: var(--bronze);
  color: var(--bronze-ink);
  border-radius: var(--edge);
  font-family: var(--mono);
  font-size: var(--t-small);
  letter-spacing: .04em;
  box-shadow: var(--shade);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.wa:hover { transform: translateY(-3px); background: var(--bronze-lit); }
.wa svg { width: 19px; height: 19px; stroke-width: 1.4; }

.top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: calc(clamp(1rem, 3vw, 1.75rem) + 4rem);
  z-index: 80;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--surface-2) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--edge);
  color: var(--text-dim);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .25s var(--ease);
}
.top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.top:hover { color: var(--bronze-lit); }
.top svg { width: 17px; height: 17px; }

/* --- animação de entrada ---------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--rd, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* telas baixas (notebook 768px): o hero precisa caber sem cortar a CTA */
@media (min-width: 901px) and (max-height: 880px) {
  .hero { padding-block: 6.5rem 4.25rem; }
  .hero__in { gap: var(--s-3); }
  .hero__h1 { font-size: clamp(2.1rem, 1rem + 2.4vw, 3.35rem); }
  .hero__p { font-size: 1rem; max-width: 32rem; }
  .hero__trust { margin-top: 0; padding-top: var(--s-3); }
}

/* --- responsivo -------------------------------------------------------- */
@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 82px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: var(--s-3) var(--pad) var(--s-5);
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .4s var(--ease);
    margin-left: 0;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding-block: var(--s-3); border-bottom: 1px solid var(--line-soft); font-size: 1.0625rem; }
  .burger { display: flex; }
  .nav__end { margin-left: auto; }
  .nav__cta { display: none; }

  .split, .cta__grid, .faq-wrap { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .quote { right: 1rem; max-width: 17rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .tile--tall { grid-row: span 1; }
  .tile--wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  .hero { min-height: 92svh; padding-block: 7rem 4rem; }
  .hero__trust { flex-direction: column; gap: .625rem; }
  .areas, .mosaic, .steps { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
  .tile--wide { grid-column: span 1; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .step:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: .9375rem; white-space: nowrap; }
  .brand__mark { width: 30px; height: 30px; }
  .wa span { display: none; }
  .wa { padding: .875rem; }
  .hero__scroll { display: none; }
}

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