@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

:root {
  --bg: #000;
  --ink: #f7f4ed;
  --muted: #c2bdb3;
  --line: rgba(212, 192, 142, .28);
  --panel: #0d0d0d;
  --dark: #000;
  --gold: #d4c08e;
  --gold-soft: #e2d3ad;
  --gold-ink: #d4c08e;
  --soft: #151515;
  --cream: #0a0a0a;
  --deep: #000;
  --education: #111;
  --ebook: #111;
  --club: #111;
  --font-sans: "Montserrat", Arial, sans-serif;
  --font-display: "New Science", "Montserrat", Arial, sans-serif;
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-xl: 8px;
  --shadow-xs: none;
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, .38);
  --shadow-md: 0 20px 48px rgba(0, 0, 0, .52);
  --ring: 0 0 0 2px rgba(212, 192, 142, .36);
}

body {
  background: #000;
  color: var(--ink);
}

html[data-academy-brand="t3-hub"] [hidden] { display: none !important; }
html[data-academy-brand="t3-hub"] main,
html[data-academy-brand="t3-hub"] .panel,
html[data-academy-brand="t3-hub"] .academy-page,
html[data-academy-brand="t3-hub"] .academy-sales-assist { background-color: #000 !important; color: var(--ink); }
html[data-academy-brand="t3-hub"] #academy-catalog,
html[data-academy-brand="t3-hub"] #academy-student,
html[data-academy-brand="t3-hub"] #academy-product-page,
html[data-academy-brand="t3-hub"] #academy-checkout-page { background: #000 !important; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

.topbar {
  min-height: 92px;
  padding-inline: clamp(24px, 5vw, 88px);
  background: rgba(0, 0, 0, .94);
  border-bottom: 1px solid var(--line);
}

.brand-logo { width: clamp(190px, 20vw, 310px); max-height: 66px; object-fit: contain; }
.nav { gap: 28px; }
.nav button, .nav a { color: #eee9de; font-size: 11px; letter-spacing: .16em; }
.nav-login { border-color: var(--gold) !important; color: var(--gold) !important; }

.hero {
  min-height: min(780px, calc(100vh - 92px));
  padding: clamp(64px, 7vw, 104px) clamp(24px, 7vw, 120px);
  grid-template-columns: minmax(0, 680px) minmax(260px, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 78% 48%, rgba(212,192,142,.09), transparent 38%), #000;
}

.hero-copy { width: 100%; max-width: 680px; z-index: 2; }
.hero .eyebrow, .eyebrow { color: var(--gold); letter-spacing: .24em; }
.hero h1 {
  color: var(--gold);
  font-size: clamp(52px, 5.8vw, 88px);
  line-height: .96;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.hero-intro { max-width: 620px; color: #d8d4ca; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.7; }
.hero p.hero-intro { font-family: var(--font-sans); }
.hero-actions button:first-child { background: var(--gold); border-color: var(--gold); color: #050505; letter-spacing: .13em; }
.hero-actions .secondary { border-color: var(--line); color: #f4f1ea; }
.hero-proof { border-top-color: var(--line); }
.hero-proof dt { color: var(--gold); }
.hero-proof dd { color: #d7d2c7; letter-spacing: .12em; }

.plato-geometry {
  display: grid !important;
  place-items: center;
  position: relative;
  width: 100%;
  min-height: 460px;
  opacity: 1;
  overflow: hidden;
  background: transparent !important;
}
.plato-geometry[hidden] { display: none !important; }
.plato-geometry::before {
  content: "";
  position: absolute;
  width: min(34vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 192, 142, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(212, 192, 142, .025), 0 0 0 84px rgba(212, 192, 142, .018);
}
.hero-plato-art {
  position: relative;
  z-index: 1;
  width: min(42vw, 590px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .6));
  animation: t3-hero-reveal 1.2s cubic-bezier(.2,.7,.2,1) both, t3-hero-float 8s ease-in-out 1.2s infinite;
}
.geometry-circle, .geometry-square, .geometry-axis, .geometry-column, .geometry-caption { display: none; }

.academy-ribbon { background: var(--gold); color: #050505; border: 0; letter-spacing: .16em; }
.academy-ribbon .academy-ribbon-flagship { display: none; }
.panel { background: #000; }
.academy-catalog-heading { padding-block: clamp(64px, 7vw, 104px) 48px; }
.academy-catalog-heading > *, .academy-sales-assist > *, .academy-auth-shell > * { min-width: 0; }
.academy-catalog-heading h2, .section-heading h2 { color: var(--gold); letter-spacing: .035em; text-transform: uppercase; }
.academy-catalog-heading h2, .academy-sales-copy h2, .academy-auth-copy h3, .academy-auth-card-head h4 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
}
.academy-manifesto-grid article, .product-card, .academy-home-cta, .academy-sales-assist, .quick-checkout {
  background: #0b0b0b;
  border: 1px solid var(--line);
  box-shadow: none;
}
.academy-home-layout, .product-grid { color: var(--ink); }
.academy-sales-copy, .quick-checkout { background: #080808 !important; }
.academy-sales-copy h2, .quick-checkout strong, .quick-checkout label { color: #f4f0e8 !important; }
.sales-guarantees span { color: var(--gold) !important; border-color: var(--line) !important; }
.academy-manifesto-grid article span, .academy-manifesto-grid article h3 { color: var(--gold); }
.academy-manifesto-grid article p, .product-card p { color: var(--muted); }
.academy-manifesto-grid article p, .product-card p, .academy-sales-copy p { font-size: 15px; line-height: 1.65; }
.academy-catalog-heading > div > p:last-child,
.academy-manifesto-grid article p,
.academy-sales-copy > p:not(.eyebrow),
.checkout-card-head strong,
.academy-footer p { font-family: var(--font-sans); }
.academy-catalog-heading > div > p:last-child,
.academy-sales-copy > p:not(.eyebrow),
.checkout-card-head small { color: var(--muted) !important; }
.academy-home-layout:empty, .product-grid:empty { display: none; }

button, .button, .button-link { border-color: var(--gold); background: var(--gold); color: #050505; border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; }
button.secondary, .secondary { background: transparent; color: var(--gold); border-color: var(--line); }
input, select, textarea { background: #080808; color: #f6f3eb; border-color: var(--line); border-radius: 2px; }
label { color: #d8d4ca; }
html[data-academy-brand="t3-hub"] a { color: var(--gold); }
html[data-academy-brand="t3-hub"] .eyebrow,
html[data-academy-brand="t3-hub"] .section-kicker { color: var(--gold) !important; }
html[data-academy-brand="t3-hub"] .quick-checkout button[type="submit"] { background: var(--gold) !important; border-color: var(--gold) !important; color: #050505 !important; }

.academy-auth-shell { min-height: calc(100vh - 92px); background: #000 !important; }
.auth-section-heading { background: #000 !important; color: var(--ink); }
.academy-auth-copy { background: radial-gradient(circle at 50% 30%, rgba(212,192,142,.09), transparent 42%), #050505; border-color: var(--line); }
.academy-auth-copy, .academy-auth-copy p, .academy-auth-copy li, .academy-auth-card, .academy-auth-card p, .academy-auth-card label, .auth-panel, .auth-panel p, .auth-remember { color: #d8d4ca !important; }
.academy-auth-brand img { width: min(360px, 82%); height: auto; max-height: 130px; object-fit: contain; }
.academy-auth-brand span { display: none; }
.academy-auth-copy h3 { color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.academy-auth-copy > p:not(.eyebrow), .academy-auth-copy li, .academy-auth-card p, .academy-auth-card label { font-family: var(--font-sans); }
.academy-auth-card, .auth-panel { background: #0b0b0b; border-color: var(--line); }
.academy-auth-card-head h4 { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.academy-auth-card input { background: #080808 !important; color: #f7f4ed !important; border: 1px solid var(--line) !important; }
.google-login-button { background: transparent; color: #eee9df; border-color: var(--line); }
.auth-tab, .password-toggle, .academy-password-reset-button { background: transparent !important; color: var(--gold) !important; border-color: var(--line) !important; }
.auth-tab.active { background: var(--gold) !important; color: #050505 !important; }
.academy-auth-card button[type="submit"] { background: var(--gold) !important; color: #050505 !important; border-color: var(--gold) !important; }
.academy-auth-shell, .academy-auth-panel, .academy-auth-card, .auth-panel { box-shadow: none !important; }
.academy-auth-shell { border: 1px solid var(--line) !important; }

.student-stream-shell, .student-app-content, .student-app-topbar, .student-stream-aside, .student-player { background: #050505; color: #f5f1e8; }
.student-app-nav { background: #000; border-color: var(--line); }
.student-app-brand img { width: 190px; height: 74px; object-fit: contain; }
.student-app-nav button { background: transparent; border-color: transparent; color: #c8c3b8; text-align: left; }
.student-app-nav button.active { color: var(--gold); border-left: 2px solid var(--gold); }
.student-stream-hero, .student-overview > *, .student-rail-card, .student-stream-aside details { background: #0c0c0c; border-color: var(--line); }
.student-stream-hero h3, .student-rail-head h3 { color: var(--gold); }

.academy-footer { background: #030303; border-top: 1px solid var(--line); }
.academy-footer p, .academy-footer nav button { color: #c6c1b6; }
.academy-footer p, .academy-footer nav button, .academy-footer a { font-size: 12px; }
.academy-developer-credit { color: var(--gold); opacity: .72; }

html[data-academy-brand="t3-hub"] .academy-developer-credit { font-size: 0; }
html[data-academy-brand="t3-hub"] .academy-developer-credit::after { content: "Um produto Virtus Academy"; font-size: 11px; }

@media (max-width: 760px) {
  .topbar { min-height: 74px; padding: 10px 20px; }
  .brand-logo { width: 148px; max-height: 52px; }
  .hero { min-height: auto; padding: 44px 20px 46px; grid-template-columns: minmax(0, 1fr); }
  .hero-copy { min-height: 0; padding: 0; }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero h1 { font-size: clamp(40px, 10.8vw, 43px); line-height: .98; letter-spacing: -.025em; overflow-wrap: normal; word-break: normal; }
  .hero p.hero-intro { margin-top: 26px !important; font-size: 17px; line-height: 1.55; }
  .hero-actions { gap: 12px; margin-top: 30px; }
  .hero-actions button { min-height: 52px; }
  .hero-proof { gap: 10px; margin-top: 34px; padding-top: 22px; }
  .hero-proof div { padding-right: 0; }
  .hero-proof dd { font-size: 8px; }
  .nav button:not(.nav-login), .nav .nav-flagship { display: none; }
  .academy-ribbon { min-height: 54px; padding: 12px 10px; gap: 8px; font-size: 8px; }
  .academy-ribbon span:not(.academy-ribbon-flagship), .academy-ribbon i { display: inline !important; }
  .academy-ribbon i:nth-of-type(3) { display: none !important; }
  #academy-catalog { padding-top: 0 !important; }
  .academy-catalog-heading { width: 100%; grid-template-columns: minmax(0, 1fr) !important; padding-block: 52px 32px; }
  .academy-catalog-heading .eyebrow, .academy-sales-copy .eyebrow { margin-bottom: 18px; font-size: 9px; line-height: 1.55; }
  .academy-catalog-heading h2, .academy-sales-copy h2 { font-size: clamp(34px, 10vw, 40px); line-height: 1.02; letter-spacing: -.015em; overflow-wrap: normal; word-break: normal; }
  .academy-catalog-heading > div > p:last-child, .academy-sales-copy > p:not(.eyebrow) { margin-top: 22px; font-size: 16px; line-height: 1.6; }
  .academy-manifesto-grid, .product-grid, .academy-sales-assist, .academy-footer { grid-template-columns: minmax(0, 1fr) !important; }
  .academy-manifesto-grid article { padding: 28px 22px 30px; }
  .academy-manifesto-grid article h3 { margin-top: 24px; }
  .academy-manifesto-grid article p { font-size: 15px; line-height: 1.6; }
  .academy-sales-assist { margin-top: 52px; padding: 48px 20px; gap: 34px; }
  .sales-guarantees { margin-top: 28px; padding-top: 20px; }
  .quick-checkout { width: 100%; padding: 24px 20px; grid-template-columns: minmax(0, 1fr) !important; }
  .checkout-card-head { margin-bottom: 20px; padding-bottom: 18px; }
  .checkout-card-head strong { font-size: 24px; }
  .quick-checkout input, .quick-checkout select { min-height: 52px; }
  .academy-auth-shell { margin: 16px 12px 36px; padding: 8px; gap: 0; }
  .academy-auth-copy, .academy-auth-card, .auth-panel { padding: 24px 20px; }
  .academy-auth-copy { min-height: 0; }
  .academy-auth-brand img { width: min(280px, 78%); max-height: 100px; }
  .academy-auth-copy h3 { font-size: clamp(34px, 10vw, 40px); line-height: 1.02; }
  .academy-auth-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.6; }
  .academy-auth-copy li { font-size: 13px; line-height: 1.45; }
  .academy-auth-card-head h4 { font-size: 36px; line-height: 1; }
  .auth-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth-tab { min-width: 0; padding-inline: 6px !important; font-size: 8px; letter-spacing: .08em; }
  .academy-auth-card input { min-height: 52px; }
  .academy-footer { width: 100%; min-height: 0; padding-block: 28px; gap: 24px; }
  .academy-footer nav { gap: 10px 22px; }
  .plato-geometry { min-height: 220px; margin-top: 34px; }
  .plato-geometry::before { width: 205px; }
  .hero-plato-art { width: min(88vw, 330px); }
}

@keyframes t3-hero-reveal {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes t3-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
