/* Instituto Navi — Design System (Paleta Bilhon) */

@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors — paleta Bilhon */
  --primary:        #0E2838;   /* dark navy */
  --primary-dark:   #000000;   /* black */
  --primary-light:  #E4E8EB;   /* slate light */
  --primary-50:     #F4F6F7;
  --accent:         #899BA3;   /* slate gray */
  --accent-light:   #C6CCB2;   /* sage olive */
  --ink:            #0E2838;   /* texto principal */
  --ink-2:          #2A3E4C;   /* texto secundário */
  --muted:          #5C6B73;
  --line:           #E2E5E8;
  --line-strong:    #C8CED2;
  --bg:             #FFFFFF;
  --bg-soft:        #F2F4F5;
  --bg-card:        #FFFFFF;
  --warn:           #B5470F;
  --success:        #4A7C59;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 0;

  --shadow-sm: 0 1px 2px rgba(26,36,56,.04), 0 1px 3px rgba(26,36,56,.06);
  --shadow-md: 0 6px 18px -8px rgba(26,36,56,.14), 0 2px 6px rgba(26,36,56,.06);
  --shadow-lg: 0 24px 48px -16px rgba(26,36,56,.18), 0 4px 12px rgba(26,36,56,.08);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1200px;
  --section-pad: 96px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}

/* Hierarquia tipográfica clara — diferenças firmes de tamanho + peso */
h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
p { font-size: 16px; line-height: 1.6; }

p { color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.section { padding: var(--section-pad) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.78); }

/* Eyebrow with line — Jennifer hallmark */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--primary);
}
.eyebrow--on-dark { color: var(--accent-light); }
.eyebrow--on-dark::before { background: var(--accent-light); }

/* Section number — for chaptered structure */
.s-num {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
}
.s-num strong {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  letter-spacing: 0;
  color: var(--primary);
}

/* Buttons — Jennifer style (sharp 2px corners, uppercase) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 32px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 0;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #fff; color: var(--primary); transform: translateY(-1px); }
.btn--lg { height: 64px; padding: 0 40px; }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Section header (centered) */
.s-head {
  text-align: center; max-width: 540px; margin: 0 auto 48px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.s-head h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
/* Variação: header em 2 colunas (h2 esquerda, p direita) */
.s-head--split {
  text-align: left;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
}
.s-head--split h2 { text-align: left; }
.s-head--split p { text-align: left; max-width: none; }
@media (max-width: 880px) {
  .s-head--split { grid-template-columns: 1fr; gap: 16px; }
}
.s-head h2 em { font-style: normal; color: var(--primary); font-weight: 500; }
.s-head p { font-size: 18px; color: var(--muted); line-height: 1.55; }
.section--ink .s-head p { color: rgba(255,255,255,.78); }
.section--ink .s-head h2 em { color: var(--accent-light); }

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; --gutter: 20px; }
  .s-head { margin-bottom: 36px; }
  h1 { font-size: 40px; line-height: 1.1; }
  h2 { font-size: 30px; }
}
