/* =============================================
   A2 Empreendimentos e Engenharia - Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;600&display=swap');

/* ===== GSAP SCROLL SMOOTHER ===== */
/* O wrapper é fixed e esconde overflow para simular o scroll via JS */
#smooth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* O content é movido via transform pelo ScrollSmoother */
#smooth-content {
  overflow: visible;
  width: 100%;
  will-change: transform;
  padding-bottom: 70px;
}


/* ===== VARIABLES ===== */
:root {
  --dark-olive:   #403C01;
  --gold:         #F2B90C;
  --gold-light:   #F2D479;
  --brown:        #594F4F;
  --black:        #0D0D0D;
  --gray:         #D9D9D9;
  --white:        #ffffff;
  --light-bg:     #f7f6f1;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--brown);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none;}
/* ===== REUSABLE ===== */
.btn-primary {
  background-image: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  color: var(--black);
  border: none;
  padding: 12px 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  cursor: pointer;
  transition: background .25s, color .25s;
  text-decoration: none;
  display: inline-block;/
}
.btn-form {
  width: 100%;
  padding: 14px;
  font-size: 14px;
}
.btn-primary img, .btn-outline img {
  margin-left: 10px;
  vertical-align: middle;
  width: 18px;
}

.btn-primary:hover {
  background: var(--dark-olive);
  color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  cursor: pointer;
  transition: background .25s, color .25s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  color: var(--dark-olive);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--brown);
  font-size: 14px;
  margin-bottom: 52px;
}

/* ===== FADE-UP ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 60px;
  box-shadow: 0 2px 12px rgba(13,13,13,.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo .logo-icon img {
  height: 50px;
}

.nav-logo .brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--black);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s;
}

.nav-links a:hover { color: var(--gold); }

/* ===== HAMBURGER ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--black);
  transition: transform .3s ease, opacity .3s ease;
}

/* Animação X ao abrir */
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ===== HERO ===== */
.hero {
  margin-top: 72px;
  position: relative;
  height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url(../image/background.png) center/cover no-repeat;
  filter: brightness(.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(64,60,1,.7) 0%, transparent 70%);
}

.hero-social {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}
.hero-social > a:hover, .footer-social a:hover {
  transform: scale(1.1);
  transition: transform .5s ease-in-out;
}

.hero-social a img, .footer-social a img {
  width: 30px;
  height: 30px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 620px;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-content h1 span { color: var(--gold-light); }

.hero-content p {
  color: rgba(242,212,121,.85);
  font-size: 15px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ===== SERVIÇOS ===== */
#servicos {
  background: var(--light-bg);
  padding: 80px 60px;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--dark-olive);
  padding: 34px 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  border-bottom: 3px solid transparent;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(64,60,1,.25);
  border-bottom-color: var(--gold);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}
.service-card .pa {
  width: 55px;
  height: 55px;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.75;
}
.service-card .card-cta {
  content: "Entrar em contato";
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f2b90c;
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: bottom 0.35s ease;
  cursor: pointer;
}
.service-card .card-cta img {
  width: 35px;
  margin-top: 8px;
}

.service-card:hover .card-cta {
  bottom: 0;
}
/* ===== SOBRE ===== */
.sobre-wrapper {
  background: var(--white);
  padding: 90px 60px;
}

.sobre-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.sobre-left {
  flex: 0 0 300px;
  position: relative;
}
.sobre-left img {
  width: 400px;
}

.sobre-right { flex: 1; }

.sobre-right h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 54px;
  font-weight: 900;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  line-height: 1;
}

.sobre-right p {
  color: var(--brown);
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 32px;
}

/* ===== PROJETOS ===== */
#projetos {
  background: var(--light-bg);
  padding: 80px 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 28px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.project-card:hover img { transform: scale(1.06); }

.project-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(64,60,1,.88);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-label .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  flex-shrink: 0;
  border-radius: 50%;
}

.project-label span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ver-mais {
  text-align: right;
  max-width: 1100px;
  margin: 0 auto;
}

.ver-mais a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-olive);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: color .2s;
}

.ver-mais a:hover { color: var(--gold); }

/* ===== CLIENTES ===== */
.clients-section {
  background: var(--white);
  display: grid;
  place-content: center;
  padding: 60px;
  margin: 0 auto;
  width: 100vw;
}

.clients-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dark-olive);
  margin-bottom: 38px;
}

.clients-row {
  display: flex;
  overflow-x: auto;
  width: 80%;
  margin: 0px auto;
}
.clients-row::-webkit-scrollbar { display: none; }

.clients-row ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  animation: 15s infinite slide linear;
  padding-right: 1.5em;
}
.clients-row li {
  list-style: none;
}
.clients-row img {
  height: 90px;
  filter: grayscale(100%) brightness(85%);
  transition: filter .2s;
}
.clients-row img:hover { filter: grayscale(0) brightness(100%); } 
.clients-row .big {
  height: 60px;
}
/* ===== CONTATO ===== */
.contato-section {
  background: var(--light-bg);
  padding: 80px 60px;
}

.contato-inner {
  display: flex;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.form-box {
  flex: 0 0 360px;
  background: var(--white);
  padding: 38px 34px;
  box-shadow: 0 6px 24px rgba(13,13,13,.07);
}

.form-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-olive);
  margin-bottom: 26px;
  line-height: 1.55;
}

.form-box input,
.form-box textarea {
  width: 100%;
  background: var(--gray);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 14px;
  outline: none;
  resize: none;
  transition: border-color .2s;
}

.form-box input:focus,
.form-box textarea:focus {
  border-bottom-color: var(--gold);
}

.form-box textarea { height: 110px; }

.contact-info { flex: 1; }

.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--dark-olive);
  margin-bottom: 10px;
}

.contact-info .sub {
  color: var(--brown);
  font-size: 14px;
  margin-bottom: 38px;
  line-height: 1.6;
}

.contact-item {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray);
}

.contact-item:last-child { border-bottom: none; }

.contact-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
}
.footer-contact {
  color: var(--white);
  transition: color .5s;
}
.__cf_email__ {
  color: var(--brown);
  transition: color .5s;
}
.__cf_email__:hover, .footer-contact:hover {
  color: var(--gold);
}

.contact-item span {
  font-size: 14px;
  color: var(--brown);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark-olive);
  padding: 54px 60px 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 44px;
}

.footer-logo-icon img {
  height: 120px;
}

.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.5;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  text-decoration: none;
  color: var(--gray);
  font-size: 13px;
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-col p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.85;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social a {
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(242,212,121,.2);
  padding-top: 18px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(217,217,217,.55);
}
.footer-bottom a {
  color: #fff;
}
.footer-bottom a:hover {
  color: var(--gold-light);
  transition: color .5s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  nav { padding: 14px 24px; }
  .nav-links { gap: 16px; }

  .hero-content { padding: 0 30px; }
  .hero-content h1 { font-size: 30px; }

  #servicos,
  .sobre-wrapper,
  #projetos,
  .clients-section,
  .contato-section { padding: 60px 24px; }

  .services-grid,
  .projects-grid { grid-template-columns: 1fr; }

  .sobre-inner { flex-direction: column-reverse; padding-right: 10px;}
  .sobre-left { flex: unset; width: 100%; display: flex; flex-direction: column; align-items: center; }

  .clients-row { width: 100%; }

  .contato-inner { flex-direction: column-reverse; gap: 5px;}
  .form-box { flex: unset; width: 100%; }

  .footer-logo-icon {
    justify-self: center;
  }

  .footer-top { grid-template-columns: 1fr 1fr; }
  footer { padding: 50px 24px 20px; }
}

@media (max-width: 600px) {
  .nav-logo .logo-icon img {height: 45px; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    padding-top: 100px;
    z-index: 100;
    transform: translateX(100%);
    transition: transform .35s ease;
  }

  .nav-links.open { transform: translateX(0); }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { padding-right: 35px ; }
  #sobre {text-align: center;}
  .sobre-left img{width: 80%;}
  
  .section-title { font-size: 28px; }
  .footer-top { grid-template-columns: 1fr; }
}
@keyframes slide {
  from { translate: 0; }
  to { translate: -100%; }
}
