/* Ex-Aluno (Rede Alumni) — estilos das seções (blocos unileao/ea-*).
   Base visual portada de css/hub-ex-aluno.css (escopo #page-alumni). Carregado só na
   página /ex-aluno/ (template page-ex-aluno.php) e injetado no iframe do editor.
   Paleta: #117A65 (primário verde) · #0E6655 (hover) · #34d399 (light). */

/* ── Keyframes ── */
@keyframes sax-gradient-x { 0% { background-position: 0% 50% } 50% { background-position: 100% 50% } 100% { background-position: 0% 50% } }
@keyframes sax-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Base ── */
#page-alumni.sa-page { font-family: 'Inter', Arial, sans-serif; background: #f9f9f9; color: #1a1a1a; }

/* ── HUB HERO (mobile only) ── */
#page-alumni .hub-hero { display: none; position: relative; width: 100%; height: 520px; overflow: hidden; }
#page-alumni .hub-hero__bg { position: absolute; inset: 0; }
#page-alumni .hub-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#page-alumni .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% ); }
#page-alumni .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; }
#page-alumni .hub-hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 0 24px 36px; z-index: 10; }
#page-alumni .hub-hero__label { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
#page-alumni .hub-hero__dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; flex-shrink: 0; }
#page-alumni .hub-hero__label span:last-child { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: #34d399; text-transform: uppercase; }
#page-alumni .hub-hero__title { font-size: 38px; font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: 14px; letter-spacing: -1px; }
#page-alumni .hub-hero__subtitle { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.6; margin-bottom: 28px; }
#page-alumni .hub-hero__btn-primary { display: flex; align-items: center; justify-content: center; background: #117A65; color: #fff; padding: 16px 24px; border-radius: 10px; font-size: 15px; font-weight: 700; width: 100%; margin-bottom: 12px; text-decoration: none; }
#page-alumni .hub-hero__btn-primary:hover { background: #0E6655; }
#page-alumni .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) {
  #page-alumni .hub-hero { display: block; }
  #page-alumni .sa-hero  { display: none !important; }
}

/* ── HERO desktop ── */
#page-alumni .sa-hero { background: #fff; position: relative; overflow: hidden; }
#page-alumni .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; }
#page-alumni .sa-hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: #117A65; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px; }
#page-alumni .sa-hero-eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: #117A65; }
#page-alumni .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; }
#page-alumni .sa-hero-title .grad { background: linear-gradient(135deg, #34d399 0%, #a7f3d0 100%); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: sax-gradient-x 4s ease infinite; }
#page-alumni .sa-hero-sub { font-size: 17px; color: #555; line-height: 1.7; max-width: 480px; margin: 16px 0 32px; font-weight: 400; }
#page-alumni .sa-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

/* ── Mini cards no hero (sa-hcard) ── */
#page-alumni .sa-hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#page-alumni .sa-hcard { background: #f9f9f9; border: 1px solid rgba(0,0,0,.06); border-radius: 12px; padding: 24px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: all .25s cubic-bezier(.4,0,.2,1); box-shadow: 0 2px 8px rgba(0,0,0,.03); }
#page-alumni .sa-hcard:hover { background: #fff; border-color: rgba(52,211,153,.35); box-shadow: 0 8px 32px rgba(17,122,101,.18); transform: translateY(-3px); }
#page-alumni .sa-hcard-icon { font-size: 28px; opacity: 1; }
#page-alumni .sa-hcard-icon img { width: 22px; height: 22px; object-fit: contain; }
#page-alumni .sa-hcard-label { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: #1a1a1a; }
#page-alumni .sa-hcard-desc { font-size: 12px; color: #555; line-height: 1.5; font-weight: 400; }

/* ── Botões ── */
#page-alumni .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; }
#page-alumni .sa-btn-outline:hover { border-color: #117A65; color: #117A65; }
#page-alumni .sa-btn-scan { position: relative; border-radius: 50px; padding: 16px 36px; background: #117A65; 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; }
#page-alumni .sa-btn-scan:hover { background: #0E6655; transform: translateY(-1px); }

/* ── Quick Access Marquee ── */
#page-alumni .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%; }
#page-alumni .sa-quick::before, #page-alumni .sa-quick::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
#page-alumni .sa-quick::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
#page-alumni .sa-quick::after  { right: 0; background: linear-gradient(270deg, #fff, transparent); }
#page-alumni .sa-quick-inner { display: flex; align-items: center; white-space: nowrap; animation: sax-marquee 96s linear infinite; width: max-content; }
#page-alumni .sa-quick:hover .sa-quick-inner { animation-play-state: paused; }
#page-alumni .sa-qlabel { display: none; }
#page-alumni .sa-qlink { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; 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; }
#page-alumni .sa-qlink:hover { background: rgba(17,122,101,.10); border-color: rgba(52,211,153,.55); color: #117A65; }

/* ── Seções (standalone — sem wrapper .sa-body-inner) ── */
#page-alumni .sa-section { max-width: 1280px; margin: 0 auto 72px; padding: 0 60px; }
#page-alumni .sa-section:first-of-type { padding-top: 80px; }
#page-alumni .sa-section:last-of-type { margin-bottom: 0; padding-bottom: 96px; }
#page-alumni .sa-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
#page-alumni .sa-section-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700; background: rgba(17,122,101,.10); border: 1px solid rgba(17,122,101,.20); color: #117A65; }
#page-alumni .sa-section-title { font-family: 'Inter', 'Barlow Condensed', sans-serif; font-size: 32px; color: #0a0a0a; font-weight: 800; letter-spacing: -0.5px; }
#page-alumni .sa-section-line { flex: 1; height: 1px; background: rgba(0,0,0,.06); }
#page-alumni .sa-section-desc { font-size: 16px; color: #555; line-height: 1.7; margin: 0 0 32px; max-width: 600px; }

/* ── Cards ── */
#page-alumni .sa-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
#page-alumni .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); position: relative; overflow: hidden; }
#page-alumni .sa-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #117A65, #34d399); opacity: 0; transition: opacity .25s; }
#page-alumni .sa-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(17,122,101,.18); border-color: rgba(52,211,153,.30); background: rgba(17,122,101,.04); }
#page-alumni .sa-card:hover::before { opacity: 1; }
#page-alumni .sa-card-icon { font-size: 24px; opacity: 1; margin-bottom: 4px; }
#page-alumni .sa-card-icon svg, #page-alumni .sa-card-icon img { width: 48px; height: 48px; stroke-width: 1.4; }
#page-alumni .sa-card-icon img { object-fit: contain; }
#page-alumni .sa-card-title { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
#page-alumni .sa-card-desc { font-size: 15px; color: #555; line-height: 1.65; flex: 1; font-weight: 400; }
#page-alumni .sa-card-link { font-size: 13px; font-weight: 700; letter-spacing: .3px; color: #117A65; margin-top: 8px; }

/* Seção alternada (cartão branco) */
#page-alumni .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) {
  #page-alumni .sa-hero-inner { padding: 56px 32px !important; gap: 40px; }
  #page-alumni .sa-hero-title { font-size: 48px !important; }
  #page-alumni .sa-section { padding: 0 32px !important; }
  #page-alumni .sa-cards { grid-template-columns: repeat(2, 1fr) !important; }
  #page-alumni .sa-card { padding: 28px !important; }
  #page-alumni .sa-card-icon svg, #page-alumni .sa-card-icon img { width: 44px; height: 44px; }
  #page-alumni .sa-card-title { font-size: 18px !important; }
  #page-alumni .sa-card-desc { font-size: 14px !important; }
  #page-alumni .sa-section.sa-alt { padding: 36px 28px !important; }
}

/* ── MOBILE (≤ 1024px) ── */
@media (max-width: 1024px) {
  #page-alumni .sa-hero { min-height: auto !important; }
  #page-alumni .sa-hero-inner { grid-template-columns: 1fr !important; gap: 32px; padding: 48px 20px !important; }
  #page-alumni .sa-hero-title { font-size: 40px !important; letter-spacing: -1px !important; }
  #page-alumni .sa-hero-sub { font-size: 16px !important; margin-bottom: 24px !important; }
  #page-alumni .sa-hero-btns { gap: 12px; flex-direction: column; }
  #page-alumni .sa-hero-eyebrow { font-size: 11px; margin-bottom: 16px; }
  #page-alumni .sa-hero-cards { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  #page-alumni .sa-hcard { padding: 18px 14px; border-radius: 10px; }
  #page-alumni .sa-hcard-label { font-size: 13px; }
  #page-alumni .sa-hcard-desc { font-size: 11px; }
  #page-alumni .sa-btn-scan, #page-alumni .sa-btn-outline { font-size: 15px !important; padding: 16px 32px !important; width: 100%; justify-content: center; }
  #page-alumni .sa-quick { padding: 10px 0; }
  #page-alumni .sa-quick-inner { animation-duration: 64s; }
  #page-alumni .sa-section { padding: 0 20px !important; margin-bottom: 48px; }
  #page-alumni .sa-section:first-of-type { padding-top: 48px; }
  #page-alumni .sa-section:last-of-type { padding-bottom: 64px; }
  #page-alumni .sa-section-title { font-size: 26px !important; }
  #page-alumni .sa-section-desc { font-size: 15px; }
  #page-alumni .sa-cards { grid-template-columns: 1fr !important; gap: 16px; }
  #page-alumni .sa-card { padding: 28px 24px !important; border-radius: 12px; }
  #page-alumni .sa-card-icon svg, #page-alumni .sa-card-icon img { width: 40px; height: 40px; }
  #page-alumni .sa-card-title { font-size: 18px !important; }
  #page-alumni .sa-card-desc { font-size: 14px !important; }
  #page-alumni .sa-card-link { font-size: 13px; }
  #page-alumni .sa-section.sa-alt { padding: 28px 20px !important; border-radius: 12px; }
}
