:root {
  /* Cores Nucleares EJC (Identidade Oficial) */
  --blue: #087df9;
  --blue-dark: #023284;
  --red: #282b30;
  --yellow: #fcc002;
  --cream: #fff4df;
  --container: 1180px;

  /* Variáveis Semânticas - Modo Claro (Padrão Oficial da Landing Page) */
  --bg-body: #ffffff;
  --bg-surface: #f6f8ff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8faff;
  --bg-input: #fbfcff;
  --bg-input-focus: #ffffff;
  --border-color: #dce1ed;
  --border-subtle: #edf2fa;
  --text-main: #17203b;
  --text-muted: #66708a;
  --text-heading: #023284;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-scrolled-bg: rgba(255, 255, 255, 0.96);
  --shadow: 0 24px 60px rgba(22, 35, 84, .15);
  --shadow-card: 0 14px 40px rgba(22, 35, 84, .07);
  --shadow-sm: 0 4px 14px rgba(20, 34, 86, .05);

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  /* Compatibilidade de tokens legados */
  --white: #ffffff;
  --surface: #f6f8ff;
  --ink: #17203b;
  --muted: #66708a;
}

[data-theme="dark"] {
  /* Variáveis Semânticas - Modo Escuro (Mesma Identidade, Alto Contraste) */
  --bg-body: #0b1120;
  --bg-surface: #111b33;
  --bg-card: #162242;
  --bg-card-subtle: #1c2b52;
  --bg-input: #1a2749;
  --bg-input-focus: #22325c;
  --border-color: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-heading: #60a5fa;
  --header-bg: rgba(11, 17, 32, 0.92);
  --header-scrolled-bg: rgba(11, 17, 32, 0.96);
  --shadow: 0 24px 60px rgba(0, 0, 0, .6);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, .45);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .3);

  /* Tokens legados no Dark Mode */
  --surface: #111b33;
  --ink: #f1f5f9;
  --muted: #94a3b8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light dark; }
body {
  margin: 0;
  color: var(--text-main);
  background: var(--bg-body);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 8px 0;
  transition: .3s ease;
}
.site-header.scrolled {
  background: var(--header-scrolled-bg);
  box-shadow: 0 10px 35px rgba(20,35,86,.08);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  width: 88px;
  height: 64px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(20,35,86,.16);
}
.brand img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .94rem; font-weight: 700; }
.nav a { position: relative; }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  transition: right .25s ease;
}
.nav a:hover::after { right: 0; }
.nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
}
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 25%, rgba(91, 187, 211, 0.34), transparent 26%),
    linear-gradient(135deg, #f9fbff 0%, #edf2ff 55%, #fff5df 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% 35%;
  height: 62%;
  border-radius: 50%;
  background: var(--blue);
  transform: rotate(-8deg);
  opacity: .08;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding-top: 55px;
  padding-bottom: 50px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
}
.hero h1, .section-heading h2, .contribution h2, .calendar-copy h2, .social-card h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.hero h1 { max-width: 760px; font-size: clamp(3.1rem, 7vw, 6.4rem); }
.hero-copy > p { max-width: 650px; margin: 26px 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions, .social-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 14px 28px rgba(223, 235, 55, 0.24); }
.button-secondary { color: var(--blue-dark); background: var(--white); border-color: rgba(38,63,145,.15); }
.button-light { color: var(--blue-dark); background: var(--white); }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,.5); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(38,63,145,.14);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(38,63,145,.08);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.hero-tags a:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(38,63,145,.3);
  box-shadow: 0 8px 20px rgba(38,63,145,.14);
}
.hero-tags a:focus-visible {
  outline: 3px solid rgba(38,63,145,.28);
  outline-offset: 3px;
}

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.logo-card {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  padding: 20px;
  border-radius: 44px;
  background: var(--blue);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  overflow: hidden;
}
.logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.16), transparent 65%);
  transform: translateX(-120%);
  animation: sheen 4.5s infinite;
}
.logo-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.floating-card {
  position: absolute;
  right: -18px;
  bottom: 35px;
  display: grid;
  padding: 18px 22px;
  color: var(--blue-dark);
  background: var(--yellow);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.floating-card strong { font-size: 1.1rem; }
.floating-card span { font-size: .84rem; }
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 25px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(38,63,145,.2);
  border-radius: 50%;
  animation: bounce 1.8s infinite;
}

.section { padding: 110px 0; }
.section-light { background: var(--white); }
.section-heading { max-width: 720px; margin-bottom: 50px; }
.section-heading h2, .contribution h2, .calendar-copy h2, .social-card h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }

.featured-person {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 18px 60px rgba(22,35,84,.09);
}
.featured-photo { min-height: 520px; }
.featured-photo img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { display: grid; align-content: center; padding: clamp(32px, 6vw, 72px); }
.featured-copy h3, .support-person h3, .team-card h3 { margin: 14px 0; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; }
.featured-copy p, .support-person p, .team-card p { color: var(--muted); }
.featured-note { padding-left: 18px; border-left: 4px solid var(--yellow); font-weight: 600; }
.role-pill, .team-label {
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.role-main { color: var(--white); background: var(--blue); }
.role-support { color: var(--blue-dark); background: var(--yellow); }

.support-person {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 60px;
  margin: 36px 0;
  padding: 42px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
}
.support-person p { color: rgba(255,255,255,.74); }
.support-person img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22,35,84,.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(22,35,84,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f9ff, #eef2ff);
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .6s ease;
}
.team-card:hover .team-image img { transform: scale(1.045); }
.team-card-body { padding: 28px; }
.team-card-body h3 { font-size: 1.8rem; }
.team-green { border-top: 6px solid #24a764; }
.team-red { border-top: 6px solid #e8333e; }
.team-yellow { border-top: 6px solid #e9dd3c; }
.team-orange, .team-blue { border-top: 6px solid #f97316; }
.team-green .team-label { color: #137442; background: #e5f8ee; }
.team-red .team-label { color: #a61f29; background: #ffeaec; }
.team-yellow .team-label { color: #ebd93d; background: #ffffda; }
.team-orange .team-label, .team-blue .team-label { color: #c2410c; background: #fff7ed; }
[data-theme="dark"] .team-orange .team-label, [data-theme="dark"] .team-blue .team-label { color: #fdba74; background: rgba(249, 115, 22, 0.2); }

.responsibilities {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(255,217,26,.17), transparent 25%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  overflow: hidden;
}
.responsibilities::after {
  content: "EJC";
  position: absolute;
  right: -40px; bottom: -130px;
  font-family: "Archivo Black";
  font-size: 330px;
  color: rgba(255,255,255,.035);
}
.section-heading-light { position: relative; z-index: 1; }
.section-heading-light p { color: rgba(255,255,255,.68); }
.responsibility-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.responsibility-card {
  position: relative;
  min-height: 270px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
}
.responsibility-card h3 { margin: 20px 0 8px; font-size: 1.35rem; }
.responsibility-card p { margin: 0; color: rgba(255,255,255,.7); }
.responsibility-number { position: absolute; right: 24px; top: 18px; color: rgba(255,255,255,.16); font: 800 3.8rem/1 "Archivo Black"; }
.responsibility-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--blue-dark); background: var(--yellow); border-radius: 16px; font-size: 1.25rem; font-weight: 900; }
.responsibility-wide { grid-column: 1 / -1; }

.contribution { background: var(--cream); }
.contribution-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contribution-copy { position: sticky; top: 120px; }
.contribution-copy > p { color: #6b6471; font-size: 1.06rem; }
.notice { margin-top: 34px; padding: 25px; border-radius: 18px; background: var(--white); box-shadow: 0 12px 35px rgba(112,75,35,.1); }
.notice strong { display: inline-block; margin-bottom: 8px; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.notice p { margin: 0; color: #6b6471; }
.fee-area { display: grid; gap: 18px; }
.fee-card { position: relative; overflow: hidden; padding: 34px; border-radius: 24px; box-shadow: var(--shadow); }
.fee-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -55px; bottom: -70px; border-radius: 50%; background: rgba(255,255,255,.13); }
.fee-card span { display: block; margin-bottom: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.fee-card strong { display: block; font: 800 clamp(3rem, 7vw, 5.2rem)/1 "Archivo Black"; letter-spacing: -.06em; }
.fee-card small { display: block; margin-top: 14px; max-width: 360px; opacity: .76; }
.fee-primary { color: var(--white); background: linear-gradient(135deg, var(--red), #a50921); }
.fee-secondary { color: var(--blue-dark); background: var(--yellow); }
.expense-card { padding: 30px; border-radius: 24px; background: var(--white); }
.expense-card h3 { margin-top: 0; font-size: 1.35rem; }
.expense-card ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.expense-card li { position: relative; padding-left: 24px; color: var(--muted); }
.expense-card li::before { content: "✓"; position: absolute; left: 0; color: #21a467; font-weight: 900; }

.calendar-section { background: var(--surface); }
.calendar-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.calendar-copy p { color: var(--muted); }
.calendar-card {
  position: relative;
  padding: 18px;
  border: 0;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform .25s ease;
}
.calendar-card:hover { transform: rotate(1deg) scale(1.01); }
.calendar-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #eef2ff;
}
.calendar-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .7s ease, transform .7s ease;
}
.calendar-slide.active {
  opacity: 1;
  transform: scale(1);
}

.calendar-card span { position: absolute; right: 30px; bottom: 30px; padding: 10px 14px; color: var(--white); background: rgba(20,35,86,.9); border-radius: 999px; font-size: .78rem; font-weight: 800; }

.social-section { padding-top: 0; background: var(--surface); }
.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.social-card p { margin-bottom: 0; color: rgba(255,255,255,.7); }

.site-footer { padding: 34px 0; color: rgba(255,255,255,.7); background: #0d173c; }
.footer-grid { display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; align-items: center; }
.footer-grid img { width: 88px; border-radius: 12px; }
.footer-grid strong { color: var(--white); }
.footer-grid p { margin: 2px 0 0; }
.footer-signature { text-align: right; }

.whatsapp-float, .back-to-top {
  position: fixed;
  z-index: 90;
  right: 22px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(15,25,65,.24);
  font-weight: 900;
}
.whatsapp-float { bottom: 22px; color: var(--white); background: #25d366; font-size: 1.9rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 16px 34px rgba(15,25,65,.3); }
.back-to-top { bottom: 86px; color: var(--blue-dark); background: var(--yellow); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.image-modal {
  width: min(94vw, 850px);
  max-height: 94vh;
  padding: 16px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.image-modal::backdrop { background: rgba(9,15,42,.82); backdrop-filter: blur(5px); }
.image-modal img { width: 100%; max-height: 88vh; object-fit: contain; border-radius: 14px; }
.modal-close {
  position: absolute;
  right: 22px; top: 22px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(20,35,86,.9);
  font-size: 1.7rem;
  cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes sheen { 0%, 45% { transform: translateX(-120%); } 70%, 100% { transform: translateX(120%); } }
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

@media (max-width: 900px) {
  .site-header { background: var(--header-scrolled-bg); backdrop-filter: blur(12px); }
  .menu-button {
    display: grid;
    gap: 5px;
    width: 46px; height: 46px;
    place-content: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-surface);
    color: var(--text-main);
  }
  .menu-button span:not(.sr-only) { width: 22px; height: 2px; background: var(--text-main); }
  .nav {
    position: absolute;
    top: 78px;
    left: 20px; right: 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: .25s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a { padding: 13px 12px; }
  .nav-cta { text-align: center; margin-top: 6px; }

  .hero-grid, .featured-person, .contribution-grid, .calendar-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; padding-top: 130px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.3rem); }
  .hero-visual { min-height: 430px; }
  .logo-card { width: min(85vw, 420px); }
  .floating-card { right: 0; }
  .featured-photo { min-height: 430px; }
  .support-person { grid-template-columns: 1fr; gap: 22px; }
  .support-person img { max-height: 520px; }
  .team-grid { grid-template-columns: 1fr; }
  .responsibility-grid { grid-template-columns: 1fr; }
  .responsibility-wide { grid-column: auto; }
  .contribution-copy { position: static; }
  .calendar-copy { text-align: center; }
  .choreography-card { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .choreography-visual { min-height: 220px; }
  .choreography-copy p { margin-inline: auto; }
  .social-card { display: grid; text-align: center; }
  .social-actions { justify-content: center; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .section { padding: 78px 0; }
  .hero-actions .button, .social-actions .button { width: 100%; }
  .hero-visual { min-height: 340px; }
  .logo-card { border-radius: 28px; padding: 12px; }
  .floating-card { right: 5px; bottom: 0; }
  .featured-photo { min-height: 360px; }
  .featured-copy, .support-person, .team-card-body, .responsibility-card, .fee-card, .expense-card { padding: 24px; }
  .support-person { margin-top: 24px; }
  .team-image { aspect-ratio: 4 / 5; }
  .expense-card ul { grid-template-columns: 1fr; }
  .social-card { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 60px 1fr; }
  .footer-grid img { width: 60px; }
  .footer-signature { grid-column: 1/-1; text-align: left; }
  .calendar-card { padding: 10px; }
  .calendar-card span { right: 18px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


.choreography-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,217,26,.24), transparent 25%),
    radial-gradient(circle at 90% 85%, rgba(239,36,50,.18), transparent 28%),
    var(--white);
}
.choreography-card {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 64px;
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.choreography-card::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -120px;
  top: -130px;
  border-radius: 50%;
  background: var(--red);
  opacity: .22;
}
.choreography-visual {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: grid;
  place-items: center;
}
.dance-icon {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255,255,255,.34);
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--yellow);
  box-shadow:
    0 0 0 22px rgba(255,255,255,.06),
    0 24px 50px rgba(5,12,40,.24);
  font: 900 5.5rem/1 "Archivo Black";
  animation: choreographyPulse 3s ease-in-out infinite;
}
.dance-note {
  position: absolute;
  color: var(--white);
  font: 800 3.2rem/1 "Archivo Black";
  opacity: .78;
  animation: noteFloat 3.4s ease-in-out infinite;
}
.dance-note-one { top: 16px; left: 13%; }
.dance-note-two { right: 11%; bottom: 16px; animation-delay: .7s; }
.choreography-copy {
  position: relative;
  z-index: 1;
}
.choreography-copy h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.choreography-copy p {
  max-width: 650px;
  margin: 22px 0 26px;
  color: rgba(255,255,255,.76);
  font-size: 1.06rem;
}
.choreography-copy small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.58);
}
.choreography-button {
  background: var(--yellow);
  color: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(255,217,26,.22);
}
@keyframes choreographyPulse {
  0%, 100% { transform: scale(1) rotate(-4deg); }
  50% { transform: scale(1.055) rotate(4deg); }
}
@keyframes noteFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}

/* Correção responsiva da seção de coreografias */
.choreography-card > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .choreography-card {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 42px 28px;
    text-align: center;
  }

  .choreography-visual {
    min-height: 210px;
  }

  .dance-icon {
    width: 160px;
    height: 160px;
    font-size: 4.6rem;
  }

  .choreography-copy p {
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .choreography-section {
    overflow: hidden;
  }

  .choreography-card {
    width: 100%;
    gap: 18px;
    padding: 32px 18px;
    border-radius: 24px;
  }

  .choreography-card::after {
    width: 210px;
    height: 210px;
    right: -105px;
    top: -90px;
  }

  .choreography-visual {
    min-height: 170px;
  }

  .dance-icon {
    width: 130px;
    height: 130px;
    font-size: 3.8rem;
    box-shadow:
      0 0 0 14px rgba(255,255,255,.06),
      0 18px 36px rgba(5,12,40,.22);
  }

  .dance-note {
    font-size: 2.35rem;
  }

  .dance-note-one {
    top: 8px;
    left: 8%;
  }

  .dance-note-two {
    right: 7%;
    bottom: 8px;
  }

  .choreography-copy h2 {
    font-size: clamp(2.15rem, 13vw, 3rem);
    overflow-wrap: anywhere;
  }

  .choreography-copy p {
    margin: 16px auto 22px;
    font-size: .98rem;
  }

  .choreography-button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .choreography-copy small {
    padding-inline: 4px;
    overflow-wrap: anywhere;
  }
}

/* Inscrições — protótipo interativo */
.signup-section { background: #f5f7ff; }
.demo-alert { display:flex; gap:16px; align-items:flex-start; margin:0 0 28px; padding:20px 22px; border:1px solid rgba(38,63,145,.16); border-left:5px solid var(--yellow); border-radius:18px; background:#fff; box-shadow:0 12px 30px rgba(24,42,103,.07); }
.demo-alert strong { flex:0 0 auto; color:var(--blue-dark); }
.demo-alert p { margin:0; color:#58617a; }
.sub-choice-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.sub-choice { --sub-color:var(--blue); position:relative; min-width:0; padding:24px; border:1px solid rgba(25,35,75,.1); border-radius:24px; text-align:left; background:#fff; color:#1c2440; box-shadow:0 15px 35px rgba(20,34,86,.08); cursor:pointer; transition:.22s ease; overflow:hidden; }
.sub-choice::before { content:""; position:absolute; inset:0 auto 0 0; width:6px; background:var(--sub-color); }
.sub-choice:hover,.sub-choice.selected { transform:translateY(-4px); border-color:var(--sub-color); box-shadow:0 20px 40px rgba(20,34,86,.13); }
.sub-choice.selected { outline:3px solid color-mix(in srgb, var(--sub-color) 22%, transparent); }
.sub-green { --sub-color:#25a55f; } .sub-red { --sub-color:#e83441; } .sub-yellow { --sub-color:#e9dd3c; } .sub-orange, .sub-blue { --sub-color:#f97316; }
.sub-badge { display:inline-flex; margin-bottom:15px; padding:7px 11px; border-radius:999px; background:color-mix(in srgb, var(--sub-color) 12%, white); color:var(--sub-color); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.sub-choice strong,.sub-counter,.sub-button-text { display:block; }
.sub-choice strong { min-height:48px; font-size:1.05rem; }
.sub-counter { margin:15px 0 9px; color:#606982; font-size:.9rem; }
.progress { display:block; height:9px; overflow:hidden; border-radius:999px; background:#e9edf6; }
.progress i { display:block; width:0; height:100%; border-radius:inherit; background:var(--sub-color); transition:width .4s ease; }
.sub-button-text { margin-top:17px; color:var(--sub-color); font-weight:800; }
/* ==============================================================================
   FORMULÁRIO PRINCIPAL DE INSCRIÇÃO — REDESIGN PROFISSIONAL
   ============================================================================== */
.signup-workspace {
  display: block;
  max-width: 920px;
  margin: 32px auto 0;
}
.signup-form {
  min-width: 0;
  padding: clamp(26px, 4.5vw, 46px);
  border-radius: var(--radius-lg, 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  color: var(--text-main);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* Cabeçalho do Formulário */
.form-heading {
  margin-bottom: 28px;
}
.form-heading .role-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8, 125, 249, 0.12);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid rgba(8, 125, 249, 0.22);
}
[data-theme="dark"] .form-heading .role-pill {
  background: rgba(8, 125, 249, 0.2);
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.3);
}
.form-heading h3 {
  margin: 14px 0 8px;
  font-family: "Archivo Black", sans-serif;
  color: var(--text-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.form-heading-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.5;
}
.req-star {
  color: #ef4444;
  font-weight: 800;
  margin-left: 2px;
}

/* Seções Semânticas do Formulário */
.form-section {
  position: relative;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}
.form-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.form-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  background: rgba(8, 125, 249, 0.1);
  color: var(--blue);
  font-size: 1.2rem;
  border: 1px solid rgba(8, 125, 249, 0.2);
  transition: all .2s ease;
}
[data-theme="dark"] .form-section-icon {
  background: rgba(8, 125, 249, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
}
.form-section-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form-section-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.form-section-subtitle {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Grid & Campos do Formulário */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field-wide {
  grid-column: 1 / -1;
}
.field-label, .field-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
  border: none;
  padding: 0;
}
.opt-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.field-hint {
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.field-hint-inline {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Inputs, Selects e Textareas */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: color .2s ease;
}
.input-icon-wrap input {
  padding-left: 44px !important;
}
.input-icon-wrap:focus-within .input-icon {
  color: var(--blue);
}

.field input, .field select, .field textarea, .contribution-interactive-card input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 13px 16px;
  font-size: .92rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm, 14px);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder, .contribution-interactive-card input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2366708a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}
[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}
.field textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}
.field input:hover, .field select:hover, .field textarea:hover, .contribution-interactive-card input:hover {
  border-color: rgba(8, 125, 249, 0.4);
}
.field input:focus, .field select:focus, .field textarea:focus, .contribution-interactive-card input:focus {
  border-color: var(--blue);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3.5px rgba(8, 125, 249, 0.16);
}

/* Segmented Choice Buttons (Sim / Não & Pix / Espécie) */
.segmented-choice-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 48px;
}
.segmented-choice-label {
  position: relative;
  display: block;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
.segmented-choice-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.segmented-choice-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  box-sizing: border-box;
  padding: 0 16px;
  border-radius: var(--radius-sm, 14px);
  border: 1.5px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 700;
  transition: all .2s ease;
  user-select: none;
}
.segmented-choice-label:hover .segmented-choice-btn {
  border-color: var(--blue);
  color: var(--text-main);
  background: var(--bg-card);
}
.segmented-choice-label input:checked + .segmented-choice-btn {
  border-color: var(--blue);
  background: rgba(8, 125, 249, 0.12);
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(8, 125, 249, 0.22);
}
[data-theme="dark"] .segmented-choice-label input:checked + .segmented-choice-btn {
  background: rgba(8, 125, 249, 0.22);
  color: #60a5fa;
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.25);
}

/* Camisas adicionais */
.extra-shirt-fields {
  padding: 20px;
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md, 20px);
  background: var(--bg-surface);
  margin-top: 4px;
}
.extra-shirt-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 125, 249, 0.08);
  border: 1px solid rgba(8, 125, 249, 0.18);
  color: var(--text-main);
  font-size: .84rem;
}
.extra-shirt-badge i {
  color: var(--blue);
  font-size: 1.1rem;
}

/* Custom Upload Zone */
.custom-upload-zone {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md, 20px);
  background: var(--bg-surface);
  padding: 22px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .22s ease;
  overflow: hidden;
}
.custom-upload-zone:hover, .custom-upload-zone:focus-within {
  border-color: var(--blue);
  background: rgba(8, 125, 249, 0.04);
}
[data-theme="dark"] .custom-upload-zone:hover, [data-theme="dark"] .custom-upload-zone:focus-within {
  background: rgba(8, 125, 249, 0.08);
}
.custom-upload-zone.has-file {
  border-style: solid;
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.06);
}
.custom-upload-zone .sr-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  margin: 0;
  padding: 0;
}
.upload-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.upload-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 125, 249, 0.1);
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: 2px;
  transition: all .2s ease;
}
.custom-upload-zone.has-file .upload-icon-circle {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.upload-zone-title {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-main);
}
.upload-zone-sub {
  margin: 0;
  font-size: .8rem;
  color: var(--text-muted);
}
.upload-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: .82rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* Upload Compacto para comprovante */
.custom-upload-compact {
  padding: 16px 18px;
}
.custom-upload-compact .upload-icon-circle {
  width: 40px;
  height: 40px;
  font-size: 1.15rem;
}
.custom-upload-compact .upload-browse-btn {
  padding: 5px 14px;
}

/* Payment Option Cards */
.payment-cards-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
}
.payment-card-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md, 20px);
  border: 2px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all .22s ease;
  user-select: none;
}
.payment-card-option:hover {
  border-color: rgba(8, 125, 249, 0.45);
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.payment-card-option.selected, .payment-card-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--bg-card);
  box-shadow: 0 10px 28px rgba(8, 125, 249, 0.12);
}
[data-theme="dark"] .payment-card-option.selected, [data-theme="dark"] .payment-card-option:has(input:checked) {
  border-color: #60a5fa;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.payment-card-radio {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
}
.payment-card-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}
.custom-radio-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  transition: all .2s ease;
}
.custom-radio-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  transform: scale(0);
  transition: transform .2s ease;
}
.payment-card-option.selected .custom-radio-mark,
.payment-card-option:has(input:checked) .custom-radio-mark {
  border-color: var(--blue);
}
.payment-card-option.selected .custom-radio-mark::after,
.payment-card-option:has(input:checked) .custom-radio-mark::after {
  transform: scale(1);
}
[data-theme="dark"] .custom-radio-mark::after {
  background: #60a5fa;
}

.payment-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.payment-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.payment-card-title {
  font-size: .98rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}
.payment-badge-rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(8, 125, 249, 0.14);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
[data-theme="dark"] .payment-badge-rec {
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
}
.payment-card-desc {
  margin: 0;
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Caixa condicional de pagamento */
.payment-conditional-box {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius-md, 20px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

/* Card de Mensagem de Inscrição Pendente */
.pending-message-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-sm, 16px);
  background: rgba(252, 192, 2, 0.1);
  border: 1.5px solid rgba(252, 192, 2, 0.35);
  color: #855300;
  line-height: 1.45;
}
.pending-message-card[hidden] {
  display: none !important;
}
.pending-message-icon {
  font-size: 1.4rem;
  color: #d97706;
  margin-top: 2px;
  flex: 0 0 auto;
}
.pending-message-body strong {
  display: block;
  font-size: .95rem;
  margin-bottom: 3px;
  color: #b45309;
}
.pending-message-body p {
  margin: 0;
  font-size: .85rem;
}
[data-theme="dark"] .pending-message-card {
  background: rgba(252, 192, 2, 0.08);
  border-color: rgba(252, 192, 2, 0.25);
  color: #fde047;
}
[data-theme="dark"] .pending-message-icon {
  color: #facc15;
}
[data-theme="dark"] .pending-message-body strong {
  color: #fde047;
}

/* Consentimento & Termos */
.consent-card {
  margin: 24px 0 20px;
  padding: 18px 20px;
  border-radius: var(--radius-sm, 16px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all .2s ease;
}
.consent-card:hover {
  border-color: rgba(8, 125, 249, 0.3);
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 0;
}
.custom-checkbox {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}
.consent-text {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Ações do Formulário & Botão Principal */
.form-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.submit-signup {
  width: 100%;
  min-height: 54px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: 999px;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(8, 125, 249, 0.22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.submit-signup:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(8, 125, 249, 0.3);
}
.submit-signup:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-sub-reminder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: #dc2626;
  margin: 0;
  text-align: center;
  transition: opacity .2s ease;
}
[data-theme="dark"] .form-sub-reminder {
  color: #f87171;
}
.form-sub-reminder.sub-selected {
  color: #10b981;
}
[data-theme="dark"] .form-sub-reminder.sub-selected {
  color: #34d399;
}

.form-feedback {
  min-height: 24px;
  margin: 16px 0 0;
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
}
.form-feedback.success { color: #10b981; }
.form-feedback.error { color: #ef4444; }
.form-feedback.loading { color: var(--blue); }

/* Confirmação e acesso ao WhatsApp */
[hidden],
.whatsapp-success[hidden] {
  display: none !important;
}

.whatsapp-success {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-md, 22px);
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[data-theme="dark"] .whatsapp-success {
  background: #052e16;
  border-color: #166534;
}
.success-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #15803d;
}
[data-theme="dark"] .success-top-badge {
  color: #4ade80;
}
.success-intro {
  margin: 0;
  font-size: .92rem;
  color: #166534;
  line-height: 1.5;
}
[data-theme="dark"] .success-intro {
  color: #bbf7d0;
}
.success-disclaimer {
  font-size: .76rem;
  color: #15803d;
  opacity: .85;
}
[data-theme="dark"] .success-disclaimer {
  color: #86efac;
}
.button-whatsapp {
  width: 100%;
  background: #1fa855;
  color: #fff;
  font-weight: 800;
  font-size: .98rem;
  box-shadow: 0 12px 26px rgba(31, 168, 85, .25);
  gap: 8px;
}
.button-whatsapp:hover {
  background: #168a45;
  transform: translateY(-2px);
}

/* ==============================================================================
   RESPONSIVIDADE CIRÚRGICA: TABLET E MOBILE
   Preserva 100% o design Desktop convencional
   ============================================================================== */

@media (max-width: 900px) {
  /* Distribuição equilibrada dos cards de Sub em tablets */
  .sub-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 680px) {
  /* Grid de Subs em coluna única no mobile: amplitude e alinhamento perfeito */
  .sub-choice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sub-choice {
    padding: 18px 20px;
    border-radius: 20px;
  }
  .sub-choice strong {
    min-height: auto;
    margin-bottom: 6px;
    font-size: 1.08rem;
  }
  .sub-counter {
    margin: 10px 0 8px;
    font-size: .88rem;
  }
  .sub-button-text {
    margin-top: 14px;
    font-size: .92rem;
  }

  /* Container do formulário mobile */
  .signup-workspace {
    margin-top: 24px;
    margin-bottom: 36px;
  }
  .signup-form {
    padding: 20px 16px;
    border-radius: 22px;
  }

  /* Tipografia do cabeçalho */
  .form-heading {
    margin-bottom: 22px;
  }
  .form-heading .role-pill {
    padding: 5px 12px;
    font-size: .75rem;
  }
  .form-heading h3 {
    font-size: 1.55rem;
    margin: 10px 0 6px;
    line-height: 1.2;
  }
  .form-heading-desc {
    font-size: .88rem;
    line-height: 1.45;
  }

  /* Grid e campos em coluna única */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .field-wide {
    grid-column: auto;
  }

  /* Seções do formulário */
  .form-section {
    margin-top: 24px;
    padding-top: 20px;
  }
  .form-section-header {
    gap: 12px;
    margin-bottom: 16px;
  }
  .form-section-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .form-section-title {
    font-size: 1.02rem;
    line-height: 1.25;
  }
  .form-section-subtitle {
    font-size: .8rem;
    line-height: 1.35;
  }

  /* Inputs, selects e textareas */
  .field {
    gap: 6px;
  }
  .field-label {
    font-size: .86rem;
    line-height: 1.35;
  }
  .field input, .field select, .field textarea, .contribution-interactive-card input {
    padding: 12px 14px;
    font-size: .9rem;
    border-radius: 12px;
  }
  .input-icon-wrap input {
    padding-left: 40px !important;
  }
  .input-icon {
    left: 14px;
    font-size: .95rem;
  }
  .field-hint {
    font-size: .78rem;
    line-height: 1.35;
    margin-top: 1px;
  }

  /* Proporção equilibrada da textarea no mobile (Seção 1.7) */
  .field textarea {
    min-height: 64px;
    height: 72px;
    line-height: 1.45;
    resize: vertical;
  }

  /* Controles Segmentados Radio Sim/Não e Pix/Espécie (Seção 1.4) */
  .segmented-choice-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 46px;
  }
  .segmented-choice-btn {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    padding: 0 10px;
    font-size: .88rem;
    border-radius: 12px;
    white-space: nowrap;
  }
  .segmented-choice-btn i {
    font-size: .9rem;
    flex-shrink: 0;
  }

  /* Upload de Foto para identificação e crachá (Seção 1.8) */
  .custom-upload-zone {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .upload-icon-circle {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    margin-bottom: 2px;
  }
  .upload-zone-title {
    font-size: .88rem;
    line-height: 1.35;
  }
  .upload-zone-sub {
    font-size: .76rem;
    line-height: 1.35;
    margin-top: 2px;
  }
  .upload-browse-btn {
    margin-top: 6px;
    padding: 6px 14px;
    font-size: .78rem;
  }
  .custom-upload-compact {
    padding: 14px 12px;
  }
  .custom-upload-compact .upload-icon-circle {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  /* Opções de Pagamento (alinhamento vertical rigoroso) */
  .payment-cards-group {
    gap: 10px;
    margin-top: 8px;
  }
  .payment-card-option {
    display: flex;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 16px;
    gap: 12px;
  }
  .payment-card-radio {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .custom-radio-mark {
    width: 18px;
    height: 18px;
  }
  .custom-radio-mark::after {
    width: 8px;
    height: 8px;
  }
  .payment-card-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .payment-card-title {
    font-size: .9rem;
    line-height: 1.3;
  }
  .payment-badge-rec {
    font-size: .68rem;
    padding: 2px 7px;
  }
  .payment-card-desc {
    font-size: .8rem;
    line-height: 1.4;
  }
  .payment-conditional-box {
    padding: 16px 14px;
    border-radius: 16px;
    margin-top: 14px;
  }

  /* Card de consentimento e termos */
  .consent-card {
    padding: 14px 14px;
    margin: 20px 0 16px;
    border-radius: 14px;
  }
  .consent-label {
    gap: 10px;
    align-items: flex-start;
  }
  .custom-checkbox {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
  }
  .consent-text {
    font-size: .8rem;
    line-height: 1.45;
  }

  /* Ação final e envio */
  .form-action-wrap {
    padding-bottom: 16px;
  }
  .submit-signup {
    width: 100%;
    height: 50px;
    font-size: 1rem;
    border-radius: 14px;
    justify-content: center;
  }

  /* Botões flutuantes ajustados para não cobrir conteúdo (Seção 1.10) */
  .whatsapp-float, .back-to-top {
    right: 14px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float {
    bottom: 14px;
    font-size: 1.6rem;
  }
  .back-to-top {
    bottom: 68px;
    font-size: 1.1rem;
  }
}

/* Microtelas (320px - 360px) */
@media (max-width: 360px) {
  .signup-form {
    padding: 16px 12px;
  }
  .form-heading h3 {
    font-size: 1.38rem;
  }
  .segmented-choice-btn {
    font-size: .82rem;
    padding: 0 6px;
    gap: 6px;
  }
  .payment-card-option {
    padding: 12px 10px;
    gap: 10px;
  }
  .field input, .field select, .field textarea {
    padding: 11px 12px;
    font-size: .86rem;
  }
}

/* Inscrições reais + pagamento */
.payment-notice{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);gap:28px;align-items:center;margin:28px 0;padding:clamp(22px,4vw,34px);border-radius:28px;background:var(--bg-card);border:1px solid var(--border-subtle);box-shadow:var(--shadow-card)}
.payment-notice h3{margin:8px 0 10px;color:var(--text-main)}.payment-notice p{margin:0;color:var(--text-muted);line-height:1.65}.pix-details{display:grid;gap:10px;margin:20px 0 0}.pix-details div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-subtle)}.pix-details dt{font-weight:800;color:var(--text-main)}.pix-details dd{margin:0;color:var(--text-muted);word-break:break-word}.pix-figure{margin:0;text-align:center}.pix-figure img{display:block;width:min(100%,320px);margin:0 auto;border-radius:18px;border:1px solid var(--border-color);background:#fff}.pix-figure figcaption{margin-top:10px;color:var(--text-muted);font-size:.86rem}.choice-field{border:0;padding:0;margin:0}.choice-field legend{margin-bottom:8px;color:var(--text-main);font-size:.9rem;font-weight:700}.inline-options{display:flex;flex-wrap:wrap;gap:12px}.inline-options label{display:flex;align-items:center;gap:8px;padding:12px 14px;border:1.5px solid var(--border-color);border-radius:13px;background:var(--bg-input);color:var(--text-main);font-weight:700}.inline-options input{accent-color:var(--blue)}.field-note{margin:0 0 14px;color:#8a5a00}.nested-grid{margin:0}.field small{font-weight:500;color:var(--text-muted)}
@media(max-width:760px){.payment-notice{grid-template-columns:1fr}.pix-details div{grid-template-columns:1fr;gap:3px}.pix-figure img{max-width:290px}.inline-options{flex-direction:column}.inline-options label{width:100%}}

/* Acesso discreto ao painel administrativo */
.footer-access{display:grid;justify-items:end;gap:8px}
.footer-access .footer-signature{margin:0}
.admin-access-link{display:inline-flex;align-items:center;gap:7px;color:rgba(255,255,255,.72);font-size:.82rem;font-weight:700;text-decoration:none;transition:.2s ease}
.admin-access-link:hover,.admin-access-link:focus-visible{color:#fff;text-decoration:underline}
@media(max-width:760px){.footer-access{justify-items:start}}

/* Ajuste de rolagem para os atalhos de inscrição e seleção de Sub. */
#inscricoes, #signup-form { scroll-margin-top: 110px; }

/* Destaques do prazo de pagamento */
.payment-deadline{display:flex;gap:14px;align-items:flex-start;margin-top:18px;padding:16px 18px;border-radius:16px;background:#fff4d6;border:1px solid #f0cf75;color:#5e4300}
.payment-deadline i{margin-top:3px;font-size:1.25rem;color:#a96d00}
.payment-deadline strong,.payment-deadline span{display:block}
.payment-deadline span{margin-top:5px;line-height:1.5}
.fee-deadline{position:relative;z-index:1;margin-top:20px;padding:15px 16px;border:1px solid rgba(255,255,255,.35);border-radius:16px;background:rgba(255,255,255,.14)}
.fee-deadline strong{font:800 .78rem/1.2 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.fee-deadline span{display:block;margin-top:5px;font-size:1.15rem;font-weight:800}
.fee-deadline small{margin-top:7px;max-width:none;opacity:.9;line-height:1.45}

/* ==========================================================================
   Checkout Pix Dinâmico e Contribuição Interativa
   ========================================================================== */
.contribution-interactive-card {
  border: 2px solid rgba(8, 125, 249, .15);
  box-shadow: var(--shadow);
}
.preset-values {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.preset-val-btn {
  flex: 1;
  padding: 12px 8px;
  border: 2px solid rgba(38, 63, 145, .16);
  border-radius: 12px;
  background: #f8faff;
  color: var(--blue-dark);
  font: 800 .95rem "Inter", sans-serif;
  cursor: pointer;
  transition: .2s ease;
}
.preset-val-btn:hover, .preset-val-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 125, 249, .25);
}

/* Modal do Checkout Pix */
.pix-modal {
  width: min(94vw, 540px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(10, 25, 68, .28);
  background: #fff;
  overflow: hidden;
}
.pix-modal::backdrop {
  background: rgba(10, 20, 50, .75);
  backdrop-filter: blur(8px);
}
.pix-modal-content {
  padding: 30px;
}
.pix-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f8;
}
.pix-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f0f3fa;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s ease;
}
.pix-close-btn:hover {
  background: #e2e7f4;
  transform: scale(1.05);
}
.pix-timer-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff8e8;
  color: #8a5e00;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.pix-timer-box strong {
  font-size: 1.1rem;
  font-family: monospace;
}
.pix-qrcode-display {
  text-align: center;
  margin-bottom: 18px;
}
.pix-qr-frame {
  width: 240px;
  height: 240px;
  margin: 0 auto 12px;
  padding: 12px;
  border: 2px solid #e1e7f5;
  border-radius: 20px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(20, 35, 86, .08);
}
.pix-qr-frame svg, .pix-qr-frame canvas {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.pix-qr-hint {
  margin: 0 auto;
  max-width: 380px;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.5;
}
.pix-copy-section {
  margin-bottom: 18px;
}
.pix-copy-section label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pix-input-group {
  display: grid;
  gap: 8px;
}
.pix-input-group textarea {
  width: 100%;
  height: 68px;
  padding: 10px;
  border: 1px solid #dce1ed;
  border-radius: 12px;
  background: #f8faff;
  font: 500 .8rem/1.4 monospace;
  color: #334;
  resize: none;
  outline: none;
}
.pix-status-monitor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #f4f7fd;
  color: var(--blue-dark);
  font-size: .86rem;
  font-weight: 700;
}
.status-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(8, 125, 249, .7);
  animation: pulseStatus 1.6s infinite;
}
@keyframes pulseStatus {
  0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(8, 125, 249, .7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(8, 125, 249, 0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(8, 125, 249, 0); }
}

/* Tela de Sucesso do Pix */
.pix-success-screen {
  text-align: center;
  padding: 14px 0;
}
.pix-success-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #24a764;
  color: #fff;
  font-size: 2.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(36, 167, 100, .3);
  animation: bounceIn .5s ease;
}
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.pix-success-screen h3 {
  font-family: "Archivo Black", sans-serif;
  color: var(--ink);
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.pix-success-screen p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 20px;
}
.pix-receipt-details {
  background: #f9fbff;
  border: 1px solid #e1e7f5;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  display: grid;
  gap: 8px;
  font-size: .88rem;
}
.pix-receipt-details div {
  display: flex;
  justify-content: space-between;
}
.pix-receipt-details span { color: var(--muted); }
.pix-receipt-details strong { color: var(--ink); font-weight: 700; word-break: break-all; }


/* ==============================================================================
   BOTÃO DE ALTERNÂNCIA DE TEMA (CLARO / ESCURO)
   ============================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: .84rem;
  transition: all .2s ease;
  user-select: none;
}
.theme-toggle-btn:hover {
  background: var(--bg-card);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(8, 125, 249, 0.16);
}
.theme-toggle-btn i {
  font-size: 1rem;
  color: var(--yellow);
  transition: transform .3s ease;
}
[data-theme="dark"] .theme-toggle-btn i {
  color: #facc15;
}

/* ==============================================================================
   ADAPTAÇÕES SEMÂNTICAS DE MODO ESCURO PARA TODAS AS SEÇÕES
   ============================================================================== */
[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 85% 25%, rgba(8, 125, 249, 0.22), transparent 32%),
    linear-gradient(135deg, #0b1120 0%, #111a33 55%, #18223c 100%);
}
[data-theme="dark"] .hero-tags a {
  color: var(--text-main);
  background: rgba(22, 34, 66, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .hero-tags a:hover {
  background: var(--bg-card);
  border-color: var(--blue);
}
[data-theme="dark"] .section-light {
  background: var(--bg-body);
}
[data-theme="dark"] .featured-person {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .team-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .team-image {
  background: var(--bg-surface);
}
[data-theme="dark"] .contribution {
  background: #10192e;
}
[data-theme="dark"] .notice, [data-theme="dark"] .expense-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .notice p, [data-theme="dark"] .contribution-copy > p {
  color: var(--text-muted);
}
[data-theme="dark"] .calendar-section {
  background: var(--bg-surface);
}
[data-theme="dark"] .calendar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .calendar-slides {
  background: var(--bg-surface);
}

[data-theme="dark"] .signup-section {
  background: var(--bg-surface);
}
[data-theme="dark"] .signup-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .demo-alert {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--yellow);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .sub-choice {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-main);
}
[data-theme="dark"] .sub-counter {
  color: #cbd5e1;
}
[data-theme="dark"] .sub-counter b {
  color: #f8fafc;
  font-weight: 800;
}
[data-theme="dark"] .progress {
  background: rgba(255, 255, 255, 0.14);
}
[data-theme="dark"] .sub-badge {
  background: color-mix(in srgb, var(--sub-color) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--sub-color) 35%, transparent);
}
[data-theme="dark"] .opt-label,
[data-theme="dark"] .field-hint,
[data-theme="dark"] .field-hint-inline,
[data-theme="dark"] .form-heading-desc,
[data-theme="dark"] .form-section-subtitle,
[data-theme="dark"] .upload-zone-sub,
[data-theme="dark"] .payment-card-desc,
[data-theme="dark"] .consent-text,
[data-theme="dark"] .contribution-copy > p,
[data-theme="dark"] .notice p,
[data-theme="dark"] .demo-alert p,
[data-theme="dark"] .form-sub-reminder {
  color: #cbd5e1;
}
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder,
[data-theme="dark"] .contribution-interactive-card input::placeholder {
  color: #94a3b8;
  opacity: 1;
}
[data-theme="dark"] .segmented-choice-btn {
  background: var(--bg-input);
  border-color: rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
}
[data-theme="dark"] .segmented-choice-label:hover .segmented-choice-btn {
  border-color: #60a5fa;
  color: #f1f5f9;
}
[data-theme="dark"] .segmented-choice-label input:checked + .segmented-choice-btn {
  background: rgba(8, 125, 249, 0.28);
  border-color: #60a5fa;
  color: #93c5fd;
}
[data-theme="dark"] .upload-browse-btn {
  background: #1e2e56;
  border-color: rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
}
[data-theme="dark"] .payment-card-title {
  color: #f8fafc;
}
[data-theme="dark"] .extra-shirt-badge {
  background: rgba(8, 125, 249, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
  color: #f1f5f9;
}
[data-theme="dark"] .extra-shirt-badge strong {
  color: #93c5fd;
}
[data-theme="dark"] .form-sub-reminder.sub-selected {
  color: #86efac;
}
[data-theme="dark"] .payment-notice {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .payment-notice h3 {
  color: var(--text-main);
}
[data-theme="dark"] .pix-details div {
  border-bottom-color: var(--border-subtle);
}
[data-theme="dark"] .pix-details dt {
  color: var(--text-main);
}
[data-theme="dark"] .pix-details dd {
  color: var(--text-muted);
}
[data-theme="dark"] .pix-figure img {
  border-color: var(--border-color);
  background: #fff;
}
[data-theme="dark"] .inline-options label {
  background: var(--bg-input);
  border-color: var(--border-color);
  color: var(--text-main);
}
[data-theme="dark"] .extra-shirt-fields {
  background: var(--bg-surface);
  border-color: var(--border-color);
}
[data-theme="dark"] .payment-deadline {
  background: #2a2208;
  border-color: #59450a;
  color: #fde047;
}
[data-theme="dark"] .payment-deadline i {
  color: #eab308;
}
[data-theme="dark"] .pending-message {
  background: #2a2208;
  border-color: #59450a;
  color: #fde047;
}
[data-theme="dark"] .whatsapp-success {
  background: #062a19;
  border-color: #0f5132;
}
[data-theme="dark"] .whatsapp-success strong {
  color: #4ade80;
}
[data-theme="dark"] .whatsapp-success span, [data-theme="dark"] .whatsapp-success small {
  color: #86efac;
}
[data-theme="dark"] .pix-modal {
  background: var(--bg-card);
  color: var(--text-main);
}
[data-theme="dark"] .pix-modal-header {
  border-bottom-color: var(--border-subtle);
}
[data-theme="dark"] .pix-close-btn {
  background: var(--bg-surface);
  color: var(--text-main);
}
[data-theme="dark"] .pix-timer-box {
  background: #2a2208;
  color: #fde047;
}
[data-theme="dark"] .pix-input-group textarea {
  background: var(--bg-input);
  color: var(--text-main);
  border-color: var(--border-color);
}
[data-theme="dark"] .pix-status-monitor {
  background: var(--bg-surface);
  color: var(--text-main);
}
[data-theme="dark"] .pix-receipt-details {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}
[data-theme="dark"] .pix-receipt-details strong {
  color: var(--text-main);
}

/* ==============================================================================
   DESIGN SYSTEM UNIFICADO: CHECKOUT E PAGAMENTOS
   ============================================================================== */
.checkout-main {
  flex: 1;
  padding: 40px 0 60px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}
.order-summary-card, .payment-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-card);
  color: var(--text-main);
  transition: all .25s ease;
}
.order-summary-card {
  position: sticky;
  top: 90px;
}
.order-summary-card h2, .payment-container-card h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.6rem;
  margin: 0 0 16px;
  color: var(--text-main);
}
.event-info-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 24px;
}
.event-info-box .event-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: rgba(8, 125, 249, 0.15);
  color: var(--blue);
}
.event-info-box h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: var(--text-main);
}
.event-info-box p {
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
}
.price-breakdown {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: .92rem;
}
.price-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}
.price-row.total {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 800;
  padding-top: 8px;
}
.price-row.total strong {
  font-family: "Archivo Black", sans-serif;
  color: var(--blue);
  font-size: 1.6rem;
}
[data-theme="dark"] .price-row.total strong {
  color: var(--yellow);
}
.trust-badges {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-muted);
}
.trust-item i {
  color: #10b981;
  font-size: 1rem;
}
.email-field-box {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}
.email-field-box label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.method-selector-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.method-tab-btn {
  padding: 16px 14px;
  border: 2px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-surface);
  color: var(--text-muted);
  font: 800 .95rem "Inter", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: .22s ease;
}
.method-tab-btn:hover {
  border-color: var(--blue);
  color: var(--text-main);
}
.method-tab-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(8, 125, 249, 0.25);
}
.card-form-grid {
  display: grid;
  gap: 16px;
}
.card-field {
  display: grid;
  gap: 6px;
}
.card-field label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.card-brand-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--text-muted);
  pointer-events: none;
}
.card-input-wrap {
  position: relative;
}
.card-input-wrap input, .card-input-wrap select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--text-main);
  font: inherit;
  outline: none;
  box-sizing: border-box;
  transition: .2s ease;
}
.card-input-wrap input:focus, .card-input-wrap select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 125, 249, 0.2);
}
.card-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.checkout-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.checkout-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}
.checkout-brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}
.checkout-brand strong {
  font-size: 1.1rem;
  display: block;
  line-height: 1.1;
  color: var(--text-main);
}
.checkout-brand span {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.checkout-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.security-badge-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(36, 167, 100, 0.12);
  border: 1px solid rgba(36, 167, 100, 0.25);
  color: #10b981;
  font-size: .8rem;
  font-weight: 700;
}
[data-theme="dark"] .security-badge-header {
  color: #34d399;
}
.email-field-box input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--text-main);
  font: inherit;
  outline: none;
  box-sizing: border-box;
  transition: .2s ease;
}
.email-field-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 125, 249, 0.2);
}
.email-field-box small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .78rem;
}
.method-content-panel {
  display: none;
}
.method-content-panel.active {
  display: block;
  animation: fadeIn .3s ease;
}
.pix-checkout-wrap {
  text-align: center;
}
.pix-qr-container {
  width: 230px;
  height: 230px;
  margin: 0 auto 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.pix-qr-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.pix-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(252, 192, 2, 0.15);
  border: 1px solid rgba(252, 192, 2, 0.3);
  color: #b45309;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 18px;
}
[data-theme="dark"] .pix-timer-badge {
  color: #fde047;
}
.pix-copy-textarea {
  width: 100%;
  height: 72px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--text-muted);
  font: 500 .8rem/1.4 monospace;
  resize: none;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.waiting-pulse-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--blue);
  font-size: .88rem;
  font-weight: 700;
}
[data-theme="dark"] .waiting-pulse-box {
  color: #93c5fd;
}
.pulse-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(8, 125, 249, .7);
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(8, 125, 249, .7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(8, 125, 249, 0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(8, 125, 249, 0); }
}
/* Estados Visuais do Pix Simultâneo */
.waiting-pulse-box.state-waiting {
  background: #fefce8;
  border-color: #fde047;
  color: #a16207;
}
.waiting-pulse-box.state-waiting .pulse-indicator-dot {
  background: #eab308;
  box-shadow: 0 0 0 0 rgba(234, 179, 8, .7);
}
.waiting-pulse-box.state-received {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
}
.waiting-pulse-box.state-received .pulse-indicator-dot {
  background: #0284c7;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, .7);
}
.waiting-pulse-box.state-approved {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}
.waiting-pulse-box.state-approved .pulse-indicator-dot {
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .7);
}
.waiting-pulse-box.state-rejected {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}
.waiting-pulse-box.state-rejected .pulse-indicator-dot {
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, .7);
  animation: none;
}
[data-theme="dark"] .waiting-pulse-box.state-waiting {
  background: rgba(234, 179, 8, .15);
  border-color: rgba(234, 179, 8, .3);
  color: #fde047;
}
[data-theme="dark"] .waiting-pulse-box.state-received {
  background: rgba(2, 132, 199, .15);
  border-color: rgba(2, 132, 199, .3);
  color: #7dd3fc;
}
[data-theme="dark"] .waiting-pulse-box.state-approved {
  background: rgba(22, 163, 74, .15);
  border-color: rgba(22, 163, 74, .3);
  color: #86efac;
}
[data-theme="dark"] .waiting-pulse-box.state-rejected {
  background: rgba(220, 38, 38, .15);
  border-color: rgba(220, 38, 38, .3);
  color: #fca5a5;
}
.success-screen-card {
  display: none;
  text-align: center;
  padding: 20px 0;
  animation: fadeIn .4s ease;
}
.success-screen-card h2 {
  color: var(--text-main);
  margin-bottom: 8px;
}
.success-icon-badge {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #24a764;
  color: #fff;
  font-size: 2.5rem;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(36, 167, 100, 0.35);
}
.receipt-info-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px;
  margin: 20px 0;
  text-align: left;
  display: grid;
  gap: 10px;
  font-size: .9rem;
}
.receipt-info-box div {
  display: flex;
  justify-content: space-between;
}
.receipt-info-box span { color: var(--text-muted); }
.receipt-info-box strong { color: var(--text-main); }
.btn-whatsapp-group {
  width: 100%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.25);
  margin-top: 14px;
  font-size: 1rem;
}
.btn-whatsapp-group:hover {
  background: #1eb855;
}
@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .order-summary-card {
    position: static;
  }
}

/* ==============================================================================
   DESIGN SYSTEM UNIFICADO: PAINEL ADMINISTRATIVO
   ============================================================================== */
.admin-container {
  width: min(calc(100% - 32px), 1180px);
  margin: 40px auto;
  flex: 1;
}
.admin-auth-card {
  max-width: 440px;
  margin: 80px auto;
  padding: 36px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
  text-align: center;
  color: var(--text-main);
}
.admin-auth-card h2 {
  margin: 12px 0 6px;
  font-family: "Archivo Black", sans-serif;
  color: var(--text-heading);
  font-size: 1.8rem;
}
.admin-auth-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: .95rem;
}
.admin-auth-card input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--text-main);
  font: inherit;
  margin-bottom: 16px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease;
}
.admin-auth-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 125, 249, 0.2);
}
.admin-panel-wrap {
  display: none;
}
.admin-panel-wrap.active {
  display: block;
}
.admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-header-bar h1 {
  font-family: "Archivo Black", sans-serif;
  color: var(--text-heading);
  margin: 0;
  font-size: 2rem;
}
.admin-nav-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-box {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  border-left: 5px solid var(--blue);
}
.stat-box.green { border-left-color: #24a764; }
.stat-box.red { border-left-color: #e8333e; }
.stat-box.yellow { border-left-color: #e9dd3c; }
.stat-box.orange, .stat-box.blue { border-left-color: #f97316; }
.stat-box.revenue { border-left-color: #10b981; }
.stat-box strong {
  font-size: 2rem;
  font-family: "Archivo Black", sans-serif;
  color: var(--text-main);
  display: block;
  line-height: 1.1;
}
.stat-box span {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  color: var(--text-main);
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.table-toolbar input, .table-toolbar select {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--text-main);
  font: inherit;
  outline: none;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: .88rem;
}
.data-table th {
  padding: 12px 10px;
  border-bottom: 2px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .04em;
}
.data-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}
.data-table tr:hover {
  background: var(--bg-surface);
}
.admin-tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.admin-tab-btn {
  padding: 10px 18px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-tab-btn:hover {
  background: var(--bg-surface);
  color: var(--text-main);
}
.admin-tab-btn.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(8, 125, 249, 0.25);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}
.status-confirmado, .status-approved { background: rgba(36, 167, 100, 0.18); color: #10b981; }
.status-pendente, .status-pending { background: rgba(252, 192, 2, 0.18); color: #b45309; }
[data-theme="dark"] .status-pendente, [data-theme="dark"] .status-pending { color: #fde047; }
.status-recusado, .status-rejected { background: rgba(232, 52, 65, 0.18); color: #ef4444; }
.status-expirado, .status-expired { background: rgba(100, 116, 139, 0.18); color: #94a3b8; }
.method-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  background: var(--bg-surface);
  color: var(--text-main);
}
.method-badge.pix { background: rgba(13, 148, 136, 0.16); color: #14b8a6; }
.method-badge.card { background: rgba(8, 125, 249, 0.16); color: #38bdf8; }
.sub-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
}
.sub-tag.Verde { background: rgba(36, 167, 100, 0.18); color: #22c55e; }
.sub-tag.Vermelho { background: rgba(232, 52, 65, 0.18); color: #f87171; }
.sub-tag.Amarelo { background: rgba(252, 192, 2, 0.18); color: #eab308; }
.sub-tag.Laranja, .sub-tag.Azul { background: rgba(249, 115, 22, 0.18); color: #fb923c; }
.action-btn {
  padding: 6px 11px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  transition: .2s;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.action-btn.confirm { background: #24a764; color: #fff; }
.action-btn.view { background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border-color); }
.action-btn.email { background: #3b82f6; color: #fff; }
.action-btn:hover { opacity: .9; transform: translateY(-1px); }
.modal-detail {
  max-width: 580px;
  width: 90%;
  padding: 26px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow);
}
.modal-detail::backdrop {
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
}
.financial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-main);
}
.form-card h4 {
  margin: 0 0 14px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.1rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-field small {
  display: block;
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: .88rem;
  box-sizing: border-box;
  background: var(--bg-input);
  color: var(--text-main);
  transition: border .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 125, 249, 0.15);
}
.form-field input:disabled, .form-field select:disabled, .form-field textarea:disabled {
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: var(--border-color);
}
.input-action-wrap { display: flex; gap: 8px; }
.input-action-wrap input { flex: 1; }
.icon-action-btn {
  padding: 0 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 10px;
  cursor: pointer;
  font-size: .9rem;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-action-btn:hover {
  background: var(--bg-surface);
  color: var(--blue);
}
.diff-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  margin: 16px 0;
  font-size: .88rem;
  color: var(--text-main);
}
.diff-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-color);
}
.diff-row:last-child { border-bottom: none; }
.diff-old { color: #ef4444; text-decoration: line-through; font-weight: 600; }
.diff-new { color: #22c55e; font-weight: 700; }
.alert-banner {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .84rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.alert-warning {
  background: rgba(252, 192, 2, 0.12);
  border: 1px solid rgba(252, 192, 2, 0.3);
  color: #b45309;
}
[data-theme="dark"] .alert-warning { color: #fde047; }
.alert-info {
  background: rgba(8, 125, 249, 0.12);
  border: 1px solid rgba(8, 125, 249, 0.3);
  color: #1e40af;
}
[data-theme="dark"] .alert-info { color: #93c5fd; }
.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}
[data-theme="dark"] .alert-danger { color: #fca5a5; }
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.role-superadmin { background: rgba(8, 125, 249, 0.15); color: var(--blue); border: 1px solid rgba(8, 125, 249, 0.3); }
.role-financeiro { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.role-comum { background: rgba(252, 192, 2, 0.15); color: #eab308; border: 1px solid rgba(252, 192, 2, 0.3); }
.audit-timeline {
  margin-top: 16px;
  border-left: 2px solid var(--border-color);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audit-item {
  position: relative;
  font-size: .82rem;
  color: var(--text-main);
}
.audit-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.audit-item small {
  color: var(--text-muted);
  display: block;
  font-size: .74rem;
}
.whatsapp-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.wpp-setting-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px;
  color: var(--text-main);
}
.wpp-setting-card label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.wpp-setting-card input[type="url"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text-main);
  font-size: .85rem;
  box-sizing: border-box;
}
.wpp-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: .8rem;
  color: var(--text-muted);
}

