/* ============================================================
   MECHSUMMIT 2026 — styles.css
   ============================================================ */

/* ============================================================
   REGION 1: DESIGN TOKENS
   (valores HSL replicados exatamente do site de produção —
   não alterar sem confirmação, cores da marca)
   ============================================================ */
:root {
  --background:        0 0% 98%;
  --foreground:         0 0% 5%;
  --card:               0 0% 100%;
  --card-foreground:    0 0% 5%;

  --primary:            0 84% 45%;
  --primary-foreground: 0 0% 100%;
  --primary-glow:       0 84% 55%;
  --primary-dark:       0 0% 10%;

  --secondary:          0 0% 15%;
  --secondary-foreground: 0 0% 98%;

  --muted:              0 0% 90%;
  --muted-foreground:   0 0% 40%;

  --accent:             0 84% 50%;
  --accent-foreground:  0 0% 100%;

  --border:             0 0% 88%;
  --input:              0 0% 88%;
  --ring:               0 84% 45%;

  --radius: .75rem;

  --gradient-hero:  linear-gradient(135deg, hsl(0 84% 45%) 0%, hsl(0 0% 10%) 100%);
  --gradient-card:  linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(0 0% 98%) 100%);
  --shadow-elegant: 0 10px 40px -10px hsl(0 84% 45% / .3);
  --shadow-glow:    0 0 60px hsl(0 84% 55% / .4);
  --transition-smooth: all .3s cubic-bezier(.4, 0, .2, 1);

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --sp-1:  0.5rem;
  --sp-2:  1rem;
  --sp-3:  1.5rem;
  --sp-4:  2rem;
  --sp-5:  2.5rem;
  --sp-6:  3rem;
  --sp-8:  4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  --nav-height: 76px;
  --container:  1120px;
}

/* ============================================================
   REGION 2: RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: hsl(var(--foreground) / .82);
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 3px;
}

/* ============================================================
   REGION 3: TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: hsl(var(--foreground));
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 500; text-transform: none; letter-spacing: 0; }

h1 span, h2 span { color: hsl(var(--primary)); }

p { line-height: 1.7; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

/* ============================================================
   REGION 4: LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}

@media (min-width: 640px)  { .container { padding-inline: var(--sp-4); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-6); } }

.section { padding-block: var(--sp-12); }
@media (min-width: 1024px) { .section { padding-block: var(--sp-16); } }

.section--alt { background: hsl(var(--muted) / .5); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.section__subtitle {
  margin-top: var(--sp-3);
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   REGION 5: COMPONENTS — Nav
   ============================================================ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: hsl(var(--background) / .7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.nav--scrolled {
  background: hsl(var(--background) / .95);
  border-bottom-color: hsl(var(--border));
  box-shadow: 0 1px 0 hsl(var(--border));
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.nav__logo img { height: 36px; width: auto; }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-4);
}

@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__link {
  font-size: .875rem;
  font-weight: 600;
  color: hsl(var(--foreground) / .7);
  transition: color var(--t-base, .2s ease);
  position: relative;
  padding-block: .25rem;
}

.nav__link:hover,
.nav__link--active { color: hsl(var(--primary)); }

.nav .nav__cta { display: none; }
@media (min-width: 900px) { .nav .nav__cta { display: inline-flex; } }

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
@media (min-width: 900px) { .nav__toggle { display: none; } }

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

.nav__links--open {
  display: flex;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: var(--sp-2) var(--sp-3);
}

.nav__links--open .nav__link {
  padding-block: var(--sp-2);
  border-bottom: 1px solid hsl(var(--border));
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  padding: .85em 1.65em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn--primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}
.btn--primary:hover {
  background: hsl(var(--primary-glow));
  border-color: hsl(var(--primary-glow));
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.btn--ghost:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }

.btn--ghost-light {
  background: transparent;
  color: hsl(0 0% 100%);
  border-color: hsl(0 0% 100% / .5);
}
.btn--ghost-light:hover { border-color: hsl(0 0% 100%); background: hsl(0 0% 100% / .1); }

.btn--lg { font-size: 1rem; padding: 1em 2em; }
.btn--full { width: 100%; }
.btn--disabled { opacity: .55; cursor: not-allowed; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background: hsl(var(--primary-dark)) center/cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, hsl(0 0% 0% / .55) 0%, hsl(0 0% 0% / .35) 45%, hsl(0 0% 0% / .75) 100%),
    var(--gradient-hero);
  background-blend-mode: multiply;
  opacity: .92;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__overlay {
    background: linear-gradient(180deg, hsl(0 0% 0% / .55) 0%, hsl(0 0% 0% / .35) 45%, hsl(0 0% 0% / .75) 100%), var(--gradient-hero);
  }
}

.hero__content {
  position: relative;
  color: #fff;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-block: var(--sp-8);
}

.hero__logo { height: 68px; width: auto; align-self: flex-start; margin-bottom: var(--sp-3); }

.hero__date {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: hsl(0 0% 100% / .85);
}

.hero__headline { color: #fff; }
.hero__headline span { color: hsl(var(--primary-glow)); }

.hero__sub {
  font-size: 1.15rem;
  color: hsl(0 0% 100% / .88);
  max-width: 46ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

/* ============================================================
   Benefit cards
   ============================================================ */
.benefit {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--sp-4);
  transition: var(--transition-smooth);
}
.benefit:hover {
  border-color: hsl(var(--primary) / .4);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-4px);
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: hsl(var(--primary) / .1);
  margin-bottom: var(--sp-3);
}
.benefit__icon i { font-size: 1.4rem; color: hsl(var(--primary)); }

.benefit__title { margin-bottom: var(--sp-1); }
.benefit__body { font-size: .9375rem; color: hsl(var(--muted-foreground)); }

/* ============================================================
   Location
   ============================================================ */
.location {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1fr; } }

.location__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: hsl(var(--secondary));
}
.location__img img { width: 100%; height: 100%; object-fit: cover; }

.location__name { margin-bottom: var(--sp-1); }
.location__address { color: hsl(var(--muted-foreground)); margin-bottom: var(--sp-4); }

.location__map {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: var(--sp-4);
}

.location__highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.location__highlight { display: flex; align-items: flex-start; gap: .6em; }
.location__highlight i { color: hsl(var(--primary)); font-size: 1.2rem; margin-top: .1em; flex-shrink: 0; }
.location__highlight strong { display: block; font-size: .9rem; }
.location__highlight span { font-size: .85rem; color: hsl(var(--muted-foreground)); }

/* ============================================================
   Media Partner
   ============================================================ */
.partner {
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--sp-6);
  transition: var(--transition-smooth);
}
.partner:hover {
  border-color: hsl(var(--primary) / .4);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-4px);
}

.partner__logo {
  max-width: 220px;
  max-height: 80px;
  width: auto;
  height: auto;
  margin-inline: auto;
  margin-bottom: var(--sp-3);
}

.partner__body { font-size: .9375rem; color: hsl(var(--muted-foreground)); }

/* ============================================================
   Speakers
   ============================================================ */
.speaker {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.speaker__photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--primary) / .25), hsl(var(--secondary) / .5));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid hsl(var(--border));
}
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker__photo i { font-size: 2.5rem; color: hsl(var(--primary) / .6); }

.speaker__name { font-family: var(--font-body); font-weight: 700; font-size: .95rem; }
.speaker__role { font-size: .8rem; color: hsl(var(--muted-foreground)); max-width: 22ch; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / .1);
  border: 1px solid hsl(var(--primary) / .25);
  padding: .3em .85em;
  border-radius: 9999px;
}

/* ============================================================
   Techmaster case
   ============================================================ */
.techmaster {
  background: var(--gradient-hero);
  border-radius: var(--radius);
  padding: var(--sp-8) var(--sp-4);
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
.techmaster h2 { color: #fff; }
.techmaster p { max-width: 52ch; color: hsl(0 0% 100% / .85); }

/* ============================================================
   Timeline (Programa do Dia)
   ============================================================ */
.timeline {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
  padding-left: var(--sp-8);
}

.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--sp-8) / 2 - 1px);
  top: .35rem;
  bottom: .35rem;
  width: 2px;
  background: hsl(var(--border));
}

.timeline__item {
  position: relative;
  padding-bottom: var(--sp-5);
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(var(--sp-8) / -2 - 5px);
  top: .3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / .15);
}

.timeline__time {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: hsl(var(--primary));
  letter-spacing: .04em;
}

.timeline__title { margin-top: .15rem; margin-bottom: .2rem; text-transform: none; font-size: 1.05rem; }
.timeline__note { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.timeline__note--tbd { font-style: italic; }

.timeline__footnote {
  margin-top: var(--sp-5);
  font-size: .85rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

/* ============================================================
   Ticket
   ============================================================ */
.ticket {
  max-width: 440px;
  margin-inline: auto;
  background: hsl(var(--card));
  border: 2px solid hsl(var(--primary) / .3);
  border-radius: calc(var(--radius) + .25rem);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-elegant);
}

.ticket__name { font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; font-size: .85rem; color: hsl(var(--muted-foreground)); text-transform: uppercase; }
.ticket__price { font-family: var(--font-display); font-size: 3rem; color: hsl(var(--primary)); margin-block: var(--sp-2); }
.ticket__price sup { font-size: 1.25rem; margin-left: .15em; }

.ticket__list { text-align: left; display: flex; flex-direction: column; gap: .65rem; margin-block: var(--sp-4); }
.ticket__list li { display: flex; align-items: flex-start; gap: .6em; font-size: .9375rem; }
.ticket__list i { color: hsl(var(--primary)); margin-top: .2em; flex-shrink: 0; }

.ticket__note { font-size: .8rem; color: hsl(var(--muted-foreground)); margin-bottom: var(--sp-4); }
.ticket__urgency { font-size: .85rem; font-weight: 600; color: hsl(var(--primary)); margin-top: var(--sp-3); }

/* ============================================================
   Founders
   ============================================================ */
.founders {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 900px) { .founders { grid-template-columns: minmax(280px, 380px) 1fr; } }

.founders__photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--secondary));
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) { .founders__photo { aspect-ratio: auto; height: 100%; } }
.founders__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.founders__bios {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.founder {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.founder + .founder {
  padding-top: var(--sp-5);
  border-top: 1px solid hsl(var(--border));
}

.founder__name { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.founder__bio { font-size: .9375rem; color: hsl(var(--muted-foreground)); }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.faq__item {
  background: hsl(var(--card) / .6);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding-inline: var(--sp-4);
  transition: border-color var(--transition-smooth);
}
.faq__item:hover { border-color: hsl(var(--primary) / .4); }

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary i { color: hsl(var(--primary)); transition: transform var(--transition-smooth); flex-shrink: 0; }
.faq__item[open] summary i { transform: rotate(180deg); }

.faq__answer { padding-bottom: var(--sp-4); color: hsl(var(--muted-foreground)); font-size: .9375rem; }
.faq__answer ul { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: .3em; margin-block: .5em; }
.faq__answer p + p { margin-top: .5em; }
.faq__answer a { color: hsl(var(--primary)); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Legal / document pages
   ============================================================ */
.section--legal {
  padding-top: calc(var(--nav-height) + var(--sp-6));
}

.legal {
  max-width: 720px;
  margin-inline: auto;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--sp-4);
}
.legal__back:hover { color: hsl(var(--primary)); }

.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.legal__intro {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid hsl(var(--border));
}

.legal__section {
  padding-block: var(--sp-5);
  border-top: 1px solid hsl(var(--border));
}
.legal__section:first-of-type { border-top: none; padding-top: 0; }

.legal h2 {
  font-size: 1.05rem;
  letter-spacing: .02em;
  margin-bottom: var(--sp-3);
  display: flex;
  gap: .5em;
  align-items: baseline;
}
.legal h2 .legal__num { color: hsl(var(--primary)); }

.legal p {
  margin-bottom: var(--sp-2);
  color: hsl(var(--foreground) / .8);
  max-width: 68ch;
}
.legal p:last-child { margin-bottom: 0; }

.legal ul {
  list-style: disc;
  padding-left: 1.3em;
  display: flex;
  flex-direction: column;
  gap: .4em;
  margin-block: var(--sp-2) var(--sp-3);
  color: hsl(var(--foreground) / .8);
  max-width: 68ch;
}

.legal__note {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: hsl(var(--muted) / .5);
  border-radius: var(--radius);
  border-left: 3px solid hsl(var(--primary));
}
.legal__note strong {
  display: block;
  margin-bottom: var(--sp-1);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .06em;
  color: hsl(var(--primary));
}
.legal__note p { color: hsl(var(--foreground) / .8); margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground) / .8);
  padding-block: var(--sp-8);
}

.footer__inner {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: repeat(3, 1fr); } }

.footer__logo img { height: 40px; margin-bottom: var(--sp-2); }
.footer__col h4 { font-family: var(--font-body); text-transform: none; font-size: .875rem; font-weight: 700; color: hsl(var(--secondary-foreground)); margin-bottom: var(--sp-2); }
.footer__col p, .footer__col a { font-size: .875rem; line-height: 1.9; }
.footer__col a:hover { color: hsl(var(--primary-glow)); }

.footer__bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid hsl(0 0% 100% / .1);
  font-size: .8rem;
  color: hsl(var(--secondary-foreground) / .5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ============================================================
   Ticket Modal
   ============================================================ */
.ticket-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
}
.ticket-modal[hidden] { display: none; }

.ticket-modal__backdrop {
  position: absolute;
  inset: 0;
  background: hsl(0 0% 0% / .6);
  backdrop-filter: blur(2px);
}

.ticket-modal__box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: hsl(var(--card));
  border-radius: calc(var(--radius) + .5rem);
  padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow-elegant);
  animation: ticket-modal-in .25s ease;
}
@keyframes ticket-modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .ticket-modal__box { animation: none; } }

.ticket-modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  font-size: 1.35rem;
  color: hsl(var(--muted-foreground));
  line-height: 1;
  padding: .25rem;
}
.ticket-modal__close:hover { color: hsl(var(--foreground)); }

.ticket-modal__title {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  padding-right: var(--sp-6);
}
.ticket-modal__intro {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--sp-5);
  font-size: .9375rem;
}

.form__group { margin-bottom: var(--sp-4); }
.form__group label {
  display: block;
  font-weight: 700;
  font-size: .9375rem;
  margin-bottom: var(--sp-1);
}
.form__group input,
.form__phone select,
.form__phone input {
  width: 100%;
  padding: .75em .9em;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: .9375rem;
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}
.form__group input:focus,
.form__phone select:focus,
.form__phone input:focus {
  outline: none;
  border-color: hsl(var(--primary));
}
.form__group input.form__input--error,
.form__phone input.form__input--error {
  border-color: hsl(var(--destructive));
}

.form__phone {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2);
}
.form__phone select { cursor: pointer; }

.form__error {
  display: block;
  min-height: 1.1em;
  font-size: .8rem;
  color: hsl(var(--destructive));
  margin-top: .3rem;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: .65em;
  font-size: .9375rem;
  margin-bottom: var(--sp-2);
  cursor: pointer;
}
.form__checkbox input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid hsl(var(--primary));
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .1em;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}
.form__checkbox input:checked { background: hsl(var(--primary)); }
.form__checkbox input:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: hsl(var(--primary-foreground));
}
.form__checkbox input:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.form__checkbox a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
.form__checkbox + .form__error { margin-bottom: var(--sp-4); }

#ticketSubmit:disabled { opacity: .7; cursor: not-allowed; }

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-elegant);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  animation: cookie-in .4s ease;
}

.cookie-banner--hide { animation: cookie-out .3s ease forwards; }

@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes cookie-out { to { opacity: 0; transform: translateY(12px); } }

.cookie-banner__text { font-size: .8125rem; color: hsl(var(--muted-foreground)); flex: 1 1 240px; }
.cookie-banner__text a { color: hsl(var(--primary)); font-weight: 600; }

.cookie-banner__actions { display: flex; gap: var(--sp-2); }
.cookie-banner__btn {
  font-size: .8125rem;
  font-weight: 600;
  padding: .5em 1.1em;
  border-radius: var(--radius);
}
.cookie-banner__btn--decline { color: hsl(var(--muted-foreground)); }
.cookie-banner__btn--accept { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-banner--hide { animation: none; }
}
