:root {
  --orange: #ff9228;
  --blue: #0848bd;
  --cyan: #16d5e9;
  --ink: #092f7c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
a,
input {
  font: inherit;
}

a {
  color: inherit;
}

.landing-page,
.image-section,
.image-section picture,
.image-section img {
  display: block;
  width: 100%;
}

.image-section {
  position: relative;
  overflow: hidden;
}

.image-section img {
  height: auto;
}

.hotspot-layer {
  position: absolute;
  z-index: 2;
}

.hotspot {
  display: block;
  min-width: 28px;
  min-height: 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.hotspot:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hotspot:focus-visible,
.gallery-card:focus-visible,
.revolution-cta:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-hotspots {
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 1.1%;
  padding: 0 15.5%;
}

.cta-hotspots {
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.finance-hotspots {
  inset: 20% 28% 15%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3%;
}

.form-section {
  background: #23afe0;
}

.lead-form-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(64%, 1120px);
  padding: 20px 32px 18px;
  color: #1f2a3d;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 15px 28px rgba(0, 72, 140, 0.15);
  transform: translate(-50%, -50%);
}

.form-meta,
.form-steps,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-meta {
  color: #8090a9;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.form-progress {
  height: 5px;
  margin: 7px 0 12px;
  overflow: hidden;
  background: #eef1f6;
  border-radius: 999px;
}

.form-progress span {
  display: block;
  width: 3%;
  height: 100%;
  background: #0e4bc3;
  border-radius: inherit;
}

.form-steps {
  justify-content: flex-start;
  gap: 24px;
  color: #9ca8b8;
  font-size: 10px;
}

.form-steps span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.form-steps span.active {
  color: #23416f;
}

.form-steps span.active::first-letter {
  color: #0d4ac1;
}

.form-steps b {
  font-weight: 500;
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.form-heading--highlight {
  justify-content: center;
  text-align: center;
}

.form-icon {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  font-size: 0;
  background: #edf3ff;
  border-radius: 50%;
}

.form-icon::before,
.form-icon::after {
  position: absolute;
  left: 50%;
  content: "";
  background: #7b9cd4;
  transform: translateX(-50%);
}

.form-icon::before {
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.form-icon::after {
  bottom: 7px;
  width: 15px;
  height: 8px;
  border-radius: 10px 10px 5px 5px;
}

.form-heading h2,
.form-heading p {
  margin: 0;
}

.form-heading h2 {
  color: #0b47b5;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 800;
  line-height: 1.15;
}

.form-heading p {
  margin-top: 8px;
  color: #7c899a;
  font-size: 15px;
  font-weight: 400;
}

.mensagio-form-mount {
  width: 100%;
  min-height: 150px;
}

#mensagio-feedback {
  text-align: center;
}

#interest-form label {
  display: block;
  color: #5e6b7c;
  font-size: 13px;
}

#interest-form label > span {
  display: block;
  margin: 0 0 6px 2px;
}

#interest-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  color: #25334c;
  font-size: 15px;
  background: #ffffff;
  border: 1px solid #dbe1eb;
  border-radius: 9px;
}

#interest-form input::placeholder {
  color: #a8b1bf;
}

#interest-form input:focus {
  border-color: #1552c9;
  outline: 2px solid rgba(21, 82, 201, 0.16);
}

#interest-form input.is-invalid {
  border-color: #d34545;
  background: #fff8f8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.form-grid--lead {
  margin-top: 0;
}

.form-actions {
  justify-content: center;
  margin-top: 18px;
}

.primary-button,
.secondary-button {
  border: 0;
  cursor: pointer;
}

.primary-button {
  min-width: 250px;
  padding: 18px 34px;
  color: #ffffff;
  font-size: 16px;
  background: #082f76;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(8, 47, 118, 0.2);
}

.primary-button span {
  margin-left: 8px;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.secondary-button {
  padding: 10px 2px;
  color: #a2adbb;
  font-size: 11px;
  background: transparent;
}

.form-feedback {
  min-height: 16px;
  margin: 10px 0 0;
  color: #0950ba;
  font-size: 11px;
  text-align: right;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.gallery-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13% 13% 5%;
}

.gallery-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 10px;
  width: 100%;
  transition: transform 300ms ease;
}

.gallery-card {
  position: relative;
  flex: 0 0 calc((100% - 30px) / 4);
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  border: 0;
  background: transparent;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-card:hover {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.27;
  object-fit: cover;
}

.gallery-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding-left: 3px;
  color: #ffffff;
  font-size: 18px;
  background: rgba(7, 36, 111, 0.82);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.gallery-orange .gallery-content {
  padding-top: 8%;
}

.gallery-orange .gallery-card img {
  aspect-ratio: 0.68;
}

.gallery-arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 70px;
  padding: 0;
  color: #ffffff;
  font-size: 56px;
  line-height: 55px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gallery-arrow:hover {
  color: #b4f7ff;
}

.media-modal[hidden] {
  display: none;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 19, 58, 0.84);
  cursor: pointer;
}

.media-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 92vh;
  padding: 18px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.media-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  background: rgba(8, 47, 118, 0.84);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.media-modal-content {
  display: grid;
  place-items: center;
  min-height: 120px;
  overflow: hidden;
  border-radius: 12px;
  background: #071b55;
}

.media-modal-content img {
  display: block;
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.media-modal-content iframe {
  display: block;
  width: min(78vw, 440px);
  height: min(78vh, 720px);
  border: 0;
  background: #000000;
}

.editais-modal-dialog {
  width: min(94vw, 1100px);
}

.editais-modal-header {
  padding: 4px 42px 16px 4px;
  color: #23416f;
}

.editais-modal-header p,
.editais-modal-header h2,
.editais-modal-header span {
  margin: 0;
}

.editais-modal-header p {
  color: #ff9228;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editais-modal-header h2 {
  margin-top: 4px;
  color: #0b47b5;
  font-size: clamp(22px, 3vw, 32px);
}

.editais-modal-header span {
  display: block;
  margin-top: 5px;
  color: #71819a;
  font-size: 13px;
}

.editais-modal-content {
  max-height: 78vh;
  overflow: auto;
  padding: 12px;
  border-radius: 12px;
  background: #f3f6fb;
}

.editais-table-wrap {
  overflow-x: auto;
}

.editais-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #ffffff;
}

.editais-table th,
.editais-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #dbe3ef;
}

.editais-table thead th {
  color: #23416f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #eef3fa;
}

.editais-table tbody th {
  width: 34%;
  color: #0b47b5;
  font-size: 14px;
  font-weight: 800;
}

.editais-table tbody tr:last-child th,
.editais-table tbody tr:last-child td {
  border-bottom: 0;
}

.editais-table a {
  color: inherit;
  text-decoration: none;
}

.editais-title-link:hover,
.editais-description-link:hover {
  text-decoration: underline;
}

.editais-description-link {
  display: block;
  color: #65748a !important;
  font-size: 13px;
  line-height: 1.4;
}

.editais-actions {
  width: 74px;
  text-align: center !important;
}

.editais-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff !important;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  border-radius: 50%;
  background: #0b47b5;
}

.editais-download:hover {
  background: #ff9228;
}

.modal-youtube-link {
  display: inline-block;
  margin: 12px auto 0;
  padding: 9px 15px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  background: #0a45b9;
  border-radius: 999px;
}

body.modal-open {
  overflow: hidden;
}

.revolution-cta {
  position: absolute;
  bottom: 15.5%;
  left: 50%;
  width: 13%;
  min-width: 110px;
  height: 5.8%;
  color: transparent;
  font-size: 0;
  text-decoration: none;
  border-radius: 999px;
  transform: translateX(-50%);
}

@media (max-width: 767px) {
  .nav-hotspots {
    inset: 17% 24% 10%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 1fr);
    gap: 0;
    padding: 0;
  }

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

  .finance-hotspots {
    inset: 17% 8% 8%;
    grid-template-columns: repeat(2, 1fr);
    gap: 6%;
  }

  .lead-form-card {
    width: calc(100% - 28px);
    padding: 18px 14px 16px;
    border-radius: 17px;
  }

  .form-meta {
    font-size: 8px;
  }

  .form-progress {
    height: 4px;
    margin: 5px 0 9px;
  }

  .form-steps {
    justify-content: space-between;
    gap: 4px;
    font-size: 7px;
  }

  .form-steps span {
    gap: 2px;
  }

  .form-steps b {
    display: none;
  }

  .form-heading {
    gap: 8px;
    margin: 0 0 12px;
  }

  .form-heading h2 {
    font-size: 20px;
  }

  .form-heading p {
    margin-top: 6px;
    font-size: 12px;
  }

  #interest-form label {
    font-size: 11px;
  }

  #interest-form label > span {
    margin-bottom: 5px;
  }

  #interest-form input {
    height: 46px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 7px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-actions {
    margin-top: 16px;
  }

  .primary-button,
  .secondary-button {
    font-size: 9px;
  }

  .primary-button {
    min-width: 200px;
    padding: 14px 22px;
    font-size: 13px;
  }

  .secondary-button {
    padding: 8px 2px;
  }

  .form-feedback {
    margin-top: 9px;
    font-size: 10px;
  }

  .gallery-content {
    gap: 4px;
    padding: 20% 7% 5%;
  }

  .gallery-track {
    gap: 5px;
  }

  .gallery-card {
    flex-basis: calc((100% - 5px) / 2);
  }

  .gallery-play-badge {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .gallery-card {
    border-radius: 10px;
  }

  .gallery-arrow {
    width: 19px;
    height: 44px;
    font-size: 31px;
    line-height: 35px;
  }

  .gallery-orange .gallery-content {
    padding: 16% 7% 6%;
  }

  .revolution-cta {
    display: none;
  }

  .media-modal {
    padding: 12px;
  }

  .media-modal-dialog {
    width: 96vw;
    padding: 10px;
    border-radius: 16px;
  }

  .media-modal-content iframe {
    width: min(88vw, 400px);
    height: min(78vh, 680px);
  }

  .editais-modal-dialog {
    width: 96vw;
  }

  .editais-modal-header {
    padding: 4px 34px 12px 2px;
  }

  .editais-modal-content {
    max-height: 76vh;
    padding: 8px;
  }

  .editais-table {
    min-width: 560px;
  }

  .editais-table th,
  .editais-table td {
    padding: 11px 9px;
  }

  .editais-table thead th {
    font-size: 10px;
  }

  .editais-table tbody th,
  .editais-description-link {
    font-size: 11px;
  }

  .editais-download {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
