/* PORTAL ENAI | layout jornalístico aprovado | somente a home do Portal */
.enai-showcase.home-page{background:#041024!important;color:#fff!important;--bg:#041024;--panel:#0b2143;--txt:#fff;--muted:#cddff2;--border:#17496e;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.enai-showcase a{text-decoration:none}
.enai-showcase .container{width:min(1300px,calc(100% - 44px));margin-left:auto;margin-right:auto}
.enai-showcase .enai-topbar{background:#071326;border-bottom:1px solid #173b66;color:#cadcf3;font-size:11px}
.enai-showcase .enai-topbar .container{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0;flex-wrap:wrap}
.enai-showcase .enai-topbar time{font-weight:750;white-space:nowrap}
.enai-showcase .enai-topbar span{letter-spacing:.045em;color:#b5cbe5}
.enai-showcase .enai-topbar a{font-weight:800;color:#bde2ff}
.enai-showcase .enai-header{background:linear-gradient(110deg,#051328 4%,#081d3e 66%,#072a57);border-bottom:1px solid #185080}
.enai-showcase .enai-header-inner{min-height:113px;display:flex;align-items:center;justify-content:space-between;gap:35px;padding:12px 0}
.enai-showcase .enai-logo{flex:0 0 275px;max-width:38%;display:flex;align-items:center;justify-content:center}
.enai-showcase .enai-logo img{display:block;width:100%;height:auto;max-height:84px;object-fit:contain;background:#fff;padding:8px 11px;border-radius:8px;box-shadow:0 7px 25px #0003}
.enai-showcase .enai-menu{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:clamp(8px,1.4vw,23px)}
.enai-showcase .enai-menu a{font-size:clamp(11px,1vw,14px);font-weight:760;padding:9px 2px;color:#f2f7ff;white-space:nowrap}
.enai-showcase .enai-menu a:hover,.enai-showcase .enai-menu a:focus-visible{color:#7be2ff}
.enai-showcase .enai-menu a[aria-current="page"]{padding:10px 15px;border-radius:6px;color:#fff;background:linear-gradient(135deg,#ee3430,#b50b1e)}
.enai-showcase .enai-menu a.enai-menu-course{padding:9px 13px;border-radius:7px;border:1px solid #3179b2;color:#bce5ff}
.enai-showcase .enai-top-stories{padding-top:17px}
.enai-showcase .enai-feature{position:relative;min-height:472px;border-radius:12px;border:1px solid #1260a6;background:#0a1e39;overflow:hidden;box-shadow:0 0 0 2px #15477533,0 13px 35px #0005}
.enai-showcase .enai-feature-slide{position:absolute;inset:0;color:#fff;display:none;overflow:hidden}
.enai-showcase .enai-feature-slide.is-active{display:block}
.enai-showcase .enai-feature-photo,.enai-showcase .enai-feature-slide:after{position:absolute;inset:0}
.enai-showcase .enai-feature-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.enai-showcase .enai-feature-slide:after{content:"";pointer-events:none;background:linear-gradient(92deg,rgba(3,15,35,.97) 0%,rgba(5,22,47,.94) 30%,rgba(5,22,47,.54) 58%,rgba(3,15,35,.10) 100%),linear-gradient(0deg,#0312265e,transparent 30%)}
.enai-showcase .enai-feature-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:min(640px,66%);min-height:472px;padding:46px 48px 58px}
.enai-showcase .enai-kicker{display:inline-block;background:#de2430;color:white;font-size:11px;letter-spacing:.04em;border-radius:4px;font-weight:900;padding:7px 11px}
.enai-showcase .enai-feature-copy strong{color:white;font-size:clamp(28px,3.15vw,47px);letter-spacing:-.042em;line-height:1.12;font-weight:900;margin:17px 0 14px;text-shadow:0 4px 19px #0009}
.enai-showcase .enai-feature-sub{color:#e2edff;font-size:clamp(13px,1.3vw,17px);line-height:1.54;max-width:540px}
.enai-showcase .enai-feature-cta{display:inline-flex;align-items:center;gap:17px;color:#fff;font-size:14px;font-weight:850;background:linear-gradient(120deg,#f04638,#bf131e);padding:12px 23px;border-radius:6px;margin-top:22px}
.enai-showcase .enai-feature-credit{position:absolute;z-index:2;right:15px;bottom:12px;font-size:10px;color:#e8f0fa;text-shadow:0 2px 5px #000b}
.enai-showcase .enai-slider-buttons{position:absolute;bottom:15px;left:50%;z-index:3;display:flex;gap:9px;transform:translateX(-50%)}
.enai-showcase .enai-slider-buttons button{height:11px;width:11px;min-width:11px;padding:0;border-radius:50%;background:#acc2d3;border:1px solid #cbdcea;cursor:pointer}
.enai-showcase .enai-slider-buttons button.is-active{background:#f43b35;border-color:#f43b35;transform:scale(1.15)}
.enai-showcase .enai-slider-buttons button:focus-visible{outline:2px solid white;outline-offset:3px}
.enai-showcase .enai-topic-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:15px 0 18px;border:1px solid #26669a;border-radius:11px;background:linear-gradient(120deg,#0e3761,#081d3d 65%,#0a3762);overflow:hidden;box-shadow:0 6px 24px #0003}
.enai-showcase .enai-topic{display:flex;position:relative;align-items:center;gap:14px;padding:19px 17px;color:#f7faff;min-width:0}
.enai-showcase .enai-topic:not(:last-child):after{content:"";position:absolute;right:0;top:22%;height:56%;width:1px;background:#4183b9}
.enai-showcase .enai-topic svg{flex:0 0 32px;color:#bbdfff}
.enai-showcase .enai-topic strong{display:block;font-size:14px;line-height:1.15}
.enai-showcase .enai-topic small{display:block;font-size:11px;color:#c5dff2;line-height:1.35;margin-top:3px}
.enai-showcase .enai-topic:hover{background:#fff1}
.enai-showcase .enai-story-area{background:#f4f7fb;padding:14px 0 75px;color:#15233a}
.enai-showcase .enai-story-sheet{background:#fff;border-radius:9px;padding:27px 27px 35px;box-shadow:0 8px 34px #071f3909}
.enai-showcase .enai-story-sheet>h1{margin:0 0 25px;border-left:5px solid #e92233;padding-left:14px;color:#0b2142;font-weight:900;font-size:clamp(26px,2.6vw,38px);line-height:1.1;letter-spacing:-.04em}
.enai-showcase .enai-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.enai-showcase .enai-story{display:flex;min-width:0;flex-direction:column;background:#fff;border:1px solid #e0e8f2;border-radius:9px;overflow:hidden;transition:transform .2s,box-shadow .2s;color:#132439}
.enai-showcase .enai-story:hover{transform:translateY(-3px);box-shadow:0 13px 28px #112a4922}
.enai-showcase .enai-story-photo{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:#d7e2ed}
.enai-showcase .enai-story-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.enai-showcase .enai-story:hover .enai-story-photo img{transform:scale(1.03)}
.enai-showcase .enai-story-photo small{position:absolute;bottom:7px;right:7px;background:#05152ca8;color:#fff;font-size:10px;padding:4px 7px;border-radius:4px}
.enai-showcase .enai-story-copy{display:flex;flex:1;flex-direction:column;gap:9px;padding:17px}
.enai-showcase .enai-story-copy em{font-style:normal;font-size:11px;color:#c22635;font-weight:850;letter-spacing:.05em}
.enai-showcase .enai-story-copy strong{color:#142c48;font-weight:850;line-height:1.24;letter-spacing:-.025em;font-size:clamp(18px,1.55vw,22px)}
.enai-showcase .enai-story-copy>span{font-size:13px;color:#5b6d7e;line-height:1.5}
.enai-showcase .enai-story-copy b{color:#1260ad;font-size:12px;margin-top:auto;padding-top:7px}
.enai-showcase .enai-more-news{margin-top:36px;border-top:1px solid #e4ebf2;padding-top:28px}
.enai-showcase .enai-more-news .section-head{display:flex;justify-content:space-between;align-items:end;gap:15px}
.enai-showcase .enai-more-news .home-kicker{color:#c52d3b}
.enai-showcase .enai-more-news .section-title{font-size:clamp(22px,2.4vw,31px);color:#132941}
.enai-showcase .enai-more-news .section-head a{color:#1364aa;font-weight:850}
.enai-showcase.home-page .enai-more-news .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.enai-showcase.home-page .enai-more-news .cards .card{display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#182e44;border:1px solid #dde6ed;border-radius:9px;min-height:240px;padding:0;box-shadow:none}
.enai-showcase.home-page .enai-more-news .cards .card img{width:100%;height:170px;object-fit:cover;display:block}
.enai-showcase.home-page .enai-more-news .cards .card .eyebrow{color:#c22a38;font-size:10px}
.enai-showcase.home-page .enai-more-news .cards .card h3{font-size:18px;color:#182d42;line-height:1.27}
.enai-showcase.home-page .enai-more-news .cards .card p{font-size:13px;color:#5d6c7f}
.enai-showcase.home-page .enai-more-news .cards .card .read{color:#1469b0;font-weight:800}
.enai-showcase .enai-school{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:27px;padding:23px;border-radius:9px;background:linear-gradient(115deg,#0d3261,#07162e);color:#fff}
.enai-showcase .enai-school strong{font-size:19px}
.enai-showcase .enai-school p{font-size:13px;color:#d3e2f2;margin:7px 0 0}
.enai-showcase .enai-school a{background:#d7212e;border-radius:6px;color:#fff;padding:12px 15px;font-weight:850;white-space:nowrap}
.enai-showcase .enai-footer{background:#061428;border-top:3px solid #176aab;padding:33px 0;color:#c6d9ec}
.enai-showcase .enai-footer .container{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
.enai-showcase .enai-footer-logo{display:block;width:205px;height:auto;padding:6px;border-radius:6px;background:white}
.enai-showcase .enai-footer-signature{display:block;width:auto;max-width:180px;max-height:72px}
.enai-showcase .enai-footer small{font-size:12px;color:#cadbed;line-height:1.65}
.enai-showcase .enai-footer a{color:#87c8ff}
@media(max-width:1050px){.enai-showcase .enai-header-inner{gap:16px}.enai-showcase .enai-logo{flex-basis:235px}.enai-showcase .enai-menu{gap:4px 11px}.enai-showcase .enai-menu a{font-size:12px}.enai-showcase .enai-topic{padding:15px 10px;gap:8px}.enai-showcase .enai-topic strong{font-size:12px}.enai-showcase .enai-topic svg{width:26px;flex-basis:26px}}
@media(max-width:700px){
.enai-showcase .container{width:min(100% - 24px,600px)}
.enai-showcase .enai-topbar .container{justify-content:center;gap:8px}.enai-showcase .enai-topbar span{display:none}
.enai-showcase .enai-header-inner{flex-direction:column;align-items:stretch;justify-content:center;gap:12px;padding:11px 0}
.enai-showcase .enai-logo{max-width:100%;width:235px;align-self:center;flex:0 0 auto}
.enai-showcase .enai-menu{justify-content:center;gap:4px 10px}
.enai-showcase .enai-menu a{font-size:11px;padding:7px 2px}.enai-showcase .enai-menu a[aria-current="page"]{padding:8px 11px}
.enai-showcase .enai-top-stories{padding-top:10px}
.enai-showcase .enai-feature,.enai-showcase .enai-feature-copy{min-height:470px}
.enai-showcase .enai-feature-copy{width:100%;padding:30px 22px 55px;justify-content:flex-end}
.enai-showcase .enai-feature-slide:after{background:linear-gradient(0deg,#031128fa 0%,#051a35ea 43%,#04122419 86%)}
.enai-showcase .enai-feature-copy strong{font-size:clamp(25px,6.8vw,36px)}
.enai-showcase .enai-feature-sub{font-size:13px;line-height:1.42}
.enai-showcase .enai-feature-cta{font-size:12px;padding:10px 15px;margin-top:13px}
.enai-showcase .enai-feature-credit{top:12px;bottom:auto;font-size:9px}
.enai-showcase .enai-topic-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:13px}
.enai-showcase .enai-topic{min-height:84px;padding:12px;gap:10px}.enai-showcase .enai-topic:nth-child(2):after{display:none}
.enai-showcase .enai-story-area{padding-top:10px}
.enai-showcase .enai-story-sheet{padding:22px 12px}
.enai-showcase .enai-story-grid,.enai-showcase.home-page .enai-more-news .cards{grid-template-columns:1fr}
.enai-showcase .enai-more-news .section-head{align-items:start;flex-direction:column}
.enai-showcase .enai-school{align-items:flex-start;flex-direction:column}
.enai-showcase .enai-footer .container{align-items:flex-start;flex-direction:column;gap:17px}
}
@media(prefers-reduced-motion:reduce){.enai-showcase .enai-story,.enai-showcase .enai-story-photo img{transition:none}}

/* ENAI_HEADER_20261106 */
/* Cabeçalho oficial aprovado: marca original sem caixa branca, globo sutil, menu compacto. */
.enai-showcase .enai-header{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-bottom:1px solid #1b71ac;
  background-color:#04152f;
  background-image:
    linear-gradient(90deg,#04152f 0%,rgba(5,22,49,.96) 37%,rgba(4,24,53,.68) 73%,rgba(4,20,46,.45) 100%),
    url('/assets/enai-globo-tecnologico.svg');
  background-repeat:no-repeat,no-repeat;
  background-position:center center,right -42px center;
  background-size:cover,auto 230px;
}
.enai-showcase .enai-header:after{
  content:"";position:absolute;bottom:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent,#116bb0 48%,#43c3fa 79%,transparent);
  opacity:.38;pointer-events:none;z-index:0;
}
.enai-showcase .enai-header-inner{
  position:relative;z-index:1;
  min-height:118px;gap:clamp(20px,3vw,44px);padding:12px 0 11px;
}
.enai-showcase .enai-logo{
  box-sizing:border-box;
  flex:0 0 clamp(238px,22vw,290px);
  max-width:290px;
  min-width:0;
  align-items:center;justify-content:center;flex-direction:column;
  gap:3px;
  color:#e7f5ff;
  text-align:center;
  text-decoration:none;
}
.enai-showcase .enai-logo .enai-logo-mark{
  width:100%;max-width:290px;max-height:none;height:auto;
  display:block;padding:0!important;margin:0;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  object-fit:contain;
  filter:drop-shadow(0 2px 9px rgba(6,102,207,.36));
}
.enai-showcase .enai-logo-overline{
  font-weight:850;font-size:clamp(9px,.85vw,12px);
  letter-spacing:.24em;line-height:1.15;
  color:#edf8ff;text-shadow:0 1px 6px #0009;
  white-space:nowrap;
}
.enai-showcase .enai-logo-tagline{
  color:#e3f2ff;font-size:clamp(8px,.69vw,10px);
  font-weight:800;letter-spacing:.18em;line-height:1.2;
  text-shadow:0 1px 5px #0009;
  white-space:nowrap;
}
.enai-showcase .enai-logo-tagline b{color:#f02239;padding:0 4px;font-weight:900}
.enai-showcase .enai-menu{
  flex:1 1 auto;gap:clamp(9px,1.55vw,23px);
  justify-content:flex-end;align-items:center;
  flex-wrap:wrap;
}
.enai-showcase .enai-menu a{
  color:#eaf5ff;font-size:clamp(11px,1.05vw,14px);
  font-weight:800;letter-spacing:-.015em;
  text-shadow:0 1px 3px #0008;
}
.enai-showcase .enai-menu a[aria-current="page"]{
  padding:11px 16px;
  box-shadow:0 3px 15px rgba(194,25,38,.2);
}
.enai-showcase .enai-menu a.enai-menu-course{
  background:rgba(5,23,53,.38);
  border:1px solid #327eaf;color:#bde8ff;
  padding:10px 13px;border-radius:6px;
}
.enai-showcase .enai-topbar{
  background:#041024;
  border-bottom:1px solid #24466d;
  color:#d4e8fc;
}
.enai-showcase .enai-topbar .container{min-height:28px;padding:5px 0;gap:12px}
.enai-showcase .enai-topbar time{
  font-size:11px;color:#dceafa;font-weight:720;
}
.enai-showcase .enai-topbar span{
  color:#c0d4ea;font-size:11px;
  letter-spacing:.025em;
}
.enai-showcase .enai-header-social{display:flex;align-items:center;gap:12px}
.enai-showcase .enai-header-social a{
  display:inline-flex;align-items:center;gap:6px;
  color:#eef8ff;font-weight:850;text-decoration:none;
}
.enai-showcase .enai-header-social a svg{
  display:inline-block;flex:0 0 16px;
}
.enai-showcase .enai-header-social a:hover{color:#65cbff}
@media(max-width:1050px){
 .enai-showcase .enai-header-inner{gap:18px}
 .enai-showcase .enai-logo{flex-basis:clamp(205px,23vw,260px);max-width:260px}
 .enai-showcase .enai-menu{gap:5px 11px}
 .enai-showcase .enai-menu a{font-size:12px}
}
@media(max-width:700px){
 .enai-showcase .enai-header{
  background-position:center center,right -85px top -25px;
  background-size:cover,auto 200px;
 }
 .enai-showcase .enai-header-inner{
  min-height:unset;display:flex;flex-direction:column;gap:12px;
  align-items:center;justify-content:center;padding:14px 0 12px;
 }
 .enai-showcase .enai-logo{max-width:245px;width:245px;flex:0 0 auto}
 .enai-showcase .enai-logo .enai-logo-mark{max-width:245px}
 .enai-showcase .enai-logo-overline{font-size:10px}
 .enai-showcase .enai-logo-tagline{font-size:9px}
 .enai-showcase .enai-menu{justify-content:center;gap:5px 8px;width:100%}
 .enai-showcase .enai-menu a{font-size:11px;padding:8px 3px}
 .enai-showcase .enai-menu a.enai-menu-course{padding:8px 9px}
 .enai-showcase .enai-topbar .container{justify-content:space-between}
 .enai-showcase .enai-header-social a span{display:none}
}
@media(max-width:385px){
 .enai-showcase .enai-topbar time{font-size:10px}
 .enai-showcase .enai-menu{gap:3px 7px}
 .enai-showcase .enai-menu a{font-size:10px}
}


/* ENAI_HEADER_GLOBE_VISIBILITY_FIX */
.enai-showcase .enai-header{
 background-image:linear-gradient(110deg,#04152f 0%,#071b3c 55%,#052650 100%);
}
.enai-showcase .enai-header::before{
 content:"";position:absolute;right:-16px;top:0;bottom:0;width:min(740px,64%);
 z-index:0;pointer-events:none;opacity:.96;
 background-image:url('/assets/enai-globo-tecnologico.svg');
 background-repeat:no-repeat;
 background-size:100% auto;
 background-position:right top -8px;
 filter:drop-shadow(0 0 10px rgba(11,105,228,.35));
}
.enai-showcase .enai-menu a[aria-current="page"]{
 color:#fff!important;
 background:#e51e2f!important;
 border:1px solid #e92d3b!important;
 box-shadow:0 4px 13px rgba(181,16,33,.24)!important;
}
@media(max-width:700px){
 .enai-showcase .enai-header::before{width:100%;right:-28%;opacity:.52;background-position:right top -22px}
}


/* ENAI_HEADER_WHITE_OFFICIAL_20261106
   Layout aprovado: tarja branca, globo azul-claro, logo ENAI original e navegação azul-marinho.
   Restrito à home do Portal ENAI; não altera o site da Escola Nacional de IA. */
.enai-showcase .enai-topbar{
  background:#fff!important;
  color:#19334f!important;
  border-bottom:1px solid #e2ebf3!important;
}
.enai-showcase .enai-topbar time,
.enai-showcase .enai-topbar span,
.enai-showcase .enai-header-social a{
  color:#19334f!important;
  text-shadow:none!important;
}
.enai-showcase .enai-header-social a:hover,
.enai-showcase .enai-header-social a:focus-visible{
  color:#0875c6!important;
}
.enai-showcase .enai-header{
  background:#fff!important;
  background-image:linear-gradient(105deg,#fff 0%,#fff 51%,#f9fdff 100%)!important;
  border-bottom:1px solid #d9e5ee!important;
}
.enai-showcase .enai-header::before{
  background-image:url('/assets/enai-globo-tecnologico.svg')!important;
  right:-20px;
  width:min(790px,62%);
  opacity:.36!important;
  filter:saturate(.65) brightness(1.65)!important;
  background-size:100% auto;
  background-position:right top -12px;
}
.enai-showcase .enai-header::after{
  background:#dce7f1!important;
  opacity:1!important;
  height:1px!important;
}
.enai-showcase .enai-logo-overline,
.enai-showcase .enai-logo-tagline{
  color:#061d3c!important;
  text-shadow:none!important;
}
.enai-showcase .enai-logo .enai-logo-mark{
  background:transparent!important;
  filter:drop-shadow(0 2px 3px rgba(10,50,100,.08))!important;
}
.enai-showcase .enai-menu a:not([aria-current="page"]){
  color:#091e3f!important;
  text-shadow:none!important;
}
.enai-showcase .enai-menu a:not([aria-current="page"]):hover,
.enai-showcase .enai-menu a:not([aria-current="page"]):focus-visible{
  color:#0869bd!important;
}
.enai-showcase .enai-menu a[aria-current="page"]{
  background:#e51e2f!important;
  color:#fff!important;
  border-color:#e51e2f!important;
  text-shadow:none!important;
  box-shadow:0 4px 12px rgba(229,30,47,.15)!important;
}
.enai-showcase .enai-menu a.enai-menu-course{
  border:1px solid #164785!important;
  background:rgba(255,255,255,.7)!important;
  color:#0b2853!important;
  border-radius:7px;
}
@media(max-width:700px){
  .enai-showcase .enai-header::before{
    width:95%;
    right:-34%;
    opacity:.20!important;
    background-position:right top -12px;
  }
  .enai-showcase .enai-header-inner{
    gap:11px;
  }
}
