/* ==========================================================
   CLÍNICA VÉRTICE — V3
   Editorial · Verde profundo · Fraunces + Inter
   ========================================================== */

:root {
  --bone: #F6F3EC;
  --bone-alt: #EDE7DB;
  --ink: #161C17;
  --ink-soft: #242C25;
  --forest: #1E3A2C;
  --forest-deep: #142720;
  --sage: #8CA294;
  --sage-soft: #C3D1C7;
  --clay: #B96A45;
  --wa: #25D366;
  --muted: #6B7268;
  --line: rgba(22, 28, 23, .14);
  --line-soft: rgba(22, 28, 23, .08);
  --white: #fff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top:calc(var(--header-h) + 18px);
}

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

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s
}

button {
  font-family: inherit
}

.svg-sprite {
  display: none
}

.ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.025em;
  margin: 0;
  line-height: 1.04;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem)
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.06
}

h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -.015em
}

h4 {
  font-size: 1rem;
  line-height: 1.3
}

p {
  margin: 0 0 1rem;
  color: var(--muted)
}

p:last-child {
  margin-bottom: 0
}

em {
  font-style: italic;
  color: var(--clay)
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px
}

.section {
  padding: 110px 0
}

.section-alt {
  background: var(--bone-alt)
}

.section-deep {
  background: var(--forest);
  color: var(--bone)
}

.section-deep h2,
.section-deep h3 {
  color: var(--bone)
}

.section-deep p {
  color: rgba(246, 243, 236, .72)
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 10px 18px;
  z-index: 300
}

.skip-link:focus {
  left: 16px;
  top: 16px
}

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  padding: 17px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.btn-solid {
  background: var(--forest);
  color: var(--bone)
}

.btn-solid:hover {
  background: var(--clay);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(185, 106, 69, .7)
}

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink)
}

.btn-line:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bone)
}

.btn-sm {
  padding: 12px 22px;
  font-size: 11px
}

.btn-full {
  width: 100%
}

.section-deep .btn-line {
  border-color: rgba(246, 243, 236, .3);
  color: var(--bone)
}

.section-deep .btn-line:hover {
  background: var(--bone);
  color: var(--forest);
  border-color: var(--bone)
}

/* ===================== TAGS / SEC HEAD ===================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--clay);
  margin-bottom: 26px;
}

.tag::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--clay)
}

.sec-head {
  margin-bottom: 64px;
  max-width: 720px
}

.sec-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--clay);
}

.sec-head p {
  margin-top: 20px;
  font-size: 1.02rem;
  line-height: 1.78;
  max-width: 58ch
}

.sec-head-light .sec-num {
  color: var(--sage)
}

.sec-head-light p {
  color: rgba(246, 243, 236, .66)
}

.stars {
  color: #D9A15B;
  letter-spacing: 3px;
  font-size: 13px
}

/* ===================== HEADER FLUTUANTE ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  pointer-events: none;
  transition: padding .4s var(--ease);
}

.site-header.is-stuck {
  padding: 10px 0
}

.header-shell {
  pointer-events: auto;
  position: relative;
  z-index: 101;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease),
    box-shadow .4s var(--ease), height .4s var(--ease), backdrop-filter .4s;
}

.site-header.is-stuck .header-shell {
  height: 62px;
  background: rgba(246, 243, 236, .82);
  border-color: var(--line-soft);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 18px 40px -24px rgba(22, 28, 23, .4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--bone);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  font-variation-settings: "WONK" 1;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1
}

.brand-name strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
}

.brand-name small {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted)
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 30px
}

.nav-desktop a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.005em;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--clay);
  transition: right .3s var(--ease);
}

.nav-desktop a:hover::after {
  right: 0
}

.header-cta {
  display: none;
  position: relative;
  z-index: 102;
  padding: 14px 26px;
  font-size: 11px
}

.burger {
  position: relative;
  z-index: 102;
  display: grid;
  gap: 5px;
  background: none;
  border: 0;
  padding: 11px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg)
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg)
}

/* ===================== NAV MOBILE ===================== */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: calc(var(--header-h) + 20px) 24px;
  background: var(--bone);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  text-align: center;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  transform: none
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 340px
}

.nav-mobile nav a {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.2;
  text-align: center;
}

.nav-mobile .btn {
  width: 100%;
  max-width: 340px
}

.nav-mobile-foot {
  display: flex;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 340px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

html.nav-open,
body.nav-open {
  overflow: hidden
}

body.nav-open {
  overscroll-behavior: none
}

body.nav-open .site-header .header-shell {
  background: var(--bone);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 162, 148, .28), transparent 68%);
  pointer-events: none;
  filter: blur(20px);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: start;
}

.hero-copy {
  max-width: 620px
}

.hero h1 {
  margin-bottom: 26px;
  color: var(--ink)
}

.hero-sub {
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.72;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "WONK" 1;
}

.trust-item span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted)
}

.trust-sep {
  width: 1px;
  height: 34px;
  background: var(--line)
}

/* Imagem quadrada com moldura deslocada, sombra e flutuação leve */
.hero-figure {
  position: relative;
  margin: 0;
  justify-self: end;
  align-self: start;
  width: 100%;
  max-width: 460px;
  isolation: isolate;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 1px solid var(--clay);
  border-radius: 3px;
  z-index: -1;
  animation: heroFloatBorder 9s ease-in-out infinite alternate;
}

.hero-frame {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 3px;
  border: 6px solid var(--bone);
  box-shadow:
    0 40px 80px -34px rgba(22, 40, 30, .55),
    0 16px 32px -20px rgba(22, 28, 23, .35);
  animation: heroFloat 9s ease-in-out infinite alternate;
}

/* A propriedade translate mantém a flutuação independente do transform
   aplicado pelo reveal, evitando conflito entre as duas animações. */
@keyframes heroFloat {
  from {
    translate: 0 0
  }

  to {
    translate: 0 -14px
  }
}

@keyframes heroFloatBorder {
  from {
    translate: 0 0
  }

  to {
    translate: 0 -14px
  }
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s var(--ease), transform 8s linear;
}

/* Indicador */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(22, 28, 23, .26);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(246, 243, 236, .48);
  transition: background .3s, width .3s var(--ease);
}

.hero-dot.is-active {
  background: var(--bone);
  width: 18px;
  border-radius: 999px
}

.hero-dot:focus-visible {
  outline: 1px solid var(--bone);
  outline-offset: 2px
}

.hero-caption {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  text-align: right;
  transition: opacity .4s var(--ease);
}

.hero-caption.is-swapping {
  opacity: 0
}

/* ===================== SOBRE ===================== */
.sobre-grid {
  display: grid;
  gap: 56px;
  align-items: start;
  margin-bottom: 72px
}

.sobre-copy .lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -.015em;
  margin-bottom: 26px;
}

.sobre-copy p {
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 18px
}

.bullets {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.bullets .ico {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--forest);
  stroke-width: 2.2;
  flex-shrink: 0;
}

.sobre-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start
}

.sobre-img {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bone-alt)
}

.sobre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.sobre-img-a {
  aspect-ratio: 3/4;
  grid-row: span 1
}

.sobre-img-b {
  aspect-ratio: 1/1;
  margin-top: 44px
}

.why-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line)
}

.why-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--line)
}

.why-num {
  display: block;
  margin-bottom: 11px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--clay);
}

.why-card h3 {
  margin-bottom: 9px;
  font-size: 1.22rem
}

.why-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0
}

/* ===================== SERVIÇOS ===================== */
.grid-services {
  display: grid;
  gap: 28px
}

.svc {
  display: flex;
  flex-direction: column;
  background: rgba(246, 243, 236, .045);
  border: 1px solid rgba(246, 243, 236, .13);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .35s, background .35s, transform .35s var(--ease);
}

.svc:hover {
  border-color: rgba(140, 162, 148, .5);
  background: rgba(246, 243, 236, .075);
  transform: translateY(-4px);
}

.svc-media {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--forest-deep)
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease), opacity .4s;
  opacity: .94;
}

.svc:hover .svc-media img {
  transform: scale(1.045);
  opacity: 1
}

.svc-body {
  padding: 26px 24px 30px
}

.svc-body h3 {
  color: var(--bone);
  margin-bottom: 10px;
  font-size: 1.28rem
}

.svc-body p {
  font-size: 13.6px;
  line-height: 1.68;
  color: rgba(246, 243, 236, .66);
  margin: 0
}

/* ===================== EQUIPE ===================== */
.grid-team {
  display: grid;
  gap: 30px
}

.member {
  display: flex;
  flex-direction: column
}

.member-media {
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bone-alt);
  border: 1px solid var(--line-soft);
}

.member-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .8s var(--ease);
  filter: saturate(.94);
}

.member:hover .member-media img {
  transform: scale(1.035);
  filter: saturate(1)
}

.member-body {
  padding: 20px 0 0
}

.member-body h3 {
  font-size: 1.24rem;
  margin-bottom: 5px
}

.member-role {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--clay);
  margin: 0 0 6px;
}

.member-cro {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
}

.member-social {
  display: flex;
  gap: 8px
}

.member-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color .25s, color .25s, background .25s;
}

.member-social a:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--bone)
}

.member-social .ico {
  width: 15px;
  height: 15px
}

/* ===================== A CLÍNICA ===================== */
.grid-units {
  display: grid;
  gap: 28px
}

.unit {
  display: flex;
  flex-direction: column;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}

.unit:hover {
  border-color: var(--sage);
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px rgba(22, 28, 23, .32);
}

.unit-media {
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bone-alt)
}

.unit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease)
}

.unit:hover .unit-media img {
  transform: scale(1.04)
}

.unit-body {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.unit-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--clay);
  margin-bottom: 8px;
}

.unit-body h3 {
  margin-bottom: 20px;
  font-size: 1.55rem
}

.unit-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px
}

.unit-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start
}

.unit-list .ico {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  color: var(--forest);
  flex-shrink: 0
}

.unit-list span {
  display: block;
  margin-bottom: 2px;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

.unit-list p {
  font-size: 13.6px;
  line-height: 1.6;
  margin: 0;
  color: var(--ink-soft)
}

.unit-list a {
  border-bottom: 1px solid var(--line-soft)
}

.unit-list a:hover {
  color: var(--clay);
  border-color: var(--clay)
}

.btn-maps {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--ink);
  background: transparent;
  transition: background .28s, color .28s, border-color .28s;
}

.btn-maps .ico {
  width: 14px;
  height: 14px;
  transition: transform .28s
}

.btn-maps:hover {
  background: var(--forest);
  color: var(--bone);
  border-color: var(--forest)
}

.btn-maps:hover .ico {
  transform: translateX(4px)
}

/* ===================== RESULTADOS ===================== */
.grid-results {
  display: grid;
  gap: 30px
}

.result {
  margin: 0
}

.compare {
  position: relative;
  margin: 0;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bone-alt);
  border: 1px solid var(--line);
  border-radius: 3px;
  --pos: 50%;
  user-select: none;
  -webkit-user-select: none;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block
}

.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0)
}

.compare-tag {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: 6px 11px;
  border-radius: 199px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(22, 28, 23, .85);
  color: var(--bone);
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.compare-tag-l {
  left: 12px
}

.compare-tag-r {
  right: 12px
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  transform: translateX(-.5px);
  background: rgba(246, 243, 236, .92);
  box-shadow: 0 0 8px rgba(22, 28, 23, .35);
  z-index: 2;
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: var(--bone);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(22, 28, 23, .6);
  z-index: 3;
  pointer-events: none;
}

.compare-handle svg {
  width: 17px;
  height: 17px
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  z-index: 4;
}

.compare-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent
}

.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
}

.compare-range::-moz-range-track {
  height: 100%;
  background: transparent;
  border: 0
}

.compare-range::-moz-range-thumb {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize
}

.compare-range:focus-visible {
  outline: none
}

.compare:has(.compare-range:focus-visible) {
  outline: 2px solid var(--clay);
  outline-offset: 4px
}

.result-body {
  padding-top: 18px
}

.result-body h3 {
  font-size: 1.18rem;
  margin-bottom: 7px
}

.result-body p {
  font-size: 13.4px;
  line-height: 1.68;
  margin: 0
}

/* ===================== DEPOIMENTOS ===================== */
.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px
}

.grid-testi {
  display: grid;
  gap: 24px
}

.testi {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 36px 30px 30px;
  transition: border-color .3s, transform .3s var(--ease);
}

.testi:hover {
  border-color: var(--sage);
  transform: translateY(-3px)
}

.testi-quote {
  position: absolute;
  top: 14px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 1;
  color: var(--sage-soft);
  pointer-events: none;
  font-variation-settings: "WONK" 1;
}

.testi blockquote {
  flex: 1;
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: normal;
  line-height: 1.58;
  letter-spacing: -.01em;
  color: var(--ink-soft);
}

.testi footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--forest);
  color: var(--bone);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
}

.testi footer strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink)
}

.testi footer small {
  font-size: 11px;
  color: var(--muted)
}

/* ===================== CONTATO ===================== */
.contato-grid {
  display: grid;
  gap: 56px;
  align-items: start
}

.contato-copy>p {
  font-size: 15.5px;
  line-height: 1.78;
  max-width: 46ch;
  margin-bottom: 28px
}

.contato-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.contato-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: rgba(246, 243, 236, .76)
}

.contato-list .ico {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--sage);
  stroke-width: 2.2;
  flex-shrink: 0
}

.contato-direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(246, 243, 236, .16);
}

.contato-direct a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--bone);
  width: fit-content;
}

.contato-direct a:hover {
  color: var(--sage)
}

.contato-direct .ico {
  width: 15px;
  height: 15px;
  color: var(--sage)
}

.form-card {
  position: relative;
  background: var(--bone);
  border-radius: 4px;
  padding: 34px 30px 30px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5);
  color: var(--ink);
}

.form-tag {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--clay);
}

.form-card h3 {
  font-size: 1.42rem;
  margin-bottom: 24px;
  color: var(--ink)
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 0;
  margin: 0 0 18px;
  padding: 0
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236B7268' stroke-width='1.5'%3E%3Cpolyline points='1 1 6 6 11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}

.field input:focus,
.field select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(30, 58, 44, .09);
}

.field input.invalid,
.field select.invalid {
  border-color: #B4453A;
  box-shadow: 0 0 0 3px rgba(180, 69, 58, .1)
}

.err {
  font-size: 11.5px;
  color: #B4453A;
  min-height: 0;
  margin-top: 4px
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 6px;
  cursor: pointer;
}

.consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--forest);
  cursor: pointer;
}

.consent a {
  color: var(--clay);
  border-bottom: 1px solid currentColor
}

.form-card .btn {
  margin-top: 16px
}

.form-note {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center
}

.live {
  font-size: 12px;
  min-height: 1.1em;
  margin: 10px 0 0;
  text-align: center;
  color: var(--forest);
  font-weight: 500
}

.live.err-live {
  color: #B4453A
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--forest-deep);
  color: rgba(246, 243, 236, .62);
  padding: 84px 0 30px
}

.footer-grid {
  display: grid;
  gap: 44px
}

.footer-brand .brand-mark {
  margin-bottom: 16px;
  background: var(--bone);
  color: var(--forest)
}

.footer-brand strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: -.02em;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(246, 243, 236, .52);
  max-width: 32ch;
  margin-bottom: 22px
}

.socials {
  display: flex;
  gap: 9px
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(246, 243, 236, .2);
  display: grid;
  place-items: center;
  color: rgba(246, 243, 236, .72);
  transition: background .25s, border-color .25s, color .25s;
}

.socials a:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff
}

.socials .ico {
  width: 15px;
  height: 15px
}

.footer-col h4 {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--bone);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 13.5px;
  color: rgba(246, 243, 236, .62);
  margin: 0 0 10px;
}

.footer-col a:hover {
  color: var(--bone)
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(246, 243, 236, .12);
  font-size: 11.5px;
  color: rgba(246, 243, 236, .42);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px
}

.footer-bottom a:hover {
  color: var(--bone)
}

/* ===================== WHATSAPP FLUTUANTE ===================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .45);
  transition: transform .25s, bottom .45s var(--ease), box-shadow .3s;
  animation: waBob 3.2s ease-in-out infinite alternate;
  -webkit-tap-highlight-color: transparent;
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  z-index: -1;
  animation: waPulse 2.5s ease-out infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  animation-play-state: paused;
  box-shadow: 0 16px 34px -8px rgba(37, 211, 102, .62);
}

@keyframes waBob {
  0% {
    transform: translateY(0) rotate(-2deg) scale(1)
  }

  100% {
    transform: translateY(-8px) rotate(2deg) scale(1.03)
  }
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: .6
  }

  100% {
    transform: scale(1.6);
    opacity: 0
  }
}

body.cookie-open .wa-float {
  bottom: calc(20px + var(--cookie-h, 0px))
}

/* ===================== COOKIES ===================== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 18px 24px;
  background: rgba(20, 39, 32, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(246, 243, 236, .14);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s;
}

.cookie-bar.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto
}

.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap
}

.cookie-text {
  flex: 1 1 340px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(246, 243, 236, .7)
}

.cookie-text a {
  color: var(--bone);
  border-bottom: 1px solid rgba(246, 243, 236, .4)
}

.cookie-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
  margin-left: auto
}

.cookie-btn {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .11em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}

.cookie-ghost {
  background: transparent;
  border-color: rgba(246, 243, 236, .3);
  color: rgba(246, 243, 236, .85)
}

.cookie-ghost:hover {
  border-color: var(--bone);
  color: var(--bone)
}

.cookie-accept {
  background: var(--bone);
  color: var(--forest)
}

.cookie-accept:hover {
  background: var(--clay);
  color: #fff
}

/* ===================== MODAL LEGAL ===================== */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px
}

.legal-modal.open {
  display: flex
}

.legal-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 39, 32, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.legal-modal-card {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bone);
  border-radius: 4px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
  animation: lmPop .3s var(--ease);
}

@keyframes lmPop {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.legal-modal-head {
  position: relative;
  flex-shrink: 0;
  padding: 28px 64px 20px 28px;
  border-bottom: 1px solid var(--line)
}

.legal-modal-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--clay)
}

.legal-modal-head h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem)
}

.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: border-color .2s, color .2s;
}

.legal-modal-close:hover {
  border-color: var(--clay);
  color: var(--clay)
}

.legal-modal-close svg {
  width: 18px;
  height: 18px
}

.legal-modal-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  background: var(--white)
}

.legal-modal-frame {
  display: block;
  width: 100%;
  height: 60vh;
  min-height: 360px;
  border: 0;
  opacity: 0;
  transition: opacity .3s
}

.legal-modal-frame.ready {
  opacity: 1
}

.legal-modal-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--white);
  font-size: 13px;
  color: var(--muted);
  transition: opacity .25s;
}

.legal-modal-loading.hide {
  opacity: 0;
  pointer-events: none
}

.legal-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--forest);
  animation: lmSpin .8s linear infinite;
}

@keyframes lmSpin {
  to {
    transform: rotate(360deg)
  }
}

.legal-modal-foot {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--bone);
}

body.modal-open {
  overflow: hidden
}

/* ===================== REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* ===================== BREAKPOINTS ===================== */
@media(min-width:640px) {

  .grid-services,
  .grid-team,
  .grid-units,
  .grid-testi {
    grid-template-columns: 1fr 1fr
  }

  .why-grid {
    grid-template-columns: 1fr 1fr
  }

  .why-card {
    padding: 32px 28px 32px 0
  }

  .why-card:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--line)
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:768px) {
  .grid-results {
    grid-template-columns: 1fr 1fr
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between
  }
}

@media(min-width:992px) {
  .nav-desktop {
    display: flex
  }

  .header-cta {
    display: inline-flex
  }

  .burger {
    display: none
  }

  .nav-mobile {
    display: none
  }

  .hero-grid {
    grid-template-columns: 1.06fr .94fr;
    gap: 70px
  }

  .hero-copy {
    max-width: none
  }

  .hero-figure {
    max-width: none;
    align-self: start;
    max-width: min(100%, calc(100svh - var(--header-h) - 200px));
  }

  .sobre-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 70px
  }

  .grid-services {
    grid-template-columns: repeat(3, 1fr)
  }

  .grid-team {
    grid-template-columns: repeat(4, 1fr)
  }

  .grid-units {
    grid-template-columns: repeat(3, 1fr)
  }

  .grid-results {
    grid-template-columns: repeat(3, 1fr)
  }

  .grid-testi {
    grid-template-columns: 1fr 1fr
  }

  .contato-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px
  }

  .form-card {
    padding: 42px 38px 36px
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .why-card {
    padding: 34px 26px 34px 0
  }

  .why-card:nth-child(even) {
    padding-left: 26px
  }

  .why-card+.why-card {
    border-left: 1px solid var(--line);
    padding-left: 26px
  }
}

@media(max-width:991px){
  .section{padding:76px 0}
  .hero{padding:calc(var(--header-h) + 56px) 0 70px}
  .hero::before{width:420px;height:420px;right:-22%}
  .hero-figure{max-width:420px;margin:0 auto;justify-self:center;order:-1}
  .hero-figure::before{transform:translate(14px,14px)}
  .hero-caption{text-align:center}
  .sec-head{margin-bottom:46px}
  .sobre-media{max-width:520px}
  .container{padding:0 20px}

  .hero-grid{gap:38px}
}

@media(max-width:767px) {
  :root {
    --header-h: 72px
  }

  .header-shell {
    height: 60px;
    padding: 0 8px 0 14px;
    width: calc(100% - 24px);
    gap: 14px
  }

  .site-header {
    padding: 12px 0
  }

  .site-header.is-stuck {
    padding: 8px 0
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 16px
  }

  .brand-name strong {
    font-size: 17px
  }

  h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem)
  }

  h2 {
    font-size: clamp(1.85rem, 7vw, 2.4rem)
  }

  .section {
    padding: 64px 0
  }

  .hero {
    padding: calc(var(--header-h) + 44px) 0 56px
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero-trust {
    gap: 18px
  }

  .trust-sep {
    height: 28px
  }

  .sobre-media {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .sobre-img-b {
    margin-top: 28px
  }

  .compare-handle {
    width: 38px;
    height: 38px
  }

  .form-card {
    padding: 28px 22px 24px
  }

  .cookie-bar {
    padding: 16px
  }

  .cookie-actions {
    width: 100%;
    margin-left: 0
  }

  .cookie-btn {
    flex: 1;
    text-align: center
  }

  .legal-modal {
    padding: 0
  }

  .legal-modal-card {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0
  }

  .legal-modal-head {
    padding: 20px 60px 16px 20px
  }

  .legal-modal-frame {
    height: calc(100vh - 200px);
    min-height: 0
  }

  .legal-modal-foot {
    flex-direction: column-reverse;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom))
  }

  .legal-modal-foot .btn {
    width: 100%
  }

  .wa-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px
  }

  .wa-float svg {
    width: 24px;
    height: 24px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }

  .hero-frame,
  .hero-figure::before {
    animation: none
  }

  .hero-slide {
    transition: none;
    transform: none
  }

  .wa-float {
    animation: none
  }

  .wa-float::before {
    display: none
  }
}

/* ==========================================================
   PÁGINAS LEGAIS — Política de Privacidade / Termos de Uso
   ========================================================== */
.legal {
  padding: calc(var(--header-h) + 70px) 0 100px;
  background: var(--bone)
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--clay);
}

.legal-back:hover {
  color: var(--forest)
}

.legal-back svg {
  width: 14px;
  height: 14px
}

.legal-head {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line)
}

.legal-head .eyebrow,
.legal-head .tag {
  margin-bottom: 20px
}

.legal-head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.028em;
  margin-bottom: 18px;
  color: var(--ink);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--clay);
}

.legal-lead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink);
  margin: 24px 0 0;
  max-width: 66ch;
  letter-spacing: -.01em;
}

.legal-toc {
  background: var(--bone-alt);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 30px;
  margin-bottom: 50px;
}

.legal-toc h2 {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink);
  margin: 0 0 16px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.legal-toc li::marker {
  color: var(--clay);
  font-variant-numeric: tabular-nums
}

.legal-toc a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s
}

.legal-toc a:hover {
  color: var(--clay);
  border-bottom-color: var(--clay)
}

.legal-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.16;
  margin: 52px 0 16px;
  scroll-margin-top: 120px;
  letter-spacing: -.022em;
  color: var(--ink);
}

.legal-body h2:first-of-type {
  margin-top: 0
}

.legal-body h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin: 30px 0 10px;
  line-height: 1.4;
}

.legal-body p {
  margin: 0 0 16px;
  font-size: .97rem;
  line-height: 1.82;
  color: var(--muted)
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 20px;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .97rem;
  line-height: 1.76;
  color: var(--muted);
}

.legal-body li::marker {
  color: var(--clay)
}

.legal-body strong {
  color: var(--ink);
  font-weight: 600
}

.legal-body a {
  color: var(--clay);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s
}

.legal-body a:hover {
  border-color: var(--clay)
}

.legal-box {
  background: var(--bone-alt);
  border-left: 2px solid var(--clay);
  border-radius: 0 3px 3px 0;
  padding: 20px 24px;
  margin: 0 0 26px;
  font-size: .93rem;
  line-height: 1.8;
  color: var(--muted);
}

.legal-box p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.8
}

.legal-box p+p {
  margin-top: 10px
}

.legal-box strong {
  color: var(--ink)
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.legal-table th {
  background: var(--bone-alt);
  text-align: left;
  padding: 13px 15px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.legal-table td {
  padding: 13px 15px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.66;
  color: var(--muted);
}

.legal-table td strong {
  color: var(--ink)
}

.legal-contact-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px;
  margin-top: 24px;
}

.legal-contact-card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--ink)
}

.legal-contact-card p {
  font-size: .93rem;
  margin: 0 0 8px;
  color: var(--muted)
}

.legal-contact-card p:last-child {
  margin: 0
}

.legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

@media(max-width:767px) {
  .legal {
    padding: calc(var(--header-h) + 42px) 0 64px
  }

  .legal-toc {
    padding: 22px 20px
  }

  .legal-body h2 {
    margin-top: 40px
  }

  .legal-table {
    font-size: .82rem
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 11px
  }

  .legal-footer-nav .btn {
    width: 100%
  }
}

/* ==========================================================
   MODO EMBED — páginas legais dentro do modal
   ========================================================== */
html.embed .site-header,
html.embed .site-footer,
html.embed .wa-float,
html.embed .cookie-bar,
html.embed .skip-link,
html.embed .legal-footer-nav,
html.embed .legal-back {
  display: none !important
}

html.embed .legal {
  padding: 24px 0 44px
}

html.embed .legal-toc {
  display: none
}

html.embed body {
  background: var(--white)
}