/* Rush Builders Roofing and Solar — site novo (14/11/2026; estrutura do CSS da Palmetto/KPC).
   19/11/2026 — APARÊNCIA DO SITE OFICIAL (rushbuildersusa.com), pedido de Evandro: tudo escuro como o oficial (corpo
   #0E0F11, blocos #18191B), Six Caps no título grande do topo, nos rótulos e nos números grandes, Marcellus nos títulos de
   seção e no texto, botões dourados de canto quase reto (3 px), topo com o menu numa pílula e o botão de ligar em pílula,
   vídeo de fundo no topo da home. Conteúdo, títulos, links, ligação e SEO não mudam: só a aparência.
   Mapa do oficial: ../19-visual-do-site-oficial/mapa-visual.md. Antes de 19/11 (seções claras, Montserrat + Inter):
   cópia em ../19-visual-do-site-oficial/codigo-antes/ (como desfazer: README.md).
   Mobile-first, sem framework, sem requisição externa. Cores e fontes só em brand.css (aqui só variáveis).
   Botão de ligar: dourado #CA8F36 com texto #0E0F11 (6,84:1); no topo, pílula #E8A843 (9,24:1). */

:root {
  /* aliases usados por gallery.css (herdado da KPC/Palmetto) */
  --c-bronze: var(--c-gold);
  --c-bronze-300: var(--c-gold-300);
  --c-char-700: var(--c-muted);

  --btn-bg: var(--c-gold-500);
  --btn-fg: var(--c-dark);
  --btn-bg-h: var(--c-gold);
  --focus: var(--c-gold);
  --link: var(--c-gold);

  --surface: var(--c-bg-alt);     /* cartões sobre o fundo #0E0F11 */
  --radius: 6px;                  /* cantos discretos (cartões) */
  --radius-lg: 8px;
  --radius-btn: 3px;              /* botões do oficial */
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .28);
  --shadow-h: 0 2px 6px rgba(0, 0, 0, .4), 0 18px 40px rgba(0, 0, 0, .42);
  --header-h: 68px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 12px; background: var(--c-bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img, svg, video { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight, 400); font-synthesis: none; line-height: 1.12; color: var(--c-char); margin: 0 0 .6em; letter-spacing: var(--head-ls, 0); }
h2 { font-size: clamp(2rem, 1.15rem + 3.1vw, 3.75rem); line-height: 1.08; } /* 32 px no celular → 60 px no computador */
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--c-gold-300); text-decoration-thickness: 2px; }
strong { font-weight: 700; color: var(--c-white); } /* Marcellus só tem 400: negrito sintetizado pelo navegador */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 900px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--c-gold); color: var(--c-dark); padding: 12px 18px; border-radius: var(--radius-btn); box-shadow: var(--shadow-h); }
.skip-link:focus { top: 12px; }

/* ---------- botões (oficial: dourado cheio, canto 3 px, 16 × 24 px, Marcellus) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 14px 24px; border-radius: var(--radius-btn); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.2; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-call { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.btn-call:hover { background: var(--btn-bg-h); border-color: var(--btn-bg-h); color: var(--btn-fg); transform: translateY(-1px); }
.btn-call .icon { flex: none; width: 20px; height: 20px; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.125rem; }
.btn-block { display: flex; width: 100%; }
/* secundário vazado (borda dourada), como o 2º botão do oficial */
.btn-outline, .btn-google { background: transparent; border-color: var(--c-gold-500); color: var(--c-gold); }
.btn-outline:hover, .btn-google:hover { background: rgba(var(--rgb-gold-500), .12); border-color: var(--c-gold); color: var(--c-gold-300); transform: translateY(-1px); }

/* ---------- topo (oficial: 87 px, logo à esquerda, menu numa pílula ao centro, ligar em pílula à direita) ---------- */
/* 20/11/2026: o cabeçalho tem botão de ligar, então rola com a página (sem position: sticky/fixed; §5.2.2 item 7). position:
   relative só ancora o menu aberto no celular, que abre por cima do conteúdo e fecha ao tocar fora. */
.site-header { position: relative; z-index: 50; background: var(--c-header); color: var(--c-white); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 6px 0; border-radius: 6px; color: inherit; text-decoration: none; min-width: 0; }
.brand .logo { display: block; height: 46px; width: auto; max-width: none; }
.brand-name .bn-1 { white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-call {
  min-height: 44px; padding: 8px 16px; border-radius: 30px; font-size: .95rem; white-space: nowrap;
  background: var(--c-gold); border-color: var(--c-gold); color: var(--c-dark);
}
.header-call:hover { background: var(--c-gold-300); border-color: var(--c-gold-300); }
.header-call .icon { width: 18px; height: 18px; }
.header-call .hc-num { display: none; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px;
  background: transparent; color: var(--c-white); border: 1px solid var(--c-line-strong); border-radius: 30px;
  font: inherit; font-size: .95rem; cursor: pointer;
}
.js .menu-toggle { display: inline-flex; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 10px 14px;
  color: var(--c-white); text-decoration: none; font-family: var(--font-head); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer; width: 100%; text-align: left; border-radius: 30px;
}
.nav-link:hover { background: rgba(255, 255, 255, .08); color: var(--c-white); }
.nav-link[aria-current="page"], .nav-link.is-current, .sub-toggle.is-current { color: var(--c-gold); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] .caret { transform: rotate(-135deg) translateY(-2px); }
.subnav a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px 8px 28px; color: var(--c-gray); text-decoration: none; border-radius: 4px; }
.subnav a:hover { background: rgba(255, 255, 255, .08); color: var(--c-white); }
.subnav a[aria-current="page"] { color: var(--c-gold); box-shadow: inset 2px 0 0 var(--c-gold); }

@media (max-width: 1099.98px) {
  .js .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-dark-800); border-top: 1px solid var(--c-line);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 20px; box-shadow: 0 16px 32px rgba(0, 0, 0, .45);
  }
  .js .primary-nav.is-open { display: block; }
  .js .subnav { display: none; padding: 2px 0 8px; }
  .js .sub-toggle[aria-expanded="true"] + .subnav { display: block; }
  .nav-item + .nav-item { border-top: 1px solid var(--c-line); }
  .nav-link { border-radius: 4px; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .primary-nav { order: 3; width: 100%; padding-bottom: 8px; }
  .no-js .nav-list { display: flex; flex-wrap: wrap; }
  .no-js .nav-item + .nav-item { border-top: 0; }
  .no-js .nav-link { width: auto; }
  .no-js .subnav { display: none; }
  .no-js .has-sub:focus-within .subnav, .no-js .has-sub:hover .subnav { display: block; width: 100%; }
}
@media (min-width: 560px) { .header-call .hc-num { display: inline; } }
@media (min-width: 1100px) {
  :root { --header-h: 87px; --gutter: 32px; }
  .brand .logo { height: 56px; }
  .menu-toggle, .js .menu-toggle { display: none; }
  .primary-nav { margin-inline: auto; }
  .header-actions { margin-left: 0; }
  .nav-list { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--c-line-strong); border-radius: 30px; }
  .nav-item { position: relative; }
  .nav-link { width: auto; min-height: 40px; padding: 8px 14px; font-size: .8rem; letter-spacing: .08em; white-space: nowrap; }
  .nav-link[aria-current="page"], .nav-link.is-current, .sub-toggle.is-current { color: var(--c-white); background: rgba(255, 255, 255, .1); }
  .subnav {
    display: none; position: absolute; top: calc(100% + 12px); left: 0; min-width: 300px; z-index: 60;
    background: var(--c-dark-800); border-radius: var(--radius); box-shadow: var(--shadow-h); padding: 8px; border: 1px solid var(--c-line);
  }
  .sub-toggle[aria-expanded="true"] + .subnav, .no-js .has-sub:hover .subnav, .no-js .has-sub:focus-within .subnav { display: block; }
  .subnav a { padding: 8px 14px; font-size: .98rem; }
  .subnav-all { border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 6px; }
  .header-call { min-height: 44px; padding: 8px 20px; }
}
@media (min-width: 1100px) and (max-width: 1279.98px) {
  .nav-link { padding: 8px 9px; font-size: .74rem; letter-spacing: .06em; }
  .brand-name { display: none; }
}
@media (max-width: 419.98px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand .logo { height: 42px; }
  .brand-name .bn-1 { font-size: .98rem; }
  .brand-name .bn-2 { font-size: .6rem; letter-spacing: .1em; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle { padding: 8px 10px; }
  .header-call { padding: 8px 14px; }
}
@media (max-width: 359.98px) { .brand-name { display: none; } }

/* ---------- herói (comum) ----------
   Ordem no DOM: .hero-top (H1, subtítulo) → .hero-media (foto) → .hero-bottom (botão, horário, checks, intro).
   Celular: uma coluna nessa ordem (foto entre subtítulo e botão, §5.2.2). Desktop: foto à direita (internas).
   H1 em Six Caps (letras altas e finas, caixa alta), com tamanho pelo comprimento do título: o gerador põe
   style="--h1-chars:N" no H1 e o tamanho é o que cabe em --h1-lines linhas de --h1-w de largura, entre --h1-min e
   --h1-max (Six Caps ≈ 0,205 em por letra; 0,25 cobre o espaçamento de 0,02 em, os espaços e a quebra de palavra). */
.hero { position: relative; overflow: hidden; background: var(--grad-deep); color: var(--c-white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "media" "bottom"; }
.hero-top { grid-area: top; }
.hero-media { grid-area: media; }
.hero-bottom { grid-area: bottom; }
.hero-top > :last-child, .hero-bottom > :last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-family: var(--font-display); font-size: 2.125rem; line-height: 1; letter-spacing: 2px; text-transform: uppercase; color: var(--c-white);
}
.eyebrow::before { content: ''; flex: none; width: 28px; height: 2px; background: var(--c-gold); }
@media (min-width: 1024px) { .eyebrow { font-size: 2.5rem; margin-bottom: 14px; } }
.hero h1 {
  --h1-lines: 3; --h1-w: calc(100vw - 2 * var(--gutter)); --h1-min: 2.5rem; --h1-max: 2.5rem;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: .95;
  font-size: clamp(var(--h1-min), calc(var(--h1-lines) * var(--h1-w) / (0.25 * var(--h1-chars, 40))), var(--h1-max));
  color: rgba(255, 255, 255, .96); margin-bottom: .22em; text-wrap: balance;
}
.hero-sub { font-size: clamp(1rem, .92rem + .5vw, 1.375rem); line-height: 1.45; color: var(--c-white); margin: 0 0 .9em; max-width: 52ch; }
.hero-intro { max-width: 64ch; margin: 16px 0 16px; color: var(--c-gray); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 24px 0 16px; }
.hero-meta { margin: 0; font-size: .9rem; color: var(--c-silver); }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.hero-bottom > .hero-points:first-child { margin-top: 18px; } /* 16/11/2026: institucionais sem botão no topo — selos não colam no subtítulo */
.hero-points li { position: relative; padding-left: 26px; font-size: .95rem; line-height: 1.4; color: var(--c-white); }
.hero-points li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; border-radius: 50%;
  background: rgba(var(--rgb-gold), .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 7-7 1.4 1.4z' fill='%23E8A843'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hero-media .media { border-radius: var(--radius-lg); }
.hero-media { margin: 18px 0 4px; }
.hero .breadcrumb li { color: var(--c-silver); }
.hero .breadcrumb a { color: var(--c-gold); }
.hero .breadcrumb [aria-current="page"] { color: var(--c-silver); }

/* ---------- palco do topo (19/11/2026) ----------
   .hero-stage = a área do topo; o parágrafo de abertura (.hero-more) fica fora dele. No celular o palco ocupa a primeira
   tela inteira, então o parágrafo começa abaixo dela (§5.2.2: título, subtítulo curto e botão de ligar na primeira tela). */
.hero-stage { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; }
.hero-more { position: relative; z-index: 2; }
.hero-more .hero-intro { margin: 0; max-width: 64ch; color: var(--c-gray); text-wrap: pretty; }
.hero-kicker { margin: 0 0 10px; font-family: var(--font-body); font-size: 1rem; line-height: 1.3; letter-spacing: .03em; color: var(--c-white); }

/* ---------- faixa com fundo (.hero-banner): topo da home (vídeo do oficial). 19/11: nas internas foi reprovada (foto real) ----------
   Texto centralizado; camada escura em degradê como a do oficial, um pouco mais densa atrás do texto (v2: mais escura,
   pedido de Evandro), sem desfoque; sombra preta difusa no texto (v2). */
.hero-banner { background: var(--c-bg); }
.hero-banner .hero-stage { overflow: hidden; }
.hero-banner .hero-media {
  position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden; background: var(--c-dark);
}
.hero-banner .hero-media .media, .hero-banner .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: 50% 50%; box-shadow: none;
}
.hero-banner .hero-media .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-banner .hero-media video { display: block; background: transparent; }
.js .hero-banner .hero-media video { opacity: 0; transition: opacity .6s ease; } /* aparece quando toca (site.js) */
.js .hero-banner .hero-media video.is-playing { opacity: 1; }
.hero-banner .hero-stage::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 72% 58% at 50% 52%, rgba(var(--rgb-dark), var(--hero-veil-center)) 0%, rgba(var(--rgb-dark), .18) 62%, rgba(var(--rgb-dark), 0) 100%),
    linear-gradient(180deg, rgba(var(--rgb-dark), var(--hero-veil-top)) 0%, rgba(var(--rgb-dark), var(--hero-veil-mid)) 28%, rgba(var(--rgb-dark), var(--hero-veil-low)) 62%, rgba(var(--rgb-dark), .92) 90%, var(--c-dark) 100%);
}
.hero-banner .hero-grid { position: relative; grid-template-areas: "top" "bottom"; justify-items: center; text-align: center; }
.hero-banner .hero-top, .hero-banner .hero-bottom { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-banner h1 { text-shadow: var(--shadow-hero-title); }
.hero-banner .hero-sub, .hero-banner .hero-kicker, .hero-banner .hero-meta, .hero-banner .hero-points li { text-shadow: var(--shadow-hero-text); }
.hero-banner .hero-sub { margin-inline: auto; }
.hero-banner .hero-actions { justify-content: center; }
.hero-banner .hero-points { justify-content: center; }
.hero-banner .hero-meta { color: var(--c-text); }
.hero-banner .hero-more { text-align: center; }
.hero-banner .hero-more .hero-intro { margin: 0 auto; max-width: 48rem; }
.hero-home .hero-actions { flex-direction: column; } /* v3 (Evandro): botão de ligar sozinho na linha, centralizado */
@media (prefers-reduced-motion: reduce) { .hero-banner .hero-media video { display: none; } }

/* home sem vídeo (data/hero-video.json ausente): foto de fundo inteiro no desktop, como antes de 19/11 */
.hero-home:not(.has-video) { padding: 18px 0 28px; }
.hero-home.has-bg:not(.has-video) { isolation: isolate; }
.hero-home:not(.has-video) .hero-media .media { aspect-ratio: var(--ar-m); }
@media (min-width: 768px) {
  .hero-home.has-bg:not(.has-video) { display: flex; align-items: center; min-height: clamp(560px, 74vh, 760px); padding: 72px 0; }
  .hero-home.has-bg:not(.has-video) .wrap { position: static; }
  .hero-home.has-bg:not(.has-video) .hero-top, .hero-home.has-bg:not(.has-video) .hero-bottom { position: relative; z-index: 2; max-width: 640px; }
  .hero-home.has-bg:not(.has-video) .hero-media { position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden; }
  .hero-home.has-bg:not(.has-video) .hero-media .media { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; background: var(--c-dark); }
  .hero-home.has-bg:not(.has-video) .hero-media .media img { object-fit: cover; object-position: var(--fp-t); }
  .hero-home.has-bg:not(.has-video)::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(var(--rgb-dark), .88) 0, rgba(var(--rgb-dark), .82) 520px, rgba(var(--rgb-dark), .66) 680px, rgba(var(--rgb-dark), .10) 100%);
  }
  .hero-home.has-bg:not(.has-video) .hero-grid { grid-template-areas: "top" "bottom"; }
}

/* ---------- internas (.hero-inner): foto real do acervo no topo (19/11: toda página interna), inteira, sem camada; texto no estilo da home ---------- */
.hero-inner .hero-grid { max-width: 860px; }
.hero-inner.has-media .hero-grid { max-width: none; }
.hero-inner.has-media .hero-media .media { box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.hero-inner h1 { text-shadow: var(--shadow-hero-title); }
.hero-inner .hero-more { padding-bottom: 8px; }

/* ---------- celular (< 768 px): palco = primeira tela inteira; texto centralizado como na home ---------- */
@media (max-width: 767.98px) {
  .hero-stage { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 24px 0 32px; }
  .hero-inner.has-media .hero-stage { padding-top: 12px; }
  .hero-banner .hero-stage::after {
    background:
      radial-gradient(ellipse 95% 42% at 50% 55%, rgba(var(--rgb-dark), var(--hero-veil-center)) 0%, rgba(var(--rgb-dark), .14) 70%, rgba(var(--rgb-dark), 0) 100%),
      linear-gradient(180deg, rgba(var(--rgb-dark), var(--hero-veil-top)) 0%, rgba(var(--rgb-dark), calc(var(--hero-veil-mid) + .04)) 26%, rgba(var(--rgb-dark), var(--hero-veil-low)) 46%, rgba(var(--rgb-dark), calc(var(--hero-veil-low) + .04)) 72%, rgba(var(--rgb-dark), .92) 92%, var(--c-dark) 100%);
  }
  /* v2 (19/11, escolha de Evandro): H1 até 64 px no celular (Six Caps é fina e condensada; a 40 px ficava pequena perto do
     oficial), pelo comprimento do título em até 3 linhas; em tela menor que 390 px encolhe com a largura. O check-fold
     aceita 32–64 px só para a Six Caps. (As classes h1-m…h1-xxl de site.json eram para a Montserrat e não pesam mais.) */
  .hero h1 { --h1-lines: 2.8; --h1-w: calc(100vw - 2 * var(--gutter)); --h1-min: 2.5rem; --h1-max: min(4rem, 16.42vw); line-height: .93; margin-bottom: 10px; }
  /* internas com foto: até 56 px, para título, subtítulo, foto, botão, horário e os selos caberem inteiros acima da barra fixa */
  .hero-inner.has-media h1 { --h1-max: min(3.25rem, 13.34vw); margin-bottom: 8px; }
  .hero-grid { justify-items: center; text-align: center; }
  .hero-top, .hero-bottom { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .hero .breadcrumb { margin-bottom: 2px; font-size: .84rem; }
  .hero .breadcrumb ol { justify-content: center; }
  .hero .eyebrow { font-size: 1.6rem; margin-bottom: 6px; }
  .hero-sub { font-size: 1rem; line-height: 1.45; margin: 0 auto; max-width: 36ch; }
  .hero-media { width: 100%; margin: 14px 0 16px; }
  .hero-media .media { aspect-ratio: 16 / 9; border-radius: 6px; }
  .hero-media .media.is-portrait { aspect-ratio: 3 / 2; } /* 19/11: era 4:3; 3:2 deixa os selos inteiros acima da barra fixa com o título em Six Caps */
  .hero-media .media img { object-position: var(--fp-m); }
  .hero-actions { width: 100%; justify-content: center; margin: 0 0 10px; gap: 6px 14px; }
  .hero-banner .hero-actions, .hero-inner.no-media .hero-actions { margin-top: 22px; }
  .hero-actions .btn-lg { min-height: 54px; width: 100%; }
  .hero-meta { font-size: .8125rem; }
  .hero-points { justify-content: center; gap: 4px 14px; }
  .hero-bottom > .hero-points:first-child { margin-top: 18px; }
  .hero-points li { font-size: .8125rem; padding-left: 20px; }
  .hero-points li::before { width: 15px; height: 15px; background-size: 11px; }
  .hero-more { padding: 30px var(--gutter) 6px; }
  .hero-more .hero-intro { font-size: 1.0625rem; line-height: 1.65; }
}

/* ---------- computador ---------- */
@media (min-width: 768px) {
  .hero-banner .hero-stage { min-height: clamp(560px, calc(100svh - var(--header-h) - 130px), 900px); padding: 64px 0 120px; }
  .hero-banner h1 { --h1-lines: 2; --h1-w: 84vw; --h1-min: 4.5rem; --h1-max: min(7.5rem, 15vh); }
  .hero-kicker { font-size: clamp(1.25rem, .8rem + 1.1vw, 1.75rem); margin-bottom: 14px; } /* 28 px no computador: texto grande (WCAG) */
  .hero-banner .hero-actions { margin: 26px 0 16px; }
  .hero-banner .hero-more { margin-top: -78px; }
  .hero-more { padding-bottom: 8px; }
  .hero-more .hero-intro { font-size: 1.2rem; line-height: 1.7; }
  .hero-inner:not(.hero-banner) .hero-stage { padding: 26px 0 40px; }
  .hero-inner h1 { --h1-lines: 3; --h1-w: calc(100vw - 2 * var(--gutter)); --h1-min: 3.5rem; --h1-max: 5.5rem; }
}
@media (min-width: 1025px) {
  .hero-home h1 { --h1-w: min(1120px, 80vw); --h1-max: min(12.5rem, 20vh); }
  .hero-inner:not(.hero-banner) .hero-stage { padding: 30px 0 56px; }
  .hero-inner:not(.hero-banner) h1 { --h1-w: min(820px, 60vw); --h1-min: 4rem; --h1-max: 6.5rem; }
  .hero-inner.has-media h1 { --h1-w: min(560px, 39vw); --h1-max: 5.75rem; }
  /* 19/11/2026 (Evandro: "diminuir um pouquinho a foto"): foto do topo com altura limitada no computador (largura pela
     proporção do recorte, foto inteira e nítida), encostada à direita; texto e foto centralizados um em relação ao outro,
     para o topo ficar mais baixo e o texto não parecer solto no meio de uma foto alta. */
  .hero-inner.has-media { --hero-photo-h: clamp(340px, 46vh, 430px); }
  .hero-inner.has-media .hero-grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top media" "bottom media"; column-gap: 64px; }
  .hero-inner.has-media .hero-top { align-self: end; }
  .hero-inner.has-media .hero-bottom { align-self: start; }
  .hero-inner.has-media .hero-media { align-self: center; justify-self: end; margin: 0; }
  .hero-inner.has-media .hero-media .media { height: var(--hero-photo-h); width: auto; aspect-ratio: var(--ar-d); max-width: min(620px, 44vw); }
}
.page-notfound .hero-stage { padding-top: 48px; }

.breadcrumb { margin: 0 0 22px; font-size: .9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--c-muted); }
.breadcrumb li + li::before { content: '/'; margin: 0 8px; color: var(--c-silver); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- imagens ---------- */
.media { display: block; position: relative; overflow: hidden; aspect-ratio: var(--ar-m); background: var(--c-dark-800); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--fp-m); }
@media (min-width: 600px) { .media { aspect-ratio: var(--ar-t); } .media img { object-position: var(--fp-t); } }
@media (min-width: 1025px) { .media { aspect-ratio: var(--ar-d); } .media img { object-position: var(--fp-d); } }
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; border: 2px dashed var(--c-gold-500); border-radius: var(--radius); background: var(--c-bg-alt); color: var(--c-white); }

/* ---------- seções (tudo escuro, como o oficial: #0E0F11 e #18191B alternados) ---------- */
.section { padding: 68px 0; background: var(--c-bg); }
.section.tone-alt { background: var(--c-bg-alt); --surface: var(--c-dark-700); }
.section h2 { max-width: 20ch; }
.section-intro { color: var(--c-muted); font-size: 1.1rem; max-width: 64ch; margin: -6px 0 30px; }
.prose { max-width: 72ch; }
.prose > :last-child { margin-bottom: 0; }
.list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 28px; }
.list li::before { content: ''; position: absolute; left: 4px; top: .65em; width: 9px; height: 9px; border-radius: 1px; background: var(--c-gold-500); transform: rotate(45deg); }
.note { margin: 22px 0 0; padding: 16px 20px; border-left: 2px solid var(--c-gold-500); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface); color: var(--c-text); font-size: 1rem; }
.more { margin: 28px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; letter-spacing: .02em; }
.link-arrow::after { content: '\2192'; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
@media (min-width: 1024px) {
  .section { padding: 120px 0; }
  .section h2 { margin-bottom: .55em; }
  .section-text .prose, .section-split .split:not(.has-media) .prose { margin-top: 8px; }
}

/* passos (números grandes em Six Caps, como os números do oficial) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--c-line); }
.step h3 { margin-bottom: .35em; font-size: 1.3rem; }
.step p { margin: 0; color: var(--c-text); }
.step-n { flex: none; min-width: 34px; font-family: var(--font-display); font-size: 4rem; line-height: .9; color: var(--c-gold); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } .step { flex-direction: column; padding: 30px 28px; } .step-n { font-size: 5rem; }
  /* 19/11/2026: sem cartão sozinho na última linha (5 passos numa linha; 6 em 3 + 3) */
  .steps:has(> .step:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps:has(> .step:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* split */
.split.has-media { display: grid; gap: 30px; }
.split-media { display: grid; gap: 14px; }
.split-media .media { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.has-media .split-media { width: 100%; max-width: 540px; justify-self: center; align-content: start; }
.split-media:has(> .media + .media) { grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .split.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }

/* fatos em grade (rótulo em Six Caps dourado) */
.facts { display: grid; gap: 14px; margin: 0; }
.fact { padding: 22px 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--c-line); }
.fact dt { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-gold); margin-bottom: 10px; }
.fact dd { margin: 0; font-size: 1.04rem; color: var(--c-text); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts:has(> .fact:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* cards (bloco inteiro clicável: link esticado no título); fundo #18191B, borda branca a 10 % */
.cards { display: grid; gap: 18px; }
.cards + .cards, .cards + .cards-subhead { margin-top: 18px; }
.cards-subhead { margin: 40px 0 16px; font-size: 1.5rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(var(--rgb-gold-500), .6); box-shadow: var(--shadow-h); }
.card:focus-within { outline: 3px solid var(--c-gold); outline-offset: 3px; }
.card-link { color: var(--c-white); text-decoration: none; }
.card-link:hover { color: var(--c-white); }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.card-title { margin: 0 0 10px; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.005em; }
.card-body p { color: var(--c-muted); margin: 0 0 16px; font-size: 1rem; }
.card-more { margin-top: auto; color: var(--c-gold); display: inline-flex; gap: 6px; align-items: center; font-size: .95rem; letter-spacing: .04em; }
.card-more .arrow { transition: transform .15s ease; }
.card:hover .card-more .arrow { transform: translateX(4px); }
.card-media .media { border-radius: 0; }
.card-compact { border-left: 2px solid var(--c-gold-500); }
.card-compact .card-body { padding: 18px 20px; }
.card-compact .card-title { font-size: 1.25rem; }
.card-compact .card-body p { font-size: .97rem; margin-bottom: 10px; }
@media (min-width: 640px) { .cards-featured, .cards-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .cards-lead .card { flex-direction: row; }
  .cards-lead .card-media { flex: 0 0 55%; }
  .cards-lead .card-media .media { height: 100%; }
  .cards-lead .card-body { padding: 40px; justify-content: center; }
  .cards-lead .card-title { font-size: 2.1rem; }
  .cards-lead .card-body p { font-size: 1.1rem; }
}
@media (min-width: 1100px) {
  .cards-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .cards-compact { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* faixa escura (prova, seguro): no tudo-escuro vira bloco #18191B */
.section.section-dark { background: var(--c-bg-alt); --surface: var(--c-dark-700); }
.section-dark .section-intro { color: var(--c-silver); }

/* avaliações */
.reviews { display: grid; gap: 16px; }
.review { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.review-stars { color: var(--c-gold); letter-spacing: .14em; font-size: 1.05rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; }
.review blockquote p { margin: 0; font-size: 1.08rem; color: var(--c-text); }
.review figcaption { margin-top: auto; color: var(--c-white); font-size: .98rem; }
.review-src { color: var(--c-muted); }
.review-note { margin: 20px 0 0; font-size: .94rem; color: var(--c-muted); }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } .reviews:has(> .review:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .reviews:has(> .review:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 17/11/2026: página de avaliações completas (/reviews/) e histórias de clientes (página de projetos) */
.btn-google svg { flex: none; color: currentColor; }
.review-google { margin: 0 0 26px; }
.review-google-bottom { margin: 26px 0 0; }
.reviews-full { display: grid; gap: 16px; }
.review-full { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--c-line); }
.review-full:target { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.review-text { margin: 0 0 12px; }
.review-text p { margin: 0 0 .8em; font-size: 1.04rem; overflow-wrap: anywhere; }
.review-text p:last-child { margin-bottom: 0; }
.review-by { margin: 0; color: var(--c-white); font-size: .98rem; }
@media (min-width: 900px) { .reviews-full { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.story { display: grid; gap: 30px; }
.story-quote { margin: 24px 0 0; padding: 20px 22px; border-left: 2px solid var(--c-gold-500); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface); }
.story-quote blockquote { margin: 0 0 8px; }
.story-quote blockquote p { margin: 0; font-size: 1.12rem; font-style: italic; color: var(--c-white); }
.story-quote figcaption { color: var(--c-white); font-size: .98rem; }
.story-review-link { margin: 4px 0 0; }
.story-media { width: 100%; max-width: 560px; justify-self: center; }
@media (min-width: 1024px) { .story.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }

/* áreas */
.area-groups { display: grid; gap: 22px; margin-bottom: 18px; }
.area-group h3 { font-size: 1.2rem; margin: 0 0 12px; color: var(--c-white); }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.area-list li { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--c-line); color: var(--c-white); }
.area-list li::before { content: ''; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E8A843' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.area-list li a { color: var(--c-white); text-decoration: none; }
.area-list li a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.area-list li:hover { border-color: rgba(var(--rgb-gold-500), .6); }
.area-list li:focus-within { outline: 3px solid var(--c-gold); outline-offset: 2px; }
.area-list [aria-current="page"] { color: var(--c-gold); }
.area-secondary { color: var(--c-muted); margin: 0; }
@media (min-width: 760px) { .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .area-groups { grid-template-columns: .55fr 1.5fr 1.2fr .95fr; align-items: start; } .area-list { grid-template-columns: minmax(0, 1fr); } .area-group:nth-child(2) .area-list, .area-group:nth-child(3) .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* listas de links */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.link-list li { border-bottom: 1px solid var(--c-line); }
@media (min-width: 760px) { .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) { .link-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section-links { padding: 44px 0; }

/* CTA no meio da página */
.section-cta-inline { padding: 28px 0; }
.section-cta-inline + .section, .section + .section-cta-inline { border-top: 0; }
.cta-box { display: grid; gap: 16px; padding: 30px 24px; border-radius: var(--radius); background: var(--c-bg-alt); color: var(--c-text); position: relative; overflow: hidden; border: 1px solid var(--c-line); border-top: 2px solid var(--c-gold-500); }
.cta-box > * { position: relative; z-index: 1; margin: 0; }
.cta-box h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.4rem); color: var(--c-white); max-width: 26ch; }
.cta-box .btn { justify-self: start; }
@media (min-width: 900px) {
  .cta-box { grid-template-columns: minmax(0, 1fr) auto; padding: 40px 48px; column-gap: 48px; align-items: center; }
  .cta-box > h2, .cta-box > p { grid-column: 1; }
  .cta-box > .btn { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 1024px) { .section-cta-inline { padding: 44px 0; } }

/* FAQ */
.section-faq h2 { margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 18px 4px; cursor: pointer; list-style: none; font-size: 1.18rem; line-height: 1.35; color: var(--c-white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-q { color: var(--c-gold); }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--c-line-strong); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--c-white); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item[open] .faq-icon { border-color: var(--c-gold-500); background: var(--c-gold-500); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--c-dark); }
.faq-a { padding: 0 4px 22px; max-width: 70ch; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-cta { margin-top: 32px; padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--c-line); display: grid; gap: 14px; }
.faq-cta p { margin: 0; }
.faq-cta .btn { justify-self: start; }
@media (min-width: 760px) { .faq-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* relacionados */
.section-related { padding: 56px 0; background: var(--c-bg); border-top: 1px solid var(--c-line); }
.section-related h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
@media (min-width: 1024px) { .section-related { padding: 80px 0; } }

/* CTA final */
.section-cta { background: var(--c-bg-alt); color: var(--c-white); padding: 68px 0; position: relative; overflow: hidden; border-top: 1px solid var(--c-line); }
.cta-final { position: relative; display: grid; gap: 26px; }
.cta-final h2 { color: var(--c-white); margin-bottom: .3em; }
.cta-final p { color: var(--c-gray); max-width: 56ch; margin: 0; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.section-cta .hero-meta { color: var(--c-silver); }
@media (min-width: 900px) {
  .section-cta { padding: 110px 0; }
  .cta-final { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; }
  .cta-actions { justify-items: end; text-align: right; }
}

/* ---------- rodapé ---------- */
.site-footer { background: var(--c-dark-900); color: var(--c-silver); font-size: 1rem; border-top: 1px solid var(--c-line); }
.footer-top { display: grid; gap: 38px; padding-top: 60px; padding-bottom: 44px; }
.f-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; border-radius: 6px; color: inherit; text-decoration: none; }
.f-logo .logo { display: block; height: 64px; width: auto; max-width: none; }
.f-cta { margin: 0 0 16px; }
.f-line { margin: 0 0 6px; }
.f-mail { color: var(--c-gold); }
.f-head { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1; letter-spacing: 2px; text-transform: uppercase; color: var(--c-white); }
.f-col ul { list-style: none; margin: 0 0 26px; padding: 0; }
.f-col li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--c-text); text-decoration: none; }
.f-col li a:hover { text-decoration: underline; color: var(--c-gold); }
.f-cities { columns: 2; column-gap: 18px; }
.f-cities li { break-inside: avoid; }
.f-social { list-style: none; display: flex; gap: 8px; margin: 18px 0 0; padding: 0; }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--c-white); border: 1px solid var(--c-line-strong); }
.social:hover { color: var(--c-gold); border-color: var(--c-gold-500); }
.footer-bottom { border-top: 1px solid var(--c-line); padding-top: 18px; padding-bottom: 22px; font-size: .92rem; color: var(--c-silver); }
.footer-bottom p { margin: 0; }
@media (min-width: 760px) { .footer-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 44px; } }

/* 20/11/2026: a barra fixa de ligar do celular saiu (Fase 4 §5.2.2 item 7: nenhuma chamada fixa que acompanha a rolagem). */

/* aviso fixo acima de todo grid de obras (a cidade sorteada não é o local da obra) */
.grid-note { color: var(--c-muted); font-size: .94rem; margin: -8px 0 20px; max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .card:hover, .btn-call:hover, .btn-outline:hover, .btn-google:hover { transform: none; }
}
@media print {
  .site-header, .faq-icon, .hero-media video { display: none !important; }
  .faq-item .faq-a { display: block; }
}
