@import url('https://fonts.googleapis.com/css2?family=Epunda+Slab:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --custom-primary: #031161;
  --custom-primary-hover: #021144;
  --custom-secondary: #c1cffb;
  --white: #ffffff;
  --black: #222222;
  --gray: #f8f9fa;
  --font-family-title: 'Epunda Slab', var(--bs-font-sans-serif);
  --font-family-body: 'Inter', var(--bs-font-sans-serif);
}

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

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--custom-primary-hover) !important;
  border-color: var(--custom-primary) !important;
  color: var(--white) !important;
  filter: brightness(0.9) !important;
}

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

body {
  font-family: var(--font-family-body);
}

h1 {
  font-family: var(--font-family-title);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
  line-height: 82.1px;
}

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

h2 {
  font-family: var(--font-family-title);
  font-size: 2rem;
  font-weight: 600;
  color: var(--custom-primary);
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-family-title);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--custom-secondary);
  margin-bottom: 1rem;
}

section {
  padding: 110px 0px;
}

section:nth-of-type(even) {
  background-color: var(--gray);
}

form {
  width: 85%;
}

p {
  color: var(--black);
}

.bt a {
  display: block;
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: var(--custom-primary);
  transition: all 0.3s ease;
  width: fit-content;
}

.bt a:hover {
  background-color: var(--custom-primary-hover);
  color: var(--white);
  transform: scale(1.05);
}

.navbar {
  background-color: var(--custom-primary);
}

.nav-link {
  color: var(--white);
  border-bottom: 2px solid transparent;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--custom-secondary);
  border-bottom: 2px solid var(--custom-secondary);
}

.hero-section {
  background-image: url('../images/banner-chessed-principal.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home {
  padding: 160px 0px;
}

.home .content h1 span {
  background-color: rgba(3, 17, 97, 0.8);
}

.formulario {
  display: grid;
  place-items: center;
}

.img-chessed {
  display: grid;
  place-items: center;
}

.produtos .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 8px 34px;
}

.produtos .box img {
  width: 450px;
  height: 450px;
  object-fit: contain;
}

.produtos .bt {
  display: grid;
  place-items: center;
}

.diferenciais .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 8px 34px;
}

.diferenciais .box img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.img-about {
  display: grid;
  place-items: center;
}

.modal-content {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/wpp-background-standart.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* width: fit-content; */
}

.modal-header img {
  max-width: 100%;
  width: 40px;
  border: none;
  border-radius: 50%;
}

.btn-close {
  background-image: url('../images/close.png');
  width: 1.5em;
  height: 1.5em;
  background-size: 1.5em;
  --bs-btn-close-opacity: 1;
}

#modalWhatsapp .chat-box {
  color: #000;
  padding: 12px;
  border: none;
  border-radius: 12px;
  border-bottom-left-radius: 0 !important;
  background-color: var(--white);
}

#whatsapp input {
  font-size: 14px !important;
  background-color: var(--light-green) !important;
  /* border-radius: 12px !important;
  border-bottom-right-radius: 0 !important; */
}

#whatsapp .form-control:focus {
  border-color: var(--dark-green) !important;
  box-shadow: none !important;
}

.form-check-input {
  border: 1px solid var(--text-color-wpp);
}

#whatsapp .form-check-input:checked {
  background-color: var(--dark-green) !important;
  border-color: var(--dark-green) !important;
}

#label {
  font-size: 10px;
}

#formWpp .bt {
  display: grid;
  place-items: end;
}

#mybuttonwpp {
  color: #fff;
  border: none;
  border-radius: 12px;
  background-color: transparent;
  padding: 10px 16px;
}

#openWpp {
  border: none;
}

.float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  transition: 0.5s;
}

.float:hover {
  transform: scale(1.1);
}

.float img {
  max-width: 110%;
}

/* modal */
#submit-button-whatsapp {
  color: var(--white);
  background-color: green;
}

#submit-button-whatsapp:hover {
  color: var(--white);
}

@media screen and (max-width: 1200px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 90px 20px;
  }

  .home {
    padding: 130px 20px;
  }

  .produtos .box img {
    width: 350px;
    height: 350px;
  }
}

@media screen and (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  section {
    padding: 80px 15px;
  }

  .home {
    padding: 110px 15px;
  }

  .produtos .box img {
    width: 300px;
    height: 300px;
  }

  .produtos .row .col,
  .diferenciais .row .col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
    text-align: center;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  h3 {
    font-size: 1.4rem;
    text-align: center;
  }

  section {
    padding: 70px 15px;
  }

  .home {
    padding: 90px 15px;
  }

  form {
    width: 100%;
  }

  .hero-section .row {
    flex-direction: column;
  }

  .hero-section .col-xl-6:first-child {
    order: 1;
    margin-bottom: 30px;
  }

  .hero-section .col-xl-6:last-child {
    order: 2;
  }

  .produtos .box img {
    width: 250px;
    height: 250px;
  }

  .produtos .row .col,
  .diferenciais .row .col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .produtos .box,
  .diferenciais .box {
    padding: 15px;
  }

  .bt {
    text-align: center;
    margin-top: 20px;
  }

  .bt a {
    display: inline-block;
    text-align: center;
  }

  .navbar-toggler {
    border: none;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 60px 10px;
  }

  .home {
    padding: 80px 10px;
  }

  .produtos .box img {
    width: 100%;
    height: 100%;
  }

  .diferenciais .box img {
    width: 120px;
    height: 120px;
  }

  .produtos .box,
  .diferenciais .box {
    padding: 10px;
  }

  .bt a {
    font-size: 16px;
    padding: 12px 24px;
    width: 100%;
  }

  .hero-section {
    background-attachment: scroll;
  }

  .navbar-brand img {
    max-height: 40px;
  }

  .form-control {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  section {
    padding: 50px 8px;
  }

  .home {
    padding: 70px 8px;
  }

  .produtos .box img {
    width: 100%;
    height: 100%;
  }

  .diferenciais .box img {
    width: 120px;
    height: 120px;
  }

  .bt a {
    font-size: 14px;
    padding: 10px 20px;
    width: 100%;
  }
}

@media (hover: none) and (pointer: coarse) {
  .bt a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link {
    padding: 10px 15px;
  }

  .btn {
    min-height: 44px;
  }
}

/* Footer Styles */
footer {
  background-color: var(--custom-primary) !important;
}

footer .footer-logo {
  display: flex;
  align-items: center;
}

footer h5 {
  color: var(--white);
  font-family: var(--font-family-title);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--custom-secondary) !important;
}

footer .fab {
  transition: all 0.3s ease;
}

footer .fab:hover {
  color: var(--custom-secondary) !important;
  transform: translateY(-2px);
}