/* =========================================================================
   My Place Office · Unidade Santana · Landing page
   Sistema: papel quente + grafite + laranja da marca. Um botão primário,
   um card, um raio. Movimento só em transform/opacity/filter/clip-path.
   ========================================================================= */

/* Poppins hospedada no próprio site (licença SIL OFL), só o subconjunto latino */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --paper: #F4F1EC;
  --paper-2: #EBE6DE;
  --card: #FBFAF7;
  --white: #FFFFFF;
  --ink: #151413;
  --ink-2: #34312E;
  --muted: #69645D;
  --line: rgba(21, 20, 19, .12);
  --line-strong: rgba(21, 20, 19, .24);

  --dark: #141312;
  --dark-2: #1D1B19;
  --dark-3: #262320;
  --on-dark: #F4F1EC;
  --on-dark-muted: rgba(244, 241, 236, .7);
  --line-dark: rgba(244, 241, 236, .14);

  --orange: #E8501E;          /* laranja das artes recentes da marca */
  --orange-hover: #F0602E;
  --orange-soft: #F2703F;     /* acento sobre fundo escuro */
  --orange-ink: #B23A10;      /* laranja para texto pequeno sobre papel (contraste AA) */
  --btn: #D44414;             /* laranja do botão: texto branco com contraste AA (4,5:1) */
  --btn-hover: #BF3B10;
  --error: #B42F14;

  --font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 72px;
  --section-y: clamp(80px, 9vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--orange); color: var(--ink); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

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

/* destaque: mesma fonte, só a cor */
.accent { font-weight: inherit; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 16px; height: 1px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--orange-soft); }

.h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 500;
  max-width: 22ch;
  text-wrap: balance;
}
.h2 .accent { color: var(--orange-ink); }
.section-dark .h2 .accent { color: var(--orange-soft); }

.section { padding-block: var(--section-y); position: relative; }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-tint { background: var(--paper-2); }
#reuniao { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 160px, var(--paper-2) calc(100% - 160px), var(--paper) 100%); }
.contact { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 180px) !important; }
/* sala privativa: um tom pêssego bem claro, puxado do laranja da marca, para separar da sala de reunião (bege) */
#privativa { --secao-bg: #F6ECE4; background: var(--secao-bg); }
.section-head { margin-bottom: clamp(44px, 5vw, 72px); }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-lede { font-size: 16px; color: var(--muted); max-width: 38ch; margin-top: 20px; }
.section-head-split .section-lede { margin-top: 0; }
.section-dark .section-lede { color: var(--on-dark-muted); }

/* ---------- Botões ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 160ms var(--ease-out),
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-sm { --btn-h: 44px; padding: 0 18px; font-size: 14px; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--btn); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--btn-hover); }
  .btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .btn-light:hover { background: var(--white); }
  .btn-dark:hover { background: #2A2724; }
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(244, 241, 236, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 240ms ease;
}
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid::before { opacity: 1; }
.header-row { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { position: relative; display: flex; align-items: center; min-height: 44px; width: 148px; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity 240ms ease; }
.brand .brand-dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header.is-solid .brand-light { opacity: 0; }
.site-header.is-solid .brand-dark { opacity: 1; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 400; text-decoration: none; opacity: .86;
  transition: opacity 150ms ease, background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { opacity: 1; background: rgba(127, 120, 110, .14); }
}

/* ---------- Hero ---------- */
.hero {
  --curva: clamp(44px, 7vw, 112px);
  position: relative; isolation: isolate; z-index: 2; /* acima da faixa de números: o card passa por cima */
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 0;
  color: var(--on-dark);
  background: var(--dark);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform-origin: 40% 50%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 13, 12, .88) 0%, rgba(14, 13, 12, .66) 36%, rgba(14, 13, 12, .2) 68%, rgba(14, 13, 12, .32) 100%),
    linear-gradient(180deg, rgba(14, 13, 12, .55) 0%, rgba(14, 13, 12, 0) 22%);
}
/* a curva que fecha o hero (como na referência): o papel sobe da esquerda para a direita */
.hero-curve {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0;
  width: 100%; height: var(--curva);
  fill: var(--paper);
  transform-origin: 50% 100%;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero-copy { padding-bottom: calc(var(--curva) + clamp(28px, 3vw, 44px)); }
/* o card passa por cima da curva e entra na faixa de números */
.hero-card { margin-bottom: calc(var(--curva) * -0.55); position: relative; z-index: 2; }
@media (min-width: 900px) {
  /* topo do card alinhado ao topo das letras de "Endereço fiscal":
     rótulo (20px + 16px) + o respiro da Poppins acima das maiúsculas (~0,19em do título) */
  .hero .eyebrow { line-height: 20px; margin-bottom: 16px; }
  .hero-grid { align-items: start; }
  .hero-card { margin-top: calc(36px + 0.19 * clamp(36px, 4.4vw, 64px)); }
}
.hero-title {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--orange-soft); }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-in { display: inline-block; }
.lede { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; color: var(--on-dark-muted); max-width: 44ch; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font-size: 19px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 13px; color: var(--on-dark-muted); }
.hero-facts strong small { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--on-dark-muted); }

/* ---------- Card do formulário ---------- */
.lead-card {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2vw, 28px);
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
}
.lead-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 8px;
}
.lead-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #25A55A; box-shadow: 0 0 0 4px rgba(37, 165, 90, .16); }
.lead-title { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.lead-sub { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.55; }

.lead-form { display: grid; gap: 12px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.field input, .field select {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font-size: 16px; color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input::placeholder { color: #77716A; } /* contraste 4,8:1 no branco */
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 80, 30, .18); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field-err { font-size: 13px; color: var(--error); min-height: 0; }
.field-err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2);
  transform: rotate(45deg); pointer-events: none;
}
.btn-submit { margin-top: 4px; --btn-h: 50px; font-size: 15px; }
.btn-submit[aria-busy="true"] { pointer-events: none; opacity: .75; }
.form-legal { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.form-legal a { color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Prova ---------- */
.proof { background: var(--paper); position: relative; z-index: 1; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: clamp(40px, 6vw, 96px); }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 0 34px; }
.proof-item { display: grid; gap: 2px; align-content: start; padding: 4px 18px 4px 0; }
.proof-item + .proof-item { padding-left: 18px; border-left: 1px solid var(--line); }
.proof-item strong { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.proof-item span { font-size: 13px; color: var(--muted); }

/* ---------- Serviços ---------- */
.svc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-list { border-bottom: 1px solid var(--line); }
.svc-item { border-top: 1px solid var(--line); }
.svc-trigger {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  padding: 20px 0; background: none; border: 0; text-align: left;
  color: #857F77; /* itens inativos: 3,6:1 (texto grande) */
  transition: color 200ms ease;
}
.svc-num { font-size: 12px; font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums; align-self: start; padding-top: .7em; }
.svc-name { font-size: clamp(19px, 1.7vw, 25px); font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
.svc-arrow { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 260ms var(--ease-out); }
.svc-arrow svg { width: 16px; height: 16px; }
.svc-item.is-active .svc-trigger { color: var(--ink); }
.svc-item.is-active .svc-arrow { background: var(--btn); border-color: var(--btn); color: #fff; transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .svc-trigger:hover { color: var(--ink); }
}
.svc-body p:first-of-type { font-size: 15px; color: var(--ink-2); }
.svc-meta { font-size: 13px; font-weight: 500; color: var(--orange-ink); margin-top: 8px; }

.svc-panel { position: sticky; top: calc(var(--header-h) + 32px); }
.svc-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper-2);
}
.svc-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); filter: blur(6px);
  transition: opacity 280ms ease, filter 280ms ease, transform 600ms var(--ease-out);
}
.svc-slide.is-active { opacity: 1; transform: none; filter: none; }
.svc-copy { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; margin-top: 22px; min-height: 3.2em; }
.svc-copy-text { font-size: 15px; color: var(--ink-2); max-width: 40ch; }
.svc-copy-meta { font-size: 13px; font-weight: 500; color: var(--orange-ink); text-align: right; max-width: 22ch; flex: none; }
.svc-copy > * { transition: opacity 200ms ease, filter 200ms ease, transform 200ms var(--ease-out); }
.svc-copy.is-swapping > * { opacity: 0; filter: blur(2px); transform: translateY(4px); }

/* desktop: a descrição vive no painel; na lista fica só para leitores de tela */
@media (min-width: 900px) {
  .svc-body { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Casa x endereço da unidade ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius-lg); padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; }
.compare-home { background: var(--dark-2); border: 1px solid var(--line-dark); }
.compare-mpo { background: var(--orange); color: var(--ink); }
.compare-title { font-size: 19px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 16px; }
.compare-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
  padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 15px; line-height: 1.5;
}
.compare-mpo .compare-list li { border-top-color: rgba(21, 20, 19, .16); }
.compare-list svg { width: 18px; height: 18px; margin-top: 2px; }
.compare-home .compare-list li { color: var(--on-dark-muted); }
.compare-home .compare-list svg { color: #8C857C; }
.compare-mpo .btn { margin-top: auto; align-self: flex-start; background: var(--ink); color: var(--paper); }
.compare-mpo .compare-list { margin-bottom: 32px; }
@media (hover: hover) and (pointer: fine) {
  .compare-mpo .btn:hover { background: #2A2724; }
}

/* ---------- Planos ---------- */
.plans-bar {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 6;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 6px 6px 22px; margin-bottom: 28px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(251, 250, 247, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 10px 30px -22px rgba(21, 20, 19, .4);
}
.plans-bar-txt { font-size: 13px; color: var(--muted); }
.billing {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: var(--paper-2);
}
/* as duas opções têm a mesma largura: o fundo só desliza (transform), sem animar largura */
.billing-pill {
  position: absolute; top: 4px; left: 4px; height: calc(100% - 8px); width: calc(50% - 4px);
  border-radius: 999px; background: var(--card);
  box-shadow: 0 1px 2px rgba(21, 20, 19, .08), 0 4px 14px -6px rgba(21, 20, 19, .2);
  transition: transform 260ms var(--ease-in-out);
}
.billing[data-on="mensal"] .billing-pill { transform: translateX(100%); }
.billing button {
  position: relative; z-index: 1; min-height: 44px; padding: 0 18px;
  border: 0; background: none; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  transition: color 200ms ease;
}
.billing button[aria-checked="true"] { color: var(--ink); }
.billing em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); }

.plans-group {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  font-size: 14px; font-weight: 500; margin: 0 0 12px;
}
.plans-group span { font-weight: 400; color: var(--muted); }
.plan-grid + .plans-group { margin-top: 32px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 20px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.plan.is-featured { border-color: rgba(232, 80, 30, .45); box-shadow: 0 18px 40px -30px rgba(212, 68, 20, .55); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.plan-name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
/* selo na borda do card em destaque: não disputa espaço com o nome */
.plan.is-featured .tag { position: absolute; top: 0; left: 20px; transform: translateY(-50%); background: var(--btn); color: #fff; }
.tag { font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); background: rgba(232, 80, 30, .12); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.plan-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; min-height: 3em; }
.plan-price { display: grid; gap: 2px; }
.price { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.price .cur { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.price .val { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.price .per { font-size: 13px; color: var(--muted); }
.price-note { font-size: 12px; color: var(--muted); }
.price .val, .price-note { display: inline-block; transition: opacity 160ms ease, filter 160ms ease, transform 200ms var(--ease-out); }
.price-note { display: block; }
.plans.is-swapping .price .val, .plans.is-swapping .price-note { opacity: 0; filter: blur(3px); transform: translateY(4px); }
.plan-cta { width: 100%; --btn-h: 44px; }
.plan-more summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2); padding: 2px 0; min-height: 44px;
}
.plan-more summary::-webkit-details-marker { display: none; }
.plan-more summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 200ms var(--ease-out);
}
.plan-more[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.plan-more ul { display: grid; gap: 6px; margin-top: 8px; }
.plan-more li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.plan-more li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.plan-more[open] ul { animation: fade-down 200ms var(--ease-out); }

.plan-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-wide { flex-direction: row; align-items: center; gap: 20px; }
.plan-wide .plan-info { flex: 1; min-width: 0; }
.plan-wide .plan-desc { min-height: 0; margin-top: 4px; }
.plan-wide .plan-price { text-align: right; flex: none; }
.plan-wide .plan-cta { width: auto; flex: none; }
.plans-fine { font-size: 12px; color: var(--muted); margin-top: 20px; max-width: 92ch; }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { border-color: var(--line-strong); }
  .plan.is-featured:hover { border-color: rgba(232, 80, 30, .7); }
}

/* ---------- Ofertas: escritório virtual, sala de reunião, sala privativa ---------- */
.oferta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; padding-bottom: 28px; }
.oferta-invertida { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.oferta-invertida .oferta-media { order: -1; }
.oferta-head { margin-bottom: clamp(36px, 4vw, 56px); }
.oferta-head .section-lede { max-width: 44ch; }
.oferta-copy .oferta-lista { margin-top: 0; }
.oferta-lista { display: grid; gap: 10px; margin-top: 24px; }
.oferta-lista li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.oferta-lista svg { width: 18px; height: 18px; color: var(--orange-ink); margin-top: 2px; }
.oferta-acao { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.oferta-preco { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted); }
.oferta-preco strong { font-size: 34px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.oferta-media { position: relative; }
.oferta-media > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
/* cartão que mostra o que a pessoa leva (endereço, agenda) */
.oferta-cartao {
  position: absolute; left: 24px; bottom: -28px;
  display: grid; gap: 2px; min-width: 250px;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(21, 20, 19, .45);
}
.oferta-cartao strong { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.oferta-cartao span { font-size: 12.5px; color: var(--muted); }
.oferta-cartao .cartao-rot { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 2px; }
.cartao-endereco { border-left: 3px solid var(--orange); }
.oferta-invertida .oferta-cartao { left: auto; right: 24px; }
/* segunda foto sobreposta (sala privativa) */
.oferta-foto2 {
  position: absolute; right: -14px; bottom: -36px; width: 38%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 5px solid var(--secao-bg, var(--paper));
  box-shadow: 0 24px 50px -26px rgba(21, 20, 19, .5);
}
#tabela-planos { margin-top: clamp(72px, 8vw, 112px); scroll-margin-top: calc(var(--header-h) + 16px); }
@media (hover: hover) and (pointer: fine) {
  .oferta-acao .btn:hover .i-desce { transform: translateY(2px) rotate(90deg); }
}
.i-desce { transform: rotate(90deg); transition: transform 160ms var(--ease-out); }

.link-acao {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 0;
  border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--orange-ink); cursor: pointer;
}
.link-acao svg { width: 14px; height: 14px; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-acao:hover svg { transform: translateX(3px); }
}

/* ---------- O espaço ---------- */
.film {
  position: relative; aspect-ratio: 16 / 9; max-height: 72vh; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--dark);
}
.film-video { width: 100%; height: 100%; object-fit: cover; }
.film-toggle {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 999px;
  background: rgba(20, 19, 18, .62); color: var(--paper);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500;
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.film-toggle:active { transform: scale(.97); }
.film-toggle svg { width: 18px; height: 18px; }
.film-toggle .i-play { display: none; }
.film-toggle[aria-pressed="true"] .i-play { display: block; }
.film-toggle[aria-pressed="true"] .i-pause { display: none; }
@media (hover: hover) and (pointer: fine) {
  .film-toggle:hover { background: rgba(20, 19, 18, .8); }
}

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.g {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); height: clamp(200px, 20vw, 290px);
}
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.g-mais {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px;
  background: rgba(14, 13, 12, .58); color: #fff; font-size: 13px; letter-spacing: .02em;
  transition: background-color 200ms ease;
}
.g-mais strong { font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
@media (hover: hover) and (pointer: fine) {
  .g-ultima:hover .g-mais { background: rgba(14, 13, 12, .48); }
}
.g-zoom {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(251, 250, 247, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: .9; transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
.g-zoom svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .g-zoom { opacity: 0; transform: scale(.9); }
  .g:hover img { transform: scale(1.03); }
  .g:hover .g-zoom, .g:focus-visible .g-zoom { opacity: 1; transform: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0E0D0C; color: var(--on-dark); overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { animation: fade-in 200ms ease; }
.lightbox[open] .lb-img { animation: lb-in 260ms var(--ease-out); }
.lightbox.is-closing { animation: fade-out 160ms ease forwards; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lb-palco { position: absolute; inset: 72px 88px 80px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; touch-action: pan-y; }
/* a grade com altura definida faz o max-height: 100% valer: fotos em pé aparecem inteiras */
.lb-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px;
  user-select: none; -webkit-user-drag: none;
  transition: opacity 180ms ease, filter 180ms ease, transform 220ms var(--ease-out);
}
.lb-img.is-trocando { opacity: 0; filter: blur(2px); }
.lb-legenda {
  position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 14px;
  font-size: 13px; color: var(--on-dark-muted); padding: 0 24px; text-align: center;
}
.lb-conta { font-variant-numeric: tabular-nums; color: var(--on-dark); white-space: nowrap; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: grid; place-items: center; color: var(--on-dark);
  background: rgba(244, 241, 236, .1);
  transition: background-color 150ms ease, transform 160ms var(--ease-out);
}
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn:active { transform: scale(.94); }
.lb-fechar { top: 16px; right: 16px; }
.lb-ant { left: 20px; top: 50%; margin-top: -24px; }
.lb-ant svg { transform: rotate(180deg); }
.lb-prox { right: 20px; top: 50%; margin-top: -24px; }
@media (hover: hover) and (pointer: fine) {
  .lb-btn:hover { background: rgba(244, 241, 236, .2); }
}
@media (max-width: 899px) {
  .lb-palco { inset: 64px 12px 120px; }
  .lb-ant, .lb-prox { top: auto; bottom: 56px; margin-top: 0; }
  .lb-ant { left: calc(50% - 60px); }
  .lb-prox { right: calc(50% - 60px); }
  .lb-legenda { bottom: 16px; font-size: 12px; }
}

/* ---------- Localização ---------- */
.local { overflow: hidden; }
.local-grid2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.local-title {
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1; letter-spacing: -.045em; font-weight: 500;
  margin: 8px 0 clamp(32px, 4vw, 48px);
}
.local-num { font-weight: 300; color: var(--orange-soft); }
/* endereço com nome de rua longo (ex.: "Rua Amaral Gama,") cabe em 2 linhas */
.local-title-longo { font-size: clamp(32px, 3.8vw, 56px); }
.local-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.local-facts dt { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.local-facts dd { font-size: 15px; line-height: 1.5; }
.local-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* cartão de avaliações do Google */
.aval-card {
  background: var(--card); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .7);
}
.aval-topo { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.g-logo { width: 34px; height: 34px; flex: none; }
.aval-titulo { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.aval-resumo { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.aval-resumo strong { font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.aval-estrelas { display: inline-flex; gap: 2px; color: #F5B400; }
.aval-estrelas svg { width: 15px; height: 15px; }
.aval .aval-estrelas svg { width: 13px; height: 13px; }
.aval-estrelas .vazia { color: #DAD5CC; }
.aval-lista { display: grid; }
.aval { padding: 18px 0; border-bottom: 1px solid var(--line); }
.aval-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.aval-foto {
  width: 36px; height: 36px; flex: none; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.aval-foto img { width: 100%; height: 100%; object-fit: cover; }
.aval-autor { font-size: 14px; font-weight: 500; line-height: 1.3; }
.aval-autor a { text-decoration: none; }
.aval-quando { font-size: 12px; color: var(--muted); }
.aval-texto {
  font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.aval-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; }
.aval-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 13px; font-weight: 500; color: var(--orange-ink); text-decoration: none;
}
.aval-links svg { width: 14px; height: 14px; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .aval-links a:hover svg { transform: translateX(3px); }
  .aval-autor a:hover { color: var(--orange-ink); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 240ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; margin: -.5px 0 0 -5px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--btn); border-color: var(--btn); color: #fff; }
.faq-a { padding: 0 56px 22px 0; color: var(--muted); font-size: 15px; }
.faq-item[open] .faq-a { animation: fade-down 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover .faq-icon { border-color: var(--ink); }
}

/* ---------- Contato ---------- */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list span { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list p { font-size: 15px; text-decoration: none; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 260ms var(--ease-out); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  .contact-list a:hover { background-size: 100% 1px; }
}
.contact-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 36px);
  box-shadow: 0 30px 70px -44px rgba(21, 20, 19, .45);
}
.contact-card-title { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.contact-form { display: grid; gap: 12px; margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label small { font-weight: 400; color: var(--muted); }
.field textarea {
  width: 100%; min-height: 104px; resize: vertical; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea::placeholder { color: #77716A; }
.field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 80, 30, .18); }
.contact-form .btn-submit { justify-content: center; }
.contact-form .btn-submit svg { transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .contact-form .btn-submit:hover svg { transform: translateX(3px); }
}
.form-lock { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; font-size: 12px; color: var(--muted); text-align: center; }
.form-lock svg { width: 14px; height: 14px; }
.form-lock a { color: var(--ink-2); }
.form-status { font-size: 13.5px; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1E7A45; background: #E6F2EA; padding: 12px; border-radius: 10px; }
.form-status.is-erro { color: var(--error); background: #F8E7E2; padding: 12px; border-radius: 10px; }

/* ---------- Rodapé ---------- */
.site-footer { background: #0E0D0C; color: var(--on-dark-muted); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.footer-logo { width: 160px; }
.footer-text { max-width: 60ch; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--on-dark); opacity: .8; transition: opacity 150ms ease; min-height: 44px; display: inline-flex; align-items: center; }
.footer-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-credito a { color: var(--on-dark); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 260ms var(--ease-out); padding: 12px 0 2px; }
@media (hover: hover) and (pointer: fine) {
  .footer-credito a:hover { background-size: 100% 1px; }
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { opacity: 1; }
}

/* ---------- Barra fixa (celular) ---------- */
.mobile-bar { display: none; }

/* ---------- Janela do formulário ---------- */
.lead-dialog {
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--card); color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .55);
  overflow: auto; overscroll-behavior: contain;
}
.lead-dialog::backdrop { background: rgba(14, 13, 12, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lead-dialog[open] { animation: dialog-in 260ms var(--ease-out); }
.lead-dialog[open]::backdrop { animation: fade-in 260ms ease; }
.lead-dialog.is-closing { animation: dialog-out 180ms ease-in forwards; }
.lead-dialog.is-closing::backdrop { animation: fade-out 180ms ease forwards; }
.lead-dialog-inner { position: relative; padding: 32px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--paper-2); display: grid; place-items: center;
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.dialog-close:active { transform: scale(.94); }
.dialog-close svg { width: 18px; height: 18px; }
.lead-dialog .lead-title { padding-right: 48px; }
.lead-sub strong { color: var(--ink); font-weight: 600; }

/* ---------- Pop-up de saída ---------- */
.dialog-saida { width: min(460px, calc(100% - 32px)); }
.saida-foto { height: 150px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.saida-foto img { width: 100%; height: 100%; object-fit: cover; }
.dialog-saida .lead-dialog-inner { padding-top: 24px; }
.dialog-saida .dialog-close { top: -136px; background: rgba(251, 250, 247, .92); }
.saida-nao {
  display: block; width: 100%; min-height: 44px; margin-top: 6px;
  border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .saida-nao:hover { color: var(--ink); }
}

/* ---------- Keyframes ---------- */
@keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }

/* =========================================================================
   Entrada do hero (uma vez, no carregamento). Só existe com JS;
   sem JS tudo aparece parado.
   ========================================================================= */
html.js .hero-media img { transform: scale(1.07); }
html.js .hero-curve { transform: scaleY(.35); }
html.js .line-in { transform: translateY(108%); }
html.js .hero-in { opacity: 0; transform: translateY(10px); }
/* o texto do topo é o maior elemento da 1ª tela (LCP): aparece já na primeira pintura e só sobe 10px */
html.js .hero-in.lede { opacity: 1; }
html.js .hero-card { opacity: 0; transform: translateY(16px); }

html.is-ready .hero-media img { transform: none; transition: transform 1800ms var(--ease-out); }
html.is-ready .hero-curve { transform: none; transition: transform 1400ms var(--ease-out) 120ms; }
html.is-ready .line-in { transform: none; transition: transform 1000ms var(--ease-out) var(--d, 0ms); }
html.is-ready .hero-in { opacity: 1; transform: none; transition: opacity 700ms ease var(--d, 0ms), transform 800ms var(--ease-out) var(--d, 0ms); }
html.is-ready .hero-card { opacity: 1; transform: none; transition: opacity 700ms ease 380ms, transform 900ms var(--ease-out) 380ms; }

/* Transição entre as áreas: os blocos de cada seção sobem 18px e aparecem
   quando chegam na tela, uma vez. Atrasos curtos e decrescentes (0, 90, 160…). */
html.js .rv { opacity: 0; transform: translateY(18px); }
html.js .rv.is-in { opacity: 1; transform: none; transition: opacity 700ms ease var(--rv-d, 0ms), transform 900ms var(--ease-out) var(--rv-d, 0ms); }

/* Endereço grande: as linhas sobem quando a seção entra na tela (uma vez) */
html.js [data-lines] .line-in { transform: translateY(108%); }
html.js [data-lines].is-in .line-in { transform: none; transition: transform 1100ms var(--ease-out); }
html.js [data-lines].is-in .line + .line .line-in { transition-delay: 110ms; }

/* Fotos da galeria: revelação por clip-path (três blocos, uma vez) */

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .proof-item:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand { width: 128px; }
  .site-header .btn span { display: none; }
  .site-header .btn { width: 44px; padding: 0; }

  .hero { --curva: 40px; padding-top: calc(var(--header-h) + 32px); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  .hero-card { margin-bottom: 0; }
  .hero-grid { padding-bottom: calc(var(--curva) + 8px); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-row { padding: 8px 0 28px; }
  .hero-media img { object-position: 54% 35%; } /* copa com a TV no centro da tela do celular */
  .hero-shade { background: linear-gradient(180deg, rgba(14, 13, 12, .78) 0%, rgba(14, 13, 12, .7) 45%, rgba(14, 13, 12, .92) 100%); }
  .hero-title { margin-bottom: 20px; }
  .eyebrow { letter-spacing: .1em; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; padding-top: 20px; }
  .hero-facts strong { font-size: 16px; }
  .hero-facts span { font-size: 12px; line-height: 1.4; }
  .hero-facts { grid-template-rows: auto auto; row-gap: 2px; }
  .hero-facts li { grid-row: span 2; grid-template-rows: subgrid; }
  .hero-facts strong { align-self: end; white-space: nowrap; }
  .hero-facts strong small { display: block; font-size: 11px; line-height: 1.4; }

  .proof-item { padding: 12px 12px 12px 0; }
  .proof-item + .proof-item { padding-left: 0; border-left: 0; }
  .proof-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }

  .svc { grid-template-columns: 1fr; }
  .svc-panel { display: none; }
  .svc-trigger { cursor: default; padding: 24px 0 14px; color: var(--ink); }
  .svc-arrow { display: none; }
  .svc-body { padding: 0 0 28px 56px; display: grid; gap: 10px; }
  .svc-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 6px; }

  .compare { grid-template-columns: 1fr; }
  .compare-mpo .btn { align-self: stretch; }

  .section-head-split { align-items: flex-start; }
  .plans-bar { padding: 5px; justify-content: center; }
  .plans-bar-txt { display: none; }
  .billing { width: 100%; }
  .plan-grid, .plan-grid-wide { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
  .plan-wide { flex-direction: column; align-items: stretch; gap: 14px; }
  .plan-wide .plan-price { text-align: left; }
  .plan-wide .plan-cta { width: 100%; }
  .oferta-grid, .oferta-invertida { grid-template-columns: 1fr; gap: 56px; }
  .oferta-media { order: -1; }
  .oferta-cartao { left: 12px; right: auto; bottom: -24px; min-width: 0; }
  .oferta-invertida .oferta-cartao { right: 12px; left: auto; }
  .oferta-foto2 { right: 8px; bottom: -28px; width: 42%; }
  .field-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .price .val { font-size: 30px; }

  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
  .g { height: auto; aspect-ratio: 4 / 3; }
  /* no celular: 6 fotos em 3 linhas completas; a última leva ao resto */
  .gallery .g:nth-child(n+6):not(.g-ultima) { display: none; }
  .film { aspect-ratio: 4 / 5; max-height: none; }
  .film-toggle { left: 12px; bottom: 12px; }

  .local-grid2 { grid-template-columns: 1fr; }
  .local-facts { grid-template-columns: 1fr; gap: 22px; }
  .local-actions { justify-content: stretch; flex-direction: column; }
  .local-actions .btn { width: 100%; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; margin-bottom: 32px; }
  .faq-a { padding-right: 0; }

  .contact-list li { grid-template-columns: 1fr; gap: 4px; }

  .footer-row { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

  .mobile-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(244, 241, 236, .9);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 360ms var(--ease-drawer);
  }
  .mobile-bar.is-visible { transform: none; }

  /* janela vira folha que sobe do rodapé */
  .lead-dialog {
    width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .lead-dialog[open] { animation: sheet-in 380ms var(--ease-drawer); }
  .lead-dialog.is-closing { animation: sheet-out 240ms var(--ease-drawer) forwards; }
  .lead-dialog-inner { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .hero-title { font-size: 33px; }
  .h2 { font-size: 27px; }
  .billing button { padding: 0 10px; }
  .billing em { display: none; }
}

/* =========================================================================
   Movimento reduzido: tudo parado e visível; só opacidade sobra.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .hero-media img, html.js .line-in, html.js .hero-in, html.js .hero-card,
  html.js [data-reveal] img, html.js [data-lines] .line-in { transform: none !important; }
  html.js .hero-curve { transform: none !important; }
  html.js .rv { opacity: 1; transform: none; }
  .lightbox[open] .lb-img { animation: none; }
  .lb-img { transition: opacity 120ms ease; }
  .lb-img.is-trocando { filter: none; }
  html.js .hero-in, html.js .hero-card { opacity: 1; }
  .svc-slide { transform: none; filter: none; transition: opacity 200ms ease; }
  .svc-copy > *, .price .val, .price-note { transform: none !important; filter: none !important; }
  .lead-dialog[open], .lead-dialog.is-closing { animation-name: fade-in; animation-duration: 160ms; }
  .lead-dialog.is-closing { animation-name: fade-out; }
  .mobile-bar { transition: opacity 200ms ease; }
  .btn:active, .film-toggle:active { transform: none; }
}

/* =========================================================================
   Página de obrigado (obrigado/index.html)
   ========================================================================= */
.pagina-obrigado { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 100%); }
.obg-topo { padding: 22px 0; border-bottom: 1px solid var(--line); background: rgba(244, 241, 236, .8); }
.obg-marca { display: inline-block; width: 148px; }
.obg { flex: 1; display: flex; align-items: center; padding: clamp(48px, 8vw, 112px) 0; }
.obg-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.obg-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 70px -44px rgba(21, 20, 19, .45);
}
.obg-icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #E3F1E8; color: #1E7A45; margin-bottom: 22px; }
.obg-icone svg { width: 24px; height: 24px; }
.obg-titulo { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.obg-texto { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 46ch; }
.obg-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.obg-info .contact-list { margin-top: 4px; }
.pagina-obrigado .site-footer { padding-top: 28px; padding-bottom: 28px; }
.pagina-obrigado .footer-copy { border-top: 0; padding-top: 0; }
html.js .obg-card { animation: obg-in 600ms var(--ease-out) both; }
html.js .obg-icone { animation: obg-check 500ms var(--ease-out) 180ms both; }
@keyframes obg-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes obg-check { from { opacity: 0; transform: scale(.9); } }
@media (max-width: 899px) {
  .obg-grid { grid-template-columns: minmax(0, 1fr); }
  .obg-acoes .btn { width: 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .obg-card, html.js .obg-icone { animation: none; }
}
