/* ============ SCROLL (smooth nativo + padding p/ topbar fixo) ============ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* ============ FONTS ============ */
@font-face {
  font-family: 'Outfit';
  src: url('assets/fonts/Outfit.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif';
  src: url('assets/fonts/NotoSerif.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif';
  src: url('assets/fonts/NotoSerif-Italic.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ============ CINEMATIC INTRO ============ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0909;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: introFade 0.6s ease 2.8s forwards;
}
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.intro-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: scale(.92);
  animation: introLogoIn .8s cubic-bezier(.23,1,.32,1) .3s forwards;
}
.intro-line {
  width: 0;
  height: 1px;
  background: var(--red, #EE2A42);
  margin: 20px 0;
  animation: introLineGrow .6s cubic-bezier(.23,1,.32,1) 1s forwards;
}
.intro-text {
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(239,238,234,.6);
  letter-spacing: .06em;
  /* o nome do programa é longo: no mobile quebra em 2 linhas e sem isto
     encostava nas duas bordas, com a segunda linha desalinhada */
  text-align: center;
  max-width: 560px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(8px);
  animation: introTextIn .6s cubic-bezier(.23,1,.32,1) 1.5s forwards;
}
@keyframes introLogoIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes introLineGrow {
  to { width: 60px; }
}
@keyframes introTextIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introFade {
  0% { opacity: 1; pointer-events: all; }
  100% { opacity: 0; pointer-events: none; visibility: hidden; }
}

/* ============ FILM GRAIN ============ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  animation: grainShift 0.5s steps(5) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  30% { transform: translate(3%, 1%); }
  50% { transform: translate(-1%, 3%); }
  70% { transform: translate(2%, -2%); }
  90% { transform: translate(-3%, 1%); }
}

/* ============ 3D TILT CARDS ============ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.23,1,.32,1);
  will-change: transform;
}
.tilt-card > * {
  transform: translateZ(20px);
}

/* ============ TOKENS ============ */
:root {
  --ink: #191818;      /* preto-vinho oficial FMP */
  --ink-2: #141313;    /* variação mais escura */
  --ink-3: #221f1e;    /* variação mais clara */
  --red: #EE2A42;
  --cream: #EFEEEA;
  --warm: #BFBAA4;
  --white: #FFFFFF;
  --warm-mute: #8a857a;
  --muted: #6b6660;

  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --serif: 'Noto Serif', Georgia, serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --container: 1280px;
  --pad: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 900px) { body { cursor: auto; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
@media (max-width: 900px) { button, a { cursor: pointer; } }

::selection { background: var(--red); color: var(--white); }

/* ============ CURSOR ============ */
.cursor, .cursor-trail {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 999999;
}
.cursor {
  width: 32px; height: 32px;
  background: url('assets/img/cursor.png') center/contain no-repeat;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), filter .3s var(--ease);
  filter: drop-shadow(0 4px 12px rgba(238,42,66,.4));
}
.cursor-trail {
  width: 52px; height: 52px;
  border: 1px solid rgba(238,42,66,.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .15s linear, width .4s var(--ease), height .4s var(--ease), border-color .4s var(--ease);
}
.cursor.hover { transform: translate(-50%, -50%) scale(1.25); }
.cursor-trail.hover { width: 78px; height: 78px; border-color: var(--red); }
@media (max-width: 900px) { .cursor, .cursor-trail { display: none; } }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(239,238,234,.06);
  z-index: 1000;
}
.scroll-progress-fill {
  height: 100%;
  background: var(--red);
  width: 0%;
  transition: width .1s linear;
}

/* ============ DOTS NAV ============ */
.dots-nav {
  position: fixed;
  right: 36px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 16px;
  z-index: 100;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(239,238,234,.22);
  position: relative;
  transition: all .35s var(--ease);
}
.dot::before {
  content: attr(data-label);
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  opacity: 0;
  transition: all .3s var(--ease);
  pointer-events: none;
}
.dot:hover { background: var(--red); transform: scale(1.4); }
.dot:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.dot.active { background: var(--red); width: 8px; height: 24px; border-radius: 4px; }
@media (max-width: 1200px) { .dots-nav { display: none; } }

/* ============ TOPBAR ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  transition: all .4s var(--ease);
}
.topbar.scrolled {
  background: rgba(25,24,24,.85);
  backdrop-filter: blur(20px);
  padding: 12px var(--pad);
  border-bottom: 1px solid rgba(239,238,234,.06);
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-logo {
  height: 54px;
  width: auto;
}
.brand-name {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.35;
  padding-left: 16px;
  border-left: 1px solid rgba(239,238,234,.15);
}
.topnav { display: flex; gap: 40px; }
.topnav a {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(239,238,234,.65);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.topnav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width .35s var(--ease);
}
.topnav a:hover { color: var(--cream); }
.topnav a:hover::after { width: 100%; }
.btn-mini {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--red);
  color: var(--cream);
  border-radius: 999px;
  background: var(--red);
  transition: all .3s var(--ease);
}
html.has-hover .btn-mini:hover { background: transparent; color: var(--red); }
.btn-mini:active,
.btn-mini.is-pressed { transform: scale(.9) !important; background: #c41e34 !important; }
@media (max-width: 1200px) {
  .topbar { padding: 18px 24px; }
  .topbar.scrolled { padding: 14px 24px; }
  .topnav, .brand-name { display: none; }
}

/* ============ COMMON ============ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  font-weight: 500;
}
.section-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: currentColor;
}
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--cream);
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.section-h2 em { font-style: italic; color: var(--red); }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Stagger children */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* ============ BUTTONS ============ */
.btn-primary,
.btn-ghost,
.btn-white,
.btn-ghost-light,
.btn-mini {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation; /* elimina delay de 300ms do iOS (double-tap zoom) */
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--red);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform .18s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; transition: color .4s var(--ease); }

/* Hover (só em desktop real — classe .has-hover adicionada via JS) */
html.has-hover .btn-primary:hover::before { transform: translateY(0); }
html.has-hover .btn-primary:hover > * { color: var(--red); }

/* Tap feedback — .is-pressed via JS pointerdown; !important pra vencer inline style do magnetic */
.btn-primary:active,
.btn-primary.is-pressed {
  transform: scale(.92) !important;
  background: #c41e34 !important;
  box-shadow: 0 6px 22px rgba(238,42,66,.35) !important;
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 30px;
  border: 1px solid rgba(239,238,234,.18);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(239,238,234,.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .18s var(--ease), border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
html.has-hover .btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-ghost:active,
.btn-ghost.is-pressed {
  transform: scale(.92) !important;
  border-color: var(--red) !important;
  color: var(--red) !important;
  background: rgba(238,42,66,.12) !important;
}

.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px;
  background: var(--cream);
  color: var(--red);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  margin-top: 28px;
  transition: transform .18s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
html.has-hover .btn-white:hover { background: var(--ink); color: var(--cream); }
.btn-white:active,
.btn-white.is-pressed {
  transform: scale(.92) !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
}

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  transition: letter-spacing .3s var(--ease), opacity .2s var(--ease);
}
html.has-hover .btn-ghost-light:hover { letter-spacing: .2em; }
.btn-ghost-light:active,
.btn-ghost-light.is-pressed { opacity: .65 !important; letter-spacing: .2em !important; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px var(--pad) 120px;
  overflow: hidden;
  background:
    /* véu escuro à esquerda: garante contraste do texto sobre a foto */
    linear-gradient(90deg,
      var(--ink) 0%,
      rgba(25,24,24,.95) 24%,
      rgba(25,24,24,.70) 42%,
      rgba(25,24,24,.22) 60%,
      transparent 74%),
    /* topo escuro pro topbar não brigar com a estante */
    linear-gradient(180deg, var(--ink) 0%, rgba(25,24,24,.55) 12%, transparent 30%),
    /* ancorada no topo: a foto é 3:2 e sobra altura em telas widescreen.
       Centralizada, o corte comia o espaço acima da cabeça do professor —
       em 1920x1080 eram 100px. No topo, esse espaço fica todo preservado e
       o corte acontece na base, que o gradiente de .hero::after já cobre. */
    url('assets/img/daniel-hero.jpg') center top / cover no-repeat,
    var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  /* A .form-section sobe -120px sobre o hero e o bloco de vagas cai nessa
     faixa: 340px chegando a sólido em 55% apaga a base da foto antes do bloco
     começar, mantendo a transição suave e o número legível. */
  height: 340px;
  background: linear-gradient(180deg, transparent 0%, var(--ink) 55%, var(--ink) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-grid { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  flex: 1;
}

.hero-left { padding: 40px 0; max-width: 820px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 36px;
}
.hero-eyebrow .line { width: 48px; height: 1px; background: var(--red); }

.hero-h1 {
  font-family: var(--serif);
  /* 54px/640px: mantém as 3 linhas do <br> e o título termina por volta de
     700px — o rosto na foto de fundo começa perto dos 810px */
  font-size: clamp(30px, 3.4vw, 54px);
  font-weight: 400;
  line-height: 1.16;
  color: var(--cream);
  letter-spacing: -.02em;
  margin-bottom: 28px;
  max-width: 640px;
}
.hero-h1 em { font-style: italic; }
.hero-h1-mobile { display: none; }
.hero-sub-mobile { display: none; }

.hero-sub {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--warm);
  max-width: 430px;
  margin-bottom: 36px;
}
.hero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--red);
  margin-bottom: 44px;
  letter-spacing: .01em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* HERO PHOTO */
.hero-right {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(1.1) saturate(.95);
  transition: transform 1.6s var(--ease-out);
}
.hero-photo:hover img { transform: scale(1.04); }
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,13,12,0) 50%, rgba(15,13,12,.78) 100%);
  pointer-events: none;
}
.hero-photo-meta {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  display: flex; align-items: flex-end; justify-content: space-between;
  z-index: 2;
}
.hero-photo-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.6;
}
.hero-photo-num {
  position: absolute;
  bottom: -50px; right: -10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 280px;
  line-height: .8;
  color: var(--red);
  opacity: .9;
  pointer-events: none;
  z-index: -1;
  letter-spacing: -.05em;
}

@media (max-width: 1100px) {
  :root { --pad: 24px; }
  .hero { padding: 120px var(--pad) 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-photo { max-width: 100%; aspect-ratio: 16/11; }
  .hero-photo-num { font-size: 180px; bottom: -30px; }
}

/* ============ FORM SECTION — IMERSIVO ============ */
.form-section {
  padding: 0 var(--pad) 20px;
  background: transparent;
  position: relative;
  overflow: hidden;
  border-top: none;
  margin-top: -120px;
  z-index: 3;
}
.form-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, var(--ink) 100%);
  pointer-events: none;
  z-index: 1;
}
.form-section::after {
  content: '';
  position: absolute;
  top: 180px; left: 0; right: 0; bottom: 0;
  background: var(--ink);
  z-index: 0;
}

/* Glows de fundo */
.form-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 1;
}
.form-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(238,42,66,.12) 0%, transparent 70%);
  top: -200px; left: -100px;
}
.form-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(238,42,66,.06) 0%, transparent 70%);
  bottom: -100px; right: -50px;
}

/* Número decorativo */
.form-big-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 38vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239,238,234,.025);
  pointer-events: none;
  user-select: none;
}

/* Linha vertical animada */
.form-vline {
  position: absolute;
  top: 0; left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(238,42,66,.15) 30%, rgba(238,42,66,.15) 70%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}
.form-vline::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(to bottom, var(--red), transparent);
  opacity: .6;
  animation: vlinePulse 4s ease-in-out infinite;
}
@keyframes vlinePulse {
  0%, 100% { top: -10%; opacity: .4; }
  50% { top: 80%; opacity: .8; }
}

.form-section-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.form-section-lead {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--warm);
  line-height: 1.65;
  margin-bottom: 48px;
  max-width: 440px;
}

/* Stats com barras animadas */

/* Quote */
.form-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 27px);
  color: rgba(239,238,234,.82);
  line-height: 1.5;
  padding-left: 28px;
  margin-top: 8px;
  border-left: 2px solid var(--red);
}

/* Card wrapper */
.form-card-wrapper {
  position: relative;
}
.form-card-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(238,42,66,.08) 0%, transparent 70%);
  border-radius: 20px;
  pointer-events: none;
  filter: blur(40px);
}

/* Form card header */
.form-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(239,238,234,.06);
}
.form-card-badge {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--red);
  padding: 6px 14px;
  border-radius: 2px;
  font-weight: 600;
}
.form-card-subtitle {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--warm-mute);
  text-transform: uppercase;
}

.hero-form {
  background: rgba(239,238,234,.03);
  border: 1px solid rgba(239,238,234,.08);
  padding: 48px;
  border-radius: 6px;
  backdrop-filter: blur(30px);
  position: relative;
  z-index: 2;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.hero-form:hover {
  border-color: rgba(238,42,66,.2);
  box-shadow: 0 0 60px rgba(238,42,66,.04);
}
.hero-form.submitted {
  border-color: rgba(79,212,30,.25);
  box-shadow: 0 0 40px rgba(79,212,30,.06);
}
.field { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row .field { margin-bottom: 24px; }
.field label {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--warm-mute);
}
.field input, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(239,238,234,.15);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  transition: border-color .3s var(--ease);
  cursor: none;
}
@media (max-width: 900px) { .field input, .field select { cursor: auto; } }
.field input::placeholder { color: rgba(239,238,234,.22); }
.field input:focus, .field select:focus { border-bottom-color: var(--red); }
.field select option { background: var(--ink); color: var(--cream); }
.hero-form .btn-primary { margin-top: 12px; width: 100%; justify-content: center; }
.form-privacy {
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
  text-align: center;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: rgba(238,42,66,.1);
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 13px;
  text-align: center;
  border-radius: 4px;
}
.form-success.show { display: block; animation: fadeUp .5s var(--ease-out); }

@media (max-width: 1100px) {
  .form-section { padding: 100px var(--pad); }
  .form-section-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-form { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============ SELOS — HARMÔNICO COM ESTRELA FMP ============ */
.seals-block {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: 0 auto 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
}

/* Estrela FMP — SVG animada */
.seals-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 630px;
  height: 630px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .12;
}
.seals-star-path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: starDraw 3s cubic-bezier(.23,1,.32,1) .5s forwards;
}
.seals-star-path-2 {
  animation-delay: 1.2s;
  opacity: .5;
}
.seals-star-sm {
  width: 270px;
  height: 270px;
  opacity: .06;
  animation: starRotate 60s linear infinite;
}
@keyframes starDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes starRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Glow central pulsante */
.seals-block::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 300px; height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(238,42,66,.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: sealsPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sealsPulse {
  0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Eyebrow */
.seals-block-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}
.seals-block-eyebrow::before,
.seals-block-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red));
  vertical-align: middle;
  margin: 0 16px;
}
.seals-block-eyebrow::after {
  background: linear-gradient(90deg, var(--red), transparent);
}

/* Imagem dos selos */
.seals-block-img {
  width: 100%;
  max-width: 1170px;
  height: auto;
  filter: brightness(0) invert(1) opacity(.65);
  transition: filter 1s var(--ease), transform 1s var(--ease);
  position: relative;
  z-index: 2;
}
.seals-block:hover .seals-block-img {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.03);
}

/* Caption */
.seals-block-caption {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--warm-mute);
  margin-top: 32px;
  letter-spacing: .02em;
  opacity: .5;
  transition: opacity .8s var(--ease);
  position: relative;
  z-index: 2;
}
.seals-block:hover .seals-block-caption { opacity: .85; }
.seal-block {
  display: flex; align-items: center; gap: 18px;
  padding: 0 32px;
  border-right: 1px solid rgba(239,238,234,.08);
}
.seal-block:first-child { padding-left: 0; }
.seal-block:last-child { border-right: none; padding-right: 0; }
.seal-block img {
  width: 64px; height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.seal-num {
  width: 64px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: .9;
  color: var(--red);
  flex-shrink: 0;
  text-align: center;
}
.seal-title {
  font-size: 13px;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: .01em;
}
.seal-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--warm-mute);
  line-height: 1.4;
}
@media (max-width: 1100px) {
  .seal-block { padding: 0 0 24px; border-right: none; border-bottom: 1px solid rgba(239,238,234,.08); }
  .seal-block:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ============ A CASA ============ */
.casa {
  background: var(--red);
  padding: 160px var(--pad);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.casa-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}
.casa .section-eyebrow { color: rgba(255,255,255,.75); }
.casa .section-eyebrow::before { background: rgba(255,255,255,.6); }
.casa-h2 {
  font-family: var(--serif);
  /* 80px é o maior tamanho em que "O Direito evolui." ainda cabe numa linha
     só dentro da coluna esquerda (644px em 1440, 556px em 1280) */
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--cream);
  letter-spacing: -.02em;
}
.casa-h2 em { font-style: italic; }
/* Faixa apertada: ainda são 2 colunas, mas a esquerda cai para ~460–560px.
   Sem isto "O Direito evolui." quebra em duas linhas. */
@media (min-width: 1101px) and (max-width: 1320px) {
  .casa-h2 { font-size: 54px; }
}
.casa-right p {
  font-family: var(--serif);
  font-size: 19px;
  color: rgba(255,255,255,.92);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 440px;
}
@media (max-width: 1100px) {
  .casa { padding: 100px var(--pad); }
  .casa-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============ DIFERENCIAIS ============ */
.diferenciais {
  padding: 160px var(--pad);
  background: var(--cream);
  color: var(--ink);
}
.diferenciais-inner { max-width: var(--container); margin: 0 auto; }
.diferenciais .section-eyebrow { color: var(--red); }
.diferenciais .section-h2 { color: var(--ink); margin-bottom: 80px; }

.dif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.dif {
  background: var(--white);
  padding: 56px 40px;
  border-radius: 2px;
  border: 1px solid rgba(15,13,12,.06);
  transition: all .5s var(--ease);
  position: relative;
  overflow: hidden;
}
.dif::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.dif:hover { transform: translateY(-6px); border-color: rgba(238,42,66,.15); }
.dif:hover::after { transform: scaleX(1); }

.dif-num {
  font-family: var(--serif);
  font-size: 96px;
  line-height: .9;
  color: var(--red);
  font-weight: 400;
  margin-bottom: 24px;
}
.dif-num em { font-style: italic; font-size: 56px; }
.dif h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.dif p { font-size: 13px; color: var(--muted); line-height: 1.7; }

@media (max-width: 1100px) {
  .diferenciais { padding: 100px var(--pad); }
  .dif-grid { grid-template-columns: 1fr; }
}

/* ============ EGRESSO ============ */
.egresso {
  padding: 160px var(--pad);
  background: var(--ink);
}
.egresso-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.egresso p {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--warm);
  max-width: 460px;
  line-height: 1.65;
}
.egresso-right { display: flex; flex-direction: column; gap: 32px; }
.egresso-pct {
  display: flex; align-items: baseline; gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(239,238,234,.1);
}
.egresso-pct:last-child { border-bottom: none; }
.pct-num {
  font-family: var(--serif);
  font-size: 112px;
  line-height: .9;
  color: var(--cream);
  font-weight: 400;
}
.pct-num em { font-style: italic; font-size: 64px; color: var(--red); }
.pct-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--warm);
  max-width: 180px;
}
@media (max-width: 1100px) {
  .egresso { padding: 100px var(--pad); }
  .egresso-inner { grid-template-columns: 1fr; gap: 48px; }
  .pct-num { font-size: 80px; }
}

/* ============ TRILHAS ============ */
.trilhas {
  padding: 160px var(--pad);
  background: var(--ink-2);
}
.trilhas-inner { max-width: 1100px; margin: 0 auto; }
.trilhas-header { margin-bottom: 64px; }

/* --- Eixos / cursos (grade 2×2) --- */
.trilhas-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 120px;
  align-items: start;
}
.trilha-col {
  padding: 44px 40px;
  background: rgba(239,238,234,.025);
  border: 1px solid rgba(239,238,234,.08);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.trilha-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .5;
}
.trilha-col-num {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 14px;
}
.trilha-col-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.trilha-col-title em {
  color: var(--red);
  font-style: italic;
}
.trilha-col-desc {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(239,238,234,.58);
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(239,238,234,.1);
}
.trilha-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.trilha-list > li {
  border-bottom: 1px solid rgba(239,238,234,.06);
}
.trilha-list > li:last-child { border-bottom: none; }
.trilha-item { width: 100%; }
.trilha-item > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 36px 16px 26px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(239,238,234,.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
  user-select: none;
}
.trilha-item > summary::-webkit-details-marker { display: none; }
.trilha-item > summary::before {
  content: '›';
  position: absolute;
  left: 4px;
  top: 14px;
  color: var(--red);
  font-size: 20px;
  line-height: 1;
  transition: transform .3s var(--ease);
}
.trilha-item > summary:hover {
  color: var(--cream);
  padding-left: 32px;
}
.trilha-item > summary:hover::before { transform: translateX(4px); }

.trilha-name { flex: 1; }
.trilha-icon {
  flex-shrink: 0;
  width: 16px; height: 16px;
  position: relative;
  display: inline-block;
  opacity: .7;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.trilha-icon::before,
.trilha-icon::after {
  content: '';
  position: absolute;
  background: var(--red);
  border-radius: 1px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.trilha-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  transform: translateY(-50%);
}
.trilha-icon::after {
  top: 0; left: 50%;
  width: 1.5px; height: 100%;
  transform: translateX(-50%);
}
.trilha-item[open] > summary { color: var(--cream); }
.trilha-item[open] > summary .trilha-icon { opacity: 1; transform: rotate(90deg); }
.trilha-item[open] > summary .trilha-icon::after { opacity: 0; }

.trilha-item > p {
  padding: 0 36px 20px 26px;
  margin: -4px 0 0 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  color: var(--warm-mute);
  font-style: italic;
  animation: trilhaFade .4s var(--ease-out);
}
@keyframes trilhaFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Corpo docente (profs-grid) --- */
.profs-block {
  margin-top: 0;
  padding-top: 64px;
  border-top: 1px solid rgba(239,238,234,.08);
}
.profs-header { margin-bottom: 56px; }
.profs-h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--cream);
  margin-top: 16px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.profs-h3 em {
  color: var(--red);
  font-style: italic;
}
.profs-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 32px 20px;
}
.prof-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform .4s var(--ease);
}
.prof-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.02) brightness(.94);
  transition: filter .5s var(--ease), transform .5s var(--ease);
  border: 1px solid rgba(239,238,234,.08);
}
.prof-card:hover { transform: translateY(-4px); }
.prof-card:hover img {
  filter: grayscale(1) contrast(1.02) brightness(.94);
  border-color: rgba(238,42,66,.5);
}
.prof-card figcaption {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--cream);
  line-height: 1.3;
  letter-spacing: .01em;
}
@media (max-width: 1100px) {
  .trilhas { padding: 100px var(--pad); }
  .trilhas-tracks { gap: 24px; margin-bottom: 96px; }
  .trilha-col { padding: 36px 28px; }
  .profs-grid { grid-template-columns: repeat(5, 1fr); gap: 24px 16px; }
  .profs-h3 { font-size: 30px; }
}
@media (max-width: 800px) {
  .trilhas-tracks { grid-template-columns: 1fr; gap: 20px; margin-bottom: 72px; }
}
@media (max-width: 640px) {
  .trilha-col { padding: 32px 22px; }
  .trilha-col-title { font-size: 21px; margin-bottom: 22px; padding-bottom: 18px; }
  .trilha-list li { font-size: 14px; padding: 14px 0 14px 22px; }
  .profs-block { padding-top: 48px; }
  .profs-header { margin-bottom: 36px; }
  .profs-h3 { font-size: 26px; }
  .profs-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
  .prof-card figcaption { font-size: 11px; }
}

/* ============ COMO ============ */
.como {
  padding: 160px var(--pad);
  background: var(--ink);
}
.como-inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.como .section-eyebrow { justify-content: center; }
.como .section-eyebrow::before { display: none; }
.como-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(239,238,234,.08);
  border-bottom: 1px solid rgba(239,238,234,.08);
}
.como-item {
  padding: 64px 40px;
  border-right: 1px solid rgba(239,238,234,.08);
  text-align: left;
  position: relative;
}
.como-item:last-child { border-right: none; }
.como-num {
  font-family: var(--serif);
  font-size: 96px;
  line-height: .9;
  color: var(--cream);
  display: inline-block;
  font-weight: 400;
}
.como-num em { font-style: italic; color: var(--red); font-size: 64px; }
.como-item h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin: 28px 0 8px;
}
.como-item p { font-size: 13px; color: var(--warm); line-height: 1.7; }
/* Nota de condições comerciais, fechando o bloco de informações */
.como-vip {
  margin-top: 56px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: var(--cream);
}
.como-vip em { font-style: italic; color: var(--red); }
@media (max-width: 1100px) {
  .como { padding: 100px var(--pad); }
  .como-grid { grid-template-columns: 1fr; }
  .como-item { border-right: none; border-bottom: 1px solid rgba(239,238,234,.08); }
  .como-item:last-child { border-bottom: none; }
}

/* ============ FIELD PHONE (prefixo +55 fixo) ============ */
.field-phone {
  display: flex;
  align-items: stretch;
  gap: 12px;
  border-bottom: 1px solid rgba(239,238,234,.15);
  transition: border-color .3s var(--ease);
}
.field-phone:focus-within { border-bottom-color: var(--red); }
.field-phone-prefix {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--warm);
  letter-spacing: .02em;
  padding: 10px 0 10px 0;
  border-right: 1px solid rgba(239,238,234,.12);
  padding-right: 12px;
  user-select: none;
  flex-shrink: 0;
}
.field-phone .phone-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  cursor: none;
}
@media (max-width: 900px) { .field-phone .phone-input { cursor: auto; } }
.field-phone .phone-input::placeholder { color: rgba(239,238,234,.22); }
/* Remove a borda dupla quando .field-phone está dentro de .field padrão */
.field .field-phone { margin-top: 0; }
/* Idle popup phone field — borda no container, não no input */
.idle-field-phone {
  display: flex;
  align-items: stretch;
  gap: 10px;
  border-bottom: 1px solid rgba(239,238,234,.12);
  transition: border-color .3s var(--ease);
}
.idle-field-phone:focus-within { border-bottom-color: var(--red); }
.idle-field-phone .field-phone-prefix {
  border-right: 1px solid rgba(239,238,234,.12);
  padding: 12px 12px 12px 4px;
  font-size: 14px;
  color: var(--warm);
}
.idle-field-phone .phone-input {
  flex: 1;
  background: transparent;
  border: none !important;
  border-bottom: none !important;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 0;
  outline: none;
}
.idle-field-phone .phone-input::placeholder { color: rgba(239,238,234,.25); }

/* ============ CTA FINAL ============ */
.cta-final {
  padding: 180px var(--pad);
  background: var(--cream);
  text-align: center;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-final::before, .cta-final::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(238,42,66,.15);
  pointer-events: none;
}
.cta-final::before { top: -300px; left: -200px; }
.cta-final::after { bottom: -300px; right: -200px; }
.cta-final-inner { position: relative; max-width: 800px; margin: 0 auto; }
.cta-final .section-eyebrow { color: var(--red); justify-content: center; }
.cta-final .section-eyebrow::before { display: none; }
.cta-final-h2 {
  font-family: var(--serif);
  /* 48px é o teto para o título fechar em 3 linhas no container de 800px */
  font-size: clamp(28px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -.02em;
}
.cta-final-h2 em { font-style: italic; color: var(--red); }
.cta-final p {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 44px;
  line-height: 1.6;
}
@media (max-width: 1100px) { .cta-final { padding: 100px var(--pad); } }

/* ============ FAQ ============ */
.faq {
  padding: 160px var(--pad);
  background: var(--ink-2);
}
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq-list { margin-top: 64px; }
.faq-item {
  border-bottom: 1px solid rgba(239,238,234,.08);
  padding: 32px 0;
}
.faq-item summary {
  list-style: none;
  cursor: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--cream);
  font-weight: 400;
  transition: color .3s var(--ease);
  gap: 24px;
}
@media (max-width: 900px) { .faq-item summary { cursor: pointer; } }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-icon {
  font-family: var(--sans);
  font-size: 28px;
  color: var(--red);
  font-weight: 200;
  transition: transform .4s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--warm);
  max-width: 720px;
}
@media (max-width: 1100px) {
  .faq { padding: 100px var(--pad); }
  .faq-item summary { font-size: 18px; }
}

/* ============ FOOTER ============ */
.footer {
  padding: 64px var(--pad) 56px;
  background: var(--ink);
  border-top: 1px solid rgba(239,238,234,.06);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand img {
  height: 28px;
  opacity: .55;
  transition: opacity .4s var(--ease);
}
.footer-brand:hover img { opacity: .85; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--warm); }
.footer-tag em { color: var(--red); font-style: italic; }
.footer-copy { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.footer-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-destra {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: .5;
  transition: opacity .4s var(--ease);
}
.footer-destra span {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-destra img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .4s var(--ease);
}
.footer-destra:hover { opacity: 1; }
@media (max-width: 1100px) {
  .footer { padding: 48px var(--pad); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-end { align-items: center; }
}

/* ============ POPUP OCIOSIDADE ============ */
.idle-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  cursor: none;
  background: rgba(10, 9, 9, .75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.idle-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.idle-popup {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(238,42,66,.06) 0%, transparent 60%),
    var(--ink-2);
  border: 1px solid rgba(239,238,234,.08);
  border-radius: 8px;
  padding: 56px 48px;
  max-width: 460px;
  width: 90%;
  transform: translateY(30px) scale(.96);
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.idle-overlay.active .idle-popup {
  transform: translateY(0) scale(1);
}
.idle-popup, .idle-popup * { cursor: none; }
.idle-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--warm-mute);
  font-size: 28px;
  cursor: none;
  line-height: 1;
  transition: color .3s var(--ease);
  padding: 4px;
}
.idle-close:hover { color: var(--red); }

.idle-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 20px;
}
.idle-title {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 12px;
}
.idle-title em { font-style: italic; color: var(--red); }
.idle-sub {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--warm);
  line-height: 1.6;
  margin-bottom: 32px;
}
.idle-form { display: flex; flex-direction: column; gap: 16px; }
.idle-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(239,238,234,.12);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 0;
  outline: none;
  transition: border-color .3s var(--ease);
}
.idle-field input::placeholder { color: rgba(239,238,234,.25); }
.idle-field input:focus { border-bottom-color: var(--red); }
.idle-form .btn-primary {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}
.idle-success {
  font-family: var(--sans);
  font-size: 14px;
  color: #4FD41E;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.idle-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE OVERRIDES (≤ 768px)
   Bloco isolado — não altera o desktop
   ============================================================ */
@media (max-width: 768px) {

  :root {
    --pad: 22px;
  }

  body { font-size: 15px; }

  /* TOPBAR */
  .topbar { padding: 16px 22px; }
  .topbar.scrolled { padding: 12px 22px; }
  .brand-logo { height: 29px; }
  .brand-name { display: none; }
  .topnav { display: none; }
  .btn-mini { padding: 10px 18px; font-size: 10px; }

  /* HERO — mobile: layout estilo desktop (texto esquerda, foto bg direita)
     com foto 40% maior e puxada pra direita, textos reduzidos */
  .hero {
    padding: 110px 22px 60px;
    min-height: auto;
    display: block;
    position: relative;
    background-image:
      linear-gradient(180deg, var(--ink) 0%, rgba(25,24,24,.5) 9%, transparent 24%),
      linear-gradient(90deg,
        var(--ink) 0%,
        rgba(25,24,24,.92) 40%,
        rgba(25,24,24,.45) 62%,
        rgba(25,24,24,.10) 82%,
        transparent 100%),
      url('assets/img/daniel-hero.jpg');
    /* 170% + posição 30% deixa o rosto na metade direita, livre do título */
    background-size: auto, auto, 170% auto;
    background-position: center, center, 30% 70px;
    background-repeat: no-repeat;
  }
  .hero::after {
    display: none;
  }
  .hero-bg { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    display: block;
    position: static;
    z-index: auto;
  }
  .hero-left { padding: 0; }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
    margin-bottom: 22px;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 48%;
  }
  .hero-eyebrow .line { width: 24px; }

  .hero-h1-desktop { display: block; }
  .hero-h1-mobile { display: none; }
  .hero-sub-desktop { display: none; }
  .hero-sub-mobile { display: block; }
  .hero-h1 {
    font-size: clamp(26px, 6.9vw, 37px);
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -.02em;
    max-width: 55%;
  }

  .hero-sub {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 60%;
  }
  .hero-tag {
    font-size: 14px;
    margin-bottom: 26px;
    max-width: 55%;
  }

  .hero-actions {
    gap: 8px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    max-width: none;
    margin: 0 5px;
    position: relative;
    z-index: 5; /* acima do .form-section::before que sobe -120px e sobrepõe */
  }
  /* No mobile, cancela a sobreposição do form-section no hero: ela é
     desenhada para o desktop e aqui engoliria os botões */
  .form-section { margin-top: 0 !important; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 11px 8px;
    font-size: 8.5px;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  .hero-actions .btn-primary svg { display: none; }

  /* HERO PHOTO */
  .hero-right { padding: 0; }
  .hero-photo {
    max-width: 100%;
    aspect-ratio: 4/5;
  }
  .hero-photo-meta { bottom: 18px; left: 18px; right: 18px; }
  .hero-photo-eyebrow { font-size: 8px; }

  /* SEALS CARD */
  .seals-block { margin-bottom: 64px; padding: 40px 0; }
  .seals-star { width: 280px; height: 280px; }
  .seals-star-sm { width: 120px; height: 120px; }
  .seals-block::before { width: 200px; height: 200px; }
  .seals-block-eyebrow { font-size: 9px; margin-bottom: 24px; }
  .seals-block-eyebrow::before, .seals-block-eyebrow::after { width: 20px; margin: 0 10px; }
  .seals-block-img {
    max-width: 90%;
    transform: scale(1.4);
    transform-origin: center;
  }
  .seals-block-caption { font-size: 13px; margin-top: 24px; }

  /* FORM SECTION */
  .form-section { padding: 80px 22px; }
  .form-big-num { font-size: 60vw; }
  .form-vline { display: none; }
  .form-glow-1 { width: 300px; height: 300px; top: -100px; left: -80px; }
  .form-glow-2 { width: 200px; height: 200px; }
  .form-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section-eyebrow {
    font-size: 10px;
    letter-spacing: .2em;
    margin-bottom: 18px;
    gap: 12px;
  }
  .section-eyebrow::before { width: 24px; }

  .section-h2 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.08;
    margin-bottom: 20px;
  }

  .form-section-lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  .form-quote { font-size: 14px; margin-bottom: 0; }

  .hero-form {
    padding: 28px 22px;
    border-radius: 4px;
  }
  .field { margin-bottom: 18px; }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field-row .field { margin-bottom: 18px; }
  .field input, .field select { font-size: 16px; padding: 10px 0; }
  .field label { font-size: 9px; }
  .form-privacy { font-size: 10px; }

  /* CASA */
  .casa { padding: 80px 22px; }
  .casa-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .casa-h2 {
    font-size: clamp(40px, 11vw, 56px);
    line-height: 1.05;
    letter-spacing: -.02em;
  }
  .casa-right p {
    font-size: 16px;
    line-height: 1.6;
  }
  .btn-white {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    margin-top: 20px;
    font-size: 11px;
  }

  /* DIFERENCIAIS */
  .diferenciais { padding: 80px 22px; }
  .diferenciais .section-h2 { margin-bottom: 48px; }
  .dif-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .dif {
    padding: 36px 28px;
  }
  .dif-num { font-size: 72px; margin-bottom: 16px; }
  .dif-num em { font-size: 42px; }
  .dif h3 { font-size: 20px; }

  /* EGRESSO */
  .egresso { padding: 80px 22px; }
  .egresso-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .egresso p { font-size: 16px; }
  .egresso-right { gap: 12px; }
  .egresso-pct {
    padding: 24px 0;
    gap: 18px;
    flex-wrap: wrap;
  }
  .pct-num { font-size: 76px; line-height: 1; }
  .pct-num em { font-size: 44px; }
  .pct-label { font-size: 15px; max-width: 100%; }
  .btn-ghost-light { font-size: 11px; }

  /* TRILHAS */
  .trilhas { padding: 80px 22px; }
  .trilhas-header { margin-bottom: 40px; }

  /* COMO */
  .como { padding: 80px 22px; }
  .como-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .como-item {
    padding: 40px 0;
    border-right: none;
    border-bottom: 1px solid rgba(239,238,234,.08);
  }
  .como-item:last-child { border-bottom: none; padding-bottom: 0; }
  .como-num { font-size: 76px; }
  .como-num em { font-size: 48px; }
  .como-item h4 { font-size: 20px; margin: 18px 0 6px; }

  /* CTA FINAL */
  .cta-final { padding: 90px 22px; }
  .cta-final::before, .cta-final::after { width: 360px; height: 360px; }
  .cta-final::before { top: -200px; left: -180px; }
  .cta-final::after { bottom: -200px; right: -180px; }
  .cta-final-h2 {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.06;
    margin-bottom: 22px;
  }
  .cta-final p { font-size: 16px; margin-bottom: 32px; }
  .cta-final .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 11px;
  }

  /* FAQ */
  .faq { padding: 80px 22px; }
  .faq-list { margin-top: 40px; }
  .faq-item { padding: 24px 0; }
  .faq-item summary {
    font-size: 17px;
    gap: 16px;
    line-height: 1.35;
  }
  .faq-icon { font-size: 24px; }
  .faq-item p { font-size: 14px; line-height: 1.65; margin-top: 12px; }

  /* FOOTER */
  .footer {
    padding: 40px 22px 36px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .footer-brand img { height: 22px; }
  .footer-tag { font-size: 13px; }
  .footer-copy { font-size: 10px; }
}

/* Telefones pequenos */
@media (max-width: 380px) {
  .hero-h1 { font-size: 38px; }
  .casa-h2 { font-size: 38px; }
  .section-h2 { font-size: 32px; }
  .pct-num { font-size: 64px; }
  .pct-num em { font-size: 38px; }
  .dif-num { font-size: 64px; }
  .como-num { font-size: 64px; }
}

/* ============================================================
   SPARKLE ICON — ícone global da marca em pontos criativos
   ============================================================ */
.sparkle-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Hero — grande, rotacionando lentamente atrás do H1 */
.sparkle-hero {
  top: 16%;
  right: -120px;
  width: 520px;
  height: auto;
  opacity: .09;
  animation: sparkleSpin 40s linear infinite, sparkleFadeIn 1.4s var(--ease-out) .6s forwards;
  mix-blend-mode: screen;
}

/* Casa — pequeno, pulsando suave no topo esquerdo, recuado para não
   encostar no eyebrow */
.sparkle-casa {
  top: 24px;
  left: 28px;
  width: 44px;
  z-index: 2;
  animation: sparklePulse 3.2s ease-in-out infinite, sparkleFadeIn 1s var(--ease-out) .3s forwards;
  filter: brightness(0) invert(1);
}

/* CTA final — médio, no canto inferior direito, rotação reversa */
.sparkle-cta {
  bottom: 60px;
  right: 80px;
  width: 84px;
  opacity: .55;
  z-index: 1;
  animation: sparkleSpinReverse 28s linear infinite, sparkleFadeIn 1s var(--ease-out) forwards;
}

@keyframes sparkleSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sparkleSpinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes sparklePulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .85; }
  50% { transform: scale(1.15) rotate(45deg); opacity: 1; }
}
@keyframes sparkleFadeIn {
  to { opacity: var(--sparkle-opacity, .85); }
}
.sparkle-hero { --sparkle-opacity: .09; }
.sparkle-casa { --sparkle-opacity: .85; }
.sparkle-cta { --sparkle-opacity: .55; }

/* FAQ — substituir o ícone + pelo sparkle */
.faq-icon {
  background: url('assets/img/sparkle.png') center/contain no-repeat;
  width: 20px;
  height: 20px;
  font-size: 0 !important;
  transition: transform .5s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(180deg) scale(1.2); }

/* Mobile */
@media (max-width: 768px) {
  .sparkle-hero { width: 320px; right: -100px; top: 20%; }
  .sparkle-casa { width: 36px; top: 48px; left: 22px; }
  .sparkle-cta { width: 56px; right: 22px; bottom: 32px; }
  .faq-icon { width: 18px; height: 18px; }
}

/* ==========================================================================
   IMERSÃO PRESENCIAL — NOVOS MODELOS DE NEGÓCIOS
   Seções exclusivas desta LP. Tudo abaixo usa os mesmos tokens do padrão FMP
   (--red, --ink, --cream, --warm, --serif, --sans, --ease).
   ========================================================================== */

/* ============ VAGAS (bloco da estrela, no lugar dos selos) ============ */
.seals-vagas {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 150px);
  line-height: .88;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: -.03em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
}
.seals-vagas-label {
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--red);
  letter-spacing: 0;
}

/* ============ PERGUNTA CENTRAL ============ */
.pergunta {
  padding: 150px var(--pad);
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.pergunta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 90px;
  background: linear-gradient(180deg, var(--red), transparent);
}
.pergunta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.pergunta-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--cream);
  letter-spacing: -.02em;
  margin-bottom: 40px;
}
.pergunta-h2 em { font-style: italic; color: var(--red); }
.pergunta-sub {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239,238,234,.6);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 300;
}

/* ============ AS CINCO QUESTÕES ============ */
.questoes {
  padding: 160px var(--pad);
  background: var(--ink);
}
.questoes-inner { max-width: var(--container); margin: 0 auto; }
.questoes-lead {
  max-width: 780px;
  margin: 40px 0 72px;
}
.questoes-lead p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239,238,234,.62);
  font-weight: 300;
  margin-bottom: 22px;
}
.q-destaque {
  font-family: var(--serif) !important;
  font-size: 22px !important;
  line-height: 1.5 !important;
  color: var(--cream) !important;
  margin-top: 40px !important;
  padding-top: 32px;
  border-top: 1px solid rgba(239,238,234,.12);
}
.q-destaque em { font-style: italic; color: var(--red); }

.q-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.q-item {
  padding: 40px 34px 44px;
  background: rgba(239,238,234,.025);
  border: 1px solid rgba(239,238,234,.08);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.q-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .45;
}
html.has-hover .q-item:hover {
  border-color: rgba(238,42,66,.32);
  background: rgba(239,238,234,.045);
}
.q-num {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 26px;
}
.q-item p {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.42;
  color: rgba(239,238,234,.9);
  letter-spacing: -.01em;
}
.q-item p em { font-style: italic; color: var(--red); }

/* ============ DESIGN vs GESTÃO ============ */
.design-sec {
  padding: 160px var(--pad);
  background: var(--ink-2);
}
.design-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 90px;
  align-items: start;
}
.design-p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239,238,234,.62);
  font-weight: 300;
  margin-bottom: 24px;
}
.design-claim {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.4;
  color: var(--cream);
  margin-top: 34px;
  padding-left: 24px;
  border-left: 2px solid var(--red);
}
.design-claim em { font-style: italic; }

.design-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 44px;
}
.design-col {
  padding: 36px 28px;
  border: 1px solid rgba(239,238,234,.1);
  border-radius: 4px;
  background: rgba(239,238,234,.02);
}
.design-col-red {
  border-color: rgba(238,42,66,.4);
  background: rgba(238,42,66,.06);
}
.design-col-tag {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--warm-mute);
  margin-bottom: 18px;
}
.design-col-red .design-col-tag { color: var(--red); }
.design-col-txt {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--cream);
  letter-spacing: -.01em;
}

/* ============ PARA QUEM ============ */
.paraquem {
  padding: 160px var(--pad);
  background: var(--ink);
}
.paraquem-inner { max-width: 1050px; margin: 0 auto; }
.paraquem-header { margin-bottom: 56px; }

.pq-list {
  list-style: none;
  padding: 0;
  margin: 0 0 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.pq-item {
  position: relative;
  padding: 22px 0 22px 34px;
  border-bottom: 1px solid rgba(239,238,234,.08);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(239,238,234,.82);
  font-weight: 300;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.pq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 31px;
  width: 14px; height: 1px;
  background: var(--red);
  transition: width .3s var(--ease);
}
html.has-hover .pq-item:hover { color: var(--cream); padding-left: 42px; }
html.has-hover .pq-item:hover::before { width: 22px; }
.pq-item em { font-style: italic; color: var(--warm); }

.pq-quote {
  padding: 48px 0 0;
  border-top: 1px solid rgba(239,238,234,.12);
  max-width: 860px;
}
.pq-quote-main {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--cream);
  letter-spacing: -.015em;
  margin-bottom: 26px;
}
.pq-quote-main em { font-style: italic; color: var(--red); }
.pq-quote-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(239,238,234,.55);
  font-weight: 300;
}

/* ============ JORNADA — OS 5 ENCONTROS ============ */
.jornada {
  padding: 160px var(--pad);
  background: var(--ink-2);
}
.jornada-inner { max-width: 1000px; margin: 0 auto; }
.jornada-header { margin-bottom: 80px; }
.jornada-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--warm);
  max-width: 520px;
}

.enc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.enc {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 40px;
  padding-bottom: 64px;
}
.enc:last-child { padding-bottom: 0; }

.enc-index {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.enc-num {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  color: var(--red);
  font-weight: 400;
  letter-spacing: -.03em;
}
.enc-track {
  flex: 1;
  width: 1px;
  margin-top: 20px;
  background: linear-gradient(180deg, rgba(238,42,66,.5), rgba(239,238,234,.06));
}
.enc-track-last {
  background: linear-gradient(180deg, rgba(238,42,66,.5), transparent);
}

.enc-body {
  padding: 4px 0 0;
  border-bottom: 1px solid rgba(239,238,234,.07);
  padding-bottom: 44px;
}
.enc:last-child .enc-body { border-bottom: none; padding-bottom: 0; }
.enc-tema {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--warm-mute);
  margin-bottom: 14px;
}
.enc-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--cream);
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.enc-title em { font-style: italic; color: var(--red); }
.enc-txt {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(239,238,234,.6);
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 18px;
}

.enc-decisao {
  margin-top: 30px;
  padding: 26px 30px;
  background: rgba(238,42,66,.055);
  border-left: 2px solid var(--red);
  border-radius: 0 4px 4px 0;
  max-width: 720px;
}
.enc-decisao-tag {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
}
.enc-decisao p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--cream);
}

/* ============ O QUE VOCÊ CONSTRUIRÁ ============ */
.entrega {
  padding: 160px var(--pad);
  background: var(--ink);
}
.entrega-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.entrega-p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239,238,234,.62);
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 480px;
}
.entrega-nota {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--warm);
  max-width: 480px;
  margin-bottom: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(239,238,234,.1);
}
.entrega-nota em { font-style: italic; color: var(--red); }

.entrega-map {
  list-style: none;
  padding: 44px 40px;
  margin: 0;
  background: rgba(239,238,234,.025);
  border: 1px solid rgba(239,238,234,.09);
  border-radius: 4px;
  position: relative;
  counter-reset: mapa;
}
.entrega-map::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .5;
}
.entrega-map li {
  counter-increment: mapa;
  position: relative;
  padding: 15px 0 15px 46px;
  border-bottom: 1px solid rgba(239,238,234,.06);
  font-family: var(--sans);
  font-size: 15.5px;
  color: rgba(239,238,234,.82);
  font-weight: 300;
}
.entrega-map li:last-child { border-bottom: none; }
.entrega-map li::before {
  content: counter(mapa, decimal-leading-zero);
  position: absolute;
  left: 0; top: 17px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--red);
  opacity: .8;
}

/* ============ METODOLOGIA ============ */
.metodo {
  padding: 160px var(--pad);
  background: var(--ink-2);
}
.metodo-inner { max-width: 1000px; margin: 0 auto; }
.metodo-header { margin-bottom: 56px; }
.metodo-lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239,238,234,.6);
  font-weight: 300;
  max-width: 780px;
}

.metodo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}
.metodo-item {
  padding: 15px 26px;
  border: 1px solid rgba(239,238,234,.13);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(239,238,234,.78);
  font-weight: 300;
  background: rgba(239,238,234,.02);
  transition: border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
html.has-hover .metodo-item:hover {
  border-color: var(--red);
  color: var(--cream);
  background: rgba(238,42,66,.08);
}

.metodo-fecho {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.5;
  color: rgba(239,238,234,.72);
  padding-top: 44px;
  border-top: 1px solid rgba(239,238,234,.1);
}
.metodo-fecho em { font-style: italic; color: var(--cream); }

/* ============ O RIGOR ============ */
.rigor {
  padding: 150px var(--pad);
  background: var(--ink);
  position: relative;
}
.rigor-inner { max-width: 1000px; margin: 0 auto; }
.rigor-lines {
  margin: 12px 0 56px;
  border-left: 1px solid rgba(238,42,66,.3);
  padding-left: 40px;
}
.rigor-line {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.28;
  color: rgba(239,238,234,.42);
  letter-spacing: -.02em;
  transition: color .5s var(--ease);
}
.rigor-line em { font-style: italic; color: var(--red); }
html.has-hover .rigor-line:hover { color: var(--cream); }

.rigor-txt {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239,238,234,.58);
  font-weight: 300;
  max-width: 760px;
}

/* ============ O QUE NÃO É ============ */
.naoe {
  padding: 150px var(--pad);
  background: var(--ink-2);
}
.naoe-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  align-items: start;
}
.naoe-list {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
}
.naoe-list li {
  position: relative;
  padding: 20px 0 20px 42px;
  border-bottom: 1px solid rgba(239,238,234,.08);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(239,238,234,.55);
  font-weight: 300;
}
.naoe-list li::before {
  content: '×';
  position: absolute;
  left: 6px; top: 18px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--red);
  opacity: .7;
}
.naoe-fecho {
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 27px);
  line-height: 1.5;
  color: var(--cream);
  padding-left: 24px;
  border-left: 2px solid var(--red);
}
.naoe-fecho em { font-style: italic; color: var(--red); }

/* ============ POR QUE AGORA ============ */
.agora {
  padding: 160px var(--pad);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.agora-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.agora-p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--warm);
  margin-bottom: 44px;
}
/* Cada degrau é marcado pelo traço vermelho do ::before do span */
.agora-cascata {
  display: flex;
  flex-direction: column;
  margin-bottom: 52px;
}
.agora-cascata span {
  position: relative;
  padding: 18px 0 18px 34px;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(239,238,234,.58);
  font-weight: 300;
}
/* Cada degrau da cascata escurece um pouco mais — o modelo perdendo força */
.agora-cascata span:nth-child(1) { color: rgba(239,238,234,.78); }
.agora-cascata span:nth-child(2) { color: rgba(239,238,234,.68); }
.agora-cascata span:nth-child(3) { color: rgba(239,238,234,.58); }
.agora-cascata span:nth-child(4) { color: rgba(239,238,234,.48); }
.agora-cascata span:nth-child(5) { color: rgba(239,238,234,.4); }
.agora-cascata span::before {
  content: '';
  position: absolute;
  left: -1px; top: 26px;
  width: 18px; height: 1px;
  background: var(--red);
  opacity: .55;
}

.agora-claim {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(239,238,234,.12);
}
.agora-claim em { font-style: italic; color: var(--red); }
.sparkle-agora { --sparkle-opacity: .5; width: 72px; right: 40px; top: 90px; }

/* ============ PROFESSOR ============ */
.professor {
  padding: 160px var(--pad);
  background: var(--ink-2);
}
.professor-inner { max-width: var(--container); margin: 0 auto; }
.professor-header { margin-bottom: 64px; }
.professor-body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.professor-photo { margin: 0; }
.professor-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(1) contrast(1.05);
  transition: filter .7s var(--ease);
}
html.has-hover .professor-photo:hover img { filter: grayscale(0) contrast(1); }

.professor-cargo {
  display: block;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--warm-mute);
}

.professor-lead {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
  color: var(--cream);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(239,238,234,.1);
}
.professor-p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  color: rgba(239,238,234,.6);
  font-weight: 300;
  margin-bottom: 20px;
}
.professor-p em { font-style: italic; color: var(--warm); }

.professor-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(239,238,234,.1);
}
.pn-val {
  display: block;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.pn-val em { font-style: italic; font-size: 24px; color: var(--red); margin-left: 4px; }
.pn-label {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--warm-mute);
  max-width: 160px;
}
.professor-mais {
  margin-top: 36px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--warm-mute);
}
.professor-mais a {
  color: var(--red);
  border-bottom: 1px solid rgba(238,42,66,.35);
  transition: border-color .3s var(--ease);
}
html.has-hover .professor-mais a:hover { border-color: var(--red); }

/* ==========================================================================
   RESPONSIVO — segue o breakpoint 1100px do padrão FMP
   ========================================================================== */
@media (max-width: 1100px) {
  .pergunta { padding: 100px var(--pad); }

  .questoes { padding: 100px var(--pad); }
  .questoes-lead { margin: 32px 0 48px; }
  .q-grid { grid-template-columns: 1fr 1fr; }

  .design-sec { padding: 100px var(--pad); }
  .design-inner { grid-template-columns: 1fr; gap: 56px; }

  .paraquem { padding: 100px var(--pad); }
  .pq-list { grid-template-columns: 1fr; gap: 0; margin-bottom: 56px; }

  .jornada { padding: 100px var(--pad); }
  .jornada-header { margin-bottom: 56px; }
  .enc { grid-template-columns: 64px 1fr; gap: 26px; padding-bottom: 48px; }
  .enc-num { font-size: 34px; }

  .entrega { padding: 100px var(--pad); }
  .entrega-inner { grid-template-columns: 1fr; gap: 56px; }

  .metodo { padding: 100px var(--pad); }
  .rigor { padding: 100px var(--pad); }
  .rigor-lines { padding-left: 26px; margin-bottom: 44px; }

  .naoe { padding: 100px var(--pad); }
  .naoe-inner { grid-template-columns: 1fr; gap: 48px; }

  .agora { padding: 100px var(--pad); }

  .professor { padding: 100px var(--pad); }
  .professor-body { grid-template-columns: 1fr; gap: 48px; }
  .professor-photo { max-width: 340px; }
  .professor-nums { gap: 20px; }
  .pn-val { font-size: 40px; }

}

@media (max-width: 768px) {
  .seals-vagas { gap: 12px; }

  .q-grid { grid-template-columns: 1fr; }
  .q-item { padding: 32px 26px 34px; }
  .q-item p { font-size: 19px; }

  .design-split { grid-template-columns: 1fr; }
  .design-claim { font-size: 22px; padding-left: 18px; }

  .enc { grid-template-columns: 1fr; gap: 0; }
  /* No mobile o número vira uma linha própria e a régua vertical sai */
  .enc-index { flex-direction: row; align-items: center; gap: 14px; margin-bottom: 16px; }
  .enc-track { flex: 1; width: auto; height: 1px; margin-top: 0; background: linear-gradient(90deg, rgba(238,42,66,.5), transparent); }
  .enc-num { font-size: 30px; }
  .enc-decisao { padding: 22px 22px; }
  .enc-decisao p { font-size: 17px; }

  .entrega-map { padding: 32px 26px; }

  .metodo-item { font-size: 13px; padding: 13px 20px; }

  .professor-nums { grid-template-columns: 1fr; gap: 28px; }
  .pn-label { max-width: none; }

  .sparkle-agora { width: 48px; right: 20px; top: 60px; }
}

/* ==========================================================================
   AJUSTES MOBILE ESPECÍFICOS DESTE PROGRAMA
   O layout mobile herdado foi desenhado para um título curto ("Especializações
   EaD em Direito") e um CTA curto ("Começar agora"). Aqui o título e o CTA são
   bem mais longos, então estes overrides vêm depois do bloco herdado.
   ========================================================================== */
@media (max-width: 768px) {

  /* Título: usa a variante -mobile (quebras curtas) em vez da desktop */
  .hero-h1-desktop { display: none; }
  .hero-h1-mobile  { display: block; }
  .hero-h1 {
    font-size: clamp(25px, 6.6vw, 35px);
    max-width: 64%;
  }

  /* Texto de apoio ganha largura — nesta altura a foto de fundo já terminou */
  .hero-sub { max-width: 68%; }
  /* As quebras manuais do hero-tag foram pensadas pro desktop; no mobile elas
     deixam "portfólio," órfão numa linha — melhor deixar o texto fluir. */
  .hero-tag { max-width: 82%; font-size: 13px; }
  .hero-tag br { display: none; }

  /* CTAs empilhados: "Quero construir o próximo modelo" não cabe lado a lado.
     O nowrap herdado cortava o texto no meio ("ERO CONSTRUIR O PRÓXIMO MODE"). */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: none;
    width: 100%;
    padding: 15px 18px;
    font-size: 10.5px;
    letter-spacing: .1em;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  .hero-actions .btn-primary svg { display: inline-block; flex-shrink: 0; }

  /* Mesmo cuidado nos outros CTAs longos da página */
  .agora .btn-primary,
  .cta-final .btn-primary,
  .hero-form .btn-primary,
  .idle-form .btn-primary {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    font-size: 11px;
    padding: 16px 24px;
  }
}

/* ============ CURSOR SOBRE FUNDO VERMELHO ============
   A seção .casa tem fundo vermelho sólido e o cursor custom é a estrela
   vermelha (cursor.png) com trail de borda vermelha — some por completo.
   Sobre ela o cursor vira branco; e sobre o botão branco DENTRO dela,
   volta ao vermelho (senão sumiria de novo). Classe alternada no script.js. */
.cursor.on-red {
  filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0,0,0,.28));
}
.cursor-trail.on-red { border-color: rgba(255,255,255,.55); }
.cursor-trail.on-red.hover { border-color: #fff; }

/* ==========================================================================
   BLOCO DE VAGAS E PROVOCAÇÕES
   ========================================================================== */

/* ---------- Bloco de vagas: tipografia grande ---------- */
.seals-headline {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--cream);
  margin: 6px 0 14px;
}
.seals-headline em { font-style: italic; color: var(--red); }

/* ---------- 2ª provocação, dentro do bloco vermelho ---------- */
.casa-pergunta {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 52px auto 0;
  padding-top: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: start;
}
.casa-pergunta-h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--cream);
}
.casa-pergunta-h3 em {
  font-style: italic;
  /* no fundo vermelho o --red sumiria: usa o creme com transparência */
  color: rgba(255,255,255,.62);
}
.casa-pergunta-sub {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  max-width: 440px;
}

/* Bloco vermelho mais compacto: agora carrega as DUAS provocações e
   precisa caber de uma vez na tela. */
.casa { padding: 84px var(--pad) 88px; }
.casa-inner { gap: 80px; align-items: start; }
.casa-h2 { font-size: clamp(34px, 4.1vw, 60px); }
.casa-right p { font-size: 16.5px; line-height: 1.6; margin-bottom: 18px; }
.casa-right p:last-child { margin-bottom: 0; }

/* CTA fechando a seção, depois das duas provocações */
.casa-cta {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 52px auto 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 1100px) {
  .casa { padding: 80px var(--pad); }
  .casa-pergunta {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
    padding-top: 40px;
  }
}
@media (max-width: 768px) {
  .seals-headline { font-size: clamp(28px, 8.4vw, 40px); }
  .hero-h1 { max-width: 64%; }   /* volta ao limite do bloco mobile */
}

/* CTA final no mobile: os <br> foram pensados para o desktop e numa tela
   estreita empurravam o título para 5 linhas. Soltos, o texto quebra
   naturalmente em 3. */
@media (max-width: 768px) {
  .cta-final-h2 { font-size: 26px; line-height: 1.2; }
  .cta-final-h2 br { display: none; }
}
/* telas bem estreitas: 26px ainda estourava para 4 linhas */
@media (max-width: 380px) {
  .cta-final-h2 { font-size: 23px; }
}

/* Telas baixas (ex.: 1280×800): o bloco vermelho carrega as duas provocações
   + o CTA e passava de 100vh. Compacta os respiros para seguir cabendo de
   uma vez, sem apertar quem tem tela alta. */
@media (min-width: 1101px) and (max-height: 860px) {
  .casa { padding: 64px var(--pad) 68px; }
  .casa-inner { gap: 64px; }
  .casa-h2 { font-size: clamp(30px, 3.4vw, 46px); }
  .casa-right p { margin-bottom: 14px; }
  .casa-pergunta { margin-top: 38px; padding-top: 32px; }
  .casa-pergunta-h3 { font-size: clamp(24px, 2.6vw, 36px); }
  .casa-cta { margin-top: 34px; }
}

/* ============================================================
   ENVIO DE FORMULÁRIO — estados reais
   Bloco adicionado quando os formulários passaram a enviar de
   verdade (POST /api/lead). Antes o onsubmit era inline e só
   fingia sucesso; agora existem os três estados: enviando,
   sucesso e erro.
   ============================================================ */

/* Honeypot: precisa estar no DOM e ser preenchível por bot, mas
   invisível e inalcançável por humano. display:none não serve —
   muitos bots ignoram campos com display:none justamente por
   saberem que são armadilha. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Rótulo só para leitor de tela (usado no popup, que é visualmente
   guiado por placeholder). */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Botão durante o envio */
form[data-lead-form].sending button[type="submit"] {
  opacity: .6;
  cursor: wait;
  pointer-events: none;
}
form[data-lead-form].sending button[type="submit"] svg {
  animation: leadSpin .8s linear infinite;
}
@keyframes leadSpin {
  to { transform: rotate(360deg); }
}

/* Depois do sucesso os campos somem — o card fica só com a
   confirmação, sem convidar a reenviar. */
.hero-form.submitted .field,
.hero-form.submitted .field-row,
.hero-form.submitted button[type="submit"],
.hero-form.submitted .form-privacy { display: none; }
.idle-form.submitted .idle-field,
.idle-form.submitted button[type="submit"] { display: none; }

/* Erro — mesma caixa da mensagem de sucesso, em tom de alerta */
.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255,176,32,.08);
  border: 1px solid rgba(255,176,32,.45);
  color: #FFB020;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  border-radius: 4px;
}
.form-error.show { display: block; animation: fadeUp .4s var(--ease-out); }
.form-error a { color: #FFB020; text-decoration: underline; }

/* ==========================================================================
   RITMO VERTICAL E QUEBRAS NO MOBILE
   O espaçamento entre seções foi desenhado para telas largas: em 390px os
   mesmos 100px de padding viravam vãos de mais de 200px entre um texto e o
   próximo. Aqui o ritmo é recalibrado para a leitura no celular.
   ========================================================================== */
@media (max-width: 768px) {
  .paraquem, .questoes, .design-sec, .jornada, .entrega,
  .metodo, .rigor, .naoe, .agora, .professor {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .casa, .form-section, .como, .faq { padding-top: 64px; padding-bottom: 64px; }
  .cta-final { padding-top: 72px; padding-bottom: 72px; }

  /* Quebras pensadas para o desktop: no celular sobrava um vão à direita da
     linha curta. Aqui o texto flui com a largura da tela. Só vale para as
     quebras de conveniência — os títulos em que cada frase ocupa a sua linha
     (jornada, entrega, "o que não é") mantêm a quebra, que é intencional. */
  .q-destaque br,
  .metodo-header .section-h2 br { display: none; }

  /* As quatro frases têm duas linhas cada no mobile e encostavam umas nas
     outras — sem respiro não dava para ver onde uma termina. */
  .rigor-line { margin-bottom: 22px; }
  .rigor-line:last-child { margin-bottom: 0; }
  .rigor-lines { padding-left: 24px; margin-bottom: 40px; }

  /* Item de grid tem min-width:auto, então não encolhe abaixo da largura
     intrínseca do conteúdo: a coluna do formulário travava em 455px dentro
     de uma tela de 390px e o cartão era cortado à direita pelo
     overflow-x:hidden do body. */
  .form-section-inner,
  .form-section-left,
  .form-card-wrapper,
  .hero-form,
  .field-row,
  .field { min-width: 0; }
  .field input,
  .field select,
  .field-phone,
  .field-phone input { min-width: 0; max-width: 100%; }

  /* Distribui as linhas dos títulos para não sobrar uma palavra sozinha na
     última ("Redesenhar a / oferta"). */
  .enc-title,
  .section-h2,
  .casa-h2,
  .casa-pergunta-h3,
  .cta-final-h2 { text-wrap: balance; }

  /* Campos com 41px ficavam abaixo dos 44px de alvo de toque confortável.
     O ganho vem do padding, então a linha de base do campo não muda. */
  .field input,
  .field select,
  .idle-field input { padding-top: 13px; padding-bottom: 13px; }
}

/* ==========================================================================
   V2 — COPY EXECUTIVA
   Componentes exclusivos desta versão. Usa os mesmos tokens do padrão FMP
   (--red, --ink, --cream, --warm, --serif, --sans, --ease).
   ========================================================================== */

/* ============ HERO — CLAIM E META ============ */

/* A frase-âncora entre o H1 e o parágrafo de apoio. Serif em cream para
   competir com o H1 sem repetir seu peso: é a promessa, não o título. */
.hero-claim {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--cream);
  letter-spacing: -.01em;
  max-width: 620px;
  margin-bottom: 26px;
  padding-left: 22px;
  border-left: 2px solid var(--red);
}
.hero-claim em { font-style: italic; color: var(--red); }
.hero-claim-mobile { display: none; }

/* O parágrafo de apoio herda .hero-sub, mas aqui é texto longo e não cabe
   nos 430px do original — a foto de fundo só começa a pesar após ~52%. */
.hero .hero-sub {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(239,238,234,.62);
  max-width: 520px;
}

/* Linha de metadados abaixo dos botões: formato, encontros e tamanho da
   turma. Separadores são spans vazios para não virarem texto no leitor. */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  /* Entra por animação própria, não por .reveal: em telas baixas esta linha
     fica abaixo do viewport e o IntersectionObserver nunca dispararia,
     deixando-a invisível. O delay a coloca depois dos botões. */
  opacity: 0;
  animation: heroMetaIn .9s var(--ease-out) 1.1s forwards;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--warm-mute);
}
@keyframes heroMetaIn {
  from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.hero-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  opacity: .65;
  flex: none;
}

/* ============ QUANTO VALE ============ */
.valor {
  padding: 160px var(--pad);
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.valor-inner { max-width: 1050px; margin: 0 auto; position: relative; z-index: 2; }
.sparkle-valor {
  --sparkle-opacity: .5;
  width: 64px;
  right: 48px;
  top: 96px;
  animation: sparkleSpinReverse 32s linear infinite, sparkleFadeIn 1s var(--ease-out) forwards;
}

.valor-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
}
/* Uma pergunta por linha, não em grid: cada "quanto vale" precisa ser lido
   isoladamente para o preço mental ser calculado antes do próximo. */
.valor-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid rgba(239,238,234,.08);
  transition: padding-left .35s var(--ease);
}
.valor-item:first-child { border-top: 1px solid rgba(239,238,234,.08); }
html.has-hover .valor-item:hover { padding-left: 12px; }
.valor-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  font-weight: 600;
  color: var(--red);
  padding-top: 9px;
}
.valor-item p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.45;
  color: rgba(239,238,234,.88);
  letter-spacing: -.01em;
  transition: color .35s var(--ease);
}
.valor-item p em { font-style: italic; color: var(--red); }
html.has-hover .valor-item:hover p { color: var(--cream); }

.valor-fecho {
  margin-top: 56px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--cream);
  padding-left: 24px;
  border-left: 2px solid var(--red);
}
.valor-fecho em { font-style: italic; color: var(--red); }

/* ============ ISTO NÃO É UMA PÓS EAD ============ */
.naoe-claim {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  color: var(--warm);
}
.naoe-claim em { font-style: italic; color: var(--red); }
.naoe-p {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(239,238,234,.6);
  font-weight: 300;
  margin-bottom: 30px;
}
.naoe-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--warm-mute);
  margin-bottom: 18px;
}
/* Os sete temas como chips: a copy os lista em sequência corrida, mas em
   bloco eles viram um inventário — o leitor confere se o seu tema está lá. */
.naoe-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.naoe-tags li {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 300;
  color: rgba(239,238,234,.8);
  padding: 9px 18px;
  border: 1px solid rgba(239,238,234,.14);
  border-radius: 100px;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
html.has-hover .naoe-tags li:hover {
  border-color: rgba(238,42,66,.45);
  color: var(--cream);
}

/* ============ PROFESSOR — OS QUATRO PERFIS ============ */
.perfis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}
.perfil-card {
  padding: 30px 28px 32px;
  background: rgba(239,238,234,.025);
  border: 1px solid rgba(239,238,234,.08);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.perfil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .45;
}
html.has-hover .perfil-card:hover {
  border-color: rgba(238,42,66,.32);
  background: rgba(239,238,234,.045);
}
.perfil-tag {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 18px;
}
.perfil-card p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(239,238,234,.68);
}
.perfil-card p em { font-style: italic; color: var(--warm); }

/* ============ PROFESSOR — MARCAS E FECHO ============ */
.marcas-label {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(239,238,234,.5);
  margin: 32px 0 18px;
}
.marcas-list {
  list-style: none;
  padding: 26px 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  border-top: 1px solid rgba(239,238,234,.1);
  border-bottom: 1px solid rgba(239,238,234,.1);
}
.marcas-list li {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(239,238,234,.42);
  transition: color .35s var(--ease);
}
html.has-hover .marcas-list li:hover { color: var(--cream); }

.professor-fecho {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--warm);
  padding-left: 24px;
  border-left: 2px solid var(--red);
}
.professor-fecho em { font-style: italic; color: var(--cream); }

/* ============ PARA QUEM DECIDE ============ */
/* Sem a lista de públicos acima, a citação perde a borda superior que a
   separava dela e ganha o topo do bloco. */
.pq-quote-solo {
  padding-top: 0;
  border-top: none;
}
.pq-quote-solo .pq-quote-sub { margin-bottom: 22px; }
.pq-quote-solo .pq-quote-main { margin: 40px 0 0; }
.pq-cta { margin-top: 56px; }

/* ==========================================================================
   V2 — RESPONSIVO (segue os breakpoints 1100/768 do padrão FMP)
   ========================================================================== */

@media (max-width: 1100px) {
  .valor { padding: 110px var(--pad); }
  .perfis-grid { grid-template-columns: 1fr 1fr; }
  .hero-claim { max-width: 100%; }
  .hero .hero-sub { max-width: 100%; }
}

@media (max-width: 768px) {
  /* Claim: usa a variante -mobile (quebras curtas) em vez da desktop */
  .hero-claim-desktop { display: none; }
  .hero-claim-mobile  { display: block; }
  .hero-claim {
    font-size: clamp(17px, 4.6vw, 21px);
    padding-left: 16px;
    margin-bottom: 22px;
  }

  .hero .hero-sub { font-size: 14.5px; line-height: 1.65; }
  .hero-tag br { display: none; }
  .hero-meta { margin-top: 30px; gap: 12px; font-size: 10px; }

  .valor { padding: 90px var(--pad); }
  .sparkle-valor { width: 44px; right: 20px; top: 56px; }
  .valor-list { margin-top: 40px; }
  .valor-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .valor-num { padding-top: 0; }
  .valor-fecho { margin-top: 40px; padding-left: 16px; }

  .naoe-tags { gap: 8px; }
  .naoe-tags li { font-size: 12px; padding: 8px 14px; }

  .perfis-grid { grid-template-columns: 1fr; gap: 12px; }
  .perfil-card { padding: 26px 22px 28px; }

  .marcas-list { gap: 8px 20px; padding: 22px 0; }
  .marcas-list li { font-size: 12.5px; }
  .professor-fecho { padding-left: 16px; }

  .pq-cta { margin-top: 40px; }

  /* Evita palavra órfã na última linha dos títulos novos, como já é feito
     para .section-h2 e .enc-title. */
  .hero-claim,
  .valor-item p,
  .valor-fecho,
  .professor-fecho { text-wrap: balance; }
}

/* ============ HERO EM TELAS BAIXAS ============
   A v2 acrescentou o claim e a linha de metadados ao hero. Em telas de
   altura reduzida (1280x720 é o caso comum) isso empurrava .hero-actions
   para fora da dobra — e como ela é .reveal, os botões ficavam em
   opacity:0 até o visitante rolar, ou seja, o CTA principal sumia no
   carregamento. Mesmo breakpoint de altura que a .casa já usava. */
@media (min-width: 1101px) and (max-height: 860px) {
  .hero { padding-top: 92px; }
  .hero-left { padding: 24px 0; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-h1 { margin-bottom: 20px; }
  .hero-claim { margin-bottom: 18px; }
  .hero .hero-sub { margin-bottom: 24px; }
  .hero-tag { margin-bottom: 30px; }
  .hero-meta { margin-top: 26px; }
}

/* ============ AJUSTES DE LAYOUT V2 ============ */

/* A coluna de texto do professor ficou bem mais alta que a foto (a bio nova
   é mais curta, mas ganhou os quatro cards). Com a foto fixa, a lateral
   esquerda deixava um vazio longo — sticky acompanha a leitura. */
@media (min-width: 1101px) {
  .professor-photo {
    position: sticky;
    top: 100px;
  }
}

/* "Uma arquitetura estratégica para o seu escritório" é mais longo que o
   título da v1 e quebrava em quatro linhas dentro da coluna de 1fr.
   Mais largura à esquerda resolve sem reduzir o corpo do título. */
@media (min-width: 1101px) {
  .entrega-inner { grid-template-columns: 1.25fr 1fr; }
}
/* Mesmo com a coluna maior, "Uma arquitetura estratégica" não cabe numa
   linha aos 72px do .section-h2 e o título virava quatro linhas. As palavras
   aqui são mais longas que as da v1 ("Arquitetura do / Novo Modelo"). */
.entrega .section-h2 { font-size: clamp(32px, 3.6vw, 50px); }
