@font-face {
  font-family: ROMANUS;
  src: url(fonts/ROMANUS.otf) format(opentype);
}

:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-primary: #DFD0B8;
  --color-secondary: #948979;
  --color-tertiary: #3C5B6F;
  --color-background: #153448;
  --color-degrade:linear-gradient(to left, #153448, #091720);


  --font-title: 'ROMANUS', sans-serif;
  --font-texto: 'Arial', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {

  background-image: url(img/background.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.link-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.link-whatsapp img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.link-whatsapp:hover {
  transform: scale(1.20);
}

.link-whatsapp-text {
  background-image: linear-gradient(to right, #3f8f41, #2a5f2c);
  border-radius: 50px;
  padding: 10px 20px;
  text-align: center;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-texto);
  display: flex;
  align-items: center;
  margin-top: 50px;
}

.link-whatsapp-text img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.link-whatsapp-text:hover {
  transform: scale(1.05);
}


.header-content {
  background-image: url(img/img-header3.jpg);
  background-size: cover;
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-color: rgba(0, 0, 0, 0.781);
  border-bottom: 3px solid var(--color-primary);

  width: 100%;
  height: auto;
  min-height: 800px;
  padding: 0 5%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.header-title {
  font-family: var(--font-title);
  font-size: 4.5rem;
  color: var(--color-primary);
  letter-spacing: 6px; 
  font-weight: 900; 
  text-shadow: 2px 2px 8px #000, 0 0 2px #000; 
}

.header-subtitle {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-secondary);
  text-align: center;
  letter-spacing: 3px; 
  text-shadow: 1px 1px 6px #000, 0 0 2px #000;
}

.header-welcome,
.header-welcome_extra {
  text-shadow: 1px 1px 6px #000, 0 0 2px #000;
  font-weight: 600;
}

.header-welcome {
  padding: 20px;
  text-align: center;
  font-family: var(--font-texto);
  font-size: 2.5rem;
  margin: 10px 20px;
  color: var(--color-white)
}

.header-welcome_extra {
  font-family: var(--font-texto);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-top: 10px;
}


main {
  display: flex;
  flex-direction: column;
  margin: auto;
}

.services-content {
  margin: auto;
  padding: 10px 5%;
  max-width: 1600px;
}

.services-title {
  font-family: var(--font-title);
  font-size: 3rem;
  letter-spacing: 4px;
  color: var(--color-background);
  font-weight: bold;
  text-shadow: 2px 2px 2px #0000004d; 
  text-align: center;
  margin-top: 50px;
}

.services-subtitle {
  font-family: var(--font-texto);
  font-size: 1.8rem;
  color: var(--color-black);
  text-align: center;
  margin: 25px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais */
  gap: 15px;
  list-style-type: none;
  justify-items: stretch;
}

.service-item {
  background-image: var(--color-degrade);
  border: 3px solid var(--color-secondary);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 300px;
  max-height: 350px;
  height: auto;


  font-family: var(--font-texto);
  color: var(--color-white);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.5);
}

.service-icon {
  font-size: 4rem !important;
  color: var(--color-primary);
  margin-top: 20px;
}

.service-item h3 {
  font-size: 1.7rem;
}

.service-item p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.about-content {
  background-image: var(--color-degrade);
  color: var(--color-white);
  padding: 50px 5%;
  text-align: center;
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  height: auto;
  min-height: 500px;

  display: flex;
  flex-direction: row;
}

.about-text {
  font-family: var(--font-texto);
  margin: 20px auto;
  width: 50%;
  text-align: left;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-text h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 5px;
  text-shadow: 1px 1px 4px #000, 0 0 2px #000;
}

.about-text p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--color-white);
  text-align: justify;
}

.about-image {
  flex: 1;
  max-width: 600px;
  margin: auto;
  width: 50%;
}

.about-image img {
  width: 80%;
  height: auto;
  border-radius: 10px;
}

.contact-content {
  padding: 30px;
  max-width: 1600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-content h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--color-background);
  margin-bottom: 20px;
  letter-spacing: 5px;
  font-weight: bold; 
}
.contact-content p {
  font-family: var(--font-texto);
  font-size: 1.2rem;
  color: var(--color-background);
}

.contact-email {
  font-family: var(--font-texto);
  font-size: 1.2rem;
  color: var(--color-black);  
}

.contact-number {
  font-family: var(--font-texto);
  font-size: 1.2rem;
  color: var(--color-black);
  text-decoration: none;
}

.link-whatsapp-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(to right, #3f8f41, #2a5f2c);
  border-radius: 50px;
  padding: 10px 20px;
  text-decoration: none;
  flex-direction: row;
  width: auto;
  max-width: 360px;
}

.link-whatsapp-contact p {
  color: var(--color-white);
  font-family: var(--font-texto);
  font-size: 1.4rem;
}

.link-whatsapp-contact img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.link-whatsapp-contact:hover {
  transform: scale(1.05);
}

footer {
  background-color: var(--color-background);
  color: var(--color-white);
  text-align: center;
  padding: 20px;
  font-family: var(--font-texto);
  font-size: 1.2rem;
}

.footer-text {
  margin: 10px 0;
}

 .footer-text > a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bolder;
}


@media (max-width: 1000px) {
  .services-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    max-width: 100%;
  }
  .about-content {
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 768px) {
  body {
    background-attachment: scroll;:
  }

  .header-content {
    padding: 10px 5%;
    text-align: center;
    background-attachment: scroll;
  }
  
  .header-title {
    font-size: 2.2rem;
  }

  .header-subtitle {
    font-size: 1.8rem;
  }

  .header-welcome {
    font-size: 1.8rem;
  }

  .link-whatsapp-text {
    font-size: 1.4rem;
    padding: 10px 15px;
  }

  .services-title {
    font-size: 2.5rem;
  }

  .services-subtitle {
    font-size: 1.5rem;
  }

  .service-item h3 {
    font-size: 1.5rem;
  }

  .service-item p {
    font-size: 1rem;
  }

  .about-content {
    flex-direction: column;
    margin: 0 auto;
  }
  .about-text {
    width: 90%;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1.2rem;
  }

  .about-image {
    width: 90%;
    margin: 20px auto;
  }



  .contact-content {
    padding: 20px;
    text-align: center;
  }

  .contact-content a {
    display: inline-block;
    margin-top: 10px;
  }
  .link-whatsapp-contact {
    font-size: 1.2rem;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    flex-direction: row;
    width: 99%;
  }

  .link-whatsapp-contact p {
    font-size: 1.2rem;
  }
  .link-whatsapp-contact img {
    width: 30px;
    height: 30px;
    
  }

  .footer-text {
    font-size: 1rem;
  }

  .link-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 1000;
}

.link-whatsapp img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.link-whatsapp:hover {
  transform: scale(1.20);
}
}