@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../../fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Material Icons Round';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../../fonts/material-icons-round.woff2') format('woff2');
}

.hover-lift {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important;
}

.hover-lift:hover {
  transform: translateY(-7px) !important;
}

.drop-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

.fixed-buttons .button {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.fixed-buttons .button img {
  filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 50%;
}

.fixed-buttons .button:hover img {
  transform: scale(1.15) rotate(8deg);
}

.gallery-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-img {
    height: 300px;
  }

  #galleria-hero .page-header {
    min-height: 50vh !important;
    margin: 0.5rem !important;
    border-radius: 1rem !important;
    background-position: center !important;
  }

  #galleria-hero .container {
    padding: 2rem 3rem !important;
  }

  #galleria-hero h2.h1 {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }

  #galleria-hero p.lead {
    font-size: 1rem !important;
  }

  #galleria-hero h4 {
    font-size: 1.1rem !important;
  }

  #galleria-hero .carousel-control-prev,
  #galleria-hero .carousel-control-next {
    opacity: 0.8;
  }
}

.clickable-img {
  cursor: pointer;
  transition: opacity 0.3s;
}

.clickable-img:hover {
  opacity: 0.9;
}

.icon-circle-64 {
  width: 64px;
  height: 64px;
}

.icon-circle-64 i {
  font-size: 32px;
  line-height: 1;
}

.hero-tracking-widget {
  max-width: 480px;
  margin: 0.25rem auto 1rem;
  border-radius: 50rem;
  padding: 5px;
  box-shadow: inset 0 0 2px #fefefed1, 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-tracking-widget .form-control {
  background-color: transparent;
  color: #212529;
  border: none;
  border-radius: 50rem 0 0 50rem;
  padding: 0.65rem 1.1rem;
}

.hero-tracking-widget .form-control::placeholder {
  color: #6c757d;
}

.hero-tracking-widget .form-control:focus {
  box-shadow: none;
}

.hero-tracking-widget .btn {
  border-radius: 50rem;
  font-weight: 600;
  white-space: nowrap;
}

#galleria-hero .carousel-indicators {
  bottom: 1.5rem;
}

#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  border: none;
}

#back-to-top.show {
  display: flex;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.svg-sprite-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.social-icon-facebook {
  fill: #1877F2;
}

.social-icon-instagram {
  fill: url(#instagram-gradient);
}

.map {
  border: 0;
}

.contact-bg-image {
  background-size: cover;
  background-position: bottom;
}

.footer .footer-logo {
  max-width: none;
  max-height: 90px;
  width: auto;
}

.modal-close-shadow {
  text-shadow: 0 0 5px black;
}

.modal-img {
  max-height: 90vh;
}

.not-found-header {
  min-height: 70vh;
  padding: 140px 0 80px;
}

.not-found-code-public {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0;
  opacity: 0.9;
}

.barra-home {
  display: none;
}

@media (max-width: 991.98px) {
  .navbar .navbar-toggler {
    display: none !important;
  }

  .navbar.navbar-expand-lg {
    position: fixed !important;
    top: calc(12px + env(safe-area-inset-top, 0px)) !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 1060 !important;
    max-width: 520px;
    margin: 0 auto !important;
    border-radius: 26px !important;
    corner-shape: squircle;
    transition: transform 250ms ease, opacity 200ms ease;
  }

  .logo-nascosto .navbar.navbar-expand-lg {
    transform: translateY(calc(-100% - 24px));
    opacity: 0;
    pointer-events: none;
  }

  .navbar.navbar-expand-lg > .container-fluid {
    justify-content: center;
  }

  .navbar.navbar-expand-lg .navbar-brand {
    margin: 0 !important;
  }

  .barra-home {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 1060;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    max-width: 520px;
    margin: 0 auto;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 26px;
    corner-shape: squircle;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .barra-home__voce {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 52px;
    padding: 6px 2px;
    border-radius: 18px;
    corner-shape: squircle;
    color: #5b6478;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 150ms ease, color 150ms ease;
  }

  .barra-home__voce .material-icons {
    font-size: 22px;
  }

  .barra-home__voce span {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .barra-home__voce:hover,
  .barra-home__voce:focus-visible {
    color: #344767;
  }

  .barra-home__voce:focus-visible {
    outline: 2px solid #1A73E8;
    outline-offset: -2px;
  }

  .barra-home__voce.is-active {
    color: #1A73E8;
    background: rgba(26, 115, 232, 0.12);
  }

  .barra-home__voce:active {
    transform: scale(0.96);
  }

  .fixed-buttons {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .fixed-buttons .button,
  .fixed-buttons .button img {
    width: 52px;
    height: 52px;
  }

  #back-to-top {
    bottom: calc(156px + env(safe-area-inset-bottom, 0px));
  }

  footer.footer {
    margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 991.98px) and (prefers-reduced-transparency: reduce) {
  .barra-home {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
