/* Sou Aluno — estilos das seções (blocos unileao/sa-*).
   Base visual portada de css/hub-aluno.css. Carregado só na página /sou-aluno/
   (template page-sou-aluno.php) e injetado no iframe do editor. */

/* ── Keyframes ── */
@keyframes sa-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Base ── */
.sa-page { font-family: 'Inter', Arial, sans-serif; background: #f9f9f9; color: #1a1a1a; }
/* Sem sublinhado (a "linha") ao passar o mouse em qualquer link da página. */
.sa-page a:hover, .sa-page a:focus { text-decoration: none; }

/* ── HUB HERO (mobile only — full-width com imagem) ── */
.hub-hero { display: none; position: relative; width: 100%; height: 520px; overflow: hidden; }
.hub-hero__bg { position: absolute; inset: 0; }
.hub-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hub-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient( to top, rgba(5,10,25,.98) 0%, rgba(5,10,25,.85) 45%, rgba(5,10,25,.55) 100% );
}
.hub-hero__back { position: absolute; top: 16px; left: 20px; font-size: 12px; color: rgba(255,255,255,.8); z-index: 10; text-decoration: none; cursor: pointer; }
.hub-hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 0 24px 36px; z-index: 10; }
.hub-hero__label { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hub-hero__dot { width: 8px; height: 8px; background: #60a5fa; border-radius: 50%; flex-shrink: 0; }
.hub-hero__label span:last-child { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: #60a5fa; text-transform: uppercase; }
.hub-hero__title { font-size: 38px; font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: 14px; letter-spacing: -1px; }
.hub-hero__subtitle { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.6; margin-bottom: 28px; }
.hub-hero__btn-primary {
  display: flex; align-items: center; justify-content: center;
  background: #002855; color: #fff; padding: 16px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 700; width: 100%; margin-bottom: 12px; text-decoration: none;
}
.hub-hero__btn-primary:hover { background: #001a3a; }
.hub-hero__btn-secondary {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff; padding: 15px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; width: 100%; border: 1.5px solid rgba(255,255,255,.35); text-decoration: none;
}

/* Mobile-only hero */
@media (max-width: 1024px) {
  .hub-hero { display: block; }
  .sa-hero  { display: none !important; }
}

/* ── HERO desktop ── */
.sa-hero { background: #fff; position: relative; overflow: hidden; }
.sa-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 80px 60px 72px; width: 100%;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
.sa-hero-text { display: flex; flex-direction: column; }
.sa-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  color: #002855; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px;
}
.sa-hero-eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: #002855; }
.sa-hero-title {
  font-family: 'Inter', 'Barlow Condensed', sans-serif; font-size: 64px; line-height: 1.05;
  color: #0a0a0a; letter-spacing: -1.5px; margin-bottom: 12px; font-weight: 800;
}
.sa-hero-title .grad { color: #002855; -webkit-text-fill-color: #002855; }
.sa-hero-sub { font-size: 17px; color: #555; line-height: 1.7; max-width: 480px; margin: 16px 0 32px; font-weight: 400; }
.sa-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.sa-hero-stats { display: flex; gap: 48px; padding-top: 32px; border-top: 1px solid rgba(0,0,0,.08); }
.sa-stat-num { font-family: 'Inter', sans-serif; font-size: 40px; color: #002855; letter-spacing: -1px; line-height: 1; font-weight: 800; }
.sa-stat-label { font-size: 12px; color: #666; letter-spacing: .5px; text-transform: uppercase; margin-top: 6px; font-weight: 500; }
.sa-hero-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 24px 64px rgba(0,0,0,.10); }
.sa-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Botões ── */
.sa-btn-outline {
  display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #333;
  font-family: 'Inter', Arial, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .2px;
  padding: 15px 36px; border-radius: 50px; text-decoration: none; border: 1.5px solid #ccc; transition: all .2s;
}
.sa-btn-outline:hover { border-color: #002855; color: #002855; }
.sa-btn-scan {
  position: relative; border-radius: 50px; padding: 16px 36px; background: #002855; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .2px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none; z-index: 0; transition: background .2s, transform .2s;
}
.sa-btn-scan:hover { background: #001a3a; transform: translateY(-1px); }

/* ── Portal Highlight ── */
.sa-portal-highlight { background: #002855; padding: 80px 60px; }
.sa-portal-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sa-portal-text h3 { font-family: 'Inter', 'Barlow Condensed', sans-serif; font-size: 40px; color: #fff; font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.sa-portal-text p { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 24px; max-width: 420px; }
.sa-portal-text .sa-btn-scan { background: #fff; color: #002855; font-size: 13px; }
.sa-portal-text .sa-btn-scan:hover { background: #f0f0f0; }
.sa-portal-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sa-portal-links a {
  display: flex; align-items: center; padding: 20px 24px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: rgba(255,255,255,.9);
  font-size: 14px; font-weight: 500; text-decoration: none; transition: all .25s cubic-bezier(.4,0,.2,1);
}
.sa-portal-links a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; transform: translateY(-1px); }

/* ── Quick Access Marquee ── */
.sa-quick { background: #fff; border-top: 1px solid rgba(0,0,0,.04); border-bottom: 1px solid rgba(0,0,0,.04); padding: 14px 0; overflow: hidden; position: relative; max-width: 100%; }
.sa-quick::before, .sa-quick::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.sa-quick::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.sa-quick::after  { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.sa-quick-inner { display: flex; align-items: center; gap: 10px; white-space: nowrap; animation: sa-marquee 24s linear infinite; width: max-content; }
.sa-quick:hover .sa-quick-inner { animation-play-state: paused; }
.sa-qlabel { display: none; }
.sa-qlink {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 50px;
  font-size: 13px; font-weight: 500; color: #444; text-decoration: none; border: 1px solid rgba(0,0,0,.08);
  transition: all .2s cubic-bezier(.4,0,.2,1); flex-shrink: 0; background: #fff;
}
.sa-qlink:hover { color: #002855; background: rgba(0,40,85,.08); border-color: #002855; text-decoration: none; }
.sa-qlink svg { flex-shrink: 0; }

/* ── Body / Seções ── */
.sa-page .sa-section:first-of-type { margin-top: 0; }
.sa-section { max-width: 1280px; margin: 0 auto; padding: 0 60px; margin-bottom: 72px; }
.sa-page > .sa-section:first-of-type { padding-top: 80px; }
.sa-page > .sa-section:last-of-type { padding-bottom: 96px; }
.sa-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.sa-section-title { font-family: 'Inter', 'Barlow Condensed', sans-serif; font-size: 32px; color: #0a0a0a; font-weight: 800; letter-spacing: -0.5px; }
.sa-section-line { flex: 1; height: 1px; background: rgba(0,0,0,.06); }
.sa-section-desc { font-size: 16px; color: #555; line-height: 1.7; margin: 0 0 32px; max-width: 600px; }

/* ── Cards ── */
.sa-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sa-card {
  background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 12px; padding: 32px;
  text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  transition: all .25s cubic-bezier(.4,0,.2,1); box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.sa-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.10); border-color: rgba(0,40,85,.15); }
.sa-card-icon { font-size: 24px; opacity: 1; margin-bottom: 4px; }
.sa-card-icon svg, .sa-card-icon img { width: 48px; height: 48px; stroke-width: 1.4; }
.sa-card-icon img { object-fit: contain; }
.sa-card-title { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
.sa-card-desc { font-size: 15px; color: #555; line-height: 1.65; flex: 1; font-weight: 400; }
.sa-card-link { font-size: 13px; font-weight: 700; letter-spacing: .3px; color: #002855; margin-top: 8px; }

/* Seção alternada (fundo branco em cartão) */
.sa-section.sa-alt { background: #fff; border-radius: 16px; padding: 48px; border: 1px solid rgba(0,0,0,.05); box-shadow: 0 4px 20px rgba(0,0,0,.03); max-width: 1160px; }

/* ── TABLET (769–1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .sa-section { padding: 0 32px !important; }
  .sa-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .sa-card { padding: 28px !important; }
  .sa-card-icon svg, .sa-card-icon img { width: 44px; height: 44px; }
  .sa-card-title { font-size: 18px !important; }
  .sa-card-desc { font-size: 14px !important; }
  .sa-portal-highlight { padding: 56px 32px; }
  .sa-portal-inner { gap: 40px; }
  .sa-portal-text h3 { font-size: 34px; }
  .sa-section.sa-alt { padding: 36px 28px !important; }
}

/* ── MOBILE (≤ 1024px) ── */
@media (max-width: 1024px) {
  .sa-portal-highlight { padding: 48px 20px; }
  .sa-portal-inner { grid-template-columns: 1fr !important; gap: 32px; }
  .sa-portal-text h3 { font-size: 32px; }
  .sa-portal-text p { font-size: 15px; }
  .sa-portal-links { grid-template-columns: 1fr; gap: 10px; }
  .sa-portal-links a { padding: 18px 20px; font-size: 14px; }
  .sa-btn-scan, .sa-btn-outline { font-size: 15px !important; padding: 16px 32px !important; width: 100%; justify-content: center; }
  .sa-quick { padding: 10px 0; }
  .sa-quick-inner { animation-duration: 16s; }
  .sa-section { padding: 0 20px !important; margin-bottom: 48px; }
  .sa-page > .sa-section:first-of-type { padding-top: 48px; }
  .sa-page > .sa-section:last-of-type { padding-bottom: 64px; }
  .sa-section-title { font-size: 26px !important; }
  .sa-section-desc { font-size: 15px; }
  .sa-cards { grid-template-columns: 1fr !important; gap: 16px; }
  .sa-card { padding: 28px 24px !important; border-radius: 12px; }
  .sa-card-icon svg, .sa-card-icon img { width: 40px; height: 40px; }
  .sa-card-title { font-size: 18px !important; }
  .sa-card-desc { font-size: 14px !important; }
  .sa-card-link { font-size: 13px; }
  .sa-section.sa-alt { padding: 28px 20px !important; border-radius: 12px; }
}
