/* Composição visual da homepage baseada no mockup validado em agosto de 2026. */
body.homepage-v2-active .site-header{
  background:rgba(3,6,10,.98);
  border-bottom:1px solid rgba(255,255,255,.06);
}

body.homepage-v2-active .site-header .header-inner{
  min-height:82px;
}

body.homepage-v2-active .main-nav .nav-direct{
  position:relative;
  padding:31px 0 27px;
  color:rgba(255,255,255,.9);
  font-weight:800;
  text-transform:uppercase;
}

body.homepage-v2-active .main-nav .nav-direct::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:13px;
  height:2px;
  border-radius:999px;
  background:#d79b00;
  opacity:0;
  transform:scaleX(.35);
  transition:opacity .2s ease,transform .2s ease;
}

body.homepage-v2-active .main-nav .nav-direct:hover::after,
body.homepage-v2-active .main-nav .nav-direct.is-current::after,
body.homepage-v2-active .main-nav .nav-direct.is-active::after{
  opacity:1;
  transform:scaleX(1);
}

body.homepage-v2-active .header-cta{
  border-radius:8px;
  box-shadow:0 10px 26px rgba(215,155,0,.18);
}

.hpv2-hero{
  min-height:748px!important;
  align-items:stretch;
  overflow:visible;
}

.hpv2-hero-media{
  background-position:center 46%;
}

.hpv2-hero-shade{
  background:
    linear-gradient(90deg,rgba(4,7,11,.96) 0%,rgba(4,7,11,.84) 34%,rgba(4,7,11,.34) 64%,rgba(4,7,11,.12) 100%),
    linear-gradient(180deg,rgba(4,7,11,.06),rgba(4,7,11,.18) 56%,rgba(4,7,11,.92) 100%);
}

.hpv2-hero-inner{
  display:flex;
  align-items:flex-start;
  /* Posição final do título: não depende da ordem de carregamento dos estilos. */
  padding-top:156px!important;
  padding-bottom:186px!important;
}

.hpv2-hero-copy{
  max-width:620px!important;
}

.hpv2-hero h1{
  max-width:610px!important;
  font-size:clamp(42px,3.55vw,59px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}

.hpv2-hero-lead{
  max-width:520px;
  margin:22px 0 0;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.6;
}

.hpv2-hero-primary-link{
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-height:44px;
  margin-top:20px;
  padding:0 18px;
  border:1px solid rgba(215,155,0,.88);
  border-radius:9px;
  color:#e7aa08;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}

.hpv2-hero-primary-link:hover{
  background:#d79b00;
  color:#080b10;
  transform:translateY(-2px);
}

.hpv2-metrics{
  max-width:760px!important;
  margin-top:42px!important;
}

.hpv2-metrics div{
  min-width:0;
  padding:0 23px;
}

.hpv2-metrics strong{
  color:#e3a400!important;
  font-size:27px!important;
  letter-spacing:-.03em;
}

.hpv2-metrics small{
  max-width:132px;
  color:rgba(255,255,255,.78)!important;
  font-size:12px!important;
  line-height:1.45!important;
}

.hpv2-finder-rail{
  position:absolute;
  z-index:7;
  top:50%;
  right:0;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:228px;
  padding:18px 13px;
  border:1px solid rgba(255,255,255,.1);
  border-right:0;
  border-radius:14px 0 0 14px;
  background:linear-gradient(180deg,rgba(17,24,34,.98),rgba(6,10,16,.98));
  box-shadow:-16px 22px 48px rgba(0,0,0,.28);
  color:#fff;
  transform:translateY(-55%);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.hpv2-finder-rail::before{
  content:'⌖';
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border:2px solid #d79b00;
  border-radius:50%;
  color:#d79b00;
  font-size:12px;
  writing-mode:horizontal-tb;
}

.hpv2-finder-rail::after{
  content:'›';
  color:#d79b00;
  font-size:24px;
  line-height:1;
  writing-mode:horizontal-tb;
}

.hpv2-highlight-shell{
  bottom:-1px;
  width:min(1460px,calc(100% - 80px))!important;
}

.hpv2-highlight-loading,
.hpv2-highlights-panel{
  min-height:238px!important;
  border:1px solid rgba(215,155,0,.34);
  border-bottom:0;
  border-radius:22px 22px 0 0;
  background:linear-gradient(135deg,rgba(14,19,26,.99),rgba(24,31,40,.99));
  box-shadow:0 -26px 72px rgba(0,0,0,.3);
  color:#fff;
}

.hpv2-highlight-loading{
  display:grid;
  place-items:center;
}

.hpv2-highlights-panel{
  padding:18px 28px 24px;
  overflow:hidden;
}

.hpv2-highlights-heading{
  margin:0 0 14px 5px;
  color:#d79b00;
  font-size:11px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.hpv2-highlights-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) 112px;
  gap:26px;
  align-items:stretch;
}

.hpv2-highlight-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  min-width:0;
}

.hpv2-highlight-card{
  display:grid;
  grid-template-columns:minmax(118px,38%) minmax(0,1fr);
  min-height:156px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}

.hpv2-highlight-card:hover{
  transform:translateY(-3px);
  border-color:rgba(215,155,0,.38);
  background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
}

.hpv2-highlight-card-media,
.hpv2-highlight-card-icon{
  min-height:156px;
  background:rgba(255,255,255,.04);
}

.hpv2-highlight-card-media{
  overflow:hidden;
}

.hpv2-highlight-card-media img{
  display:block;
  width:100%;
  height:100%;
  min-height:156px;
  object-fit:cover;
  transition:transform .45s ease;
}

.hpv2-highlight-card:hover .hpv2-highlight-card-media img{
  transform:scale(1.045);
}

.hpv2-highlight-card-icon{
  display:grid;
  place-items:center;
  color:#d79b00;
}

.hpv2-highlight-card-icon svg{
  width:40px;
  height:40px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
}

.hpv2-highlight-card-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:16px 18px;
}

.hpv2-highlight-card-copy small{
  color:#d79b00;
  font-size:9px;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.hpv2-highlight-card-copy h2{
  display:-webkit-box;
  margin:9px 0 0;
  overflow:hidden;
  color:#fff;
  font-size:16px;
  line-height:1.25;
  letter-spacing:-.02em;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.hpv2-highlight-card-copy p{
  display:-webkit-box;
  margin:10px 0 0;
  overflow:hidden;
  color:rgba(255,255,255,.66);
  font-size:11px;
  line-height:1.5;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.hpv2-highlight-card-copy a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  padding-top:12px;
  color:#d79b00;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}

.hpv2-highlights-nav{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-left:22px;
  border-left:1px solid rgba(255,255,255,.1);
}

.hpv2-highlights-count{
  white-space:nowrap;
}

.hpv2-highlights-count strong{
  color:#d79b00;
  font-size:22px;
  line-height:1;
}

.hpv2-highlights-count span{
  color:rgba(255,255,255,.58);
  font-size:12px;
}

.hpv2-highlights-arrows{
  display:flex;
  gap:10px;
  margin-top:24px;
}

.hpv2-highlights-arrows button{
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  padding:0;
  border:1px solid rgba(255,255,255,.15);
  border-radius:50%;
  background:transparent;
  color:#fff;
  font-size:23px;
  line-height:1;
  cursor:pointer;
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}

.hpv2-highlights-arrows button:hover:not(:disabled){
  border-color:#d79b00;
  background:rgba(215,155,0,.08);
  color:#d79b00;
}

.hpv2-highlights-arrows button:disabled{
  opacity:.35;
  cursor:default;
}

.hpv2-group-editorial{
  padding-top:100px;
}

@media(max-width:1240px){
  .hpv2-highlight-shell{width:min(1160px,calc(100% - 44px))!important}
  .hpv2-highlight-card{grid-template-columns:112px minmax(0,1fr)}
  .hpv2-highlight-card-copy{padding:14px}
  .hpv2-highlight-card-copy p{display:none}
}

@media(max-width:1100px){
  .hpv2-hero{min-height:760px!important}
  .hpv2-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hpv2-highlights-panel{min-height:250px!important}
  .hpv2-highlight-card:nth-child(n+3){display:none}
  .hpv2-finder-rail{display:none}
}

@media(max-width:760px){
  body.homepage-v2-active .site-header .header-inner{min-height:72px}
  .hpv2-hero{min-height:790px!important}
  .hpv2-hero-inner{padding:84px 22px 302px!important}
  .hpv2-hero h1{font-size:clamp(36px,10.5vw,49px)!important}
  .hpv2-hero-lead{font-size:14px}
  .hpv2-metrics{margin-top:30px!important;gap:20px 10px!important}
  .hpv2-metrics div{padding:0 14px}
  .hpv2-metrics strong{font-size:23px!important}
  .hpv2-highlight-shell{width:calc(100% - 24px)!important}
  .hpv2-highlights-panel{min-height:266px!important;padding:15px 14px 17px}
  .hpv2-highlights-heading{margin-left:2px}
  .hpv2-highlights-stage{grid-template-columns:1fr;gap:12px}
  .hpv2-highlight-grid{grid-template-columns:1fr}
  .hpv2-highlight-card{grid-template-columns:104px minmax(0,1fr);min-height:146px}
  .hpv2-highlight-card:nth-child(n+2){display:none}
  .hpv2-highlight-card-media,.hpv2-highlight-card-icon,.hpv2-highlight-card-media img{min-height:146px}
  .hpv2-highlight-card-copy h2{font-size:15px}
  .hpv2-highlights-nav{flex-direction:row;align-items:center;justify-content:space-between;padding:12px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.1)}
  .hpv2-highlights-arrows{margin-top:0}
  .hpv2-highlights-arrows button{width:38px;height:38px}
  .hpv2-group-editorial{padding-top:76px}
}

@media(prefers-reduced-motion:reduce){
  .hpv2-highlight-card,
  .hpv2-highlight-card-media img,
  .hpv2-hero-primary-link,
  .hpv2-highlights-arrows button{transition:none}
}
