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

body,
html {
  height: 100%;
  font-family: "Montserrat", sans-serif;
}

h2 {
  font-size: 2em;
}

.info-contato img {
  width: 24px;
  height: 24px;
}

.section-1 {
  height: 100vh;
  width: 100%;
  max-width: 100vw;
  background-image: url("./assets/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 10px;
  text-align: center;
  background-color: #1d1d1d;
  color: #fff;
}

.section-1 .content {
  background-color: rgba(29, 29, 29, 0.6);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* BASE SECTION */
.section {
  background-color: #1d1d1d;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 5%;
}

/* IMAGES */
.images {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 20px 0;
  justify-content: center;
}

.images img {
  width: 100%;
  max-width: 250px;
  margin: 15px 0;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* HEADER */
.header {
  top: 0;
  background-color: #1d1d1d;
  width: 100%;
  justify-content: space-between;
  color: #fff;
  font-weight: bold;
  flex-wrap: wrap;
}

.header ul {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.header ul li a {
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

/* LOGO */
.logo {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sublogo {
  font-weight: bold;
  color: transparent;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff,
    -1px -1px 0 #fff, 0px 1px 0 #fff, 1px 0px 0 #fff, 0px -1px 0 #fff,
    -1px 0px 0 #fff;
}

/* BUTTON */
.quem-sou-btn {
  padding: 10px 20px;
  background-color: #fff;
  max-width: 400px;
  color: #000;
  align-self: center;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  font-weight: bold;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  transition: background 0.3s, color 0.3s;
}

.quem-sou-btn:hover {
  background-color: #000;
  color: #fff;
}

.headline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HEADLINE */
h1 {
  font-size: 3em;
  color: #d9d9d9;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  word-break: break-word;
}

.content p {
  font-size: 1.2em;
  max-width: 800px;
}

.white-box {
  background-color: white;
  color: #000;
  padding: 10px 8% 20px 10px;
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: "Poppins", sans-serif;
}

.info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.headline p {
  background-color: #1d1d1d;
  padding: 5px;
}

/* ETAPAS */
.etapas {
  text-align: center;
  color: #fff;
  padding: 10em;
}

.etapas h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
}

.etapas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
  width: 100%;
}

.etapa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  color: #000;
  padding: 15px 10px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.etapa:hover {
  transform: translateY(-5px);
}

.etapa .numero {
  font-size: 2.2rem;
  font-weight: 800;
  color: #000;
  background-color: #f4f4f4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.etapa h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.etapa p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.historia {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 2em 5%;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.historia .info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  min-width: 300px;

  a {
    max-width: 300px;
    align-self: center;
  }
}

.historia .info p {
  text-align: left;
  padding: 0;
  line-height: 1.8;
  font-size: 1.2em;
}

.historia img {
  width: 100%;
  max-width: 350px;
  flex: 1;
}

.section-4 {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #d9d9d9;
  color: #1d1d1d;
}

footer {
  background-color: #111;
  color: #d9d9d9;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  gap: 10px;
  p {
    text-align: center;
    font-size: 12px;
  }
  a {
    text-decoration: underline;
    font-size: 12px;
  }
}

.icons {
  margin-top: 10px;
  justify-content: center;
  gap: 20px;
}

.icons p img {
  width: 24px;
  height: 24px;
}

.section-5 {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
}

.section-5 h2 {
  margin-bottom: 30px;
}

.info-contato p {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.1rem;
  margin: 20px 0;
}

.info-contato img {
  width: 24px;
  height: 24px;
}

.info-contato a {
  color: #fff;
  text-decoration: none;
}

.mapa {
  margin-top: 30px;
}

/* MEDIA QUERIES */
@media (max-width: 1600px) {
  .content h1 {
    font-size: 3em;
  }
}

@media (max-width: 1280px) {
  .content h1 {
    font-size: 4em;
  }

  .content p {
    font-size: 1.1em;
  }

  .white-box {
    padding: 6px 5% 10px 5px;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 60px 30px;
  }

  .content h1 {
    font-size: 3em;
  }

  .content p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .images img {
    max-width: fit-content;
  }
  .header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .logo {
    align-items: center;
    text-align: center;
  }

  .content h1 {
    font-size: 2.2em;
  }

  .content p {
    font-size: 1em;
  }

  .quem-sou-btn {
    font-size: 12px;
    width: 100%;
    max-width: 280px;
  }

  .etapas-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .historia {
    flex-direction: column;
    padding: 2em;
  }

  .historia img {
    margin-bottom: 30px;
  }

  .historia .info p {
    text-align: justify;
    font-size: 16px;
  }

  .info-contato p {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    margin: 20px 0;
    span {
      text-align: justify;
    }
  }
}

@media (max-width: 480px) {
  .section-1 .content {
    padding: 10px;
  }

  .section-1 {
    min-height: 100dvh; /* dynamic viewport for mobile browsers */
  }

  .content h1 {
    font-size: 1.6em;
  }

  .content p {
    font-size: 0.74em;
  }
}

@supports (-webkit-touch-callout: none) {
  .section-1 {
    min-height: 100dvh; /* dynamic viewport for mobile browsers */
  }
}
