/* === Tipografia BSC (Castle Security Services) === */
@font-face {
  font-family: 'Technor';
  src: url('/fonts/Technor-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Technor';
  src: url('/fonts/Technor-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Technor';
  src: url('/fonts/Technor-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Technor';
  src: url('/fonts/Technor-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Acentos (á ã ç õ ú): NÃO usar 'AppleGothic' (fonte coreana, cobertura latina
     ruim → acento caía num serif feio). system-ui/-apple-system cobrem tudo.
     'Century Gothic' fica 1º p/ Windows (tem acentos); Mac cai no system-ui (SF). */
  --font-body: 'Century Gothic', 'CenturyGothic', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* Technor (display) não tem glifos acentuados → acento cai no system-ui (sans
     limpo), não num serif. Headings com acento ficam consistentes. */
  --font-heading: 'Technor', system-ui, -apple-system, 'Segoe UI', 'Century Gothic', sans-serif;
  --castle-primary: #0691C0;
  --castle-secondary: #4AADC0;
  --castle-dark: #045a7a;
}

body {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Transição padrão BSC: 150ms cubic-bezier(0.4, 0, 0.2, 1) */
* {
  transition-property: background-color, border-color, color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}
