/* ============================================================
   Selos Consultoria — Masterclass LP
   Liquid Glass · Fundo #000000 · Acento laranja da marca
   ============================================================ */

:root {
  --brand:        #E2580E;
  --brand-light:  #FF7A2E;
  --brand-deep:   #B7430A;
  --brand-glow:   rgba(226, 88, 14, 0.55);

  --bg:           #000000;
  --text:         #F4F1EE;
  --text-dim:     #A8A29C;

  --glass-bg:        rgba(255, 255, 255, 0.045);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-border:    rgba(255, 255, 255, 0.12);
  --glass-hi:        rgba(255, 255, 255, 0.35);
  --glass-blur:      22px;

  --radius:    22px;
  --radius-sm: 14px;
  --maxw:      1160px;
  --header-h:  68px;

  --shadow:    0 18px 50px rgba(0, 0, 0, 0.55);
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3 { font-family: "Sora", "Manrope", sans-serif; line-height: 1.15; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.accent { color: var(--brand); }

/* Ícones */
.ico { width: 1.4em; height: 1.4em; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ico--sm { width: 1.05em; height: 1.05em; }

/* ---------- Background ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.blob--1 { width: 560px; height: 560px; top: -160px; right: -120px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%); opacity: 0.38; }
.blob--2 { width: 480px; height: 480px; top: 42%; left: -180px;
  background: radial-gradient(circle, #7a2f06 0%, transparent 70%); opacity: 0.5; }
.blob--3 { width: 620px; height: 620px; bottom: -240px; right: -100px;
  background: radial-gradient(circle, var(--brand-deep) 0%, transparent 70%); opacity: 0.28; }

.grid-overlay { position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 100%);
}
/* grão sutil — quebra o aspecto "render de IA" */
.noise { position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.5), rgba(255,255,255,0) 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.6;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.topics-grid .reveal.in:nth-child(2) { transition-delay: .06s; }
.topics-grid .reveal.in:nth-child(3) { transition-delay: .12s; }
.topics-grid .reveal.in:nth-child(4) { transition-delay: .18s; }
.topics-grid .reveal.in:nth-child(5) { transition-delay: .24s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1rem;
  text-decoration: none; color: var(--text);
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn--primary {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-light), var(--brand) 55%, var(--brand-deep));
  box-shadow: 0 10px 30px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
/* brilho que cruza o botão (efeito moderno, discreto) */
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover .ico { transform: translateX(3px); transition: transform .25s var(--ease); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); display: flex; align-items: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-link { display: inline-flex; }
.logo { height: 34px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a:not(.btn) { color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: .96rem; position: relative; transition: color .2s ease; }
.nav-desktop a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brand); transition: width .25s var(--ease); border-radius: 2px; }
.nav-desktop a:not(.btn):hover { color: var(--text); }
.nav-desktop a:not(.btn):hover::after { width: 100%; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border); border-radius: 12px; cursor: pointer; z-index: 70; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu { position: fixed; top: 0; right: 0; height: 100dvh; width: min(82vw, 340px); z-index: 65;
  transform: translateX(100%); transition: transform .4s var(--ease);
  background: rgba(12,10,9,0.78);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  border-left: 1px solid var(--glass-border); box-shadow: -20px 0 60px rgba(0,0,0,0.6); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 6px; padding: calc(var(--header-h) + 24px) 26px 26px; }
.mm-link { color: var(--text); text-decoration: none; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.25rem;
  padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color .2s ease, padding-left .2s ease; }
.mm-link:hover { color: var(--brand-light); padding-left: 10px; }
.mm-cta { margin-top: 18px; }
.menu-backdrop { position: fixed; inset: 0; z-index: 62; background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 var(--glass-hi); }
.badge .ico { color: var(--brand-light); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-light); box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--brand-glow); } 70% { box-shadow: 0 0 0 12px rgba(226,88,14,0); } 100% { box-shadow: 0 0 0 0 rgba(226,88,14,0); } }

.hero-title { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; margin: 22px 0 18px; letter-spacing: -0.02em; }
.hero-title .accent { display: block; }

.pill-online { display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(226,88,14,0.18), rgba(226,88,14,0.06));
  border: 1px solid rgba(226,88,14,0.4); box-shadow: inset 0 1px 0 var(--glass-hi); }
.pill-online .ico { color: var(--brand-light); }

.hero-sub { color: var(--text-dim); font-size: 1.08rem; margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.vagas { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-light); }

.hero-media { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.speaker-glow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 65%); filter: blur(30px); z-index: 0; }
.speaker-img { position: relative; z-index: 1; width: 100%; max-width: 440px; height: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.7)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.glass-tag { position: absolute; top: 24px; right: 0; z-index: 2; padding: 14px 20px; border-radius: var(--radius-sm); text-align: center;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi); }
.glass-tag-label { display: block; font-size: .8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.glass-tag strong { font-family: "Sora", sans-serif; font-size: 1.15rem; }

/* ---------- Info bar ---------- */
.info-bar { display: flex; align-items: center; justify-content: space-around; gap: 16px; padding: 24px 28px; margin-top: 24px; flex-wrap: wrap; }
.info-item { display: flex; align-items: center; gap: 14px; }
.info-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(226,88,14,0.22), rgba(226,88,14,0.06)); color: var(--brand-light);
  border: 1px solid rgba(226,88,14,0.3); flex-shrink: 0; }
.info-ico .ico { width: 24px; height: 24px; }
.info-label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); }
.info-value { display: block; font-family: "Sora", sans-serif; font-size: 1.25rem; font-weight: 700; }
.info-extra { display: block; font-size: .85rem; color: var(--text-dim); }
.info-sep { width: 1px; height: 46px; background: var(--glass-border); }

/* ---------- Certificado ---------- */
.cert { display: flex; align-items: center; gap: 22px; padding: 26px 30px; margin-top: 24px;
  background: linear-gradient(120deg, rgba(226,88,14,0.10), var(--glass-bg)); }
.cert-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-deep)); color: #fff; box-shadow: 0 8px 26px var(--brand-glow); }
.cert-ico .ico { width: 30px; height: 30px; }
.cert-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.cert-text { color: var(--text-dim); }

/* ---------- Tópicos ---------- */
.topics-section { padding-top: 70px; padding-bottom: 10px; }
.section-title { text-align: center; font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 38px; }
.topics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.topic { padding: 28px 20px; text-align: center; transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.topic:hover { transform: translateY(-6px); background: var(--glass-bg-strong); }
.topic-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(226,88,14,0.2), rgba(226,88,14,0.05)); color: var(--brand-light); border: 1px solid rgba(226,88,14,0.25); }
.topic-ico .ico { width: 26px; height: 26px; }
.topic p { font-weight: 600; font-size: .96rem; }

/* ---------- Inscrição ---------- */
.signup-section { padding-top: 76px; padding-bottom: 30px; }
.signup-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: stretch; }

.speaker-card { padding: 34px; display: flex; flex-direction: column; }
.speaker-card-img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 2px solid rgba(226,88,14,0.5); margin-bottom: 18px; box-shadow: 0 0 30px var(--brand-glow); }
.speaker-name { font-size: 1.5rem; font-weight: 700; }
.speaker-role { font-weight: 700; margin: 4px 0 14px; }
.speaker-bio { color: var(--text-dim); margin-bottom: 22px; }
.speaker-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.speaker-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ico--check { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-deep)); flex-shrink: 0; }

.form-card { padding: 38px; }
.form-title { font-size: 1.7rem; font-weight: 800; }
.form-sub { color: var(--text-dim); margin: 6px 0 26px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.field input { width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input::placeholder { color: #6f6a64; }
.field input:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 3px rgba(226,88,14,0.2); }
.field input.invalid { border-color: #ff5b5b; box-shadow: 0 0 0 3px rgba(255,91,91,0.15); }
.field input.valid { border-color: rgba(80,200,120,0.6); }

.error-msg { display: block; font-size: .82rem; color: #ff7a7a; margin-top: 6px; min-height: 1px; }

#submitBtn { margin-top: 8px; }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#submitBtn.loading .btn-spinner { display: inline-block; }
#submitBtn.loading .btn-label { opacity: .8; }
#submitBtn.loading { pointer-events: none; }

.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-dim); font-size: .85rem; margin-top: 16px; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; padding-top: 76px; padding-bottom: 96px; }
.final-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 30px 0; background: rgba(0,0,0,0.5); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-logo { height: 28px; opacity: .85; }
.site-footer p { color: var(--text-dim); font-size: .88rem; }

/* ---------- Thank you ---------- */
.thankyou[hidden] { display: none; }
.thankyou { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px;
  background: radial-gradient(ellipse at center, rgba(20,12,6,0.9), rgba(0,0,0,0.96));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .4s ease; }
.confetti-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.thankyou-card { position: relative; z-index: 1; max-width: 460px; width: 100%; text-align: center; padding: 46px 34px; animation: pop .5s var(--ease); }
.thankyou-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border); border-radius: 50%; color: var(--text-dim); cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s var(--ease); }
.thankyou-close svg { width: 18px; height: 18px; }
.thankyou-close:hover { color: var(--text); background: rgba(255,255,255,0.14); transform: rotate(90deg); }
.thankyou-ico { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-deep)); color: #fff; box-shadow: 0 0 40px var(--brand-glow); }
.thankyou-ico .ico { width: 44px; height: 44px; }
.thankyou-card h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.thankyou-card p { color: var(--text-dim); margin-bottom: 26px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { order: -1; min-height: 320px; }
  .speaker-img { max-width: 300px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-grid { grid-template-columns: 1fr; }
  .info-sep { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 36px 0 18px; }

  /* hero media: foto centralizada e inset, igual aos demais blocos */
  .hero-media { min-height: auto; max-width: 300px; margin: 0 auto; padding-top: 6px; }
  .speaker-img { max-width: 100%; }
  .speaker-glow { width: 250px; height: 250px; }

  .hero-title { margin: 18px 0 16px; }
  .hero-sub { margin: 18px 0 24px; }
  .hero-actions { gap: 14px; }
  .btn--lg { width: 100%; }
  .vagas { width: 100%; justify-content: center; }

  /* espaçamentos mobile dos blocos */
  .info-bar { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 22px; margin-top: 28px; }
  .info-item { gap: 16px; }
  .cert { flex-direction: column; text-align: center; gap: 18px; padding: 28px 22px; margin-top: 20px; }
  .topics-section { padding-top: 56px; padding-bottom: 6px; }
  .section-title { margin-bottom: 28px; }
  .topics-grid { grid-template-columns: 1fr; gap: 14px; }
  .topic { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px 22px; }
  .topic-ico { margin-bottom: 0; }
  .signup-section { padding-top: 56px; padding-bottom: 20px; }
  .signup-grid { gap: 20px; }
  .speaker-card, .form-card { padding: 26px 22px; }
  .form-title { font-size: 1.45rem; }
  .final-cta { padding-top: 56px; padding-bottom: 72px; }
  .glass-tag { top: 6px; right: 6px; padding: 10px 14px; }
  .glass-tag strong { font-size: 1rem; }
  .thankyou-card { padding: 38px 26px; }
  .thankyou-card h2 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .speaker-img { animation: none; }
}
