:root {
  --horizontal-padding: 2rem;
}

/* RESET E BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}

.main-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.section {
  padding: 2rem 1rem;
}

/* INTRO */
.intro-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--gap);
  min-height: 100vh;
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
}

.intro-text-content,
.intro-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
}



/* GALERIA */
.gallery-img {
  width: 100%;
  max-width: 36rem;
  max-height: 36rem;
  overflow: hidden;
}

.gallery-img img {
  transition: all 300ms ease-in-out;
}

.gallery-img img:hover {
  transform: translate(-3%, 3%) scale(1.2) rotate(5deg);
}

/* BACK TO TOP - BOTÃO <-*/
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--white-color);
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--primary-color);
  transform: rotate(-90deg);
  border: 0.1rem solid var(--primary-color);
  z-index: 999;
}


  /* ABAIXO SÓ AS SECTIONS */ 

  /* SLIDE */
  section#slideshow .main-content.grid-one-content p, h2 {
    text-align: center;
  }

    /* CONTACT */
  
  section#contact .main-content.intro-content {
    text-align: center;
    padding: 40px 20px;
  }
  
  section#contact .intro-text-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--white-color);
  }
  
  section#contact .intro-text-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--freeze-color);
  }
  
  section#contact .intro-text-content ul {
    list-style: none;
    padding: 0;
  }
  
  section#contact .intro-text-content ul li {
    margin: 10px 0;
    font-size: 1em;
  }

  section#contact .main-content.intro-content h2, p{
    align-items: center;
  }

  #contact .main-content {
    max-width: 1200px; /* ou use o mesmo valor da grid principal */
    width: 100%;
    padding-left: var(--horizontal-padding);
    padding-right: var(--horizontal-padding);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }