:root {
  --cor-fundo: rgb(204, 162, 35);
  --cor-header: rgb(197, 2, 4);
  --cor-texto: #fff;
  --cor-link: black;
  --fonte-principal: 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: rgb(204, 162, 35);
}

body {
  font-family: var(--fonte-principal);
}

p {
  margin: 1em 0;
  line-height: 1.6;
  padding: 40px;
  justify-content: center;
}

h1, h2, h3, h5 {
  text-align: center;
  margin-bottom: 1rem;
}

main {
  padding-top: 80px; /* espaço para a navbar fixa */
}

/* Links */
a {
  text-decoration: none;
  color: var(--cor-texto);
  transition: 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

#contato{
  text-align: center;
}

#contato_dev {
  color: var(--cor-link);
  text-decoration: underline;
}

.contato {
  color: var(--cor-link);
  font-weight: bold;
  text-decoration: underline;
  
}

/* Header */
.header {
  background: var(--cor-header);
  padding-inline: 16px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nav {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 60px;
  height: 60px;
  margin-top: 7px;
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-list a {
  font-size: 18px;
  padding-block: 16px;
}

/* Botão Hamburguer */
.hamburger {
  display: none;
  border: none;
  background: none;
  border-top: 3px solid #fff;
  cursor: pointer;
}

.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  margin-top: 5px;
  transition: 0.3s;
}

/* Carrossel */
.carousel {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  padding: 16px 0;
}

.carousel__track {
  display: flex;
  width: fit-content;
  animation: scroll 30s linear infinite;
}

.carousel:hover .carousel__track {
  animation-play-state: paused;
}

.carousel__slide {
  flex: 0 0 auto;
  min-width: clamp(200px, 30vw, 400px);
  padding: 0 12px;
}

.carousel__slide img {
  width: 100%;
  height: clamp(200px, 30vw, 400px); /* Altura maior para caber a logo */
  object-fit: contain;               /* Mostra a imagem inteira sem cortes */

  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
}




    /* Estilo do Dropdown */
      .dropdown {
        position: relative;
      }

      .dropbtn {
        cursor: pointer;
      }

      .dropdown-content {
        display: none;
        position: absolute;
        background-color: #fff;
        min-width: 180px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 10;
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .dropdown-content li a {
        padding: 12px 16px;
        display: block;
        color: #333;
        text-decoration: none;
      }

      .dropdown-content li a:hover {
        background-color: #eee;
      }

      /* Mostrar ao passar o mouse */
      .dropdown:hover .dropdown-content {
        display: block;
      }
       .dropdown {
        position: relative;
      }

      .dropbtn {
        cursor: pointer;
      }

      .dropdown-content {
        display: none;
        position: absolute;
        background-color: rgb(197, 2, 4);
        min-width: 180px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 10;
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .dropdown-content li a {
        padding: 12px 16px;
        display: block;
        color:#eee;
        text-decoration: none;
      }

      .dropdown-content li a:hover {
        background-color: rgb(255, 192, 0);
      }

      .dropdown-content.show {
        display: block;
      }

      @media (hover: hover) {
        .dropdown:hover .dropdown-content {
          display: block;
        }
      }

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsividade */
@media (max-width: 750px) {
  .hamburger {
    display: block;
    z-index: 2;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--cor-fundo);
    clip-path: circle(100px at 90% -15%);
    transition: 1s ease-out;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 0;

    pointer-events: none;
  }

  .nav-list a {
    font-size: 24px;
    opacity: 0;
  }

  .nav-list li:nth-child(1) a {
    transition: 0.5s 0.2s;
  }

  .nav-list li:nth-child(2) a {
    transition: 0.5s 0.4s;
  }

  .nav-list li:nth-child(3) a {
    transition: 0.5s 0.6s;
  }

  /* Ativo */
  .nav.active .nav-list {
    clip-path: circle(1500px at 90% -15%);
    pointer-events: all;
  }

  .nav.active .nav-list a {
    opacity: 1;
  }

  .nav.active .hamburger {
    position: fixed;
    top: 26px;
    right: 16px;
    border-top-color: transparent;
  }

  .nav.active .hamburger::before {
    transform: rotate(135deg);
  }

  .nav.active .hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }
}
