/* ============================================
   MEDUSA X — Custom Fonts (WOFF2)
   Manstein · Pinyon Script · Savoye Std
   ============================================ */

/* --- Manstein: Headlines Premium --- */
@font-face {
  font-family: 'Manstein';
  src: url('../fonts/Manstein.woff2') format('woff2'),
       url('../fonts/Manstein.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F; /* Latin + Extended */
}

/* --- Pinyon Script: Elegant Script --- */
@font-face {
  font-family: 'Pinyon Script';
  src: url('../fonts/PinyonScript-Regular.woff2') format('woff2'),
       url('../fonts/PinyonScript-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F; /* Latin + Extended */
}

/* --- Savoye Std: Classic Serif --- */
@font-face {
  font-family: 'Savoye Std';
  src: url('../fonts/Savoye-Std-Regular.woff2') format('woff2'),
       url('../fonts/Savoye Std Regular.otf') format('opentype'),
       url('../fonts/Savoye Std Regular.otf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F; /* Latin + Extended */
}

/* ============================================
   APPLICATION: Onde usar as fontes custom
   ============================================ */

/* Headlines: Font padrão do site (Nunito Sans) */
h2, h3 {
  font-family: 'Nunito Sans', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Manstein para títulos específicos (e.g., X-TON subtitle) */
.manstein-title {
  font-family: 'Manstein', 'Nunito Sans', sans-serif;
}

/* Savoye Std para textos específicos */
.savoye-text {
  font-family: 'Savoye Std', Georgia, serif;
}

/* Hero subtitle aumentado 3x */
.hero__sub-large {
  font-size: clamp(3rem, 5.4vw, 3.6rem) !important;
  line-height: 0.95 !important; /* Aumentado para o dobro (0.475 × 2) */
}

/* Labels com font normal do site */
.label-text {
  font-family: 'Nunito Sans', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

/* Quotes com Savoye Std */
.quote {
  font-family: 'Savoye Std', Georgia, serif;
  font-style: italic;
}

.quote__text {
  font-family: 'Savoye Std', Georgia, serif;
}

/* Testemunhos destacados */
.testimonial-text,
[class*="testimonial"],
[class*="quote"] {
  font-family: 'Savoye Std', Georgia, serif;
}

/* ============================================
   RESPONSIVIDADE: Ajustes por breakpoint
   ============================================ */

/* Label text mantém 1rem em todos os tamanhos */
@media (max-width: 768px) {
  .label-text {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .label-text {
    font-size: 1rem;
  }
}

/* ============================================
   PERFORMANCE: Font Loading Optimization
   ============================================ */

/* Preload críticas (headline) */
@supports (font-display: swap) {
  h2, h3 { font-display: swap; }
}

/* Defer non-critical fonts (script, serif) */
.label-text { font-display: optional; } /* Pinyon Script é decorativa */
.quote { font-display: fallback; } /* Savoye é conteúdo, mas não crítica */
                                                                                                                                                                           