:root {
  --green-980: #0d2308;
  --green-950: #14320d;
  --green-900: #1b4210;
  --green-800: #285a17;
  --green-700: #477820;
  --green-100: #eef6df;
  --yellow-600: #e5aa12;
  --yellow-500: #f7c531;
  --yellow-300: #ffe58a;
  --cream: #f3f7fb;
  --paper: rgba(255, 255, 255, .92);
  --white: #ffffff;
  --ink: #13210f;
  --muted: #5d6656;
  --line: rgba(20, 50, 13, .14);
  --danger: #b42318;
  --ok: #146c2e;
  --shadow-lg: 0 28px 90px rgba(5, 17, 4, .28);
  --shadow-md: 0 16px 44px rgba(5, 17, 4, .16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { height: 100%; }
body {
  height: 100%;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(15,87,148,.16), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(18,52,102,.10), transparent 24%),
    linear-gradient(135deg, #f3f7fb 0%, #ffffff 50%, #e8eef6 100%);
  overflow: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { appearance: none; }

.event-shell {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  padding: clamp(14px, 2vw, 28px);
  isolation: isolate;
}
.bg-orb {
  position: absolute;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 229, 138, .24);
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
  animation: floatOrb 11s ease-in-out infinite alternate;
}
.bg-orb-one { left: -12vw; bottom: -20vh; }
.bg-orb-two { right: -14vw; top: -18vh; animation-delay: -4s; }

.event-grid {
  height: calc(100dvh - clamp(28px, 4vw, 56px));
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(440px, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
}

.event-info,
.form-panel {
  min-height: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .54);
  backdrop-filter: blur(18px);
  transform: translateY(14px);
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease, box-shadow .35s ease;
}
.event-info.is-visible,
.form-panel.is-visible { opacity: 1; transform: translateY(0); }
.event-info:hover,
.form-panel:hover { box-shadow: 0 34px 100px rgba(5, 17, 4, .34); }

.event-info {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 1.8vh, 22px);
  padding: clamp(20px, 2.6vw, 42px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,249,235,.9)),
    radial-gradient(circle at 8% 14%, rgba(247,197,49,.26), transparent 30%);
  overflow: hidden;
}

.brand-block {
  display: inline;
  grid-template-columns: minmax(108px, 170px) 1fr;
  grid-template-areas:
    "logo eyebrow"
    "logo title"
    "logo subtitle";
  column-gap: clamp(18px, 2vw, 28px);
  align-items: center;
}
.brand-logos {
  grid-area: logo;
  display: grid;
  gap: 14px;
  align-content: center;
  justify-items: center;
}
.event-logo {
  width: min(12vw, 150px);
  min-width: 104px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.22));
  animation: logoBreath 5s ease-in-out infinite;
}
.organizer-logo {
  width: min(12vw, 154px);
  min-width: 108px;
  height: auto;
  object-fit: contain;
  padding: 10px 12px;
  border-radius: 16px;
  background: #075c25;
  box-shadow: 0 14px 28px rgba(5, 17, 4, .18);
}
h1 {
  grid-area: title;
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 4vw, 64px);
  line-height: .92;
  letter-spacing: -.045em;
  color: var(--green-950);
}

/* Index: logos sem fundo aplicado por CSS */
.event-info .brand-logos img,
.event-info .event-logo,
.event-info .organizer-logo {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none;
}
.event-info .organizer-logo {
  padding: 0 !important;
  border-radius: 0 !important;
}

.eyebrow {
  grid-area: eyebrow;
  margin: 0 0 8px;
  color: var(--green-700);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(10px, .78vw, 12px);
  text-align: center;
}
.event-subtitle {
  grid-area: subtitle;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 750;
}

.schedule-card {
  min-height: 0;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 28px);
  overflow: hidden;
  position: relative;
}
.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.36), transparent 42%);
  pointer-events: none;
}
.section-heading { position: relative; z-index: 1; }
.section-heading h2,
.form-head h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1;
  letter-spacing: -.03em;
}
.timeline {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: clamp(16px, 2vh, 24px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 1.3vh, 15px);
}
.timeline li {
  display: grid;
  gap: 5px;
  border-left: 4px solid var(--yellow-500);
  padding: clamp(11px, 1.3vh, 16px) 16px;
  background: linear-gradient(90deg, rgba(247,197,49,.15), rgba(255,255,255,.56));
  border-radius: 0 18px 18px 0;
  transition: transform .25s ease, background .25s ease;
}
.timeline li:hover { transform: translateX(4px); background: linear-gradient(90deg, rgba(247,197,49,.23), rgba(255,255,255,.68)); }
.timeline span { color: var(--green-700); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.timeline strong { color: var(--green-950); font-size: clamp(15px, 1.05vw, 18px); line-height: 1.15; }
.timeline small { color: var(--muted); font-size: clamp(13px, .95vw, 15px); line-height: 1.35; }

.form-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 1.7vh, 20px);
  padding: clamp(18px, 2.1vw, 30px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,252,243,.92)),
    radial-gradient(circle at 80% 100%, rgba(247,197,49,.16), transparent 28%);
  overflow: hidden;
}
.notice-card {
  position: relative;
  overflow: hidden;
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(16px, 1.7vw, 24px);
  background: linear-gradient(135deg, var(--green-980), var(--green-800));
  border: 1px solid rgba(255, 229, 138, .72);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
}
.notice-card::after {
  content: "";
  position: absolute;
  inset: -80% -40%;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.2), transparent 58%);
  transform: translateX(-55%);
  animation: shine 5s ease-in-out infinite;
  pointer-events: none;
}
.notice-card h2 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-300));
  color: var(--green-950);
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 950;
}
.notice-highlight {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.notice-free {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 229, 138, .98), rgba(247, 197, 49, .92));
  color: var(--green-950);
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.25;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -.01em;
  box-shadow: 0 14px 30px rgba(229, 170, 18, .24);
}
.notice-warning {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 229, 138, .45);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  line-height: 1.48;
  font-size: clamp(14px, 1.04vw, 17px);
  font-weight: 650;
}
.notice-warning strong { color: var(--yellow-300); font-weight: 950; }

.event-form {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
  overflow: hidden;
}
.form-head h2 { font-size: clamp(27px, 2.6vw, 42px); }
.form-head small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.form-grid {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 13px;
  padding: 1px 5px 3px 1px;
  scrollbar-width: thin;
  scrollbar-color: rgba(71,120,32,.5) transparent;
}
.is-hidden { display: none; }
.field {
  display: grid;
  gap: 6px;
  animation: fieldIn .34s ease both;
}
.field-full { grid-column: 1 / -1; }
.field span { font-size: 12.5px; font-weight: 850; color: var(--green-950); line-height: 1.2; }
.required-mark { color: var(--danger); font-weight: 950; font-size: 1.1em; line-height: 1; }
input, select {
  width: 100%;
  min-height: 45px;
  border-radius: 14px;
  border: 1px solid rgba(20, 50, 13, .18);
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.72) inset;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
input:hover, select:hover { border-color: rgba(71,120,32,.38); }
input:focus, select:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(71, 120, 32, .15), 0 10px 24px rgba(20, 50, 13, .08);
  transform: translateY(-1px);
  background: #fff;
}
.segment-field select { min-height: 48px; }
.submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-300));
  color: var(--green-950);
  font-weight: 950;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(229, 170, 18, .32);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.48), transparent 65%);
  transform: translateX(-100%);
  transition: transform .55s ease;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(229, 170, 18, .42); }
.submit-btn:hover::before { transform: translateX(100%); }
.submit-btn:disabled { opacity: .72; cursor: not-allowed; transform: none; filter: grayscale(.15); }
.form-message { min-height: 18px; margin: 0; font-size: 13px; font-weight: 750;  }
.form-message.error { color: red!important; }
.form-message.ok { color: #fff!important; }

.confirm-page {
  min-height: 100dvh;
  overflow: auto;
  padding: 24px;
  display: grid;
  place-items: center;
}
.confirm-wrap { max-width: 980px; width: 100%; display: grid; gap: 18px; }
.confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.action-btn, .link-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
  background: var(--yellow-500); color: var(--green-950); font-weight: 900; text-decoration: none; cursor: pointer;
}
.link-btn { background: rgba(255,255,255,.9); }
#ticket {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.ticket-top { background: linear-gradient(135deg, var(--green-950), var(--green-700)); color: #fff; padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.ticket-top img { width: 120px; height: auto; background: #ffffff; border-radius: 18px; padding: 8px; }
.ticket-top h1 { color: #fff; font-size: clamp(22px, 3vw, 36px); }
.ticket-body { padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.ticket-name { font-size: clamp(24px, 3vw, 40px); font-weight: 900; color: var(--green-950); margin: 0 0 10px; }
.ticket-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ticket-meta div { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.ticket-meta span { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.ticket-meta strong { color: var(--green-950); }
.qr-box { width: 180px; min-height: 180px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.ticket-alert { padding: 14px 24px; background: rgba(246, 200, 51, .25); font-weight: 800; color: var(--green-950); }

@keyframes floatOrb { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(22px,-18px,0) scale(1.08); } }
@keyframes logoBreath { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.018); } }
@keyframes shine { 0%, 55% { transform: translateX(-55%); } 85%, 100% { transform: translateX(55%); } }
@keyframes fieldIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1120px) {
  .event-grid { grid-template-columns: .86fr 1fr; }
  h1 { font-size: clamp(30px, 3.7vw, 48px); }
  .brand-block { grid-template-columns: 120px 1fr; }
  .event-logo { width: 112px; min-width: 94px; }
  .organizer-logo { width: 120px; min-width: 98px; padding: 8px 10px; }
}

@media (max-width: 900px) {
  .event-shell { padding: 10px; }
  .event-grid {
    height: calc(100dvh - 20px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
  }
  .event-info { padding: 14px; border-radius: 22px; gap: 10px; }
  .brand-block {
    grid-template-columns: 82px 1fr;
    grid-template-areas:
      "logo eyebrow"
      "logo title"
      "logo subtitle";
    column-gap: 12px;
  }
  .brand-logos { gap: 8px; }
  .event-logo { width: 78px; min-width: 78px; }
  .organizer-logo { width: 82px; min-width: 82px; padding: 6px 8px; border-radius: 12px; }
  h1 { font-size: clamp(23px, 6.2vw, 34px); line-height: .96; }
  .event-subtitle { margin-top: 6px; font-size: 12px; }
  .schedule-card { display: none; }
  .form-panel { border-radius: 22px; padding: 12px; gap: 10px; }
  .notice-card { padding: 12px; border-radius: 18px; }
  .notice-card h2 { font-size: clamp(18px, 5.4vw, 25px); padding: 7px 12px; }
  .notice-highlight { gap: 7px; }
  .notice-free { font-size: 13px; padding: 9px 10px; border-radius: 13px; }
  .notice-warning { font-size: 12.2px; line-height: 1.34; padding: 9px 10px; border-radius: 13px; }
  .form-head h2 { font-size: clamp(25px, 7vw, 34px); }
  .form-head small { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 8px; }
  input, select { min-height: 42px; border-radius: 13px; }
  .submit-btn { min-height: 48px; }
  .ticket-top, .ticket-body { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ticket-meta { grid-template-columns: 1fr; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .event-info { padding: 20px; gap: 12px; }
  .form-panel { padding: 18px; gap: 12px; }
  .brand-block { grid-template-columns: 116px 1fr; }
  .event-logo { width: 108px; }
  .organizer-logo { width: 116px; padding: 8px 10px; }
  h1 { font-size: clamp(30px, 3.6vw, 50px); }
  .notice-card { padding: 15px 18px; }
  .notice-free { font-size: 14px; padding: 10px 12px; }
  .notice-warning { font-size: 13px; line-height: 1.34; padding: 10px 12px; }
  .section-heading h2 { font-size: 27px; }
  .timeline { gap: 9px; margin-top: 12px; }
  .timeline li { padding-top: 9px; padding-bottom: 9px; }
  input, select { min-height: 39px; }
  .submit-btn { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

/* ===== Revisao visual pagina inicial v5 ===== */
.event-shell {
  padding: clamp(18px, 2.4vw, 34px);
}
.event-grid {
  max-width: 1540px;
  grid-template-columns: minmax(520px, .98fr) minmax(500px, .92fr);
  gap: clamp(18px, 2.4vw, 34px);
}
.event-info,
.form-panel {
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 30px 90px rgba(8, 31, 7, .30), 0 1px 0 rgba(255,255,255,.58) inset;
}
.event-info {
  background:
    linear-gradient(145deg, rgba(255, 253, 245, .96), rgba(244, 239, 219, .92)),
    radial-gradient(circle at 5% 10%, rgba(247, 197, 49, .22), transparent 32%);
}
.form-panel {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(251, 249, 239, .96)),
    radial-gradient(circle at 88% 100%, rgba(247, 197, 49, .16), transparent 30%);
}
.brand-block {
  grid-template-columns: minmax(190px, 255px) 1fr;
  column-gap: clamp(20px, 2.2vw, 34px);
}
.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
}
.event-logo {
  width: clamp(98px, 8vw, 142px);
  min-width: 98px;
}
.organizer-logo {
  width: clamp(146px, 12vw, 220px);
  min-width: 146px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 16px rgba(5,17,4,.14));
}
.eyebrow {
  color: var(--green-700);
  font-size: clamp(10px, .72vw, 12px);
  letter-spacing: .18em;
}
h1 {
  font-size: clamp(40px, 3.65vw, 40px);
  line-height: .96;
  letter-spacing: -.052em;
  text-wrap: balance;
      text-align: center;
}
.event-subtitle {
  margin-top: 14px;
  color: #33452c;
  font-size: clamp(15px, .95vw, 18px);
  font-weight: 650;
  text-align: center;
}
.schedule-card {
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.66));
  border-color: rgba(20,50,13,.12);
  box-shadow: 0 16px 42px rgba(5,17,4,.08);
}
.section-heading h2,
.form-head h2 {
  font-size: clamp(28px, 2.05vw, 38px);
  letter-spacing: -.035em;
}
.timeline li {
  background: linear-gradient(90deg, rgba(247,197,49,.20), rgba(255,255,255,.82));
  box-shadow: 0 10px 20px rgba(20, 50, 13, .04);
}

.form-panel > .notice-card {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  display: block;
  padding: clamp(18px, 1.7vw, 28px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,229,138,.22), transparent 25%),
    linear-gradient(135deg, #082407 0%, #17420f 58%, #285f16 100%);
  border: 1px solid rgba(255,229,138,.78);
  box-shadow: 0 22px 54px rgba(8, 31, 7, .24);
  color: #fff;
}
.form-panel > .notice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 40%);
  pointer-events: none;
}
.form-panel > .notice-card h2 {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 9px 18px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd43b 0%, #ffe88d 100%);
  color: #12330d;
  box-shadow: 0 14px 28px rgba(247,197,49,.26);
  font-size: clamp(22px, 1.85vw, 34px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.notice-highlight {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}
.notice-free {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,229,138,.36);
  color: #fff7d0;
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.notice-warning {
  margin: 0;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,212,59,.98), rgba(255,232,141,.94));
  color: #14320d;
  font-size: clamp(14px, .95vw, 17px);
  font-weight: 700;
  line-height: 1.42;
  box-shadow: 0 16px 34px rgba(247,197,49,.18);
}
.notice-warning strong {
  color: #071b05;
  font-weight: 950;
}
.event-form {
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(8px, .9vw, 14px) clamp(4px, .6vw, 8px) 0;
}
.form-head {
  padding-top: clamp(2px, .5vh, 8px);
}
.form-head h2 {
  font-size: clamp(30px, 2.45vw, 44px);
  line-height: .98;
}
.form-head small {
  font-size: 13.5px;
  line-height: 1.35;
}
.field span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.005em;
}
input,
select {
  min-height: 48px;
  border-radius: 15px;
  border-color: rgba(20, 50, 13, .20);
  background: rgba(255,255,255,.98);
  font-size: 15px;
}
.submit-btn {
  min-height: 54px;
  border-radius: 18px;
  font-size: 15px;
  box-shadow: 0 18px 38px rgba(229, 170, 18, .30), 0 1px 0 rgba(255,255,255,.52) inset;
}

@media (max-width: 1180px) {
  .event-grid {
    grid-template-columns: minmax(430px, .9fr) minmax(430px, 1fr);
  }
  .brand-block { grid-template-columns: 170px 1fr; }
  .brand-logos { flex-direction: column; gap: 8px; }
  .organizer-logo { width: 150px; }
  h1 { font-size: clamp(33px, 3.7vw, 54px); }
}

@media (max-width: 900px) {
  body { overflow: auto; }
  .event-shell {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding: 12px;
  }
  .event-grid {
    height: auto;
    min-height: calc(100dvh - 24px);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .event-info,
  .form-panel {
    min-height: auto;
  }
  .brand-block {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "eyebrow" "title" "subtitle";
    text-align: center;
  }
  .brand-logos {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .event-logo { width: 92px; min-width: 92px; }
  .organizer-logo { width: 170px; min-width: 150px; }
  h1 { font-size: clamp(30px, 9vw, 44px); }
  .form-panel > .notice-card { padding: 14px; border-radius: 22px; }
  .form-panel > .notice-card h2 { font-size: clamp(19px, 6vw, 28px); padding: 8px 13px; }
  .notice-free { font-size: 14px; padding: 11px 12px; }
  .notice-warning { font-size: 13px; line-height: 1.38; padding: 12px; }
  .event-form { overflow: visible; }
  .form-grid { overflow: visible; grid-template-columns: 1fr; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .form-panel > .notice-card { padding: 14px 16px; border-radius: 22px; }
  .form-panel > .notice-card h2 { font-size: clamp(20px, 1.55vw, 28px); margin-bottom: 9px; padding: 8px 14px; }
  .notice-highlight { gap: 8px; }
  .notice-free { font-size: 14px; padding: 10px 12px; }
  .notice-warning { font-size: 12.6px; line-height: 1.32; padding: 10px 12px; }
  .form-head h2 { font-size: clamp(27px, 2.1vw, 38px); }
  input, select { min-height: 42px; }
  .submit-btn { min-height: 48px; }
}

/* ===== Detalhes do evento, mapa e LGPD v7 ===== */
html { scroll-behavior: smooth; }
body {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
.event-shell {
  min-height: 100dvh;
  height: auto;
}
.event-grid {
  min-height: calc(100dvh - clamp(36px, 4.8vw, 68px));
  height: auto;
}
.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(20, 50, 13, .055);
  border: 1px solid rgba(20, 50, 13, .13);
  color: var(--green-950);
  font-size: 12.8px;
  line-height: 1.38;
  font-weight: 750;
}
.privacy-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--green-700);
  box-shadow: none;
}
.privacy-consent a {
  color: var(--green-800);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-details-section {
  position: relative;
  padding: clamp(18px, 3vw, 46px) clamp(14px, 2.4vw, 34px) clamp(34px, 5vw, 76px);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 229, 138, .25), transparent 28%),
    linear-gradient(135deg, rgba(13, 35, 8, .96), rgba(40, 90, 23, .94));
}
.details-wrap {
  max-width: 1540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(520px, 1.22fr);
  gap: clamp(18px, 2.5vw, 34px);
  align-items: stretch;
  opacity: 1;
  transform: none;
}
.details-copy,
.map-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 28px 80px rgba(5, 17, 4, .28);
  overflow: hidden;
}
.details-copy {
  padding: clamp(24px, 3vw, 44px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,249,235,.92)),
    radial-gradient(circle at 0 0, rgba(247,197,49,.20), transparent 34%);
}
.details-copy .eyebrow {
  text-align: left;
  margin-bottom: 12px;
}
.details-copy h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(30px, 3vw, 52px);
  line-height: .96;
  letter-spacing: -.045em;
}
.details-lead {
  margin: 16px 0 0;
  color: #40513a;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  font-weight: 650;
}
.details-list {
  display: grid;
  gap: 12px;
  margin-top: clamp(20px, 2.4vw, 32px);
}
.details-list div {
  padding: 15px 16px;
  border-left: 4px solid var(--yellow-500);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(247,197,49,.20), rgba(255,255,255,.72));
}
.details-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.details-list strong,
.details-list a {
  color: var(--green-950);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.25;
  text-decoration: none;
}
.details-list a:hover { text-decoration: underline; }
.map-card {
  min-height: 440px;
  background: rgba(255,255,255,.92);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
}
.privacy-page {
  min-height: 100dvh;
  padding: clamp(18px, 3vw, 46px);
  background:
    radial-gradient(circle at 18% 0, rgba(255, 229, 138, .32), transparent 28%),
    linear-gradient(135deg, #14320d 0%, #285a17 54%, #e0b11d 100%);
}
.privacy-hero,
.privacy-content {
  max-width: 1080px;
  margin: 0 auto;
}
.privacy-hero {
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,249,235,.94));
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: var(--shadow-lg);
}
.privacy-hero .eyebrow { text-align: left; }
.privacy-hero h1 {
  text-align: left;
  font-size: clamp(36px, 5vw, 40px);
  max-width: 900px;
}
.privacy-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.privacy-summary div {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(20, 50, 13, .055);
  border: 1px solid rgba(20, 50, 13, .12);
}
.privacy-summary span,
.privacy-item > span {
  display: block;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.privacy-summary strong,
.privacy-summary a { color: var(--green-950); text-decoration: none; }
.privacy-content {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.privacy-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 12px 34px rgba(5,17,4,.12);
}
.privacy-item > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-300));
  color: var(--green-950);
}
.privacy-item h2 {
  margin: 0 0 8px;
  color: var(--green-950);
  font-size: clamp(20px, 1.7vw, 28px);
  letter-spacing: -.025em;
}
.privacy-item p {
  margin: 0 0 10px;
  color: #3c4937;
  line-height: 1.65;
  font-size: 15.5px;
}
.privacy-item p:last-child { margin-bottom: 0; }
.privacy-footer-box {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: #fff;
  box-shadow: 0 18px 44px rgba(5,17,4,.22);
}
.privacy-footer-box p { margin: 0 0 8px; color: #fff4bd; }

@media (max-width: 900px) {
  .event-grid { min-height: auto; }
  .privacy-consent { font-size: 12px; padding: 10px 11px; }
  .details-wrap { grid-template-columns: 1fr; }
  .map-card, .map-card iframe { min-height: 330px; }
  .privacy-summary { grid-template-columns: 1fr; }
  .privacy-item { grid-template-columns: 1fr; gap: 10px; }
}

/* ===== Ações rápidas dos detalhes do evento v8 ===== */
.details-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.details-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 205, 48, .74);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(13, 54, 14, .14);
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease, border-color .24s ease;
  isolation: isolate;
  overflow: hidden;
}

.details-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.36) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  z-index: -1;
}

.details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(13, 54, 14, .22);
  text-decoration: none;
  filter: saturate(1.06);
}

.details-btn:hover::before { transform: translateX(120%); }

.details-btn-whatsapp {
  color: #ffffff;
  background: linear-gradient(135deg, #198754 0%, #0f6f3e 100%);
  border-color: rgba(255, 255, 255, .18);
}

.details-btn-map {
  color: #102d10;
  background: linear-gradient(135deg, #ffce32 0%, #ffe88b 100%);
  border-color: rgba(255, 205, 48, .84);
}

.details-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  font-size: 17px;
  line-height: 1;
  flex: 0 0 auto;
}

.details-btn-map .details-btn-icon {
  background: rgba(16, 45, 16, .1);
}

.details-btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.details-btn-whatsapp .details-btn-icon {
  color: #ffffff;
}

.details-btn-map .details-btn-icon {
  color: #102d10;
}

@media (min-width: 680px) {
  .details-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .details-actions { gap: 10px; margin-top: 18px; }
  .details-btn { min-height: 50px; padding: 12px 14px; font-size: 12px; border-radius: 16px; }
}

/* Confirmação: ingresso compacto no layout aprovado */
.confirm-page {
  min-height: 100dvh;
  padding: 32px 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 10%, rgba(246, 200, 51, .20), transparent 34%),
    linear-gradient(135deg, #020814 0%, #07123b 52%, #123466 100%);
}
.confirm-wrap-ticket {
  max-width: 580px;
  justify-items: center;
}
.ticket-card {
  width: min(530px, calc(100vw - 36px));
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .26);
}
.ticket-header {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 18px 20px;
  background: linear-gradient(135deg, #07123b 0%, #123466 58%, #0f5794 100%);
  color: #fff;
}
.ticket-logo-frame {
  width: 122px;
  height: 112px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.ticket-logo-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}
.ticket-title-block {
  min-width: 0;
}
.ticket-title-block h1 {
  margin: 0;
  max-width: 320px;
  color: #fff;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.03em;
  text-align: left;
}
.ticket-date {
  margin: 14px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}
.ticket-body {
  background: #faf7ed;
  padding: 30px 24px 28px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "nome"
    "segmento"
    "qrcode";
  justify-items: center;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.ticket-name {
  margin: 0;
  color: #123466;
  grid-area: nome;
  max-width: 100%;
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
  text-wrap: nowrap;
}
.ticket-name br { display: none; }
.ticket-segment-box {
  grid-area: segmento;
  width: min(100%, 330px);
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 12px 14px 11px;
  border: 1px solid rgba(18, 52, 102, .16);
  border-radius: 16px;
  background: #ffffff;
}
.ticket-segment-box span {
  display: block;
  color: rgba(18, 52, 102, .82);
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.ticket-segment-box strong {
  display: block;
  margin-top: 6px;
  color: #123466;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 950;
  text-transform: uppercase;
}
.ticket-qr-wrap {
  grid-area: qrcode;
  width: min(100%, 360px);
  display: grid;
  justify-items: center;
  gap: 14px;
}
.ticket-qr-frame {
  width: 232px;
  height: 232px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 52, 102, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 52, 102, .10);
  margin: auto;
}
.qr-box {
  width: 200px;
  height: 200px;
  min-height: 200px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  display: grid;
  place-items: center;
}
.qr-box img,
.qr-box canvas {
  display: block;
  width: 200px !important;
  height: 200px !important;
}
.ticket-qr-message {
  margin: 0;
  max-width: 320px;
  color: rgba(18, 52, 102, .9);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  text-align: center;
}
.ticket-footer {
  padding: 12px 18px 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}
.ticket-organizer-frame {
  width: 174px;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 8px 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.ticket-organizer-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}
.confirm-actions {
  margin-top: 6px;
}
.ticket-alert {
  max-width: 560px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  color: #123466;
  font-weight: 850;
}
@media (max-width: 560px) {
  .confirm-page { padding: 18px 12px; align-items: start; }
  .ticket-card { width: 100%; border-radius: 24px; }
  .ticket-header {
    grid-template-columns: 90px 1fr;
    gap: 14px;
    padding: 16px 12px 18px;
  }
  .ticket-logo-frame { width: 90px; height: 82px; border-radius: 14px; }
  .ticket-logo-frame img { max-height: 64px; }
  .ticket-title-block h1 { max-width: 100%; font-size: 17px; line-height: 1.08; }
  .ticket-date { margin-top: 12px; font-size: 12px; }
  .ticket-body { padding: 28px 14px 26px; gap: 28px; }
  .ticket-name { font-size: clamp(26px, 8.5vw, 42px); }
  .ticket-segment-box strong { font-size: 14px; }
  .ticket-footer { padding: 12px 12px 16px; }
  .ticket-organizer-frame { width: 164px; min-height: 64px; }
  .confirm-actions { width: 100%; }
  .action-btn, .link-btn { flex: 1 1 100%; }
}

/* Ajustes finais do fluxo de confirmação */
.confirm-success-card {
  width: min(500px, calc(100vw - 36px));
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 250, 240, .96);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  text-align: center;
  color: #123466;
}
.confirm-success-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 14px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6c833, #ffe98a);
  color: #123466;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.confirm-success-card strong {
  display: block;
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.05;
  font-weight: 950;
}
.confirm-success-card p {
  margin: 8px auto 0;
  max-width: 420px;
  color: rgba(18, 52, 102, .76);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}
.action-btn-secondary {
  background: rgba(255, 250, 240, .92) !important;
  color: #123466 !important;
  border: 1px solid rgba(255, 255, 255, .75) !important;
}
.action-btn-secondary:hover { transform: translateY(-2px); }

/* Painel administrativo */
.admin-page {
  min-height: 100dvh;
  padding: 32px 18px;
  background:
    radial-gradient(circle at 14% 6%, rgba(246, 200, 51, .25), transparent 28%),
    linear-gradient(135deg, #062f14 0%, #1f5b14 58%, #d0a91d 100%);
  color: #123466;
}
.admin-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.admin-card {
  background: rgba(255, 250, 240, .96);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .20);
  overflow: hidden;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(18, 52, 102, .98), rgba(47, 102, 23, .96));
  color: #fff;
}
.admin-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  font-weight: 950;
}
.admin-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .82);
  font-weight: 650;
}
.admin-header a,
.admin-header button,
.admin-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6c833, #ffe98a);
  color: #123466;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.admin-shell-wide { width: min(1480px, 100%); }
.admin-alert {
  margin: 18px 24px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(190, 39, 39, .12);
  border: 1px solid rgba(190, 39, 39, .20);
  color: #8f1d1d;
  font-weight: 850;
}
.admin-stats-segments {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.admin-stat-total {
  background: linear-gradient(135deg, rgba(246, 200, 51, .38), rgba(255,255,255,.70));
  border-color: rgba(229, 170, 18, .32);
}
.admin-table-monitor { min-width: 1320px; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px 0;
}
.admin-stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(18, 52, 102, .10);
}
.admin-stat span {
  display: block;
  color: rgba(18, 52, 102, .62);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.admin-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-weight: 950;
}
.admin-table-wrap { padding: 18px 24px 24px; overflow-x: auto; }
.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(18, 52, 102, .10);
  text-align: left;
  vertical-align: top;
}
.admin-table th {
  color: rgba(18, 52, 102, .68);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-sent { background: rgba(36, 148, 74, .16); color: #176a31; }
.status-failed { background: rgba(190, 39, 39, .14); color: #9f1f1f; }
.status-pending { background: rgba(246, 200, 51, .25); color: #7b5a00; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(18, 52, 102, .08);
  color: #123466;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  margin: auto;
}

.participants-mobile-list {
  display: none;
}
.participant-mobile-card {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(18, 52, 102, .10);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 30px rgba(18, 52, 102, .08);
}
.participant-card-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(18, 52, 102, .08);
}
.participant-card-label,
.participant-card-grid span {
  display: block;
  color: rgba(18, 52, 102, .62);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .10em;
  line-height: 1.2;
  text-transform: uppercase;
}
.participant-card-top strong {
  display: block;
  margin-top: 5px;
  color: #123466;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 950;
}
.participant-card-top small {
  display: block;
  margin-top: 4px;
  color: rgba(18, 52, 102, .78);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}
.participant-segment-pill {
  max-width: 128px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(18, 52, 102, .08);
  color: #123466;
  font-size: 10px;
  line-height: 1.18;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.participant-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 0;
}
.participant-card-grid div {
  min-width: 0;
}
.participant-card-grid strong {
  display: block;
  margin-top: 4px;
  color: #123466;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.participant-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 52, 102, .08);
}

.admin-login {
  width: min(440px, 100%);
  margin: 9vh auto 0;
  padding: 28px;
}
.admin-login form { display: grid; gap: 14px; }
.admin-login label { display: grid; gap: 6px; font-weight: 850; }
.admin-login input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(18, 52, 102, .18);
  border-radius: 14px;
  font: inherit;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 54px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #123466;
  cursor: pointer;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(18, 52, 102, .08);
}
.password-toggle:focus-visible {
  outline: 3px solid rgba(255, 208, 47, .72);
  outline-offset: 2px;
}
.password-toggle-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  pointer-events: none;
}
.password-toggle-icon-hide,
.password-toggle[aria-pressed="true"] .password-toggle-icon-show {
  display: none;
}
.password-toggle[aria-pressed="true"] .password-toggle-icon-hide {
  display: block;
}

@media (max-width: 760px) {
  .admin-page { padding: 0; background: linear-gradient(135deg, #062f14 0%, #1f5b14 58%, #d0a91d 100%); }
  .admin-shell,
  .admin-shell-wide { width: 100%; }
  .admin-card { border-radius: 0; min-height: 100dvh; }
  .admin-header { align-items: flex-start; flex-direction: column; padding: 18px 16px; }
  .admin-header h1 { font-size: 24px; line-height: 1.05; }
  .admin-header p { font-size: 13px; line-height: 1.35; }
  .admin-actions { gap: 6px; }
  .admin-header a,
  .admin-header button,
  .admin-link-btn { min-height: 36px; padding: 8px 12px; font-size: 12px; }
  .admin-stats,
  .admin-stats-segments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; }
  .admin-stat { min-height: 100px; padding: 14px; overflow: hidden; }
  .admin-stat span { font-size: 10px; line-height: 1.25; letter-spacing: .10em; overflow-wrap: anywhere; }
  .admin-stat strong { font-size: 26px; }
  .admin-table-wrap { padding: 0 16px 24px; overflow: visible; }
  .admin-table-monitor { min-width: 0; border-collapse: separate; border-spacing: 0 12px; }
  .admin-table-monitor thead { display: none; }
  .admin-table-monitor,
  .admin-table-monitor tbody,
  .admin-table-monitor tr,
  .admin-table-monitor td { display: block; width: 100%; }
  .admin-table-monitor tr {
    padding: 14px;
    border: 1px solid rgba(18, 52, 102, .10);
    border-radius: 18px;
    background: rgba(255, 255, 255, .66);
    box-shadow: 0 10px 28px rgba(18, 52, 102, .08);
  }
  .admin-table-monitor td {
    display: grid;
    grid-template-columns: minmax(92px, 34%) 1fr;
    gap: 10px;
    align-items: start;
    padding: 9px 0;
    border-bottom: 1px solid rgba(18, 52, 102, .08);
    font-size: 13px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .admin-table-monitor td:last-child { border-bottom: 0; padding-bottom: 0; }
  .admin-table-monitor td::before {
    content: attr(data-label);
    color: rgba(18, 52, 102, .62);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
  }
  .admin-table-monitor td[data-label="Participante"] strong { display: block; font-size: 14px; line-height: 1.2; }
  .admin-table-monitor td[data-label="Ações"] .admin-actions { justify-content: flex-start; }
  .admin-small-link { min-height: 30px; padding: 6px 9px; font-size: 11px; }
}


@media (max-width: 760px) {
  .participants-table-desktop {
    display: none !important;
  }
  .participants-mobile-list {
    display: grid;
    gap: 12px;
    padding: 0 16px 24px;
  }
  .participant-card-top {
    grid-template-columns: 1fr;
  }
  .participant-segment-pill {
    max-width: 100%;
    width: fit-content;
    text-align: left;
  }
  .participant-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .admin-stats,
  .admin-stats-segments { grid-template-columns: 1fr; }
}


/* Correção final: elementos do ingresso sem transparência ou quadriculado */
.ticket-logo-frame,
.ticket-organizer-frame,
.ticket-qr-frame,
.qr-box {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}
.ticket-logo-frame img,
.ticket-organizer-frame img,
.qr-box img,
.qr-box canvas {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}
.ticket-qr-frame {
  border-color: rgba(18, 52, 102, .12);
  box-shadow: none;
}
.qr-box {
  overflow: hidden;
}

.site-footer {
  padding: 22px 18px 28px;
  text-align: center;
  color: rgba(255, 255, 255, .86);
  background: linear-gradient(135deg, #123466 0%, #1f5b14 100%);
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px;
  line-height: 1.6;
}
.site-footer p {
  margin: 0;
  font-weight: 700;
}
.site-footer a {
  color: #ffe58a;
  font-weight: 950;
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.developer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.developer-credit a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.fornecedor-logo {
  display: block;
  width: 92px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.validation-page {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
  background: linear-gradient(135deg, #020814 0%, #07123b 52%, #123466 100%);
}
.validation-card {
  width: min(680px, 100%);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 30px;
  padding: clamp(24px, 5vw, 44px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}
.validation-logo {
  display: block;
  width: 120px;
  height: auto;
  margin: 12px auto 18px;
}
.validation-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.validation-status-ok {
  color: #123466;
  background: #dff4dd;
  border: 1px solid rgba(6, 56, 20, .18);
}
.validation-status-error {
  color: #7a170f;
  background: #ffe1dc;
  border: 1px solid rgba(122, 23, 15, .18);
}
.validation-card h1 {
  margin: 14px 0 18px;
  color: #171717;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
}
.validation-card p {
  margin: 12px auto;
  color: #333;
  line-height: 1.6;
  max-width: 540px;
}
.validation-segment {
  margin: 0 auto 22px;
  width: min(440px, 100%);
  padding: 16px 18px;
  border-radius: 18px;
  background: #f5f0df;
  border: 1px solid rgba(6, 56, 20, .14);
}
.validation-segment span {
  display: block;
  color: #123466;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.validation-segment strong {
  display: block;
  margin-top: 4px;
  color: #123466;
  font-size: clamp(20px, 4vw, 30px);
  text-transform: uppercase;
}
.validation-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}
.validation-details div {
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(6, 56, 20, .12);
}
.validation-details dt {
  margin: 0 0 4px;
  color: #5f6b5f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.validation-details dd {
  margin: 0;
  color: #171717;
  font-weight: 850;
  line-height: 1.35;
}
.validation-note {
  font-size: 14px;
  font-weight: 750;
}
@media (max-width: 620px) {
  .validation-details { grid-template-columns: 1fr; }
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.event-brand {
  display: flex;
  align-items: center;
}

.event-logo {
  max-height: 56px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* Padronização Expo Quantic 2026 - páginas internas */
:root{
  --green-980:#07123b;
  --green-950:#123466;
  --green-900:#0a1a52;
  --green-800:#123466;
  --green-700:#0f5794;
  --green-100:#eef4fb;
  --yellow-600:#caa85d;
  --yellow-500:#d7bb73;
  --yellow-300:#f0dfad;
  --cream:#f3f7fb;
  --paper:rgba(255,255,255,.88);
  --ink:#111944;
  --muted:#5f6f86;
  --line:rgba(18,52,102,.14);
  --shadow-lg:0 28px 90px rgba(7,18,59,.22);
  --shadow-md:0 16px 44px rgba(7,18,59,.14);
}
body{background:linear-gradient(135deg,#f3f7fb 0%,#fff 50%,#e8eef6 100%);color:var(--ink);overflow-x:hidden}
.event-shell,.confirm-page,.privacy-page,.admin-page{background:radial-gradient(circle at 15% 5%,rgba(15,87,148,.12),transparent 26rem),radial-gradient(circle at 86% 14%,rgba(18,52,102,.10),transparent 24rem),linear-gradient(135deg,#f3f7fb 0%,#fff 52%,#e8eef6 100%)}
.event-info,.form-panel,.schedule-card,.privacy-hero,.privacy-content,.confirm-success-card,.ticket-card,.admin-card{border-color:rgba(18,52,102,.14);box-shadow:0 24px 80px rgba(7,18,59,.14)}
.event-info{background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(243,247,251,.94)),radial-gradient(circle at 8% 14%,rgba(15,87,148,.10),transparent 30%)}

.primary-button,.form-submit,.action-btn,.link-btn,.admin-header a,.admin-header button,.admin-link-btn{background:linear-gradient(135deg,var(--yellow-500),var(--yellow-300));color:var(--green-950);border-color:rgba(215,187,115,.75);box-shadow:0 18px 46px rgba(18,52,102,.18)}
.secondary-button{background:rgba(18,52,102,.08);color:var(--green-950);border-color:rgba(18,52,102,.18)}
.ticket-header,.ticket-top,.admin-header{background:linear-gradient(135deg,#07123b,#123466 58%,#0f5794)!important;color:#fff!important}
.ticket-card{background:#fff;color:var(--ink)}
.ticket-title-block h1,.ticket-date,.ticket-header p,.admin-header h1,.admin-header p{color:#fff!important}
.ticket-segment-box,.ticket-meta div,.admin-stat{background:linear-gradient(135deg,rgba(18,52,102,.06),rgba(215,187,115,.13));border-color:rgba(18,52,102,.12)}
.privacy-hero h1,.privacy-item h2,.section-heading h2,.form-head h2,h1{color:var(--green-950)}
.privacy-item>span{background:linear-gradient(135deg,var(--yellow-500),var(--yellow-300));color:var(--green-950)}
.privacy-footer-box{background:linear-gradient(135deg,#07123b,#123466);color:#fff}.privacy-footer-box strong,.privacy-footer-box p{color:#fff}
.form-field input,.form-field select,.field input,.field select,.admin-login input{border-color:rgba(18,52,102,.16)}
.form-field input:focus,.form-field select:focus,.field input:focus,.field select:focus,.admin-login input:focus{border-color:var(--yellow-500);box-shadow:0 0 0 5px rgba(215,187,115,.22)}
@media (max-width:900px){.admin-page{background:linear-gradient(135deg,#07123b 0%,#123466 58%,#d7bb73 100%)}}

/* SVG icon system - Expo Quantic */
.eq-svg-icon,
.privacy-meta-icon,
.button-icon {
  flex: 0 0 auto;
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.18em;
}
.privacy-summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.privacy-meta-icon {
  width: 18px;
  height: 18px;
  color: #d7bb73;
}
.link-btn.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.button-icon {
  width: 18px;
  height: 18px;
}


/* v25 - Expo Quantic visual consistency for internal pages */
.validation-page,.confirm-page,.privacy-page{background:radial-gradient(circle at 20% 0,rgba(215,187,115,.15),transparent 28rem),linear-gradient(135deg,#020814,#123466)!important;color:#fff;min-height:100dvh}
.validation-card,.confirm-wrap,.privacy-card,.admin-card,.ticket-card{border-color:rgba(215,187,115,.22)!important;box-shadow:0 28px 90px rgba(7,18,59,.22)}
.link-btn,.action-btn,.primary-button{border-radius:999px!important}
@media (max-width:760px){.confirm-wrap,.privacy-card,.validation-card{width:min(100%,calc(100vw - 28px))!important;padding:24px!important;border-radius:26px!important}.ticket-card{transform-origin:top center}.confirm-actions{display:grid!important;grid-template-columns:1fr!important}.admin-card{padding:20px!important}}

/* cache v29 */


/* v36 - ingresso sem rodape verde e identidade azul nos anexos/preview */
.ticket-card{background:#ffffff!important}
.ticket-body{background:#faf7ed!important;color:#111944!important}
.ticket-name,.ticket-segment-box strong,.ticket-segment-box span,.ticket-qr-message{color:#123466!important}
.ticket-footer,.ticket-organizer-frame{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important}
.ticket-header{background:linear-gradient(135deg,#07123b 0%,#123466 58%,#0f5794 100%)!important}
.ticket-qr-frame{box-shadow:0 12px 30px rgba(18,52,102,.10)!important}
.admin-page{background:radial-gradient(circle at 18% 4%,rgba(15,87,148,.12),transparent 28rem),radial-gradient(circle at 88% 16%,rgba(18,52,102,.10),transparent 26rem),linear-gradient(135deg,#f3f7fb 0%,#ffffff 52%,#e8eef6 100%)!important;color:#111944!important}
.admin-card{background:rgba(255,255,255,.92)!important;border-color:rgba(18,52,102,.14)!important;box-shadow:0 28px 90px rgba(7,18,59,.16)!important}
.admin-header{background:linear-gradient(135deg,#07123b 0%,#123466 58%,#0f5794 100%)!important;border-bottom:4px solid #d7bb73}
.admin-stat{background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(243,247,251,.88))!important;border-color:rgba(18,52,102,.14)!important;color:#111944!important}
.admin-stat span,.admin-table th{color:rgba(18,52,102,.76)!important}
.admin-stat strong{color:#111944!important}
/* cache v36 */

/* v37 - correções responsivas globais e validação */
.validation-details dd {
  overflow-wrap: anywhere;
  word-break: normal;
}

.validation-card {
  width: min(680px, calc(100% - 32px));
}

.admin-table td,
.admin-table th,
.participant-mobile-card,
.validation-card,
.confirm-wrap,
.privacy-card {
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  html,
  body {
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .event-shell {
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    padding: 16px;
  }

  .event-grid {
    width: 100%;
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-info,
  .form-panel,
  .schedule-card,
  .privacy-card,
  .confirm-wrap,
  .validation-card,
  .admin-card {
    max-width: 100%;
  }

  .event-info,
  .form-panel {
    min-height: auto;
    opacity: 1;
    transform: none;
  }

  .event-info {
    overflow: visible;
  }

  .form-panel {
    overflow: visible;
  }

  .form-grid,
  .form-grid.two-columns,
  .eq-form-grid,
  .registration-form .form-grid.two-columns {
    grid-template-columns: 1fr !important;
  }

  .form-field,
  .field,
  .eq-field,
  .eq-field-full {
    width: 100% !important;
    min-width: 0;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .event-shell,
  .confirm-page,
  .privacy-page,
  .validation-page,
  .admin-page {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .event-info,
  .form-panel,
  .schedule-card,
  .confirm-wrap,
  .privacy-card,
  .validation-card,
  .admin-card,
  .ticket-card {
    border-radius: 24px !important;
  }

  .validation-page {
    align-items: flex-start;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .validation-card {
    width: 100% !important;
    padding: 22px !important;
  }

  .validation-logo {
    max-width: 170px;
  }

  .validation-card h1 {
    font-size: clamp(30px, 11vw, 46px) !important;
    line-height: 1.02;
  }

  .validation-segment {
    width: 100%;
    padding: 16px 14px;
  }

  .validation-segment strong {
    font-size: clamp(22px, 8vw, 32px);
  }

  .validation-details {
    grid-template-columns: 1fr !important;
    gap: 12px;
    width: 100%;
  }

  .validation-details div {
    padding: 14px 16px;
  }

  .validation-details dd {
    font-size: 15px;
    line-height: 1.3;
  }

  .ticket-card {
    width: 100% !important;
  }

  .ticket-header,
  .ticket-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .ticket-qr-frame {
    width: min(100%, 232px) !important;
  }

  .admin-page {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .admin-shell,
  .admin-shell-wide {
    width: 100% !important;
  }

  .admin-card {
    min-height: auto !important;
  }

  .admin-stats,
  .admin-stats-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-small-link,
  .link-btn,
  .action-btn,
  .form-submit,
  .primary-button,
  .secondary-button {
    min-height: 44px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .event-shell,
  .confirm-page,
  .privacy-page,
  .validation-page,
  .admin-page {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .event-info,
  .form-panel,
  .schedule-card,
  .confirm-wrap,
  .privacy-card,
  .validation-card,
  .admin-card {
    border-radius: 20px !important;
  }

  .event-info,
  .form-panel {
    padding: 18px !important;
  }

  .admin-stats,
  .admin-stats-segments {
    grid-template-columns: 1fr !important;
  }

  .admin-header {
    gap: 10px !important;
  }

  .admin-actions,
  .admin-header-actions,
  .confirm-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    white-space: normal !important;
  }

  .admin-header-actions a,
  .admin-actions a,
  .admin-actions button,
  .confirm-actions a,
  .confirm-actions button {
    width: 100%;
  }
}

/* v38 - confirmação mobile compacta e sem extravasamento horizontal */
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
img, canvas, svg { max-width: 100%; }
.confirm-page {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
.confirm-wrap-ticket,
.confirm-wrap,
.ticket-card,
.confirm-success-card {
  max-width: 100%;
}
.ticket-name {
  max-width: 100%;
  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .confirm-page {
    display: block !important;
    padding: 14px 10px 28px !important;
  }

  .confirm-wrap-ticket {
    width: 100% !important;
    display: grid;
    justify-items: center;
    gap: 12px !important;
  }

  .confirm-success-card {
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
  }

  .confirm-success-card span {
    min-height: 34px;
    padding: 8px 14px;
    font-size: 11px !important;
  }

  .confirm-success-card strong {
    font-size: clamp(20px, 6.3vw, 26px) !important;
    line-height: 1.02 !important;
  }

  .confirm-success-card p {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  .ticket-card {
    width: 100% !important;
    max-width: 360px !important;
    border-radius: 22px !important;
  }

  .ticket-header {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px 14px 15px !important;
  }

  .ticket-logo-frame {
    width: 76px !important;
    height: 72px !important;
    padding: 8px !important;
    border-radius: 13px !important;
  }

  .ticket-logo-frame img {
    max-height: 56px !important;
  }

  .ticket-title-block h1 {
    font-size: clamp(15px, 4.6vw, 18px) !important;
    line-height: 1.08 !important;
  }

  .ticket-date {
    margin-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.22 !important;
  }

  .ticket-body {
    padding: 22px 12px 20px !important;
    gap: 18px !important;
  }

  .ticket-name {
    font-size: clamp(25px, 8vw, 34px) !important;
    line-height: 1.02 !important;
  }

  .ticket-segment-box {
    width: 100% !important;
    min-height: 50px !important;
    padding: 10px 12px !important;
    border-radius: 15px !important;
  }

  .ticket-segment-box span {
    font-size: 10px !important;
    letter-spacing: .22em !important;
  }

  .ticket-segment-box strong {
    font-size: 14px !important;
  }

  .ticket-qr-wrap {
    width: 100% !important;
    gap: 10px !important;
  }

  .ticket-qr-frame {
    width: 190px !important;
    height: 190px !important;
    border-radius: 16px !important;
  }

  .qr-box,
  .qr-box img,
  .qr-box canvas {
    width: 164px !important;
    height: 164px !important;
    min-height: 164px !important;
  }

  .ticket-qr-message {
    max-width: 290px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 380px) {
  .ticket-card { max-width: 332px !important; }
  .ticket-header { grid-template-columns: 68px minmax(0, 1fr) !important; padding: 12px !important; }
  .ticket-logo-frame { width: 68px !important; height: 66px !important; }
  .ticket-title-block h1 { font-size: 14px !important; }
  .ticket-date { font-size: 10.5px !important; }
  .ticket-body { padding: 18px 10px 18px !important; gap: 14px !important; }
  .ticket-qr-frame { width: 174px !important; height: 174px !important; }
  .qr-box,
  .qr-box img,
  .qr-box canvas { width: 150px !important; height: 150px !important; min-height: 150px !important; }
}
