/* ──────────────────────────────────────────────────────────────────────────
   Industry design system — tokens and component classes
   (source: claude.ai/design project "Redesign do site fqia.com.br")
   ────────────────────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  --color-neutral-100: #f5f5f8;
  --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b;
  --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3;
  --color-accent-500: #749dc4;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);

  /* page rhythm */
  --gutter: 56px;
  --line-light: rgba(242, 242, 243, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — blueprint frame — */
.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: 0;
}
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  pointer-events: none;
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid var(--color-divider);
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: 0;
  transition: background-color 120ms ease, color 120ms ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-lg { font-size: 16px; padding: 12px 20px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3);
  background: transparent; border: 1px solid var(--color-divider); border-radius: 0;
}

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px; border-radius: 0;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }

/* — shared text styles — */
.kicker {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent-700);
}
.kicker-light { color: var(--color-accent-300); }
.label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-neutral-700);
}

/* ──────────────────────────────────────────────────────────────────────────
   Page — option 3a
   ────────────────────────────────────────────────────────────────────────── */

/* nav */
.site-nav {
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--color-divider);
}
.brand {
  font-family: var(--font-heading); font-weight: 600; font-size: 22px;
  margin-right: auto; color: inherit; text-decoration: none; white-space: nowrap;
}
.brand:hover { color: inherit; }
.brand-sub { font-weight: 400; color: var(--color-neutral-600); }
.nav-link { color: inherit; text-decoration: none; font-size: 15px; }
.nav-link:hover { color: var(--color-accent); }
.nav-cta { font-size: 15px; padding: 9px 16px; }

/* hero */
.hero {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px;
  padding: 88px var(--gutter) 72px; align-items: stretch;
}
.hero-copy {
  display: flex; flex-direction: column; gap: 32px; justify-content: space-between;
}
.hero-title {
  font-size: clamp(52px, 6.9vw, 88px); line-height: 0.95; letter-spacing: -0.02em;
}
.hero-lead { font-size: 18px; line-height: 1.6; max-width: 440px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.chart-figure { display: flex; flex-direction: column; }
.chart-head {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; border-bottom: 1px solid var(--color-divider);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-neutral-700);
}
.chart-body { position: relative; height: 440px; }
.chart-body canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* atuação */
.atuacao {
  padding: 96px var(--gutter); display: flex; flex-direction: column; gap: 40px;
}
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.section-head h2, .trajetoria h2 { font-size: 52px; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.area-card { padding: 32px; gap: 18px; min-height: 300px; }
.area-n { font-family: var(--font-heading); font-size: 18px; color: var(--color-accent-700); }
.area-card h3 { font-size: 32px; line-height: 1.05; }
.area-card p { font-size: 16px; line-height: 1.6; flex: 1; text-wrap: pretty; }
.area-tags { font-size: 13px; color: var(--color-neutral-700); }

/* trajetória */
.trajetoria {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px;
  padding: 0 var(--gutter) 96px;
}
.trajetoria-copy { display: flex; flex-direction: column; gap: 24px; }
.bio { font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.juris { display: flex; flex-direction: column; gap: 12px; }
.juris-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.juris-tags .tag { font-size: 13px; padding: 5px 12px; }

.timeline {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; border-top: 1px solid var(--color-text);
}
.timeline-item {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--color-divider);
}
.timeline-org { font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--color-accent-700); }
.timeline-detail { display: flex; flex-direction: column; gap: 4px; }
.timeline-role { font-family: var(--font-heading); font-weight: 600; font-size: 24px; }
.timeline-note { font-size: 15px; color: var(--color-neutral-700); }

/* contato / footer */
.contact {
  background: var(--color-accent-900); color: var(--color-bg);
  padding: 72px var(--gutter) 28px;
  display: flex; flex-direction: column; gap: 64px;
}
.contact-block { display: flex; flex-direction: column; gap: 16px; }
.contact-email {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(36px, 8.75vw, 112px); line-height: 1; letter-spacing: -0.02em;
  color: var(--color-bg); text-decoration: none; overflow-wrap: anywhere;
  transition: color 120ms ease;
}
.contact-email:hover { color: var(--color-accent-300); }
.site-footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--color-accent-300);
  border-top: 1px solid var(--line-light); padding-top: 20px;
}

/* ──────────────────────────────────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
  .hero-copy { gap: 24px; }
  .chart-body { height: 360px; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .trajetoria { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .site-nav { gap: 18px; padding: 16px var(--gutter); }
  .brand { font-size: 20px; }
  .brand-sub { display: none; }
  .nav-link { display: none; }
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); }
  .hero-lead { font-size: 17px; }
  .chart-body { height: 280px; }
  .atuacao { padding: 64px var(--gutter); gap: 28px; }
  .section-head h2, .trajetoria h2 { font-size: 40px; }
  .area-grid { grid-template-columns: 1fr; gap: 20px; }
  .area-card { min-height: 0; padding: 24px; }
  .area-card h3 { font-size: 28px; }
  .trajetoria { padding-bottom: 64px; }
  .timeline-item { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
  .timeline-org { font-size: 17px; }
  .timeline-role { font-size: 21px; }
  .contact { padding: 56px var(--gutter) 24px; gap: 40px; }
}
