/* ================================================================
   FLUID SIZING SYSTEM
================================================================ */
:root {
  --size-unit: 16;
  --size-container-ideal: 1440;
  --size-container-min: 1025px;
  --size-container-max: 1920px;
  --size-container: clamp(var(--size-container-min), 100vw, var(--size-container-max));
  --size-font: calc(var(--size-container) / (var(--size-container-ideal) / var(--size-unit)));
}

@media screen and (max-width: 991px) {
  :root {
    --size-container-ideal: 834;
    --size-container-min: 768px;
    --size-container-max: 991px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --size-container-ideal: 550;
    --size-container-min: 480px;
    --size-container-max: 767px;
  }
}

@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 390;
    --size-container-min: 320px;
    --size-container-max: 479px;
  }
}

body {
  font-size: var(--size-font);
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: var(--size-container);
  padding: 0 3.125em; /* 50px @ 1440 */
}

/* ================================================================
   DESIGN TOKENS
================================================================ */
:root {
  --color-navy:        #151a30;
  --color-navy-light:  #1c2032;
  --color-yellow:      #ffcc00;
  --color-red:         #e10014;
  --color-white:       #ffffff;
  --color-border:      #313131;
  --color-card-border: rgba(255, 255, 255, 0.2);
}

/* ================================================================
   FONTS
================================================================ */
@font-face {
  font-family: 'Betclic';
  src: url('assets/fonts/Betclic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic';
  src: url('assets/fonts/Betclic-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic';
  src: url('assets/fonts/Betclic-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic';
  src: url('assets/fonts/Betclic-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic';
  src: url('assets/fonts/Betclic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic';
  src: url('assets/fonts/Betclic-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic Condensed';
  src: url('assets/fonts/Betclic-CondensedRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic Condensed';
  src: url('assets/fonts/Betclic-CondensedMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic Condensed';
  src: url('assets/fonts/Betclic-CondensedBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Betclic Condensed';
  src: url('assets/fonts/Betclic-CondensedBoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: 'Betclic', 'Arial', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 48.25em; /* 772px */
  overflow: hidden;
}

/* Full-bleed background photo */
.hero__bg {
  position: absolute;
  inset: 0;
}

/* YouTube iframe — always covers the hero regardless of viewport ratio */
.hero__bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;   /* 16:9 based on width */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 based on height */
  pointer-events: none;
  border: none;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(21, 26, 48, 0.45) 0%,
    rgba(21, 26, 48, 0.15) 55%,
    rgba(21, 26, 48, 0.55) 100%
  );
}

/* Stripes wrap — transparent on desktop (inset:0 makes child coords identical to hero) */
.hero__stripes-wrap {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

/* Diagonal red-stripe decoration */
.hero__stripes {
  position: absolute;
  left: 41.5em;   /* 648px */
  top: -10em;  /* -380px */
  width: 104.6em; /* 1673px */
  height: auto;
  transform: rotate(180deg) scaleY(-1);
  pointer-events: none;
  z-index: 0;
}

/* Foliage decoration — bottom-right of hero */
.hero__folhos {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86.625em; /* 1386px natural width */
  height: auto;
  pointer-events: none;
  z-index: 2;
}

/* Mobile-only elements — hidden on desktop */
.hero__gradient,
.hero__overlay,
.hero__bunting--mobile,
.hero__bunting-angle,
.bonus__sparkles {
  display: none;
}

/* Bunting flags — top-left of hero (desktop) */
.hero__bunting--desktop {
  position: absolute;
  left: 0;
  top: 0;
  width: 43.304em; /* 692.86px — full desktop folhos1.svg */
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* Betclic logo top-left — left aligned with event__video (container pad 3.125em + inner pad 2.4375em) */
.hero__logo {
  position: absolute;
  left: 5.5625em; /* 3.125 + 2.4375 = 89px */
  top: 2.4375em;  /* ~39px */
  width: 14.875em; /* 238px */
  height: auto;
  pointer-events: none;
}

/* Chapéu + Manjerico decorative image (sits above/around the card) */
.hero__chapeu {
  position: absolute;
  left: 54.5625em;  /* 873px */
  top: 8.1875em;    /* 131px */
  width: 30.688em; /* 238px */
  height: auto;
  pointer-events: none;
  z-index: 3;
}

/* Right-side CTA card */
.hero__card {
  position: absolute;
  right: 3.875em; /* 62px from right */
  top: 13.375em;  /* 214px from top */
  bottom: 2.25em;
  width: 32.5625em; /* 521px */
  background-color: var(--color-red);
  border-radius: 1em; /* ~16px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4375em; /* 39px */
  padding: 2.5em 3.5625em; /* 40px 57px */
  overflow: hidden;
}

.hero__card-logo {
  width: 19.3125em; /* 309px */
  height: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero__card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.3125em; /* 53px */
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__card-title {
  font-family: 'Betclic', 'Impact', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 3em; /* 48px */
  line-height: 0.9;
  color: var(--color-white);
  text-align: center;
}

.hero__card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.43em 2.856em; /* ~23px 45.7px */
  background-color: var(--color-yellow);
  color: #000;
  font-family: 'Betclic', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 1.5em; /* 24px */
  line-height: 0.8;
  text-transform: uppercase;
  border-radius: 1em; /* 16px */
  transition: opacity 0.2s ease;
}

.hero__card-cta:hover {
  opacity: 0.85;
}

/* Decorative overlay — Layer_1.svg sized to the card, always on top of the background */
.hero__card-texture {
  position: absolute;
  inset: 0;
  background: url('assets/images/Layer_1.svg') center / 100% 100%;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

/* ================================================================
   BONUS – WELCOME
================================================================ */
.bonus {
  background-color: var(--color-navy);
  padding: 3em 0 3.125em; /* 48px top, 50px bottom */
}

.bonus__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25em; /* 20px */
  margin-bottom: 3em; /* 48px */
  text-align: center;
}

.bonus__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
}

.bonus__decoration {
  width: 15.5625em; /* 249px */
  height: auto;
  flex-shrink: 0;
  pointer-events: none;
}

.bonus__decoration--right {
  transform: scaleX(-1);
}

.bonus__title {
  font-family: 'Betclic', 'Impact', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 3.5em; /* 56px */
  line-height: 0.8;
  color: var(--color-white);
  text-transform: none;
  white-space: nowrap;
}

.bonus__title em {
  font-style: inherit;
  color: var(--color-white);
}

.bonus__subtitle {
  font-family: 'Betclic', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 1.5em; /* 24px */
  line-height: 1.22;
  color: var(--color-white);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Steps row */
.bonus__steps {
  display: flex;
  gap: 0.875em; /* 14px */
  justify-content: center;
  align-items: stretch;
  max-width: 66em; /* 1056px */
  margin: 0 auto;
  min-height: 19.1875em; /* 307px */
}

/* Individual step card */
.bonus__step {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
  background-color: var(--color-yellow);
  border: 1px solid var(--color-card-border);
  border-radius: 0.75em; /* 12px */
  padding: 1.25em 1.5625em; /* 20px 25px */
  display: flex;
  flex-direction: column;
  gap: 0.625em; /* 10px */
  align-items: center;
}

/* Badge row — reserves top-left space on desktop */
.bonus__step-badge-row {
  width: 100%;
  min-height: 2.1875em;
}

.bonus__step-badge {
  position: absolute;
  top: 1.25em;
  left: 1.5625em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;   /* 40px */
  height: 2.1875em; /* 35px */
  background-color: var(--color-red);
  color: var(--color-white);
  font-family: 'Betclic Condensed', 'Impact', sans-serif;
  font-weight: 500;
  font-size: 1.5em; /* 24px */
  line-height: 0.8;
  text-transform: uppercase;
  border-radius: 0.375em; /* 6px */
  z-index: 1;
}

/* Content area: column on desktop (image first via order:-1, then text) */
.bonus__step-content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bonus__step-image {
  order: -1; /* show above info text on desktop */
  width: 100%;
  height: 9.4375em; /* 151px */
  object-fit: contain;
  object-position: center bottom;
  flex-shrink: 0;
}

.bonus__step-info {
  margin-top: auto; /* push to bottom in desktop column */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #151a30;
}

.bonus__step-label {
  font-family: 'Betclic', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 1em; /* 16px */
  line-height: 1.5;
  color: #151a30;
}

.bonus__step-amount {
  font-family: 'Betclic', 'Impact', sans-serif;
  font-weight: 700;
  font-size: 4em; /* 64px */
  line-height: 1;
  color: #151a30;
}

.bonus__step-sublabel {
  font-family: 'Betclic', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 1em; /* 16px */
  line-height: 1.5;
  color: #151a30;
}

/* ================================================================
   EVENT – VIDEO SECTION
================================================================ */
.event {
  padding: 1.5625em 0; /* 25px */
}

.event__inner {
  position: relative;
  background-color: var(--color-navy-light);
  border: 1px solid var(--color-border);
  border-radius: 1.5em; /* 24px */
  padding: 2.4375em; /* 39px */
  display: flex;
  gap: 3.75em; /* 60px */
  align-items: flex-start;
}

/* Video player */
.event__video {
  position: relative;
  flex: 0 0 46.4375em; /* 743px */
  height: 25.9375em;   /* 415px */
  border-radius: 0.75em; /* 12px */
  overflow: hidden;
  background-color: #000;
}

.event__video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: inherit;
}

/* Flower decorations on video */
.event__flower {
  position: absolute;
  width: 15em; /* decorative size */
  height: auto;
  pointer-events: none;
}

.event__flower--tl {
  bottom: -2em;
  left: -2em;
  transform: rotate(45deg) scaleY(-1);
  opacity: 0.9;
}

.event__flower--bl {
  bottom: -2em;
  left: 8em;
  transform: rotate(135deg);
  opacity: 0.9;
}

/* Foliage decoration pinned to the bottom of the video container */
.event__folhos {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* Play button */
.event__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5.9375em;  /* ~95px */
  height: 5.9375em;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.event__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.event__play-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.8em 0 0.8em 1.4em;
  border-color: transparent transparent transparent var(--color-navy);
  margin-left: 0.2em; /* optical centering */
}

/* Right text content */
.event__info {
  flex: 0 0 27em; /* 432px */
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75em; /* 28px */
  align-self: stretch;
  justify-content: flex-end;
}

.event__info-folhos {
  position: absolute;
  top: -4.4em;
  right: 0;
  width: 34.866em; /* 557.85px */
  height: auto;
  pointer-events: none;
}

.event__title {
  font-family: 'Betclic', 'Impact', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 2em; /* 32px */
  line-height: 1.2;
  color: var(--color-white);
}

.event__body {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-family: 'Roboto', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 0.875em; /* 14px */
  line-height: 1.3;
  color: var(--color-white);
}

/* ================================================================
   CHARACTERS STRIP & FOOTER
================================================================ */
.characters {
  background-color: var(--color-navy);
  overflow: hidden;
}

/* Illustration strip — single SVG export from Figma (1359×420) */
.characters__strip {
  width: 100%;
  max-width: var(--size-container);
  margin: 0 auto;
  overflow: hidden;
  line-height: 0; /* prevent inline gap below img */
}

.characters__illustration {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5625em 0; /* 25px */
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.footer__logo {
  height: 2.75em; /* 44px */
  width: auto;
  flex-shrink: 0;
}

.footer__responsibility {
  display: flex;
  align-items: center;
  gap: 1em;
}

.footer__18 {
  width: 1.9375em; /* 31px */
  height: auto;
  flex-shrink: 0;
}

.footer__responsibility-text {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 0.875em; /* 14px */
  line-height: 1.22;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer__terms {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 0.875em; /* 14px */
  line-height: 1.22;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.footer__terms:hover {
  opacity: 0.7;
}

/* ================================================================
   RESPONSIVE — TABLET (≤ 991px)
================================================================ */
@media screen and (max-width: 991px) {

  /* Hero — card stays on the right but wider so the title never clips */
  .hero {
    height: auto;
    min-height: 44em;
  }

  .hero__card {
    right: 2em;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 42%;
    max-width: 24em;
    gap: 1.5em;
    padding: 2em;
  }

  .hero__card-logo {
    width: 13em;
  }

  .hero__card-title {
    font-size: 2.25em;
  }

  .hero__logo {
    left: 2.5em;
    top: 2em;
    width: 12em;
    height: auto;
  }

  /* Bonus header — drop the wide leaf decorations and let the title wrap
     so nothing overflows the container below 991px */
  .bonus__title-row {
    gap: 0;
  }

  .bonus__decoration {
    display: none;
  }

  .bonus__title {
    white-space: normal;
  }

  /* Bonus — keep all three cards in a single row */
  .bonus__steps {
    flex-wrap: nowrap;
    max-width: 100%;
    gap: 0.75em;
    justify-content: center;
  }

  .bonus__step {
    flex: 1 1 0;
    min-width: 0;
  }

  .bonus__step-amount {
    font-size: 3em;
  }

  .bonus__step-image {
    height: 7.5em;
  }

  /* Event */
  .event__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .event__video {
    flex: none;
    width: 100%;
    height: 0;
    padding-bottom: 55.8%; /* 415/743 aspect ratio */
  }

  .event__info {
    flex: none;
    width: 100%;
    justify-content: flex-start;
  }

  /* Characters — strip scales naturally with width */

  /* Footer — wrap gracefully at tablet widths */
  .footer__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__terms {
    white-space: normal;
    text-align: center;
  }
}

/* ================================================================
   RESPONSIVE — SMALL TABLET / LARGE PHONE (≤ 767px)
   3-across cards no longer fit: card spans the hero bottom and the
   bonus steps become a single column of horizontal cards.
================================================================ */
@media screen and (max-width: 767px) {

  /* Hero — full-width CTA card pinned to the bottom of the video */
  .hero {
    min-height: 38em;
  }

  .hero__card {
    left: 2em;
    right: 2em;
    top: auto;
    bottom: 2em;
    transform: none;
    width: auto;
    max-width: none;
    gap: 1.25em;
    padding: 1.75em 2em;
  }

  .hero__card-logo {
    width: 11em;
  }

  .hero__card-title {
    font-size: 2em;
  }

  .hero__card-cta {
    width: auto;
    min-width: 14em;
  }

  /* Bonus — single column of horizontal cards (info left, image right) */
  .bonus__steps {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.75em;
    max-width: 30em;
    min-height: unset;
    margin: 0 auto;
    align-items: stretch;
  }

  .bonus__step {
    flex: none;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    padding: 1.25em 1.5625em;
  }

  /* Badge back into normal flow */
  .bonus__step-badge-row {
    width: auto;
    min-height: unset;
  }

  .bonus__step-badge {
    position: static;
    display: inline-flex;
  }

  /* Content row: info left + image right */
  .bonus__step-content {
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    width: 100%;
  }

  .bonus__step-info {
    flex: 1;
    margin-top: 0;
    align-items: flex-start;
    text-align: left;
  }

  .bonus__step-amount {
    font-size: 3em;
  }

  .bonus__step-image {
    order: 0;
    width: 8em;
    height: 7em;
    flex-shrink: 0;
    object-position: center;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 479px)
   Fluid system: ideal 390px, 1em = viewport/24.375
================================================================ */
@media screen and (max-width: 479px) {

  /* Override fluid sizing for mobile */
  :root {
    --size-container-ideal: 390;
    --size-container-min:   320px;
    --size-container-max:   479px;
  }

  body {
    max-width: 479px;
    margin: 0 auto;
  }

  /* ── Hero ── */
  .hero {
    height: 45em;
    min-height: unset;
    display: block;
    padding-bottom: 0;
  }

  /* Portrait video cover */
  .hero__bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    aspect-ratio: 16 / 9;
    min-width: 100%;
    min-height: unset;
  }

  /* Hide desktop overlay, show mobile overlays */
  .hero__bg-overlay { display: none; }

  .hero__gradient {
    display: block;
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse 160% 70% at 23% 84%,
      rgba(143, 36,  59, 0.95) 0%,
      rgba(113, 34,  56, 0.80) 20%,
      rgba(82,  31,  54, 0.55) 45%,
      rgba(52,  29,  51, 0.25) 70%,
      transparent               100%
    );
  }

  .hero__overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(21, 26, 48, 0.50)  0%,
      rgba(21, 26, 48, 0.00) 30%,
      rgba(21, 26, 48, 0.00) 55%,
      rgba(21, 26, 48, 0.70) 100%
    );
  }

  /* Stripes — clipped to lower portion */
  .hero__stripes-wrap {
    position: absolute;
    top: 27.0625em;
    left: 110%;
    transform: translateX(-50%);
    width: 45.5em;
    height: 22.3125em;
    overflow: hidden;
  }

  .hero__stripes {
    position: absolute;
    left: 0.577em;
    top: -12.999em;
    width: 47.537em;
    height: auto;
    transform: rotate(180deg) scaleY(-1);
  }

  /* Logo centred */
  .hero__logo {
    position: absolute;
    top: 0.875em;
    left: 50%;
    transform: translateX(-50%);
    width: 8.25em;
    height: auto;
    z-index: 2;
  }

  /* Swap buntings: hide desktop variant, show mobile variants */
  .hero__bunting--desktop { display: none; }

  .hero__bunting--mobile {
    display: block;
    position: absolute;
    left: 0;
    top: 4.699em;
    width: 12.362em;
    height: auto;
    pointer-events: none;
    z-index: 2;
  }

  .hero__bunting-angle {
    display: block;
    position: absolute;
    left: calc(33.33% + 2.68em);
    top: 5.15em;
    width: 12.362em;
    height: auto;
    transform: rotate(-24.89deg);
    transform-origin: left center;
    pointer-events: none;
    z-index: 3;
  }

  /* Chapéu */
  .hero__chapeu {
    position: absolute;
    left: 3.4375em;
    top: 20.1875em;
    width: 16.4375em;
    height: auto;
    z-index: 4;
  }

  /* CTA card */
  .hero__card {
    position: absolute;
    left: 1.011em;
    right: 1.011em;
    top: 50%;
    bottom: auto;
    width: auto;
    min-height: 20.298em;
    border-radius: 0.75em;
    gap: 1.148em;
    padding: 1.677em;
    transform: none;
    z-index: 3;
  }

  .hero__card-logo { width: 9.8125em; }

  .hero__card-title {
    font-size: 2em;
    line-height: 0.9;
  }

  .hero__card-cta {
    width: 100%;
    max-width: 17.1875em;
    height: 2.875em;
    padding: 0;
    font-size: 1em;
    border-radius: 0.47em;
  }

  /* ── Bonus ── */
  .bonus {
    padding: 1.875em 0;
  }

  .container {
    padding: 0 1.25em;
  }

  .bonus__header {
    gap: 0.9375em;
    margin-bottom: 0;
    padding: 0;
  }

  /* Show sparkles, hide desktop decorations */
  .bonus__sparkles {
    display: flex;
    gap: 0.625em;
    align-items: flex-start;
    margin-bottom: -0.3125em;
  }

  .bonus__sparkle {
    width: 4.75em;
    height: auto;
    flex-shrink: 0;
  }

  .bonus__sparkle--flip   { transform: rotate(180deg) scaleY(-1); }
  .bonus__sparkle--mirror { transform: scaleY(-1); }

  .bonus__decoration { display: none; }

  .bonus__title-row { gap: 0; }

  .bonus__title {
    font-size: 2em;
    white-space: normal;
  }

  .bonus__subtitle {
    font-size: 1em;
    white-space: normal;
  }

  /* Steps column — reset ≤1024px flex-wrap */
  .bonus__steps {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.625em;
    padding: 1.875em 0;
    max-width: none;
    min-height: unset;
    margin: 0;
    justify-content: flex-start;
    align-items: stretch;
  }

  .bonus__step {
    flex: none;
    width: 100%;
    height: 12em;
    min-width: unset;
    align-items: flex-start;
    padding: 1.25em 1.5625em;
  }

  .bonus__step--tall { height: 13.4375em; }

  /* Badge back to normal flow */
  .bonus__step-badge-row {
    width: 100%;
    min-height: unset;
  }

  .bonus__step-badge {
    position: static;
    display: inline-flex;
    font-size: 1.5em;
    width: 2.5em;
    height: 2.1875em;
  }

  /* Content row: info left + image right, both stretch to content height */
  .bonus__step-content {
    flex: 1;
    flex-direction: row;
    align-items: stretch;
    gap: 0.625em;
    width: 100%;
  }

  .bonus__step-info {
    flex: 1;
    margin-top: 0;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-end;
  }

  .bonus__step-label { font-size: 0.875em; }

  .bonus__step-amount {
    font-size: 3em;
    line-height: 1;
  }

  .bonus__step-sublabel { font-size: 0.875em; }

  .bonus__step-image {
    order: 0;
    width: 8.707em;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    flex-shrink: 0;
    align-self: auto;
  }

  /* ── Event ── */
  .event {
    padding: 0 0 3.75em;
  }

  .event__inner {
    flex-direction: column;
    gap: 1.875em;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
  }

  .event__info-folhos { display: none; }

  .event__video {
    flex: none;
    width: 100%;
    height: 12.625em;
    padding-bottom: 0;
  }

  .event__info {
    flex: none;
    width: 100%;
    gap: 1.75em;
    justify-content: flex-start;
    align-self: auto;
  }

  .event__title { font-size: 1.5em; }

  .event__play {
    width: 4.3125em;
    height: 4.3125em;
  }

  .event__play-arrow {
    border-width: 0.5em 0 0.5em 0.875em;
  }

  /* ── Characters ── */
  .characters {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .characters::-webkit-scrollbar { display: none; }

  .characters__strip {
    max-width: none;
    line-height: 0;
  }

  /* ── Footer ── */
  .footer {
    padding: 3.75em 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2.3125em;
  }

  .footer__logo {
    width: 8.1875em;
    height: auto;
  }

  .footer__responsibility {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .footer__responsibility-text {
    font-size: 0.875em;
  }

  .footer__terms {
    font-size: 0.875em;
    white-space: normal;
  }
}

/* ================================================================
   LEGAL PAGE (termos.html)
================================================================ */
.legal-page {
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: 'Roboto', 'Arial', sans-serif;
}

.legal-topbar {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25em 0;
}

.legal-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.legal-topbar__logo {
  height: 2.25em; /* 36px */
  width: auto;
  display: block;
}

.legal-topbar__back {
  font-weight: 500;
  font-size: 0.875em; /* 14px */
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.legal-topbar__back:hover {
  opacity: 0.7;
}

.legal {
  padding: 3.75em 0 5em; /* 60px / 80px */
}

.legal .container {
  max-width: 50em; /* ~800px readable measure */
}

.legal__head {
  margin-bottom: 2.5em;
}

.legal__title {
  font-family: 'Betclic', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 2.75em; /* 44px */
  line-height: 1.1;
  color: var(--color-yellow);
  margin: 0 0 0.25em;
}

.legal__updated {
  font-size: 0.875em;
  opacity: 0.7;
  margin: 0;
}

.legal__download {
  display: inline-block;
  margin-top: 0.75em;
  font-weight: 700;
  font-size: 0.875em;
  color: var(--color-yellow);
  transition: opacity 0.2s ease;
}

.legal__download:hover {
  opacity: 0.75;
}

.legal__callout {
  background-color: var(--color-navy-light);
  border: 1px solid var(--color-card-border);
  border-radius: 0.75em;
  padding: 1.5em 1.75em;
  margin-bottom: 3em;
}

.legal__callout p {
  margin: 0 0 0.75em;
  font-size: 0.9375em; /* 15px */
  line-height: 1.6;
}

.legal__callout-link {
  display: inline-block;
  font-weight: 700;
  color: var(--color-yellow);
  font-size: 0.9375em;
  transition: opacity 0.2s ease;
}

.legal__callout-link:hover {
  opacity: 0.75;
}

.legal__toc {
  margin-bottom: 3.5em;
  padding-bottom: 2.5em;
  border-bottom: 1px solid var(--color-border);
}

.legal__toc-title {
  font-size: 1.25em; /* 20px */
  font-weight: 700;
  margin: 0 0 1em;
  color: var(--color-white);
}

.legal__toc-list {
  margin: 0;
  padding-left: 1.25em;
  columns: 2;
  column-gap: 2.5em;
}

.legal__toc-list li {
  margin-bottom: 0.5em;
  break-inside: avoid;
  font-size: 0.9375em;
  line-height: 1.5;
}

.legal__toc-list a {
  color: var(--color-white);
  transition: color 0.2s ease;
}

.legal__toc-list a:hover {
  color: var(--color-yellow);
}

.legal__section {
  margin-bottom: 2.5em;
  scroll-margin-top: 1.5em;
}

.legal__section h2 {
  font-size: 1.375em; /* 22px */
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-yellow);
  margin: 0 0 0.6em;
}

.legal__section h3 {
  font-size: 1.0625em; /* 17px */
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 1.75em 0 0.6em;
}

.legal__section h4 {
  font-size: 1em; /* 16px */
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  margin: 1.25em 0 0.4em;
}

.legal__clause {
  display: block;
  font-weight: 700;
  color: var(--color-yellow);
  font-size: 0.8125em; /* 13px */
  letter-spacing: 0.02em;
  margin: 1.1em 0 0.3em;
}

.legal__section p,
.legal__section li {
  font-size: 1em; /* 16px */
  line-height: 1.7;
  margin: 0 0 0.75em;
  opacity: 0.92;
}

.legal__section ul {
  margin: 0 0 0.75em;
  padding-left: 1.5em;
}

.legal__section li {
  margin-bottom: 0.4em;
}

.legal__section a {
  color: var(--color-yellow);
  text-decoration: underline;
}

.legal__pending {
  margin-top: 1.5em;
  padding: 1em 1.25em;
  border: 1px dashed var(--color-card-border);
  border-radius: 0.5em;
  font-size: 0.875em !important;
  opacity: 0.75 !important;
}

.legal__entity {
  margin-top: 3.5em;
  padding-top: 2.5em;
  border-top: 1px solid var(--color-border);
}

.legal__entity p {
  font-size: 0.8125em; /* 13px */
  line-height: 1.6;
  opacity: 0.7;
  margin: 0 0 1em;
}

.legal__entity-warning {
  display: flex;
  align-items: center;
  gap: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 500;
  opacity: 0.85 !important;
}

.legal__entity-18 {
  width: 1.75em;
  height: auto;
  flex-shrink: 0;
}

@media screen and (max-width: 767px) {
  .legal__title {
    font-size: 2.25em; /* 36px */
  }

  .legal__toc-list {
    columns: 1;
  }
}
