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

:root {
  --custom-primary: #1f90b8;
  --custom-primary-hover: #1c7a9e;
  --font-family: 'Montserrat', var(--bs-font-sans-serif);
  --white: #ffffff;
  --black: #333333;
  --gray: #f8f9fa;
}

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

/* Garantir que imagens sejam responsivas por padrão */
img {
  max-width: 100%;
  height: auto;
}

/* Container responsivo */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.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-hover) !important;
  color: var(--white) !important;
  filter: brightness(0.9) !important;
}

body {
  font-family: var(--font-family);
  overflow-x: hidden;
}

/* Viewport meta tag configurações */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

h1 {
  color: var(--white);
  font-size: 3.0rem;
  font-weight: 500;
}

h2 {
  color: var(--black);
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  color: var(--custom-primary);
  font-size: 1.3rem;
  font-weight: 600;
}

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

section {
  padding: 60px 0px;
}

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

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

.bt a {
  display: block;
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 12px;
  background-color: var(--custom-primary);
  padding: 15px 70px;
  width: fit-content;
  transform: all 0.3s ease-in-out;
}

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

.enhance {
  color: var(--custom-primary);
  font-weight: 700;
}

.logo {
  max-width: 100px;
  width: 100%;
}

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

.home {
  padding: 120px 0px;
}

.destac .box {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin-bottom: 30px;
  height: 420px;
}

.destac .box img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

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

.solucoes .row {
  padding: 52px 0px;
}

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

.solucoes .img img {
  max-width: 100%;
  height: auto;
}

.solucoes ul li:first-child {
  font-weight: bold;
}

.cta {
  background-image: url('../images/banner-destac-plasticos-cta.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

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

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

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.formulario {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 30px;
  margin-top: 20px;
}

.destac .row {
  --bs-gutter-x: 1.5rem;
}

.destac .col {
  margin-bottom: 30px;
}

.solucoes .row {
  margin-bottom: 60px;
}

.solucoes .row:last-child {
  margin-bottom: 0;
}

.cta-content {
  padding: 60px 0;
}

.about .content {
  padding-right: 20px;
}

.title {
  margin-bottom: 3rem !important;
  margin-top: 2rem !important;
}

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

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

footer h5 {
  color: var(--custom-primary);
}

footer a {
  transition: color 0.3s ease;
}

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

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

footer .fab:hover {
  color: var(--custom-primary-hover) !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%;
}


@media (min-width: 992px) {
  .formulario {
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  /* Navbar */
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  /* Hero section */
  .home {
    padding: 80px 0;
  }
  
  h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .formulario {
    max-width: 500px;
    margin: 30px auto 0;
  }
  
  /* Destac - 2 colunas em tablet */
  .destac .col {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .destac .box {
    height: auto;
    min-height: 380px;
  }
  
  /* Soluções */
  .solucoes .row {
    margin-bottom: 50px;
  }
  
  .solucoes .content {
    margin-top: 30px;
  }
  
  /* Seções */
  section {
    padding: 50px 0;
  }
}

/* Small devices (landscape phones, 576px to 767.98px) */
@media (max-width: 767.98px) {
  /* Typography */
  h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center;
  }
  
  h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  
  p {
    font-size: 0.95rem;
    text-align: justify;
  }
  
  /* Layout */
  .home {
    padding: 60px 0;
  }
  
  section {
    padding: 40px 0;
  }
  
  /* Logo */
  .logo {
    max-width: 85px;
  }
  
  /* Botões */
  .bt a {
    padding: 12px 40px;
    font-size: 16px;
    display: block;
    margin: 0 auto;
    max-width: 300px;
  }
  
  /* Formulário */
  .formulario {
    padding: 25px 20px;
  }
  
  /* Destac - 1 coluna em mobile */
  .destac .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .destac .box {
    height: auto;
    min-height: 320px;
    margin-bottom: 25px;
    padding: 20px 15px;
  }
  
  .destac .box img {
    height: 180px;
  }
  
  /* Soluções - reordenação mobile first */
  .solucoes .img {
    order: -1;
    margin-bottom: 30px;
  }
  
  .solucoes .content {
    margin-top: 0;
  }
  
  .solucoes .row {
    margin-bottom: 40px;
  }
  
  .solucoes ul {
    padding-left: 20px;
    margin-bottom: 15px;
  }
  
  /* About section */
  .about .img-about {
    order: -1;
    margin-bottom: 30px;
  }
  
  .about .content {
    padding-right: 0;
  }
  
  /* CTA section mobile */
  .cta-content {
    padding: 40px 0;
  }
  
  .title {
    margin-bottom: 2rem !important;
    margin-top: 1.5rem !important;
  }
  
  /* Background images */
  .hero-section,
  .cta {
    background-attachment: scroll;
    background-position: center center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Layout */
  .home {
    padding: 50px 0;
  }
  
  section {
    padding: 35px 0;
  }
  
  /* Logo */
  .logo {
    max-width: 80px;
  }
  
  /* Container */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Botões */
  .bt a {
    padding: 12px 30px;
    font-size: 15px;
    width: 100%;
    max-width: 280px;
  }
  
  /* Formulário */
  .formulario {
    padding: 20px 15px;
    margin: 25px 10px 0;
  }
  
  /* Destac boxes */
  .destac .box {
    padding: 15px 12px;
    min-height: 300px;
    margin-bottom: 20px;
  }
  
  .destac .box img {
    height: 160px;
  }
  
  /* Soluções */
  .solucoes .row {
    margin-bottom: 35px;
  }
  
  .solucoes .img {
    margin-bottom: 25px;
  }
}

/* Very small devices (320px and below) */
@media (max-width: 320px) {
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.45rem;
  }
  
  .home {
    padding: 40px 0;
  }
  
  section {
    padding: 30px 0;
  }
  
  .logo {
    max-width: 75px;
  }
  
  .bt a {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .formulario {
    margin: 20px 5px 0;
    padding: 15px 10px;
  }
  
  .destac .box {
    padding: 12px 8px;
    min-height: 280px;
  }
  
  .destac .box img {
    height: 140px;
  }
}