@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Roboto+Slab:wght@400;600&family=Sora:wght@600;700&display=swap");

:root {
  color-scheme: light;
  --red: #f80600;
  --brown: #804d1b;
  --green: #079957;
  --cookie-green: #61a229;
  --cream: #f3dfc5;
  --white: #ffffff;
  --ink: #333333;
  --shadow: 0 16px 38px rgba(58, 27, 6, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: var(--cream);
  font-family: Poppins, Arial, sans-serif;
}

.countdown-bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
}

.countdown-inner {
  width: min(1140px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.countdown-bar h2 {
  margin: 0;
  text-align: right;
  font-family: Sora, Arial, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 108px);
  gap: 10px;
  align-items: center;
}

.timer div {
  display: grid;
  justify-items: center;
  color: var(--white);
}

.timer strong {
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
}

.timer span {
  margin-top: 2px;
  font-family: "Roboto Slab", serif;
  font-size: 14px;
  line-height: 1;
}

.hero-shell {
  height: calc(100dvh - 56px);
  background-image: url("assets/fundo-pf.webp");
  background-size: cover;
  background-position: center;
}

.hero {
  width: min(1140px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding: 26px 0 10px;
  display: grid;
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  align-content: start;
  gap: 0;
  text-align: center;
}

.brand-logo {
  width: clamp(136px, 7.7vw, 148px);
  height: auto;
  display: block;
  opacity: 0.88;
  margin-bottom: 20px;
}

h1 {
  max-width: 1060px;
  margin: 0 0 18px;
  color: var(--brown);
  font-size: clamp(28px, 1.65vw, 32px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  color: var(--green);
  font-size: clamp(38px, 2.16vw, 42px);
  line-height: 0.92;
}

.video-frame {
  width: min(666px, 100%);
  aspect-ratio: 16 / 9;
  background: #111111;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.hero-cta {
  min-width: 381px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  margin-top: 36px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(7, 153, 87, 0.28);
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(1.5px);
  cursor: pointer;
}

.cookie-popup {
  position: relative;
  width: min(1060px, 100%);
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.cookie-copy h2 {
  margin: 0 0 6px;
  color: #222222;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 800;
}

.cookie-copy p {
  max-width: 920px;
  margin: 0;
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.35;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-btn {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  color: #333333;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.cookie-btn.muted {
  background: #dedede;
}

.cookie-btn.accept {
  background: var(--cookie-green);
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .countdown-bar {
    height: 92px;
  }

  .countdown-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .countdown-bar h2 {
    text-align: center;
    font-size: 22px;
  }

  .timer {
    width: min(440px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .timer strong {
    font-size: 23px;
  }

  .timer span {
    font-size: 12px;
  }

  .hero-shell {
    height: calc(100dvh - 92px);
  }

  .hero {
    width: min(100% - 24px, 740px);
    padding: 8px 0 148px;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 10px;
  }

  .brand-logo {
    width: 92px;
  }

  h1 {
    font-size: clamp(17px, 5vw, 23px);
    line-height: 1.1;
  }

  h1 span {
    font-size: clamp(25px, 7.4vw, 34px);
  }

  .video-frame {
    width: min(100%, 560px);
  }

  .hero-cta {
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }

  .cookie-popup {
    padding: 12px 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cookie-copy p {
    font-size: 12.5px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .cookie-btn {
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-bottom: 160px;
  }

  .brand-logo {
    width: 82px;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-btn.accept {
    grid-column: 1 / -1;
  }
}
