/* GABRIEL MACHADO · MASTER TITLE FONT V2 · student experience only
   Source: approved Phelipe typography reference, adapted black/red/white.
   Central rule: Barlow Condensed loaded locally; titles no longer fall back.
   Main page titles 54px; section/card sizes retain functional hierarchy.
   No admin selectors or data mutations. 2026-11-18. */
@font-face{
  font-family:"Barlow Condensed";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Barlow Condensed";
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url("../fonts/barlow-condensed-800-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Barlow Condensed";
  font-style:normal;
  font-weight:900;
  font-display:swap;
  src:url("../fonts/barlow-condensed-900-latin.woff2") format("woff2");
}
#rca-app.rca-app{
  --gm-master-heading-font:"Barlow Condensed","Arial Narrow",Impact,sans-serif;
  --gm-master-white:#FFFFFF;
  --gm-master-red:#FF5270;
  --gm-master-red-muted:#FF8099;
}
/* All semantic titles throughout the student's content, not just the hero. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main :is(h1,h2,h3){
  font-family:var(--gm-master-heading-font)!important;
  font-style:normal!important;
  font-weight:900!important;
  letter-spacing:-.012em!important;
  color:var(--gm-master-white)!important;
  -webkit-text-fill-color:var(--gm-master-white)!important;
}
/* Maintain the hero size from the approved Check-in reference. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main h1{
  font-size:clamp(43px,13.85vw,54px)!important;
  line-height:.92!important;
  text-transform:uppercase!important;
  overflow-wrap:break-word;
  text-wrap:balance;
}
/* Components already use smaller h2/h3 sizing; do not flatten the hierarchy. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main :is(h2,h3){
  font-style:normal!important;
  line-height:1.06;
}
/* Accent words and second lines: Gabriel red, never Phelipe olive. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main :is(h1,h2,h3) :is(em,.accent,.highlight,.title-accent){
  font-family:inherit!important;
  font-size:inherit;
  font-weight:900!important;
  font-style:normal!important;
  color:var(--gm-master-red)!important;
  -webkit-text-fill-color:var(--gm-master-red)!important;
}
/* The first line remains white even when older styles set cream/olive. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main h1>span:not([class*="accent"]):not([class*="highlight"]){
  color:var(--gm-master-white)!important;
  -webkit-text-fill-color:var(--gm-master-white)!important;
}
/* Some premium titles are encoded as strong/div rather than h1/h2. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main :is(
  .rca-home-title,
  .fm-home-zone-head h2,
  .rca-card-head>strong,
  .pmx-checkin-section-head>strong,
  .pmx-checkin-v11-stat-copy>b,
  .pmx-profile-editorial-title,
  .rca-training-session-copy>h3,
  .rca-training-session-copy>strong,
  .pmv14-program-header>strong,
  .rca-evolution-section-head>strong,
  .rca-identity-section-head h2,
  .rca-consultoria-history__section-head>strong
){
  font-family:var(--gm-master-heading-font)!important;
  font-weight:900!important;
  font-style:normal!important;
}
/* Personalized account names are data, not editorial titles. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main :is(
  .pmv6-greeting,
  .rca-identity-name,
  .rca-profile-identity,
  .pmx-profile-user,
  .pmx-profile-editorial-user
) :is(h1,h2,h3){
  font-family:"Plus Jakarta Sans",Inter,sans-serif!important;
  font-weight:800!important;
  text-transform:none!important;
  letter-spacing:-.035em!important;
  line-height:1.05!important;
}
/* Keep the home greeting name at Phelipe's original size; it is user data,
   not the 54px page-heading system. */
#rca-app#rca-app#rca-app.rca-app #rca-main#rca-main .fm-home-dashboard .pmv6-greeting h1{
  font-size:clamp(38px,11.3vw,48px)!important;
  line-height:.93!important;
}
/* Authentication and anamnesis are student flows, never admin. */
#rca-app.rca-app :is(#rca-auth,#rca-anamnesis) :is(h1,h2,h3){
  font-family:var(--gm-master-heading-font)!important;
  font-weight:900!important;
  font-style:normal!important;
  letter-spacing:-.012em!important;
  color:var(--gm-master-white)!important;
  -webkit-text-fill-color:var(--gm-master-white)!important;
}
#rca-app.rca-app :is(#rca-auth,#rca-anamnesis) :is(h1,h2,h3) :is(em,span.title-accent){
  color:var(--gm-master-red)!important;
  -webkit-text-fill-color:var(--gm-master-red)!important;
}
@media(max-width:360px){
  #rca-app#rca-app#rca-app.rca-app #rca-main#rca-main h1{font-size:43px!important}
}
@media(prefers-reduced-motion:reduce){
  #rca-app#rca-app#rca-app.rca-app #rca-main#rca-main :is(h1,h2,h3){text-shadow:none}
}
