/* ============================================================
   Engenheira Bianca Melo — Vistorias e Laudos Técnicos
   Direção: desenho técnico. Marinho + branco + dourado.
   Tipografia: Instrument Serif (display) · Archivo (texto) · IBM Plex Mono (cotas)
   Mobile-first. Zero dependência externa de JS.
   ============================================================ */

/* ============================================================
   0. FONTES — hospedadas junto com o site.
   Sem requisição a fonts.googleapis.com nem a fonts.gstatic.com:
   menos uma resolução de DNS e um handshake TLS no caminho crítico,
   e nenhum dado do visitante enviado a terceiros.
   Os arquivos "latin-ext" só são baixados se a página usar algum
   caractere daquela faixa — em português, nunca são.
   ============================================================ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 600;          /* fonte variável: um arquivo cobre os três pesos */
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin.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: 'Archivo';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-latin.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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-italic-latin.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: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------
   FONTES DE SUBSTITUIÇÃO COM MÉTRICA CASADA
   Enquanto a fonte definitiva carrega, o texto aparece na fonte do
   sistema. Sem ajuste, a troca reflui a página inteira (o famoso
   "pulo" de layout). Os valores abaixo foram MEDIDOS comparando a
   largura e a caixa de linha de cada fonte com a sua substituta:
     size-adjust  = largura real ÷ largura da substituta
     ascent/descent-override = métrica real ÷ size-adjust
   Resultado: a substituta ocupa o mesmo espaço, e a troca é
   imperceptível — sem deslocamento cumulativo de layout.
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 98.71%;
  ascent-override: 89.15%;
  descent-override: 21.27%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Instrument Serif Fallback';
  src: local('Times New Roman'), local('Times'), local('Liberation Serif');
  size-adjust: 82.20%;
  ascent-override: 120.44%;
  descent-override: 37.71%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'IBM Plex Mono Fallback';
  src: local('Courier New'), local('Courier'), local('Liberation Mono');
  size-adjust: 99.98%;
  ascent-override: 103.02%;
  descent-override: 28.01%;
  line-gap-override: 0%;
}

/* ---------- 1. TOKENS ---------- */
:root {
  /* cor */
  --ink:        #0A1A2F;
  --ink-2:      #071426;
  --navy:       #12365E;
  --navy-700:   #17406F;
  --navy-500:   #1E5490;
  --gold:       #C29B4A;
  --gold-soft:  #E3CF9E;
  --gold-deep:  #8A6B26;
  --paper:      #FFFFFF;
  --paper-2:    #F4F7FA;
  --paper-3:    #E9EFF6;
  --line:       #DFE7F0;
  --line-2:     #C7D5E4;
  --line-dark:  rgba(255,255,255,.16);
  --muted:      #55677D;
  --muted-dark: #A9BACE;

  /* tipografia */
  --font-display: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
  --font-sans:    "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-mono:    .6875rem;
  --fs-sm:      .9375rem;
  --fs-base:    1rem;
  --fs-lg:      clamp(1.0625rem, .98rem + .38vw, 1.25rem);
  --fs-h3:      clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  --fs-h2:      clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
  --fs-h1:      clamp(2.375rem, 1.6rem + 3.4vw, 4.5rem);

  /* espaço */
  --space-2:  .5rem;
  --space-3:  .75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 8.5rem);

  /* forma */
  --radius:    4px;   /* desenho técnico: cantos quase retos */
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(10,26,47,.05), 0 4px 14px rgba(10,26,47,.05);
  --shadow-md: 0 4px 12px rgba(10,26,47,.07), 0 18px 48px rgba(10,26,47,.09);
  --shadow-lg: 0 10px 30px rgba(10,26,47,.12), 0 40px 90px rgba(10,26,47,.16);

  /* movimento */
  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --header-h: 68px;
}

@media (min-width: 900px) { :root { --header-h: 80px; } }

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.14; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
strong, b { font-weight: 600; }   /* o peso 700 não é carregado — evita fonte sintetizada */

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold-soft); color: var(--ink); }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-160%);
  background: var(--ink); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* rótulo monoespaçado — a "letra técnica" do site */
.mono, .eyebrow, .service__ref, .method__ref, .gallery__ref, .about__ref,
.stat__label, .step__num, .service__flag, .site-footer__h, .cta__info dt,
.quote__by span, .credentials span, .snap-hint, .dimension__label {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* ---------- 3. LAYOUT ---------- */
.shell {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: clamp(1.25rem, .6rem + 2.6vw, 3rem);
}
.shell--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper-2); }

.eyebrow {
  margin: 0 0 var(--space-6);
  font-size: var(--fs-mono);
  line-height: 1.5;
  color: var(--gold-deep);
  display: flex; align-items: flex-start; gap: .75rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold); flex: none;
  margin-top: .78em;               /* alinha o traço à primeira linha, mesmo quando o rótulo quebra */
  transform-origin: 0 50%;
}
.eyebrow__num {
  position: relative;
  padding: .2rem .5rem .2rem .55rem;
  border: 1px solid var(--line-2);
  color: var(--ink);
  letter-spacing: .08em;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  letter-spacing: -.02em;
  line-height: 1.08;
}
.section-title em { font-style: italic; color: var(--navy-500); }

.section-lead {
  margin-top: var(--space-6);
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 40rem;
}

/* ---------- 4. GRADE DE PLOTAGEM ---------- */
.plot { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.plot span {
  position: absolute; inset: 0; display: block;
  color: var(--navy);
}
.plot__v {
  background-image: linear-gradient(to right, currentColor 1px, transparent 1px);
  background-size: 88px 100%;
  opacity: .09;
}
.plot__h {
  background-image: linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 100% 88px;
  opacity: .06;
}
.plot--light span { color: #fff; }
.plot--light .plot__v { opacity: .14; }
.plot--light .plot__h { opacity: .09; }

/* marcas de corte nas imagens — vocabulário de prancha técnica */
.crop-mark { position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 2; }
.crop-mark::before, .crop-mark::after { content: ""; position: absolute; background: var(--gold); }
.crop-mark::before { width: 100%; height: 1px; }
.crop-mark::after  { width: 1px; height: 100%; }
.crop-mark--tl { top: 10px; left: 10px; }
.crop-mark--tl::before { top: 0; left: 0; }
.crop-mark--tl::after  { top: 0; left: 0; }
.crop-mark--br { bottom: 10px; right: 10px; }
.crop-mark--br::before { bottom: 0; right: 0; }
.crop-mark--br::after  { bottom: 0; right: 0; }

/* linha de cota */
.dimension {
  position: absolute; z-index: 3;
  left: -26px; top: 12%; bottom: 12%;
  display: none;
}
@media (min-width: 1080px) { .dimension { display: block; } }
.dimension__line {
  position: absolute; inset: 0; width: 1px; margin-inline: auto;
  background: var(--gold);
  transform-origin: 50% 0;
}
.dimension__line::before, .dimension__line::after {
  content: ""; position: absolute; left: -5px;
  width: 11px; height: 1px; background: var(--gold);
}
.dimension__line::before { top: 0; }
.dimension__line::after  { bottom: 0; }
.dimension__label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-size: .5625rem; color: var(--gold-deep);
  background: var(--paper-2); padding: .35rem .2rem;
}

/* ---------- 5. BOTÕES ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: var(--navy);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .875rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: var(--fs-sm);
  text-decoration: none; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
}
.btn .icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn--compact { min-height: 44px; padding: .6rem 1.15rem; }

.btn--primary:hover  { --btn-bg: var(--navy-700); }
.btn--outline        { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-2); }
.btn--outline:hover  { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.btn--ghost          { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover    { --btn-bd: var(--navy); }
.btn--ghost-light    { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; }
.btn--gold           { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover     { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); }

@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } }
.btn:active { transform: translateY(0); }

/* ---------- 6. CABEÇALHO ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(10,26,47,.06);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--space-6); }
.site-header__progress {
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .1s linear;
}

.brand {
  display: flex; align-items: center; gap: .7rem;
  min-height: 44px; text-decoration: none; margin-right: auto;
}
.brand__mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-mono); font-weight: 500;
  font-size: .8125rem; letter-spacing: .06em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.3125rem; letter-spacing: .01em; }
.brand__role {
  font-family: var(--font-mono); font-weight: 500;
  font-size: .5625rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.brand--light .brand__mark { background: var(--gold); color: var(--ink); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__role { color: var(--muted-dark); }

.site-nav__list { display: flex; align-items: center; gap: clamp(1rem, .4rem + 1.4vw, 2rem); }
.site-nav__cta { display: none; }

.site-nav a:not(.btn) {
  position: relative;
  display: inline-flex; align-items: baseline; gap: .4rem;
  padding: .72rem 0;   /* garante 44px de alvo de toque */
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink); text-decoration: none;
  transition: color .2s var(--ease);
}
.site-nav a:not(.btn) i {
  font-family: var(--font-mono); font-style: normal;
  font-size: .5625rem; letter-spacing: .08em; color: var(--gold-deep);
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--navy); }

.menu-toggle {
  display: none; width: 46px; height: 46px; flex: none;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 5px; }
.menu-toggle__bars i {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .menu-toggle { display: flex; }
  .site-header__cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: grid; overflow: hidden;
    grid-template-rows: 0fr;
    transition: grid-template-rows .38s var(--ease);
  }
  .site-nav.is-open { grid-template-rows: 1fr; }
  .site-nav__list {
    min-height: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding-inline: clamp(1.25rem, .6rem + 2.6vw, 3rem);
  }
  .site-nav__list li + li { border-top: 1px solid var(--line); }
  .site-nav a:not(.btn) { padding: 1.05rem 0; font-size: 1.0625rem; }
  .site-nav a:not(.btn) i { font-size: .625rem; min-width: 1.8em; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav__cta { display: block; border-top: 0 !important; padding: 1.25rem 0 1.75rem; }
  .site-nav__cta .btn { width: 100%; padding-block: 1rem; font-size: 1rem; }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 5vw, 5.5rem));
  padding-bottom: clamp(4rem, 2rem + 6vw, 7rem);
  background:
    radial-gradient(80% 60% at 88% 8%, rgba(30,84,144,.10), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero__inner { position: relative; display: grid; gap: clamp(3.5rem, 1.5rem + 6vw, 5rem); align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.08fr .92fr; } }

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__title em { display: block; font-style: italic; color: var(--navy-500); }

.hero__lead { margin-top: var(--space-6); font-size: var(--fs-lg); color: var(--ink); max-width: 34rem; }
.hero__lead strong { font-weight: 600; }

/* segundo parágrafo do hero: explica o entregável sem competir com o primeiro */
.hero__nota {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--muted);
  max-width: 34rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line-2);
}

.hero__actions { margin-top: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__proof {
  margin-top: clamp(2rem, 1.4rem + 2vw, 3rem);
  padding-top: var(--space-6); border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: .65rem clamp(1.25rem, .5rem + 1.8vw, 2.25rem);
  font-size: var(--fs-sm); color: var(--muted);
}
.hero__proof li { display: flex; align-items: baseline; gap: .45rem; }
.hero__proof b {
  font-family: var(--font-mono); font-weight: 500;
  font-size: .8125rem; color: var(--gold-deep); letter-spacing: .04em;
}

.hero__media { position: relative; margin: 0; }
.hero__frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; will-change: transform;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* ---------- 8. NÚMEROS ---------- */
.stats { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.stats__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); }
}

/* no celular cada número fica na horizontal, como linha de ficha técnica;
   a partir de 560 px vira coluna */
.stat { position: relative; display: flex; align-items: baseline; gap: .9rem; padding-left: 1rem; }
@media (min-width: 560px) { .stat { flex-direction: column; align-items: stretch; gap: .5rem; } }
.stat::before { content: ""; position: absolute; left: 0; top: .35rem; bottom: .35rem; width: 1px; background: var(--line-dark); }
.stat:first-child::before { background: var(--gold); }
.stat__num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  line-height: 1; color: var(--gold); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: .625rem; color: var(--muted-dark); line-height: 1.5; }

/* ---------- 9. PROBLEMAS (folha de especificação) ---------- */
.problems { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
@media (min-width: 900px) { .problems { grid-template-columns: repeat(2, 1fr); column-gap: clamp(3rem, 1rem + 5vw, 6rem); } }

.problem {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, .6rem + 1.4vw, 2rem);
  padding-block: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .problem:nth-child(-n+2) { border-top: 0; } }

.problem__idx {
  font-family: var(--font-mono); font-weight: 500;
  font-size: .75rem; letter-spacing: .1em; color: var(--gold-deep);
  padding-top: .35rem;
}
.problem__title { font-size: var(--fs-h3); margin-bottom: .55rem; letter-spacing: -.01em; }
.problem p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 10. SERVIÇOS ---------- */
.services { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); } }

.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
@media (hover: hover) { .service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); } }

.service__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.service__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.service--featured .service__media img { object-position: 50% 68%; }
@media (min-width: 560px) { .service__media { aspect-ratio: 16 / 10; } }

.service__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); }
.service__ref { font-size: .5625rem; color: var(--gold-deep); margin-bottom: .85rem; }
.service__title { font-size: var(--fs-h3); margin-bottom: .75rem; }
.service__desc { color: var(--muted); font-size: var(--fs-sm); }
.service__desc strong { color: var(--ink); font-weight: 600; }

.service__list { margin: var(--space-6) 0 var(--space-8); display: grid; gap: .65rem; }
.service__list li { position: relative; padding-left: 1.5rem; font-size: var(--fs-sm); }
.service__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 1px; background: var(--gold);
}
.service__body .btn { margin-top: auto; align-self: flex-start; }
.service__toggle { display: none; }   /* só existe no celular */

.service__flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: .4rem .7rem;
  background: var(--gold); color: var(--ink);
  border-radius: 2px; font-size: .5625rem;
}

@media (min-width: 900px) {
  .service--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 44%) 1fr; }
  .service--featured .service__media { aspect-ratio: auto; height: 100%; }
  .service--featured .service__media img { object-position: 50% 62%; }
  .service--featured .service__title { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
  .service--featured .service__list { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-6); }
}

/* ---------- 11. MÉTODO (assimétrico no desktop, carrossel no mobile) ---------- */
.section--dark { background: var(--ink); color: #fff; }
.section--dark .section-title em { color: var(--gold); }
.section--dark .section-lead { color: var(--muted-dark); }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .eyebrow__num { border-color: var(--line-dark); color: #fff; }

.method { display: grid; gap: var(--space-4); }
.method__item {
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  overflow: hidden; background: rgba(255,255,255,.03);
  display: flex; flex-direction: column;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
@media (hover: hover) { .method__item:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); } }
.method__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #0e2340; }
.method__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .9; }
.method__ref { font-size: .5625rem; color: var(--gold); padding: 1.25rem 1.4rem 0; margin: 0; }
.method__title { font-size: 1.125rem; padding: .5rem 1.4rem .5rem; }
.method__item p { padding: 0 1.4rem 1.6rem; font-size: var(--fs-sm); color: var(--muted-dark); margin: 0; }

/* mobile: carrossel com encaixe — decisão própria, não colapso do desktop */
@media (max-width: 767px) {
  .method {
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(1.25rem, .6rem + 2.6vw, 3rem);
    margin-inline: calc(clamp(1.25rem, .6rem + 2.6vw, 3rem) * -1);
    padding-inline: clamp(1.25rem, .6rem + 2.6vw, 3rem);
    padding-bottom: .75rem;
    scrollbar-width: none;
  }
  .method::-webkit-scrollbar { display: none; }
  .method__item { scroll-snap-align: start; }
  .snap-hint {
    margin: 1rem 0 0; font-size: .5625rem; color: var(--muted-dark);
    display: flex; align-items: center; gap: .5rem;
  }
  .snap-hint::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
}
@media (min-width: 768px) { .snap-hint { display: none; } }

/* desktop: composição assimétrica 12 colunas */
@media (min-width: 768px) {
  .method { grid-template-columns: repeat(12, 1fr); gap: var(--space-6); }
  .method__item--a { grid-column: span 7; }
  .method__item--b { grid-column: span 5; }
  .method__item--c { grid-column: span 5; }
  .method__item--d { grid-column: span 7; }
  .method__item--a .method__media { aspect-ratio: 16 / 9; }
  .method__item--d .method__media { aspect-ratio: 16 / 9; }
  .method__item--b .method__media,
  .method__item--c .method__media { aspect-ratio: 4 / 3; }
}

/* ---------- 12. PROCESSO (linha do tempo) ---------- */
.steps { position: relative; display: grid; gap: var(--space-8); padding-left: 2.25rem; }
.steps__rail {
  position: absolute; left: 6px; top: .5rem; bottom: .5rem; width: 1px;
  background: var(--line-2);
}
.steps__rail i {
  position: absolute; inset: 0; display: block; background: var(--gold);
  transform: scaleY(var(--fill, 0)); transform-origin: 50% 0;
  transition: transform .18s linear;
}
.step { position: relative; }
.step__dot {
  position: absolute; left: -2.25rem; top: .3rem;
  width: 13px; height: 13px; margin-left: -6px;
  border: 1px solid var(--line-2); background: var(--paper-2);
  border-radius: 50%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.step.is-in .step__dot { border-color: var(--gold); background: var(--gold); }
.step__num { display: block; font-size: .5625rem; color: var(--gold-deep); margin-bottom: .5rem; }
.step__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: var(--fs-sm); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-8); padding-left: 0; padding-top: 2.5rem; }
  .steps__rail { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .steps__rail i { transform: scaleX(var(--fill, 0)); transform-origin: 0 50%; }
  .step__dot { left: 0; top: -2.5rem; margin-left: 0; margin-top: -6px; background: var(--paper-2); }
}

/* ---------- 13. GALERIA ---------- */
.gallery {
  padding-inline: clamp(1.25rem, .6rem + 2.6vw, 3rem);
  max-width: 1200px; margin-inline: auto;
  columns: 2; column-gap: var(--space-4);
}
@media (min-width: 780px) { .gallery { columns: 3; column-gap: var(--space-6); } }

.gallery__item {
  position: relative; display: block; width: 100%;
  margin: 0 0 var(--space-4); padding: 0;
  break-inside: avoid;
  background: var(--paper-3); border: 0;
  border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in;
}
@media (min-width: 780px) { .gallery__item { margin-bottom: var(--space-6); } }
.gallery__item img { width: 100%; transition: transform .9s var(--ease); }
.gallery__ref {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: .3rem .5rem;
  background: rgba(10,26,47,.92); color: #fff;   /* opaco o bastante para o contraste não depender da foto atrás */
  font-family: var(--font-mono); font-weight: 500;
  font-size: .5rem; letter-spacing: .1em;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.05); }
  .gallery__item:hover .gallery__ref { opacity: 1; transform: none; }
}
.gallery__item:focus-visible .gallery__ref { opacity: 1; transform: none; }

/* ---------- 14. SOBRE ---------- */
.about { display: grid; gap: clamp(2.5rem, 1.5rem + 5vw, 5rem); align-items: center; }
@media (min-width: 940px) { .about { grid-template-columns: .85fr 1.15fr; } }

.about__media { margin: 0; position: relative; }
.about__frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; max-width: 460px; will-change: transform;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about__ref {
  margin-top: .85rem; max-width: 460px;
  font-size: .5625rem; color: var(--muted);
  display: flex; align-items: center; gap: .6rem;
}
.about__ref::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.about__content p { color: var(--muted); font-size: var(--fs-lg); }
.about__content p strong { color: var(--ink); font-weight: 600; }
.about__content .section-title { margin-bottom: var(--space-8); }

.credentials { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--line-2); }
.credentials li {
  display: grid; gap: .2rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 560px) { .credentials li { grid-template-columns: 12rem 1fr; align-items: baseline; gap: 1rem; } }
.credentials span { font-size: .5625rem; color: var(--gold-deep); }
.credentials strong { font-size: var(--fs-base); font-weight: 600; }

/* ---------- 15. DEPOIMENTO ---------- */
.section--quote {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  padding-block: clamp(4rem, 2.5rem + 6vw, 7rem);
}
.quote { margin: 0 auto; max-width: 46rem; text-align: center; }
.quote__stars { display: flex; justify-content: center; gap: .35rem; margin-bottom: var(--space-6); }
.quote__stars svg { width: 20px; height: 20px; fill: var(--gold); }
.quote__text { margin: 0; }
.quote__text p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.375rem, 1.05rem + 1.5vw, 2rem);
  line-height: 1.38; letter-spacing: -.012em; text-wrap: pretty;
}
.quote__by {
  position: relative;
  margin-top: var(--space-8); padding-top: var(--space-8);
  display: flex; flex-direction: column; gap: .3rem;
}
/* régua curta desenhada acima da assinatura */
.quote__by::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 48px; height: 1px; margin-left: -24px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .7s var(--ease-out) calc(var(--d, 0ms) + 200ms);
}
.quote__by.is-in::before { transform: scaleX(1); }
.quote__by strong { font-size: var(--fs-sm); font-weight: 600; }
.quote__by span { font-size: .5625rem; color: var(--muted); }

/* ---------- 16. DÚVIDAS ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 0;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); font-weight: 600;
  line-height: 1.45; letter-spacing: -.01em;
  cursor: pointer; list-style: none;
  transition: color .2s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--navy-500); }
.faq__q i {
  font-family: var(--font-mono); font-style: normal; font-weight: 500;
  font-size: .625rem; letter-spacing: .08em; color: var(--gold-deep);
  padding-top: .42em; flex: none;
}
.faq__chev {
  position: relative; flex: none; margin-left: auto;
  width: 30px; height: 30px; margin-top: .1rem;
  border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.faq__chev::before, .faq__chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: currentColor; transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__chev::before { width: 12px; height: 1px; }
.faq__chev::after  { width: 1px; height: 12px; }
.faq__item[open] .faq__chev { border-color: var(--gold); background: rgba(194,155,74,.12); }
.faq__item[open] .faq__chev::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a { overflow: hidden; }
.faq__a p {
  padding: 0 0 1.6rem 2.55rem;
  color: var(--muted); font-size: var(--fs-base);
}
.faq__item[open] .faq__a { animation: faq-in .38s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 17. CTA FINAL ---------- */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 70% at 20% 0%, rgba(30,84,144,.42), transparent 60%), var(--ink);
  color: #fff; padding-block: clamp(4.5rem, 3rem + 7vw, 8rem);
}
.cta__inner { position: relative; }
.cta .eyebrow { color: var(--gold); }
.cta .eyebrow__num { border-color: var(--line-dark); color: #fff; }
.cta__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.02em;
  max-width: 20ch; text-wrap: balance;
}
.cta__title em { font-style: italic; color: var(--gold); }
.cta__lead { margin-top: var(--space-6); max-width: 40rem; font-size: var(--fs-lg); color: var(--muted-dark); }
.cta__actions { margin-top: clamp(2rem, 1.5rem + 2vw, 2.75rem); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta__info {
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  display: grid; gap: var(--space-6); grid-template-columns: 1fr;
  padding-top: var(--space-8); border-top: 1px solid var(--line-dark);
}
@media (min-width: 700px) { .cta__info { grid-template-columns: repeat(3, 1fr); } }
.cta__info dt { font-size: .5625rem; color: var(--gold); }
.cta__info dd { margin: .4rem 0 0; font-size: var(--fs-base); color: #fff; }

/* ---------- 18. RODAPÉ ---------- */
.site-footer { background: var(--ink-2); color: var(--muted-dark); padding-top: clamp(3rem, 2rem + 4vw, 5rem); }
.site-footer__inner { display: grid; gap: var(--space-12); grid-template-columns: 1fr; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1.6fr 1fr 1.2fr; gap: var(--space-8); } }

.site-footer__tag { margin-top: var(--space-6); font-size: var(--fs-sm); max-width: 26rem; }
.site-footer__crea { margin-top: var(--space-3); font-family: var(--font-mono); font-size: .75rem; color: var(--gold); }
.site-footer__h { font-size: .5625rem; color: #fff; margin-bottom: var(--space-4); font-weight: 500; }
.site-footer a:not(.brand) {
  display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 0;
  font-size: var(--fs-sm); text-decoration: none;
  transition: color .2s var(--ease);
}
.site-footer .brand { text-decoration: none; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--gold); }
.site-footer__hours { margin-top: var(--space-4); font-size: var(--fs-sm); }
.site-footer__base { padding-block: var(--space-6); border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__base p { font-size: .8125rem; color: #7C8FA6; }

/* ---------- 19. CONTATO FIXO ---------- */
/* mobile: barra inferior · desktop: botão flutuante */
.cta-bar {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  display: flex;
  /* 6 px de separação, não 1: encostar na borda do botão principal não pode
     abrir o discador por engano. O fundo escuro faz a fresta parecer costura
     de projeto em vez de falha de alinhamento. */
  gap: 6px;
  background: var(--ink-2);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
}
.cta-bar.is-visible { transform: none; }
.cta-bar__main {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 60px; padding: 1rem;
  background: var(--navy); color: #fff;
  font-weight: 600; font-size: 1rem; text-decoration: none;
}
.cta-bar__main .icon { width: 22px; height: 22px; fill: currentColor; }
.cta-bar__alt {
  display: flex; align-items: center; justify-content: center;
  width: 68px; min-height: 60px;
  background: var(--ink); color: #fff;
}
.cta-bar__alt svg { width: 22px; height: 22px; fill: currentColor; }
@media (min-width: 900px) { .cta-bar { display: none; } }
@media (max-width: 899px) { .site-footer__base { padding-bottom: 5.5rem; } }

.wa-float {
  position: fixed; z-index: 90;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: none; align-items: center; gap: .6rem;
  min-height: 56px; padding: 1rem 1.35rem;
  background: var(--navy); color: #fff;
  border-radius: var(--radius); text-decoration: none;
  font-size: var(--fs-sm); font-weight: 600;
  box-shadow: 0 8px 30px rgba(10,26,47,.34);
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .25s var(--ease);
}
@media (min-width: 900px) { .wa-float { display: inline-flex; } }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--navy-700); }
.wa-float .icon { width: 24px; height: 24px; fill: currentColor; flex: none; }

/* ---------- 20. LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(7,20,38,.95);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: lb-in .28s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img {
  max-width: min(100%, 900px); max-height: 86vh; width: auto;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: lb-img .34s var(--ease);
}
@keyframes lb-img { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox__close {
  position: absolute; top: max(1rem, env(safe-area-inset-top)); right: 1rem;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__close svg { width: 22px; height: 22px; }

body.is-locked { overflow: hidden; }

/* ============================================================
   21. MOVIMENTO — vocabulário próprio, não fade-up genérico
   ============================================================ */

/* a. TÍTULOS — o texto sobe por trás de uma máscara, como sendo plotado.
   Feito com overflow + translação (e não clip-path) porque clip-path zera a
   área de interseção e o IntersectionObserver nunca revelaria o elemento. */
.js .rv-wipe {
  display: block; overflow: hidden;
  padding-bottom: .14em; margin-bottom: -.14em;  /* folga para descidas e acentos */
}
.js .rv-wipe__in {
  display: block;
  transform: translateY(106%);
  transition: transform 1.05s var(--ease-out) var(--d, 0ms);
}
.js .rv-wipe.is-in .rv-wipe__in { transform: none; }

/* b. RÉGUAS — o traço do rótulo é desenhado da esquerda */
.js .rv-rule { opacity: 0; transition: opacity .5s var(--ease) var(--d, 0ms); }
.js .rv-rule::before { transform: scaleX(0); transition: transform .75s var(--ease-out) calc(var(--d, 0ms) + 120ms); }
.js .rv-rule.is-in { opacity: 1; }
.js .rv-rule.is-in::before { transform: scaleX(1); }

/* c. IMAGENS — a foto sobe de dentro da moldura e volta à escala real */
.js .rv-img { background: var(--paper-3); }
.js .rv-img > img {
  transform: translateY(101%) scale(1.14);
  transition: transform 1.25s var(--ease-out) var(--d, 0ms);
}
.js .rv-img.is-in > img { transform: none; }
@media (hover: hover) {
  .gallery__item.rv-img.is-in:hover > img { transform: scale(1.05); }
}
/* marcas de corte entram depois da foto */
.js .rv-img .crop-mark { opacity: 0; transition: opacity .5s var(--ease) calc(var(--d, 0ms) + 700ms); }
.js .rv-img.is-in .crop-mark { opacity: 1; }

/* d. LINHAS DE LISTA — deslizam da esquerda contra a régua */
.js .rv-row { opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms); }
.js .rv-row.is-in { opacity: 1; transform: none; }

/* e. TEXTO DE APOIO — sobe discretamente */
.js .rv-up { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms); }
.js .rv-up.is-in { opacity: 1; transform: none; }

/* f. COTA — a linha é traçada de cima para baixo */
.js .rv-dim .dimension__line { transform: scaleY(0); transition: transform .9s var(--ease-out) 500ms; }
.js .rv-dim .dimension__label { opacity: 0; transition: opacity .5s var(--ease) 1.1s; }
.js .rv-dim.is-in .dimension__line { transform: scaleY(1); }
.js .rv-dim.is-in .dimension__label { opacity: 1; }

/* g. GRADE DE PLOTAGEM — verticais da esquerda, horizontais do topo */
.js .plot__v { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease-out) .15s; }
.js .plot__h { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-out) .45s; }
.js .plot.is-in .plot__v, .js .plot.is-in .plot__h { clip-path: inset(0 0 0 0); }

/* h. VARREDURA TÉRMICA — passa uma vez sobre a foto de termografia */
.sweep::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg,
    transparent 38%,
    rgba(194,155,74,.30) 47%,
    rgba(255,255,255,.55) 50%,
    rgba(30,84,144,.30) 53%,
    transparent 62%);
  transform: translateX(-130%);
  opacity: 0;
}
.js .sweep.is-swept::after { animation: sweep 1.5s var(--ease-out) forwards; }
@keyframes sweep {
  0%   { transform: translateX(-130%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}

/* ============================================================
   21b. MICROINTERAÇÕES — só em hover, foco e rolagem.
   Nada aqui acrescenta peso visual com a página parada.
   ============================================================ */

/* --- DEPOIMENTO: as estrelas se assentam uma a uma --- */
.js .rv-stars svg {
  opacity: 0; transform: scale(.55) rotate(-14deg);
  transition: opacity .35s var(--ease) var(--sd), transform .55s var(--ease-out) var(--sd);
}
.js .rv-stars.is-in svg { opacity: 1; transform: none; }
.js .rv-stars svg:nth-child(1) { --sd:  60ms; }
.js .rv-stars svg:nth-child(2) { --sd: 140ms; }
.js .rv-stars svg:nth-child(3) { --sd: 220ms; }
.js .rv-stars svg:nth-child(4) { --sd: 300ms; }
.js .rv-stars svg:nth-child(5) { --sd: 380ms; }

/* --- DEPOIMENTO: a citação acende palavra a palavra conforme a rolagem.
   --p (0 a 1) é a passagem da seção pela tela, escrita pelo JS.
   --i é o índice da palavra e --n o total. Cada palavra sai de 15% de
   opacidade e chega a 100% no seu momento — leitura conduzida, não um
   bloco de texto que aparece de uma vez. --- */
.js .rv-quote .w {
  display: inline-block;
  /* dividir por 3 espalha a transição de cada palavra por três posições,
     transformando o acendimento numa varredura suave em vez de um
     liga-desliga palavra a palavra */
  opacity: clamp(.15, calc((var(--p, 0) * var(--n) - var(--i)) / 3), 1);
  /* sem will-change de propósito: seriam 54 camadas de composição
     permanentes para uma animação de opacidade que já é barata */
}

/* --- DÚVIDAS: régua dourada cresce da esquerda no hover e fica no aberto --- */
.faq__item { position: relative; }
.faq__item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .5s var(--ease-out);
}
.faq__item[open]::after { transform: scaleX(1); }
@media (hover: hover) {
  .faq__item:hover::after { transform: scaleX(1); }
  .faq__q { transition: color .2s var(--ease), transform .35s var(--ease); }
  .faq__item:hover .faq__q { transform: translateX(5px); }
}
.faq__q i { transition: color .25s var(--ease); }
.faq__item[open] .faq__q i { color: var(--gold); }

/* fio vertical desce ligando a pergunta à resposta */
.faq__a { position: relative; }
.faq__a::before {
  content: ""; position: absolute;
  left: .62rem; top: .1rem; bottom: 1.7rem; width: 1px;
  background: var(--line-2);
  transform-origin: 50% 0;
}
.js .faq__item[open] .faq__a::before { animation: fio-desce .6s var(--ease-out) both; }
@keyframes fio-desce { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* --- GALERIA: marcas de corte se abrem para fora no hover --- */
.gallery__item::before, .gallery__item::after {
  content: ""; position: absolute; z-index: 2;
  width: 16px; height: 16px;
  border: 0 solid var(--gold);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .5s var(--ease-out);
}
.gallery__item::before {
  top: 12px; left: 12px;
  border-top-width: 1px; border-left-width: 1px;
  transform: translate(7px, 7px);
}
.gallery__item::after {
  bottom: 12px; right: 12px;
  border-bottom-width: 1px; border-right-width: 1px;
  transform: translate(-7px, -7px);
}
@media (hover: hover) {
  .gallery__item:hover::before, .gallery__item:hover::after { opacity: 1; transform: none; }
}
.gallery__item:focus-visible::before, .gallery__item:focus-visible::after { opacity: 1; transform: none; }

/* --- SOBRE: a linha da credencial se acende e o item avança --- */
.credentials li { position: relative; transition: transform .35s var(--ease); }
.credentials li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .55s var(--ease-out);
}
.credentials li span { transition: color .25s var(--ease); }
@media (hover: hover) {
  .credentials li:hover { transform: translateX(7px); }
  .credentials li:hover::after { transform: scaleX(1); }
}

/* --- CHAMADA FINAL: as réguas dos dados são traçadas de cima para baixo --- */
.cta__info div { position: relative; padding-left: 1.1rem; }
.cta__info div::before {
  content: ""; position: absolute; left: 0; top: .2rem; bottom: .2rem; width: 1px;
  background: var(--line-dark);
  transform: scaleY(0); transform-origin: 50% 0;
  transition: transform .65s var(--ease-out) var(--dd, 0ms);
}
.cta__info div:first-child::before { background: var(--gold); }
.cta__info.is-in div::before { transform: scaleY(1); }
.cta__info div:nth-child(1) { --dd:  80ms; }
.cta__info div:nth-child(2) { --dd: 200ms; }
.cta__info div:nth-child(3) { --dd: 320ms; }

/* --- RODAPÉ: sublinhado desenhado da esquerda, com avanço do link --- */
.site-footer__nav a, .site-footer__contact a { position: relative; }
.site-footer__nav a::after, .site-footer__contact a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) {
  .site-footer__nav a, .site-footer__contact a { transition: color .2s var(--ease), transform .3s var(--ease); }
  .site-footer__nav a:hover, .site-footer__contact a:hover { transform: translateX(5px); }
  .site-footer__nav a:hover::after, .site-footer__contact a:hover::after { transform: scaleX(1); }
}

/* --- BOTÕES: a seta indica para onde o clique leva --- */
.btn .icon { transition: transform .3s var(--ease); }
@media (hover: hover) {
  .btn--ghost:hover .icon { transform: translateY(4px); }
  .btn--gold:hover .icon, .btn--primary:hover .icon { transform: scale(1.08); }
}

/* --- LIGHTBOX: navegação e contador --- */
.lightbox__quadro { position: relative; margin: 0; display: grid; justify-items: center; gap: 1rem; }
.lightbox__contador {
  font-family: var(--font-mono); font-weight: 500;
  font-size: .5625rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-dark);
}
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2;
  width: 52px; height: 52px; margin-top: -26px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: max(.75rem, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(.75rem, env(safe-area-inset-right)); }
@media (hover: hover) {
  .lightbox__nav:hover { background: rgba(255,255,255,.18); border-color: var(--gold); }
  .lightbox__nav--prev:hover { transform: translateX(-3px); }
  .lightbox__nav--next:hover { transform: translateX(3px); }
}
@media (min-width: 1100px) {
  .lightbox__nav--prev { left: 3rem; }
  .lightbox__nav--next { right: 3rem; }
}

/* ============================================================
   21c. PASSAGEM DEDICADA AO CELULAR
   Diagnóstico antes de mexer: a página tinha 16,4 telas de rolagem
   em 375 px, sendo Serviços 22% do total. O que segue compacta o
   ritmo, redimensiona mídia e esconde o que é redundante ou
   decorativo demais para caber — sem tirar nenhuma informação
   que o visitante precise para decidir.
   ============================================================ */
@media (max-width: 639px) {

  /* --- ritmo geral: respiro menor entre seções --- */
  :root { --section-y: 3.25rem; }
  .section-head { margin-bottom: 2rem; }
  .eyebrow { margin-bottom: 1.125rem; }

  /* --- legibilidade dos rótulos técnicos ---
     A monoespaçada de 9 px funciona no desktop, onde a tela está a meio
     metro. No celular, a 30 cm e em movimento, vira ruído ilegível.
     Sobem para 11 px: continuam sendo rótulo, mas dá para ler. */
  .service__ref, .method__ref, .about__ref, .credentials span,
  .quote__by span, .cta__info dt, .site-footer__h, .step__num,
  .service__flag, .snap-hint { font-size: .6875rem; }
  .stat__label { font-size: .6875rem; }
  .brand__role { font-size: .625rem; letter-spacing: .16em; }
  .faq__q i, .site-nav a:not(.btn) i { font-size: .6875rem; }

  /* --- HERO --- */
  /* A lista "6 anos · +120 clientes · Pós" repete exatamente os números
     da barra escura que vem logo abaixo. No desktop as duas ficam longe;
     no celular ficam a menos de uma tela de distância. Fica só a barra. */
  .hero__proof { display: none; }

  /* marcas de corte: a 375 px viram dois riscos de 14 px que ninguém lê */
  .crop-mark { display: none; }

  .hero { padding-bottom: 2.5rem; }
  .hero__inner { gap: 2.75rem; }
  .hero__lead { margin-top: 1.25rem; }
  .hero__actions { margin-top: 1.5rem; gap: .625rem; }
  .hero__actions .btn { width: 100%; }
  .hero__frame { aspect-ratio: 5 / 6; }
  .hero__nota { font-size: .875rem; margin-top: .875rem; }

  /* --- NÚMEROS: três linhas de ficha técnica --- */
  .stats { padding-block: 2rem; }
  .stats__grid { gap: .875rem; }
  .stat__num { font-size: 1.75rem; min-width: 3.25rem; }
  .stat__label { line-height: 1.4; }

  /* --- PROBLEMAS --- */
  .problem { padding-block: 1.25rem; gap: .875rem; }

  /* --- SERVIÇOS: a seção mais pesada da página --- */
  .service__media { aspect-ratio: 3 / 2; }        /* era 4/3: ~55 px a menos por card */
  .service__body { padding: 1.25rem; }
  .service__ref { margin-bottom: .6rem; }
  .service__title { font-size: 1.1875rem; }
  .service__flag { top: .75rem; left: .75rem; }
  .services { gap: 1.25rem; }

  /* lista de itens recolhida atrás de um botão */
  .service__toggle {
    display: flex; align-items: center; gap: .625rem;
    width: 100%; min-height: 46px;
    margin: 1.125rem 0 0; padding: .625rem 0;
    background: none; border: 0; border-top: 1px solid var(--line);
    color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600;
    text-align: left; cursor: pointer;
  }
  .service__toggle i {
    font-family: var(--font-mono); font-style: normal; font-weight: 500;
    font-size: .6875rem; letter-spacing: .1em; color: var(--gold-deep);
  }
  /* seta em CSS, sem ícone extra para baixar */
  .service__toggle em {
    margin-left: auto; width: 9px; height: 9px;
    border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .3s var(--ease);
  }
  .service.is-aberto .service__toggle em { transform: translateY(1px) rotate(-135deg); }

  .service__dobra {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
  }
  .service.is-aberto .service__dobra { grid-template-rows: 1fr; }
  .service__dobra > .service__list {
    min-height: 0; overflow: hidden;
    margin: 0; padding-top: .875rem; gap: .5rem;
  }

  .service__body .btn { margin-top: 1.25rem; width: 100%; }

  /* --- MÉTODO --- */
  .method__ref { padding-top: 1rem; }
  .method__item p { padding-bottom: 1.25rem; }

  /* --- PROCESSO --- */
  .steps { gap: 1.75rem; padding-left: 2rem; }
  .step__dot { left: -2rem; }

  /* --- GALERIA: quatro fotos contam a mesma história que seis,
     e economizam quase uma tela inteira de rolagem --- */
  .gallery__item:nth-child(n + 5) { display: none; }
  .gallery { column-gap: .75rem; }
  .gallery__item { margin-bottom: .75rem; }

  /* --- SOBRE --- */
  .about { gap: 2rem; }
  .about__frame { aspect-ratio: 1 / 1; }          /* retrato centralizado: corte quadrado funciona */
  .about__frame img { object-position: 50% 12%; }
  .about__content p { font-size: 1rem; }
  .about__content .section-title { margin-bottom: 1.5rem; }
  .credentials { margin-top: 1.75rem; }
  .credentials li { padding: .875rem 0; }

  /* --- DEPOIMENTO --- */
  .section--quote { padding-block: 3.25rem; }
  .quote__stars { margin-bottom: 1.25rem; }
  .quote__by { margin-top: 1.75rem; padding-top: 1.75rem; }

  /* --- DÚVIDAS --- */
  .faq__q { padding: 1.125rem 0; gap: .75rem; }
  .faq__a p { padding-bottom: 1.25rem; padding-left: 2.3rem; }

  /* --- CHAMADA FINAL --- */
  .cta__actions .btn { width: 100%; }
  .cta__info { margin-top: 2.25rem; padding-top: 1.75rem; gap: 1.25rem; }

  /* --- RODAPÉ: "Navegar" e "Contato" lado a lado.
     Empilhados eram 8 links de 44 px em coluna única — mais de uma tela
     só de rodapé. --- */
  .site-footer { padding-top: 2.5rem; }
  .site-footer__inner {
    /* a coluna de contato recebe mais largura: os textos são mais longos */
    grid-template-columns: .8fr 1.2fr;
    gap: 2rem 1.25rem;
    padding-bottom: 1.75rem;
  }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__tag { margin-top: 1rem; }
  .site-footer__h { margin-bottom: .5rem; }
  /* mantém 44 px de alvo de toque: os 4 px economizados por link não
     compensam abrir exceção no padrão de acessibilidade do site */
  .site-footer a:not(.brand) { font-size: .875rem; }
  .site-footer__contact a { word-break: break-word; }
  .site-footer__hours { margin-top: 1rem; }
}

/* Faixa de tablet (640–899 px): os cards de serviço ainda são de coluna
   única, então a foto ganha a largura toda e vira uma imagem de ~480 px
   de altura. Achatar a proporção devolve quase três telas de rolagem. */
@media (min-width: 640px) and (max-width: 899px) {
  .service__media { aspect-ratio: 2 / 1; }
  .gallery { columns: 3; }
}

/* ------------------------------------------------------------
   CELULAR DEITADO (e qualquer tela baixa)
   Em paisagem sobram uns 375 px de altura. Com a escala de tipo
   pensada para retrato, o cabeçalho e o título sozinhos ocupavam
   a tela toda e a chamada ficava abaixo da dobra. Aqui a régua
   vertical encolhe e a foto deixa de ser retrato.
   ------------------------------------------------------------ */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --header-h: 54px; --section-y: 2.5rem; }

  .hero {
    padding-top: calc(var(--header-h) + .875rem);
    padding-bottom: 2rem;
  }
  .hero__inner { gap: 2rem; }
  .eyebrow { margin-bottom: .75rem; }
  .hero__title { font-size: 1.875rem; line-height: 1.05; }
  .hero__lead { font-size: .9375rem; margin-top: .75rem; }
  .hero__nota { font-size: .78125rem; line-height: 1.55; margin-top: .625rem; }
  .hero__actions { margin-top: .875rem; }
  .hero__proof { margin-top: 1rem; padding-top: .875rem; }

  /* foto de retrato em tela deitada vira uma coluna altíssima */
  .hero__frame { aspect-ratio: 16 / 9; }
  .about__frame { aspect-ratio: 16 / 10; max-width: none; }
  .service__media { aspect-ratio: 16 / 6; }

  .section-title { font-size: 1.75rem; }
  .cta__title { font-size: 1.75rem; }
  .quote__text p { font-size: 1.25rem; }
  .stat__num { font-size: 1.75rem; }

  /* a barra fixa não pode comer 16% de uma tela de 375 px */
  .cta-bar__main, .cta-bar__alt { min-height: 46px; }
  .cta-bar__main { font-size: .875rem; }

  /* o menu aberto precisa rolar: não cabe inteiro na altura disponível */
  .site-nav__list { max-height: calc(100vh - var(--header-h) - 1rem); overflow-y: auto; }
}

/* telas muito estreitas (≤ 360 px): última compactação */
@media (max-width: 360px) {
  .brand__name { font-size: 1.1875rem; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ---------- 22. MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .plot__v, .js .plot__h { clip-path: none !important; }
  .js .rv-up, .js .rv-row, .js .rv-rule { opacity: 1 !important; transform: none !important; }
  .js .rv-rule::before, .js .rv-dim .dimension__line { transform: none !important; }
  .js .rv-dim .dimension__label, .js .rv-img .crop-mark { opacity: 1 !important; }
  .js .rv-img > img, .js .rv-wipe__in { transform: none !important; }
  .hero__frame, .about__frame { transform: none !important; }
  .sweep::after { display: none; }
  .steps__rail i { transform: none !important; }

  /* microinterações */
  .js .rv-stars svg { opacity: 1 !important; transform: none !important; }
  .js .rv-quote .w { opacity: 1 !important; }
  .quote__by::before, .faq__item::after, .credentials li::after,
  .cta__info div::before, .site-footer__nav a::after, .site-footer__contact a::after,
  .gallery__item::before, .gallery__item::after { transform: none !important; }
  .quote__by::before, .cta__info div::before { transform: scaleX(1) scaleY(1) !important; }
  .gallery__item::before, .gallery__item::after { opacity: 0 !important; }
  .js .faq__item[open] .faq__a::before { animation: none !important; }
  .faq__item:hover .faq__q, .credentials li:hover,
  .site-footer__nav a:hover, .site-footer__contact a:hover { transform: none !important; }
  .btn:hover .icon { transform: none !important; }
}

/* ---------- 23. IMPRESSÃO ---------- */
@media print {
  .site-header, .wa-float, .cta-bar, .lightbox, .plot { display: none !important; }
  body { color: #000; }
  .js .rv-up, .js .rv-row, .js .rv-rule { opacity: 1 !important; transform: none !important; }
  .js .rv-img > img, .js .rv-wipe__in { transform: none !important; }
}
