/* ==========================================================================
   Ledz Web Solutions — Home v2 ("Noturno técnico")
   Origem: protótipo ledz-home-v2 (estilos inline extraídos para classes).
   ========================================================================== */

/* ---------- Fontes (hospedadas localmente, subconjunto latin) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg: #08080A;
  --surface: #0F0F12;
  --surface-2: #16161A;
  --surface-3: #18181C;
  --surface-row: #141418;
  --border: #1F1F24;
  --border-soft: #1C1C21;
  --border-strong: #26262C;
  --divider: #16161A;
  --text: #F4F4F5;
  --text-2: #C9C9CF;
  --text-3: #B4B4BB;
  --muted: #9A9AA2;
  --muted-2: #8E8E96;
  --muted-3: #6E6E76;
  --light: #E9E9EC;
  --red: #BB142F;
  --red-border: #CC2A44;
  --red-dark: #6A0B1B;
  --red-text: #FF5C6E;
  --ok: #6EE7A0;
  --ok-bg: #12241A;
  --ok-vivid: #34F08A; /* verde mais saturado, só nos gráficos */
  --warn: #FF8A84;
  --warn-bg: #2A1212;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(72px, 10vw, 120px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: #FFFFFF; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
.sr-only {
  position: absolute; 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: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 9px; background: var(--light); color: var(--bg);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { border-top: 1px solid var(--divider); }
.section > .container { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; }

.mono { font-family: var(--font-mono); }
.label { font-family: var(--font-mono); font-size: 13px; color: var(--red-text); }
.meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }

/* Título de seção em dois tons */
.title-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.title-2 span, .tone { color: var(--muted-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.link-arrow { font-weight: 600; font-size: 15px; color: var(--red-text); }
.link-arrow:hover { color: #FF7D8B; }

/* ---------- Botões tipo tecla ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 14px; border-radius: 9px; border: 0;
  font: 600 14px var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); }
/* Em telas de toque, mantém a área mínima de 44px */
@media (pointer: coarse) { .btn { min-height: 44px; } }
.btn-light {
  background: var(--light); color: var(--bg);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.btn-light:hover { background: #FFFFFF; color: var(--bg); }
.btn-red {
  min-height: 50px; padding: 0 24px; border-radius: 10px; font-size: 16px;
  background: var(--red); color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(0,0,0,.25), 0 10px 30px -10px rgba(187,20,47,.7);
}
.btn-red:hover { filter: brightness(1.12); color: #FFFFFF; }
.btn-outline,
.footer-col .btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.7); }
.btn-outline:hover,
.footer-col .btn-outline:hover { background: rgba(255,255,255,.06); border-color: #FFFFFF; color: #FFFFFF; }
.self-start { align-self: flex-start; }

/* ---------- Header em cápsula ---------- */
.site-header-wrap { position: sticky; top: 0; z-index: 20; padding: 16px var(--gutter) 0; }
.site-header {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 30px; border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(16,16,19,.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.8);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text); white-space: nowrap; }
.nav-main { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-main a, .navl { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.nav-main a:hover, .navl:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle { position: relative; }
.nav-toggle svg { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; transition: opacity .2s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
/* Troca ☰ ↔ ✕ girando e cruzando a opacidade */
.nav-toggle .ico-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.nav-toggle[aria-expanded="true"] .ico-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.nav-toggle[aria-expanded="true"] .ico-close { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-light { display: none; }
  /* Painel do menu: escondido com visibility (sai da ordem de foco) para poder animar a entrada */
  .nav-main {
    display: flex; visibility: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-8px) scale(.98); transform-origin: top right;
    transition: opacity .18s ease, transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s linear .25s;
    position: absolute; left: -1px; right: -1px; top: calc(100% + 8px);
    flex-direction: column; gap: 0; padding: 8px;
    border-radius: 16px; border: 1px solid var(--border);
    background: rgba(16,16,19,.97);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.8);
    font-size: 16px;
  }
  .nav-main.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav-main a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px; }
  /* Itens entram em cascata na abertura; no fechamento somem junto com o painel */
  .nav-main a { opacity: 0; transform: translateY(-6px); transition: color .2s ease, background-color .2s ease, opacity .15s ease, transform .15s ease; }
  .nav-main.is-open a { opacity: 1; transform: none; transition: color .2s ease, background-color .2s ease, opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
  .nav-main.is-open a:nth-child(1) { transition-delay: 0s, 0s, .04s, .04s; }
  .nav-main.is-open a:nth-child(2) { transition-delay: 0s, 0s, .08s, .08s; }
  .nav-main.is-open a:nth-child(3) { transition-delay: 0s, 0s, .12s, .12s; }
  .nav-main.is-open a:nth-child(4) { transition-delay: 0s, 0s, .16s, .16s; }
  .nav-main.is-open a:nth-child(5) { transition-delay: 0s, 0s, .20s, .20s; }
  .nav-main.is-open a:nth-child(6) { transition-delay: 0s, 0s, .26s, .26s; }
  .nav-main a:hover { background: var(--surface-2); }
  .nav-main .nav-cta { margin-top: 8px; color: var(--bg); justify-content: center; }
  .nav-main .nav-cta:hover { background: #FFFFFF; }
}
@media (min-width: 861px) {
  .nav-main .nav-cta { display: none; }
}
/* Sem JS o menu mobile fica sempre visível (empilhado), para não esconder a navegação */
.no-js .nav-toggle { display: none; }
@media (max-width: 860px) {
  .no-js .site-header { flex-wrap: wrap; }
  .no-js .nav-main, .no-js .nav-main a { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .no-js .nav-main { display: flex; position: static; flex-direction: row; flex-wrap: wrap; background: none; border: 0; box-shadow: none; padding: 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(64px, 10vw, 98px)) var(--gutter) clamp(96px, 12vw, 170px);
}
.hero-layer { position: absolute; inset: 0; pointer-events: none; }
.hero-poly {
  /* Textura vetorial gerada (triângulos translúcidos sobrepostos): nítida em qualquer tela */
  background: url(../img/textura-poligonos.svg?v=2) center top / cover no-repeat;
  opacity: .7;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 40%, transparent 80%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 40%, transparent 80%);
}
.hero-glow { background: radial-gradient(ellipse 45% 38% at 50% 0%, rgba(187,20,47,.42) 0%, rgba(187,20,47,.12) 45%, transparent 75%); }
.hero-dots {
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%);
}
.hero-symbol {
  position: absolute; left: 50%; top: 70px;
  width: min(820px, 160vw); height: auto; aspect-ratio: 720 / 662;
  transform: translateX(-75%); /* deslocado à esquerda do centro (25% da largura do símbolo) */
  pointer-events: none;
}
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(180deg, transparent 0%, var(--bg) 92%); pointer-events: none; }
.hero-content { position: relative; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 7.4vw, 76px); line-height: 1.04; letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero h1 span { display: block; color: var(--muted-2); }
.hero-lead { font-size: clamp(17px, 2vw, 19px); line-height: 1.55; color: var(--text-2); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.hero-note { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.hero-note a { color: inherit; text-decoration: none; }
.hero-note a:hover { color: var(--text); }

/* ---------- Manutenção (visual protagonista) ---------- */
.maint { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 40px; padding-bottom: clamp(88px, 11vw, 140px); }
.maint-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 28px; }
.maint-copy p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.maint-visual { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.panel {
  border-radius: 16px; border: 1px solid #222228; background: var(--surface); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
}
.panel-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2C2C32; }
.panel-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.panel-list { list-style: none; padding: 0; }
.panel-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #17171B; }
.panel-row:last-child { border-bottom: 0; }
.panel-row:nth-child(even) { background: var(--surface-row); }
.panel-row svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--muted); }
.panel-row .name { flex-grow: 1; font-size: 15px; min-width: 0; }
.panel-row .meta { white-space: nowrap; }
.status {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 4px 10px; border-radius: 6px; background: var(--ok-bg); color: var(--ok);
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.status.warn { background: var(--warn-bg); color: var(--warn); }
.status.warn::before { background: var(--red-text); }
@media (max-width: 600px) {
  .panel-row { padding: 14px 16px; gap: 12px; }
  .panel-row .meta { display: none; }
}


/* Ícones de traço (Feather-like) */
.ico { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Serviços com abas ---------- */
.services > .container { gap: 44px; }
@media (min-width: 900px) {
  .services .section-head { flex-wrap: nowrap; }
  .services .section-head .title-2 { flex: 1 1 auto; min-width: 0; }
  .services .tablist { flex-shrink: 0; }
}
.tablist {
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0;
  font: 500 14px var(--font-body); cursor: pointer; background: transparent; color: var(--muted);
  white-space: nowrap; transition: background-color .2s ease, color .2s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: #232328; color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.tabs-card { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: clamp(20px, 4.5vw, 48px); display: grid; }
/* Os três painéis ocupam a mesma célula: o card fica com a altura do maior e não "pula" ao trocar de aba */
.tab-panel { grid-area: 1 / 1; display: flex; flex-wrap: wrap; gap: clamp(28px, 4.5vw, 48px); align-items: center; }
.tab-panel[hidden] { display: flex; visibility: hidden; }
.tab-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.tab-copy h3 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.tab-copy p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; background: var(--red); transform: translateY(-2px); }
/* Gráfico ilustrativo (aba Sistemas sob medida) */
.chart-card {
  flex: 1 1 380px; min-width: 0; border-radius: 14px; border: 1px solid #222228; background: var(--bg); overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04);
}
.chart-body { padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 12px; }
/* Os cards ilustrativos esticam até a altura do painel, então os três ficam iguais */
.tab-panel > .chart-card { align-self: stretch; display: flex; flex-direction: column; }
.tab-panel > .chart-card .chart-body { flex: 1; justify-content: space-between; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chart-kpi { display: flex; flex-direction: column; gap: 4px; }
.chart-kpi strong { font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: #1C1C21; stroke-width: 1; }
.chart-axis text { font-family: var(--font-mono); font-size: 12px; fill: var(--muted-2); }
.chart-line { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-line-prev { fill: none; stroke: #4A4A52; stroke-width: 2; stroke-dasharray: .012 .012; stroke-linecap: round; }
.chart-dot { fill: #FFFFFF; stroke: var(--red); stroke-width: 3; }
.chart-halo { fill: rgba(187,20,47,.25); }
.chart-legend { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend span::before { content: ""; width: 16px; height: 3px; border-radius: 2px; background: var(--red); }
.chart-legend .lg-prev::before { height: 0; background: none; border-top: 2px dashed #4A4A52; }
/* A linha se desenha quando a aba aparece */
@keyframes chart-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chart-fade { from { opacity: 0; } to { opacity: 1; } }
.tab-panel:not([hidden]) .chart-line { stroke-dasharray: 1; animation: chart-draw 1.4s cubic-bezier(.3,.7,.2,1) both; }
.tab-panel:not([hidden]) .chart-area, .tab-panel:not([hidden]) .chart-dot, .tab-panel:not([hidden]) .chart-halo { animation: chart-fade .6s ease 1s both; }
@media (max-width: 480px) { .chart-axis text { font-size: 14px; } }

/* Notas de desempenho (aba Desenvolvimento Web) */
.gauges { list-style: none; padding: 4px 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; text-align: center; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gauge svg { width: min(100%, 88px); height: auto; }
.gauge-track { fill: none; stroke: #1C1C21; stroke-width: 6; }
.gauge-arc { fill: rgba(52,240,138,.07); stroke: var(--ok-vivid); stroke-width: 6; stroke-linecap: round; }
.gauge text { font-family: var(--font-display); font-size: 22px; font-weight: 700; fill: var(--ok-vivid); }
.gauge .meta { font-size: 11px; line-height: 1.3; }
.vitals { list-style: none; padding: 0; border-top: 1px solid var(--border-soft); }
.vitals li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #17171B; font-size: 14px; }
.vitals li:last-child { border-bottom: 0; padding-bottom: 0; }
.vitals .name { flex-grow: 1; display: inline-flex; align-items: baseline; gap: 8px; }
/* Simulação de ping (aba Desenvolvimento Web) */
.ping { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; background: #0C0C0F; border: 1px solid var(--border-soft); font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.ping-cmd { white-space: nowrap; }
.ping-prompt { color: var(--red-text); }
.ping-bars { flex: 1; min-width: 0; height: 22px; display: flex; align-items: flex-end; gap: 2px; }
.ping-bars i { flex: 1; min-height: 2px; border-radius: 1px; background: var(--ok-vivid); opacity: .35; transition: height .3s ease; }
.ping-bars i:last-child { opacity: 1; }
.ping-ms { white-space: nowrap; color: var(--ok-vivid); font-variant-numeric: tabular-nums; min-width: 5ch; text-align: right; }
@media (max-width: 480px) { .ping-cmd { display: none; } }
@keyframes gauge-fill { from { stroke-dasharray: 0 100; } }
.tab-panel:not([hidden]) .gauge-arc { animation: gauge-fill 1.2s cubic-bezier(.3,.7,.2,1) .15s both; }

/* Relatório mensal (aba Manutenção mensal) */
.uptime { display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); gap: 3px; height: clamp(64px, 7vw, 92px); margin-top: 4px; }
.uptime i { border-radius: 2px; background: var(--ok-vivid); }
.uptime-axis { display: flex; justify-content: space-between; margin-top: -4px; }
.report-stats { list-style: none; padding: 16px 0 0; margin-top: 4px; border-top: 1px solid var(--border-soft); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.report-stats li { display: flex; flex-direction: column; gap: 4px; }
.report-stats strong { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.report-stats .meta { line-height: 1.35; }
@keyframes bar-in { from { transform: scaleY(.15); opacity: 0; } }
.tab-panel:not([hidden]) .uptime i { transform-origin: bottom; animation: bar-in .5s ease calc(var(--i) * 25ms) both; }
@media (max-width: 480px) { .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; } .gauge svg { width: 76px; } .uptime { gap: 2px; } }

.media-ph {
  flex: 1 1 380px; aspect-ratio: 16 / 10; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  color: var(--muted-2); font-size: 13px;
}
/* Sem JS: mostra todos os painéis empilhados */
.no-js .tabs-card { display: block; }
.no-js .tab-panel[hidden] { visibility: visible; margin-top: 48px; }
.no-js .tablist { display: none; }

/* ---------- Quem somos ---------- */
.about > .container { gap: clamp(40px, 6vw, 64px); }
.about-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; }
.about-head p { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--muted-2); }
.about-lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px); line-height: 1.32; letter-spacing: -0.02em;
  color: var(--muted-3); max-width: 1080px;
}
.about-lead strong { font-weight: 500; color: var(--text); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.about-card { padding: 28px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 22px; }
.about-card p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.about-card p strong { color: var(--text); font-weight: 600; }
.card-year {
  position: relative; overflow: hidden; justify-content: space-between; gap: 28px;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(187,20,47,.22) 0%, rgba(187,20,47,.06) 50%, transparent 75%), var(--surface);
}
.card-year-symbol { width: min(72%, 240px); height: auto; aspect-ratio: 720 / 662; margin: 8px auto 0; overflow: visible; }
.card-year-info { display: flex; flex-direction: column; gap: 10px; }
.card-year-info .year { margin-top: 2px; }
.year { font-family: var(--font-display); font-weight: 700; font-size: clamp(72px, 9vw, 96px); line-height: .9; letter-spacing: -0.05em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chip { display: inline-flex; padding: 6px 11px; border-radius: 7px; background: var(--surface-3); border: 1px solid var(--border-strong); font-size: 13px; color: #E4E4E7; }
.card-mission { border-color: #3A1420; background: #140C0F; gap: 18px; }
.card-mission h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.card-mission p { color: var(--text-3); }
.key {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #1A1A1F; border: 1px solid #2E2E35;
  box-shadow: inset 0 -3px 0 #0A0A0C, inset 0 1px 0 rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 16px; color: var(--text);
}
.key.red { background: var(--red); border-color: var(--red-border); box-shadow: inset 0 -3px 0 var(--red-dark), inset 0 1px 0 rgba(255,255,255,.2); color: #FFFFFF; }
.key svg { width: 20px; height: 20px; stroke: #FFFFFF; stroke-width: 1.8; }

/* ---------- Cards genéricos com hover ---------- */
.card { transition: border-color .25s ease, transform .25s ease, background-color .25s ease; }
.card:hover { border-color: #3A3A42; background-color: #131316; transform: translateY(-3px); }

/* ---------- Como trabalhamos ---------- */
.process > .container { gap: 48px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.step { padding: 28px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.step strong { color: var(--text); }

/* ---------- Portfólio ---------- */
.portfolio > .container { gap: 48px; }
.work-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.work {
  display: flex; flex-direction: column; gap: 14px; height: 100%;
  padding: 12px 12px 18px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); text-decoration: none; color: var(--text);
}
.work .media-ph { flex: none; width: 100%; border: 0; border-radius: 10px; }
.work-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 10px; background: var(--surface-2); }
.work-info { padding: 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.work-info strong { font-weight: 600; font-size: 16px; }

/* ---------- Depoimentos (seção fora da home por enquanto; marcação no commit 1e257cc da index.html) ---------- */
.testimonials > .container { gap: 56px; }
.testimonials .title-2 { text-align: center; }
.people { list-style: none; padding: 0; display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.person { display: flex; align-items: center; gap: 14px; padding: 18px 24px; opacity: .35; }
.person.is-active { opacity: 1; border-radius: 14px; border: 1px solid var(--border-strong); background: #111114; box-shadow: 0 20px 60px -20px rgba(187,20,47,.35); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #2A2A30; flex-shrink: 0; }
.person.is-active .avatar { background: #34343C; }
.person span { display: flex; flex-direction: column; gap: 2px; }
.person strong { font-size: 15px; }
.person small { font-size: 13px; color: var(--muted-2); }
@media (max-width: 700px) { .person:not(.is-active) { display: none; } }
.quote-wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 48px; border-top: 1px solid var(--border-soft); }
.quote-meta { flex: 1 1 300px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px 16px; align-items: center; }
.quote-meta dt { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.quote-meta dd { font-size: 14px; }
.quote-meta .chip { font-size: 14px; color: var(--text); padding: 5px 10px; }
.quote {
  flex: 999 1 460px; padding-left: 40px; border-left: 1px solid var(--border-soft);
  font-size: clamp(20px, 2.4vw, 24px); line-height: 1.45; letter-spacing: -0.01em; color: var(--muted-2);
}
.quote strong { font-weight: 400; color: var(--text); }
@media (max-width: 700px) { .quote { padding-left: 0; padding-top: 32px; border-left: 0; border-top: 1px solid var(--border-soft); } }

/* ---------- Blog ---------- */
.blog > .container { gap: 40px; }
.posts { list-style: none; padding: 0; border-top: 1px solid var(--border-soft); }
.post {
  display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap;
  padding: 22px 4px; border-bottom: 1px solid var(--border-soft);
  text-decoration: none; color: var(--text); transition: color .2s ease, background-color .2s ease;
}
.post:hover { background: #0C0C0F; }
.post .meta:first-child { width: 90px; }
.post-title { flex: 1 1 400px; font-size: clamp(16px, 2vw, 18px); font-weight: 500; }
@media (max-width: 560px) { .post .meta:first-child { width: auto; } .post-title { flex-basis: 100%; order: 2; } .post .meta:last-child { order: 3; } }

/* ---------- CTA final ---------- */
/* Textura poligonal de fundo (composição B), esmaecida nas bordas */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url(../img/textura-poligonos-cta.svg) center / cover no-repeat;
  opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
}
.cta > .container { position: relative; }
.cta > .container { max-width: 900px; padding-top: clamp(88px, 11vw, 140px); padding-bottom: clamp(88px, 11vw, 140px); align-items: center; gap: 28px; text-align: center; }
.cta-icon { width: clamp(88px, 10vw, 112px); height: auto; aspect-ratio: 1; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -10px rgba(187,20,47,.65); }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5.6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.cta p { font-size: clamp(16px, 2vw, 18px); line-height: 1.55; color: var(--muted); max-width: 520px; }
.cta .hero-note a { color: var(--text-2); }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--divider); }
.site-footer > .container { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col a { color: var(--text-2); text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-col .phone { color: var(--text); font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.footer-brand { gap: 20px; }
.footer-brand img { height: 200px; width: auto; align-self: flex-start; }
.footer-col .footer-webmail { align-self: flex-start; gap: 8px; margin-top: 8px; }
.footer-webmail svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--divider); font-size: 13px; color: var(--muted-2); }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--text); }
/* Mobile: rodapé em uma coluna, centralizado */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .footer-col { align-items: center; }
  .footer-brand img, .footer-col .footer-webmail { align-self: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 30; max-width: 600px;
  background: rgba(16,16,19,.95); border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 14px 14px 14px 18px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.8);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: 13px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.cookie a { color: var(--red-text); }
.cookie .btn { flex-shrink: 0; font-size: 13px; padding: 0 12px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 480px) {
  .cookie { left: 16px; right: 16px; bottom: 16px; max-width: none; flex-wrap: wrap; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- Modal de contato ---------- */
html.modal-open { overflow: hidden; }
.modal {
  width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 1px solid var(--border-strong); border-radius: 18px; background: var(--surface); color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: auto; overscroll-behavior: contain;
}
.modal:focus, .modal:focus-visible { outline: none; }
.modal::backdrop { background: rgba(4,4,6,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .22s ease-out; }
.modal[open]::backdrop { animation: chart-fade .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-inner { position: relative; padding: clamp(24px, 5vw, 36px); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: color .2s ease, border-color .2s ease;
}
.modal-close:hover { color: var(--text); border-color: #3A3A42; }
.modal-close svg { width: 18px; height: 18px; }
.modal-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; padding-right: 48px; }
.modal-head h2 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.modal-head p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field-label { padding: 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
/* O <legend> não participa do gap do fieldset: o espaço vem da margem */
legend.field-label { margin-bottom: 12px; }
.optional { color: var(--muted-3); }
.input {
  width: 100%; min-height: 46px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #0C0C0F; color: var(--text);
  font: 400 15px/1.5 var(--font-body); transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { resize: vertical; min-height: 110px; }
.input::placeholder { color: var(--muted-3); }
.input:hover { border-color: #34343C; }
.input:focus { outline: none; border-color: var(--red-text); box-shadow: 0 0 0 3px rgba(255,92,110,.18); }
.input[aria-invalid="true"] { border-color: var(--red-text); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: #0C0C0F; color: var(--muted); font-size: 14px; font-weight: 500;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.choice:hover span { color: var(--text); }
.choice input:checked + span { background: #232328; border-color: var(--red); color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.check a { color: var(--red-text); }
.field-error { font-size: 13px; color: var(--red-text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.form-status { font-size: 14px; color: var(--red-text); }
.form-status:empty { display: none; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .meta a { color: var(--text-2); text-decoration: none; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.modal-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 48px 4px 0; outline: none; }
.modal-success[hidden] { display: none; }
.modal-success h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.modal-success p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.success-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--ok-bg); border: 1px solid #1E3A2A; }
.success-ico svg { width: 26px; height: 26px; stroke: var(--ok-vivid); stroke-width: 2.2; }

/* ---------- Páginas de texto longo (Política de Privacidade, artigos do blog) ---------- */
.page-hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--divider);
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(187,20,47,.18) 0%, transparent 70%); }
.page-hero .container { display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }
.page-lead { max-width: 640px; font-size: clamp(16px, 2vw, 18px); line-height: 1.6; color: var(--text-2); }
.page-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--section-y); align-items: start; }
.page-toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; }
.page-toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--border); }
.page-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.page-toc a:hover { color: var(--text); border-left-color: var(--red-text); }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.prose > section, .prose > aside { margin-top: 30px; }
.prose > section:first-child { margin-top: 0; }
.prose > h2 { margin-top: 30px; }
.prose > h2:first-child { margin-top: 0; }
/* Listagem do blog (/blog/) */
.blog-list { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--section-y); }
.post-full { align-items: flex-start; padding: 26px 4px; }
.post-body { flex: 1 1 400px; display: flex; flex-direction: column; gap: 6px; }
.post-full .post-title { flex: none; font-size: clamp(18px, 2.2vw, 22px); }
.post-desc { font-size: 15px; line-height: 1.55; color: var(--muted); }
.post-full .meta:first-child { padding-top: 6px; }
.post-full .meta:last-child { padding-top: 6px; white-space: nowrap; }
.prose section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 104px; }
.prose h2 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-text); }
.prose a:hover { color: #FF7D8B; }
.prose code { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.prose-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.prose-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose-table th, .prose-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); line-height: 1.55; }
.prose-table th { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--muted-2); background: var(--surface); }
.prose-table td { color: var(--muted); }
.prose-table tr:last-child td { border-bottom: 0; }
.prose-table td:first-child { color: var(--text-2); white-space: nowrap; }
.prose-callout { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.prose-callout p { color: var(--text-2); }
.prose-contact { font-size: 18px; }
/* Artigo do blog: coluna única centralizada */
.article-layout { padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--section-y); }
.article-layout .prose { margin: 0 auto; }
.page-hero.is-article .container { max-width: calc(720px + 2 * var(--gutter)); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.back-link { align-self: flex-start; font-size: 14px; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--text); }
.prose h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-top: 6px; }
.prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ol li::marker { color: var(--red-text); font-family: var(--font-mono); font-size: 14px; }
.prose-checklist { list-style: none; padding: 18px 20px !important; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.prose-checklist li { position: relative; padding-left: 28px; }
.prose-checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #3A3A42; }
/* Variação para itens incluídos (com sinal de certo): {.prose-checklist .is-done} */
.prose-checklist.is-done li::before { border: 0; background: var(--ok-vivid); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.article-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 8px; padding: clamp(22px, 4vw, 32px); border-radius: 16px; border: 1px solid #3A1420; background: radial-gradient(ellipse 80% 120% at 0% 0%, rgba(187,20,47,.16) 0%, transparent 60%), #140C0F; }
.article-cta h2 { font-size: clamp(22px, 3vw, 28px); }
.article-cta p { color: var(--text-3); }
.article-cta .btn-red, .article-cta .btn-red:hover { color: #FFFFFF; text-decoration: none; }
@media (max-width: 860px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .page-toc { position: static; }
  .prose-table td:first-child { white-space: normal; }
}

/* ---------- Animação de entrada (só com JS e sem reduced-motion) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile: cápsula do menu a 16px da tela; conteúdo a 32px, alinhado ao logo ---------- */
@media (max-width: 480px) {
  :root { --gutter: 32px; }
  .section > .container, .maint { padding-left: var(--gutter); padding-right: var(--gutter); }
  .site-header-wrap { padding-left: 16px; padding-right: 16px; }
  .site-header { padding-left: 15px; } /* 16 + 1 de borda + 15 = logo a 32px da tela */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}
