/* ==========================================================================
   Qualimont Pinturas Industriais — site
   Grafite + laranja da marca (#F58634, do logo oficial). Archivo (largura variável).
   ========================================================================== */

/* Letra hospedada aqui (antes vinha do Google e atrasava a abertura) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin.woff2) format("woff2");
}

:root {
  --bg: #0d0d0e;
  --bg-2: #141415;
  --steel: #1c1d1f;
  --steel-2: #26272a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eeede9;
  --muted: #a3a29d;
  --dim: #8e8d88;          /* cinza fraco em fundo escuro: 5,07:1 no --steel (era #6f6e6a = 3,30:1) */
  --orange: #f58634;       /* laranja da marca: fundo de botão/faixa, com texto --ink (7,37:1) */
  --orange-2: #ffa766;
  --orange-ink: #c2410c;   /* laranja como COR DE TEXTO em fundo claro: 4,51:1 no --paper */
  --ok: #15803d;           /* verde do laudo: 5,02:1 no branco (era #1f9d55 = 3,49:1) */
  --paper: #f1efeb;
  --paper-2: #e6e3dd;
  --ink: #141312;
  --ink-2: #4b4842;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -28px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
/* em fundo claro o laranja do contorno some (2,19:1): tom escuro (4,51:1) */
.section--light :focus-visible { outline-color: var(--orange-ink); }
.section--light .aside-card :focus-visible { outline-color: var(--orange); }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- tipografia ---------- */
.display {
  font-variation-settings: "wdth" 100; font-weight: 700;
  letter-spacing: -.025em; line-height: 1.04;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); }
.h2 em, .display em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 640px; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .lead { color: var(--ink-2); }
.section--light .kicker, .section--light .h2 em, .section--light .display em { color: var(--orange-ink); }
.section--steel { background: var(--bg-2); }
.head { display: grid; gap: 20px; max-width: 820px; margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; border-radius: 10px; border: 1.5px solid transparent;
  font: 700 15px/1 var(--font); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  transition: transform .3s var(--ease), background .25s, box-shadow .3s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #ff954a; box-shadow: 0 16px 34px -12px rgba(245, 134, 52, .7); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--lg { padding: 20px 30px; font-size: 16px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- topo ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, border-color .3s, padding .3s; padding: 18px 0; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgba(13, 13, 14, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); padding: 10px 0; }
.top__in { display: flex; align-items: center; gap: 28px; }
.top__logo img { height: 54px; width: auto; }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { padding: 10px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.top__nav a:hover, .top__nav a[aria-current] { color: var(--text); background: rgba(255,255,255,.05); }
.top__cta { padding: 12px 18px; font-size: 13.5px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.top.is-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.top.is-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.drawer { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 130px 0 90px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: saturate(.85) contrast(1.05); }
.hero__bg::after { content: ""; position: absolute; inset: -1px -1px -1px -2px; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(13,13,14,.75) 30%, rgba(13,13,14,.25) 70%, rgba(13,13,14,.15) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
#po { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__in { display: grid; gap: 30px; max-width: 760px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); }
.hero h1 span { display: block; color: var(--orange); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tel { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--muted); }
.hero__tel a:hover { color: var(--text); }
.hero__tel b { color: var(--text); font-weight: 700; }

.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--steel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.stat { padding: 28px 26px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.stat:first-child { border-left: 0; }
.stat b { font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.stat b small { font-size: .5em; color: var(--orange); margin-left: 2px; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.35; }

/* ---------- faixa ---------- */
.band-wrap { overflow: hidden; padding: 56px 0 0; }
.band { overflow: hidden; background: var(--orange); color: var(--ink); padding: 14px 0; }
.band__track { display: flex; gap: 28px; width: max-content; animation: band 32s linear infinite; align-items: center; }
.band span { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.band i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); flex: none; opacity: .8; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; border: 1px solid var(--line); }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,14,.1) 0%, rgba(13,13,14,.55) 45%, rgba(13,13,14,.96) 100%); }
.service:hover img { transform: scale(1.06); }
.service__body { padding: 30px; display: grid; gap: 14px; }
.service__n { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .14em; }
.service h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 700; line-height: 1.15; }
.service p { color: #cfcdc8; font-size: 15.5px; }
.service__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-2); }
.service:hover .arrow { transform: translateX(5px); }

/* ---------- processo ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 0; right: 0; height: 2px; background: var(--paper-2); }
.process::after { content: ""; position: absolute; top: 27px; left: 0; height: 2px; width: 0; background: var(--orange); transition: width 2.2s var(--ease) .2s; }
.process.is-in::after { width: 100%; }
.step { position: relative; padding-right: 18px; display: grid; gap: 12px; align-content: start; }
.step__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 850; font-size: 18px; position: relative; z-index: 1; border: 4px solid var(--paper); }
.step:nth-child(odd) .step__n { background: var(--orange); color: var(--ink); }
.step h3 { font-size: 18px; font-weight: 700; line-height: 1.2; margin-top: 6px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- por que ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.why__photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__tag { position: absolute; left: 18px; bottom: 18px; background: rgba(13,13,14,.82); backdrop-filter: blur(8px); border: 1px solid var(--line-2); padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.why__tag b { display: block; color: var(--orange); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.why__list { display: grid; gap: 4px; margin-top: 30px; }
.why__item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 134, 52, .12); color: var(--orange); }
.why__ico svg { width: 26px; height: 26px; }
.why__item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.25; }
.why__item p { color: var(--muted); font-size: 15.5px; }

/* ---------- laudo ---------- */
.laudo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.laudo__doc { position: relative; background: #fff; color: var(--ink); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); font-size: 14px; max-width: 520px; justify-self: center; width: 100%; }
.laudo__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.laudo__h b { font-size: 17px; line-height: 1.2; }
.laudo__h small { display: block; font-size: 12px; color: var(--ink-2); font-weight: 500; text-transform: none; margin-top: 4px; }
.laudo__h img { height: 30px; width: auto; }
.laudo__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 14px 0; }
.laudo__rows div { padding: 10px 0; border-bottom: 1px dashed #d6d2ca; }
.laudo__rows div:nth-child(odd) { padding-right: 14px; }
.laudo__rows small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6f6a61; font-weight: 600; }
.laudo__rows b { font-size: 15px; }
.laudo__checks { display: grid; gap: 8px; margin: 16px 0 6px; }
.laudo__checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.laudo__checks li::before { content: "✓"; width: 20px; height: 20px; border-radius: 5px; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 12px; flex: none; }
.laudo__stamp { position: absolute; right: 22px; bottom: 26px; border: 2px solid var(--ok); color: var(--ok); padding: 6px 12px; border-radius: 6px; font-weight: 700; letter-spacing: .1em; font-size: 14px; }
.laudo__ex { position: absolute; top: -12px; right: 18px; background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }

/* ---------- portfólio ---------- */
/* Antes e depois (fotos tratadas dos posts do Instagram, 4:5) */
.sub-h { font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
.ad { margin-bottom: clamp(48px, 6vw, 80px); }
.ad__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ad__card { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: var(--r); padding: 10px; }
.ad__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad__pair figure { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.ad__pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ad__pair figure:hover img { transform: scale(1.04); }
.ad__pair figcaption { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(20,19,18,.84); color: #fff; }
.ad__pair figure + figure figcaption { background: var(--orange); color: var(--ink); }
.ad__txt { padding: 14px 8px 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ad__txt strong { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 3px; }
@media (max-width: 900px) { .ad__grid { grid-template-columns: 1fr; } }

.gallery { columns: 4 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; border: 1px solid rgba(0,0,0,.06); background: var(--paper-2); }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; transform: none; }

/* fechada: visibility tira o botão "Fechar" do Tab; o atraso deixa o esmaecer terminar */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,9,.94); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s linear .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.lightbox img { max-height: 84vh; max-width: min(1100px, 100%); width: auto; border-radius: 10px; }
.lightbox p { color: #ddd; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- segmentos ---------- */
.segs { display: flex; flex-wrap: wrap; gap: 12px; }
.segs li { padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15.5px; display: inline-flex; gap: 10px; align-items: center; transition: border-color .25s, background .25s; }
.segs li:hover { border-color: var(--orange); background: rgba(245,134,52,.08); }
.segs li::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }

/* ---------- dúvidas ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq .head { position: sticky; top: 110px; margin: 0; }
.faq details { border-bottom: 1px solid #d8d4cc; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative; font-size: 19px; font-weight: 700; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 9px; background: var(--paper-2); display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: var(--ink); }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-2); }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__card { background: var(--steel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; align-content: start; }
.contact__card .h2 { font-size: clamp(28px, 3vw, 40px); }
.contact__list { display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact__list span { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(245,134,52,.12); color: var(--orange); }
.contact__list svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.contact__list b, .contact__list a { font-size: 17px; font-weight: 600; }
.contact__list a:hover { color: var(--orange-2); }
.contact__map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--steel); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.9) invert(.92) hue-rotate(180deg) contrast(.9); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 22px; background: var(--steel); border: 1px solid var(--line); color: var(--text); padding: clamp(44px, 7vw, 90px) clamp(26px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); }
.cta h2 { font-size: clamp(28px, 3vw, 40px); }
.cta p { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 560px; }


/* ---------- rodapé ---------- */
.foot { padding: 60px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot img { height: 56px; width: auto; margin-bottom: 16px; }
.foot h4 { color: var(--text); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot li { margin-bottom: 8px; }
.foot a:hover { color: var(--orange-2); }
.foot__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.foot__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp flutuante */
.zap { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.zap:hover { transform: scale(1.08); }
.zap svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- páginas de serviço ---------- */
.page-hero { position: relative; padding: 150px 0 80px; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(13,13,14,.6) 100%), linear-gradient(0deg, var(--bg), transparent 40%); }
.crumbs { font-size: 13.5px; color: var(--dim); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 900px; }
.page-hero .lead { margin-top: 24px; }
.page-hero .hero__actions { margin-top: 32px; }

.prose { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.prose__text { display: grid; gap: 18px; font-size: 17.5px; color: var(--ink-2); }
.prose__text h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); font-weight: 700; letter-spacing: -.02em; margin-top: 18px; line-height: 1.15; }
.prose__text h2:first-child { margin-top: 0; }
.prose__text strong { color: var(--ink); }
.prose__text a { text-decoration: underline; text-decoration-color: var(--orange-ink); text-underline-offset: 3px; }
.prose__text a:hover { color: var(--orange-ink); }
/* página de texto corrido (privacidade): uma coluna só */
.prose--single { grid-template-columns: minmax(0, 820px); }
.prose__text h3 { font-size: 19px; color: var(--ink); font-weight: 700; line-height: 1.25; margin-top: 6px; }
.prose__text ul { display: grid; gap: 10px; }
.prose__text li { position: relative; padding-left: 22px; }
.prose__text li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.prose__aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.prose__aside img { border-radius: var(--r); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.aside-card { background: var(--ink); color: #fff; border-radius: var(--r); padding: 26px; display: grid; gap: 14px; }
.aside-card b { font-size: 20px; line-height: 1.2; }
.aside-card p { color: #c9c7c2; font-size: 15px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--steel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; }
.card i { font-style: normal; font-weight: 850; color: var(--orange); font-size: 14px; letter-spacing: .1em; }
.card h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
.card p { color: var(--muted); font-size: 15.5px; }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.related a { position: relative; display: flex; align-items: flex-end; min-height: 240px; border-radius: var(--r); overflow: hidden; padding: 26px; isolation: isolate; border: 1px solid var(--line); }
.related img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.related a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent, rgba(13,13,14,.92)); }
.related a:hover img { transform: scale(1.05); }
.related b { font-size: 22px; font-weight: 700; }
.related small { display: block; color: var(--orange-2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; margin-bottom: 6px; }

/* ---------- entrada ao rolar ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services .service:last-child { grid-column: span 2; min-height: 400px; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before, .process::after { display: none; }
  .why, .laudo, .faq, .prose { grid-template-columns: 1fr; }
  .faq .head, .prose__aside { position: static; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .top__nav, .top__cta { display: none; }
  .burger { display: block; }
  /* fechado: visibility tira os links do Tab; o atraso deixa a animação de fechar terminar */
  .drawer { display: grid; gap: 4px; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); background: var(--steel); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease), visibility 0s linear .35s; }
  .drawer a:not(.btn) { padding: 14px 16px; border-radius: 10px; font-weight: 700; font-size: 17px; }
  .drawer a:not(.btn):active { background: rgba(255,255,255,.06); }
  .drawer .btn { margin-top: 6px; }
  .top.is-open { background: rgba(13,13,14,.96); }
  .top.is-open .drawer { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .contact, .related, .cards3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top__logo img { height: 44px; }
  .hero { padding: 110px 0 100px; min-height: auto; }
  .hero__bg { width: 100%; }
  .hero__bg img { object-position: 60% 30%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(13,13,14,.75) 0%, rgba(13,13,14,.92) 55%, var(--bg) 100%); }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .page-hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { margin-top: -50px; }
  .stat { padding: 20px 18px; }
  .services { grid-template-columns: 1fr; }
  .services .service:last-child { grid-column: auto; }
  .service { min-height: 420px; }
  .process { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .laudo__doc { padding: 22px; transform: none; }
  .laudo__rows { grid-template-columns: 1fr; }
  .laudo__rows div:nth-child(odd) { padding-right: 0; }
  .laudo__stamp { position: static; display: inline-block; margin-top: 14px; }
  .faq summary { font-size: 17px; }
  .foot__grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 0 60px; }
  .cta .btn { width: 100%; white-space: normal; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .contact__list b, .contact__list a { font-size: 16px; overflow-wrap: anywhere; }
  .contact__card { padding: 26px 20px; }
  .contact > * { min-width: 0; }
  .contact__card .btn, .hero__actions .btn, .aside-card .btn { white-space: normal; text-align: center; }
  .step { padding-right: 8px; }
  .step h3 { font-size: 16px; }
  .cta { padding: 40px 22px; }
  .cta h2 { font-size: clamp(24px, 7vw, 32px); }
}

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