/* ===== TOKENS ===== */
:root {
  /* Warm neutral palette */
  --cream: #F6F1EA;
  --cream-2: #EFE7DB;
  --sand: #E8DDD0;
  --sand-2: #D9CBB8;
  --paper: #FAF6EF;

  /* Coral family (from logo) */
  --coral-50: #FBEAE6;
  --coral-100: #F5CFC8;
  --coral-200: #EDAFA6;
  --coral: #E88B83;
  /* primary */
  --coral-dark: #C96860;
  --terracotta: #B85748;
  --bordo: #6B2220;

  /* Ink */
  --ink: #1F1A17;
  --ink-2: #3B332E;
  --ink-3: #6C625B;
  --ink-4: #9A8F85;
  --line: rgba(31, 26, 23, 0.14);
  --line-2: rgba(31, 26, 23, 0.08);

  /* Typography defaults — swapped by Tweaks */
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-editorial: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --f-body: "Geist", "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm — swapped by density */
  --section-y: 160px;
  --container: 1280px;
  --gutter: clamp(20px, 3vw, 48px);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

[data-density="compact"] {
  --section-y: 104px;
}

[data-density="comfortable"] {
  --section-y: 160px;
}

[data-density="spacious"] {
  --section-y: 220px;
}

@media (max-width: 768px) {
  :root {
    --section-y: 80px;
    --gutter: 24px;
  }
}

/* Font pairings */
[data-pairing="bricolage_instrument"] {
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-editorial: "Instrument Serif", serif;
  --f-body: "Geist", system-ui, sans-serif;
}

[data-pairing="fraunces_inter"] {
  --f-display: "Fraunces", Georgia, serif;
  --f-editorial: "Fraunces", Georgia, serif;
  --f-body: "Inter", system-ui, sans-serif;
}

[data-pairing="cormorant_geist"] {
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-editorial: "Cormorant Garamond", Georgia, serif;
  --f-body: "Geist", system-ui, sans-serif;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--coral);
  color: var(--cream);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

/* ===== TYPOGRAPHY ===== */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.display--huge {
  font-size: clamp(72px, 13.5vw, 220px);
}

.display--big {
  font-size: clamp(56px, 9vw, 140px);
}

.display--mid {
  font-size: clamp(40px, 5.5vw, 88px);
}

.editorial {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 10px;
  vertical-align: middle;
}

.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.small {
  font-size: 13px;
  color: var(--ink-3);
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(1.2) blur(14px);
  background: color-mix(in oklab, var(--cream) 82%, transparent);
  border-bottom: 1px solid var(--line-2);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  gap: 24px;
}

@media (max-width: 768px) {
  .nav-row {
    padding: 18px;
  }

  .nav-cta {
    padding: 10px 18px;
    font-size: 13px;
  }
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-mark {
  width: 28px;
  height: 38px;
}

.nav-brand {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-brand small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}

.nav-links a {
  position: relative;
}

.nav-links a:hover {
  color: var(--coral-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.nav-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  letter-spacing: .005em;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: var(--ink-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--cream-2);
}

.btn .arrow {
  transition: transform .3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ===== UTILITIES ===== */
.rule {
  height: 1px;
  background: var(--line);
}

.rule-coral {
  height: 1px;
  background: var(--coral);
  width: 48px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kicker .rule-coral {
  flex: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 96px) clamp(60px, 8vw, 140px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}

/* Editorial variant */
.hero-editorial {
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
}

.hero-editorial .top-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 24px;
}

.hero-editorial .top-meta .right {
  text-align: right;
}

@media (max-width: 768px) {
  .hero-editorial .top-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 12px;
  }

  .hero-editorial .top-meta .right {
    text-align: center;
  }

  .hero-editorial .top-meta .center {
    display: none;
  }
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px) 1fr;
  grid-template-rows: auto 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

.hero-grid .col-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-grid .col-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid .col-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-size: clamp(48px, 8.5vw, 132px);
  color: var(--ink);
}

.hero-title em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--coral-dark);
}

.hero-symbol {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 651 / 945;
  display: grid;
  place-items: center;
}

.hero-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(107, 34, 32, .14));
}

.hero-symbol::before {
  content: "";
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--coral) 18%, transparent) 0%, transparent 60%);
  z-index: -1;
  filter: blur(30px);
}

.hero-verse {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 34ch;
}

.hero-verse cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-bottombar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-bottombar .item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-bottombar .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-bottombar .v {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hero-bottombar .actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-grid .col-right {
    align-items: flex-start;
    text-align: left;
  }

  .hero-grid .col-center {
    order: -1;
  }

  .hero-symbol {
    max-width: 280px;
  }

  .hero-bottombar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-bottombar .item {
    border-left: none !important;
    padding-left: 0 !important;
  }
}

/* Minimal variant */
.hero-minimal {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding-block: 80px;
  position: relative;
}

.hero-minimal .stack {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  max-width: 1000px;
}

.hero-minimal .symbol {
  width: 100px;
}

.hero-minimal .symbol img {
  width: 100%;
}

/* Split variant */
.hero-split {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.hero-split .left {
  background: var(--coral);
  color: var(--cream);
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-split .right {
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.hero-split .right img {
  width: 80%;
  max-width: 500px;
}

.hero-split .left h1 {
  font-family: var(--f-display);
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .9;
  margin: 0;
}

.hero-split .left h1 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--cream);
  opacity: .9;
}

.hero-split .left .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .82;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
}

/* ===== STORY BAND ===== */
.story-band {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(72px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.story-band .num {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(140px, 35vw, 520px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklab, var(--coral) 27%, transparent);
  position: absolute;
  right: -4%;
  top: -8%;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .story-band .num {
    top: auto;
    bottom: -5%;
    right: -2%;
    opacity: 0.4;
  }
}

.story-band .copy {
  position: relative;
  max-width: 720px;
}

.story-band .copy h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 24px 0 28px;
}

.story-band .copy h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral);
}

.story-band .copy p {
  color: color-mix(in oklab, var(--cream) 76%, transparent);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 56ch;
}

.story-band .eyebrow {
  color: color-mix(in oklab, var(--cream) 72%, transparent);
}

.story-band .eyebrow .dot {
  background: var(--coral);
}

/* ===== PURPOSE ===== */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.purpose-grid h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.028em;
  margin: 14px 0 0;
}

.purpose-grid h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.purpose-grid .rightcol p {
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 20px;
}

.purpose-grid .rightcol p:first-child:first-letter {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 4em;
  line-height: 0.85;
  float: left;
  margin: 6px 10px -4px 0;
  color: var(--coral-dark);
}

.invite-list .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--coral-dark);
  padding-top: 6px;
}

.invite-list .t {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
}

@media (max-width: 768px) {
  .invite-list li {
    gap: 16px;
    grid-template-columns: 32px 1fr;
  }
}

@media (max-width: 840px) {
  .purpose-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== EIXO / 4 PASSOS ===== */
.axis {
  background: var(--paper);
}

.axis-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 64px;
}

.axis-head h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.028em;
  margin: 16px 0 0;
  max-width: 16ch;
}

.axis-head h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.axis-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.axis-step {
  background: var(--paper);
  padding: 40px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  position: relative;
  transition: background .3s var(--ease);
}

.axis-step:hover {
  background: var(--cream-2);
}

@media (max-width: 768px) {
  .axis-step {
    padding: 32px 20px 40px;
    min-height: auto;
  }
}

.axis-step .roman {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 28px;
  color: var(--coral-dark);
}

.axis-step h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--ink);
}

.axis-step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

.axis-step .tag {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
}

@media (max-width: 960px) {
  .axis-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .axis-steps {
    grid-template-columns: 1fr;
  }
}

/* ===== PROGRAMACAO ===== */
.program-head {
  margin-bottom: 72px;
}

.program-head h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 16px 0 0;
}

.program-head h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.schedule {
  border-top: 1px solid var(--ink);
}

.session {
  display: grid;
  grid-template-columns: 180px 220px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding .3s var(--ease);
  cursor: pointer;
}

.session:hover {
  background: var(--cream-2);
  padding-inline: 16px;
}

.session .when {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.session .num {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 28px;
  color: var(--coral-dark);
}

.session .body h3 {
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.05;
}

.session .body h3 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.session .body p {
  margin: 0;
  color: var(--ink-3);
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.55;
}

.session .chev {
  color: var(--ink-4);
}

.session.open {
  background: var(--cream-2);
  padding-inline: 16px;
}

.session .session-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 4px;
}

.session-chev {
  font-size: 22px;
  color: var(--ink-4);
  display: inline-block;
  transition: transform .3s var(--ease);
  line-height: 1;
}

.session-chev.rotated {
  transform: rotate(90deg);
  color: var(--coral-dark);
}

.session-summary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  animation: fadeInDown 0.5s var(--ease) both;
}

.session-summary p {
  margin: 0 0 20px;
  max-width: 65ch;
  opacity: 0.9;
}

.session-summary p.session-verse {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--coral-dark);
  padding: 12px 0 12px 24px;
  border-left: 2px solid var(--coral-200);
  margin: 32px 0;
  opacity: 1;
  position: relative;
}

.session-summary p.session-verse::before {
  content: "“";
  position: absolute;
  left: 6px;
  top: 4px;
  font-size: 42px;
  opacity: 0.15;
  font-family: var(--f-editorial);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.session-summary p:last-child {
  margin-bottom: 0;
}

.activities-row {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.activities-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.activity-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.activity-time {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--coral-dark);
}

.activity-label {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
}

@media (max-width: 840px) {
  .session {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .session:hover {
    padding-inline: 0;
  }

  .session .num {
    display: none;
  }

  .session.open {
    padding-inline: 0;
    background: transparent;
  }

  .activities-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== LOCAL ===== */
.place {
  background: var(--sand);
}

.place-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
}

.place-card {
  aspect-ratio: 4/5;
  background-image: url("assets/place-eav.webp");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  position: relative;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}

.place-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coral);
  mix-blend-mode: multiply;
  z-index: 1;
}

.place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 26, 23, .25) 0%, rgba(107, 34, 32, .55) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
}

.place-card>* {
  position: relative;
  z-index: 2;
}

.place-card .corner {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--cream) 90%, transparent);
}

.place-card .big {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(44px, 9vw, 140px);
  line-height: .9;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .18);
}

.place-card .pin {
  align-self: flex-end;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--cream) 90%, transparent);
  text-align: right;
}

.place-copy h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 16px 0 20px;
}

.place-copy h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.place-facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.place-facts .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.place-facts .v {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
}

@media (max-width: 540px) {
  .place-facts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 840px) {
  .place-wrap {
    grid-template-columns: 1fr;
  }
}

/* ===== VALORES ===== */
.values {
  background: var(--ink);
  color: var(--cream);
}

.values .eyebrow,
.values .eyebrow .dot {
  color: color-mix(in oklab, var(--cream) 70%, transparent);
}

.values-head h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 16px 0 0;
  max-width: 16ch;
}

.values-head h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral);
}

.tickets {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ticket {
  border: 1px solid color-mix(in oklab, var(--cream) 18%, transparent);
  border-radius: 4px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: color-mix(in oklab, var(--cream) 4%, transparent);
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.ticket:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
}

.ticket.feat {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.ticket.feat .ticket-price {
  color: #fff;
}

.ticket.feat .ticket-note {
  color: color-mix(in oklab, #fff 80%, transparent);
}

.ticket-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .8;
}

.ticket-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -.015em;
  line-height: 1.05;
}

.ticket-price {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -.03em;
  color: var(--coral);
  line-height: 1;
}

.ticket-price small {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: inherit;
  opacity: .7;
  display: block;
  margin-bottom: 6px;
}

.ticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in oklab, currentColor 85%, transparent);
}

.ticket-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ticket-list li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  margin-top: 10px;
  flex: none;
  opacity: .6;
}

.ticket-note {
  font-size: 12px;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
  margin-top: auto;
}

@media (max-width: 840px) {
  .tickets {
    grid-template-columns: 1fr;
  }
}

/* ===== REGISTRATION ===== */
.reg {
  background: var(--paper);
}

.reg-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.reg-head h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.028em;
  margin: 16px 0 0;
}

.reg-head h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.reg-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 600px;
}

.reg-rail {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.reg-rail .rail-title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.015em;
  margin-bottom: 28px;
}

.rail-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 14%, transparent);
  color: color-mix(in oklab, var(--cream) 65%, transparent);
  cursor: pointer;
  transition: color .2s var(--ease);
}

.rail-step:last-child {
  border-bottom: none;
}

.rail-step .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--cream) 35%, transparent);
  display: grid;
  place-items: center;
}

.rail-step .label {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
}

.rail-step .tick {
  opacity: 0;
  transition: opacity .2s var(--ease);
  color: var(--coral);
}

.rail-step.active {
  color: var(--cream);
}

.rail-step.active .n {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.rail-step.done {
  color: color-mix(in oklab, var(--cream) 90%, transparent);
}

.rail-step.done .n {
  background: color-mix(in oklab, var(--cream) 10%, transparent);
  border-color: var(--coral);
  color: var(--coral);
}

.rail-step.done .tick {
  opacity: 1;
}

.rail-step:hover {
  color: var(--cream);
}

.reg-rail .rail-foot {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--cream) 50%, transparent);
  padding-top: 24px;
}

.reg-body {
  padding: 48px clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
}

.reg-body .step-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.reg-body .step-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 12px 0 8px;
}

.reg-body .step-title em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.reg-body .step-sub {
  color: var(--ink-3);
  font-size: 15px;
  margin: 0 0 36px;
  max-width: 52ch;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  font-family: var(--f-body);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: #fff;
}

.field.err input,
.field.err select {
  border-color: var(--terracotta);
}

.field .hint {
  font-size: 12px;
  color: var(--ink-4);
}

.field .err-msg {
  font-size: 12px;
  color: var(--terracotta);
  font-family: var(--f-mono);
  letter-spacing: .05em;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-size: 15px;
}

.radio:hover {
  background: var(--cream-2);
}

.radio.selected {
  border-color: var(--coral);
  background: color-mix(in oklab, var(--coral) 8%, transparent);
}

.radio .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--ink-4);
  display: grid;
  place-items: center;
  flex: none;
}

.radio.selected .dot {
  border-color: var(--coral);
}

.radio.selected .dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.reg-actions {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.reg-progress {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.summary-card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 32px;
}

.summary-card h4 {
  margin: 0 0 16px;
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: -.005em;
  font-weight: 600;
}

.summary-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line-2);
  font-size: 14px;
}

.summary-row:first-of-type {
  border-top: none;
}

.summary-row .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--ink);
  font-family: var(--f-display);
}

.summary-total .big {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--coral-dark);
}

.success {
  text-align: center;
  padding: 60px 20px;
}

.success .mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  color: #fff;
}

.success h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.025em;
  margin: 0 0 12px;
}

.success h3 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.success p {
  max-width: 52ch;
  margin: 0 auto 32px;
  color: var(--ink-3);
}

.success .code {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .22em;
  padding: 10px 18px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  color: var(--ink-2);
}

@media (max-width: 960px) {
  .reg-card {
    grid-template-columns: 1fr;
  }

  .reg-rail {
    padding: 28px;
  }

  .reg-body {
    padding: 32px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .reg-head {
    grid-template-columns: 1fr;
  }
}

/* ===== PAYMENT OPTIONS ===== */
.payment-opt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream-2);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.payment-opt:hover {
  border-color: var(--coral);
}

.payment-opt.active {
  border-color: var(--coral);
  background: color-mix(in oklab, var(--coral) 8%, transparent);
}

.payment-icon {
  font-size: 24px;
  color: var(--ink-3);
  flex: none;
}

.payment-opt.active .payment-icon {
  color: var(--coral-dark);
}

.payment-name {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.payment-val {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--coral-dark);
  font-weight: 700;
  margin-top: 2px;
}

/* Seletor de forma de pagamento — 1 a 3 cards lado a lado */
.payment-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-grid.cols-1 { grid-template-columns: 1fr; }
.payment-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.payment-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Com 3 cards o espaço fica estreito: empilha ícone/conteúdo dentro do card */
.payment-grid.cols-3 .payment-opt {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

@media (max-width: 960px) {
  .payment-grid.cols-2,
  .payment-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .payment-grid.cols-3 .payment-opt {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

/* ===== PIX PANEL ===== */
.pix-panel {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  margin-top: 4px;
}

.pix-panel-head {
  margin-bottom: 20px;
}

.pix-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
}

.pix-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pix-qr-placeholder {
  width: 140px;
  height: 140px;
  border: 2px dashed var(--line);
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--cream);
}

@media (max-width: 600px) {
  .pix-body {
    grid-template-columns: 1fr;
  }

  .pix-qr {
    align-items: flex-start;
  }

  .pix-qr-placeholder {
    width: 100px;
    height: 100px;
  }
}

/* ===== CARTÃO PANEL ===== */
.cartao-panel {
  margin-top: 4px;
}

/* ===== PIX STEPS (instruções numeradas) ===== */
.pix-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.pix-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}

.pix-step-n {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--coral-50);
  border: 1px solid var(--coral-100);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--coral-dark);
  font-family: var(--f-mono);
}

/* ===== UPLOAD AREA ===== */
.upload-area {
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.upload-area:hover {
  background: var(--cream) !important;
}

/* ===== COMPROVANTE (upload destacado) ===== */
.comprovante-field {
  margin-top: 26px;
  padding: 22px;
  background: var(--coral-50);
  border: 1px solid var(--coral-100);
  border-radius: 12px;
}

.comprovante-field.err {
  border-color: var(--terracotta);
  background: #fdf2ee;
}

.comprovante-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.comprovante-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.comprovante-req {
  font-family: var(--f-body);
  letter-spacing: .04em;
  text-transform: none;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--terracotta);
  padding: 3px 9px;
  border-radius: 100px;
}

.comprovante-nudge {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

.comprovante-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 10px;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease), transform .15s var(--ease);
}

/* Estado vazio — convida a anexar, com bom destaque visual */
.comprovante-box--empty {
  border: 2px dashed var(--coral);
  background: var(--paper);
  cursor: pointer;
}

.comprovante-box--empty:hover {
  background: #fff;
  border-color: var(--coral-dark);
  box-shadow: 0 8px 24px rgba(201, 104, 96, .16);
  transform: translateY(-1px);
}

.comprovante-box--empty:active {
  transform: translateY(0);
}

.comprovante-box--reading {
  border: 1px solid var(--coral-100);
  background: var(--paper);
}

/* Estado concluído — confirmação clara de que o comprovante foi recebido */
.comprovante-box--done {
  border: 1px solid #16a34a;
  background: #f0fdf4;
  box-shadow: 0 4px 16px rgba(34, 197, 94, .12);
  cursor: pointer;
  animation: comprovante-pop .35s var(--ease);
}

@keyframes comprovante-pop {
  0%   { transform: scale(.985); opacity: .55; }
  100% { transform: scale(1);    opacity: 1; }
}

.comprovante-box-text {
  flex: 1;
  min-width: 0;
}

.comprovante-box-title {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}

.comprovante-box--done .comprovante-box-title {
  color: #15803d;
  font-weight: 600;
}

.comprovante-box-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 4px;
}

.comprovante-file {
  font-size: 13px;
  color: #166534;
  font-weight: 600;
  margin-top: 4px;
  word-break: break-all;
}

/* Ícone do estado vazio — sólido e com destaque */
.comprovante-up-icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 14px rgba(201, 104, 96, .28);
}

/* Selo verde de confirmação */
.comprovante-check {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .3);
  animation: comprovante-check-pop .4s var(--ease) both;
}

@keyframes comprovante-check-pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.comprovante-trocar {
  flex: none;
  align-self: center;
  padding: 9px 18px;
  border: 1px solid #86efac;
  background: #fff;
  color: #15803d;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.comprovante-trocar:hover {
  background: #dcfce7;
  border-color: #16a34a;
}

.comprovante-spinner {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--coral-100);
  border-top-color: var(--coral);
  animation: comprovante-spin .8s linear infinite;
}

@keyframes comprovante-spin {
  to { transform: rotate(360deg); }
}

/* Mobile — empilha ícone, texto e botão para não espremer */
@media (max-width: 560px) {
  .comprovante-field {
    padding: 18px 16px;
  }
  .comprovante-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 20px 18px;
  }
  .comprovante-trocar {
    align-self: stretch;
    text-align: center;
  }
  .comprovante-box-title {
    font-size: 16px;
  }
}

/* ===== CATEGORIA (etapa 1 — cards compactos) ===== */
.cat-card .cat-card-name { font-size: 21px; }
.cat-card .cat-card-sub  { font-size: 13px; margin-top: 2px; }
.cat-card .cat-card-note { font-size: 12px; margin-top: 10px; }
.cat-card .cat-card-sel  { margin-top: 10px; font-size: 12px; }

/* ===== CUPOM (input + botão Aplicar) ===== */
.cupom-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.cupom-row input {
  flex: 1;
  min-width: 0;
}

.cupom-apply {
  flex: none;
  padding: 0 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), opacity .2s var(--ease);
}

.cupom-apply:hover:not(:disabled) {
  background: var(--coral);
}

.cupom-apply:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .cupom-row {
    flex-direction: column;
  }
  .cupom-apply {
    padding: 13px;
  }
}

/* ===== LOTE BADGE ===== */
.lote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.lote-badge--loading {
  background: var(--cream-2);
  color: var(--ink-4);
  border: 1px solid var(--line);
}

.lote-badge--normal {
  background: var(--cream-2);
  color: var(--ink-3);
  border: 1px solid var(--line);
}

.lote-badge--ativo {
  background: var(--coral-50);
  color: var(--coral-dark);
  border: 1px solid var(--coral-100);
}

.lote-badge--poucas {
  background: #fff8e1;
  color: #b45309;
  border: 1px solid #fde68a;
}

.lote-badge--urgente {
  background: var(--coral-50);
  color: var(--terracotta);
  border: 1px solid var(--coral-100);
  animation: lote-pulse 1.6s ease-in-out infinite;
}

@keyframes lote-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .65;
  }
}

.lote-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Barra de info do lote acima dos tickets (no formulário e na seção Values) */
.lote-info-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  font-size: 13px;
  color: var(--coral);
  margin-bottom: 20px;
}

.lote-info-bar--section {
  margin-top: 32px;
}

/* ===== REG LOADING STATE ===== */
.reg-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 48px 0;
  justify-content: center;
  color: var(--ink-3);
  font-size: 14px;
}

.reg-loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== BANNER DE ERRO DE SERVIDOR ===== */
.server-err-banner {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--coral-50);
  border: 1px solid var(--coral-100);
  border-radius: 4px;
  font-size: 14px;
  color: var(--terracotta);
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.faq-grid h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 16px 0 0;
}

.faq-grid h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 24px;
  padding: 28px 0;
  align-items: center;
  width: 100%;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -.01em;
  color: var(--ink);
}

.faq-q:hover {
  color: var(--coral-dark);
}

.faq-plus {
  width: 24px;
  height: 24px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.faq-plus::before {
  width: 10px;
  height: 1px;
}

.faq-plus::after {
  width: 1px;
  height: 10px;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--coral);
  border-color: var(--coral);
}

.faq-item.open .faq-plus::before,
.faq-item.open .faq-plus::after {
  background: #fff;
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 28px;
}

.faq-a p {
  margin: 0 0 12px;
  color: var(--ink-2);
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 840px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TEAM ===== */
.team {
  background: var(--paper);
}

.team-head {
  margin-bottom: 56px;
}

.team-head h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 16px 0 0;
}

.team-head h2 em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--sand);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(20%);
  transition: filter .3s var(--ease), transform .4s var(--ease);
}

.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-name {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--ink);
}

.team-bio {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0;
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 80px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 14%, transparent);
}

.footer h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: color-mix(in oklab, var(--cream) 65%, transparent);
  font-weight: 400;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: color-mix(in oklab, var(--cream) 82%, transparent);
  font-size: 14px;
}

.footer a:hover {
  color: var(--coral);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.footer-brand img {
  height: clamp(72px, 10vw, 140px);
  object-fit: contain;
}

.footer-brand .word {
  font-family: var(--f-display);
  font-size: clamp(40px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -.03em;
  font-weight: 500;
  margin: 0;
}

.footer-brand .word em {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--coral);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--cream) 55%, transparent);
}

@media (max-width: 840px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===== TWEAKS PANEL ===== */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(31, 26, 23, .14);
  font-family: var(--f-body);
  overflow: hidden;
  display: none;
}

.tweaks.open {
  display: block;
}

.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tweaks-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tweaks-row label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 10px;
}

.tweaks-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 3px;
  background: var(--cream-2);
  border-radius: 6px;
}

.tweaks-seg button {
  padding: 8px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: capitalize;
  transition: all .2s var(--ease);
}

.tweaks-seg button.active {
  background: var(--ink);
  color: var(--cream);
}

.tweaks-range {
  width: 100%;
  accent-color: var(--coral);
}

/* ===== FX ===== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rise {
  animation: rise .8s var(--ease) both;
}

.rise-2 {
  animation: rise .8s var(--ease) .1s both;
}

.rise-3 {
  animation: rise .8s var(--ease) .2s both;
}

.rise-4 {
  animation: rise .8s var(--ease) .3s both;
}

/* ===== LOTE PROMO BANNER ===== */
.lote-promo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--coral) 12%, transparent), color-mix(in oklab, var(--coral) 6%, transparent));
  border: 1px solid var(--coral-100);
  border-left: 3px solid var(--coral);
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 20px;
}

.lote-promo-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--coral);
  color: #fff;
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lote-promo-text {
  font-size: 12px;
  color: var(--coral-dark);
  font-weight: 500;
}

/* ===== TICKET PROMO TAG ===== */
.ticket-promo-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  color: inherit;
  letter-spacing: .01em;
}

/* ===== PAYMENT LABEL SMALL ===== */
.payment-label-small {
  font-size: 10px;
  color: var(--ink-4);
  margin-top: 1px;
  margin-bottom: 0;
}

.payment-opt.active .payment-label-small {
  color: color-mix(in oklab, var(--coral-dark) 70%, transparent);
}

/* ===== PIX LOTE BADGE ===== */
.pix-lote-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--coral);
  color: #fff;
  padding: 4px 11px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ===== SUCCESS REDESIGN ===== */
.success-confetti {
  position: relative;
  height: 36px;
  margin-bottom: 8px;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  font-size: 14px;
  color: var(--coral);
  opacity: .55;
  animation: confetti-float 2.4s ease-in-out infinite alternate;
}

.confetti-0 {
  left: 30%;
  top: 0;
  animation-delay: 0s;
  color: var(--coral);
}

.confetti-1 {
  left: 48%;
  top: 4px;
  animation-delay: .3s;
  color: var(--coral-dark);
}

.confetti-2 {
  left: 62%;
  top: 0;
  animation-delay: .6s;
  color: var(--coral);
}

.confetti-3 {
  left: 20%;
  top: 6px;
  animation-delay: .9s;
  color: var(--terracotta);
}

.confetti-4 {
  left: 75%;
  top: 2px;
  animation-delay: .45s;
  color: var(--coral);
}

.confetti-5 {
  left: 10%;
  top: 0;
  animation-delay: .15s;
  color: var(--coral-dark);
}

@keyframes confetti-float {
  from {
    transform: translateY(0) rotate(0deg);
    opacity: .45;
  }

  to {
    transform: translateY(-8px) rotate(25deg);
    opacity: .8;
  }
}

.success-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 420px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  border-radius: 6px;
  text-align: left;
}

.success-info-box--pix {
  background: color-mix(in oklab, var(--coral) 8%, transparent);
  border: 1px solid var(--coral-100);
}

.success-info-box--pagbank {
  background: var(--cream-2);
  border: 1px solid var(--line);
}

.success-info-icon {
  font-size: 22px;
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 1px;
}

.success-info-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.success-info-text {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
}

.success-lote-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: color-mix(in oklab, var(--coral) 10%, transparent);
  border: 1px solid var(--coral-100);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 560px) {
  .reg-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-top: 24px;
  }
  
  .reg-actions .reg-progress {
    text-align: center;
  }
  
  .reg-actions > div:last-child {
    display: flex;
    width: 100%;
  }
  
  .reg-actions > div:last-child button {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .summary-card {
    padding: 16px;
    margin-bottom: 20px;
  }
  
  .summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
  
  .summary-row .k {
    font-size: 10px;
    margin-bottom: 2px;
  }
}

/* ===== MOBILE: ficha de inscrição compacta ===== */
@media (max-width: 960px) {
  /* A trilha de passos (lateral) só confunde no mobile: a inscrição começa
     logo abaixo. Ocultamos a caixa inteira; o progresso continua visível em
     ".reg-actions" ("Etapa 01 de 07"). */
  .reg-rail {
    display: none;
  }

  /* Cards de categoria (etapa 1) em 2 colunas e mais enxutos, para a pessoa
     não precisar rolar tanto antes de avançar. */
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cat-card {
    padding: 16px 14px;
    gap: 2px;
  }

  .cat-card .cat-card-name { font-size: 17px; }
  .cat-card .cat-card-sub  { font-size: 12px; }
  .cat-card .cat-card-note { font-size: 11px; margin-top: 6px; }
  .cat-card .cat-card-sel  { margin-top: 8px; }
}

@media (max-width: 380px) {
  .cat-card { padding: 13px 11px; }
  .cat-card .cat-card-name { font-size: 15.5px; }
}