/* =====================================================================
   DX 720 — tema azul (landing pública + portal de cursos)
   Carregado em /720/ e /720/membros/.
   ===================================================================== */

body.d720 {
  --paper:       #0C1424;
  --paper-2:     #111C31;
  --line:        rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.18);
  --ink:         #EAF0FB;
  --ink-2:       #9DACC6;
  --ink-3:       #74849F;
  --ink-4:       #52617A;
  --white:       #0A1120;

  --accent:      var(--blue);
  --accent-soft: rgba(47,107,228,.14);

  background: #070C18;
  color: var(--ink-2);
}

body.d720 h1, body.d720 h2, body.d720 h3, body.d720 h4 { color: #fff; }
body.d720 strong { color: #fff; }
body.d720 ::selection { background: var(--blue); color: #fff; }
body.d720 .eyebrow { color: var(--blue-light); }
body.d720 .rule { background: var(--blue); }
body.d720 .step__n { color: var(--blue); opacity: .26; }

/* --- Header --- */
body.d720 .header--solid, body.d720 .header.is-solid {
  background: rgba(10,17,32,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
body.d720 .header--solid .nav a, body.d720 .header.is-solid .nav a { color: rgba(255,255,255,.72); }
body.d720 .header--solid .nav a:hover, body.d720 .header.is-solid .nav a:hover { color: var(--blue-light); background: rgba(47,107,228,.14); }
body.d720 .header--solid .logo--light { display: block; }
body.d720 .header--solid .logo--dark  { display: none; }
body.d720 .header--solid .nav-toggle span { background: #fff; }
body.d720 .nav__sub { background: #101B33; border-color: rgba(255,255,255,.1); }
body.d720 .nav__sub a { color: rgba(255,255,255,.75) !important; }
body.d720 .nav__sub a:hover { background: rgba(255,255,255,.06) !important; color: var(--blue-light) !important; }
body.d720 .nav__sub-sep { background: rgba(255,255,255,.1); }
body.d720 .mnav { background: #0A1120; }
body.d720 .mnav a, body.d720 .mnav summary { color: #fff; border-color: rgba(255,255,255,.1); }
body.d720 .mnav details a { color: rgba(255,255,255,.65); }
body.d720.nav-open .nav-toggle span { background: #fff; }

/* --- Seções --- */
body.d720 .sec--paper { background: #0A1120; }
body.d720 .card { background: #101B33; border-color: rgba(255,255,255,.08); }
body.d720 .card:hover { border-color: rgba(47,107,228,.45); }
body.d720 .card__foot { background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.07); }
body.d720 .feat__ico { background: var(--accent-soft); color: var(--blue-light); }
body.d720 .tile { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); }
body.d720 .tile__n { color: #fff; }
body.d720 .tile__l { color: var(--ink-3); }
body.d720 .faq, body.d720 .faq__item { border-color: rgba(255,255,255,.09); }
body.d720 .faq__q { color: #fff; }
body.d720 .faq__q:hover, body.d720 .faq__item.is-open .faq__q { color: var(--blue-light); }
body.d720 .footer { background: #05080F; border-top: 1px solid rgba(47,107,228,.2); }

/* --- Hero 720 --- */
.phero--720 {
  padding-block: calc(var(--header-h) + clamp(4rem, 8vw, 6.5rem)) clamp(4rem, 8vw, 6.5rem);
  background: #070C18;
}
.phero--720::before {
  background:
    radial-gradient(900px 500px at 80% 15%, rgba(47,107,228,.32), transparent 62%),
    radial-gradient(600px 400px at 5% 90%, rgba(110,155,242,.12), transparent 65%),
    linear-gradient(180deg, #0D1730 0%, #070C18 100%);
}
/* grade sutil de fundo — remete a "plataforma" */
.phero--720::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* --- Card de curso (vitrine pública e portal) --- */
.course {
  background: #101B33;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.course:hover {
  transform: translateY(-4px);
  border-color: rgba(47,107,228,.5);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.85);
}
.course__thumb {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(150deg, #16264A, #0A1120);
  overflow: hidden;
}
.course__thumb img { width: 100%; height: 100%; object-fit: cover; }
.course__thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,12,24,.8), transparent 55%);
}
.course__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(47,107,228,.9);
  display: grid; place-items: center;
  box-shadow: 0 8px 26px -6px rgba(47,107,228,.8);
  transition: transform var(--t);
}
.course:hover .course__play { transform: translate(-50%, -50%) scale(1.12); }
.course__play svg { width: 18px; height: 18px; color: #fff; margin-left: 3px; }
.course__meta {
  position: absolute; left: .9rem; bottom: .8rem; z-index: 2;
  display: flex; gap: .45rem; flex-wrap: wrap;
}
.course__chip {
  padding: .24rem .6rem; border-radius: var(--r-xs);
  background: rgba(7,12,24,.78); backdrop-filter: blur(6px);
  font-family: var(--font-h); font-size: .64rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.86);
}
.course__chip--live { background: var(--red); color: #fff; }
.course__chip--new  { background: var(--blue); color: #fff; }
.course__body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.course__cat {
  font-family: var(--font-h); font-size: .66rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light);
  margin-bottom: .4rem;
}
.course h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.course p { font-size: .86rem; color: var(--ink-3); flex: 1; }
.course__foot {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-top: 1.1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-family: var(--font-h); font-size: .72rem; font-weight: 600; color: var(--ink-3);
}
.course__foot span { display: inline-flex; align-items: center; gap: .35rem; }
.course__foot svg { width: 13px; height: 13px; }

/* --- Barra de progresso do curso --- */
.cprog { margin-top: 1rem; }
.cprog__track { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.cprog__fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  width: 0; transition: width 1.2s var(--t);
}
.cprog__label {
  display: flex; justify-content: space-between; margin-top: .45rem;
  font-family: var(--font-h); font-size: .68rem; font-weight: 600; color: var(--ink-3);
}
.cprog__label b { color: var(--blue-light); }
.cprog--done .cprog__fill { background: linear-gradient(90deg, #16A34A, #4ADE80); }
.cprog--done .cprog__label b { color: #4ADE80; }

/* --- Trilha / módulos --- */
.track { display: grid; gap: .6rem; }
.lesson {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem;
  background: #101B33;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  transition: border-color var(--t), background var(--t), transform var(--t-fast);
}
.lesson:hover { border-color: rgba(47,107,228,.5); transform: translateX(3px); }
.lesson__n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  font-family: var(--font-h); font-size: .78rem; font-weight: 700; color: var(--ink-3);
}
.lesson.is-done .lesson__n {
  background: #16A34A; color: #fff;
  font-size: 0;
}
.lesson.is-done .lesson__n::after {
  content: ''; width: 13px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lesson.is-current { border-color: var(--blue); background: rgba(47,107,228,.1); }
.lesson.is-current .lesson__n { background: var(--blue); color: #fff; }
.lesson.is-locked { opacity: .5; pointer-events: none; }
.lesson__info { flex: 1; min-width: 0; }
.lesson__info h4 { font-size: .92rem; margin-bottom: .12rem; }
.lesson__info p { font-size: .76rem; color: var(--ink-4); }
.lesson__dur {
  flex: none; font-family: var(--font-h); font-size: .74rem;
  font-weight: 600; color: var(--ink-3);
}

/* --- Player --- */
.player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.95);
}
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #16264A, #070C18);
  color: rgba(255,255,255,.35);
  font-family: var(--font-h); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: 2rem;
}

/* --- Certificado --- */
.cert {
  position: relative;
  background: linear-gradient(140deg, #101B33, #0A1120);
  border: 1px solid rgba(47,107,228,.34);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  overflow: hidden;
}
.cert::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 50% 0%, rgba(47,107,228,.22), transparent 70%);
  pointer-events: none;
}
.cert__seal {
  width: 68px; height: 68px; border-radius: 50%;
  margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  background: rgba(47,107,228,.18);
  border: 2px solid var(--blue);
  color: var(--blue-light);
}
.cert__seal svg { width: 30px; height: 30px; }

/* --- Formulários no tema 720 --- */
body.d720 .form-card { background: #101B33; border: 1px solid rgba(47,107,228,.24); }
body.d720 .field input, body.d720 .field select, body.d720 .field textarea {
  background: #0A1120; border-color: rgba(255,255,255,.12); color: #fff;
}
body.d720 .field input:focus, body.d720 .field select:focus, body.d720 .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,228,.2);
}
body.d720 .field label { color: var(--ink-2); }
body.d720 .check { color: var(--ink-3); }
body.d720 .check input { accent-color: var(--blue); }

/* --- Filtros --- */
body.d720 .filter { background: transparent; border-color: rgba(255,255,255,.14); color: var(--ink-2); }
body.d720 .filter:hover { border-color: var(--blue); color: var(--blue-light); }
body.d720 .filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* --- CTA --- */
.cta--720 { background: #0A1428; }
.cta--720::before {
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(47,107,228,.34), transparent 68%),
    linear-gradient(120deg, #0A1428, #12234A);
}
.cta--720 p { color: rgba(255,255,255,.66); }

/* Na 720 a foto entra discreta — o protagonismo é do azul. */
.phero--720 .phero__img { opacity: .26; }
