/*====  RESET ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 600px) {
  body {
    display: block;
  }
}

/*====  VARIABLES ============================ */
:root {
  --header-height: 4.5rem;
  /* colors */
  --hue: 159;
  --hue-base-color: 24;

  /* HSL color mode */
  --base-color: hsl(var(--hue-base-color) 100% 61% / 1);
  /* --base-color: hsl(var(--hue) 36% 57%); */
  /* --base-color-second: hsl(var(--hue) 65% 88%);#3c4246 */
  --base-color-second: #3c4246;
  --base-color-alt: hsl(var(--hue) 57% 53%);
  --title-color: hsl(var(--hue) 41% 10%);
  --text-color: hsl(0, 0%, 38%);
  --text-color-light: hsl(0 0% 98%);
  --body-color: hsl(0, 0%, 98%);

  /* fonts */
  --title-font-size: 1.875rem;
  --subtitle-font-size: 1.15rem;

  --title-font: "Poppins", sans-serif;
  --body-font: "DM Sans", sans-serif;
}

/*===  BASE ============================ */
html {
  scroll-behavior: smooth;
}

body {
  font: 400 1.15rem var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

.title {
  font: 700 var(--title-font-size) var(--title-font);
  /* color: var(--title-color); */
  color: #3c4246;
  -webkit-font-smoothing: auto;
}

.title__light {
  font: 700 var(--title-font-size) var(--title-font);
  /* color: var(--title-color); */
  color: #ffffff;
  -webkit-font-smoothing: auto;
}

.title-models {
  font-size: 1.75rem;
  color: #3c4246;
}

p {
  line-height: 24px;
  margin-bottom: 0.75rem;
}

.btn-catalogo {
  color: #ffffff;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 0.25rem;
  /* background: hsl(var(--hue-base-color) 100% 61% / 1); */
  background: #3c4246;
  font: 900 1rem var(--body-font);
  transition: background 0.3s;
  display: flex;
}

.btn-catalogo:hover {
  text-decoration: none;
  border-bottom: none;
  /* background: hsl(var(--hue-base-color) 100% 61% / 1); */
  background: #4d5458;
  color: #ffffff;
}

.btn-catalogo .bi-arrow-down-circle {
  display: flex;
  align-items: center;
}

.bi-arrow-down-circle {
  padding-right: 10px;
}
.bi-arrow-down-circle::before {
  content: "\f119";
  font-weight: 900 !important;
  font-size: 1.2rem;
}

a .title .btn-catalogo {
  display: flex;
  align-items: center;
}

.button {
  /* color: var(--text-color-light); */
  color: #3c4246;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  border-radius: 0.25rem;
  background: #fbfbfb;
  /* background: hsl(var(--hue-base-color) 100% 61% / 1); */
  font: 600 1rem var(--body-font);
  transition: background 0.3s;
}

.button:hover {
  /* background: var(--base-color-alt); */
  background: #d5d5d5;
  color: #3c4246;
}

.strong-about a {
  font-weight: bold;
  color: #3c4246 !important;
}

.divider-1 {
  height: 1px;
  background: linear-gradient(270deg, #222, hsla(var(--hue), 65%, 88%, 0.34));
}

.divider-2 {
  height: 1px;
  background: linear-gradient(270deg, hsla(var(--hue), 65%, 88%, 0.34), #222);
}

.line {
  height: 2px;
  width: 100px;
  background: #ff8737;
  position: relative;
  bottom: 20px;
}

.line-home {
  height: 1px;
  width: 100px;
  background: #ff8737;
  position: relative;
  bottom: 0px;
  display: block;
}

.line-advantages {
  height: 1px;
  width: 100px;
  background: #ff8737;
  position: relative;
  bottom: 0px;
  display: block;
}

.line-about {
  height: 1px;
  width: 100px;
  background: #ff8737;
  position: relative;
  margin-bottom: 2rem;
  bottom: 0px;
  display: block;
}

.line-models {
  height: 1px;
  width: 100px;
  background: #ff8737;
  position: relative;
  bottom: 32px;
  display: block;
}

/*====  LAYOUT ============================ */
.container {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding: calc(5rem + var(--header-height)) 0;
}

.section .title {
  margin-bottom: 1rem;
}

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header {
  margin-bottom: 4rem;
}

.section header strong {
  color: var(--base-color);
  color: #3c4246;
}

#header {
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 2rem;
  display: flex;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--body-color);
  width: 100%;
}

#header.scroll {
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
}

.title__home {
  font-size: 2.5rem;
  text-transform: uppercase;
  /* color: #3c4246; */
  color: #ffffff;
  margin-bottom: 1rem;
}

.title .light {
  color: #ffffff;
}

/*====  LOGO ============================ */
.logo {
  width: 4.2rem;
}

/*====  NAVIGATION ============================ */
nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  transition: color 0.2s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  /* color: var(--base-color); */
  color: #3c4246;
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  /* background: var(--base-color); */
  background: #3c4246;

  position: absolute;
  left: 0;
  bottom: -1.5rem;

  transition: width 0.2s;
}

nav ul li .btn-catalogo::after {
  content: "";
  width: 0%;
  height: 2px;
  background: none;

  position: absolute;
  left: 0;
  bottom: -1.5rem;

  transition: width 0.2s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav .menu {
  opacity: 0;
  visibility: hidden;
  top: -20rem;
  transition: 0.2s;
}

nav .menu ul {
  display: none;
}

/* Mostrar menu */
nav.show .menu {
  opacity: 1;
  visibility: visible;

  background: var(--body-color);

  height: 100vh;
  width: 100vw;

  position: fixed;
  top: 0;
  left: 0;

  display: grid;
  place-content: center;
}

nav.show .menu ul {
  display: grid;
}

nav.show ul.grid {
  gap: 4rem;
}

/* toggle menu */
.toggle {
  /* color: var(--base-color); */
  color: #3c4246;
  font-size: 1.5rem;
  cursor: pointer;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  top: -1.5rem;
  right: 1.5rem;

  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;
}

/*====  HOME ============================ */
#home {
  overflow: hidden;
  background: #3c4246;
}

#home .container {
  margin: 0;
}

#home .image {
  position: relative;
}

#home .image::before {
  content: "";
  height: 100%;
  width: 100%;
  /* background: var(--base-color-second); */
  /* background: linear-gradient(270deg, hsla(var(--hue), 65%, 88%, 0.34), #3c4246); */
  background: linear-gradient(270deg, hsl(0deg 0% 100% / 34%), #434343);
  position: absolute;

  /* top: -9.8%; */
  top: 9.8%;
  left: 9.7%;
  z-index: 0;
}

#home .image img {
  position: relative;
  /* right: 2.93rem; */
}

#home .image img,
#home .image::before {
  border-radius: 0.25rem;
}

#home .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin: 2rem 0;
  font-weight: 100;
  color: #fff;
}

/*====  ABOUT ============================ */
#about {
  background: #f5f5f5;
}

#about .container {
  margin: 0;
}

#about .image {
  position: relative;
}

#about .image::before {
  content: "";
  height: 100%;
  width: 100%;
  background: var(--base-color-second);
  position: absolute;
  top: -8.3%;
  left: -33%;
  z-index: 0;
}

#about .image img {
  position: relative;
  width: auto;
}

#about .image img,
#about .image::before {
  border-radius: 0.25rem;
}

#about .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/*====  SERVICES ============================ */
#services {
  background: #efefef;
}
.cards.grid {
  gap: 1.5rem;
}

.card {
  padding: 3.625rem 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 0.25rem solid #3c4246;
  background: #ffffff;
  /* border-bottom: 0.25rem solid var(--base-color); */
  border-radius: 0.25rem 0.25rem 0 0;
  text-align: center;
}

.card i {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 5rem;
  color: var(--base-color);
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/*====  TESTIMONIALS ============================ */

#testimonials {
  background-color: #fff;
}

#testimonials .container {
  margin-left: 0;
  margin-right: 0;
}

#testimonials header {
  margin-bottom: 0;
  margin-left: 1.5em;
  margin-right: 1.5rem;
}

#testimonials blockquote {
  padding: 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.25rem;
}

#testimonials blockquote p {
  position: relative;
  text-indent: 1.875rem;
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

#testimonials blockquote p span {
  font: 700 2.5rem serif;

  position: absolute;
  top: -0.375rem;
  left: -1.875rem;

  color: var(--base-color);
}

#testimonials cite {
  display: flex;
  align-items: center;
  font-style: italic;
}

#testimonials cite img {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  clip-path: circle();

  margin-right: 0.5rem;
}

/* Swiper */
.swiper-slide {
  height: auto;
  padding: 4rem 1rem;
}

.swiper-pagination-bullet-active {
  background-color: var(--base-color);
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
}

/* ====== ACCORDION ======== */

#faq {
  background: #3c4246;
}
.accordion .accordion-item {
  border-bottom: 1px solid #818181;
}
.accordion .accordion-item button[aria-expanded="true"] {
  border-bottom: 1px solid #818181;
}
.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  color: #f5f5f5;
  font-size: 1.15rem;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}
.accordion button:hover,
.accordion button:focus {
  cursor: pointer;
  color: #f5f5f5;
  font-weight: 500;
}
.accordion button:hover::after,
.accordion button:focus::after {
  cursor: pointer;
  color: #f5f5f5;
  border: 1px solid #3c4246;
}
.accordion button .accordion-title {
  padding: 1em 1.5em 1em 0;
  color: #ffffff;
}
.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 22px;
  height: 22px;
  border: 1px solid;
  border-radius: 22px;
}
.accordion button .icon::before {
  display: block;
  position: absolute;
  content: "";
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}
.accordion button .icon::after {
  display: block;
  position: absolute;
  content: "";
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}
.accordion button[aria-expanded="true"] {
  color: #f5f5f5;
}
.accordion button[aria-expanded="true"] .icon::after {
  width: 0;
}
.accordion button[aria-expanded="true"] + .accordion-content {
  opacity: 1;
  max-height: 17em;
  transition: all 400ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 400ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content p {
  font-size: 1rem;
  font-weight: 300;
  margin: 2em 0;
  color: #e4e4e4;
}

/*=====  GALLERY ============================ */
/* --- Gallery Modal Styles --- */
.section-gallery {
  display: grid;
  /* Mobile-first: 2 colunas por padrão */
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative; /* Necessário para o overlay */
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Media Query para Tablets --- */
@media (min-width: 768px) {
  .section-gallery {
    /* 3 colunas para tablets */
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Media Query para Desktops --- */
@media (min-width: 1200px) {
  .section-gallery {
    /* 4 colunas para desktops, como solicitado */
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Estilos do Overlay --- */
.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  opacity: 0; /* Oculto por padrão */
  transition: opacity 0.3s ease;
  pointer-events: none; /* Não interfere com o clique no mobile */
}

.gallery-item-overlay .overlay-content {
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item-overlay h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1; /* Mostra o overlay no hover */
  pointer-events: auto; /* Permite clicar no botão do overlay */
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

/* Fix for cards-models display */
.section-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.section-gallery .cards-models {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.section-gallery .cards-models:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.section-gallery .cards-models img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e4e4e4;
}

.section-gallery .cards-models .header-cards-models {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.section-gallery .cards-models .header-cards-models h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #3c4246;
}

.section-gallery .cards-models .header-cards-models p {
  margin: 0 0 1rem;
  color: #666;
  font-size: 0.9rem;
}

/* Fix for NPLA 19 and NPLA 22 images specifically */
.cards-models img[src*="NPLA-19"],
.cards-models img[src*="NPLA-22"] {
  object-position: center;
}

/* Media Queries */
@media (max-width: 768px) {
  .section-gallery {
    /* Para tablets, 3 colunas */
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 375px) {
  .section-gallery {
    /* Em telas muito pequenas, uma coluna para melhor visualização */
    grid-template-columns: 1fr;
  }

  .section-gallery .cards-models .header-cards-models {
    padding: 1rem;
  }

  .section-gallery .cards-models .header-cards-models h3,
  .section-gallery .cards-models .header-cards-models p {
    font-size: 0.9rem;
  }

  /* Ajustes para o overlay da galeria em telas pequenas */
  .gallery-item-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  /* O seletor 'a' é genérico, mas deve funcionar para o botão no overlay */
  .gallery-item-overlay a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/*====  FOOTER ============================ */
#footer {
  display: none;
}

footer {
  background-color: var(--base-color);
}

footer.section {
  padding: 4rem 0;
}

footer .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

footer .brand p {
  color: var(--text-color-light);
  margin-bottom: 0.75rem;
}

footer i {
  font-size: 1.5rem;
  color: var(--text-color-light);
}

footer .social {
  grid-auto-flow: column;
  width: fit-content;
}

footer .social a {
  display: inline-block;
  transition: 0.3s;
}

footer .social a:hover {
  transform: translateY(-15px);
}

.icon-phone:before,
.icon-map-pin:before,
.icon-mail:before {
  background: #3c4246;
  color: white;
  padding: 9px;
  border-radius: 50%;
}

/* Back to top icon */
.back-to-top {
  /* background-color: var(--base-color); */
  background-color: #3c4246;
  color: var(--text-color-light);

  position: fixed;
  right: 1rem;
  bottom: 1rem;

  padding: 0.5rem;
  clip-path: circle();

  font-size: 1.5rem;
  line-height: 0;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
  transform: translateY(100%);

  z-index: 1;
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
/* Extra Large Devices : 1200px > */
@media (min-width: 1200px) {
  /* reusable classes */
  .container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 10rem 0;
  }

  .section header,
  #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    height: 3.125rem;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  nav .menu ul li a.title {
    font: 900 1rem var(--body-font);
    -webkit-font-smoothing: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  main {
    margin-top: var(--header-height);
  }

  /* home */

  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }
  #home .image {
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */
  #about .container {
    grid-auto-flow: column;
    margin: 0 auto;
  }

  /* services */
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .card {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* testimonials */
  #testimonials .container {
    margin-right: auto;
    margin-left: auto;
  }

  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  /* #contact .text {
    max-width: 25rem;
  } */

  /* footer */
  footer.section {
    padding: 3.75rem 0;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  footer .logo {
    font-size: 2.25rem;
  }
  /* img {
    width: 685px;
    height: auto;
  } */
  #home .image img {
    width: 685px;
    height: auto;
  }
  #about .image img {
    width: 600px;
    height: auto;
}
}
/* Large Devices : 1023px > */

/* Medium Devices: 767px > */

/* Large Devices : 992px > */
@media (min-width: 992px) {
  :root {
    --title-font-size: 3.25rem;
    --subtitle-font-size: 1.125rem;
  }
}

/* ========== OLD GALLERY ============= */

.container .box {
  position: relative;
  width: 280px;
  height: 400px;
  margin: 20px 0;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: #222 1px 1px 5px;
  background: #222;
}
.container .box .image-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  clip-path: circle(400px at center 100px);
  transition: 0.5s;
  transition-delay: 0.5s;
}

.container .box:hover .image-box {
  clip-path: circle(80px at center 100px);
  transition-delay: 0s;
}

.container .box .image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .box .content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 55%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
}

.container .box .content h2 {
  margin: 0;
  padding: 0;
}

.container .box .content a {
  text-decoration: none;
  background: #222;
  color: #fff;
  padding: 5px;
  display: inline-block;
}

.container .box .content h2,
.container .box .content p,
.container .box .content a {
  opacity: 0;
  transition: 0.5s;
  transform: translateY(20px);
}

.container .box:hover .content h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.container .box:hover .content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.container .box:hover .content a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.container .content a:hover {
  color: cyan;
  font-weight: bold;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
  width: 80%;
  margin: 0 auto;
  padding: 10px;
}
.gallery-item {
  flex-basis: 32.7%;
  margin-bottom: 6px;
  opacity: 0.85;
  cursor: pointer;
}
.gallery-item:hover {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-content {
  font-size: 0.8em;
}

.lightbox {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  overflow: auto;
  top: 0;
  left: 0;
}
.lightbox-content {
  position: relative;
  width: 70%;
  height: 70%;
  margin: 10% auto;
}
.lightbox-content img {
  border-radius: 7px;
  box-shadow: 0 0 3px 0 rgba(225, 225, 225, 0.25);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 7px;
  top: 45%;
  cursor: pointer;
}
.lightbox-prev {
  left: 0;
}
.lightbox-next {
  right: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.8;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 4rem;
  right: 1rem;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  align-items: center;
  justify-content: center;
  display: flex;
}

/* Cookie Consent Modal */
.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-consent-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cookie-consent-modal {
  background: white;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.cookie-consent-overlay.active .cookie-consent-modal {
  transform: translateY(0);
}

.cookie-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e1e5e9;
}

.cookie-header h2 {
  margin: 0 0 8px;
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
}

.cookie-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.cookie-content {
  padding: 24px;
}

.cookie-section {
  margin-bottom: 24px;
}

.cookie-section h3 {
  margin: 0 0 12px;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
}

.cookie-section p {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.5;
  font-size: 14px;
}

.cookie-types {
  margin-top: 16px;
}

.cookie-type {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fafbfc;
}

.cookie-type-info {
  flex: 1;
  margin-right: 16px;
}

.cookie-type-info h4 {
  margin: 0 0 6px;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 600;
}

.cookie-type-info p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.cookie-toggle {
  display: flex;
  align-items: center;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #4caf50;
}

.toggle-switch.disabled {
  background: #4caf50;
  cursor: not-allowed;
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(24px);
}

.cookie-actions {
  padding: 16px 24px 24px;
  border-top: 1px solid #e1e5e9;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #4caf50;
  color: white;
}

.btn-primary:hover {
  background: #45a049;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #6c757d;
  border: 1px solid #6c757d;
}

.btn-outline:hover {
  background: #6c757d;
  color: white;
}

.consent-status {
  background: #e8f5e8;
  border: 1px solid #4caf50;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  color: #2e7d32;
}

.privacy-link {
  color: #4caf50;
  text-decoration: none;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 600px) {
  .cookie-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cookie-type {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-type-info {
    margin-right: 0;
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  #gallery {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    padding: 4rem 0;
  }
  .gallery-container {
    width: 100%;
  }
  .gallery-item {
    flex-basis: 49.8%;
    margin-bottom: 3px;
  }
  .lightbox-content {
    width: 80%;
    height: 60%;
    margin: 15% auto;
  }
  #about .image img {
    position: relative;
    width: 100%;
  }
  #about {
    padding: 4rem 0;
    /* margin: 0 1.5rem; */
  }
  #about .text {
    margin-left: 3rem;
    margin-right: 3rem;
  }
  #faq {
    padding: 4rem 1.5rem;
  }
  /* .section-gallery {
    display: flex;
    flex-wrap: wrap;
  }
  .section-gallery .container {
    margin: 0 !important;
  }
  .section-gallery > .cards-models {
    border: 1px solid #f1f1f1;
    padding: 0;
    text-align: center;
    max-width: 160px;
  }
  .header-cards-models {
    padding: .5rem;
    margin-bottom: 0 !important;
  } */
}
@media (max-width: 480px) {
  .gallery-item {
    flex-basis: 100%;
    margin-bottom: 1px;
  }
  .lightbox-content {
    width: 90%;
    margin: 20% auto;
  }
  #about .image img {
    position: relative;
    width: 100%;
  }
  /* .section-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
  } */
  .section-gallery .container {
    max-width: 390px;
  }
  .section-gallery > .cards-models {
    border: 1px solid #f1f1f1;
    padding: 0;
    text-align: center;
    max-width: 150px;
  }
  .header-cards-models {
    padding: 0.5rem;
    margin-bottom: 0 !important;
  }

  .header-cards-models > p {
    font-size: 1rem;
  }
  .section-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, auto));
    grid-gap: 1rem;
    align-items: center;
  }
  .line-home {
    width: 100%;
  }
  #testimonials {
    padding: 4rem 0;
  }
  .header-cards-models h3 {
    font-size: inherit;
    letter-spacing: 1px;
  }
}

/* Adicione estes estilos ao seu arquivo CSS */

/* Estilos para seção de contato */

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--base-color);
  margin-bottom: 2rem;
}

.icon-container {
  width: 50px;
  height: 50px;
  background-color: var(--base-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.icon-container i {
  color: white;
  font-size: 1.3rem;
}


/* Fix: Remove a cor azul padrão de links de telefone no iOS */

/* .contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
} */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.btn-primary {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  background-color: #20bc5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
  background-color: #3c4246;
  color: white;
  box-shadow: 0 4px 12px rgba(60, 66, 70, 0.2);
}

.btn-secondary:hover {
  background-color: #2a2f32;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(60, 66, 70, 0.3);
}

/* .business-hours {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 1rem;
}

.business-hours h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3c4246;
} */

/*====  CONTACT ============================ */
#contact .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#contact .contact-header {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr; /* Layout de 1 coluna para mobile */
  gap: 2rem;
}

.map iframe {
  border-radius: 0.5rem;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  height: 400px;
}

.contact-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #fdfdfd;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-card i {
  font-size: 1.75rem;
  color: var(--base-color);
  margin-top: 0.25rem;
}

.contact-card .contact-info h3 {
  font-size: 1.125rem;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.contact-card .contact-info p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--text-color);
}

.contact-card .contact-info span {
  font-size: 0.875rem;
  color: #6c757d;
}

.contact-link {
  display: inline-block;
  font-weight: 600;
  color: #004aad; /* Cor com alto contraste */
  transition: color 0.3s;
  text-decoration: none;
}

.contact-link:hover {
  color: #0056b3;
}

.business-hours .contact-info p {
  margin-bottom: 0.25rem;
}

.business-hours .contact-info span {
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

/* --- Media Query para Layout de Desktop --- */
@media (min-width: 992px) {
  .contact-content {
    grid-template-columns: 2fr 1fr; /* Layout de 2 colunas para desktop */
    align-items: flex-start;
    gap: 3rem;
  }

  #contact .contact-header {
    text-align: left;
  }
}


.hours-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.hours-list li {
  margin-bottom: 0.5rem;
  color: #666;
}

.hours-list li span {
  font-weight: 600;
  color: #3c4246;
}

.response-time {
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

/* Responsividade */
@media (min-width: 768px) {
  .contact-info {
    flex: 2;
  }
  
  /* .business-hours {
    flex: 1;
    margin-top: 0;
    margin-left: 2rem;
    align-self: flex-start;
  } */
}

@media (max-width: 767px) {
  /* .contact-buttons {
    flex-direction: column;
  } */
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 1.2rem;
  }
  
  .icon-container {
    width: 40px;
    height: 40px;
  }
}
