/* ============================================================
   UASS-PJC · LP Plantão de Matrículas 2026.2
   Design system: DESIGN.md (navy canvas · gold accent · one orange CTA)
   ============================================================ */
@import url("tokens/fonts.css");
@import url("tokens/colors.css");

:root {
  --ink: #161B2E;
  --ink-2: #565E74;
  --ink-3: #767E92;
  --navy: #232F63;
  --navy-deep: #1F2B5D;
  --navy-darkest: #141A3B;
  --gold: #F5C518;
  --gold-soft: #FDF1C2;
  --orange: #E36008;
  --sky: #9DD0EB;
  --canvas: #FFFFFF;
  --subtle: #F7F8FB;
  --muted: #EFF1F5;
  --bd: #E0E3EB;
  --bd-strong: #C5CAD6;

  --cta-grad: linear-gradient(180deg, #F4A661 0%, #EC7E26 48%, #E36008 100%);
  --hero-grad: linear-gradient(140deg, #E36008 0%, #B14A1E 26%, #2A3A78 62%, #1F2B5D 100%);

  --sh-md: 0 4px 14px rgba(10,46,92,0.10);
  --sh-lg: 0 12px 32px rgba(10,46,92,0.14);
  --sh-cta: 0 8px 18px rgba(227,96,8,0.32);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --radius-card: 16px;
  --radius-pill: 999px;
  --gutter: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Acumin Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { letter-spacing: -0.018em; line-height: 1.12; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow--gold { color: var(--navy-deep); background: var(--gold); padding: 5px 12px; border-radius: var(--radius-pill); }

/* ---- Highlight ---- */
.hl { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 16px;
  border: none; border-radius: var(--radius-pill);
  padding: 13px 26px; cursor: pointer; text-decoration: none;
  transition: transform 140ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 18px; }
.btn--cta {
  background: var(--cta-grad); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), var(--sh-cta);
}
.btn--cta:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 12px 26px rgba(227,96,8,0.4); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--sh-md); }
.btn--navy:hover { background: #2E3D7E; transform: translateY(-1px); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bd);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.site-header__logo img { height: 38px; width: auto; }
.header-cta { }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-grad); color: #fff;
  padding-block: clamp(56px, 9vw, 104px);
}
.hero__pattern {
  position: absolute; inset: 0;
  background: url("assets/brand/uass-pattern-white.svg") repeat;
  background-size: 340px; opacity: 0.06; pointer-events: none;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 600ms var(--ease); pointer-events: none;
}
.hero.has-bg { background: var(--navy-darkest); }
.hero.has-bg .hero__bg { opacity: 1; }
.hero.has-bg .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(20,26,59,0.55) 0%, rgba(31,43,93,0.80) 55%, rgba(12,16,48,0.92) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 780px; }
.hero__title {
  font-size: clamp(38px, 6.4vw, 66px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.04;
  margin: 20px 0 0;
}
.hero__lead { font-size: clamp(17px, 2.2vw, 19px); line-height: 1.55; margin-top: 20px; color: rgba(255,255,255,0.9); max-width: 60ch; }
.hero__deadline {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 28px; padding: 16px 20px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px; max-width: 56ch;
}
.hero__deadline .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 1px; }
.hero__deadline p { font-size: 15.5px; color: #fff; }
.hero__deadline strong { color: var(--gold); }
.hero__cta { margin-top: 30px; }
.hero__note { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.72); }

/* Hero split (texto + vídeo) */
.hero__inner--split {
  max-width: 1080px;
  display: grid; grid-template-columns: 1.05fr 360px;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero__inner--split .hero__col { max-width: 640px; }
.hero__media { position: relative; display: flex; justify-content: center; }
.hero__selo {
  position: absolute; z-index: 4; top: -46px; left: -42px;
  width: clamp(150px, 46%, 210px); height: auto;
  transform: rotate(-5deg);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.42));
  pointer-events: none;
  animation: seloIn 500ms var(--ease) both;
}
@keyframes seloIn {
  0% { opacity: 0; transform: rotate(-5deg) scale(0.7); }
  100% { opacity: 1; transform: rotate(-5deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hero__selo { animation: none; } }
.phone--hero {
  position: relative; width: min(320px, 78vw); aspect-ratio: 9 / 16;
  border-radius: 32px; overflow: hidden; background: var(--navy-darkest);
  border: 8px solid #0C1030;
  box-shadow: 0 24px 60px rgba(6,27,56,0.5), 0 0 0 3px rgba(245,197,24,0.25);
}
.phone--hero .phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sound-toggle {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 16px;
  padding: 12px 20px; border-radius: var(--radius-pill); white-space: nowrap;
  background: var(--cta-grad); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 20px rgba(227,96,8,0.5);
  animation: soundPulse 2s var(--ease) infinite;
}
.sound-toggle:hover { transform: translateX(-50%) translateY(-1px); }
.sound-toggle .icon { width: 20px; height: 20px; }
.sound-toggle .i-on { display: none; }
.sound-toggle.is-on {
  background: var(--gold); color: var(--navy-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 6px 16px rgba(245,197,24,0.5);
  animation: none;
}
.sound-toggle.is-on .i-on { display: inline; }
.sound-toggle.is-on .i-off { display: none; }
@keyframes soundPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 20px rgba(227,96,8,0.5), 0 0 0 0 rgba(245,197,24,0.55); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 20px rgba(227,96,8,0.5), 0 0 0 12px rgba(245,197,24,0); }
}
@media (prefers-reduced-motion: reduce) { .sound-toggle { animation: none; } }

/* ---- Mini-banner fixo (acompanha a rolagem) ---- */
.minibar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--gold);
  box-shadow: 0 -6px 24px rgba(10,46,92,0.18);
  transform: translateY(110%); transition: transform 320ms var(--ease);
}
.minibar.is-visible { transform: translateY(0); }
.minibar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-block: 12px;
}
.minibar__text { font-size: 16px; color: var(--navy-deep); }
.minibar__text strong { font-weight: 700; }
.minibar__cta { flex: 0 0 auto; }

/* ---- Countdown ---- */
.count {
  background: linear-gradient(160deg, #2E3D7E 0%, #232F63 50%, #141A3B 100%);
  color: #fff; text-align: center; padding-block: clamp(48px, 7vw, 76px);
}
.count__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.count__clock { display: flex; align-items: flex-start; justify-content: center; gap: clamp(8px, 2vw, 20px); margin-top: 4px; }
.count__cell { display: flex; flex-direction: column; align-items: center; min-width: clamp(64px, 15vw, 140px); }
.count__num {
  font-family: "Anton", "Acumin Pro", sans-serif; font-weight: 400;
  font-size: clamp(56px, 15vw, 132px); line-height: 0.92; color: var(--gold);
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.count__lbl { font-size: clamp(11px, 1.6vw, 14px); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 6px; }
.count__sep {
  font-family: "Anton", sans-serif; font-size: clamp(40px, 10vw, 96px); line-height: 1;
  color: rgba(255,255,255,0.28); margin-top: clamp(2px, 1vw, 8px);
}
.count__note { font-size: 16px; color: rgba(255,255,255,0.82); }

/* ---- Slideshow ---- */
.slideshow {
  position: relative; margin-top: 40px;
  aspect-ratio: 16 / 9; width: 100%; border-radius: 20px; overflow: hidden;
  background: var(--navy-deep); box-shadow: var(--sh-lg);
}
.slideshow__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 900ms var(--ease);
}
.slideshow__slide.is-active { opacity: 1; }
.slideshow__empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center; color: rgba(255,255,255,0.75); text-align: center;
}
.slideshow__empty .icon { width: 44px; height: 44px; color: var(--sky); }
.slideshow__empty p { font-size: 15px; line-height: 1.5; }
.slideshow__empty span { color: rgba(255,255,255,0.55); font-size: 13px; }
.slideshow__empty code { background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 5px; }
.slideshow__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.slideshow__dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 220ms, width 220ms; }
.slideshow__dot.is-active { background: var(--gold); width: 22px; border-radius: 5px; }

/* ---- Reels (stories 9:16 · carrossel) ---- */
.section--reels { background: var(--subtle); }
.reels-rail {
  display: flex; gap: 20px; margin-top: 40px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 18px; scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.reels-rail::-webkit-scrollbar { height: 8px; }
.reels-rail::-webkit-scrollbar-thumb { background: var(--bd-strong); border-radius: 999px; }
.reels__cta { display: flex; justify-content: center; margin-top: 12px; }
.phone {
  position: relative; flex: 0 0 auto; scroll-snap-align: center;
  width: min(280px, 72vw); aspect-ratio: 9 / 16;
  border-radius: 30px; overflow: hidden; background: var(--navy-deep);
  border: 8px solid #10142E; box-shadow: var(--sh-lg);
}
.phone--empty { flex-basis: min(280px, 72vw); }
.phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy-deep); }
.phone__empty {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center; color: rgba(255,255,255,0.75); text-align: center; padding: 20px;
}
.phone__empty .icon { width: 40px; height: 40px; color: var(--sky); }
.phone__empty p { font-size: 14px; line-height: 1.5; }
.phone__empty span { color: rgba(255,255,255,0.55); font-size: 12px; }
.phone__empty code { background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 5px; }

/* ---- Sections ---- */
.section { padding-block: clamp(56px, 8vw, 80px); }
.section--tight { padding-top: 0; }
.section__head { max-width: 760px; margin-inline: auto; text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; margin-top: 14px; }
.section__intro { margin-top: 16px; font-size: 17px; color: var(--ink-2); }

/* ---- Cards ---- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 44px;
}
.card {
  background: #fff; border: 1px solid var(--bd);
  border-radius: var(--radius-card); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.card--railed { border-top: 3px solid var(--gold); }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.card__ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--navy-deep);
}
.card__ico .icon { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 15px; color: var(--ink-2); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card__tag {
  align-self: flex-start; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange-600, #E36008);
  background: var(--orange-soft, #FDECDD);
  padding: 4px 11px; border-radius: 999px;
}

/* ---- "É pra você?" (reconhecimento) ---- */
.reco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.reco__item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--bd);
  border-radius: var(--radius-card); padding: 22px 24px;
}
.reco__ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--navy-deep); color: #fff;
}
.reco__ico .icon { width: 20px; height: 20px; }
.reco__item p { font-size: 16px; line-height: 1.5; color: var(--ink); }

/* ---- Passo a passo (transferência) ---- */
.steps {
  margin-top: 40px; display: flex; flex-direction: column; gap: 0;
  position: relative; max-width: 760px;
}
.step { display: flex; gap: 20px; position: relative; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--navy-deep); color: #fff; font-weight: 700; font-size: 18px;
}
.step:not(:last-child) .step__num::after {
  content: ""; position: absolute; top: 44px; left: 50%; transform: translateX(-50%);
  width: 2px; height: calc(100% + 28px - 44px); background: var(--gold);
}
.step__body { padding-top: 6px; }
.step__body h3 { font-size: 19px; font-weight: 700; }
.step__body p { font-size: 15.5px; color: var(--ink-2); margin-top: 4px; }
.steps__cta { display: flex; justify-content: flex-start; margin-top: 36px; }

/* ---- Callout (blob) ---- */
.callout {
  position: relative;
  background: var(--navy-deep); color: #fff;
  border-radius: 64px 72px 68px 76px / 76px 68px 72px 64px;
  padding: clamp(32px, 5vw, 52px);
  box-shadow: 0 0 0 3px var(--gold), var(--sh-lg);
  max-width: 900px; margin-inline: auto;
}
.callout__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.callout__title { font-family: "Anton", "Acumin Pro", sans-serif; font-weight: 400; text-transform: uppercase; color: var(--gold); font-size: clamp(34px, 6vw, 54px); letter-spacing: 0.01em; line-height: 1; margin: 12px 0 16px; }
.callout p { font-size: 17px; color: rgba(255,255,255,0.88); max-width: 62ch; }
.callout__facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fact {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px; padding: 12px 18px; min-width: 150px;
}
.fact__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); }
.fact__val { display: block; font-size: 17px; font-weight: 700; margin-top: 3px; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin-top: 32px; }
.faq__item { border-bottom: 1px solid var(--bd); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 18px; font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico {
  width: 30px; height: 30px; flex: none; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: var(--muted); color: var(--navy);
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--gold); color: var(--navy-deep); }
.faq__panel { padding: 0 0 20px; }
.faq__panel p { font-size: 16px; color: var(--ink-2); max-width: 68ch; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(160deg, #2E3D7E 0%, #232F63 52%, #141A3B 100%);
  color: #fff; text-align: center;
  padding-block: clamp(56px, 8vw, 88px);
}
.cta-band__inner { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.86); }
.cta-band .btn { margin-top: 12px; }

/* ---- Fotos: respiro extra ---- */
.section--fotos { padding-block: clamp(72px, 10vw, 112px); }

/* ---- Footer ---- */
.site-footer { background: var(--navy-darkest); color: rgba(255,255,255,0.8); padding-block: 36px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer__logo { height: 40px; width: auto; }
.site-footer__blurb { font-size: 13px; margin-top: 8px; color: rgba(255,255,255,0.6); }
.site-footer__legal { font-size: 13px; color: rgba(255,255,255,0.55); }
.site-footer__legal a { color: var(--sky); text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
/* rodapé com folga pra barra fixa não cobrir */
.site-footer { padding-bottom: 96px; }

@media (max-width: 860px) {
  .hero__inner--split { grid-template-columns: 1fr; }
  .hero__inner--split .hero__col { max-width: none; }
  .hero__media { order: -1; }
  .phone--hero { width: min(260px, 62vw); }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .header-cta span { display: none; }
  .header-cta { padding: 9px 12px; }
  .cta-band { padding-bottom: 72px; }
  .count { padding-bottom: 56px; }
  .hero { padding-bottom: 40px; }
  .count__cell { min-width: 58px; }
  .minibar__text { display: none; }
  .minibar__inner { padding-block: 10px; }
  .minibar__cta { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}
