/* =============================================================
   SORTEIO TAVARES IMÓVEIS · Landing + Painel Admin
   Paleta Tavares: vermelho-carmim + grafite + creme + dourado
   ============================================================= */

:root {
  --color-ink: #1F242E;          /* grafite — textos */
  --color-red: #E63746;          /* vermelho-carmim — CTAs/acentos */
  --color-red-dark: #C42030;
  --color-muted: #626D84;        /* azul-cinza — textos sec. */
  --color-cream: #F9F7F6;        /* fundo blocos */
  --color-stone: #EEEBE8;        /* bordas */
  --color-paper: #FFFFFF;
  --color-gold: #C7A052;         /* acento sutil */
  --color-gold-light: #D9B772;

  --font-sans: "Montserrat", "Inter", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Georgia", serif;

  --max-width: 1100px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a, button, [role="button"], summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

h1, h2, h3, h4, h5, p, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active { transform: translateY(0); }

.btn--red {
  background: var(--color-red);
  color: var(--color-paper);
}

.btn--red:hover { background: var(--color-red-dark); }

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--whatsapp:hover { background: #1faa54; }

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

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

.btn--youtube {
  background: #FF0000;
  color: #fff;
}

.btn--youtube:hover { background: #cc0000; }

.btn--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.btn--instagram:hover { filter: brightness(1.1); }

.btn--full {
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}


/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 12px 0;
  border-bottom: 2px solid var(--color-red);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.topbar__brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--color-paper);
}

.topbar__brand-sub {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-top: 4px;
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-paper);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(230, 55, 70, 0.4);
  transition: background 0.15s;
}

.topbar__cta:hover {
  background: rgba(255,255,255,0.15);
}

.topbar__cta i {
  color: #25D366;
  font-size: 18px;
}


/* ============================================================
   SINGLE PAGE — Versão compacta (sem scroll)
   ============================================================ */
.single-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--color-ink) 0%, #0e1218 100%);
}

.single {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 24px;
  color: var(--color-paper);
  position: relative;
  overflow: hidden;
}

.single::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(230, 55, 70, 0.18), transparent 60%);
  pointer-events: none;
}

.single__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.single__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--color-red);
  padding: 6px 14px;
  border: 1px solid rgba(230, 55, 70, 0.5);
  border-radius: 999px;
  background: rgba(230, 55, 70, 0.08);
}

.single__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.single__title em {
  font-style: italic;
  color: var(--color-red);
  font-weight: 700;
  display: inline-block;
}

/* Prêmio em destaque — R$ 100,00 grande e dourado */
.single__prize {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin: -4px 0 4px;
  line-height: 1;
  font-family: var(--font-sans);
  letter-spacing: -0.04em;
  text-shadow: 0 4px 20px rgba(199, 160, 82, 0.4);
}

.single__prize-currency {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-gold-light);
  padding-top: 8px;
}

.single__prize-value {
  font-size: clamp(90px, 16vw, 140px);
  font-weight: 900;
  background: linear-gradient(135deg, #f0d488 0%, var(--color-gold) 45%, #a08544 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(199, 160, 82, 0.45));
}

.single__prize-cents {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  color: var(--color-gold-light);
  padding-top: 12px;
}

.single__prize-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(199, 160, 82, 0.10);
  border: 1px solid rgba(199, 160, 82, 0.38);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  margin: -2px 0 6px;
}

.single__prize-tag i {
  color: var(--color-gold);
  font-size: 12px;
}

.single__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
  max-width: 380px;
}

.single-form {
  width: 100%;
  background: var(--color-paper);
  color: var(--color-ink);
  padding: 24px 22px 20px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.single-form .form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.single-form .form__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.single-form .form__label em {
  color: var(--color-red);
  font-style: normal;
}

.single-form .form__field input {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-stone);
  border-radius: 8px;
  background: var(--color-cream);
  color: var(--color-ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
  font-weight: 500;
  min-height: 46px;
  -webkit-appearance: none;
  appearance: none;
}

.single-form .form__field input::placeholder {
  color: var(--color-muted);
  font-weight: 400;
}

.single-form .form__field input:focus {
  outline: none;
  border-color: var(--color-red);
  background: var(--color-paper);
  box-shadow: 0 0 0 3px rgba(230, 55, 70, 0.15);
}

.single-form__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 6px 0 -2px;
}

/* Feedback inline do WhatsApp (check de duplicidade) */
.form__check {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 6px;
  animation: checkFadeIn 0.25s ease-out;
}

.form__check.is-checking {
  display: inline-flex;
  color: var(--color-muted);
  background: var(--color-cream);
}

.form__check.is-exists {
  display: inline-flex;
  color: var(--color-gold);
  background: rgba(199, 160, 82, 0.10);
  border: 1px solid rgba(199, 160, 82, 0.30);
}

.form__check.is-new {
  display: inline-flex;
  color: #1f8a3e;
  background: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.25);
}

.form__check i {
  font-size: 13px;
}

@keyframes checkFadeIn {
  from { opacity: 0; transform: translateY(-2px); }
  to { opacity: 1; transform: translateY(0); }
}

.single-form__hint i {
  color: var(--color-red);
  animation: hintBounce 1.4s ease-in-out infinite;
}

@keyframes hintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.single-form__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn--participate {
  position: relative;
  width: 100%;
  padding: 15px 22px;
  font-size: 15px;
  letter-spacing: 0.02em;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn--participate:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--participate .btn__check {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  background: rgba(255,255,255,0.25);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--participate.is-done .btn__check {
  transform: translateY(-50%) scale(1);
}

.btn--participate.is-done {
  opacity: 0.85;
}

.btn--participate.is-done .btn__label::after {
  content: " ✓";
  margin-left: 4px;
}

.single-form__success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.35);
  border-radius: 8px;
  text-align: left;
}

.single-form__success.is-active {
  display: flex;
  animation: successFadeIn 0.4s ease-out;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.single-form__success i {
  color: #28a745;
  font-size: 20px;
  padding-top: 2px;
  flex: 0 0 auto;
}

.single-form__success strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.single-form__success p {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.45;
  margin: 0;
}

.single-form__success em {
  color: var(--color-red);
  font-weight: 700;
  font-style: normal;
}

.single-form__note {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
  margin: 4px 0 0;
}


/* ============================================================
   MINI FOOTER
   ============================================================ */
.footer--mini {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(230, 55, 70, 0.2);
  padding: 14px 0;
  color: rgba(255,255,255,0.6);
}

.footer--mini__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer--mini__copy {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer--mini__links {
  display: flex;
  gap: 14px;
}

.footer--mini__links a {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: color 0.15s;
}

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


/* ============================================================
   HERO (mantido caso queira reaproveitar — não usado na versão compacta)
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--color-ink) 0%, #0e1218 100%);
  color: var(--color-paper);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(230, 55, 70, 0.18), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--color-red);
  padding: 6px 16px;
  border: 1px solid rgba(230, 55, 70, 0.5);
  border-radius: 999px;
  background: rgba(230, 55, 70, 0.08);
}

.hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-paper);
}

.hero__title em {
  font-style: italic;
  color: var(--color-red);
  font-weight: 700;
  display: inline-block;
}

.hero__gift {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  padding: 12px 22px;
  background: rgba(199, 160, 82, 0.12);
  border: 1px solid rgba(199, 160, 82, 0.4);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--color-gold-light);
}

.hero__gift i {
  font-size: 22px;
  color: var(--color-gold);
}

.hero__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
}

.hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}


/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-header__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
}

.section-header__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

.section-header__title em {
  font-style: italic;
  color: var(--color-red);
  font-weight: 700;
}

.section-header__rule {
  width: 60px;
  height: 2px;
  background: var(--color-red);
}


/* ============================================================
   STEPS — Como participar
   ============================================================ */
.steps {
  padding: 80px 0;
  background: var(--color-cream);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--color-paper);
  padding: 36px 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--color-stone);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-paper);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(230, 55, 70, 0.3);
}

.step i {
  font-size: 32px;
  color: var(--color-ink);
  margin-bottom: 14px;
}

.step h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--color-ink);
}

.step p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
}


/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-ink) 0%, #0e1218 100%);
  color: var(--color-paper);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(230, 55, 70, 0.12), transparent 60%);
  pointer-events: none;
}

.form-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.form-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-intro__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
}

.form-intro__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-paper);
}

.form-intro__title em {
  font-style: italic;
  color: var(--color-red);
  font-weight: 700;
}

.form-intro__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}

.form-intro__benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.form-intro__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-paper);
}

.form-intro__benefits i {
  color: var(--color-red);
  font-size: 18px;
  padding-top: 2px;
  flex: 0 0 auto;
}

.form {
  background: var(--color-paper);
  color: var(--color-ink);
  padding: 36px 32px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-ink);
}

.form__label em {
  color: var(--color-red);
  font-style: normal;
}

.form__field input,
.form__field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid var(--color-stone);
  border-radius: 8px;
  background: var(--color-cream);
  color: var(--color-ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
  font-weight: 500;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--color-muted);
  font-weight: 400;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--color-red);
  background: var(--color-paper);
  box-shadow: 0 0 0 3px rgba(230, 55, 70, 0.15);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
  cursor: pointer;
}

.form__checkbox input {
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--color-red);
}

.form__note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-muted);
  text-align: center;
  font-style: italic;
  margin-top: 4px;
}

.form__error {
  background: rgba(230, 55, 70, 0.08);
  border: 1px solid rgba(230, 55, 70, 0.3);
  color: var(--color-red-dark);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.form__error.is-active {
  display: block;
}


/* ============================================================
   RULES — Regulamento (details)
   ============================================================ */
.rules {
  padding: 60px 0;
  background: var(--color-paper);
}

.rules__inner {
  max-width: 760px;
  margin: 0 auto;
}

.rules__item {
  background: var(--color-cream);
  border-radius: var(--radius);
  border: 1px solid var(--color-stone);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rules__item:hover { border-color: rgba(230, 55, 70, 0.5); }
.rules__item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--color-red);
}

.rules__item summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-ink);
  list-style: none;
  letter-spacing: 0.005em;
  line-height: 1.4;
}

.rules__item summary::-webkit-details-marker { display: none; }
.rules__item summary::marker { content: ""; }

.rules__item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-paper);
  color: var(--color-red);
  font-size: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.rules__item[open] summary::after {
  content: "−";
  background: var(--color-red);
  color: var(--color-paper);
}

.rules__item .rules__body {
  padding: 0 24px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-muted);
}

.rules__body ol,
.rules__body ul {
  margin: 8px 0 0 18px;
  padding-left: 8px;
}

.rules__body ol li,
.rules__body ul li {
  margin: 6px 0;
  list-style: decimal;
}

.rules__body ul li { list-style: disc; }


/* ============================================================
   FOOTER (paleta Tavares)
   ============================================================ */
.footer {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 60px 0 20px;
  border-top: 3px solid var(--color-red);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(230, 55, 70, 0.25);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  width: 260px;
  height: auto;
  margin-bottom: 8px;
  max-width: 100%;
}

.footer__creci {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
}

.footer__tagline {
  font-family: var(--font-serif);
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 280px;
}

.footer__tagline em { font-style: italic; }

.footer__col-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(230, 55, 70, 0.3);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}

.footer__list a {
  transition: color 0.15s;
}

.footer__list a:hover { color: var(--color-red); }

.footer__list i {
  color: var(--color-red);
  width: 16px;
  flex: 0 0 auto;
  padding-top: 3px;
}

.footer__bottom {
  padding-top: 24px;
  text-align: center;
}

.footer__services {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-paper);
  margin-bottom: 12px;
}

.footer__services span {
  color: var(--color-red);
  margin: 0 8px;
}

.footer__disclaimer,
.footer__copy {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin-top: 4px;
}


/* ============================================================
   THANKS MODAL
   ============================================================ */
.thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.thanks-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.thanks-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.thanks-modal__content {
  position: relative;
  background: var(--color-paper);
  border-radius: 18px;
  padding: 56px 36px 36px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(24px) scale(0.94);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.thanks-modal.is-active .thanks-modal__content {
  transform: translateY(0) scale(1);
}

.thanks-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-muted);
  border: 1px solid var(--color-stone);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.25s;
}

.thanks-modal__close:hover {
  background: var(--color-red);
  color: var(--color-paper);
  transform: rotate(90deg);
}

.thanks-modal__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-paper);
  font-size: 38px;
  box-shadow: 0 10px 28px rgba(230, 55, 70, 0.4);
}

.thanks-modal.is-active .thanks-modal__icon {
  animation: thanksIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes thanksIconPop {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.thanks-modal__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
  display: block;
  margin-bottom: 10px;
}

.thanks-modal__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.18;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.thanks-modal__title em {
  font-style: italic;
  color: var(--color-red);
  font-weight: 700;
}

.thanks-modal__lead {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.thanks-modal__lead strong {
  color: var(--color-ink);
  font-weight: 700;
}

.thanks-modal__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.thanks-modal__divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-stone);
}

.thanks-modal__divider-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}


/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}


/* =============================================================
   ADMIN — sortear.html (Motor de sorteio)
   ============================================================= */

.admin {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-ink) 0%, #0e1218 100%);
  color: var(--color-paper);
  padding: 40px 0;
}

.admin__header {
  text-align: center;
  margin-bottom: 32px;
}

.admin__brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 14px;
}

.admin__brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.admin__brand-sub {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-top: 4px;
}

.admin__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.015em;
}

.admin__title em {
  font-style: italic;
  color: var(--color-red);
  font-weight: 700;
}

.admin__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

.admin__prize-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px auto 0;
  padding: 8px 18px;
  background: rgba(199, 160, 82, 0.10);
  border: 1px solid rgba(199, 160, 82, 0.35);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
}

.admin__prize-tag i {
  color: var(--color-gold);
  font-size: 14px;
}

.admin__prize-tag strong {
  color: var(--color-paper);
  font-weight: 800;
}


/* Login card */
.admin-login {
  max-width: 420px;
  margin: 80px auto 0;
  background: var(--color-paper);
  color: var(--color-ink);
  padding: 36px 32px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-login h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-ink);
  text-align: center;
}

.admin-login p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
}


/* Panel */
.admin-panel {
  max-width: 960px;
  margin: 0 auto;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(230, 55, 70, 0.25);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}

.admin-stat__value {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 32px;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 6px;
}

.admin-stat__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.admin-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.admin-actions .btn {
  min-width: 180px;
}

/* Botões secundários do admin (Atualizar lista, Sair) */
.btn--admin-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--color-paper);
  border: 1px solid rgba(255,255,255,0.18);
}

.btn--admin-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(230, 55, 70, 0.5);
}

.admin-list {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.admin-list__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 20px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
  transition: background 0.15s ease;
}

.admin-list__row:last-child { border-bottom: none; }

.admin-list__row:not(.is-header):nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.admin-list__row:not(.is-header):hover {
  background: rgba(230, 55, 70, 0.08);
}

.admin-list__row.is-header {
  background: rgba(230, 55, 70, 0.14);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 22px;
}

/* Labels mobile-only (sumir no desktop) */
.admin-list__row .label {
  display: none;
}

.admin-list__row .muted {
  color: rgba(255,255,255,0.6);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

/* Nome em negrito */
.admin-list__row:not(.is-header) > div:first-child {
  font-weight: 600;
  color: var(--color-paper);
}

.admin-empty {
  padding: 60px 20px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,0.6);
}

.admin-empty i {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.3);
}


/* Sorteio (slot machine) — overlay */
.sorteio-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at 50% 30%, rgba(230, 55, 70, 0.22), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(199, 160, 82, 0.12), transparent 50%),
    rgba(10, 13, 18, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px;
}

.sorteio-overlay.is-active {
  display: flex;
}

.sorteio-eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 24px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sorteio-eyebrow::before,
.sorteio-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(230, 55, 70, 0.5);
}

.sorteio-eyebrow .pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 0 rgba(230, 55, 70, 0.6);
  animation: sorteioDotPulse 1.6s ease-in-out infinite;
}

@keyframes sorteioDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 55, 70, 0.6); opacity: 1; }
  50% { box-shadow: 0 0 0 8px rgba(230, 55, 70, 0); opacity: 0.7; }
}

/* Quando vencedor aparece, slot machine some */
.sorteio-overlay.has-winner .sorteio-machine,
.sorteio-overlay.has-winner .sorteio-eyebrow {
  display: none;
}

.sorteio-machine {
  position: relative;
  width: min(620px, 94vw);
  height: 240px;
  background: linear-gradient(180deg, #fdfaf3 0%, #f6f1e6 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(230, 55, 70, 0.25),
    0 0 60px rgba(230, 55, 70, 0.35);
  border: 5px solid var(--color-red);
  animation: machineShake 0.15s ease-in-out 6;
  transform-origin: center;
}

@keyframes machineShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

.sorteio-machine::before,
.sorteio-machine::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.sorteio-machine::before {
  top: 0;
  background: linear-gradient(to bottom, #fdfaf3 10%, rgba(253, 250, 243, 0));
}

.sorteio-machine::after {
  bottom: 0;
  background: linear-gradient(to top, #f6f1e6 10%, rgba(246, 241, 230, 0));
}

.sorteio-machine__pointer {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 64px;
  transform: translateY(-50%);
  border-top: 3px solid var(--color-red);
  border-bottom: 3px solid var(--color-red);
  background: linear-gradient(90deg,
    rgba(230, 55, 70, 0.10) 0%,
    rgba(230, 55, 70, 0.04) 50%,
    rgba(230, 55, 70, 0.10) 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: 4px;
}

.sorteio-machine__pointer::before,
.sorteio-machine__pointer::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translateY(-50%);
}

.sorteio-machine__pointer::before {
  left: -2px;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent var(--color-red);
}

.sorteio-machine__pointer::after {
  right: -2px;
  border-width: 8px 12px 8px 0;
  border-color: transparent var(--color-red) transparent transparent;
}

.sorteio-machine__reel {
  position: relative;
  width: 100%;
  height: 100%;
}

.sorteio-machine__item {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(18px, 3.2vw, 26px);
  color: var(--color-ink);
  padding: 0 24px;
  text-align: center;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sorteio-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}


/* Winner card */
.winner-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 55, 70, 0.10), transparent 60%),
    var(--color-paper);
  color: var(--color-ink);
  border-radius: 20px;
  padding: 48px 40px 36px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(230, 55, 70, 0.18),
    0 0 80px rgba(230, 55, 70, 0.25);
  border: 5px solid var(--color-red);
  position: relative;
  overflow: hidden;
  animation: winnerCardEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes winnerCardEnter {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.winner-card::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  right: -60px;
  height: 120px;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(199, 160, 82, 0.20) 30%,
    rgba(199, 160, 82, 0.35) 50%,
    rgba(199, 160, 82, 0.20) 70%,
    transparent 100%);
  transform: rotate(-12deg);
  pointer-events: none;
}

.winner-card__trophy {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, #a08544 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-paper);
  font-size: 44px;
  box-shadow:
    0 14px 32px rgba(199, 160, 82, 0.5),
    inset 0 -4px 12px rgba(0, 0, 0, 0.18),
    inset 0 4px 12px rgba(255, 255, 255, 0.4);
  animation: trophyPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
  z-index: 1;
}

@keyframes trophyPop {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.winner-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.winner-card__congrats {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--color-muted);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.winner-card__name {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 44px);
  color: var(--color-ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--color-ink) 0%, #3a4250 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.winner-card__prize {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 22px;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(199, 160, 82, 0.15) 0%, rgba(199, 160, 82, 0.08) 100%);
  border: 2px solid rgba(199, 160, 82, 0.45);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-ink);
  font-weight: 600;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(199, 160, 82, 0.25);
}

.winner-card__prize i {
  color: var(--color-gold);
  font-size: 18px;
}

.winner-card__prize strong {
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(135deg, #c89530 0%, var(--color-gold) 50%, #b58a3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.winner-card__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  margin-bottom: 24px;
  background: var(--color-cream);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-muted);
  position: relative;
  z-index: 1;
}

.winner-card__info > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.winner-card__info strong {
  color: var(--color-ink);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.winner-card__info span {
  color: var(--color-ink);
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.winner-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.winner-card__actions .btn {
  width: 100%;
  padding: 14px 20px;
}

.winner-card__actions .btn--ghost {
  background: transparent;
  color: var(--color-muted);
  border: 1.5px solid var(--color-stone);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}

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

.winner-card__actions .btn--ghost.btn--text-only {
  border: none;
  padding: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.winner-card__actions .btn--ghost.btn--text-only:hover {
  background: transparent;
  color: var(--color-red);
}


/* ============================================================
   MANAGE MODAL — Gerenciar inscritos (admin)
   ============================================================ */
.manage-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.manage-modal.is-active {
  display: flex;
}

.manage-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.manage-modal__content {
  position: relative;
  background: linear-gradient(180deg, #1a1f29 0%, #11151c 100%);
  color: var(--color-paper);
  border-radius: 16px;
  width: 100%;
  max-width: 820px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: manageModalEnter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes manageModalEnter {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.manage-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.manage-modal__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 4px;
}

.manage-modal__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-paper);
  letter-spacing: -0.01em;
}

.manage-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.25s, border-color 0.2s;
  flex: 0 0 auto;
}

.manage-modal__close:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  transform: rotate(90deg);
}

.manage-modal__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 28px 0;
  padding: 12px 16px;
  background: rgba(199, 160, 82, 0.10);
  border: 1px solid rgba(199, 160, 82, 0.35);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-gold-light);
}

.manage-modal__hint i {
  color: var(--color-gold);
  font-size: 16px;
  flex: 0 0 auto;
}

.manage-modal__list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}

.manage-empty {
  text-align: center;
  padding: 40px 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.manage-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, 0.9fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: background 0.15s, border-color 0.15s;
}

.manage-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.manage-row__name {
  font-weight: 700;
  color: var(--color-paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manage-row__field {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manage-row__status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.manage-row__status--avail {
  background: rgba(40, 167, 69, 0.15);
  color: #5bc777;
  border: 1px solid rgba(40, 167, 69, 0.35);
}

.manage-row__status--drawn {
  background: rgba(199, 160, 82, 0.15);
  color: var(--color-gold-light);
  border: 1px solid rgba(199, 160, 82, 0.35);
}

.manage-row__delete {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(230, 55, 70, 0.10);
  color: var(--color-red);
  border: 1px solid rgba(230, 55, 70, 0.30);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s, color 0.15s;
  flex: 0 0 auto;
}

.manage-row__delete:hover {
  background: var(--color-red);
  color: var(--color-paper);
  transform: scale(1.08);
}

.manage-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.manage-modal__count {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}


/* ============================================================
   CONFIRM MODAL — Confirmação de exclusão
   ============================================================ */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.confirm-modal.is-active {
  display: flex;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.confirm-modal__content {
  position: relative;
  background: var(--color-paper);
  color: var(--color-ink);
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 3px solid var(--color-red);
  animation: manageModalEnter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.confirm-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(230, 55, 70, 0.12);
  border: 2px solid rgba(230, 55, 70, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 28px;
}

.confirm-modal__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.confirm-modal__lead {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.confirm-modal__lead strong {
  color: var(--color-ink);
  font-weight: 700;
}

.confirm-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirm-modal__actions .btn {
  flex: 1;
  min-width: 140px;
}


@media (max-width: 600px) {
  .manage-modal__content { max-height: calc(100vh - 16px); }
  .manage-modal__header { padding: 18px 18px 12px; }
  .manage-modal__title { font-size: 18px; }
  .manage-modal__hint { margin: 12px 18px 0; font-size: 12px; }
  .manage-modal__list { padding: 12px 18px; }
  .manage-modal__footer { padding: 12px 18px 16px; flex-direction: column; gap: 10px; }
  .manage-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .manage-row__field,
  .manage-row__status {
    grid-column: 1 / 2;
  }
  .manage-row__delete {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
  }
}


/* Confetti */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}

.confetti span {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 14px;
  opacity: 0.9;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0.3;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Single page responsive */
@media (max-width: 600px) {
  .single { padding: 20px 16px 16px; }
  .single__inner { gap: 10px; max-width: 100%; }
  .single__title { font-size: 30px; }
  .single__lead { font-size: 15px; }
  .single-form { padding: 20px 18px 16px; gap: 10px; }
  .single-form .form__field input { font-size: 16px; padding: 11px 13px; min-height: 44px; }
  .btn--participate { padding: 13px 18px; font-size: 14px; }
  .footer--mini__inner { justify-content: center; }
  .footer--mini__copy { font-size: 10px; }
}

@media (max-height: 720px) and (min-width: 601px) {
  /* Tela baixa em desktop — reduz paddings pra caber sem scroll */
  .topbar { padding: 8px 0; }
  .single { padding: 16px 20px 12px; }
  .single__inner { gap: 8px; }
  .single__title { font-size: 32px; }
  .single__lead { font-size: 14px; }
  .single-form { padding: 18px 20px 14px; gap: 10px; margin-top: 4px; }
  .single-form .form__field input { padding: 10px 13px; min-height: 42px; font-size: 15px; }
  .btn--participate { padding: 12px 20px; font-size: 14px; }
}


@media (max-width: 900px) {
  .hero { padding: 60px 0 80px; }

  .steps { padding: 60px 0; }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-section { padding: 60px 0; }

  .form-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form { padding: 28px 22px; }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand {
    align-items: center;
    text-align: center;
  }

  .footer__tagline { max-width: 100%; }

  .topbar__brand-name { font-size: 18px; }
  .topbar__brand-sub { font-size: 8px; letter-spacing: 0.22em; }

  .topbar__cta span { display: none; }
  .topbar__cta {
    padding: 8px 12px;
    border-radius: 50%;
  }
  .topbar__cta i { font-size: 20px; margin: 0; }

  /* Admin */
  .admin-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .admin-stat__value { font-size: 26px; }
  .admin-stat__label { font-size: 10px; letter-spacing: 0.16em; }
  .admin-actions .btn { min-width: 0; flex: 1; max-width: 200px; font-size: 13px; padding: 12px 16px; }
  .admin-list__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }
  .admin-list__row.is-header { display: none; }
  .admin-list__row .label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-red);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
  }
  .admin-list__row:not(.is-header) > div:first-child {
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 8px;
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__title { font-size: 34px; }

  .btn { font-size: 14px; padding: 13px 20px; }

  .footer__services { font-size: 11px; letter-spacing: 0.2em; }

  .footer__services span { margin: 0 4px; }

  .wa-float {
    width: 54px;
    height: 54px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }

  .sorteio-machine { height: 180px; }
  .sorteio-machine__item { height: 50px; font-size: 18px; }
  .sorteio-machine__pointer { height: 50px; }
}
