:root {
  /* Brand */
  --color-brand-dark: #1b123d;
  --color-brand-cyan: #4abdcf;
  --color-brand-gold: #e09900;
  --color-brand-red: #a70202;
  --color-brand-green: #029791;

  /* Neutrals */
  --color-bg: #ffffff;
  --color-surface: #f7f7f8;
  --color-ink: #17141f;
  --color-muted: #514c5f;
  --color-border: rgba(23, 20, 31, 0.14);

  /* Typography */
  --font-display: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1080px;
  --space-section: 80px;
  --space-page-x: clamp(30px, 5vw, 48px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 160ms;
  --duration-base: 260ms;
}

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

* {
  margin: 0;
}

html {
  min-width: 320px;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 100%;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

ul,
ol {
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  text-wrap: balance;
}

p {
  color: var(--color-muted);
  font-size: 19px;
  line-height: 1.55;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-brand-cyan) 70%, white);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 100;
  transform: translateY(calc(-100% - 32px));
  border-radius: var(--radius-pill);
  background: var(--color-brand-dark);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 16px;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.section {
  position: relative;
  padding-block: var(--space-section);
}

.section__row {
  width: min(100% - (var(--space-page-x) * 2), var(--container));
  margin-inline: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-gold);
  color: var(--color-brand-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 20px;
  text-decoration: none;
  transition:
    transform var(--duration-fast) var(--ease-out),
    filter var(--duration-fast) var(--ease-out);
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: visible;
  padding-block: var(--space-section) 0;
  background: var(--color-brand-dark);
  color: #ffffff;
  z-index: 2;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.hero__title {
  display: grid;
  gap: 0.1em;
  max-width: 800px;
  margin-block-start: clamp(30px, 5vw, 32px);
  color: #e9ac3c;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 8vw, 52px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__text {
  max-width: 640px;
  margin-block-start: clamp(12px, 3vw, 20px);
  color: #eaeaea;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 2.6vw, 23px);
  font-weight: 300;
  line-height: 1.5;
}

.hero__trophy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: clamp(168px, 30vw, 280px);
  height: auto;
  margin-block-start: 35px;
  margin-block-end: -40px;
}

.intro {
  background: #e9ac3c;
  z-index: 1;
}

.intro__content {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 3vw, 22px);
  text-align: center;
}

.intro__title {
  max-width: 560px;
  color: #000000;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 6vw, 40px);
  font-weight: 600;
  line-height: 1.14;
  text-transform: uppercase;
}

.intro__text {
  max-width: 700px;
  color: #111111;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 2.7vw, 20px);
  font-weight: 400;
  line-height: 1.4;
}

.pillars {
  background: #000000;
  color: #ffffff;
  padding-block-start: calc(var(--space-section) + 60px);
}

.pillars__grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  border: 1px solid #e9ac3c;
  padding: 0 clamp(24px, 4vw, 32px) clamp(24px, 4vw, 32px);
  text-align: center;
}

.pillar__icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-block-start: -60px;
}

.pillar__title {
  margin-block-start: 20px;
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}

.pillar__text {
  margin-block-start: 14px;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.recap {
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
    #000000 url("../images/background_video_contrology.webp") center / cover no-repeat;
  color: #ffffff;
}

.recap__content {
  display: grid;
  justify-items: center;
  gap: clamp(28px, 4vw, 40px);
}

.recap__title {
  max-width: 736px;
  color: #e9ac3c;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.recap__video {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  border: 3px solid #e9ac3c;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.recap__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.categories {
  background: #000000;
  color: #ffffff;
}

.categories__content {
  display: grid;
  gap: clamp(36px, 5vw, 60px);
}

.categories__header {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.categories__title {
  display: grid;
  max-width: 800px;
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

.categories__title strong {
  color: #e9ac3c;
  font-weight: inherit;
}

.categories__intro {
  max-width: 736px;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 300;
  line-height: 1.5;
}

.categories__tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  overflow-x: auto;
  overflow-y: hidden;
  border-block-end: 1px solid rgba(255, 255, 255, 0.62);
  scrollbar-width: thin;
  scrollbar-color: #e9ac3c #181818;
}

.categories__tab {
  position: relative;
  min-height: 52px;
  padding: 12px clamp(16px, 4vw, 39px);
  color: rgba(255, 255, 255, 0.66);
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}

.categories__tab::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  content: "";
  background: transparent;
}

.categories__tab:hover,
.categories__tab.is-active {
  color: #e9ac3c;
}

.categories__tab.is-active::after {
  background: #e9ac3c;
}

.category-panel {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  background: #060606;
  border: 1px solid rgba(233, 172, 60, 0.42);
  padding: clamp(32px, 5vw, 52px);
}

.category-panel[hidden] {
  display: none;
}

.category-panel__eyebrow,
.category-panel__lead,
.category-panel__subtitle,
.category-panel__steps h4,
.steps-list p span {
  color: #e9ac3c;
}

.category-panel__eyebrow {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
}

.category-panel__title {
  margin-block-start: 7px;
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-panel__lead {
  margin-block-start: clamp(28px, 4vw, 40px);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.category-panel__text,
.category-panel__rules li {
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.steps-list p {
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.category-panel__text {
  margin-block-start: 6px;
}

.category-panel__subtitle,
.category-panel__steps h4 {
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.category-panel__subtitle {
  margin-block-start: clamp(28px, 4vw, 36px);
}

.category-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 12px;
  list-style: none;
}

.category-panel__tags li {
  border: 1px solid rgba(233, 172, 60, 0.72);
  border-radius: var(--radius-pill);
  color: #ffe4a9;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 7px 12px;
}

.category-panel__rules {
  margin-block-start: clamp(28px, 4vw, 36px);
  border-block: 1px solid rgba(233, 172, 60, 0.74);
  overflow: clip;
}

.category-panel__rules summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding-inline: 10px;
  color: #e9ac3c;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.category-panel__rules summary::-webkit-details-marker {
  display: none;
}

.category-panel__rules summary::after {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-block-end: 2px solid #e9ac3c;
  border-inline-end: 2px solid #e9ac3c;
  content: "";
  margin-inline-end: 4px;
  transform: rotate(45deg);
  transition: transform var(--duration-base) var(--ease-out);
}

.category-panel__rules[open] summary::after {
  transform: rotate(225deg);
}

.category-panel__rules ol,
.steps-list {
  display: grid;
  gap: 14px;
  padding-inline-start: 20px;
}

.category-panel__rules ol {
  margin-block-start: 4px;
  margin-block-end: 18px;
}

.category-panel__steps h4 {
  margin-block-end: 20px;
}

.steps-list {
  gap: 22px;
  margin-block-start: 0;
}

.steps-list li::marker,
.category-panel__rules li::marker {
  color: #e9ac3c;
  font-weight: 700;
}

.steps-list p + p {
  margin-block-start: 2px;
}

.steps-list strong {
  color: #ffffff;
  font-weight: 700;
}

.steps-list em {
  color: #ffffff;
  font-style: italic;
}

.steps-list__status {
  display: inline-flex;
  margin-block-start: 14px;
  background: #2b2b2b;
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 14px;
  text-transform: uppercase;
}

.winners {
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12)),
    #000000 url("../images/background_finalistas_premio_contrology.webp") center / cover no-repeat;
  color: #ffffff;
  padding-block: 80px;
}

.winners__content {
  display: grid;
  gap: clamp(48px, 8vw, 80px);
  justify-items: center;
}

.winners__title {
  max-width: 880px;
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5.7vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.winners__title span {
  color: #e9ac3c;
}

.winners__grid {
  display: grid;
  width: 100%;
  align-items: flex-start;
  gap: 20px;
}

.winner {
  display: grid;
  align-content: flex-start;
  align-self: flex-start;
  justify-items: center;
  text-align: center;
}

.winner__label {
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.winner__category {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 43px;
  margin-block-start: 5px;
  color: #e9ac3c;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.winner__photo {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-block-start: 25px;
  border: 2px solid #e9ac3c;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
}

.winner__name {
  margin-block-start: 20px;
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.winner__person,
.winner__instagram {
  color: #e9ac3c;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.winner__person {
  margin-block-start: 4px;
}

.winner__instagram {
  margin-block-start: 0;
}

.award-night {
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    #000000 url("../images/background_noite_da_premiacao.jpg") center / cover no-repeat;
  color: #ffffff;
  padding-block: 80px;
}

.award-night__content {
  display: grid;
  align-items: center;
  gap: 40px;
}

.award-night__image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border: 2px solid #e9ac3c;
  border-radius: 12px;
}

.award-night__copy {
  max-width: 620px;
}

.award-night__title {
  color: #ffffff;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}

.award-night__title span,
.award-night__text span {
  color: #e9ac3c;
}

.award-night__text {
  margin-block-start: 20px;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.6;
}

.award-night__text strong {
  color: #ffffff;
  font-weight: 700;
}

.encounter {
  background: #000000 url("../images/background_encontro_premio_contrology.jpg") center / cover no-repeat;
  padding-block: 150px;
}

.encounter__content {
  display: grid;
  justify-items: center;
  margin-block-end: 130px;
}

.encounter__logo {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.site-footer {
  background: #0f0f0f;
  padding-block: 46px;
  text-align: center;
}

.site-footer p {
  color: #f0f0f0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.thanks-hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.36)),
    #000000 url("../images/background_vote_no_profissional_2024.webp") center / cover no-repeat;
  padding-block: 80px;
  text-align: center;
}

.thanks-hero__content {
  display: grid;
  justify-items: center;
}

.thanks-hero__logo {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.thanks-hero__title {
  margin-block-start: 36px;
  color: #e9ac3c;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.thanks-hero__text {
  max-width: 670px;
  margin-block-start: 18px;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 300;
  line-height: 1.5;
}

.thanks-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-block-start: 30px;
  border: 2px solid #a80000;
  background: #a80000;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.thanks-hero__button:hover {
  background: #8f0000;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .button {
    font-size: 19px;
  }

  .pillars__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .award-night__content {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories__tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: initial;
    grid-auto-columns: initial;
  }

  .category-panel {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  }

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

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