@import "./global.css";

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: Arial, Helvetica, sans-serif;
}

#golpe-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

#golpe-modal img {
  max-width: 70%;
  max-height: 70%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#golpe-modal .close-btn {
  position: absolute;
  top: 10%;
  right: 10%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  #golpe-modal img {
    max-width: 100%;
    /* Para telas menores, ocupa quase toda a largura */
    max-height: 100%;
    /* E ocupa quase toda a altura */
  }

  #golpe-modal .close-btn {
    font-size: 1.2rem;
  }
}

.logo {
  width: 200px;
  height: 111px;
  margin: 9px 3vw;
  margin-left: 10vw;
}
.navbar {
  position: fixed;
  z-index: 2;
  display: flex;
  background-color: var(--gray-600);
  width: 100%;
  box-shadow: -0px -12px 13px 17px rgba(129, 129, 139, 1);
  overflow-x: clip;
  top: 0;
}
.navbar ul {
  top: 0;
  display: flex;
  list-style: none;
  width: 100%;
  justify-content: space-evenly;
  margin: 0 4rem;
  z-index: 1;
}
.navbar ul li {
  display: flex;
  align-items: end;
}

.navbar ul li a {
  text-decoration: none;
  padding: 10px 1.625rem;
  color: var(--gray-900);
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.5s;
  margin-bottom: 9px;
  letter-spacing: 1px;
}
.navbar ul li a:hover {
  color: var(--blue-700);
}

.menu-buttom {
  z-index: 2;
  width: 50px;
  height: 50px;
  background-color: var(--gray-900);
  display: none;
  border-radius: 50%;
  cursor: pointer;
}
.menu-buttom div.hamburger-icon {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.line {
  height: 3px;
  width: 50%;
  background-color: var(--white);
  margin: 2px;
  border-radius: 5px;
  transition: all 0.2s;
}
.hamburger-icon.close .line {
  position: absolute;
}

.menu-buttom .hamburger-icon.close .line:nth-child(1) {
  transform: rotate(45deg);
}
.menu-buttom .hamburger-icon.close .line:nth-child(2) {
  transform: rotate(135deg);
}
.menu-buttom .hamburger-icon.close .line:nth-child(3) {
  transform: rotate(135deg);
}
.background-initial {
  position: relative;
  background-color: var(--gray-900);
  margin-top: 111px;
  height: 23.68rem;
  transition: 0.5s;
}
.background-initial a {
  font-size: 4rem;
  position: absolute;
  color: var(--white);
  left: 50%;
  top: 80%;
  z-index: 1;
  cursor: pointer;
}
.background-initial a i {
  transform: rotate(180deg);
  text-shadow: 0.1px 0.1px 25px black;
}
.background-initial img {
  position: relative;
  object-fit: cover;
  width: 100%;
  object-position: 50% 50%;
  opacity: 0.5;
  height: 100%;
  transition: 0.5s;
}
.images-office {
  background-color: var(--gray-900);
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.images-office div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 20%;
  margin-top: 1.5rem;
  gap: 3rem;
}
.images-office div img {
  width: 28.31rem;
  height: 18.93rem;
  object-fit: cover;
  object-position: top;
}

main {
  background-color: var(--gray-600);
}
main div.about {
  position: relative;
}
main div.about img {
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 11rem;
  object-position: bottom;
}
main div.about h1 {
  position: absolute;
  left: 20%;
  top: 25%;
  color: var(--gray-900);
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 3rem;
}

main .container p {
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5%;
  margin-top: 0rem;
  text-align: justify;
  color: var(--gray-900);
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin-bottom: 6rem;
}

main div.team {
  position: relative;
  background-color: var(--gray-900);
  display: flex;
  flex-direction: column;
  background-image: url("../images/detalheLogotipo.png");
  background-repeat: no-repeat;
  background-position: 0% 95%;
  background-size: 60%;
}
main div.team div:nth-child(1) h1 {
  position: absolute;
  right: 20%;
  top: 3rem;
  color: var(--white);
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 3rem;
}

main div.team div:nth-child(1) img {
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 11rem;
  object-position: bottom;
}
.acting {
  position: relative;
}
main div.acting div:nth-child(1) {
  height: 9rem;
}
main div.acting div:nth-child(1) img {
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 11rem;
  object-position: bottom;
}

main div.acting div:nth-child(1) h1 {
  position: absolute;
  left: 20%;
  top: 3rem;
  color: var(--gray-900);
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 3rem;
}
main div.acting div:nth-child(2) {
  display: flex;
  justify-content: center;
}

main div.acting summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  color: var(--gray-900);
  font-weight: bold;
}

main div.acting summary::after {
  display: inline-block;
  transition: 0.2s;
  content: "\2039"; /* chevron */
  font-size: 1.25rem;
}

main div.acting details[open] summary::after {
  transform: rotate(-90deg);
}

main div.acting details p {
  color: var(--gray-900);
  font-weight: 100;
  margin: 1rem 0;
}

.accordion {
  list-style: none;
  width: 80%;
  min-width: 280px;
}
.accordion li {
  border-bottom: 1px solid var(--gray-900);
  padding: 0.8rem 0;
  cursor: pointer;
}
.accordion li details summary h3 {
}

.lawer-information {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 6%;
  gap: 2%;
  color: var(--gray-600);
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.lawer-information div h1 {
  font-size: 2.125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
}
.lawer-information div h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.1875rem;
  color: #c8c8c8;
}
.lawer-information div ul {
  color: var(--gray-600);
  margin-left: 0.625rem;
  padding-left: 1.625rem;
  font-weight: 100;
  max-width: 590px;
}
.lawer-information div ul li {
  line-height: 1.5em;
  font-size: 1.2rem;
}

.lawer-information:nth-child(3) {
  flex-direction: row-reverse;
  margin-bottom: 9rem;
}
.lawer-information:nth-child(3) h1,
.lawer-information:nth-child(3) h2 {
  text-align: end;
}
.lawer-information img {
  width: 20.75rem;
  border-radius: 50%;
  border: 6px solid var(--gray-600);
}

.form-contact {
  display: flex;
}
.form-contact img {
  width: 15.375rem;
  height: 33.6875rem;
  object-fit: cover;
  object-position: right;
}
.form-contact form {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.form-contact form button[type="submit"] {
  align-self: end;
  width: 100px;
  margin-right: 3.25%;
  margin-top: 1rem;
  border: 3px solid #658ea1;
  border-radius: 1.5rem;
  background-color: var(--gray-900);
  color: white;
  padding: 10px;
  transition: all 0.5s;
}
.form-contact form button[type="submit"]:hover {
  background-color: #658ea1;
}

.form-contact form div:nth-child(1) {
  position: relative;
  width: 100%;
  background-image: url("../images/waveBackground.png");
  background-position: center;
  background-size: 100%;
  height: 12rem;
}
.form-contact form div {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.form-contact form input {
  padding: 10px;
  border: 2px solid #c4c4c4;
  color: var(--gray-900);
  font-weight: bold;
}
.form-contact form input:hover {
  border-color: #658ea1;
}
.form-contact form textarea:hover {
  border-color: #658ea1;
}
.form-contact form textarea {
  border: 2px solid #c4c4c4;
  color: var(--gray-900);
  resize: none;
  width: 93.5%;
  align-self: center;
  margin-top: 1rem;
  padding: 20px 10px;
  font-weight: bold;
}
.form-contact form div input {
  width: 45%;
}
.form-contact form div h1 {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 3rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 890px) {
  .menu-buttom {
    display: block;
    margin-right: 2rem;
  }
  .form-contact form div h1 {
    font-size: 2rem;
  }
  .form-contact img {
    display: none;
  }

  .logo {
    height: 111px;
    width: 200px;
    margin: 9px 0px 9px 15px;
    padding: 5px;
  }
  .navbar {
    justify-content: space-between;
    align-items: center;
  }
  .navbar ul {
    position: absolute;
    display: flex;
    width: 60%;
    padding: 0px 2rem;
    flex-direction: column;
    padding-bottom: 20px;
    padding-top: 100px;
    height: 100vh;
    right: -60%;
    background-color: var(--gray-600);
    opacity: 0;
    transition: all 0.5s;
    justify-content: flex-start;
    margin: 0;
  }
  .navbar ul.visible {
    top: 0;
    opacity: 1;
    right: 0;
  }
  .navbar ul li {
    border-bottom: 1px solid var(--blue-700);
    width: 100%;
    display: flex;
    justify-content: end;
    letter-spacing: 2px;
  }
  .navbar ul li a {
    padding: 10px 0px 10px 1.625rem;
    margin: 9px 0;
    font-size: 1.55rem;
  }
  .lawer-information:nth-child(2) {
    margin-top: 0;
  }

  .lawer-information {
    flex-direction: column;
    gap: 1.5rem;
  }
  .lawer-information img {
    width: 14.25rem;
  }
  .lawer-information:nth-child(3) h1,
  .lawer-information:nth-child(3) h2 {
    text-align: start;
  }
  main div.team div:nth-child(1) h1 {
    font-size: 1.75rem;
  }

  main div.acting div:nth-child(1) h1 {
    font-size: 1.75rem;
  }
  main div.acting div:nth-child(1) img {
    height: 9rem;
  }
}

footer {
  display: flex;
  gap: 1rem;
  position: relative;
  min-height: 10rem;
  height: auto;
  background-color: var(--gray-900);
  flex-wrap: wrap;
  justify-content: space-evenly;
  color: var(--gray-600);
  align-items: center;
  background-image: url("../images/detalheLogotipo.png");
  background-position: 0% 50%;
  background-size: 20%;
  background-repeat: no-repeat;
  font-weight: 100;
}
footer i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}
footer a {
  text-decoration: none;
}
footer div:last-child {
  display: flex;
  align-items: center;
}
footer span#brand {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
}
@media (max-width: 720px) {
  footer {
    flex-direction: column;
    padding: 1rem 0;
  }
  footer span#brand {
    display: none;
  }
  footer div,
  footer a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .navbar {
    position: relative;
  }
  .background-initial {
    //margin-top: 131px;
    margin: 0;
    height: 10.18rem;
  }
  .background-initial a {
    display: none;
  }
  main div.about img {
    object-fit: contain;
    height: auto;
  }
  main div.about h1 {
    position: absolute;
    left: 20%;
    top: 25%;
    color: var(--gray-900);
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 2rem;
  }
  main div.team img {
    object-fit: contain;
    height: auto;
  }

  .images-office {
    justify-content: start;
  }
  .images-office div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    margin-top: 2rem;
    width: 100%;
    align-items: center;
    gap: 1rem;
  }
  .images-office div img {
    width: 80%;
    height: 188px;
  }
  main div.acting summary {
    font-size: 1.2rem;
  }
}
