/* Definição de variáveis de cores e estilos globais */
:root {
  --primary-color: #0071e3;
  --secondary-color: #005bbe;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --white: #fff;
  --black: #000;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
  scroll-behavior: smooth;
}

body {
  min-height: 1000px;
  background-color: var(--white);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  padding: 80px 20px;
  width: 100%;
}

.content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.heading {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.heading h2 {
  color: var(--dark-color);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.heading p {
  color: var(--gray-color);
  font-size: 18px;
}

.heading.white h2,
.heading.white p {
  color: var(--white);
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: 0.5s;
  margin-top: 20px;
}

.btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 12px 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: 0.5s;
  margin-top: 20px;
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: 0.5s;
  background: transparent;
}

header.sticky {
  background: var(--white);
  padding: 15px 100px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .logo {
  color: var(--white);
  font-size: 24px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

header.sticky .logo {
  color: var(--dark-color);
}

header .logo span {
  color: var(--primary-color);
}

header ul {
  position: relative;
  display: flex;
  list-style: none;
}

header ul li {
  position: relative;
  margin-left: 30px;
}

header ul li a {
  position: relative;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: 0.5s;
}

header.sticky ul li a {
  color: var(--dark-color);
}

header ul li a:hover,
header ul li a.active {
  color: var(--primary-color);
}

.toggle {
  display: none;
}

/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url('banner-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 100px;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.banner .textBx {
  position: relative;
  max-width: 600px;
  z-index: 2;
}

.banner .textBx h1 {
  font-size: 48px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 700;
}

.banner .textBx h1 span {
  color: var(--primary-color);
}

.banner .textBx h2 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
}

/* About Section */
.about {
  background: var(--white);
}

.about .content {
  justify-content: space-between;
  align-items: center;
}

.about .contentBx {
  position: relative;
}

.about .contentBx h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--dark-color);
  font-weight: 600;
}

.about .contentBx p {
  margin-bottom: 15px;
  color: var(--gray-color);
  line-height: 1.8;
}

.w50 {
  width: 48%;
}

.img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}

.img:hover {
  transform: scale(1.02);
}

/* Services Section */
.services {
  background: var(--dark-color);
}

.services .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
  margin-top: 40px;
}

.services .servicesBx {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  border-radius: 16px;
  transition: transform 0.5s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.services .servicesBx:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.services .servicesBx img {
  max-width: 80px;
  margin-bottom: 20px;
}

.services .servicesBx h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-color);
}

.services .servicesBx p {
  color: var(--gray-color);
  font-size: 16px;
  line-height: 1.6;
}

/* Work Section */
.work .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
  margin-top: 40px;
}

.work .workBx {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}

.work .workBx:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.work .workBx img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  vertical-align: middle;
  transition: transform 0.5s;
}

.work .workBx:hover img {
  transform: scale(1.1);
}

.work .workBx .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.5s;
}

.work .workBx:hover .overlay {
  opacity: 1;
}

.work .workBx .overlay h4 {
  color: var(--white);
  font-size: 20px;
  text-align: center;
  padding: 0 20px;
  font-weight: 500;
}

/* Testimonial Section */
.testimonial {
  background: var(--light-color);
}

.testimonial .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 30px;
  margin-top: 40px;
}

.testimonial .testimonialBx {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  position: relative;
  transition: transform 0.5s;
}

.testimonial .testimonialBx:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial .testimonialBx .quote {
  position: absolute;
  top: 20px;
  right: 30px;
  color: rgba(0, 113, 227, 0.1);
  font-size: 44px;
}

.testimonial .testimonialBx p {
  color: var(--gray-color);
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.testimonial .testimonialBx .details {
  display: flex;
  align-items: center;
}

.testimonial .testimonialBx .details .imgBx {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial .testimonialBx .details .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial .testimonialBx .details h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.testimonial .testimonialBx .details span {
  font-size: 14px;
  color: var(--primary-color);
}

/* Contact Section */
.contact {
  background: var(--dark-color);
}

.contact .content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contactInfo,
.formBx {
  width: 48%;
}

.contactInfo h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 600;
}

.contactInfoBx {
  position: relative;
}

.contactInfoBx .box {
  position: relative;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
}

.contactInfoBx .box .icon {
  min-width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 18px;
  color: var(--primary-color);
}

.contactInfoBx .box .text {
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.contactInfoBx .box .text h4 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contactInfoBx .box .text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
}

.formBx {
  padding-left: 20px;
}

.formBx h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 600;
}

.formBx form {
  width: 100%;
}

.formBx form input,
.formBx form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  outline: none;
  color: var(--white);
  font-size: 16px;
  border-radius: 8px;
  transition: 0.3s;
}

.formBx form input:focus,
.formBx form textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 113, 227, 0.3);
}

.formBx form textarea {
  resize: none;
  min-height: 120px;
}

.formBx form input::placeholder,
.formBx form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: 0.5s;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.socialmedia {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
}

.socialmedia a {
  margin-right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  transition: 0.5s;
}

.socialmedia a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: var(--light-color);
  padding: 20px 0;
  text-align: center;
}

footer .copyright p {
  color: var(--gray-color);
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  header {
    padding: 20px 50px;
  }
  
  header.sticky {
    padding: 15px 50px;
  }
  
  section {
    padding: 60px 20px;
  }
  
  .banner {
    padding: 0 50px;
  }
  
  .banner .textBx h1 {
    font-size: 42px;
  }
  
  .content {
    flex-direction: column;
  }
  
  .w50 {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .contactInfo,
  .formBx {
    width: 100%;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 30px;
  }
  
  header.sticky {
    padding: 15px 30px;
  }
  
  .banner {
    padding: 0 30px;
  }
  
  .banner .textBx h1 {
    font-size: 36px;
  }
  
  .toggle {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  
  .toggle:before {
    content: '';
    position: absolute;
    top: 4px;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: 0.5s;
  }
  
  .toggle:after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: 0.5s;
  }
  
  header.sticky .toggle:before,
  header.sticky .toggle:after {
    background: var(--dark-color);
  }
  
  .toggle.active:before {
    transform: rotate(45deg);
    top: 14px;
  }
  
  .toggle.active:after {
    transform: rotate(-45deg);
    bottom: 14px;
  }
  
  header ul {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
  }
  
  header ul.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  header ul li {
    margin: 15px 0;
  }
  
  header ul li a {
    color: var(--dark-color);
    font-size: 20px;
  }
}