/* IETEF Campus 7.1 — experiência padrão inspirada em plataformas de streaming */
:root{
  --ietef-stream-bg:#0b0f0e;
  --ietef-stream-surface:#111816;
  --ietef-stream-surface-2:#17211e;
  --ietef-stream-text:#f5f7f6;
  --ietef-stream-muted:#a8b2ae;
  --ietef-stream-line:rgba(255,255,255,.09);
  --ietef-stream-accent:var(--ietef-secondary,#c7a35a);
}

/* Campus inicial */
.ietef-app.ietef-streaming-home,
.ietef-app.ietef-streaming-shell{
  max-width:none;
  width:min(100%,1600px);
  background:var(--ietef-stream-bg);
  color:var(--ietef-stream-text);
  border-radius:24px;
  padding:20px 22px 36px;
  box-shadow:0 24px 90px rgba(0,0,0,.18);
}
.ietef-streaming-home .ietef-topbar,
.ietef-streaming-shell .ietef-topbar{margin-bottom:16px}
.ietef-streaming-home .ietef-wordmark,
.ietef-streaming-shell .ietef-wordmark,
.ietef-streaming-home .ietef-topbar a,
.ietef-streaming-shell .ietef-topbar a{color:#fff!important}
.ietef-streaming-home .ietef-topbar a:hover,
.ietef-streaming-shell .ietef-topbar a:hover{color:var(--ietef-stream-accent)!important}
.ietef-streaming-home .ietef-hero{
  min-height:290px;
  border-radius:22px;
  background:
    radial-gradient(circle at 80% 20%,rgba(199,163,90,.25),transparent 28%),
    linear-gradient(110deg,#10241f 0%,#0c1613 58%,#09100e 100%);
  border:1px solid var(--ietef-stream-line);
  box-shadow:inset 0 -60px 100px rgba(0,0,0,.12);
}
.ietef-streaming-home .ietef-hero h1{font-size:clamp(34px,5vw,66px)}
.ietef-streaming-home .ietef-section-title,
.ietef-streaming-home .ietef-campus-tools h2{color:#fff}
.ietef-streaming-home .ietef-grid{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  padding:2px 2px 18px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.25) transparent;
}
.ietef-streaming-home .ietef-card{
  flex:0 0 min(360px,82vw);
  scroll-snap-align:start;
  background:var(--ietef-stream-surface);
  color:#fff;
  border-color:var(--ietef-stream-line);
  box-shadow:0 12px 34px rgba(0,0,0,.25);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.ietef-streaming-home .ietef-card:hover{transform:translateY(-5px) scale(1.015);border-color:rgba(199,163,90,.42);box-shadow:0 22px 48px rgba(0,0,0,.34)}
.ietef-streaming-home .ietef-card-body h3{color:#fff}
.ietef-streaming-home .ietef-card-meta span{color:var(--ietef-stream-muted)}
.ietef-streaming-home .ietef-progress{background:rgba(255,255,255,.12)}
.ietef-streaming-home .ietef-campus-tools{border-top:1px solid var(--ietef-stream-line);margin-top:24px;padding-top:18px}

/* Visão inicial do curso */
.ietef-streaming-overview{display:block;min-width:0}
.ietef-streaming-hero{
  position:relative;
  min-height:430px;
  border-radius:22px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  margin:0 0 28px;
  background:
    linear-gradient(90deg,rgba(5,10,8,.98) 0%,rgba(5,10,8,.9) 42%,rgba(5,10,8,.42) 72%,rgba(5,10,8,.15) 100%),
    var(--ietef-streaming-cover,linear-gradient(135deg,#173f35,#09120f));
  background-size:cover;
  background-position:center;
  border:1px solid var(--ietef-stream-line);
  box-shadow:0 28px 70px rgba(0,0,0,.34);
}
.ietef-streaming-hero:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(transparent,var(--ietef-stream-bg));pointer-events:none}
.ietef-streaming-hero-shade{position:absolute;inset:0;background:radial-gradient(circle at 75% 22%,rgba(199,163,90,.15),transparent 28%);pointer-events:none}
.ietef-streaming-hero-copy{position:relative;z-index:1;max-width:780px;padding:clamp(30px,5vw,64px);padding-bottom:52px}
.ietef-streaming-label{display:inline-flex;align-items:center;gap:8px;color:var(--ietef-stream-accent);font-size:12px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.ietef-streaming-hero h1{color:#fff;margin:10px 0 14px;font-size:clamp(38px,6vw,76px);line-height:.98;letter-spacing:-.035em;max-width:820px}
.ietef-streaming-hero p{font-size:clamp(16px,1.8vw,21px);line-height:1.55;color:#dbe1de;max-width:680px;margin:0 0 18px}
.ietef-streaming-meta{display:flex;flex-wrap:wrap;gap:8px 16px;color:#c6cfcb;font-size:13px;font-weight:650;margin-bottom:14px}
.ietef-streaming-meta span:not(:last-child):after{content:"•";margin-left:16px;color:#65726c}
.ietef-streaming-progress{width:min(540px,100%);height:6px;background:rgba(255,255,255,.16);border-radius:999px;overflow:hidden;margin-bottom:18px}
.ietef-streaming-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--ietef-stream-accent),#e3c97c);border-radius:inherit}
.ietef-streaming-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ietef-streaming-play,.ietef-streaming-primary-cta{
  display:inline-flex;align-items:center;gap:9px;
  background:#fff!important;color:#101412!important;
  padding:12px 19px;border-radius:9px;text-decoration:none!important;
  font-weight:850;box-shadow:0 8px 24px rgba(0,0,0,.24);
  transition:transform .18s ease,background .18s ease;
}
.ietef-streaming-play:hover,.ietef-streaming-primary-cta:hover{background:#e9eeeb!important;transform:translateY(-2px)}
.ietef-streaming-count{font-size:13px;color:var(--ietef-stream-muted)}

/* Trilhos */
.ietef-streaming-row,.ietef-streaming-public-row{margin:0 0 30px}
.ietef-streaming-row>header,.ietef-streaming-public-row>header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}
.ietef-streaming-row h2,.ietef-streaming-public-row h3{color:#fff;margin:2px 0 0;font-size:clamp(20px,2.4vw,30px);line-height:1.1}
.ietef-streaming-row-kicker,.ietef-streaming-public-row header span{display:block;color:var(--ietef-stream-accent);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.13em}
.ietef-streaming-row-controls{display:flex;gap:7px}
.ietef-streaming-row-controls button{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);color:#fff;font-size:25px;line-height:1;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.ietef-streaming-row-controls button:hover{background:rgba(255,255,255,.13);border-color:rgba(199,163,90,.48)}
.ietef-streaming-track{display:flex;gap:12px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;padding:4px 2px 12px;scrollbar-width:none}
.ietef-streaming-track::-webkit-scrollbar{display:none}
.ietef-streaming-card{
  position:relative;flex:0 0 clamp(210px,22vw,290px);min-width:0;
  display:flex;flex-direction:column;overflow:hidden;scroll-snap-align:start;
  background:#151c1a;color:#fff!important;border:1px solid var(--ietef-stream-line);
  border-radius:12px;text-decoration:none!important;box-shadow:0 10px 28px rgba(0,0,0,.25);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.ietef-streaming-card[href]:hover{transform:translateY(-5px) scale(1.025);z-index:2;box-shadow:0 22px 44px rgba(0,0,0,.42);border-color:rgba(199,163,90,.45)}
.ietef-streaming-card:focus-visible{outline:3px solid var(--ietef-stream-accent);outline-offset:3px}
.ietef-streaming-card-art{height:126px;position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1f4d40,#13231e);overflow:hidden}
.ietef-streaming-card.tone-2 .ietef-streaming-card-art{background:linear-gradient(135deg,#4a3e24,#1a211c)}
.ietef-streaming-card.tone-3 .ietef-streaming-card-art{background:linear-gradient(135deg,#263b48,#10201c)}
.ietef-streaming-card-art:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,transparent 25%,rgba(255,255,255,.05),transparent 68%)}
.ietef-streaming-episode{position:absolute;left:12px;top:10px;font-size:11px;font-weight:900;letter-spacing:.12em;color:rgba(255,255,255,.78)}
.ietef-streaming-card-icon{position:relative;z-index:1;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(8,12,10,.66);border:1px solid rgba(255,255,255,.18);font-size:18px}
.ietef-streaming-card-body{padding:13px 14px 15px;min-height:100px;display:flex;flex-direction:column;justify-content:space-between}
.ietef-streaming-card-body h3,.ietef-streaming-card-body h4{margin:0;color:#fff;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ietef-streaming-card-state{margin-top:12px;color:#aab4b0;font-size:11px;font-weight:700}
.ietef-streaming-card.is-complete{border-color:rgba(80,194,139,.3)}
.ietef-streaming-card.is-complete .ietef-streaming-card-state{color:#6dd0a4}
.ietef-streaming-card.is-locked{opacity:.58;filter:saturate(.45)}
.ietef-streaming-assessment .ietef-streaming-card-art{background:linear-gradient(135deg,#5c4820,#241d12)}

/* Aula aberta */
.ietef-streaming-shell .ietef-course-head{background:transparent;border-radius:0;border-bottom:1px solid var(--ietef-stream-line);padding:12px 0 18px;margin-bottom:8px}
.ietef-streaming-shell .ietef-course-head h1{font-size:clamp(24px,3.2vw,42px)}
.ietef-streaming-shell>.ietef-progress{height:5px;background:rgba(255,255,255,.12)}
.ietef-streaming-shell .ietef-layout{gap:16px}
.ietef-streaming-shell .ietef-sidebar{background:#101614;border-color:var(--ietef-stream-line);box-shadow:0 16px 40px rgba(0,0,0,.22)}
.ietef-streaming-shell .ietef-module{border-bottom-color:var(--ietef-stream-line)}
.ietef-streaming-shell .ietef-module h3{color:#88948f}
.ietef-streaming-shell .ietef-nav-item{color:#e9efec!important}
.ietef-streaming-shell .ietef-nav-item:hover,.ietef-streaming-shell .ietef-nav-item.active{background:rgba(255,255,255,.08)}
.ietef-streaming-shell .ietef-content{background:#101614;border-color:var(--ietef-stream-line);color:#e9efec;box-shadow:0 18px 50px rgba(0,0,0,.26)}
.ietef-streaming-shell .ietef-content h2,.ietef-streaming-shell .ietef-content h3,.ietef-streaming-shell .ietef-prose{color:#f4f7f5}
.ietef-streaming-shell .ietef-source-document iframe{background:#fff;border-color:#28332f!important;border-radius:10px!important}
.ietef-streaming-shell .ietef-btn.ghost{background:#19211e;color:#fff!important;border-color:#34423c}
.ietef-streaming-shell .ietef-lesson-nav{border-top-color:var(--ietef-stream-line)}
.ietef-streaming-shell .ietef-finish{background:#131a17;border-color:rgba(199,163,90,.3);color:#fff}
.ietef-streaming-shell .ietef-finish h2{color:#fff}

/* Página pública do curso */
.single-ietef_course .ietef-site-main{background:#070b0a}
.single-ietef_course .ietef-site-content{max-width:1500px!important;padding-top:12px;padding-bottom:50px}
.single-ietef_course .ietef-site-header{background:rgba(7,11,10,.96);border-bottom:1px solid rgba(255,255,255,.06);position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}
.single-ietef_course .ietef-site-header a{color:#eef3f0!important}
.single-ietef_course .ietef-site-footer{background:#070b0a;color:#aeb8b3;border-top:1px solid rgba(255,255,255,.07)}
.ietef-streaming-sales{color:#f2f5f3}
.ietef-streaming-sales .ietef-sales-hero{
  min-height:440px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.7fr);align-items:center;
  gap:30px;padding:clamp(28px,5vw,66px);border-radius:22px;background:linear-gradient(110deg,#0d1d18,#080c0b);border:1px solid rgba(255,255,255,.08);overflow:hidden;box-shadow:0 26px 72px rgba(0,0,0,.35)
}
.ietef-streaming-sales .ietef-sales-hero h1{font-size:clamp(38px,5.6vw,72px);line-height:.98;letter-spacing:-.04em;color:#fff;margin:10px 0 16px}
.ietef-streaming-sales .ietef-sales-hero p{color:#ced7d3;font-size:18px;line-height:1.55}
.ietef-streaming-sales .ietef-sales-hero-media{max-height:340px;border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#153c31,#0b1512);box-shadow:0 20px 50px rgba(0,0,0,.34)}
.ietef-streaming-sales .ietef-sales-hero-media picture,.ietef-streaming-sales .ietef-sales-hero-media img{display:block;width:100%;height:100%;max-height:340px;object-fit:cover}
.ietef-streaming-sales .ietef-sales-section{background:#0f1513!important;border-color:rgba(255,255,255,.08)!important;color:#edf2ef;box-shadow:none!important}
.ietef-streaming-sales .ietef-sales-section h2,.ietef-streaming-sales .ietef-sales-section h3{color:#fff}
.ietef-streaming-sales .ietef-sales-section-head p,.ietef-streaming-sales .ietef-sales-prose{color:#c4cdc9}
.ietef-streaming-public-curriculum{padding:28px 0!important;background:transparent!important;border:0!important}
.ietef-streaming-public-curriculum>.ietef-sales-section-head{padding:0 4px 16px}
.ietef-streaming-public-rails{display:block}
.ietef-streaming-public-row h3{font-size:clamp(20px,2.2vw,28px)}

/* Responsividade */
@media(max-width:900px){
  .ietef-streaming-hero{min-height:370px;background-position:center}
  .ietef-streaming-hero-copy{max-width:100%;padding:34px 28px 42px}
  .ietef-streaming-sales .ietef-sales-hero{grid-template-columns:1fr;min-height:auto}
  .ietef-streaming-sales .ietef-sales-hero-media{max-height:260px}
  .ietef-streaming-card{flex-basis:245px}
}
@media(max-width:620px){
  .ietef-app.ietef-streaming-home,.ietef-app.ietef-streaming-shell{margin:0 auto;padding:10px 12px 28px;border-radius:0}
  .ietef-streaming-hero{min-height:430px;border-radius:16px;background-position:68% center}
  .ietef-streaming-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0b0f0e 0%,rgba(11,15,14,.75) 48%,rgba(11,15,14,.34) 100%)}
  .ietef-streaming-hero-copy{padding:24px 20px 30px;align-self:flex-end}
  .ietef-streaming-hero h1{font-size:clamp(34px,11vw,50px)}
  .ietef-streaming-meta span:not(:last-child):after{display:none}
  .ietef-streaming-row-controls{display:none}
  .ietef-streaming-card{flex-basis:205px}
  .ietef-streaming-card-art{height:110px}
  .ietef-streaming-shell .ietef-layout{display:grid;grid-template-columns:1fr!important}
  .ietef-streaming-shell .ietef-content{padding:18px}
  .single-ietef_course .ietef-site-content{padding-left:10px!important;padding-right:10px!important}
  .ietef-streaming-sales .ietef-sales-hero{padding:24px 18px;border-radius:16px}
  .ietef-streaming-sales .ietef-sales-hero h1{font-size:clamp(34px,10vw,52px)}
}
@media(prefers-reduced-motion:reduce){
  .ietef-streaming-track{scroll-behavior:auto}
  .ietef-streaming-card,.ietef-streaming-home .ietef-card,.ietef-streaming-play,.ietef-streaming-primary-cta{transition:none}
  .ietef-streaming-card[href]:hover,.ietef-streaming-home .ietef-card:hover,.ietef-streaming-play:hover,.ietef-streaming-primary-cta:hover{transform:none}
}

/* 7.2 discipline-first streaming cards */
.ietef-streaming-card-meta{display:block;margin-bottom:6px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;opacity:.72}
.ietef-streaming-discipline .ietef-streaming-card-art:after{content:"DISCIPLINA";position:absolute;right:12px;bottom:10px;font-size:10px;letter-spacing:.08em;opacity:.7}
