/* ========== VARIABLES ========== */
:root {
  --primary-color: #330099;
  --secondary-color: #ff6600;
  --dark-color: #1a1a2e;
  --light-color: #f5f5f5;
  --white-color: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;

  --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 1.5rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background: #e55a00;
  border-color: #e55a00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: var(--white-color);
  color: var(--primary-color);
  border-color: var(--white-color);
}

.btn-outline:hover {
  background: transparent;
  color: var(--white-color);
  border-color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white-color);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scroll-header {
  box-shadow: var(--shadow-md);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo img {
  height: 60px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--primary-color);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(126, 124, 131, 0.85) 0%,
      rgba(126, 124, 131, 0.85) 100%
    ),
    url("src/curvas_de_nivel.png") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  color: var(--white-color);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 2rem;
}

.hero__content {
  animation: fadeInUp 1s ease;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__title-gf {
  color: var(--primary-color);
}

.hero__title-engenharia {
  color: var(--primary-color);
}

.hero__title-e {
  color: var(--secondary-color);
}

.hero__title-agrimensura {
  color: var(--primary-color);
  width: 100%;
}

.hero__description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero__contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.contact-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.hero__image {
  animation: fadeInRight 1s ease;
}

.hero__image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-button {
  color: var(--white-color);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

/* ========== SERVIÇOS SECTION ========== */
.servicos {
  padding: 6rem 0;
  background: var(--light-color);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.servico__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.servico__card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.servico__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.servico__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #4a00cc);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.servico__icon i {
  font-size: 2rem;
  color: var(--white-color);
}

.servico__title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.servico__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.servico__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-color);
}

.servico__list i {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* ========== EQUIPAMENTOS SECTION ========== */
.equipamentos {
  padding: 6rem 0;
  background: var(--white-color);
}

.equipamentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.equipamento__card {
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.equipamento__card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.equipamento__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.equipamento__image {
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
}

.equipamento__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.equipamento__card:hover .equipamento__image img {
  transform: scale(1.1);
}

.equipamento__content {
  padding: 1.5rem;
}

.equipamento__title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.equipamento__description {
  color: var(--text-light);
  line-height: 1.6;
}

.equipamentos__cta {
  text-align: center;
}

/* ========== PARCEIROS SECTION ========== */
.parceiros {
  padding: 6rem 0;
  background: var(--light-color);
}

.parceiros__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

.parceiro__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  opacity: 0;
  transform: translateY(30px);
}

.parceiro__card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.parceiro__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.parceiro__card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.parceiro__card:hover img {
  transform: scale(1.05);
}

/* ========== HISTÓRIA SECTION ========== */
.historia {
  padding: 6rem 0;
  background: var(--white-color);
}

.historia__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia__text {
  opacity: 0;
  transform: translateX(-30px);
}

.historia__text.animate {
  animation: fadeInRight 0.8s ease forwards;
}

.historia__body {
  margin-top: 2rem;
}

.historia__year {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), #4a00cc);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.year__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white-color);
  line-height: 1;
}

.year__label {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.historia__description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.historia__description strong {
  color: var(--primary-color);
  font-weight: 700;
}

.historia__highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight__item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--light-color);
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.highlight__item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-sm);
}

.highlight__item i {
  font-size: 2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.highlight__content h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.highlight__content p {
  color: var(--text-light);
  line-height: 1.6;
}

.historia__image {
  opacity: 0;
  transform: translateX(30px);
}

.historia__image.animate {
  animation: fadeInRight 0.8s ease forwards;
  animation-delay: 0.2s;
}

.historia__image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

/* ========== PORTFÓLIO SECTION ========== */
.portfolio {
  padding: 6rem 0;
  background: var(--light-color);
}

.portfolio__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.carousel__container {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  position: relative;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel__slide {
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  background: var(--white-color);
  flex-shrink: 0;
  box-sizing: border-box;
}

.carousel__image {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: calc(33.333% - 1.33rem);
  max-width: calc(33.333% - 1.33rem);
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.carousel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.carousel__image:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.carousel__image:hover img {
  opacity: 0.9;
}

.carousel__btn {
  position: absolute;
  background: var(--primary-color);
  border: none;
  color: var(--white-color);
  font-size: 1.8rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.carousel__btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.carousel__btn--prev {
  left: -15px;
}

.carousel__btn--next {
  right: -15px;
}

.carousel__indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.carousel__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel__indicator.active {
  background: var(--primary-color);
  width: 35px;
  border-radius: 6px;
}

.carousel__indicator:hover {
  background: var(--secondary-color);
}

/* ========== IMAGE MODAL ========== */
.image__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.image__modal.active {
  display: flex;
}

.image__modal-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image__modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.image__modal-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--primary-color);
  border: none;
  color: var(--white-color);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image__modal-close:hover {
  background: var(--secondary-color);
  transform: rotate(90deg);
}

.image__modal-prev,
.image__modal-next {
  position: fixed;
  background: var(--primary-color);
  border: none;
  color: var(--white-color);
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
}

.image__modal-prev:hover,
.image__modal-next:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.image__modal-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.image__modal-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.image__modal-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.image__modal-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ========== CONTATO SECTION ========== */
.contato {
  padding: 6rem 0;
  background: var(--white-color);
}

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contato__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}

.info__card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.info__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #4a00cc);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info__icon i {
  font-size: 1.5rem;
  color: var(--white-color);
}

.info__content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.info__content p {
  color: var(--text-color);
  line-height: 1.6;
}

.info__content a {
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
}

.info__content a:hover {
  color: var(--primary-color);
}

.contato__form {
  background: var(--white-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form__group textarea {
  resize: vertical;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(
      135deg,
      rgba(126, 124, 131, 0.95) 0%,
      rgba(126, 124, 131, 0.95) 100%
    ),
    url("src/curvas_de_nivel.png") center/cover;
  color: var(--white-color);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  height: 100px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__company-name {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 1.2rem;
}

.footer__gf {
  color: var(--primary-color);
}

.footer__engenharia {
  color: var(--primary-color);
}

.footer__e {
  color: var(--secondary-color);
}

.footer__agrimensura {
  color: var(--primary-color);
}

.footer__about p {
  opacity: 0.8;
  line-height: 1.6;
}

.footer h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer__links ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__links a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  opacity: 0.8;
}

.footer__contact i {
  color: var(--secondary-color);
  margin-top: 3px;
}

.social__icons {
  display: flex;
  gap: 1rem;
}

.social__icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social__icon i {
  font-size: 1.3rem;
}

.social__icon:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* ========== FLOATING BUTTONS ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float i {
  font-size: 2rem;
  color: var(--white-color);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20ba5a;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 110px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 968px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: var(--white-color);
    padding: 4rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 2rem 2rem;
  }

  .hero__title {
    font-size: 2.5rem;
    justify-content: center;
  }

  .hero__buttons {
    justify-content: center;
    margin-bottom: 2rem;
  }

  .hero__contact-info {
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .hero__image {
    order: -1;
    margin-top: 2rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .parceiros__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
  }

  .historia__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .historia__image {
    order: -1;
  }

  .contato__grid {
    grid-template-columns: 1fr;
  }

  .carousel__slide {
    padding: 2rem 1.5rem;
  }

  .carousel__image {
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    height: 280px;
    box-sizing: border-box;
  }

  .carousel__btn {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }

  .carousel__btn--prev {
    left: -10px;
  }

  .carousel__btn--next {
    right: -10px;
  }

  .image__modal-prev {
    left: 1rem;
  }

  .image__modal-next {
    right: 1rem;
  }

  .image__modal-close {
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__logo {
    margin: 0 auto 1rem;
  }

  .footer__company-name {
    justify-content: center;
  }

  .footer__contact ul {
    align-items: center;
  }

  .footer__contact li {
    justify-content: center;
    text-align: center;
  }

  .social__icons {
    justify-content: center;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float i {
    font-size: 1.8rem;
  }

  .scroll-top {
    right: 90px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .servicos__grid,
  .equipamentos__grid {
    grid-template-columns: 1fr;
  }

  .parceiros__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .carousel__image {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    height: 320px;
    box-sizing: border-box;
  }

  .carousel__slide {
    padding: 1.5rem 1rem;
  }

  .image__modal-prev,
  .image__modal-next {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .image__modal-content img {
    max-height: 70vh;
  }

  .historia__year {
    padding: 1rem 1.5rem;
  }

  .year__number {
    font-size: 2.5rem;
  }

  .historia__highlights {
    gap: 1rem;
  }

  .highlight__item {
    padding: 1rem;
  }

  .highlight__item i {
    font-size: 1.5rem;
  }
}