/* ============================================================
   NATHÃ MOREIRA — SOLUÇÕES EM ELÉTRICA
   Sistema visual único. Grafite / preto + laranja.
   Sem emojis, sem sombras pesadas, sem gradientes decorativos.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --bg:        #0B0B0C;
  --bg-2:      #111113;
  --bg-3:      #17171A;
  --bg-4:      #1E1E22;
  --line:      #232327;
  --line-2:    #33333A;
  --fg:        #F2F2F0;
  --fg-2:      #9E9EA6;
  --fg-3:      #6C6C75;
  --accent:    #F57C00;
  --accent-2:  #FF9126;
  --accent-dim:rgba(245,124,0,0.14);
  --ok:        #3FA96B;
  --warn:      #E0A800;
  --danger:    #D9534F;

  --display: 'Archivo', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --wrap:    1240px;
  --gutter:  clamp(20px, 5vw, 56px);
  --section: clamp(80px, 10vw, 152px);
  --header-h: 76px;
  --r: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 12px 20px; font-size: .9rem;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.t-hero   { font-size: clamp(2.35rem, 6.1vw, 4.5rem); letter-spacing: -0.035em; }
.t-page   { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -0.032em; }
.t-sec    { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
.t-sub    { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; }

.lead { font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--fg-2); max-width: 58ch; }
.muted { color: var(--fg-2); }
.small { font-size: .875rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.eyebrow .n { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-solid {
  background: rgba(11,11,12,.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: block; line-height: 1.1; }
.brand-name {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: .95rem; letter-spacing: .10em; text-transform: uppercase;
}
.brand-sub {
  display: block; margin-top: 3px;
  font-family: var(--mono); font-size: .56rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--fg-3);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative; font-size: .875rem; color: var(--fg-2);
  padding: 6px 0; transition: color .2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--fg); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none; width: 44px; height: 44px; background: none; border: 0;
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--header-h) var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block; padding: 14px 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 7vw, 2.2rem); letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav .btn { margin-top: 32px; width: 100%; justify-content: center; }
.mobile-nav-foot { margin-top: 28px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--fg-3); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px;
  font-size: .92rem; font-weight: 500; letter-spacing: .005em;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-3); background: var(--bg-2); }
.btn-light { background: var(--fg); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-sm { height: 44px; padding: 0 20px; font-size: .84rem; }
.btn-block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .875rem; color: var(--fg-2);
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.link-more::after { content: '→'; font-family: var(--mono); transition: transform .25s var(--ease); }
.link-more:hover { color: var(--accent); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 7vw, 100px); }
.section-line { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .eyebrow { display: block; margin-bottom: 20px; }
.sec-head .lead { margin-top: 20px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; padding-block: 120px clamp(56px, 7vw, 96px); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100% !important; object-fit: cover; opacity: .55; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,11,12,.96) 8%, rgba(11,11,12,.72) 48%, rgba(11,11,12,.40) 100%),
    linear-gradient(to top, rgba(11,11,12,1) 2%, rgba(11,11,12,0) 42%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 16ch; margin-top: 22px; }
.hero .lead { margin-top: 26px; max-width: 50ch; color: #B6B6BC; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Cabeçalho de página interna */
.page-head { padding-block: calc(var(--header-h) + clamp(60px, 8vw, 110px)) clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .eyebrow { display: block; margin-bottom: 20px; }
.page-head .lead { margin-top: 22px; }

/* ---------- Grade hairline ---------- */
.hair-grid {
  display: grid; gap: 1px; background: var(--line);
  border-block: 1px solid var(--line);
}
.hair-grid > * { background: var(--bg); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Item de serviço */
.svc { display: block; padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 36px); transition: background .25s var(--ease); }
.svc:hover { background: var(--bg-2); }
.svc-n { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; color: var(--accent); }
.svc h3 { margin-top: 18px; font-size: 1.24rem; letter-spacing: -0.02em; }
.svc p { margin-top: 12px; color: var(--fg-2); font-size: .93rem; max-width: 38ch; }
.svc .link-more { margin-top: 22px; }

/* ---------- Lista numerada (diferenciais) ---------- */
.reasons { border-top: 1px solid var(--line); }
.reason {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: baseline;
  padding-block: clamp(24px, 2.6vw, 34px); border-bottom: 1px solid var(--line);
}
.reason-n { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: var(--accent); }
.reason h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.reason p { margin-top: 8px; color: var(--fg-2); font-size: .95rem; max-width: 62ch; }

/* ---------- Split (sobre) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 22%; filter: grayscale(.15); }
.split-body h2 { margin-bottom: 22px; }
.split-body p + p { margin-top: 16px; }

.credentials {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2);
}
.credentials span { position: relative; }

/* ---------- Projetos / galeria de capas ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.tile { position: relative; display: block; overflow: hidden; background: var(--bg-3); }
.tile img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; opacity: .9; }
.tile:hover img { transform: scale(1.035); opacity: 1; }
.tile-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.92) 0%, rgba(11,11,12,.25) 45%, rgba(11,11,12,0) 75%); }
.tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.tile-label h3 { font-size: 1.08rem; letter-spacing: -0.015em; }
.tile-label span { display: block; margin-top: 6px; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }

/* ---------- Lista de ferramentas ---------- */
.tool-list { border-top: 1px solid var(--line); }
.tool-row {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding-block: clamp(22px, 2.4vw, 30px); border-bottom: 1px solid var(--line);
  transition: padding-inline .3s var(--ease), background .25s var(--ease);
}
.tool-row:hover { background: var(--bg-2); padding-inline: 16px; }
.tool-row h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.tool-row p { margin-top: 6px; color: var(--fg-2); font-size: .9rem; max-width: 60ch; }
.tool-row .arrow { font-family: var(--mono); color: var(--fg-3); transition: color .2s, transform .25s var(--ease); }
.tool-row:hover .arrow { color: var(--accent); transform: translateX(4px); }
.tool-tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* ---------- CTA ---------- */
.cta { background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-inner { padding-block: clamp(72px, 9vw, 132px); text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { margin: 22px auto 38px; color: var(--fg-2); max-width: 46ch; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.info-list { border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); align-items: baseline; }
.info-row dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.info-row dd a:hover { color: var(--accent); }

.notice {
  margin-top: 28px; padding: 20px 22px;
  border: 1px solid var(--line); border-left: 2px solid var(--accent);
  background: var(--bg-2); color: var(--fg-2); font-size: .89rem;
}
.notice strong { color: var(--fg); font-weight: 500; }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field > label, .field-legend {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg-3);
}
.input, .select, .textarea {
  width: 100%; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 16px; font-size: .95rem; color: var(--fg);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-3); }
.textarea { min-height: 132px; resize: vertical; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%), linear-gradient(135deg, var(--fg-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 44px;
}
.select option { background: var(--bg-2); color: var(--fg); }

.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: block; height: 100%; padding: 16px 18px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.choice label strong { display: block; font-size: .95rem; font-weight: 500; }
.choice label small { display: block; margin-top: 5px; font-size: .8rem; color: var(--fg-2); line-height: 1.45; }
.choice input:checked + label { border-color: var(--accent); background: var(--accent-dim); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-note { font-size: .8rem; color: var(--fg-3); }

/* ---------- Componentes de ferramentas ---------- */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.6vw, 34px); }
.panel + .panel { margin-top: 20px; }
.panel-title { font-size: 1.05rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.result { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); }
.result-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.result-value { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; margin-top: 10px; }
.result-value small { font-size: .38em; font-weight: 500; color: var(--fg-2); letter-spacing: 0; }
.result-accent { color: var(--accent); }

.stat-row { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg-2); padding: 20px 22px; }
.stat dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.stat dd { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 8px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
table.data tbody tr:hover { background: var(--bg-2); }
table.data td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.tag { display: inline-flex; align-items: center; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: var(--r); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.tag-ok { border-color: rgba(63,169,107,.5); color: var(--ok); }
.tag-warn { border-color: rgba(224,168,0,.5); color: var(--warn); }
.tag-danger { border-color: rgba(217,83,79,.5); color: var(--danger); }

.callout { padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--fg-3); background: var(--bg-2); font-size: .89rem; color: var(--fg-2); }
.callout strong { color: var(--fg); font-weight: 500; }
.callout-warn { border-left-color: var(--warn); }
.callout-danger { border-left-color: var(--danger); }
.callout-accent { border-left-color: var(--accent); }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tab {
  background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px;
  padding: 13px 18px; font-size: .88rem; color: var(--fg-3); cursor: pointer; white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--fg-2); }
.tab.is-active { color: var(--fg); border-bottom-color: var(--accent); }

.check-item { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); align-items: start; }
.check-item input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; cursor: pointer; }
.check-item label { cursor: pointer; font-size: .95rem; }
.check-item p { margin-top: 6px; font-size: .85rem; color: var(--fg-3); }

/* ---------- Galerias ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.gallery figure { position: relative; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; opacity: .92; transition: transform .6s var(--ease), opacity .3s; }
.gallery figure:hover img { transform: scale(1.04); opacity: 1; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 18px 16px;
  background: linear-gradient(to top, rgba(11,11,12,.92), rgba(11,11,12,0));
  font-size: .82rem; color: var(--fg);
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(7,7,8,.96);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 22px; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--fg); font-size: 1.1rem; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: .85rem; color: var(--fg-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 64px); padding-block: clamp(56px, 6vw, 88px); }
.footer-brand .brand-name { font-size: 1.05rem; }
.footer-brand p { margin-top: 18px; color: var(--fg-2); font-size: .89rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 18px; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { font-size: .89rem; color: var(--fg-2); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r); color: var(--fg-2);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 26px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--fg-3);
}

/* ---------- Animação discreta ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 3/2; object-position: center 20%; }
  .contact-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  :root { --section: 72px; }
  .cols-2, .cols-3, .grid-2, .grid-3, .choice-group { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile img { aspect-ratio: 3/2; }
  .hero { min-height: 88vh; }
  .reason { grid-template-columns: 1fr; gap: 10px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Extras de página interna ---------- */
section[id], [id].anchor-offset { scroll-margin-top: calc(var(--header-h) + 28px); }

.spec-list { margin-top: 28px; border-top: 1px solid var(--line); }
.spec-list li {
  display: grid; grid-template-columns: 6px 1fr; gap: 16px; align-items: start;
  padding-block: 13px; border-bottom: 1px solid var(--line);
  font-size: .93rem; color: var(--fg-2);
}
.spec-list li::before { content: ''; width: 5px; height: 5px; margin-top: .65em; background: var(--accent); }

.split + .split { margin-top: clamp(64px, 8vw, 128px); }
.split-media.is-tall img { aspect-ratio: 3/4; }
.split-media.is-wide img { aspect-ratio: 16/10; }

@media (min-width: 861px) {
  .split-reverse .split-media { order: 2; }
}

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.numbers div { background: var(--bg); padding: clamp(24px, 3vw, 36px) clamp(18px, 2vw, 28px); }
.numbers dt { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.numbers dd { margin-top: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }

.area-list { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }

.group-label {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 6px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
}
.group-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.group + .group { margin-top: clamp(48px, 6vw, 80px); }

.prose p { color: var(--fg-2); }
.prose p + p { margin-top: 18px; }
.prose h3 { margin-top: 40px; margin-bottom: 14px; font-size: 1.25rem; }

@media (max-width: 620px) {
  .numbers { grid-template-columns: 1fr; }
}

/* ---------- Legenda das galerias ---------- */
.gallery figcaption strong { display: block; font-weight: 500; font-size: .84rem; }
.gallery figcaption span { display: block; margin-top: 4px; font-size: .76rem; color: var(--fg-2); line-height: 1.4; }
.gallery figure { outline-offset: 2px; }

/* Em telas de toque a legenda fica sempre visível */
@media (hover: none) {
  .gallery figcaption { opacity: 1; transform: none; }
  .tool-row:hover { padding-inline: 0; }
}
