@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --blue-accent-color: #0382AB;
  --green-accent-color: #75A906;
  --white: #fff;
  --gray: #f8fff8;
  --black: #191b1c;
  --font-family: 'Montserrat', var(--bs-font-sans-serif);
}

.btn-custom-primary {
  background-color: var(--blue-accent-color);
  border-color: var(--blue-accent-color);
  color: #fff;
}

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

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

h1 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  font-size: 34px;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  font-size: 22px;
}

section {
  padding: 100px 0px;
}

section:nth-of-type(odd) {
  background-color: var(--white);
}

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

.bt a {
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  border: none;
  border-radius: 12px;
  background-color: var(--blue-accent-color);
  padding: 14px 22px;
  transition: all 0.3s ease;
}

.bt a:hover {
  background-color: var(--green-accent-color);
  filter: brightness(0.9);
}

#mobile {
  display: none;
}

#desktop {
  display: block;
}

@media (max-width: 1024px) {
  #mobile {
    display: block;
  }

  #desktop {
    display: none;
  }
}

.logo {
  width: 200px;
}

.navbar {
  background-color: var(--white);
  border-top: 14px solid transparent;
  border-image: linear-gradient(90deg, var(--blue-accent-color), var(--green-accent-color)) 1;
}

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

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

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

.home {
  padding: 130px 0px 0px 0px;
}

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

.bayo .content h2 {
  border-left: 6px solid transparent;
  border-image: linear-gradient(180deg, var(--blue-accent-color), var(--green-accent-color)) 1;
  padding-left: 12px;
}

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

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

.beneficios .title h2 {
  color: var(--blue-accent-color);
}

.beneficios .title p {
  color: var(--green-accent-color);
  font-weight: 500;
}

.beneficios .box {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0px 40px;
}

.beneficios .list li>strong {
  color: var(--blue-accent-color);
}

.beneficios .box img {
  max-width: 120px;
  height: auto;
}

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

.produtos .title h2 {
  color: var(--blue-accent-color);
}

.produtos .title p {
  color: var(--green-accent-color);
  font-weight: 500;
}

.produtos .box {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0px 40px;
  gap: 12px;
}

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

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

.cta {
  background-image: url('../images/banner-bayo-cta.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.cta-content {
  gap: 12px;
}

.cta .bt a {
  border: 2px solid var(--white);
  background-color: transparent;
}

.icons .box {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0px 20px;
  gap: 12px;
}

.icons .box img {
  max-width: 80px;
  height: auto;
}

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

.gambayo strong {
  color: var(--blue-accent-color);
}

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

footer {
  background-color: var(--gray) !important;
}

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

footer h5 {
  color: var(--blue-accent-color);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--blue-accent-color) !important;
}

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

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

.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%;
}

/* ========== RESPONSIVIDADE ========== */

/* Tablets e Laptops pequenos */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  section {
    padding: 100px 20px;
  }

  .home {
    padding: 100px 20px;
  }

  .beneficios .box,
  .produtos .box,
  .icons .box {
    padding: 0px 20px;
  }

  .formulario {
    margin-top: 30px;
  }

  /* Seção Icons */
  .icons .row .col {
    margin-bottom: 20px;
  }

  .icons .box img {
    max-width: 70px;
  }

  /* Seção CTA */
  .cta-content {
    padding: 0 20px;
  }

  /* Seção Gambayo */
  .gambayo .content {
    text-align: center;
    margin-bottom: 30px;
  }

  .img-gambayo {
    margin-top: 20px;
  }
}

/* Tablets */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 32px;
    text-align: center;
  }

  h2 {
    font-size: 28px;
    text-align: center;
  }

  h3 {
    font-size: 20px;
    text-align: center;
  }

  section {
    padding: 80px 15px;
  }

  .home {
    padding: 80px 15px;
  }

  .navbar {
    border-top: 8px solid transparent;
  }

  .bayo .content h2 {
    text-align: left;
    border-left: 4px solid transparent;
    padding-left: 8px;
  }

  .beneficios .box,
  .produtos .box,
  .icons .box {
    padding: 0px 15px;
    margin-bottom: 30px;
  }

  .beneficios .row .col,
  .produtos .row .col,
  .icons .row .col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

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

  .bt a {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 12px 30px;
  }

  .img-bayo img {
    margin-bottom: 20px;
  }

  .formulario {
    margin-top: 30px;
    padding: 0 10px;
  }

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

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

  .hero-section .col-xl-6:first-child {
    order: 1;
  }

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

  .hero-section .col-xl-6 {
    text-align: center;
    margin-bottom: 20px;
  }

  /* Seção Icons responsiva para tablets */
  .icons .col {
    flex: 0 0 100%;
  }

  .icons .box img {
    max-width: 60px;
  }

  .icons .row:last-child .col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Para garantir que os 2 últimos itens fiquem lado a lado */
  .icons .row:last-child {
    justify-content: center;
  }

  /* Seção CTA responsiva */
  .cta-content {
    padding: 0 15px;
  }

  .cta-content h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  /* Seção Gambayo responsiva */
  .gambayo .content {
    text-align: center;
    margin-bottom: 20px;
  }

  .gambayo .row {
    flex-direction: column-reverse;
  }

  .img-gambayo {
    margin-bottom: 20px;
  }

  /* Lista de benefícios responsiva */
  .beneficios .list {
    text-align: left;
    padding-left: 0;
  }

  .beneficios .list li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
  }
}

/* Smartphones */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  section {
    padding: 60px 10px;
  }

  .home {
    padding: 60px 10px 0px 10px;
  }

  .navbar {
    border-top: 6px solid transparent;
  }

  .bayo .content h2 {
    border-left: 3px solid transparent;
    padding-left: 6px;
  }

  .beneficios .box,
  .produtos .box,
  .icons .box {
    padding: 0px 10px;
  }

  .beneficios .box img {
    max-width: 100px;
  }

  .icons .box img {
    max-width: 50px;
  }

  .produtos .box img {
    max-width: 90%;
  }

  .bt a {
    font-size: 16px;
    padding: 10px 25px;
    border-radius: 8px;
  }

  .cta-content {
    gap: 8px;
    text-align: center;
    padding: 0 10px;
  }

  .cta-content h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .cta-content p {
    font-size: 14px;
    line-height: 1.4;
  }

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

  .cta {
    background-attachment: scroll;
  }

  .formulario {
    padding: 0 5px;
  }

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

  .btn {
    font-size: 16px;
    padding: 12px 20px;
  }


  /* Lista de benefícios para mobile */
  .beneficios .list li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
  }

  /* Ajustes adicionais para títulos das seções */
  .produtos .title p,
  .beneficios .title p {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Smartphones muito pequenos */
@media screen and (max-width: 360px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 16px;
  }

  section {
    padding: 50px 8px;
  }

  .home {
    padding: 50px 8px;
  }

  .bt a {
    font-size: 14px;
    padding: 8px 20px;
  }

  .beneficios .box img {
    max-width: 80px;
  }

  .icons .box img {
    max-width: 40px;
  }

  .produtos .box img {
    max-width: 85%;
  }

  .produtos .title h2,
  .icons .title h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .cta-content h2 {
    font-size: 18px;
  }

  .cta-content p {
    font-size: 13px;
  }

  /* Espaçamento consistente para todas as seções */
  .beneficios,
  .produtos,
  .icons,
  .gambayo,
  .cta {
    overflow-x: hidden;
  }

  /* Ajuste de padding para boxes menores */
  .icons .box,
  .produtos .box {
    padding: 0px 5px;
  }
}

/* Orientação landscape em smartphones */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .home {
    padding: 40px 10px;
  }

  section {
    padding: 40px 10px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }
}

/* Melhorias gerais para touch devices */
@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;
  }
}

/* Estilos para os cards dos serviços no carousel */
.servico-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 500px;
  margin: 0 10px;
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.servico-icon {
  font-size: 3rem;
  color: var(--blue-accent-color);
  margin-bottom: 1.5rem;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servico-icon img {
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.servico-card h3 {
  color: var(--black);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.servico-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Estilos para a seção produtos */
.produtos {
  background-color: var(--gray);
}

.produtos .title h2 {
  color: var(--black);
  margin-bottom: 3rem;
}

/* Estilos específicos para o Splide */
.splide {
  padding: 20px 0;
}

.splide__slide {
  display: flex;
  align-items: stretch;
}

.splide__list {
  align-items: stretch;
}

.splide__track {
  padding: 10px 0;
}

.depoimentos {
  background: url('../images/banner-bayo-cta-claro.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.depoimentos .title h2 {
  color: var(--blue-accent-color);
}

/* Responsividade para os cards */
@media (max-width: 768px) {
  .servico-card {
    padding: 1.5rem;
    min-height: 400px;
    margin: 0 5px;
  }

  .servico-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    height: 200px;
  }

  .servico-icon img {
    max-width: 200px;
    max-height: 200px;
  }

  .servico-card h3 {
    font-size: 1.1rem;
  }

  .splide {
    padding: 15px 0;
  }

  .splide__track {
    padding: 5px 0;
  }
}

/* Estilos para os depoimentos */
.depoimento-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 10px;
  border: 1px solid #e0e0e0;
}

.depoimento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.depoimento-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.perfil-foto {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perfil-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perfil-info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 600;
}

.estrelas {
  display: flex;
  gap: 2px;
}

.estrelas i {
  color: #ffd700;
  font-size: 1rem;
}

.depoimento-texto p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  font-size: 1rem;
}

.contact {
  background-color: var(--blue-accent-color) !important;
}

.formulario {
  background-color: var(--black);
  border: none;
  border-radius: 12px;
  padding: 60px 30px;
}

/* Responsividade para depoimentos */
@media (max-width: 768px) {
  .depoimento-card {
    padding: 1.5rem;
    margin: 0 5px;
  }

  .depoimento-header {
    margin-bottom: 1rem;
  }

  .perfil-foto {
    width: 40px;
    height: 40px;
  }

  .perfil-info h4 {
    font-size: 1rem;
  }

  .estrelas i {
    font-size: 0.9rem;
  }

  .depoimento-texto p {
    font-size: 0.9rem;
  }
}