/*
Theme Name: Galdim Engenharia Theme
Description: Tema personalizado para Galdim Engenharia - Soluções seguras e transparentes para transformar espaços em áreas modernas e de alta performance.
Version: 1.0
Author: Galdim Engenharia
*/

@font-face {
  font-family: "Sans";
  src: url("fonts/BasicallyASansSerif/BasicallyASansSerif-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Sans Bold";
  src: url("fonts/BasicallyASansSerif/BasicallyASansSerif-Bold.otf") format("opentype");
}
@font-face {
  font-family: "Sans Light";
  src: url("fonts/BasicallyASansSerif/BasicallyASansSerif-Light.otf") format("opentype");
}
@font-face {
  font-family: "Sans Semi-Bold";
  src: url("fonts/BasicallyASansSerif/BasicallyASansSerif-SemiBold.otf") format("opentype");
}
.custom-navbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1100px;
  background-color: #FFFFFF;
  padding: 1.5rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  z-index: 1000;
  top: 60px;
}
@media (max-width: 768px) {
  .custom-navbar {
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0;
    top: 0;
  }
}
.navbar-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  height: 30px;
  flex-shrink: 0;
}
.navbar-toggler {
  border: none;
  outline: none;
}
@media (min-width: 1024px) {
  .navbar-nav {
    display: flex;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .navbar-nav {
    display: block;
  }
}
.navbar-nav .nav-link {
  font-family: "Sans Semi-Bold";
  font-size: 1rem;
  font-weight: 600;
  color: #00605F !important;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: #C6AA82;
}

body {
  font-family: "Sans";
  padding-top: 2rem;
}
@media (max-width: 768px) {
  body {
  font-family: "Sans";
  padding-top: 7rem;
}
}
header.masthead {
  position: relative;
  margin-top: 2rem;
  text-align: center;
  color: #fff;
  height: clamp(300px, 50vw, 700px);
  border-radius: 25px;
  overflow: hidden;
  background: url("img/header.png") no-repeat center center;
  background-size: cover;
  max-width: 95%; 
  margin: 0 auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.masthead-heading {
  font-size: clamp(1.90rem, 4vw, 3rem);
  max-width: 80%;
  text-align: center;
  line-height: 1.4;
  font-family: 'Sans Bold';
}

@media (max-width: 760px) {
  .masthead-heading {
    font-size: 25px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  /* Reduzir padding e margin das seções no mobile */
  .info-section,
  .features-section,
  .banner-section,
  .services-section,
  .projects-section,
  .clients-section,
  .testimonials-section,
  .footer-section {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
}
header.masthead .highlight {
  color: #9DEED4;
}
.info-section {
  padding: 4rem 2rem;
}
.info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}
.info-title {
  font-family: 'Sans Bold';
  flex: 1; 
  max-width: 40%;
}
.info-title h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: right;
  color: #00605F;
}
.subtitle {
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-align: right;
  font-weight: 700;
  color: #00605F;
}
.info-description {
  flex: 2; 
  max-width: 60%;
  font-size: clamp(1rem, 1.5vw, 1rem);
  line-height: 1.6;
  color: #C6AA82; 
  letter-spacing: 2px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .info-wrapper {
    flex-direction: column; 
    text-align: left;
    align-items: normal;
    gap: 1rem;
  }
  .info-title, .info-description {
    max-width: 100%; 
  }
  .info-title h2 {
  text-align: left;
  line-height: 1.4;
   margin-bottom: 0em;
}
.subtitle {
  text-align: left;
  line-height: 1.4;
}
}
.features-section {
  padding: 4rem 2rem;
}
@media (max-width: 768px){
  .features-section {
    padding: 0rem 2rem 2rem;
  }
}
.features-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem; 
}
.feature-box {
  flex: 1; 
  border: 7px solid #9DEED4; 
  padding: 2rem;
  text-align: center;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.feature-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-top: 5%;
  font-weight: 700;
  font-family: 'Sans Bold';
  color: #00605F;
  letter-spacing: 2px;
}
.feature-description {
  font-size: clamp(1rem, 1.5vw, 1rem);
  letter-spacing: 2px;
  color: #00605F
}
@media (max-width: 768px) {
  .features-wrapper {
    flex-direction: column; 
    align-items: center;
  }
  .feature-box {
    max-width: 100%; 
    width: 90%; 
    min-width: 280px; 
  }
}
.banner-section {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
}
.banner-container {
  width: 95%; 
  border-radius: 25px; 
  overflow: hidden;
}
.banner-image {
  width: 100%; 
  display: block; 
  border-radius: inherit; 
  margin-bottom: 3rem;
}
.services-section {
  background-color: #FCF6EB;
  padding: 4rem 0; 
  width: 95%; 
  margin: 0 auto; 
  display: flex;
  justify-content: center;
  border-radius: 25px; 
}
.services-container {
  width: 95%; 
  max-width: 1200px;
  margin: 0 auto;
}
.services-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  font-family: 'Sans Bold';
  color: #00605F; 
  text-align: left;
}
.services-description {
  font-size: clamp(1rem, 2vw, 1rem);
  letter-spacing: 2px;
  font-weight: 500;
  color: #C6AA82; 
  text-align: left; 
  margin-bottom: 2rem;
}
.services-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-box {
  display: flex;
  align-items: center;
  gap: 2rem; 
  padding: 2rem 1.5rem;
  background-color: white;
  border-radius: 25px;
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);
  width: 70%; 
  height: clamp(100px, 12vw, 160px);
  margin: 0 auto;
}
.service-icon {
  width: 90px;
  height: 90px;
  margin-left: 1rem;
}
@media (max-width: 768px) {
  .service-icon {
  width: 70px;
  height: 70px;
  margin-left: 0;
  }
}
.service-text {
  font-size: clamp(1.2rem, 2vw, 1rem);
  letter-spacing: 2px;
  font-weight: 500;
  color: #00605F;
}
 .services-description {
  width: 70%;
  margin: 0 auto 2rem auto;
}
.services-title{
  width: 70%;
  margin: 0 auto 1rem auto;
}
.service-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 2px;
  color: #00605F;
}
@media (min-width: 1024px) {
  .service-box {
    gap: 4rem;
  }
  .service-icon {
    margin-left: 3rem; 
  }
  .service-text {
    max-width: 65%;
  }
}
@media (max-width: 768px) {
  .services-container {
    width: 90%;
  }
  .service-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    height: auto;
  }
}
.service-note {
  text-align: left;
  font-size: clamp(1.2rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #00605F; 
  border: 4px solid #9DEED4; 
  margin-top: 2rem; 
  border-radius: 20px; 
  width: 70%;
  font-family : 'Sans Semi-Bold'; 
  margin-left: auto;
  margin-right: auto;
  background-color: transparent; 
  display: flex;
  align-items: center;
  justify-content: center; 
}
@media (min-width: 1024px) {
  .service-note {
    padding-top: 1rem;
  }
}
@media (max-width: 768px) {
  .service-note {
    width: 70%;
    font-size: 1.2rem;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    padding: 0.25rem;
  }
  .service-note p{
    margin-top: 1rem!important;
  }
}
.projects-section {
  padding: 10rem 0;
}
@media (max-width: 768px) {
  .projects-section {
    padding: 6rem 0;
  }
}
.projects-title {
  font-family: 'Sans Bold';
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  font-weight: 700;
  color: #00605F;
}
.projects-description {
  font-size: clamp(1rem, 1.5vw, 1rem);
  letter-spacing: 2px;
  color: #C6AA82;
  margin-bottom: 2rem;
}
.project-box {
  position: relative;
  width: 100%;
  max-height: 450px;
  min-height: 200px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .project-box {
    min-height: 450px;
  }
}
.project-box::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(0, 96, 95, 0.6) 25%,
    rgba(0, 96, 95, 0.3) 50%,
    rgba(0, 96, 95, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.project-text {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: white;
  font-size: clamp(1.20rem, 2vw, 2.5rem);
  line-height: 1;
  font-family: "Sans Bold";
  font-weight: 700;
  padding: 1rem;
  z-index: 2;
}
@media (max-width: 768px) {
 .project-text{
   left: 2%;
 }
}
.clients-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-family: 'Sans Bold';
  font-weight: 700;
  color: #00605F;
}
.clients-description {
  font-size: clamp(1rem, 2vw, 1rem);
  letter-spacing: 2px;
  color: #C6AA82;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
 .clients-description {
  margin-bottom: 2rem;
 }
}
.client-box {
  width: clamp(140px, 15vw, 180px); 
  height: clamp(140px, 15vw, 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1); 
  border-radius: 50%;
}
.client-box img {
  width: 70%;
  height: auto;
}
.testimonials-section {
   padding: 6rem 0;
  margin-left: 50px;
  margin-right: 50px !important;
}
@media (max-width: 768px) {
  .client-box {
    width: 150px;
    height: 150px;
  }
  .testimonials-section {
  padding: 6rem 0;
  margin-right: 50px;
  margin-left: 0px;
}
}
.row {
  justify-content: center !important;
}
.client-box {
  margin: 0 auto;
}

.testimonials-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #00605F;
}
.testimonials-description {
  font-size: clamp(1.2rem, 2vw, 1.25rem);
  color: #C6AA82;
  margin-bottom: 2rem;
}
.testimonials-wrapper {
  display: flex;
  gap: 2rem;
  overflow-x: auto; 
  scroll-snap-type: x mandatory;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}
.testimonial-box {
  min-width: clamp(350px, 40vw, 350px);
  height: auto; 
  padding: 2rem;
  background-color: #FCF6EB;
  border-radius: 15px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  margin-right: 50px;
}
.testimonial-author {
  font-size: 1.2rem;
  font-weight: 700;
  color: #004D46;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}
.testimonial-role {
  font-size: 1rem;
  color: #C6AA82;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1rem;
  font-weight: 500;
  color: #00605F;
  flex-grow: 1;
  letter-spacing: 1px;
}

@media (max-width: 991.98px) {
  .testimonials-wrapper {
    display: none !important;
  }
  .carousel .testimonial-box {
    background-color: #FCF6EB;
    border-radius: 15px;
    padding: 2rem;
    margin: 0 1rem;
  }
  .carousel-inner {
    position: relative;
    width: 100%;
    overflow: visible;
}
}
.footer-section {
  background-color: #00605F;
  width: 95%;
  margin: 0 auto;
  padding: 6rem 0;
  border-radius: 25px;
  margin-bottom: 1rem;
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}
.footer-left {
  flex: 1;
}
.footer-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: #ffffff;
  letter-spacing: 4px;
  width: 80%;
  font-family: 'Sans Bold';
  margin-bottom: 2rem;
}
.contact-form {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 70%;
}
.contact-form input {
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: 5px;
  background-color: #FCF6EB;
  color: #C6AA82;
  font-size: 1rem;
}
::placeholder {
  color: #C6AA82;
}
.send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #9DEED4;
  color: #00605F;
  font-size: 1rem;
  font-family: 'Sans Bold';
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
}
.send-button img {
  width: 18px;
}
.footer-right {
  font-family: "Sans Light";
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .footer-right {
    margin-top: 7.5rem;
  }
}
.address-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.address-wrapper img {
  width: 35px;
  flex-shrink: 0;
}
.address-text {
  font-size: 1rem;
  color: white;
  line-height: 1.5rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-address {
  margin-top: 1.5rem;
}
.contact-details,
.contact-address {
  font-size: 1rem;
  color: white;
  line-height: 1.8rem;
}
.contact-address span {
  display: block;
  margin-top: 0.2rem;
}
.contact-address img {
  width: 35px;
  margin-right: 0.5rem;
}
.contact-social img {
  width: 35px;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .footer-section {
    padding: 3rem 1.5rem;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
   .footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-left, .footer-right {
    width: 100%;
  }
  .footer-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    width: 100%;
  }
  .contact-form {
    align-items: center;
    width: 90%;
  }
  .contact-form input {
    width: 100%;
  }
  .send-button {
    width: 100%;
    justify-content: center;
  }

  .contact-info {
    text-align: center;
  }
  .contact-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-social img {
    margin-top: 1rem;
  }
}
.footer-bottom {
  display: flex;
  justify-content: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 2rem auto 0 auto;
  padding-top: 1rem;
}
.footer-bottom p {
  font-size: 0.9rem;
  font-family: 'Sans Light';
  color: white;
  margin: 0;
}
@media (max-width: 768px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  overflow: visible;
}
.whatsapp-float:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  background: #20ba5a;
  text-decoration: none;
}
.whatsapp-float i {
  font-size: 30px;
  color: #fff;
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* Efeito de ondas */
.whatsapp-float::before, .whatsapp-float::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(37, 211, 102, 0.3);
  z-index: 1;
  animation: whatsapp-wave 1.6s infinite;
  pointer-events: none;
}
.whatsapp-float::after {
  animation-delay: 0.8s;
}

@keyframes whatsapp-wave {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.7);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

/* Efeitos de aparecimento para as seções */
section, header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible, header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Atrasos diferentes para cada seção para criar um efeito escalonado */
.info-section { transition-delay: 0.1s; }
.features-section { transition-delay: 0.2s; }
.banner-section { transition-delay: 0.3s; }
.services-section { transition-delay: 0.4s; }
.projects-section { transition-delay: 0.5s; }
.clients-section { transition-delay: 0.6s; }
.testimonials-section { transition-delay: 0.7s; }
.footer-section { transition-delay: 0.8s; }
