/* Trilha de Aprendizagem — revisão tipográfica responsiva v46.
   Ajustes de exibição apenas: não alteram conteúdo, dados ou certificação. */
:where(.wrap,.hero-inner,.card,.stage-card,.reading-intro,.reading-body,.learning-card,.auth-card,.auth-layout,.progress-columns,.progress-metric,.panel-note,.cert-card-v42,.cert-grid-v42,.certificate-body-v35,.stage-reset-card-v43,.objective-journey-v45,.journey-head-v45,.journey-milestone-v45,.journey-milestone-body-v45,.unitlink,.unitlink>span,.footer .wrap){min-width:0}
:where(.card,.stage-card,.auth-card,.panel-note,.progress-metric,.cert-card-v42,.stage-reset-card-v43,.objective-journey-v45){max-width:100%}
:where(.card h2,.card h3,.stage-card h3,.stage-reset-card-v43 h4,.cert-card-v42 h3,.certificate-body-v35 h2,.auth-card h2,.progress-metric h3,.journey-head-v45 h3,.unitlink>span){word-break:normal;overflow-wrap:normal;hyphens:none;text-wrap:pretty}
:where(.card p,.banner p,.auth-card p,.cert-card-v42 p,.certificate-body-v35 p,.panel-note p,.stage-reset-card-v43 p,.journey-note-v45,.journey-disclaimer-v45){word-break:normal;overflow-wrap:break-word;hyphens:none}
.content-block{overflow-wrap:break-word;word-break:normal;hyphens:none}
:where(img,video,svg){max-width:100%}
:where(.auth-field input,.auth-field select,.auth-field textarea,.practice-filters-v32 input,.practice-filters-v32 select){max-width:100%;box-sizing:border-box}

/* Conquistas: deixar todas as palavras inteiras, usando o espaço disponível. */
.objective-journey-v45{container:journey / inline-size}
.objective-journey-v45 .journey-head-v45{min-width:0;align-items:center}
.objective-journey-v45 .journey-head-v45>div{min-width:0;flex:1 1 auto}
.journey-milestones-v45{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.journey-milestone-v45{align-items:flex-start;gap:12px;padding:13px;min-width:0}
.journey-milestone-body-v45{min-width:0;flex:1 1 auto}
.journey-milestone-body-v45 strong{font-size:clamp(.87rem,.78rem + .19vw,.95rem);font-weight:800;line-height:1.38;word-break:normal;overflow-wrap:normal;hyphens:none;text-wrap:pretty}
.journey-milestone-body-v45 small,.journey-status-v45{line-height:1.4;word-break:normal;overflow-wrap:normal;hyphens:none}
.journey-medal-v45{flex:0 0 33px;width:33px;height:33px}
@container journey (max-width:610px){
 .journey-milestones-v45{grid-template-columns:minmax(0,1fr);gap:9px}
 .journey-milestone-v45{align-items:center;padding:11px 13px;min-height:68px;gap:12px}
 .journey-milestone-body-v45{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:3px;align-items:baseline}
 .journey-milestone-body-v45 strong{grid-column:1 / -1;font-size:.93rem;line-height:1.3;margin:0}
 .journey-milestone-body-v45 small{grid-column:1;margin:0;font-size:.78rem}
 .journey-status-v45{grid-column:2;margin:0;font-size:.75rem;justify-self:end;text-align:end}
}
/* Safari anterior ao suporte de consultas por contêiner: mesma disposição móvel. */
@media(max-width:850px){
 .journey-milestones-v45{grid-template-columns:minmax(0,1fr)}
 .journey-milestone-v45{align-items:center;min-height:68px;padding:11px 13px}
 .journey-milestone-body-v45{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:9px;row-gap:3px;align-items:baseline}
 .journey-milestone-body-v45 strong{grid-column:1 / -1;font-size:.93rem;line-height:1.3}
 .journey-milestone-body-v45 small{grid-column:1;margin:0}
 .journey-status-v45{grid-column:2;margin:0;font-size:.75rem;justify-self:end;text-align:end}
}
@media(max-width:740px){
 .footer .wrap{grid-template-columns:minmax(0,1fr)}
 .cert-grid-v42,.progress-columns,.grid.two{grid-template-columns:minmax(0,1fr)}
 .unitlink{min-width:0;flex-wrap:wrap;gap:8px 12px}
 .unitlink>span{flex:1 1 175px;min-width:0}
 .unitlink>small{max-width:100%;white-space:normal}
 .lesson-nav{flex-wrap:wrap}
 .lesson-nav a{white-space:normal;max-width:100%}
 :where(.auth-page input,.auth-page select,.auth-page textarea,.practice-filters-v32 input,.practice-filters-v32 select){font-size:16px}
 :where(.stage-reset-actions-v43 button,.cert-card-actions-v42 button,.cert-card-actions-v42 a){white-space:normal;text-align:center}
}
@media(max-width:430px){
 .objective-journey-v45{padding:14px}
 .objective-journey-v45 .journey-kicker-v45{font-size:.7rem;letter-spacing:.03em}
 .journey-medal-v45{flex-basis:32px;width:32px;height:32px}
 .journey-milestone-v45{padding:10px 11px;gap:10px}
 .journey-milestone-body-v45 strong{font-size:.91rem}
 .journey-status-v45{font-size:.73rem}
 .card{padding:clamp(15px,4.4vw,20px)}
 .cert-card-v42,.stage-reset-card-v43{min-width:0}
 .certificate-shell-v35{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.objective-journey-v45 *{transition:none!important}}

/* Ajustes finais de leitura móvel, sem divisão artificial de nomes. */
@media(max-width:430px){
 #student-greeting .student-name-group-v41{white-space:normal!important;overflow-wrap:break-word;word-break:normal}
 #student-greeting .student-connected-v40{display:inline-flex!important;vertical-align:-.14em;margin-left:3px}
 .top .brand-text,.top .brand-text strong{min-width:0;overflow-wrap:break-word;word-break:normal}
 .assistant-launch{right:10px;bottom:max(12px,env(safe-area-inset-bottom));font-size:.83rem;padding:10px 13px;max-width:min(62vw,215px)}
}

/* Link de destaque para Radar opcional nos menus do site. */
nav.desktop-nav a.radar-menu-v88,nav.mobile-nav a.radar-menu-v88{display:inline-flex;align-items:center;gap:6px;background:#fffae6;border:1px solid #d8b75e;border-radius:10px;color:#315467;font-weight:790;max-width:100%;min-height:38px}
nav.desktop-nav a.radar-menu-v88 small,nav.mobile-nav a.radar-menu-v88 small{font-size:.63rem;font-weight:750;color:#805f24;letter-spacing:0}
nav.mobile-nav a.radar-menu-v88{justify-content:flex-start;padding:12px 15px}
nav.desktop-nav a.radar-menu-v88:hover,nav.mobile-nav a.radar-menu-v88:hover{background:#fff1c4;color:#1c465a}
nav a.radar-menu-v88:focus-visible{outline:3px solid #d9a82b;outline-offset:2px}


/* Navegação compacta v101 — certificados prioritários e visíveis, sem duplicar links.
   Conserva as ações nativas, o foco por teclado e o tamanho mínimo de toque. */
@media(max-width:900px){
  .top .mobile-menu nav.mobile-nav{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:3px !important;
    padding:8px !important;
    max-height:min(740px,calc(100dvh - 138px - env(safe-area-inset-bottom,0px))) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain;
    scroll-padding-top:62px;
  }
  .top .mobile-menu nav.mobile-nav > a:not([hidden]){
    display:flex !important;
    flex:0 0 auto !important;
    align-items:center !important;
    width:100% !important;
    box-sizing:border-box !important;
    min-height:44px !important;
    height:auto !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
    padding:8px 11px !important;
    gap:9px !important;
    font-size:.88rem !important;
    line-height:1.25 !important;
    white-space:normal !important;
    text-align:left;
    overflow-wrap:break-word;
  }
  .top .mobile-menu nav.mobile-nav > a[hidden]{
    display:none !important;
  }
  .top .mobile-menu nav.mobile-nav > a.cert-menu-v37,
  .top .mobile-menu nav.mobile-nav > a.cert-menu-v37.active{
    position:sticky !important;
    top:0 !important;
    z-index:5;
    min-height:54px !important;
    margin:0 0 4px !important;
    padding:9px 12px !important;
    font-size:.95rem !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    color:#173350 !important;
    background:linear-gradient(135deg,#fff2b6 0%,#ffda68 48%,#edb642 100%) !important;
    border:1px solid #c4922b !important;
    border-radius:13px !important;
    box-shadow:0 5px 16px rgba(99,61,12,.18),inset 0 1px 0 rgba(255,255,255,.88) !important;
  }
  .top .mobile-menu nav.mobile-nav > a.cert-menu-v37 svg{
    flex:0 0 22px !important;
    color:#785216 !important;
    stroke:#785216 !important;
  }
  .top .mobile-menu nav.mobile-nav > a.guest-login-v53:not([hidden]){
    min-height:48px !important;
    margin:0 0 3px !important;
    padding:9px 11px !important;
    font-size:.86rem !important;
  }
  .top .mobile-menu nav.mobile-nav > a.install-menu-v53{
    min-height:48px !important;
    margin:2px 0 !important;
    padding:7px 10px !important;
    font-size:.90rem !important;
  }
  .top .mobile-menu nav.mobile-nav a.install-menu-v53 .install-monitor-v53{
    flex:0 0 27px !important;
    width:27px !important;
    height:27px !important;
  }
  .top .mobile-menu nav.mobile-nav > a.radar-menu-v88{
    min-height:44px !important;
    padding:8px 11px !important;
  }
  .top .mobile-menu nav.mobile-nav a .p-icon{
    flex:0 0 18px;
    width:18px !important;
    height:18px !important;
  }
  .top .mobile-menu nav.mobile-nav a:focus-visible{
    outline:3px solid #ae7a19 !important;
    outline-offset:-2px !important;
  }
}
@media(max-width:380px){
  .top .mobile-menu nav.mobile-nav{
    padding:7px !important;
    gap:2px !important;
  }
  .top .mobile-menu nav.mobile-nav > a:not([hidden]){
    padding:7px 9px !important;
    font-size:.84rem !important;
  }
  .top .mobile-menu nav.mobile-nav > a.cert-menu-v37,
  .top .mobile-menu nav.mobile-nav > a.cert-menu-v37.active{
    padding:9px 11px !important;
    font-size:.92rem !important;
  }
}