html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  opacity: 0;
  transform: scale(0.98);
  transition: all 0.8s ease-in-out;
}

body.loaded {
  opacity: 1;
  transform: scale(1);
}

header {
  background: #f29c1f;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  height: 80px;
}

header nav button {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

header nav button:hover {
  transform: scale(1.05);
  color: #fffacd;
}

.hero {
  background-image: url('/sites/solaranja/images/banner.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 120px 10vw;
}

.hero h2 {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 48px;
  color: white;
  font-weight: bold;
  margin-bottom: 20px;
  animation: slideFade 1s ease-out forwards;
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-pulse {
  display: inline-block;
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background-color: white;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(242, 156, 31, 0.7);
  animation: pulseShadow 2s infinite;
}

@keyframes pulseShadow {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 156, 31, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(242, 156, 31, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(242, 156, 31, 0);
  }
}

.btn-pulse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.3);
  transition: 0.5s;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
}

.btn-pulse:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-pulse:hover {
  background-color: #f0f0f0;
}

.section {
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

.section.gray {
  background-color: #f8f8f8;
}

.section.full-width {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding-left: 40px;
  padding-right: 40px;
}


.section img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
}

.section .text {
  max-width: 500px;
}

.section h2 {
  color: #f29c1f;
  font-size: 28px;
  margin-bottom: 10px;
}

.benefits {
  background-color: #f29c1f;
  padding: 60px 20px;
  color: #222;
  text-align: center;
}

.container-benefits {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit {
  max-width: 300px;
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
}

.benefit:hover {
  transform: rotateY(5deg) scale(1.03);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.benefit h3 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}

.benefit p {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .container-produtos {
    flex-direction: column;
  }

  .imagem-produtos {
    order: -1;
    margin-bottom: 20px;
  }

  .texto-produtos {
    order: 0;
  }

  header img {
    height: 100px;
    margin-bottom: 10px;
  }

  header nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    align-items: center;
    padding: 20px;
    text-align: center;
    height: auto;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero h2 {
    font-size: 14px;
  }

  .hero button {
    font-size: 16px;
    padding: 10px 16px;
  }

  .section,
  .benefits {
    padding: 40px 16px;
    text-align: center;
  }

  .section img,
  .section div {
    max-width: 100%;
  }

  .form-container {
    padding: 20px;
  }

  .map-form>div {
    padding: 0;
  }

  footer div {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 20px;
  }

  footer img {
    height: 100px;
  }

  footer a {
    margin: 0 10px !important;
  }

  .form-container form input,
  .form-container form textarea {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  header nav button {
    margin: 0 !important;
    font-size: 18px !important;
  }
}

@media (max-width: 768px) {
  footer a img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    display: inline-block;
  }

  footer a {
    margin: 0 12px !important;
  }

  footer>div {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.container-produtos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.texto-produtos {
  flex: 1;
  min-width: 300px;
}

.imagem-produtos {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imagem-produtos img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .container-produtos {
    flex-direction: column;
    text-align: center;
  }

  .imagem-produtos {
    margin-top: 20px;
  }
}

.lista-tamanhos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.item-tamanho {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.botao-produto {
  background-color: #f29c1f;
  color: white;
  border: none;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 0;
  width: 130px;
  /* largura fixa */
  text-align: center;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.botao-produto:hover {
  background-color: #d88400;
}

.selecionado {
  background-color: #c46f00;
}

.item-tamanho span {
  font-size: 15px;
  color: #333;
  max-width: 500px;
  line-height: 1.4;
}

.selecionado {
  background-color: #c46f00;
  /* ou outro tom mais escuro do laranja */
}