/* =========================================================
   Softsun – Cabeçalho
   ========================================================= */
:root{--ss-navy:#0D1B2A;--ss-blue:#1B4965;--ss-sun:#F4B400;--ss-light:#F7F9FC;--ss-adminbar:0px}
body.admin-bar{--ss-adminbar:32px}
@media (max-width:782px){body.admin-bar{--ss-adminbar:46px}}
html{scroll-padding-top:110px}

/* Cabeçalho fixo */
#masthead{position:-webkit-sticky !important;position:sticky !important;top:var(--ss-adminbar) !important;z-index:1000}
#masthead .elementor-element-888169f{background:rgba(247,249,252,.97) !important;-webkit-backdrop-filter:saturate(1.4) blur(8px);backdrop-filter:saturate(1.4) blur(8px);
	transition:min-height .25s ease,box-shadow .25s ease,padding .25s ease}
#masthead .elementor-element-163a493 img{transition:max-height .25s ease,width .25s ease}

/* Faixa superior */
#masthead .elementor-element-143fb23{overflow:hidden;max-height:60px;transition:max-height .25s ease,padding .25s ease,opacity .2s ease}
#masthead .elementor-element-143fb23 .elementor-icon-list-item a,#masthead .elementor-element-143fb23 .elementor-icon-list-text{transition:color .15s}

/* Ao rolar: some a faixa, cabeçalho encolhe e ganha sombra */
body.ss-scrolled #masthead .elementor-element-143fb23{max-height:0 !important;padding-top:0 !important;padding-bottom:0 !important;opacity:0}
body.ss-scrolled #masthead .elementor-element-888169f{--min-height:64px;min-height:64px !important;box-shadow:0 6px 24px rgba(13,27,42,.10)}
body.ss-scrolled #masthead .elementor-element-163a493 img{max-height:44px;width:auto}

/* Ações (botão + WhatsApp) */
#masthead .elementor-element-f3ccbd0{--width:auto;width:auto !important;flex:0 0 auto !important;flex-wrap:nowrap !important}
#masthead .elementor-element-ed92db3{flex:1 1 auto !important}
#masthead .ss-cta .elementor-button{white-space:nowrap;padding:12px 18px;font-weight:600;box-shadow:0 4px 14px rgba(244,180,0,.35);transition:transform .15s,box-shadow .15s,background-color .15s}
#masthead .ss-cta .elementor-button:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(244,180,0,.45)}
#masthead .ss-cta .elementor-button-icon{color:var(--ss-navy)}
#masthead .ss-cta .elementor-button-icon svg{fill:var(--ss-navy)}
#masthead .ss-wa-icon,#masthead .ss-wa-icon .elementor-widget-container,#masthead .ss-wa-icon .elementor-icon-wrapper{line-height:0;display:flex;align-items:center}
#masthead .ss-wa-icon .elementor-icon{transition:transform .15s,background-color .15s}
#masthead .ss-wa-icon .elementor-icon:hover{transform:scale(1.06);background:#25D366;color:#fff !important}
#masthead .ss-wa-icon .elementor-icon:hover svg{fill:#fff}

/* Menu: sublinhado em forma de sol nascente */
#masthead .hfe-nav-menu > li > a.hfe-menu-item{position:relative;color:var(--ss-navy) !important;transition:color .15s}
#masthead .hfe-nav-menu > li > a.hfe-menu-item::after{content:"";position:absolute;left:50%;bottom:-6px;width:36px;height:12px;margin-left:-18px;pointer-events:none;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 12'%3E%3Cg fill='none' stroke='%23F4B400' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M11.4 9.6L8.1 8.4M14 6.3L12 3.4M18 5V1.5M22 6.3L24 3.4M24.6 9.6L27.9 8.4M3 11.2H33'/%3E%3C/g%3E%3Cpath d='M13 11.2a5 5 0 0 1 10 0z' fill='%23F4B400'/%3E%3C/svg%3E") center bottom/contain no-repeat;
	transform:scaleY(0) scaleX(.4);transform-origin:50% 100%;opacity:0;transition:transform .25s cubic-bezier(.2,.8,.3,1.3),opacity .2s}
#masthead .hfe-nav-menu > li > a.hfe-menu-item:hover::after,
#masthead .hfe-nav-menu > li > a.hfe-menu-item.ss-active::after{transform:none;opacity:1}
#masthead .hfe-nav-menu > li > a.hfe-menu-item.ss-active{font-weight:600}

/* ---------- Celular e tablet ---------- */
@media (max-width:1024px){
	html{scroll-padding-top:80px}
	#masthead .elementor-element-143fb23{padding-top:4px !important;padding-bottom:4px !important;justify-content:center !important}
	#masthead .ss-topbar-left{display:none}
	#masthead .ss-wa-icon{display:none !important}
	#masthead .ss-topbar-right .elementor-icon-list-items{justify-content:center}
	#masthead .ss-topbar-right .elementor-icon-list-text{font-size:12px !important}
	#masthead .hfe-nav-menu > li > a.hfe-menu-item::after{display:none}

	/* Menu em tela cheia */
	#masthead .hfe-nav-menu__toggle{position:relative;z-index:10001;transition:color .2s}
	#masthead .hfe-nav-menu__toggle.hfe-active-menu .hfe-nav-menu-icon,
	#masthead .hfe-nav-menu__toggle.hfe-active-menu .hfe-nav-menu-icon i{color:#fff !important}
	#masthead .hfe-nav-menu__toggle.hfe-active-menu .hfe-nav-menu-icon svg{fill:#fff !important}
	#masthead nav.hfe-dropdown.menu-is-active{position:fixed !important;inset:0 !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;height:100dvh !important;
		z-index:10000 !important;background:var(--ss-navy) !important;display:flex !important;flex-direction:column;padding:calc(var(--ss-adminbar) + 96px) 28px 32px !important;overflow-y:auto;
		animation:ssMenuIn .25s ease}
	#masthead nav.hfe-dropdown.menu-is-active::before{content:"";position:absolute;right:-60px;bottom:-60px;width:220px;height:220px;border-radius:50%;
		background:radial-gradient(circle,rgba(244,180,0,.35) 0,rgba(244,180,0,0) 70%);pointer-events:none}
	#masthead nav.hfe-dropdown.menu-is-active ul.hfe-nav-menu{background:transparent !important;box-shadow:none !important}
	#masthead nav.hfe-dropdown.menu-is-active li{border:0 !important;background:transparent !important}
	#masthead nav.hfe-dropdown.menu-is-active a.hfe-menu-item{color:#fff !important;background:transparent !important;font:600 26px/1.2 Poppins,sans-serif !important;
		padding:14px 0 !important;border-bottom:1px solid rgba(255,255,255,.10) !important;justify-content:flex-start !important}
	#masthead nav.hfe-dropdown.menu-is-active a.hfe-menu-item.ss-active{color:var(--ss-sun) !important}
	#masthead .ss-mobile-ctas{display:none}
	#masthead nav.hfe-dropdown.menu-is-active .ss-mobile-ctas{display:flex;flex-direction:column;gap:12px;margin-top:28px}
	#masthead .ss-mobile-ctas a{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;border-radius:10px;font:600 16px Poppins,sans-serif;text-decoration:none}
	#masthead .ss-mobile-ctas .ss-m-sim{background:var(--ss-sun);color:var(--ss-navy)}
	#masthead .ss-mobile-ctas .ss-m-wa{background:#25D366;color:#fff}
	#masthead .ss-mobile-ctas .ss-m-info{margin-top:6px;color:#AEB9C6;font:400 13px Inter,sans-serif;text-align:center}
	body.ss-menu-open{overflow:hidden}
}
@keyframes ssMenuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#masthead *,#masthead *::after{transition:none !important;animation:none !important}}
