:root {
  --cor1: #0096ff;
}

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

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 400 20px/28px "Sequel Sans Light Body", "Segoe UI", Arial, sans-serif;
  color: #a0a0a0;
  text-rendering: optimizeLegibility !important;
  background: #0d0d0d;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

section.topo {
  padding: 0 20px;
}

section.topo .centro {
  width: 100%;
  max-width: 983px;
  margin: 0 auto;
  padding: 12px 0 56px;
  position: relative;
}

/* hero */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px 0 10px;
  margin: 0 auto 12px;
  max-width: 802px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-family: "Sequel Sans Bold Body", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
  opacity: 0.16;
  text-align: center;
  font-size: clamp(44px, 8vw, 110px);
  line-height: 0.9;
  pointer-events: none;
  user-select: none;
}

.hero__figure {
  margin: 0;
  position: relative;
  z-index: 2;
  border-radius: 14px;
  overflow: hidden;
  width: min(440px, 92vw);
  box-shadow: none;
  border: none;
  background: transparent;
}

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

section.topo .centro ul {
  margin-top: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin: -20px auto 0;
  max-width: 802px;
  padding: 0;
}

section.topo .centro ul li {
  --action-width: 52px;
  list-style: none;
  width: 48%;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none;
  border-radius: 16px;
  background: #000;
  cursor: pointer;
}

section.topo .centro ul li::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #444;
  border-radius: inherit;
  z-index: 3;
  pointer-events: none;
}

section.topo .centro ul li.breve {
  cursor: not-allowed;
}

section.topo .centro ul li .card__disabled {
  position: absolute;
  inset: 0;
  z-index: 5;
}

section.topo .centro ul li a:link,
section.topo .centro ul li a:active,
section.topo .centro ul li a:visited {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* Box X (imagem) exatamente no tamanho do Box Y (card) */
section.topo .centro ul li figure {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 1;
  border-radius: inherit;
  background-color: #fff;
  background-image: var(--card-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0) contrast(1.1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* Camada preta cobrindo todo o interior útil do card */
section.topo .centro ul li figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.75));
  transition: opacity 0.5s ease;
  pointer-events: none;
}

section.topo .centro ul li:hover {
  --action-width: 70px;
}

section.topo .centro ul li:hover figure {
  transform: scale(1.03);
  filter: brightness(1) saturate(1.08) contrast(1.05);
}

section.topo .centro ul li:hover figure::after {
  opacity: 0;
}

section.topo .centro ul li .card__icon,
section.topo .centro ul li h3,
section.topo .centro ul li p,
section.topo .centro ul li span {
  position: relative;
  z-index: 4;
}

section.topo .centro ul li .card__icon {
  margin: 18px 0 2px 24px;
  width: 24px;
  height: 24px;
}

section.topo .centro ul li .card__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

section.topo .centro ul li h3 {
  margin: 0;
  margin-top: 0.9rem;
  padding: 0 calc(var(--action-width) + 16px) 4px 24px;
  color: var(--cor1);
  font-family: "Sequel Sans Bold Body", "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

section.topo .centro ul li p {
  margin: 0;
  padding: 0 calc(var(--action-width) + 16px) 16px 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

section.topo .centro ul li:hover h3 {
  color: #fff;
}

section.topo .centro ul li span {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--action-width);
  height: 100%;
  background: var(--cor1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19' fill='none'%3E%3Crect width='18.5091' height='18.5091' fill='%230096FF'/%3E%3Cpath d='M5.39856 5.39844H13.1107M13.1107 5.39844V13.1105M13.1107 5.39844L5.39856 13.1105' stroke='%23FAFAFA' stroke-width='1.97164' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: width 0.5s ease;
}

/* bio (bottom) */
section.bio {
  margin: 34px 0 0;
  width: 100%;
  border-radius: 32px 32px 0 0;
  background: #008bed;
  overflow: hidden;
}

.bio__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
}

.bio__texto {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio__texto h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Sequel Sans Bold Body", "Segoe UI", Arial, sans-serif;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.bio__texto h2 b {
  font-weight: 700;
}

.bio__texto p {
  margin: 0;
  color: #f9f9f9;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.55;
  max-width: 62ch;
}

.bio__assinatura {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Sequel Sans Medium Body", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.bio__media {
  margin: auto;
  width: 100%;
  height: 100%;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.bio__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/logo.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(100%, 600px);
  filter: grayscale(1);
  opacity: 1.0;
  z-index: 1;
}

.bio__media img {
  display: block;
  margin: auto;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 680px) {
  .hero {
    padding-top: 18px;
  }

  section.topo .centro ul {
    flex-direction: column;
    gap: 13px;
    margin-top: 0;
  }

  section.topo .centro ul li {
    width: 100%;
    min-height: 125px;
    padding: 0;
  }

  section.topo .centro ul li p {
    padding: 0 70px 14px 14px;
    letter-spacing: 0;
    line-height: 1.25;
  }

  section.topo .centro ul li h3 {
    padding: 0 70px 4px 14px;
  }

  section.topo .centro ul li .card__icon {
    margin: 18px 0 2px 14px;
  }

  .bio__texto h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .bio__texto {
    padding: 30px 18px;
  }

  .bio__texto p {
    font-size: 16px;
    line-height: 1.5;
    max-width: none;
  }

  .bio__inner {
    grid-template-columns: 1fr;
  }

  .bio__media {
    min-height: 220px;
    max-height: 320px;
  }
}

