/* =====================================================
   DESIGN SYSTEM — Edu Corporativa · HR Trends
   Identidade visual: laranja #E85D24 + preto + branco
   Tipografia: Inter (local, @font-face abaixo)
   ===================================================== */

/* ═══════════════════════════════════════════════════
   FONTES LOCAIS — Inter (pesos 300–600)
   ═══════════════════════════════════════════════════ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50Sj_7249155f7a06.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50Sj_e34c5f1bf15e.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50Sj_6e1a6b2b96f4.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50Sj_656bbed6cec3.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50Sj_fc83e07548c4.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50Sj_749a308406a6.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50Sj_1ab1ad55902b.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Mono — mantido para uso em código/mono */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/i7dPIFZifjKcF5UAWdDRYEF8RXi4Ew_39187352406f.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/i7dMIFZifjKcF5UAWdDRaPpZUFWaHi_df899b7552f8.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS — HR Trends
   ═══════════════════════════════════════════════════ */
:root {
  /* ─── CORES PRIMÁRIAS ─── */
  --cor-primaria:          #E85D24;
  --cor-primaria-hover:    #C84A14;
  --cor-primaria-light:    #FCE4D8;
  --cor-primaria-bg:       rgba(232, 93, 36, 0.08);
  --cor-primaria-border:   rgba(232, 93, 36, 0.30);
  --cor-primaria-shadow:   rgba(232, 93, 36, 0.20);
  --cor-primaria-gradient: linear-gradient(135deg, #E85D24 0%, #C84A14 100%);

  /* ─── BACKGROUND / SEÇÕES ─── */
  --cor-background:    #FFFFFF;
  --cor-secao-escura:  #F5F5F5;
  --cor-secao-dark:    #1A1A1A;

  /* ─── PAINEL / CARDS ─── */
  --cor-painel:        #FFFFFF;
  --cor-painel-hover:  #F9F9F9;
  --cor-painel-strong: #F5F5F5;

  /* ─── BORDAS ─── */
  --cor-borda-sutil:   #F0F0F0;
  --cor-borda-padrao:  #E0E0E0;
  --cor-borda-forte:   #C8C8C8;
  --cor-borda-focus:   #E85D24;
  --cor-borda-input:   #E0E0E0;
  --cor-borda-active:  #E85D24;

  /* ─── TEXTOS ─── */
  --cor-texto:             #1A1A1A;
  --cor-texto-suave:       #4A4A4A;
  --cor-texto-muito-suave: #7A7A7A;
  --cor-texto-fraco:       #9B9B9B;
  --cor-texto-mono:        #4A4A4A;

  /* ─── SIDEBAR (mantém dark) ─── */
  --cor-sidebar:             #1A1A1A;
  --cor-sidebar-hover:       #2A2A2A;
  --cor-sidebar-texto:       rgba(255, 255, 255, 0.55);
  --cor-sidebar-texto-ativo: #FFFFFF;
  --cor-sidebar-borda:       rgba(255, 255, 255, 0.08);
  --cor-sidebar-ativo-bg:    rgba(232, 93, 36, 0.12);
  --cor-sidebar-ativo-borda: #E85D24;

  /* ─── ESTADOS SEMÂNTICOS ─── */
  --cor-erro:       #DC2626;
  --cor-erro-bg:    rgba(220, 38, 38, 0.08);
  --cor-sucesso:    #22C55E;
  --cor-sucesso-bg: rgba(34, 197, 94, 0.08);
  --cor-aviso:      #F59E0B;
  --cor-aviso-bg:   rgba(245, 158, 11, 0.08);
  --cor-info:       #3B82F6;
  --cor-info-bg:    rgba(59, 130, 246, 0.08);

  /* ─── TIPOGRAFIA ─── */
  --fonte:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fonte-mono: 'Space Mono', monospace;

  --tamanho-display:    clamp(2.5rem, 6vw, 4rem);
  --tamanho-h1:         clamp(1.75rem, 3.5vw, 2.5rem);
  --tamanho-h2:         clamp(1.375rem, 2.5vw, 1.75rem);
  --tamanho-h3:         1.125rem;
  --tamanho-body-large: 1.0625rem;
  --tamanho-body:       0.9375rem;
  --tamanho-small:      0.8125rem;
  --tamanho-label:      0.6875rem;
  --tamanho-caption:    0.75rem;

  --peso-normal:  400;
  --peso-medio:   500;
  --peso-semibold: 600;
  --peso-bold:    700;
  --peso-black:   800;

  --tracking-titulo:  -0.03em;
  --tracking-normal:  -0.01em;
  --tracking-largo:   0.05em;
  --tracking-mais-largo: 0.1em;

  --leading-display:  1.1;
  --leading-titulo:   1.25;
  --leading-padrao:   1.6;
  --leading-relaxado: 1.75;

  /* ─── ESPAÇAMENTOS (base 4px) ─── */
  --esp-1:  0.25rem;   /* 4px */
  --esp-2:  0.5rem;    /* 8px */
  --esp-3:  0.75rem;   /* 12px */
  --esp-4:  1rem;      /* 16px */
  --esp-5:  1.5rem;    /* 24px */
  --esp-6:  2rem;      /* 32px */
  --esp-7:  3rem;      /* 48px */
  --esp-8:  4rem;      /* 64px */
  --esp-9:  6rem;      /* 96px */
  --esp-10: 8rem;      /* 128px */

  /* ─── BORDER RADIUS ─── */
  --raio-none: 0;
  --raio-sm:   4px;
  --raio-md:   8px;
  --raio-lg:   12px;
  --raio-xl:   16px;
  --raio-2xl:  24px;
  --raio-full: 9999px;

  /* ─── SOMBRAS ─── */
  --sombra-sm:  0 1px 2px rgba(0, 0, 0, 0.05);
  --sombra-md:  0 2px 8px rgba(0, 0, 0, 0.06);
  --sombra-lg:  0 8px 24px rgba(0, 0, 0, 0.10);
  --sombra-xl:  0 24px 60px rgba(0, 0, 0, 0.14);
  --sombra-primaria: 0 4px 20px rgba(232, 93, 36, 0.25);

  /* ─── TRANSIÇÕES ─── */
  --transicao-rapida: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transicao:        250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transicao-lenta:  400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ─── CONTAINER ─── */
  --container-max: 1200px;
}

/* ═══════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte);
  font-size: var(--tamanho-body);
  color: var(--cor-texto);
  background-color: var(--cor-background);
  line-height: var(--leading-padrao);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--cor-primaria);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button { font-family: var(--fonte); }

:focus-visible {
  outline: 2px solid var(--cor-primaria);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background-color: rgba(232, 93, 36, 0.20);
  color: #1A1A1A;
}

/* Oculta admin bar do WP nas páginas do plugin */
#wpadminbar    { display: none !important; }
html.wp-toolbar { padding-top: 0 !important; }

/* ═══════════════════════════════════════════════════
   ANIMAÇÃO ASSINATURA — highlight sweep laranja
   ═══════════════════════════════════════════════════ */
.signature-text {
  display: inline-block;
  position: relative;
  padding: 0 4px;
}
.signature-text::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 8%; top: 55%;
  background: var(--cor-primaria-light);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.signature-text.in-view::before { transform: scaleX(1); }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transicao-lenta), transform 0.6s var(--transicao-lenta);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════
   TIPOGRAFIA — UTILITÁRIOS
   ═══════════════════════════════════════════════════ */
.texto-h1 {
  font-size: var(--tamanho-h1);
  font-weight: var(--peso-black);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-titulo);
  color: var(--cor-texto);
}

.texto-h2 {
  font-size: var(--tamanho-h2);
  font-weight: var(--peso-bold);
  line-height: var(--leading-titulo);
  letter-spacing: var(--tracking-titulo);
  color: var(--cor-texto);
}

.texto-h3 {
  font-size: var(--tamanho-h3);
  font-weight: var(--peso-bold);
  line-height: 1.4;
  color: var(--cor-texto);
}

.texto-suave        { color: var(--cor-texto-suave); }
.texto-muito-suave  { color: var(--cor-texto-muito-suave); }
.texto-fraco        { color: var(--cor-texto-fraco); }
.texto-small        { font-size: var(--tamanho-small); }
.texto-caption      { font-size: var(--tamanho-caption); }
.texto-mono         { font-family: var(--fonte-mono); }
.texto-primario     { color: var(--cor-primaria); }
.texto-sucesso      { color: var(--cor-sucesso); }
.texto-erro         { color: var(--cor-erro); }
.texto-aviso        { color: var(--cor-aviso); }
.negrito            { font-weight: var(--peso-semibold); }
.negrito-forte      { font-weight: var(--peso-bold); }
.stat-value         { letter-spacing: -0.04em; font-weight: var(--peso-black); }

/* Eyebrow / caption style */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--tamanho-caption);
  font-weight: var(--peso-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cor-primaria);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cor-primaria);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════
   UTILITÁRIOS DE LAYOUT
   ═══════════════════════════════════════════════════ */
.flex           { display: flex; }
.flex-col       { display: flex; flex-direction: column; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-between{ justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--esp-1); }
.gap-2 { gap: var(--esp-2); }
.gap-3 { gap: var(--esp-3); }
.gap-4 { gap: var(--esp-4); }
.gap-5 { gap: var(--esp-5); }
.flex-1        { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.w-full        { width: 100%; }

.mt-2 { margin-top: var(--esp-2); }
.mt-3 { margin-top: var(--esp-3); }
.mt-4 { margin-top: var(--esp-4); }
.mt-5 { margin-top: var(--esp-5); }
.mb-2 { margin-bottom: var(--esp-2); }
.mb-3 { margin-bottom: var(--esp-3); }
.mb-4 { margin-bottom: var(--esp-4); }
.mb-5 { margin-bottom: var(--esp-5); }

.oculto       { display: none !important; }
.visivel      { display: block !important; }
.visivel-flex { display: flex !important; }

.truncar {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
