/* =========================================================
   Mecânico Legal Dia-Frag 2026 - V2
   HTML/CSS/JS puro | Mobile-first | WCAG-friendly
   ========================================================= */

:root {
  --red: #e1111b;
  --red-2: #ff242d;
  --black: #070708;
  --black-2: #0e1012;
  --black-3: #17191c;
  --white: #ffffff;
  --paper: #f5f5f3;
  --text: #171717;
  --muted: #6f6f72;
  --line: #dcdcdf;
  --container: min(1220px, calc(100% - 40px));
  --nav-h: 92px;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0,0,0,.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button,
input { font: inherit; }

button,
a,
input { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #ff5960;
  outline-offset: 4px;
}

::selection { color: #fff; background: var(--red); }

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }


main section[id] {
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

/* Header -------------------------------------------------- */

.site-header {
  position: relative;
  color: #fff;
  background: #050506;
}

.top-showcase {
  position: relative;
  overflow: hidden;
  background: #060708;
}

.top-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,.16)),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.10));
  pointer-events: none;
}

.top-showcase-inner {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.top-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.top-showcase-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.top-social-links {
  position: absolute;
  right: 40px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #b50e14;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,.26);
  transition: transform .18s ease, background .18s ease;
}

.social-link:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.social-link svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.social-link[aria-label="Facebook"] svg {
  fill: currentColor;
  stroke: none;
  width: 20px;
  height: 20px;
}

.mobile-social-links {
  display: none;
}

.nav-band {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  color: #fff;
  background: #060708;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.header-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  width: 52px;
  aspect-ratio: 1;
  border: 3px solid var(--red);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.brand-mark::before { inset: 7px; }
.brand-mark::after { inset: 15px; }

.brand-mark span {
  width: 9px;
  height: 9px;
  right: -2px;
  top: 4px;
  background: var(--red);
}

.brand-word {
  font-size: clamp(1.55rem, 2.25vw, 2.1rem);
  line-height: 1;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -.07em;
}

.main-nav {
  margin-left: auto;
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(20px, 2.2vw, 36px);
}

.main-nav a {
  position: relative;
  flex: 0 0 auto;
  padding-block: 12px;
  font-size: .98rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after { right: 0; }

.header-cta {
  display: none;
}

.menu-cta {
  display: inline-flex;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  width: 46px;
  height: 46px;
  margin-left: auto;
  display: grid;
  place-content: center;
  gap: 5px;
  color: #fff;
  background: #141619;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px;
  cursor: pointer;
}

.menu-toggle[aria-expanded="true"] {
  color: #fff;
  background: #141619;
  border-color: rgba(255,255,255,.24);
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons ------------------------------------------------- */

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(225,17,27,.24);
}

.btn-primary:hover { background: var(--red-2); }

.btn-lg {
  min-height: 56px;
  padding-inline: 30px;
}

/* Slider -------------------------------------------------- */

.campaign-slider {
  color: #fff;
  background: #050506;
}

.slider-viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  outline: none;
}

.campaign-slide {
  display: none;
  position: relative;
  background: #090a0b;
}

.campaign-slide.is-active { display: block; }

.slide-media {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 680;
  overflow: hidden;
  background: #090a0b;
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Efeito original nas imagens do slider
.campaign-slide.is-active .slide-media img {
  animation: bannerZoom 5.8s ease-out both;
}

@keyframes bannerZoom {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
*/


.slide-copy {
  position: relative;
  padding-top: 30px;
  padding-bottom: 34px;
  background: #0c0d0f;
}

.slide-copy > * {
  opacity: 0;
  transform: translateY(18px);
}

.campaign-slide.is-active .slide-copy > * {
  animation: slideTextIn .62s ease forwards;
}

.campaign-slide.is-active .slide-copy > *:nth-child(1) { animation-delay: .08s; }
.campaign-slide.is-active .slide-copy > *:nth-child(2) { animation-delay: .16s; }
.campaign-slide.is-active .slide-copy > *:nth-child(3) { animation-delay: .24s; }
.campaign-slide.is-active .slide-copy > *:nth-child(4) { animation-delay: .32s; }

@keyframes slideTextIn {
  to { opacity: 1; transform: translateY(0); }
}


/* SUBTITULO -- aqui muda as configurações do SUBTITULO do site em algumas partes que ficam acima dos titulos de destaque ---*/
.slide-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .98rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.slide-copy h1,
.slide-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 5.3rem);
  line-height: .92;
  letter-spacing: -.06em;
  text-transform: uppercase;
  font-weight: 1000;
}

.slide-copy p:not(.slide-kicker) {
  max-width: 560px;
  margin: 18px 0 24px;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
}

.slider-arrow {
  position: absolute;
  z-index: 20;
  top: 34%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  color: #fff;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.slider-arrow:hover {
  background: var(--red);
  transform: scale(1.05);
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
  min-height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  background: #08090a;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--red);
}

/* Faixa rápida de prêmios -------------------------------- */

.quick-prizes {
  padding: 38px 0 30px;
  background: #fff;
}

.quick-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.quick-title span {
  height: 1px;
  background: rgba(225,17,27,.30);
}

.quick-title h2 {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.quick-prize-box {
  display: grid;
  border: 1px solid rgba(225,17,27,.38);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.quick-prize {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 22px;
  min-height: 430px;
  padding: 28px 26px 24px;
  background: #fff;
  text-align: center;
  overflow: hidden;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.quick-prize + .quick-prize {
  border-top: 1px solid #e4e4e4;
}

.quick-prize::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.72) 46%, transparent 67%);
  transform: translateX(-140%) skewX(-16deg);
  opacity: 0;
  pointer-events: none;
}

.quick-prize-hover:hover,
.quick-prize-hover:focus-within {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(225,17,27,.16);
}

.quick-prize-hover:hover::before,
.quick-prize-hover:focus-within::before {
  opacity: 1;
  animation: prizeShine .9s ease;
}

@keyframes prizeShine {
  from { transform: translateX(-145%) skewX(-16deg); }
  to { transform: translateX(145%) skewX(-16deg); }
}

.quick-prize-image {
  width: min(220px, 72vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(225,17,27,.55);
  border-radius: 50%;
  background: #f7f7f7;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.quick-prize-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-prize-hover:hover .quick-prize-image,
.quick-prize-hover:focus-within .quick-prize-image {
  transform: scale(1.04);
  border-color: var(--red);
  box-shadow: 0 18px 36px rgba(225,17,27,.16);
}

.quick-prize-content {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: 100%;
}

.quick-prize-title {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.quick-prize-content strong {
  color: var(--red);
  font-size: clamp(3.8rem, 8vw, 5rem);
  line-height: .88;
  letter-spacing: -.08em;
}

.quick-prize-content h3 {
  max-width: 240px;
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: .92;
  text-transform: uppercase;
}

.quick-prize-content p {
  max-width: 290px;
  margin: 0;
  color: #555;
  font-size: clamp(.94rem, 1.5vw, 1.1rem);
  line-height: 1.45;
}

.quick-prizes-note {
  margin: 12px 0 0;
  color: #888;
  font-size: .72rem;
  text-align: center;
}

/* Seções -------------------------------------------------- */

.section-dark {
  padding: 40px 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(225,17,27,.16), transparent 30%),
    var(--black-2);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}


/* TITULO H2 -- aqui muda as configurações de alguns titulos de destaque do site ----*/
.section-head h2,
.section-head-simple h2,
.campaign-cta h2,
.page-hero h1,
.form-aside h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  line-height: .93;
  letter-spacing: -.06em;
  text-transform: uppercase;
  font-weight: 1000;
}

.section-head > p {
  max-width: 320px;
  color: rgba(255,255,255,.58);
}

.steps-grid {
  display: grid;
  gap: 14px;
}

.step-card {
  min-height: 265px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: #fff;
  background: #17191c;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.step-card:hover,
.step-card:focus-visible {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-7px);
}


/* COMO PARTICIPAR -- NUMEROS DOS PASSOS -- aqui muda as configurações ---*/
.step-number {
  color: var(--red);
  font-size: 1.84rem;
  font-weight: 950;
  transition: color .2s ease;
}

.step-card:hover .step-number,
.step-card:focus-visible .step-number { color: #111; }

.step-icon {
  margin-top: 26px;
  font-size: 2.6rem;
  font-weight: 900;
  transition: transform .2s ease;
}

.step-card:hover .step-icon { transform: scale(1.12) rotate(-4deg); }


/* COMO PARTICIPAR -- TITULO -- aqui muda as configurações dos titulos de cada item ---*/
.step-card h3 {
  margin: auto 0 0;
  font-size: 1.15rem;
  text-transform: uppercase;
}

/* COMO PARTICIPAR -- TEXTOS DESCRIÇÃO -- aqui muda as configurações dos textos da descrição de cada item ---*/
.step-card p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.63);
  font-size: 1.20rem;
}

.step-card:hover p { color: #fff; }

.step-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  transition: transform .2s ease, color .2s ease;
}

.step-card:hover .step-arrow {
  color: #111;
  transform: translate(3px,-3px);
}

/* CTA ----------------------------------------------------- */


/* FAIXA CTA -- aqui muda a altura top e bottom desse item e a cor do BG ---*/
.campaign-cta {
  padding: 50px 0;
  color: #fff;
  background: #ad0101;
}

.campaign-cta .eyebrow { color: #111; }

.campaign-cta-grid {
  display: grid;
  gap: 28px;
  align-items: end;
}

.campaign-cta h2 { max-width: 780px; }

.campaign-cta-action {
  display: grid;
  gap: 13px;
  justify-items: start;
}

.campaign-cta .btn-primary {
  color: #fff;
  background: #0a0a0b;
  box-shadow: none;
}

.campaign-cta-action p {
  margin: 0;
  max-width: 300px;
  color: rgba(255,255,255,.72);
  font-size: .75rem;
}

/* FAQ ----------------------------------------------------- */

.faq-section {
  padding: 90px 0 110px;
  background: #fff;
}

.faq-grid {
  display: grid;
  gap: 40px;
}

.section-head-simple h2 {
  max-width: 500px;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.faq-list { border-top: 1px solid #ccc; }

.faq-item { border-bottom: 1px solid #ccc; }

.faq-item h3 { margin: 0; }

.faq-item button {
  width: 100%;
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0;
  color: #111;
  background: transparent;
  border: 0;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #c7c7c7;
  border-radius: 50%;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.faq-item button[aria-expanded="true"] span {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s ease;
}

.faq-answer > p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  color: #555;
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer > p { padding: 0 0 22px; }

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-weight: 850;
}

.text-arrow span { transition: transform .18s ease; }
.text-arrow:hover span { transform: translateX(5px); }

/* Inner pages -------------------------------------------- */


/* PAGINAS INTERNAS -- EXEMPLO: REGULAMENTO ----*/
.page-hero {
  padding: 58px 0 50px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(225,17,27,.26), transparent 24%),
    #0d0f11;
}


/* PAGINAS INTERNAS -- EXEMPLO: REGULAMENTO - aqui muda a configuração do titulo H1 (principal) da faixa do topo-titulo interno ----*/
.page-hero h1 {
  max-width: 1500px;
  font-size: clamp(2.8rem, 7vw, 3.2rem);
}

.page-hero > .container > p:last-child {
  max-width: 1500px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
}

/* Formulário --------------------------------------------- */

.form-section {
  padding: 72px 0 100px;
  background: #f1f1ef;
}

.form-layout {
  display: grid;
  gap: 38px;
  align-items: start;
}

.form-aside {
  position: sticky;
  top: calc(var(--nav-h) + 30px);
}


/* CADASTRO - Página interna -- aqui muda o tamanho do titulo que tem na descrição ao lado do formulário ----*/
.form-aside h2 {
  max-width: 500px;
  font-size: clamp(2.2rem, 5vw, 2.5rem);
}

.form-aside ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.form-aside li {
  position: relative;
  margin: 12px 0;
  padding-left: 24px;
  color: #555;
}

.form-aside li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.form-card {
  padding: 30px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.campaign-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: .86rem;
  font-weight: 850;
}

.field label span { color: var(--red); }

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: #111;
  background: #fff;
  border: 1px solid #bdbdbd;
  border-radius: 8px;
}

.field input[type="file"] {
  min-height: auto;
  padding: 12px;
  background: #fafafa;
}

.field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,17,27,.1);
  outline: none;
}

.field small {
  color: #777;
  font-size: .74rem;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-legal {
  margin: 0;
  color: #777;
  font-size: .73rem;
}

.form-alert {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 10px;
}

.form-alert strong { display: block; margin-bottom: 5px; }
.form-alert p { margin: 0; }
.form-alert ul { margin: 8px 0 0; padding-left: 20px; }

.form-alert-success {
  color: #185b31;
  background: #edf9f1;
  border: 1px solid #b9e2c6;
}

.form-alert-error {
  color: #8c1016;
  background: #fff1f1;
  border: 1px solid #efb9bc;
}

/* Regulamento -------------------------------------------- */

.regulation-section {
  padding: 74px 0 110px;
  background: #fff;
}

.regulation-layout {
  display: grid;
  gap: 38px;
  align-items: start;
}

.regulation-nav {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: grid;
  gap: 4px;
  padding: 22px;
  background: #f5f5f3;
  border: 1px solid #e1e1df;
  border-radius: 14px;
}

.regulation-nav strong {
  margin-bottom: 8px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.regulation-nav a {
  padding: 9px 10px;
  border-radius: 7px;
  color: #555;
  font-size: .9rem;
}

.regulation-nav a:hover {
  color: #fff;
  background: var(--red);
}

.regulation-article {
  max-width: 820px;
}

.regulation-warning {
  margin-bottom: 40px;
  padding: 20px 22px;
  background: #fff3f3;
  border-left: 4px solid var(--red);
}

.regulation-warning p { margin: 5px 0 0; }

.regulation-article section {
  scroll-margin-top: calc(var(--nav-h) + 24px);
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid #e2e2e2;
}

.regulation-article section > span {
  color: var(--red);
  font-size: .78rem;
  font-weight: 950;
}

.regulation-article h2 {
  margin: 4px 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.regulation-article p {
  color: #4e4e50;
  line-height: 1.8;
}

.regulation-final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px;
  color: #fff;
  background: #0e0f11;
  border-radius: 14px;
}

.regulation-final-cta h2 { margin: 0; }

/* Footer -------------------------------------------------- */

.site-footer {
  color: #fff;
  background: #08090a;
}


/* FOOTER -- aqui muda as configurações de altura top e bottom do footer ----*/
.footer-grid {
  display: grid;
  gap: 36px;
  padding-top: 28px;
  padding-bottom: 20px;
}

.footer-brand p {
  max-width: 260px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.52);
}

.brand-footer .brand-mark { width: 46px; }

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}


/* FOOTER -- aqui muda a cor, tamanho e outras configurações dos titulos das colunas do footer ----*/
.footer-column h2 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: .96rem;
  text-transform: uppercase;  
}


/* FOOTER -- aqui muda a cor e tamanho da fonte dos itens das colunas do footer e abaixo a cor HOVER ----*/
.footer-column a {
  color: rgba(255,255,255,.6);
  font-size: .92rem;
}
.footer-column a:hover { color: var(--red); }



.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 19px 0 23px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.36);
  font-size: .72rem;
}

/* Reveal -------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Menu mobile -------------------------------------------- */

@media (max-width: 979px) {
  .header-cta {
    display: none !important;
  }


  .top-social-links {
    display: none;
  }

  .top-showcase-overlay {
    position: static;
    inset: auto;
    width: 100%;
    pointer-events: auto;
  }

  .top-showcase-inner {
    position: relative;
    max-width: 100%;
    height: clamp(230px, 66vw, 285px);
    overflow: hidden;
    background: #060708;
  }

  .top-banner-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: none;
    height: 100%;
    transform: translate(-50%, -50%);
  }

  .main-nav {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 26px 20px 32px;
    background: rgba(7,8,9,.985);
    transform: translateX(100%);
    transition: transform .22s ease;
    overflow-y: auto;
  }

  .main-nav.is-open { transform: none; }

  .main-nav a {
    width: 100%;
    padding: 19px 0;
    font-size: 1.18rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .main-nav a::after { display: none; }

  .main-nav .menu-cta {
    width: 100%;
    min-height: 60px;
    display: inline-flex;
    margin-top: 18px;
    padding: 0 23px;
    justify-content: center;
    border-bottom: 0;
    border-radius: 8px;
    font-size: 1.08rem;
  }

  .main-nav .menu-cta::after {
    display: none;
  }

  .mobile-social-links {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
  }

  .main-nav .mobile-social-links .social-link {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    flex: 0 0 46px;
    border: 0;
    border-radius: 50%;
    background: #b50e14;
    box-shadow: 0 7px 18px rgba(0,0,0,.28);
  }

  .main-nav .mobile-social-links .social-link::after {
    display: none;
  }

  .main-nav .mobile-social-links .social-link svg {
    width: 21px;
    height: 21px;
  }
}

/* Tablet/Desktop ----------------------------------------- */

@media (min-width: 680px) {
  .quick-prize-box {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-prize + .quick-prize {
    border-top: 0;
    border-left: 1px solid #e4e4e4;
  }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr .7fr; }
}

@media (min-width: 768px) {
  :root { --nav-h: 98px; }

  /* Slider desktop: artes em 1920 x 600 px (proporção 16:5) */
  .campaign-slider,
  .slider-viewport {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
  }

  .campaign-slide {
    width: 100%;
    height: min(31.25vw, 600px);
    min-height: 0;
  }

  .slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .slide-media::after {
    content: "";
    position: absolute;
    inset: 0;
    
    pointer-events: none;
  }

  /* Desktop: o texto só aparece sobre a arte se a classe slide--overlay existir */
  .campaign-slide:not(.slide--overlay) .slide-copy {
    display: none;
  }

  .slide-copy {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    z-index: 2;
  }

  .slide--copy-right .slide-media::after {
    background: linear-gradient(270deg, rgba(0,0,0,.78), rgba(0,0,0,.02) 65%);
  }

  .slide--copy-right .slide-copy {
    align-items: flex-end;
    text-align: left;
  }

  .slide--copy-right .slide-copy > * {
    width: min(540px, 50%);
    margin-left: auto;
  }

  .slider-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
  }

  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .slider-prev { left: 28px; }
  .slider-next { right: 28px; }

  .quick-prizes { padding-top: 42px; }

  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .campaign-cta-grid {
    grid-template-columns: 1.35fr .65fr;
  }

  .faq-grid {
    grid-template-columns: .75fr 1.25fr;
    align-items: start;
  }

  .form-layout {
    grid-template-columns: .72fr 1.28fr;
  }

  .form-card { padding: 42px; }

  .regulation-layout {
    grid-template-columns: 260px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; }
  .menu-cta { display: none !important; }
  .header-cta { display: inline-flex; }
  .mobile-social-links { display: none !important; }

  .steps-grid { grid-template-columns: repeat(4, 1fr); }

  .step-card { min-height: 315px; }

  .quick-prize {
    min-height: 470px;
    padding: 34px 28px 28px;
  }

  .quick-prize-image { width: 250px; }

  .quick-prize-content h3 {
    max-width: 260px;
    font-size: 1.95rem;
  }

  .quick-prize-content p {
    max-width: 300px;
    font-size: 1.08rem;
  }
}


@media (min-width: 980px) and (max-width: 1279px) {
  .header-inner {
    gap: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 46px;
  }

  .brand-word {
    font-size: 1.55rem;
  }

  .main-nav {
    gap: clamp(10px, 1.35vw, 18px);
  }

  .main-nav a {
    font-size: clamp(.78rem, 1.05vw, .9rem);
  }

  .header-cta {
    min-height: 48px;
    padding-inline: 17px;
    font-size: .78rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

@media (min-width: 1280px) {
  :root { --nav-h: 104px; }

  .brand-mark { width: 58px; }
  .brand-word { font-size: 2.15rem; }
  .main-nav a { font-size: 1.02rem; }
}


/* Voltar ao topo ----------------------------------------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 2px solid #111;
  border-radius: 50%;
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    0 0 0 3px rgba(225,17,27,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .2s ease,
    background .2s ease,
    color .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--red);
  background: #fff;
}

.back-to-top svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 679px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

/* Acessibilidade de movimento ---------------------------- */

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

  .reveal,
  .slide-copy > * {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   CADASTRO - AJUSTES EXCLUSIVOS DE RESPONSIVIDADE
   Escopo: somente <body class="cadastro-page">
   ========================================================= */

/* Impede que o grid e o iframe forcem largura maior que a coluna. */
.cadastro-page .form-layout,
.cadastro-page .form-aside,
.cadastro-page .form-card {
  min-width: 0;
}

.cadastro-page .form-card {
  width: 100%;
  overflow: hidden;
}

.cadastro-page .google-form-embed {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* Mobile e tablet: texto primeiro e formulário logo abaixo.
   O aside deixa de ser sticky para nunca sobrepor o Google Forms. */
@media (max-width: 979px) {
  .cadastro-page .form-section {
    padding-top: 42px;
  }

  .cadastro-page .form-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .cadastro-page .form-aside {
    position: static;
    top: auto;
    z-index: auto;
    width: 100%;
    margin: 0;
  }

  .cadastro-page .form-aside h2 {
    max-width: 100%;
  }

  .cadastro-page .form-card {
    width: 100%;
  }
}

/* Celulares: aproveita toda a largura disponível para o formulário. */
@media (max-width: 679px) {
  .cadastro-page .form-section {
    padding: 34px 0 70px;
  }

  .cadastro-page .form-layout {
    gap: 26px;
  }

  .cadastro-page .form-aside h2 {
    font-size: clamp(2rem, 9.5vw, 2.5rem);
    line-height: .96;
    overflow-wrap: anywhere;
  }

  .cadastro-page .form-aside .text-arrow {
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .cadastro-page .form-card {
    padding: 0;
    border-radius: 14px;
  }

  .cadastro-page .google-form-embed {
    min-height: 1210px;
  }
}

/* Desktop: mantém o comportamento lateral sticky original,
   porém com colunas que podem encolher corretamente. */
@media (min-width: 980px) {
  .cadastro-page .form-layout {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  }

  .cadastro-page .form-aside {
    position: sticky;
    top: calc(var(--nav-h) + 30px);
  }
}

/* =========================================================
   VÍDEO DO TOPO - AJUSTE SOMENTE DESKTOP
   Mobile/tablet permanecem inalterados
   ========================================================= */
@media (min-width: 980px) {
  #top-banner-video {
    width: 100%;
    height: 318px;
    object-fit: cover;
  }
}

