/* Cabeçalho global Nortecópia — partilhado por todas as páginas internas. */
.site-header{
  --nc-pink:#e52587;
  position:sticky!important;
  z-index:1000!important;
  top:0!important;
  inset:auto!important;
  width:100%;
  height:112px!important;
  color:#fff;
  background:rgb(8 9 10 / 97%)!important;
  box-shadow:0 4px 18px rgb(0 0 0 / 8%);
}
.site-header *{box-sizing:border-box}
.site-header a{color:inherit;text-decoration:none}
.site-header button{font:inherit}
.site-header .header-inner{
  width:min(calc(100% - 48px),1290px)!important;
  height:100%!important;
  margin-inline:auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:220px 1fr 225px!important;
  align-items:center!important;
  gap:34px!important;
}
.site-header .brand--header{display:block;width:142px!important}
.site-header .brand--header img{display:block;width:100%!important;height:auto!important}
.site-header .primary-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:78px!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
}
.site-header .nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:auto;
  height:100%;
  padding:0;
  border:0;
  color:#fff;
  background:transparent;
  font-size:16px;
  font-weight:600;
  line-height:1.5;
  white-space:nowrap;
  cursor:pointer;
}
.site-header .nav-link::after{
  position:absolute;
  right:0;
  bottom:28px;
  left:0;
  height:2px;
  content:"";
  background:var(--nc-pink);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.is-active{color:var(--nc-pink)}
.site-header .nav-link:hover::after,
.site-header .nav-link:focus-visible::after,
.site-header .nav-link.is-active::after{transform:scaleX(1)}
.site-header .nav-dropdown__chevron{
  width:7px;
  height:7px;
  margin:-4px 1px 0 2px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  flex:0 0 auto;
}
.site-header .nav-dropdown{position:relative;height:100%}
.site-header .nav-dropdown__panel{
  position:absolute;
  z-index:2;
  top:calc(100% - 8px);
  left:50%;
  display:grid;
  grid-template-columns:repeat(2,minmax(220px,1fr));
  width:530px;
  padding:18px;
  border:1px solid rgb(255 255 255 / 12%);
  border-radius:12px;
  color:#fff;
  background:#151617;
  box-shadow:0 22px 45px rgb(0 0 0 / 35%);
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,12px);
  transition:opacity .2s ease,transform .2s ease;
}
.site-header .nav-dropdown__panel--compact{grid-template-columns:1fr;width:250px}
.site-header .nav-dropdown__panel>a{padding:10px 12px;border-radius:7px;transition:color .2s ease,background-color .2s ease}
.site-header .nav-dropdown__panel>a:hover,
.site-header .nav-dropdown__panel>a:focus-visible{color:var(--nc-pink);background:rgb(255 255 255 / 5%)}
.site-header .nav-dropdown:hover>.nav-dropdown__panel,
.site-header .nav-dropdown:focus-within>.nav-dropdown__panel,
.site-header .nav-dropdown.is-open>.nav-dropdown__panel{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.site-header .nav-dropdown--solutions{position:static}
.site-header .solutions-mega{
  top:100%;
  left:50%;
  grid-template-columns:minmax(350px,410px) minmax(350px,410px) minmax(206px,1fr);
  gap:27px;
  width:min(calc(100vw - 48px),1290px);
  height:495px;
  padding:30px;
  border:0;
  border-radius:15px;
  color:#000;
  background:#fff;
  box-shadow:0 18px 40px rgb(0 0 0 / 18%);
}
.site-header .solutions-mega__column{display:flex;min-width:0;flex-direction:column}
.site-header .solutions-mega__column--primary{justify-content:space-between}
.site-header .solutions-mega__column--secondary{gap:34px}
.site-header .solutions-mega__item{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:13px;
  padding:0;
  border-radius:0;
  color:#000;
  background:transparent;
}
.site-header .solutions-mega__item:hover,
.site-header .solutions-mega__item:focus-visible{color:#000;background:transparent}
.site-header .solutions-mega__icon{
  display:grid;
  width:52px;
  height:52px;
  flex:0 0 auto;
  place-items:center;
  border:2px solid var(--nc-pink);
  border-radius:50%;
  color:var(--nc-pink);
  transition:color .2s ease,background-color .2s ease;
}
.site-header .solutions-mega__icon img{display:block;width:19px!important;height:19px!important;object-fit:contain}
.site-header .solutions-mega__item:hover .solutions-mega__icon,
.site-header .solutions-mega__item:focus-visible .solutions-mega__icon{color:#fff;background:var(--nc-pink)}
.site-header .solutions-mega__item:hover .solutions-mega__icon img,
.site-header .solutions-mega__item:focus-visible .solutions-mega__icon img{filter:brightness(0) invert(1)}
.site-header .solutions-mega__copy{display:block;min-width:0;transform:translateY(-3px)}
.site-header .solutions-mega__copy strong{display:block;margin:-2px 0 3px;font-size:16px;line-height:1.45}
.site-header .solutions-mega__copy>span:not(.solutions-mega__links){display:block;color:#5f5c5c;font-size:13px;font-weight:400;line-height:1.65}
.site-header .solutions-mega__links{display:flex;flex-direction:column;align-items:flex-start}
.site-header .solutions-mega__links a{padding:0;border-radius:0;color:#000;font-size:13px;font-weight:400;line-height:1.85;background:transparent}
.site-header .solutions-mega__links a:hover,
.site-header .solutions-mega__links a:focus-visible{color:var(--nc-pink);background:transparent}
.site-header .solutions-mega__media{align-self:stretch;margin-top:-30px}
.site-header .solutions-mega__photo{width:206px;height:366px;background:url("../assets/images/C9042_13354405.jpg") center top/contain no-repeat}
.site-header .button--header,
.site-header .solutions-mega__contact{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  color:#fff;
  background:var(--nc-pink);
  font-weight:600;
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease;
}
.site-header .button--header{
  justify-self:end;
  min-width:224px;
  width:auto;
  height:43px;
  min-height:43px;
  padding:0 14px;
  border-radius:10px;
  font-size:16px;
  white-space:nowrap;
}
.site-header .button--header:hover,
.site-header .button--header:focus-visible{color:#fff;background:#ca1470;box-shadow:0 8px 22px rgb(229 37 135 / 28%);transform:translateY(-2px)}
.site-header .button--header svg{display:block;width:20px;height:20px;margin-right:8px;fill:none;stroke:currentColor}
.site-header .solutions-mega__contact{
  width:107px;
  min-height:49px;
  margin:50px 0 0 49px;
  padding:0 15px;
  border-radius:10px;
  font-size:14px;
}
.site-header .solutions-mega__contact:hover,
.site-header .solutions-mega__contact:focus-visible{color:#fff;background:var(--nc-pink);box-shadow:0 8px 22px rgb(229 37 135 / 28%)}
.site-header .menu-toggle{
  display:none;
  width:44px;
  height:42px;
  padding:9px;
  border:0;
  border-radius:8px;
  background:transparent;
  cursor:pointer;
}
.site-header .menu-toggle>span:not(.sr-only){display:block;width:100%;height:2px;margin-block:5px;background:#fff;transition:transform .2s ease,opacity .2s ease}

/* Shared entrance effect for the Nortecopia logo shown inside page heroes. */
.hero-logo-flash{
  animation:hero-logo-flash .9s ease both;
}
@keyframes hero-logo-flash{
  from,50%,to{opacity:1}
  25%,75%{opacity:0}
}

@media(max-width:1400px){
  .site-header .primary-nav{gap:42px!important}
  .site-header .header-inner{grid-template-columns:180px 1fr 225px!important}
}
@media(max-width:1100px){
  .site-header{height:82px!important}
  .site-header .header-inner{grid-template-columns:1fr auto auto!important;gap:18px!important}
  .site-header .brand--header{width:150px!important}
  .site-header .menu-toggle{display:block;grid-column:3}
  .site-header .button--header{grid-column:2;grid-row:1}
  .site-header .primary-nav{
    position:fixed;
    z-index:998;
    top:82px;
    right:0;
    bottom:0;
    display:block!important;
    width:min(390px,100%);
    height:auto!important;
    padding:25px!important;
    overflow-y:auto;
    background:#101112;
    transform:translateX(100%);
    transition:transform .3s ease;
  }
  .site-header .primary-nav.is-open{transform:translateX(0)}
  .site-header .nav-link{width:100%;height:auto;padding:15px 5px;justify-content:space-between}
  .site-header .nav-link::after{bottom:8px}
  .site-header .nav-dropdown{height:auto}
  .site-header .nav-dropdown__panel,
  .site-header .nav-dropdown__panel--compact{
    position:static;
    display:none;
    width:100%;
    grid-template-columns:1fr;
    padding:6px 10px 13px;
    border:0;
    background:#171819;
    box-shadow:none;
    opacity:1;
    pointer-events:auto;
    transform:none;
  }
  .site-header .nav-dropdown:hover>.nav-dropdown__panel,
  .site-header .nav-dropdown:focus-within>.nav-dropdown__panel{display:none;transform:none}
  .site-header .nav-dropdown.is-open>.nav-dropdown__panel{display:grid;transform:none}
  .site-header .solutions-mega{height:auto;max-height:none;gap:20px;color:#fff}
  .site-header .solutions-mega__column{gap:18px}
  .site-header .solutions-mega__item{grid-template-columns:42px minmax(0,1fr);gap:12px;color:#fff}
  .site-header .solutions-mega__item:hover,
  .site-header .solutions-mega__item:focus-visible{color:#fff}
  .site-header .solutions-mega__icon{width:42px;height:42px}
  .site-header .solutions-mega__copy strong{margin-top:0;font-size:15px}
  .site-header .solutions-mega__copy>span:not(.solutions-mega__links){color:#bdbdbd;font-size:12px}
  .site-header .solutions-mega__links a{color:#fff;font-size:12px}
  .site-header .solutions-mega__media{display:block;margin:0}
  .site-header .solutions-mega__photo{display:none}
  .site-header .solutions-mega__contact{width:100%;min-height:42px;margin:0}
  .site-header .menu-toggle[aria-expanded="true"]>span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .site-header .menu-toggle[aria-expanded="true"]>span:nth-child(2){opacity:0}
  .site-header .menu-toggle[aria-expanded="true"]>span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}
@media(max-width:767px){
  .site-header .header-inner{width:min(calc(100% - 32px),1290px)!important;grid-template-columns:1fr auto!important}
  .site-header .button--header{display:none}
  .site-header .menu-toggle{grid-column:2}
}

@media(prefers-reduced-motion:reduce){
  .hero-logo-flash{animation:none;opacity:1}
}
