/* Desktop */
:root {
    --size-unit: 16; /* body font-size in design - no px */
    --size-container-ideal: 1512; /* screen-size in design - no px */
    --size-container-min: 992px;
    --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)));
  }
  
  /* Tablet */
  @media screen and (max-width: 991px) {
    :root {
      --size-container-ideal: 834; /* screen-size in design - no px */
      --size-container-min: 768px;
      --size-container-max: 991px;
    }
  }
  
  /* Mobile Landscape */
  @media screen and (max-width: 767px) {
    :root {
      --size-container-ideal: 550; /* screen-size in design - no px */
      --size-container-min: 480px;
      --size-container-max: 767px;
    }
  }
  
  /* Mobile Portrait */
  @media screen and (max-width: 479px) {
    :root {
      --size-container-ideal: 390; /* screen-size in design - no px */
      --size-container-min: 320px;
      --size-container-max: 479px;
    }
  }

.app {
  font-size: var(--size-font);
}

.app * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.color-orange { color: #D7764D; }
.bg-orange { background-color: #D7764D; }
.color-grey { color: #6F6F6F; }
.bg-grey { background-color: #6F6F6F; }
.color-light-grey { color: #A6A6A6; }
.bg-light-grey { background-color: #A6A6A6; }
.color-lighter-grey { color: #F9F9F9; }
.bg-lighter-grey { background-color: #F9F9F9; }
.color-white { color: #FFFFFF; }
.bg-white { background-color: #FFFFFF; }
.color-black { color: #000000; }
.bg-black { background-color: #000000; }
.color-dark-blue { color: #0B2655; }
.color-dark-blue-transparent { color: rgba(11, 38, 85, 0.5); }
.bg-dark-blue { background-color: #0B2655; }
.color-light-background { color: #E7E9EE; }
.bg-light-background { background-color: #E7E9EE; }

.font-eyebrow-xs {
  font-size: 0.875em;
  line-height: 1.25em;
  letter-spacing: .1em;
}

.font-eyebrow-sm {
  font-size: 1em;
  letter-spacing: .1em;
  line-height: 1.5em;
  text-transform: uppercase;
}

.font-display-xl {
  font-size: 6em;
  line-height: 1.1em;
  letter-spacing: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.font-display-md {
  font-size: 3.5em;
  line-height: 1.15;
  letter-spacing: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.font-body-sm {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: 0;
}

.font-body-md {
  font-size: 1.125em;
  line-height: 1.55;
  letter-spacing: 0;
}

.font-body-xs {
  font-size: 0.875em;
  line-height: 1.25em;
  letter-spacing: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.font-body-lg {
  font-size: 1.25em;
  line-height: 1.1;
  letter-spacing: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.font-heading-h1 {
  font-size: 3em;
  line-height: 1.17;
  letter-spacing: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.font-heading-h2{
  font-size: 2.5em;
  line-height: 3;
  letter-spacing: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.font-heading-h4 {
  font-size: 1.5em;
  line-height: 1.3;
  letter-spacing: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive Font Sizes - Tablet */
@media screen and (max-width: 991px) {}

/* Responsive Font Sizes - Mobile Landscape */
@media screen and (max-width: 767px) {
  .font-display-xl {
    font-size: 3em;
    line-height: 1.1em;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-body-md {
    font-size: 1em;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .font-heading-h2 {
    font-size: 1.5em;
    line-height: 1.3;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-heading-h4 {
    font-size: 1.125em;
    line-height: 1.3;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-body-xs {
    font-size: 0.75em;
    line-height: 1.25em;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-body-sm {
    font-size: 0.875em;
    line-height: 1.25em;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-heading-h1 {
    font-size: 1.5em;
    line-height: 1.3;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;  
  }

  .font-display-md {
    font-size: 2em;
    line-height: 1.15;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Responsive Font Sizes - Mobile Portrait */
@media screen and (max-width: 479px) {
  .font-display-xl {
    font-size: 3em;
    line-height: 1.1em;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-body-md {
    font-size: 1em;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .font-heading-h2 {
    font-size: 1.5em;
    line-height: 1.3;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-heading-h4 {
    font-size: 1.125em;
    line-height: 1.3;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-body-xs {
    font-size: 0.75em;
    line-height: 1.25em;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-body-sm {
    font-size: 0.875em;
    line-height: 1.25em;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .font-heading-h1 {
    font-size: 1.5em;
    line-height: 1.3;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;  
  }

  .font-display-md {
    font-size: 2em;
    line-height: 1.15;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.font-regular {
  font-weight: 400;
}

.font-light {
  font-weight: 300;
}

.font-uppercase {
  text-transform: uppercase;
}

.font-normal {
  text-transform: none;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.hero {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;  
  overflow: hidden;
  padding: 8em 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.6875em;
  position: relative;
  z-index: 2;
  max-width: 75em;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.06em;
  z-index: 10;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}

.hero-body {
  max-width: 42em;
}

@media screen and (max-width: 479px) {
  .hero-body {
    max-width: 20em;
  }
}

.button-primary {
  display: inline-block;
  padding: 1em 2em;
  border-radius: 0.5em;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75em;
}

@media screen and (max-width: 479px) {
  .button-primary {
    width: 18.75em;
    height: 3.5em;
  }
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(215, 118, 77, 0.3);
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.hero-video-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-play-button {
  width: 5em;
  height: 5em;
  border-radius: 100%;
  overflow: hidden;
  background-color: #D7764D;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(215, 118, 77, 0.4);
}

.hero-play-button:hover {
  opacity: 0.8;
}

.hero-play-button svg {
  width: 2em;
  height: 2em;
  margin-left: 0.25em;
}

/* Tablet */
@media screen and (max-width: 991px) {}

/* Mobile Landscape */
@media screen and (max-width: 767px) {}

/* Mobile Portrait */
@media screen and (max-width: 479px) {}

/* Featured Announcements Section */
.featured-announcements {
  background-color: var(--color-light-background);
}

.featured-announcements .container {
  padding: 6em;
  max-width: 100%;
}

@media screen and (max-width: 1024px) {
  .featured-announcements .container {
    padding: 2.5em 1em;
  }
}

.featured-announcements-content {
  display: flex;
  flex-direction: column;
  gap: 3.5em;
}

@media screen and (max-width: 1024px) {
  .featured-announcements-content {
    gap: 1.5em;
  }
}

.featured-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Arrows below cards (matches mobile design) */
@media screen and (max-width: 1024px) {
  .featured-headline {
    display: contents;
  }

  .featured-announcements-title {
    order: 1;
    text-align: center;
    width: 100%;
  }

  .featured-announcements-content > .featured-cards {
    order: 2;
  }

  .featured-announcements-content .arrows {
    order: 3;
    justify-content: center;
    width: 100%;
  }
}

.app .arrows {
  display: flex;
  gap: 0.5em;
}

.app .arrows button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.app .arrows button:focus,
.app .arrows button:focus-visible {
  outline: none;
}

.app .arrows button svg circle.arrow-circle {
  fill: #A6A6A6;
  transition: fill 0.3s ease;
}

/* Enabled = há slide nessa direção; disabled = Swiper sem conteúdo nessa direção */
.app .arrows button:not(.swiper-button-disabled) svg circle.arrow-circle {
  fill: #D7764D;
}

.app .arrows button.swiper-button-disabled {
  cursor: default;
}

.app .arrows button.swiper-button-disabled svg circle.arrow-circle {
  fill: #A6A6A6;
}

.featured-cards {
  width: 100%;
  position: relative;
  overflow: visible;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5em;
  width: 100%;
  padding: 2em;
  border-radius: 1em;
}

.card-headline {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5em;
  min-width: 0;
}

.card-headline-row {
  display: flex;
  align-items: center;
  gap: 0.75em;
  min-width: 0;
}

.card-headline > .card-description {
  min-width: 0;
  width: 100%;
}

@media (max-width: 1024px) {
  .card-headline-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.card-title {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.card-image {
  width: 3.875em;
  height: 3.875em;
  border-radius: 0.5em;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Events Section */
.events-menu {
  overflow: visible;
}

.events-menu .container.events-menu-inner {
  padding: 1.5em 6em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6em;
  max-width: 100%;
  position: relative;
  gap: 0;
}

.events-dropdown-trigger {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875em 1.25em;
  margin: 0;
  border: none;
  cursor: pointer;
  text-align: left;
  background-color: #F9F9F9;
  border-radius: 3.5em;
  box-sizing: border-box;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.events-dropdown-trigger:hover {
  background-color: #E7E9EE;
}

.events-dropdown-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 0.75em;
}

.events-dropdown-chevron {
  display: flex;
  flex-shrink: 0;
  color: #A6A6A6;
  transition: transform 0.25s ease;
}

.events-dropdown-trigger.is-open .events-dropdown-chevron {
  transform: rotate(180deg);
}

.events-tabs-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.event-button {
  padding: 0.75em 4.4625em;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;  
}

.event-button:hover,
.event-button.active {
  background-color: #E7E9EE;
  color: #0B2655;
  border-radius: 0.375em;
}

@media screen and (max-width: 1024px) {
  .events-menu .container.events-menu-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    padding: 1em;
    gap: 0;
  }

  .events-dropdown-trigger {
    display: flex;
  }

  .events-tabs-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: absolute;
    top: calc(100% + 0.5em);
    left: 1em;
    right: 1em;
    width: auto;
    flex: none;
    padding: 0.5em;
    background-color: #F9F9F9;
    border-radius: 1em;
    box-shadow: 0 0.5em 1.5em rgba(11, 38, 85, 0.15);
    z-index: 30;
    box-sizing: border-box;
  }

  .events-tabs-list.is-open {
    display: flex;
  }

  .events-tabs-list .event-button {
    width: 100%;
    text-align: left;
    padding: 0.875em 1em;
    border-radius: 0.5em;
    color: #0B2655;
  }

  .events-tabs-list .event-button:not(.active) {
    color: #6F6F6F;
    background-color: transparent;
  }

  .events-tabs-list .event-button:hover,
  .events-tabs-list .event-button.active {
    background-color: #E7E9EE;
    color: #0B2655;
  }
}

.events-content .container {
  display: flex;
  flex-direction: column;
  padding: 6em;
  max-width: 100%;
  gap: 3em;
}

@media screen and (max-width: 1024px) {
  .events-content .container {
    padding: 2.5em 1em;
  }
}

.events-panel {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

@media (max-width: 1024px) {
  .events-panel {
    gap: 2em;
  }
}

.events-panel[hidden] {
  display: none !important;
}

.card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

@media (max-width: 820px) {
  .card-wrapper {
    grid-template-columns: 1fr;
  }
}

.events-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
}

.events-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.events-cards .card {
  max-width: 100%;
  border: 1px solid #E7E9EE;
}

@media (max-width: 820px) {
  .events-cards .card {
    padding: 1.25em;
  }
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  width: 100%;
}

.card-actions .card-button {
  flex: 1;
  min-width: min(10em, 100%);
  width: auto;
}

.card-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.5em;
  padding: 0.75em 1em;
  background-color: #D7764D;
  text-decoration: none;
  box-sizing: border-box;
}

/* Single CTA: full width of card (not inside .card-actions) */
.card > .card-button--full {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  display: flex;
}

.card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(215, 118, 77, 0.3);
}

.card-button--secondary {
  background-color: transparent;
  color: rgba(11, 38, 85, 0.5);
  border: 1px solid rgba(11, 38, 85, 0.5);
  box-shadow: none;
}

.card-button--secondary:hover {
  transform: translateY(-2px);
  box-shadow: none;
  background-color: rgba(11, 38, 85, 0.06);
}

/* Registration Section */
.registration .container {
  padding: 3em;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .registration .container {
    padding: 1.5em 1em;
  }
}

.registration-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3em;
  max-width: 88.5em;
  padding: 6em 16.6875em;
  border-radius: 1.5em;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .registration-content {
    padding: 3em 1.5em;
    gap: 2em;
    max-width: 100%;
  }
}

.registration-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  /* opacity: 0.4;
  mix-blend-mode: screen; */
}

.registration-content > * {
  position: relative;
  z-index: 1;
}

.registration-headline {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

@media (max-width: 1024px) {
  .registration-headline {
    align-items: center;
    text-align: center;
  }
}

.registration-buttons {
  display: flex;
  gap: 1em;
}

@media (max-width: 820px) {
  .registration-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

.registration-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1em 2em;
  background-color: transparent;
  border: 1px solid #FFFFFF;
  cursor: pointer;
  border-radius: 0.5em;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .registration-button {
    width: 100%;
  }
}

.registration-button:hover,
.registration-button.active {
  background-color: #FFFFFF;
  color: #0B2655;
}

.swiper {
  overflow: visible !important;
}

@media (max-width: 1024px) {
  .registration-description {
    max-width: 90%;
  }
}
