: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: #fff9eb;
  --paper: rgba(255, 252, 243, .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(255, 229, 138, .46), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(247, 197, 49, .28), transparent 24%),
    linear-gradient(135deg, #173a0d 0%, #356315 54%, #e0b11d 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);
}
.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: rgba(255,255,255,.96);
  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: var(--danger); }
.form-message.ok { color: var(--ok); }

.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: #fffaf0;
  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: rgba(255,255,255,.96); 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, 40px);
  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, 72px);
  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; }
}
