/* LP do evento Superminas 2026 (page-superminas.php) — independente do site
   (não carrega tokens/base/components). Identidade tirada dos cards do evento:
   fundo azul-marinho quase preto (#000E1E) com "bokeh" laranja, títulos leves
   com os nomes em negrito laranja (#FD4F00), traços curtos laranja, ícones
   laranja, botão laranja arredondado. Fonte: Montserrat. */

.sm-lp {
  --sm-bg: #000E1E;
  --sm-bg-2: #0A1626;
  --sm-orange: #FD4F00;
  --sm-white: #FFFFFF;
  --sm-text: rgba(255, 255, 255, 0.82);
  --sm-line: rgba(255, 255, 255, 0.14);
  margin: 0;
  background: var(--sm-bg);
  color: var(--sm-white);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.sm-lp *, .sm-lp *::before, .sm-lp *::after { box-sizing: border-box; }
.sm-lp :where(img) { max-width: 100%; height: auto; }
.sm-lp :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.sm-lp :where(ul) { list-style: none; }
.sm-lp :where(strong) { font-weight: 800; }
.sm-nowrap { white-space: nowrap; }
/* sem palavra órfã: títulos e rótulos balanceados, parágrafos com text-wrap: pretty */
.sm-lp :where(h1, h2, h3, .sm-audience-role, .sm-btn, .sm-number-label, .sm-modules-list span) { text-wrap: balance; }
.sm-lp :where(p, li) { text-wrap: pretty; }
.sm-page { display: block; overflow-x: clip; }

/* ---------- Header (só separa a marca da data do evento) ---------- */
.sm-header { position: sticky; top: 0; z-index: 20; background: rgba(0, 14, 30, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--sm-line); }
.sm-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.sm-header .sm-brand { width: 132px; height: auto; }
.sm-header-when { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.sm-header-when .sm-icon { width: 24px; height: 24px; }
.sm-d-long { display: none; }
.sm-header-place { display: none; }
@media (min-width: 600px) {
  .sm-d-long { display: inline; }
  .sm-d-short { display: none; }
}
@media (min-width: 900px) {
  .sm-header-inner { height: 76px; }
  .sm-header .sm-brand { width: 160px; }
  .sm-header-when { gap: 12px; font-size: 16px; }
  .sm-header-when .sm-icon { width: 28px; height: 28px; }
  .sm-header-place { display: inline; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.4); font-weight: 500; }
}
.sm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sm-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Traço laranja curto (divisor dos cards) */
.sm-rule { display: block; width: 64px; height: 3px; background: var(--sm-orange); }

/* ---------- "Bokeh" da feira: luzes laranja desfocadas ---------- */
.sm-bokeh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sm-bokeh::before,
.sm-bokeh::after { content: ""; position: absolute; inset: -10% -5%; }
/* brilho quente à direita + barras de luz do estande */
.sm-bokeh {
  background:
    radial-gradient(42% 62% at 88% 44%, rgba(253, 79, 0, 0.5), rgba(253, 79, 0, 0) 72%),
    radial-gradient(34% 44% at 64% 100%, rgba(253, 79, 0, 0.32), rgba(253, 79, 0, 0) 70%),
    radial-gradient(70% 90% at 100% 15%, rgba(110, 38, 0, 0.55), rgba(110, 38, 0, 0) 70%);
}
.sm-bokeh::before {
  background:
    linear-gradient(90deg, transparent 0 69%, rgba(255, 150, 60, 0.55) 69.4% 70.1%, transparent 70.6% 100%),
    linear-gradient(90deg, transparent 0 86%, rgba(255, 130, 40, 0.6) 86.3% 87.4%, transparent 88% 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
  filter: blur(9px);
  opacity: 0.65;
}
/* círculos de luz desfocados (spots do teto + reflexos) */
.sm-bokeh::after {
  background:
    radial-gradient(circle 11px at 44% 12%, rgba(255, 255, 255, 0.95) 0 45%, transparent 100%),
    radial-gradient(circle 9px at 63% 19%, rgba(255, 255, 255, 0.9) 0 45%, transparent 100%),
    radial-gradient(circle 12px at 79% 10%, rgba(255, 255, 255, 0.95) 0 45%, transparent 100%),
    radial-gradient(circle 8px at 56% 6%, rgba(255, 255, 255, 0.85) 0 45%, transparent 100%),
    radial-gradient(circle 30px at 72% 33%, rgba(255, 190, 120, 0.3) 0 55%, transparent 100%),
    radial-gradient(circle 22px at 92% 28%, rgba(255, 170, 90, 0.3) 0 55%, transparent 100%),
    radial-gradient(circle 38px at 82% 72%, rgba(255, 120, 40, 0.28) 0 55%, transparent 100%),
    radial-gradient(circle 20px at 66% 62%, rgba(255, 190, 120, 0.22) 0 55%, transparent 100%);
  filter: blur(1.5px);
}
.sm-bokeh--soft { opacity: 0.6; }
.sm-bokeh--soft::before, .sm-bokeh--soft::after { display: none; }

/* ---------- Hero ---------- */
.sm-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 64px);
  display: flex;
  background: var(--sm-photo, none) center right / cover no-repeat, var(--sm-bg);
}
.sm-hero[style*="--sm-photo"] .sm-bokeh { display: none; }
/* a foto é horizontal: no celular mostra o salão escuro (o letreiro ficaria atrás do logo) */
.sm-hero[style*="--sm-photo"] { background-position: 26% center; }
.sm-hero[style*="--sm-photo"]::after { background: linear-gradient(180deg, rgba(0, 14, 30, 0.74) 0, rgba(0, 14, 30, 0.62) 50%, rgba(0, 14, 30, 0.88) 100%); }
/* escurece o lado do texto para a leitura (como nos cards) */
.sm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 14, 30, 0.8) 0, rgba(0, 14, 30, 0.38) 55%, rgba(0, 14, 30, 0.78) 100%);
  pointer-events: none;
}
.sm-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 56px; }
.sm-brand { display: block; height: auto; }
.sm-hero-copy { max-width: 720px; }

.sm-hero-title { font-size: clamp(34px, 9.4vw, 44px); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.sm-hero-title strong { font-weight: 800; color: var(--sm-orange); }
.sm-hero-event { display: block; width: min(100%, 360px); height: auto; margin-top: 18px; }
.sm-hero-copy > .sm-rule { margin: 26px 0; }
.sm-hero-sub { max-width: 30em; font-size: 17px; font-weight: 300; line-height: 1.5; color: var(--sm-white); text-wrap: pretty; }

/* data e local (ícones laranja, como nos cards) */
.sm-when { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.sm-when-item { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; line-height: 1.25; }
.sm-icon { flex-shrink: 0; width: 38px; height: 38px; color: var(--sm-orange); }
.sm-when-sep { display: none; width: 1px; height: 52px; background: rgba(255, 255, 255, 0.4); }
.sm-hero .sm-when { margin-bottom: 36px; }
.sm-hero .sm-when-item { gap: 12px; font-size: 16px; }
.sm-hero .sm-icon { width: 32px; height: 32px; }

/* botão laranja arredondado com seta */
.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
  padding: 16px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--sm-orange);
  color: var(--sm-white);
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 10px 30px rgba(253, 79, 0, 0.28);
}
.sm-btn { text-wrap: balance; }
.sm-btn img { flex-shrink: 0; width: 24px; height: 24px; transition: transform 220ms ease; }
.sm-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.sm-btn:hover img { transform: translateX(4px); }
.sm-btn:focus-visible { outline: 3px solid var(--sm-white); outline-offset: 4px; }
.sm-btn--block { width: 100%; text-align: center; }
.sm-btn[disabled] { cursor: progress; filter: saturate(0.55) brightness(0.95); transform: none; }
.sm-btn[disabled] img { display: none; }

@media (min-width: 768px) {
  .sm-wrap { padding: 0 40px; }
  .sm-hero { min-height: calc(100svh - 76px); }
  .sm-hero-inner { padding-top: 64px; padding-bottom: 96px; }
  .sm-hero-title { font-size: clamp(44px, 5.4vw, 66px); }
  .sm-hero-event { width: min(100%, 470px); margin-top: 22px; }
  .sm-hero-sub { font-size: 22px; }
  .sm-when { flex-wrap: nowrap; gap: 28px; }
  .sm-when-sep { display: block; }
  .sm-hero .sm-when { gap: 24px; }
  .sm-hero .sm-when-item { font-size: 17px; }
  .sm-hero .sm-icon { width: 34px; height: 34px; }
  .sm-hero .sm-when-sep { height: 42px; }
  .sm-when-item > span { white-space: nowrap; }
}
@media (min-width: 1100px) {
  .sm-hero::after,
  .sm-hero[style*="--sm-photo"]::after { background: linear-gradient(90deg, rgba(0, 14, 30, 0.9) 0, rgba(0, 14, 30, 0.74) 46%, rgba(0, 14, 30, 0) 78%); }
  .sm-hero[style*="--sm-photo"] { background-position: right center; }
}

/* celular: conteúdo do hero centralizado; botões com texto e seta centralizados e balanceados */
@media (max-width: 767px) {
  .sm-btn { display: block; min-height: 0; padding: 18px 22px; text-align: center; line-height: 1.3; }
  .sm-btn span { display: inline; }
  .sm-btn img { display: inline-block; vertical-align: -5px; margin-left: 10px; }
  .sm-btn:hover img { transform: translateX(3px); }
  .sm-hero-copy { text-align: center; }
  .sm-hero-event { margin-left: auto; margin-right: auto; }
  .sm-hero-copy > .sm-rule { margin: 26px auto; transform-origin: center; }
  .sm-hero-sub { margin-left: auto; margin-right: auto; }
  .sm-hero .sm-when { flex-direction: column; align-items: center; gap: 16px; }
}

/* entrada do hero: uma sequência só, ao carregar */
@media (prefers-reduced-motion: no-preference) {
  .sm-hero-copy > * { opacity: 0; animation: sm-rise 700ms cubic-bezier(.2,.7,.2,1) forwards; }
  .sm-hero-copy > .sm-rule { transform-origin: left; animation-name: sm-draw; }
  .sm-hero-copy > :nth-child(1) { animation-delay: 160ms; }
  .sm-hero-copy > :nth-child(2) { animation-delay: 380ms; }
  .sm-hero-copy > :nth-child(3) { animation-delay: 460ms; }
  .sm-hero-copy > :nth-child(4) { animation-delay: 620ms; }
  .sm-hero-copy > :nth-child(5) { animation-delay: 740ms; }
  .sm-hero-copy > :nth-child(6) { animation-delay: 860ms; }
}
@keyframes sm-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sm-draw { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }

/* ---------- Entrada leve ao rolar (a classe .sm-js só é posta se não houver "reduzir movimento") ---------- */
.sm-js .sm-reveal { opacity: 0; transform: translateY(16px); transition: opacity 650ms cubic-bezier(.2,.7,.2,1), transform 650ms cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.sm-js .sm-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Seção explicativa ---------- */
.sm-explain { position: relative; padding: 72px 0; background: linear-gradient(180deg, var(--sm-bg) 0, var(--sm-bg-2) 100%); }
.sm-explain-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.sm-explain-head h2 { font-size: clamp(30px, 8vw, 36px); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.sm-explain-head h2 strong { color: var(--sm-orange); }
.sm-explain-lead { max-width: 34em; margin-top: 24px; font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--sm-text); text-wrap: pretty; }

.sm-audiences { display: grid; gap: 40px; }
.sm-audience .sm-rule { width: 48px; margin-bottom: 18px; }
.sm-audience-role { font-size: 16px; font-weight: 700; color: var(--sm-orange); }
.sm-audience h3 { margin-top: 6px; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.sm-audience-text { max-width: 36em; margin-top: 12px; font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--sm-text); text-wrap: pretty; }
.sm-modules { margin-top: 64px; }
.sm-modules-title { font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.sm-modules-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.sm-modules-list li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; border: 1px solid var(--sm-line); border-radius: 16px; background: rgba(255, 255, 255, 0.04); font-size: 16px; font-weight: 600; line-height: 1.25; transition: border-color 200ms ease, background-color 200ms ease; }
.sm-modules-list li:hover { border-color: rgba(253, 79, 0, 0.6); background: rgba(253, 79, 0, 0.08); }
.sm-modules-list img { flex-shrink: 0; width: 22px; height: 22px; }

@media (min-width: 768px) {
  .sm-explain { padding: 112px 0; }
  .sm-explain-head h2 { font-size: clamp(34px, 3.6vw, 46px); }
  .sm-explain-lead { font-size: 18px; }
  .sm-audience h3 { font-size: 28px; }
  .sm-audience-text { font-size: 17px; }
  .sm-modules { margin-top: 96px; }
  .sm-modules-title { font-size: 28px; }
  .sm-modules-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
  .sm-modules-list li { min-height: 76px; padding: 18px 20px; font-size: 18px; }
}
@media (min-width: 1024px) {
  .sm-explain-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; align-items: start; }
  .sm-explain-head { position: sticky; top: 112px; }
}

/* ---------- Faixa de números (laranja, texto branco; textos grandes e em negrito) ---------- */
.sm-numbers { padding: 56px 0; background: var(--sm-orange); color: var(--sm-white); }
.sm-numbers-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.sm-numbers-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.4); }
.sm-numbers-list li:first-child { border-top: 0; padding-top: 0; }
.sm-numbers-list li:last-child { padding-bottom: 0; }
.sm-number { font-size: clamp(44px, 12vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.sm-count { display: inline-grid; font-variant-numeric: tabular-nums; }
.sm-count > span { grid-area: 1 / 1; justify-self: end; }
.sm-count-live { display: none; }
.sm-js .sm-count-final { visibility: hidden; }
.sm-js .sm-count-live { display: block; }
.sm-number-unit { font-size: 0.42em; font-weight: 700; letter-spacing: 0; }
.sm-number-label { font-size: 19px; font-weight: 500; line-height: 1.3; }

@media (min-width: 768px) {
  .sm-numbers { padding: 84px 0; }
  .sm-numbers-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-numbers-list li { padding: 0 24px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.4); }
  .sm-numbers-list li:first-child { border-left: 0; }
  .sm-number { font-size: clamp(40px, 4.6vw, 62px); }
  .sm-number-label { font-size: 20px; }
}

/* ---------- Formulário ---------- */
.sm-contact { position: relative; overflow: hidden; padding: 72px 0 32px; background: var(--sm-bg); scroll-margin-top: 64px; }
.sm-contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.sm-contact-copy h2 { font-size: clamp(28px, 7.4vw, 34px); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.sm-contact-copy h2 strong { color: var(--sm-orange); }
.sm-contact-copy h2 span { display: block; margin-top: 10px; font-weight: 300; }
.sm-contact-copy > .sm-rule { margin: 28px 0; }
.sm-when--small { flex-direction: column; align-items: flex-start; gap: 16px; }
.sm-when--small .sm-when-item { font-size: 17px; }
.sm-when--small .sm-icon { width: 34px; height: 34px; }

.sm-card {
  width: 100%;
  max-width: 560px;
  padding: 28px 22px;
  border: 1px solid var(--sm-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.sm-card-title { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.sm-card-sub { margin: 8px 0 24px; font-size: 16px; font-weight: 300; line-height: 1.55; color: var(--sm-text); }

.sm-form { display: flex; flex-direction: column; gap: 18px; }
.sm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sm-field { display: flex; flex-direction: column; gap: 8px; }
.sm-field label { font-size: 15px; font-weight: 600; line-height: 1.3; }
.sm-field input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--sm-white);
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.sm-field input::placeholder { color: rgba(255, 255, 255, 0.5); opacity: 1; }
.sm-field input:hover { border-color: rgba(255, 255, 255, 0.5); }
.sm-field input:focus { outline: none; border-color: var(--sm-orange); background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 3px rgba(253, 79, 0, 0.35); }
.sm-field input:user-invalid { border-color: #FF8A5C; }
/* preenchimento automático do navegador mantém o tema escuro */
.sm-field input:-webkit-autofill { -webkit-text-fill-color: var(--sm-white); caret-color: var(--sm-white); -webkit-box-shadow: 0 0 0 100px #14263c inset; }

.sm-privacy { font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--sm-text); }
.sm-form-error { padding: 12px 14px; border-radius: 12px; background: rgba(255, 138, 92, 0.16); border: 1px solid rgba(255, 138, 92, 0.5); font-size: 14px; font-weight: 600; line-height: 1.4; color: #FFB594; }

/* Confirmação: entra no lugar do formulário */
.sm-done { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 12px 0; outline: none; }
.sm-done[hidden], .sm-form-wrap[hidden], .sm-form-error[hidden] { display: none; }
.sm-done p { max-width: 20em; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: no-preference) {
  .sm-done:not([hidden]) { animation: sm-rise 500ms cubic-bezier(.2,.7,.2,1) both; }
  .sm-done:not([hidden]) .sm-done-icon { animation: sm-pop 500ms cubic-bezier(.3,1.6,.4,1) 120ms both; }
}
@keyframes sm-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

.sm-end { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 64px; padding-top: 28px; padding-bottom: 8px; border-top: 1px solid var(--sm-line); font-size: 14px; font-weight: 300; color: rgba(255, 255, 255, 0.6); }
.sm-end-logo { display: block; width: 112px; height: auto; opacity: 0.9; }

@media (min-width: 768px) {
  .sm-contact { padding: 120px 0 40px; }
  .sm-contact-copy h2 { font-size: clamp(34px, 3.6vw, 46px); }
  .sm-card { padding: 40px; }
  .sm-card-title { font-size: 30px; }
  .sm-when--small .sm-when-item { font-size: 18px; }
}
@media (min-width: 1024px) {
  .sm-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 96px; }
  .sm-card { justify-self: end; }
}
