/* Fátima Beauty | Escala e proporções do branding oficial V3.1
   Carregado após as folhas CSS anteriores para evitar versões antigas em cache.
   A escala é intencionalmente específica para cada contexto. */
:root { --fb-logo-header:184px; --fb-logo-footer:148px; --fb-logo-login:190px; --fb-logo-sidebar:158px; }
.site-header .header-inner { min-height:80px; gap:22px; flex-wrap:nowrap; }
.site-header .wordmark { display:inline-flex; align-items:center; justify-content:flex-start; flex:0 0 var(--fb-logo-header); width:var(--fb-logo-header); max-width:var(--fb-logo-header); min-width:0; line-height:0; overflow:visible; }
.site-header .wordmark > img.official-logo { display:block; width:100%; max-width:var(--fb-logo-header); height:auto; max-height:64px; object-fit:contain; object-position:left center; }
.site-header .main-nav { min-width:0; }
.site-header .header-book { flex-shrink:0; }
.site-footer { padding-top:56px; }
.site-footer .footer-top { align-items:start; gap:clamp(20px,3vw,44px); padding-bottom:44px; }
.site-footer .footer-logo.official-footer-logo { display:inline-flex; align-items:center; justify-content:flex-start; width:var(--fb-logo-footer); max-width:100%; min-height:0; margin:0 0 12px; line-height:0; }
.site-footer .footer-logo.official-footer-logo > img { display:block; width:var(--fb-logo-footer); max-width:100%; height:auto; max-height:96px; object-fit:contain; object-position:left center; }
.site-footer .footer-top > div:first-child > p { max-width:235px; }
/* O mesmo recurso oficial tem uma escala diferente dentro do CRM. */
.crm-body .sidebar .side-brand, .sidebar .side-brand { box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; min-height:0; height:auto; padding:0 10px 18px; gap:4px; overflow:visible; }
.crm-body .sidebar .side-brand > img.crm-official-logo, .sidebar .side-brand > img.crm-official-logo { display:block; width:var(--fb-logo-sidebar); max-width:100%; height:auto; max-height:103px; object-fit:contain; object-position:left center; flex:none; }
.crm-body .sidebar .side-brand > small, .sidebar .side-brand > small { margin:0; padding:0; font-size:.74rem; line-height:1.3; }
.authbox > img.crm-login-logo { display:block; width:var(--fb-logo-login); max-width:100%; height:auto; max-height:150px; object-fit:contain; margin:0 auto 18px; }
@media(max-width:1140px) {
  :root { --fb-logo-header:167px; }
  .site-header .header-inner { gap:14px; }
  .site-header .wordmark { flex-basis:167px; width:167px; max-width:167px; }
  .site-header .wordmark > img.official-logo { max-width:167px; max-height:58px; }
}
@media(max-width:900px) {
  :root { --fb-logo-header:168px; --fb-logo-footer:140px; }
  .site-header .header-inner { min-height:73px; }
  .site-header .wordmark { flex-basis:168px; width:168px; max-width:168px; }
  .site-header .wordmark > img.official-logo { max-width:168px; max-height:58px; }
  .site-footer .footer-logo.official-footer-logo { width:140px; }
  .site-footer .footer-logo.official-footer-logo > img { width:140px; max-height:92px; }
}
@media(max-width:680px) {
  :root { --fb-logo-header:147px; --fb-logo-footer:125px; --fb-logo-login:164px; }
  .site-header .header-inner { min-height:68px; gap:12px; }
  .site-header .wordmark { flex-basis:147px; width:147px; max-width:147px; }
  .site-header .wordmark > img.official-logo { max-width:147px; max-height:51px; }
  .site-footer { padding-top:40px; }
  .site-footer .footer-top { padding-bottom:28px; }
  .site-footer .footer-logo.official-footer-logo { width:125px; }
  .site-footer .footer-logo.official-footer-logo > img { width:125px; max-height:84px; }
  .authbox > img.crm-login-logo { width:164px; max-height:132px; }
}
@media(max-width:380px) {
  :root { --fb-logo-header:132px; }
  .site-header .wordmark { flex-basis:132px; width:132px; max-width:132px; }
  .site-header .wordmark > img.official-logo { max-width:132px; max-height:46px; }
  .site-header .header-inner { min-height:64px; }
}
