/* Clínica Ludens — identidade oficial. Carregar DEPOIS de theme.css.
   Isola o cabeçalho dos antigos estilos de .brand com tamanho fixo/overflow hidden. */
:root{--ludens-brand-plum:#782957;--ludens-brand-ink:#183a56;--ludens-brand-gold:#ab7d37}
.header{overflow:visible!important;isolation:isolate;background:rgba(255,255,255,.97)!important;border-bottom:1px solid rgba(24,58,86,.11)!important;box-shadow:0 8px 28px rgba(24,58,86,.055)!important}
.header::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#7b245b 0%,#c73c63 35%,#ec7531 72%,#ffb526 100%);pointer-events:none}
.header .header-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:clamp(10px,1.65vw,22px)!important;height:84px!important;min-height:84px!important;overflow:visible!important}
.header .header-inner>a.brand{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 1 235px!important;width:auto!important;min-width:0!important;max-width:235px!important;height:auto!important;min-height:66px!important;margin:0!important;padding:6px 0!important;gap:10px!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;text-decoration:none!important;box-shadow:none!important;white-space:normal!important}
.header .header-inner>a.brand>img{display:block!important;flex:0 0 60px!important;width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;max-width:60px!important;max-height:60px!important;padding:0!important;margin:0!important;object-fit:contain!important;object-position:center!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important}
.header .header-inner>a.brand>.brand-wordmark{display:flex!important;flex:0 1 auto!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-width:0!important;width:auto!important;max-width:none!important;overflow:visible!important;margin:0!important;padding:0!important;font-size:inherit!important;line-height:normal!important;white-space:nowrap!important}
.header .brand-name{display:block;color:var(--ludens-brand-ink)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:22px!important;font-weight:500!important;line-height:1.12!important;letter-spacing:-.05em!important;white-space:nowrap!important}
.header .brand-name strong{color:var(--ludens-brand-plum)!important;font-weight:700!important}
.header .brand-since{display:block;margin-top:5px;color:var(--ludens-brand-gold)!important;font:800 9px/1.2 Arial,"Helvetica Neue",sans-serif!important;letter-spacing:.24em!important;white-space:nowrap!important}
.header .header-inner>a.brand:hover .brand-name strong{color:#9a286a!important}
.header .header-inner>a.brand:focus-visible,.header .header-inner .header-call:focus-visible,.header .header-inner .mobile-menu summary:focus-visible{outline:3px solid #b9873d!important;outline-offset:4px!important;border-radius:6px!important}
.header .header-inner>.desktop-nav{display:flex;flex:1 1 auto;min-width:0;justify-content:center;gap:clamp(8px,1.25vw,18px)!important;margin-left:auto!important;margin-right:0!important}
.header .header-inner>.desktop-nav>a{white-space:nowrap;font-size:12px!important}
.header .header-inner>.header-call{flex:0 0 auto!important;min-width:44px!important;min-height:44px!important;border-radius:12px!important}
.header .header-inner>.mobile-menu{flex:0 0 auto!important;min-width:44px!important}
.links-page .links-avatar{width:120px!important;height:120px!important;padding:13px!important;overflow:visible!important;border-radius:28px!important;background:#fff!important;border:1px solid rgba(115,58,92,.14)!important;box-shadow:0 16px 40px rgba(36,23,47,.12)!important}
.links-page .links-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;overflow:visible!important}
.links-page .links-card h1{letter-spacing:-.035em}
@media(max-width:1080px){.header .header-inner>a.brand{flex-basis:210px!important;max-width:210px!important}.header .brand-name{font-size:20px!important}.header .header-inner>.desktop-nav{gap:9px!important}}
@media(max-width:900px){:root{--header-h:72px}.header .header-inner{height:72px!important;min-height:72px!important;gap:10px!important}.header .header-inner>.desktop-nav{display:none!important}.header .header-inner>.mobile-menu{display:block!important}.header .header-inner>a.brand{flex:0 1 auto!important;max-width:calc(100% - 110px)!important;min-height:58px!important}.header .header-inner>a.brand>img{flex-basis:52px!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;max-width:52px!important;max-height:52px!important}.header .header-inner>.header-call{margin-left:auto!important}.header .mobile-menu>nav{top:72px!important;max-height:calc(100dvh - 72px)!important}}
@media(max-width:600px){:root{--header-h:68px}.header .header-inner{height:68px!important;min-height:68px!important;gap:8px!important}.header .header-inner>a.brand{min-height:52px!important;gap:7px!important;max-width:calc(100% - 106px)!important}.header .header-inner>a.brand>img{flex-basis:47px!important;width:47px!important;height:47px!important;min-width:47px!important;min-height:47px!important;max-width:47px!important;max-height:47px!important}.header .brand-name{font-size:18px!important}.header .brand-since{font-size:8px!important;margin-top:4px;letter-spacing:.19em!important}.header .header-inner>.header-call{min-width:44px!important;min-height:44px!important;padding:0 11px!important}.header .mobile-menu>nav{top:68px!important;max-height:calc(100dvh - 68px)!important}}
@media(max-width:360px){:root{--header-h:64px}.header .header-inner{height:64px!important;min-height:64px!important;gap:6px!important}.header .header-inner>a.brand{gap:6px!important;max-width:calc(100% - 100px)!important}.header .header-inner>a.brand>img{flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important}.header .brand-name{font-size:16px!important}.header .brand-since{font-size:7px!important;letter-spacing:.17em!important}.header .header-inner>.header-call{min-width:40px!important;min-height:40px!important;padding:0 9px!important}.header .header-inner>.mobile-menu{min-width:40px!important}.header .header-inner .mobile-menu>summary{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important}.header .mobile-menu>nav{top:64px!important;max-height:calc(100dvh - 64px)!important}}
@media(prefers-reduced-motion:reduce){.header .header-inner>a.brand,.header .brand-name{transition:none!important}}

/* Acesso claro à lista real de convênios */
.insurance-home-quick{margin:17px 0 0;font-size:12.5px;font-weight:750;line-height:1.6}
.insurance-home-quick a,.insurance-specialty-shortcut a{color:#782957;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#cfaabb;display:inline-flex;align-items:center;gap:10px}
.insurance-home-quick a:hover,.insurance-specialty-shortcut a:hover{color:#a33769}
.insurance-specialty-shortcut{margin:15px 0 20px;font-size:13px;font-weight:800}
.insurance-home-quick a:focus-visible,.insurance-specialty-shortcut a:focus-visible{outline:3px solid #b98b3e;outline-offset:3px}
@media(min-width:901px) and (max-width:1060px){.header .header-inner>.desktop-nav{display:none!important}.header .header-inner>.mobile-menu{display:block!important}.header .mobile-menu>nav{top:84px!important;max-height:calc(100dvh - 84px)!important}}

/* Seleção administrativa de convênio no formulário: progressiva e opcional. */
.form-field[data-contact-insurance][hidden]{display:none!important}
.contact-insurance-hint{display:block;margin-top:7px;font-size:11.5px;line-height:1.65;color:#526578}
.form-field[data-contact-insurance] select:focus-visible{outline:3px solid #b98b3e;outline-offset:3px}
