/* ============================================================
   ICOR Group — CSS compartilhado entre todas as páginas
   Inclui: reset, tokens, tipografia, header, footer, utilitários
   ============================================================ */

:root {
  --bg: #050505;
  --bg-elev: #0c0c0c;
  --bg-card: #0a0a0a;
  --fg: #f6f5f1;
  --fg-mute: #a1a1a3;
  --fg-dim: #6c6c6f;
  --line: #1a1a1c;
  --line-strong: #2a2a2d;
  --accent: oklch(68% 0.11 55);
  --accent-soft: oklch(68% 0.11 55 / 0.14);
  --accent-line: oklch(68% 0.11 55 / 0.45);
  --page-bg: #050005;
  --card: rgba(10, 6, 18, 0.6);
  --card-strong: rgba(20, 12, 34, 0.82);
  --label-bg: #120a20;
  --sheen: rgba(255,255,255,0.05);
  --grain-opacity: 0.045;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --pad-x: clamp(20px, 4vw, 56px);
  --maxw: 1720px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; color: var(--fg); }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--page-bg); }

::selection { background: var(--accent-soft); color: var(--fg); }

.serif { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.divider-section { border-top: 1px solid var(--line); }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; }
.h-display { font-size: clamp(48px, 8vw, 112px); font-weight: 500; letter-spacing: -0.035em; line-height: 0.96; }
.h-section { font-size: clamp(36px, 5.2vw, 64px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }
.h-card { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(5, 0, 5, 0.55);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--fg); }
.brand-logo { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-mark { font-weight: 600; font-size: 14px; letter-spacing: 0.32em; }
.brand-tag { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.16em; color: var(--fg-dim); text-transform: uppercase; }
.nav { display: none; gap: 4px; align-items: center; }
@media (min-width: 860px) { .nav { display: flex; } }
.nav a { text-decoration: none; color: var(--fg-mute); font-size: 13.5px; padding: 8px 14px; border-radius: 999px; transition: color .15s ease, background .15s ease; position: relative; }
.nav a:hover { color: var(--fg); }
.nav a[data-active="true"] { color: var(--fg); background: rgba(255,255,255,0.05); }
.nav a[data-active="true"]::before { content: ""; position: absolute; left: 8px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); box-shadow: 0 0 8px var(--accent); }
.nav a[data-active="true"] { padding-left: 22px; }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border-radius: 999px;
  background: var(--fg); color: #0a0a0a;
  font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.header-cta:hover { background: #fff; transform: translateY(-1px); }
.header-cta svg { width: 12px; height: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--fg); color: #0a0a0a;
  font-family: inherit; font-size: 14.5px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.3,.7,.4,1), background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(255,255,255,0.04); border-color: #3a3a3d; }
.btn svg { width: 14px; height: 14px; }

section { position: relative; z-index: 2; }
.pad-y { padding-block: clamp(80px, 11vw, 160px); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h5 { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 16px; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--fg-mute); text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: var(--fg); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--fg-dim); font-size: 12.5px; font-family: "Geist Mono", monospace; letter-spacing: 0.08em; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a { color: inherit; text-decoration: none; }
.footer-bottom .legal a[aria-current="page"] { color: var(--accent); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal[data-in="true"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* brand-mark small variant */
.brand-mark.sm { font-size: 16px; }

/* footer brand block */
.footer-brand-row { display: flex; align-items: center; gap: 14px; }
.footer-brand-desc { color: var(--fg-mute); font-size: 14px; margin-top: 16px; max-width: 34ch; line-height: 1.55; }
