/* ========================================
   TECH EM NÚMEROS - FONTES CUSTOMIZADAS
   GT Ultra Fine, Prelo, Inter
   ======================================== */

/* ============================================
   GT ULTRA FINE - Títulos e Destaques
   ============================================ */

/* Black - Para título principal "TECH em números" */
@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Black-Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Bold - Para subtítulos */
@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Bold-Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Regular */
@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Regular-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Light */
@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Light-Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Thin */
@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Ultra Fine';
    src: url('../assets/fonts/GT-Ultra-Fine-Thin-Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   PRELO - Compromissos e Textos Descritivos
   ============================================ */

/* Light - Para compromissos em itálico */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Book (Regular) - Texto normal */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-BookItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* SemiBold */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ExtraBold */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Black */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ExtraLight */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* Hairline */
@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-Hairline.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prelo';
    src: url('../assets/fonts/Prelo-HairlineItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   INTER - Interface e Números
   ============================================ */

/* Inter Variable Font - Suporta todos os pesos (100-900) */
@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   CLASSES UTILITÁRIAS
   ============================================ */

.font-gt-ultra {
    font-family: 'GT Ultra Fine', serif;
    letter-spacing: -0.02em;  /* -2% compression */
}

.font-prelo {
    font-family: 'Prelo', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* ============================================
   AJUSTES GLOBAIS DE TIPOGRAFIA
   ============================================ */

/* Aplicar letter-spacing -2% em todo uso de GT Ultra Fine */
* {
    font-feature-settings: normal;
}

canvas {
    /* O letter-spacing do CSS não afeta o canvas diretamente,
       mas mantemos aqui para consistência visual na interface */
}
