/* =========================================================
   Auto Refinish — Site institucional
   ========================================================= */
:root {
  --bg-dark: #0b0c0e;
  --ink: #141518;
  --ink-2: #1b1d21;
  --ink-line: rgba(255,255,255,.14);
  --bg-light: #f3f2ef;
  --paper-2: #e6e4df;
  --paper-line: rgba(20,21,24,.16);
  --text-on-light: #141518;
  --text-on-dark: #f1f0ed;
  --mute-dark: #a7a9ad;
  --mute-light: #5d6066;
  --gold: #a58602;
  --gold-hi: #c8a62a;
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Saira", "Segoe UI", sans-serif;
  --font-hand: "Architects Daughter", "Segoe Print", cursive;
  --gutter: clamp(16px, 5vw, 96px);
  --ease: cubic-bezier(.2,.7,.1,1);
  --wa: #25d366;
  --wa-hi: #3ee07a;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg-dark); color: var(--text-on-dark);
  font-family: var(--font-body); font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.gold { color: var(--gold-hi); }
.paper .gold { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity .7s var(--ease), visibility .7s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-brand img { width: 120px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; transform: translateY(-4px); } }
.loader-track { width: min(280px, 60vw); height: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
#loader-bar { height: 100%; width: 0; background: var(--gold-hi); transition: width .25s; }
#loader-percent { font: 600 14px var(--font-body); letter-spacing: .3em; color: var(--mute-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 36px;
  padding: 22px var(--gutter);
  background: linear-gradient(180deg, rgba(11,12,14,.9), rgba(11,12,14,0));
  transition: background .4s, padding .4s;
}
.site-header.scrolled { background: rgba(11,12,14,.94); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-line); }
.site-header .logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: #d4d4d2; position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold-hi); transition: width .35s var(--ease); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: transform .3s; }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn-gold, .btn-line, .cta-button {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font: 600 14px var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 26px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn-gold { background: var(--gold-hi); color: var(--ink); border: 2px solid var(--gold-hi); }
.btn-gold:hover { background: #ddb937; transform: translateY(-2px); }
.btn-wa {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font: 700 14px var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 26px; background: var(--wa); color: #0b2814; border: 2px solid var(--wa);
  transition: background .3s, transform .3s var(--ease);
}
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.btn-wa:hover { background: var(--wa-hi); border-color: var(--wa-hi); transform: translateY(-2px); }
.btn-wa.sm { padding: 10px 16px; font-size: 12px; gap: 8px; }
.btn-wa.sm svg { width: 18px; height: 18px; }
.btn-gold.sm { padding: 11px 18px; font-size: 12px; }
.btn-line { border: 2px solid rgba(255,255,255,.3); color: #fff; }
.btn-line:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn-gold svg, .btn-line svg { width: 22px; height: 22px; flex: none; }
.cta-button { margin-top: 30px; border: 2px solid var(--gold-hi); color: #fff; }
.cta-button span { transition: transform .3s var(--ease); }
.cta-button:hover { background: var(--gold-hi); color: var(--ink); }
.cta-button:hover span { transform: translateX(5px); }

/* =========================================================
   CINEMATIC SCROLL
   ========================================================= */
#scroll-container { position: relative; height: 900vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg-dark); }
.canvas-wrap { position: absolute; inset: 0; clip-path: circle(0% at 50% 50%); will-change: clip-path; }
#canvas { width: 100%; height: 100%; display: block; }
.scrim { position: absolute; inset: 0; pointer-events: none; }
.scrim-base { background:
  linear-gradient(180deg, rgba(11,12,14,.55) 0%, rgba(11,12,14,0) 22%, rgba(11,12,14,0) 70%, rgba(11,12,14,.7) 100%),
  rgba(11,12,14,.18); }
.scrim-l { opacity: 0; background: linear-gradient(90deg, rgba(11,12,14,.94) 0%, rgba(11,12,14,.82) 34%, rgba(11,12,14,.25) 58%, rgba(11,12,14,0) 72%); }
.scrim-r { opacity: 0; background: linear-gradient(270deg, rgba(11,12,14,.94) 0%, rgba(11,12,14,.82) 34%, rgba(11,12,14,.25) 58%, rgba(11,12,14,0) 72%); }
#dark-overlay { position: absolute; inset: 0; background: #0b0c0e; opacity: 0; pointer-events: none; }

.marquee-wrap { position: absolute; left: 0; bottom: -1.5vw; width: 100%; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .6s; }
.marquee-text {
  white-space: nowrap; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 13vw; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28);
  letter-spacing: .01em; will-change: transform;
}

/* Hero */
.hero-standalone {
  position: absolute; inset: 0; z-index: 5; background: var(--bg-dark);
  display: flex; align-items: center; padding: 0 var(--gutter);
}
.hero-standalone::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 85% 60%, rgba(200,166,42,.10), transparent 70%);
}
.hero-sym { position: absolute; right: -6vw; bottom: -8vh; width: min(62vw, 980px); opacity: .07; pointer-events: none; }
.hero-inner { position: relative; max-width: 60vw; padding-top: 6vh; }
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 13px var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-hi);
}
.section-label::before { content: ""; width: 34px; height: 3px; background: var(--gold-hi); }
.hero-heading { font-size: clamp(5rem, 15vw, 16rem); font-weight: 800; line-height: .8; margin: 28px 0 34px; letter-spacing: -.005em; }
.hero-heading .w { display: inline-block; overflow: hidden; padding-bottom: .04em; }
.hero-heading .w > span { display: inline-block; }
.hero-heading .w:last-child > span { color: var(--gold-hi); }
.hero-tagline { font-size: clamp(1.05rem, 1.5vw, 1.45rem); font-weight: 300; color: #cfcfcc; max-width: 34em; }
.hero-tagline strong { font-weight: 600; color: #fff; }
.scroll-indicator {
  position: absolute; left: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute-dark);
}
.scroll-indicator i { width: 1px; height: 46px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-indicator i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-hi); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* Scroll sections (positioned by JS via --mid) */
.scroll-section {
  position: absolute; left: 0; width: 100%; z-index: 6;
  top: calc(var(--mid, .5) * (100% - 100vh) + 50vh);
  transform: translateY(-50%);
}
.align-left { padding-left: var(--gutter); padding-right: 55vw; }
.align-right { padding-left: 55vw; padding-right: var(--gutter); }
.align-left .section-inner, .align-right .section-inner { max-width: 40vw; }
.section-heading { font-size: clamp(3rem, 5.6vw, 6.4rem); margin: 22px 0 24px; }
.section-body { font-size: clamp(1rem, 1.25vw, 1.25rem); font-weight: 300; color: #dcdcd9; max-width: 32em; }
.section-note {
  margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--ink-line);
  font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-dark);
}

.section-stats { padding: 0 var(--gutter); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1500px; margin: 0 auto; }
.stat { text-align: center; padding: 10px 20px; border-left: 1px solid var(--ink-line); }
.stat:first-child { border-left: 0; }
.stat-number { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 9vw, 10rem); line-height: .9; color: #fff; }
.stat-suffix { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 4.5rem); color: var(--gold-hi); margin-left: 4px; vertical-align: top; }
.stat-label { display: block; margin-top: 14px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-dark); }

/* =========================================================
   CONTENT BLOCKS
   ========================================================= */
.band { background: var(--gold-hi); color: var(--ink); overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.band-text { white-space: nowrap; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 7rem); line-height: 1; will-change: transform; }
.band-text b { font-size: .5em; vertical-align: middle; margin: 0 .5em; }

.block { position: relative; padding: clamp(90px, 13vw, 180px) 0; }
.block.paper { background: var(--bg-light); color: var(--text-on-light); }
.block.ink { background: var(--ink); }
.block.ink-2 { background: var(--ink-2); }
.wrap { width: 100%; max-width: 1640px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: inline-flex; gap: 14px; align-items: center; font: 500 13px var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--mute-dark); }
.paper .eyebrow { color: var(--mute-light); }
.eyebrow b { color: var(--gold-hi); font-weight: 600; }
.paper .eyebrow b { color: var(--gold); }
.big { font-size: clamp(3rem, 7vw, 7.5rem); margin-top: 22px; }
.huge { font-size: clamp(3.4rem, 8.5vw, 9rem); margin-top: 22px; }
.block-head { margin-bottom: clamp(48px, 6vw, 90px); }
.block-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.block-head.split .big { max-width: 11em; }
.lede { max-width: 30em; font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 300; color: var(--mute-dark); }
.paper .lede { color: var(--mute-light); }

/* Serviços */
.svc-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.svc-rows { list-style: none; border-top: 2px solid var(--ink); }
.svc-row { border-bottom: 1px solid var(--paper-line); }
.svc-trigger { width: 100%; display: grid; grid-template-columns: 64px 1fr 30px; align-items: center; text-align: left; padding: 28px 0; }
.svc-trigger em { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--gold); }
.svc-trigger h3 { font-size: clamp(1.7rem, 2.8vw, 2.9rem); color: var(--text-on-light); transition: color .3s, transform .4s var(--ease); }
.svc-row:hover h3, .svc-row.is-on h3 { transform: translateX(8px); }
.svc-row.is-on h3 { color: var(--ink); }
.plus { width: 22px; height: 22px; position: relative; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.svc-row.is-on .plus::after { transform: rotate(0); }
.svc-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svc-detail > * { overflow: hidden; }
.svc-row.is-on .svc-detail { grid-template-rows: 1fr; }
.svc-detail p, .svc-detail ul { padding-left: 64px; }
.svc-detail p { color: var(--mute-light); font-size: 1.05rem; max-width: 34em; }
.svc-detail ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding-top: 14px; padding-bottom: 30px; }
.svc-detail li { font-size: .95rem; position: relative; padding-left: 22px; }
.svc-detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 3px; background: var(--gold); }
.svc-preview { position: sticky; top: 120px; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s var(--ease); }
.svc-preview img.swap { opacity: 0; transform: scale(1.06); }
.svc-preview-tag { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--gold-hi); font: 700 30px var(--font-display); padding: 14px 22px; }

/* Tecnologia */
.tec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.tec-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.tec-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.cap { position: absolute; left: 0; bottom: 0; padding: 12px 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: #fff; background: rgba(20,21,24,.85); }
.cap::before { content: ""; display: inline-block; width: 16px; height: 3px; background: var(--gold-hi); margin-right: 10px; vertical-align: middle; }
.feat { margin-top: 44px; border-top: 1px solid var(--ink-line); }
.feat > div { display: grid; grid-template-columns: 60px 1fr; padding: 22px 0; border-bottom: 1px solid var(--ink-line); }
.feat em { font-style: normal; font: 700 22px var(--font-display); color: var(--gold-hi); }
.feat h3 { font-size: 1.7rem; margin-bottom: 6px; }
.feat p { color: var(--mute-dark); }

/* Processo / sketches */
.sketch { width: 100%; }
.sketch svg { width: 100%; height: auto; display: block; overflow: visible; }
.sketch text { font-family: var(--font-hand); fill: #343a40; }
#processo .sketch { margin-bottom: 70px; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.step img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(.25); transition: filter .4s, transform .6s var(--ease); }
.step:hover img { filter: none; transform: translateY(-6px); }
.step figcaption { margin-top: 14px; font: 600 1.15rem var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.step em { font-style: normal; color: var(--gold); margin-right: 6px; }

/* Equipe */
.equipe { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.eq-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(9rem, 22vw, 22rem); line-height: .8; margin: 30px 0 34px; }
.eq-text h3 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 18px; }
.eq-text p { color: #cfcfcc; font-weight: 300; font-size: 1.1rem; max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips span { border: 1px solid var(--ink-line); padding: 10px 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #e6e5e2; }
.eq-photos { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1.1fr 1fr; gap: 10px; height: min(80vh, 760px); }
.ph { overflow: hidden; position: relative; background: var(--ink-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.eq-photos .p2 { grid-row: 1 / 3; grid-column: 2; }

/* Seguradoras */
.board { background: var(--bg-light); padding: clamp(24px, 4vw, 56px); margin-bottom: 70px; }
.insurers { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink-line); }
.insurers li {
  font: 600 clamp(1.1rem, 1.6vw, 1.6rem) var(--font-display); text-transform: uppercase; letter-spacing: .03em;
  padding: 20px 0; border-bottom: 1px solid var(--ink-line); transition: color .3s, padding .4s var(--ease);
}
.insurers li:hover { color: var(--gold-hi); padding-left: 8px; }
.disclaimer { margin-top: 34px; padding-left: 20px; border-left: 4px solid var(--gold-hi); color: var(--mute-dark); font-size: .92rem; max-width: 60em; }

/* Reputação */
.rep { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; }
.rep-bg { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; top: -10%; }
.rep-shade { position: absolute; inset: 0; background: rgba(11,12,14,.86); }
.rep-inner { position: relative; }
.rep-main { display: flex; align-items: flex-end; gap: clamp(30px, 7vw, 120px); flex-wrap: wrap; margin: 40px 0 60px; }
.stars { display: flex; gap: 10px; margin-bottom: 16px; }
.stars svg { width: clamp(32px, 4vw, 56px); height: auto; fill: var(--gold-hi); }
.rep-score { font-family: var(--font-display); font-weight: 800; font-size: clamp(9rem, 24vw, 25rem); line-height: .78; }
.rep-side .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 10vw, 10rem); line-height: .85; color: var(--gold-hi); }
.rep-side .k { margin-top: 14px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #e0dfdc; max-width: 16em; }
.rep-txt h3 { font-size: clamp(1.8rem, 3.2vw, 3.2rem); margin-bottom: 14px; }
.rep-txt p { color: #d4d4d2; font-weight: 300; font-size: 1.1rem; max-width: 40em; }
.rep-txt small { display: block; margin-top: 20px; color: var(--mute-dark); font-size: .82rem; }

/* Diferenciais */
.dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 64px); }
.dif { border-top: 3px solid var(--ink); padding: 26px 0 46px; }
.dif em { font-style: normal; font: 700 22px var(--font-display); color: var(--gold); }
.dif h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); margin: 10px 0 10px; }
.dif p { color: var(--mute-light); }

/* Perguntas frequentes */
.faq-wrap { max-width: 1100px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font: 700 clamp(1.25rem, 2.2vw, 1.8rem)/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 2rem/1 var(--font-body); color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 46em; color: var(--mute-light); font-size: 1.05rem; }

/* Galeria */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab { padding: 12px 18px; border: 1px solid var(--ink-line); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #d4d4d2; transition: all .3s; }
.tab small { color: var(--mute-dark); margin-left: 6px; }
.tab:hover { border-color: var(--gold-hi); }
.tab[aria-selected="true"] { background: var(--gold-hi); color: var(--ink); border-color: var(--gold-hi); }
.tab[aria-selected="true"] small { color: var(--ink); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 260px); gap: 10px; grid-auto-flow: dense; }
.gal-item { position: relative; overflow: hidden; background: var(--ink-2); cursor: zoom-in; padding: 0; }
.gal-item.wide { grid-column: span 2; }
.gal-item.tall { grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item .cap { opacity: 0; transform: translateY(100%); transition: all .4s var(--ease); }
.gal-item:hover .cap, .gal-item:focus-visible .cap { opacity: 1; transform: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(5,5,6,.94); }
.lightbox figure { position: absolute; inset: 70px 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; }
.lightbox figcaption { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-dark); }
.lb-close, .lb-nav { position: absolute; z-index: 2; width: 52px; height: 52px; border: 1px solid var(--ink-line); font-size: 20px; color: #fff; }
.lb-close:hover, .lb-nav:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }

/* Contato */
.contact { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; background: var(--ink); min-height: 100vh; }
.contact-body { order: -1; padding: clamp(100px, 12vw, 160px) var(--gutter); }
.contact-photo { position: relative; overflow: hidden; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin: 50px 0 36px; }
.info-row { display: block; text-decoration: none; padding: 18px 0; border-top: 1px solid var(--ink-line); transition: color .3s; }
.info-row.wide { grid-column: 1 / 3; }
a.info-row:hover span { color: var(--gold-hi); }
.info small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 6px; font-weight: 500; }
.info span { font-size: 1.15rem; color: #f1f0ed; transition: color .3s; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.map { margin-top: 44px; aspect-ratio: 16/7; background: var(--ink-2); filter: grayscale(1) invert(.92) contrast(.9); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.footer { padding: 40px var(--gutter) calc(32px + var(--safe-b)); background: var(--bg-dark); border-top: 1px solid var(--ink-line); font-size: 13px; color: var(--mute-dark); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.footer-bottom { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ink-line); padding-right: 84px; }
.footer img { height: 24px; width: auto; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; }
.footer a:hover { color: var(--gold-hi); }
.nap { font-style: normal; line-height: 1.7; max-width: 60em; }
.nap strong { color: #e6e5e2; font-weight: 600; }
.nap a { color: #e6e5e2; text-decoration: none; }
.nap span { display: block; margin-top: 4px; }
.footer .dev a { color: #e6e5e2; font-weight: 600; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid var(--gold-hi); }

.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + var(--safe-b)); z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease), opacity .4s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
body.is-loading .wa-float { opacity: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .nav { gap: 18px; }
  .nav a { font-size: 12px; letter-spacing: .12em; }
}
@media (max-width: 1100px) {
  .insurers { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: 0 var(--gutter); background: #0b0c0e;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: .02em; }
  .nav.open { opacity: 1; visibility: visible; }
  .burger { display: block; margin-left: 12px; }
  .site-header .btn-wa.sm { margin-left: auto; }
  .site-header { gap: 12px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 14px; }
  .nav a { padding: 8px 0; }

  /* serviços: foto dentro de cada item aberto */
  .svc-mimg { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; margin: 4px 0 18px; }
  .svc-trigger { padding: 22px 0; }

  .svc-layout, .tec, .equipe { grid-template-columns: 1fr; }
  .svc-preview { display: none; }
  .block-head.split { flex-direction: column; align-items: flex-start; }
  .dif-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .contact { grid-template-columns: 1fr; min-height: 0; }
  .contact-body { order: 0; }
  .contact-photo { min-height: 50vh; order: -1; }
}

@media (max-width: 767px) {
  #scroll-container { height: 650vh; }
  .align-left, .align-right { padding-left: 16px; padding-right: 16px; }
  .align-left .section-inner, .align-right .section-inner {
    max-width: none; background: rgba(11,12,14,.78); padding: 30px 24px;
  }
  .scrim-l, .scrim-r { display: none; }
  .hero-inner { max-width: none; }
  .hero-heading { font-size: clamp(4.4rem, 24vw, 8rem); }
  .hero-sym { width: 120vw; right: -40vw; }
  .section-heading { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; }
  .site-header .logo img { height: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .eq-photos { height: 110vw; }
  .insurers { grid-template-columns: 1fr 1fr; }
  .dif-grid { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .info-row.wide { grid-column: auto; }
  .svc-detail p, .svc-detail ul { padding-left: 0; }
  .svc-detail ul { grid-template-columns: 1fr; }
  .svc-trigger { grid-template-columns: 44px 1fr 26px; }
  .lightbox figure { inset: 70px 12px 90px; }
  .lb-nav { top: auto; bottom: calc(18px + var(--safe-b)); transform: none; }
  .map { aspect-ratio: 4/3; }

  /* ritmo vertical mais curto no celular */
  .block { padding: 76px 0; }
  .block-head { margin-bottom: 40px; }
  .big { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .huge { font-size: clamp(3rem, 14vw, 4.2rem); }
  .lede, .eq-text p, .rep-txt p { font-size: 1rem; }
  .section-body { font-size: 1rem; }
  .section-note { font-size: 11px; }

  /* processo: carrossel com snap */
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 62%; scroll-snap-align: start; }
  #processo .sketch { margin-bottom: 44px; }

  /* galeria: abas roláveis numa linha */
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 12px 16px; }
  .gal-grid { gap: 6px; grid-auto-rows: 44vw; }
  .gal-item .cap { opacity: 1; transform: none; font-size: 10px; padding: 8px 10px; }

  .eq-num { margin: 18px 0 24px; }
  .chips span { font-size: 11px; padding: 8px 12px; }
  .rep-main { margin: 28px 0 40px; gap: 24px; }
  .board { padding: 18px 10px; margin-bottom: 44px; }
  .feat h3 { font-size: 1.4rem; }
  .dif { padding: 20px 0 30px; }
  .contact-body { padding: 64px 16px 72px; }
  .contact-photo { min-height: 42vh; }
  .btns > a { width: 100%; justify-content: center; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer { padding-bottom: calc(96px + var(--safe-b)); }
  .wa-float { right: 16px; bottom: calc(16px + var(--safe-b)); }
}

@media (max-width: 480px) {
  .site-header .btn-wa.sm { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .site-header .btn-wa.sm svg { width: 22px; height: 22px; }
  .site-header .btn-wa.sm .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 360px) {
  .site-header .logo img { height: 18px; }
}
html, body { overflow-x: clip; }
.site-header .logo { min-width: 0; flex: 0 1 auto; }
.site-header .logo img { max-width: 100%; object-fit: contain; object-position: left center; }

/* menu recolhido em tablets e notebooks pequenos */
@media (max-width: 1100px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: 0 var(--gutter); background: #0b0c0e;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: .02em; padding: 8px 0; }
  .nav.open { opacity: 1; visibility: visible; }
  .burger { display: block; margin-left: 12px; }
  .site-header .btn-wa.sm { margin-left: auto; }
}

@media (hover: none) {
  .step img { filter: none; }
}
* { -webkit-tap-highlight-color: transparent; }
@media (min-width: 901px) { .svc-mimg { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
