/*
  Fontes hospedadas no proprio site (sem Google Fonts / jsdelivr). Ver app/static/fonts/LICENSES.md.
  Geist e Geist Mono: variaveis (wght 100-900), subset latin (cobre o portugues). Phosphor: subset so com os glifos usados.
  Fallbacks "Geist Fallback" / "Geist Mono Fallback": Arial / Courier New com size-adjust e overrides de metrica calculados
  a partir das metricas reais (fontTools): Geist upm 1000, ascent 1005, descent 295, lineGap 0; largura media de um texto pt-BR
  (Geist 400 = 0,4796 em; 500 = 0,4903; 600 = 0,5010; 700 = 0,5116) vs Arial regular 0,4635 / Arial Bold 0,4954;
  Geist Mono 0,6000 vs Courier New 0,6001. ascent/descent-override = metrica da Geist / size-adjust.
  Carregue ANTES do site.css. Os woff2 criticos sao pre-carregados em base_site.html.
*/

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-variable.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: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-variable.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;
}

/* Fontes reserva com metricas ajustadas (o texto nao se move quando a Geist chega) */
@font-face {
  font-family: "Geist Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Arimo");
  size-adjust: 103.47%;
  ascent-override: 97.13%;
  descent-override: 28.51%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist Fallback";
  font-style: normal;
  font-weight: 500;
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Arimo");
  size-adjust: 105.78%;
  ascent-override: 95.01%;
  descent-override: 27.89%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist Fallback";
  font-style: normal;
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Arimo Bold");
  size-adjust: 101.13%;
  ascent-override: 99.38%;
  descent-override: 29.17%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist Fallback";
  font-style: normal;
  font-weight: 700 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Arimo Bold");
  size-adjust: 103.27%;
  ascent-override: 97.32%;
  descent-override: 28.57%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist Mono Fallback";
  font-style: normal;
  font-weight: 400 500;
  src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"), local("Cousine");
  size-adjust: 99.98%;
  ascent-override: 100.52%;
  descent-override: 29.51%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist Mono Fallback";
  font-style: normal;
  font-weight: 600 900;
  src: local("Courier New Bold"), local("CourierNewPS-BoldMT"), local("Liberation Mono Bold"), local("Cousine Bold");
  size-adjust: 99.98%;
  ascent-override: 100.52%;
  descent-override: 29.51%;
  line-gap-override: 0%;
}

/* Icones Phosphor (subset). font-display: block evita quadrados da fonte reserva; a caixa do icone tem 1em fixo,
   entao nada se desloca antes nem depois da fonte chegar. */
@font-face {
  font-family: "Phosphor";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("../fonts/phosphor-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Phosphor-Fill";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("../fonts/phosphor-fill.woff2") format("woff2");
}

.ph,
.ph-fill {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0;
  speak: never;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ph { font-family: "Phosphor" !important; }
.ph-fill { font-family: "Phosphor-Fill" !important; }

/* Glifos Phosphor usados nas paginas publicas (regular) */
.ph.ph-activity:before{content:"\e000"}
.ph.ph-arrow-down:before{content:"\e03e"}
.ph.ph-arrow-down-right:before{content:"\e042"}
.ph.ph-arrow-right:before{content:"\e06c"}
.ph.ph-arrow-up-right:before{content:"\e092"}
.ph.ph-arrows-clockwise:before{content:"\e094"}
.ph.ph-arrows-out:before{content:"\e0a2"}
.ph.ph-bell-ringing:before{content:"\e5e8"}
.ph.ph-brain:before{content:"\e74e"}
.ph.ph-briefcase:before{content:"\e0ee"}
.ph.ph-browsers:before{content:"\e0f6"}
.ph.ph-calendar-check:before{content:"\e712"}
.ph.ph-calendar-dots:before{content:"\e7b4"}
.ph.ph-calendar-plus:before{content:"\e714"}
.ph.ph-car:before{content:"\e112"}
.ph.ph-caret-down:before{content:"\e136"}
.ph.ph-cash-register:before{content:"\ed80"}
.ph.ph-certificate:before{content:"\e766"}
.ph.ph-chart-bar:before{content:"\e150"}
.ph.ph-chart-line:before{content:"\e154"}
.ph.ph-chart-line-up:before{content:"\e156"}
.ph.ph-chat-circle-text:before{content:"\e16e"}
.ph.ph-chats-circle:before{content:"\e17e"}
.ph.ph-check-circle:before{content:"\e184"}
.ph.ph-clipboard-text:before{content:"\e198"}
.ph.ph-clock:before{content:"\e19a"}
.ph.ph-clock-countdown:before{content:"\ed2c"}
.ph.ph-cloud:before{content:"\e1aa"}
.ph.ph-cloud-arrow-up:before{content:"\e1ae"}
.ph.ph-code:before{content:"\e1bc"}
.ph.ph-cookie:before{content:"\e6ca"}
.ph.ph-cube:before{content:"\e1da"}
.ph.ph-currency-circle-dollar:before{content:"\e54c"}
.ph.ph-database:before{content:"\e1de"}
.ph.ph-device-mobile:before{content:"\e1e0"}
.ph.ph-download-simple:before{content:"\e20c"}
.ph.ph-envelope-simple:before{content:"\e218"}
.ph.ph-eye:before{content:"\e220"}
.ph.ph-facebook-logo:before{content:"\e226"}
.ph.ph-file-text:before{content:"\e23a"}
.ph.ph-function:before{content:"\ebe4"}
.ph.ph-gauge:before{content:"\e628"}
.ph.ph-gear-six:before{content:"\e272"}
.ph.ph-git-merge:before{content:"\e280"}
.ph.ph-globe:before{content:"\e288"}
.ph.ph-handshake:before{content:"\e582"}
.ph.ph-hard-drives:before{content:"\e2a0"}
.ph.ph-headset:before{content:"\e584"}
.ph.ph-heart:before{content:"\e2a8"}
.ph.ph-infinity:before{content:"\e634"}
.ph.ph-info:before{content:"\e2ce"}
.ph.ph-instagram-logo:before{content:"\e2d0"}
.ph.ph-laptop:before{content:"\e586"}
.ph.ph-lifebuoy:before{content:"\e63a"}
.ph.ph-lightning:before{content:"\e2de"}
.ph.ph-linkedin-logo:before{content:"\e2ee"}
.ph.ph-list:before{content:"\e2f0"}
.ph.ph-lock-key:before{content:"\e2fe"}
.ph.ph-map-pin:before{content:"\e316"}
.ph.ph-map-trifold:before{content:"\e31a"}
.ph.ph-monitor:before{content:"\e32e"}
.ph.ph-monitor-play:before{content:"\e58c"}
.ph.ph-mouse:before{content:"\e33a"}
.ph.ph-network:before{content:"\edde"}
.ph.ph-note-pencil:before{content:"\e34c"}
.ph.ph-package:before{content:"\e390"}
.ph.ph-paint-brush:before{content:"\e6f0"}
.ph.ph-palette:before{content:"\e6c8"}
.ph.ph-paper-plane-tilt:before{content:"\e398"}
.ph.ph-phone:before{content:"\e3b8"}
.ph.ph-phone-call:before{content:"\e3ba"}
.ph.ph-plugs-connected:before{content:"\eb5a"}
.ph.ph-presentation-chart:before{content:"\e656"}
.ph.ph-pulse:before{content:"\e000"}
.ph.ph-puzzle-piece:before{content:"\e596"}
.ph.ph-receipt:before{content:"\e3ec"}
.ph.ph-robot:before{content:"\e762"}
.ph.ph-rocket:before{content:"\e3fc"}
.ph.ph-rocket-launch:before{content:"\e3fe"}
.ph.ph-seal-check:before{content:"\e606"}
.ph.ph-shield-check:before{content:"\e40c"}
.ph.ph-shopping-cart:before{content:"\e41e"}
.ph.ph-sign-in:before{content:"\e428"}
.ph.ph-sliders:before{content:"\e432"}
.ph.ph-sliders-horizontal:before{content:"\e434"}
.ph.ph-speedometer:before{content:"\ee74"}
.ph.ph-spinner:before{content:"\e66a"}
.ph.ph-stack:before{content:"\e466"}
.ph.ph-storefront:before{content:"\e470"}
.ph.ph-tag:before{content:"\e478"}
.ph.ph-target:before{content:"\e47c"}
.ph.ph-trend-up:before{content:"\e4ae"}
.ph.ph-truck:before{content:"\e4b4"}
.ph.ph-users:before{content:"\e4d6"}
.ph.ph-users-three:before{content:"\e68e"}
.ph.ph-wallet:before{content:"\e68a"}
.ph.ph-warehouse:before{content:"\ecd4"}
.ph.ph-warning:before{content:"\e4e0"}
.ph.ph-waveform:before{content:"\e802"}
.ph.ph-whatsapp-logo:before{content:"\e5d0"}
.ph.ph-wifi-high:before{content:"\e4ea"}
.ph.ph-wrench:before{content:"\e5d4"}
.ph.ph-x:before{content:"\e4f6"}
.ph.ph-x-circle:before{content:"\e4f8"}

/* Glifos Phosphor usados (fill) */
.ph-fill.ph-warning:before{content:"\e4e0"}
.ph-fill.ph-info:before{content:"\e2ce"}
.ph-fill.ph-check-circle:before{content:"\e184"}
.ph-fill.ph-whatsapp-logo:before{content:"\e5d0"}
