@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Arvo:ital,wght@0,400;0,700;1,400&family=Roboto:wght@400;700&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --branco-fundo: #eee5e5;
  --azul-banana: #19647e;
  --azul-escuro: #0d0221;

  --font-head: "Playfair Display", serif;
  --font-main: "Roboto", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--branco-fundo);
  font-family: var(--font-main);
  overflow-x: hidden;
}

header {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 16px;
}

.topo-inteiro {
  display: flex;
  justify-content: center;
}

.topo {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  max-width: 1100px;
  color: #fff;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: var(--azul-banana);
  border-radius: 999px;
  gap: 100px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px;
  margin-left: 100px;
}

.logo {
  margin: 0;
  margin-right: 80px;
}

.logo:hover {
  transform: scale(1.05);
}

.lista {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 50px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.a {
  transition: color 0.2s ease;
  cursor: pointer;
  color: white;
  text-decoration: none;
}

.a:visited {
  color: white;
  text-decoration: none;
}

.a:hover {
  color: #a8d8e8;
}

.a-selected {
  display: inline-block;
  transition: color 0.2s ease;
  cursor: pointer;
  text-decoration: underline 2px;
  text-underline-offset: 7px;
}

.a-selected:hover {
  color: #a8d8e8;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline,
.btn-fill {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.btn-outline:hover {
  transform: scale(1.03);
}

.btn-fill {
  background: white;
  border: none;
  color: var(--azul-banana);
}

.btn-fill:hover {
  transform: scale(1.03);
}

.capa {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: black;
}

.capa::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
  z-index: 1;
}

.slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: troca 32s infinite;
}

.slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow img:nth-child(2) {
  animation-delay: 4s;
}

.slideshow img:nth-child(3) {
  animation-delay: 8s;
}

.slideshow img:nth-child(4) {
  animation-delay: 12s;
}

.slideshow img:nth-child(5) {
  animation-delay: 16s;
}

.slideshow img:nth-child(6) {
  animation-delay: 20s;
}

.slideshow img:nth-child(7) {
  animation-delay: 24s;
}

.slideshow img:nth-child(8) {
  animation-delay: 28s;
}

@keyframes troca {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
  }

  20% {
    opacity: 1;
    transform: scale(1.05);
  }

  25% {
    opacity: 0;
    transform: scale(1.08);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.capa-texto {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.capa-texto span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.capa-texto h1 {
  font-family: var(--font-head);
  font-size: 64px;
  margin-top: 6px;
}

.pages-bar {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.pages {
  display: flex;
  justify-content: center;
}

.pages a {
  position: relative;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #19647e;
  text-decoration: none;
  padding: 16px 28px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.pages a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #19647e 0%, #27a3cc 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.pages a:hover {
  transform: scale(1.05);
}

.pages a:hover::after {
  transform: scaleX(1);
}

main {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 32px;
  line-height: 1.8;
}

main p {
  margin-bottom: 18px;
  color: #3f3f3f;
}

main h2 {
  font-family: var(--font-head);
  font-size: 32px;
  margin: 40px 0 14px;
  color: var(--azul-escuro);
}

main section {
  scroll-margin-top: 60px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 14px;
}

th {
  background: var(--azul-escuro);
  color: white;
  text-align: left;
  padding: 14px 16px;
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e8e8;
}

tr:nth-child(even) td {
  background: #f6f6f6;
}

tr:nth-child(odd) td {
  background: white;
}

.footer {
  background-color: var(--azul-escuro);
}

.footer-inner {
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px;
}
