/* --------- Base: elementi rivelabili --------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity var(--reveal-duration, 700ms) ease,
    transform var(--reveal-duration, 700ms) ease;
  will-change: opacity, transform;
}

/* Effetti specifici selezionati da [data-reveal] */
.reveal[data-reveal="fade-up"] {
  transform: translate3d(0, 40px, 0);
}

.reveal[data-reveal="fade-down"] {
  transform: translate3d(0, -40px, 0);
}

.reveal[data-reveal="fade-left"] {
  transform: translateX(-40px);
  opacity: 0;
}

.reveal[data-reveal="fade-right"] {
  transform: translateX(40px);
  opacity: 0;
}

/* Variante con maggiore movimento */
.reveal[data-reveal="slide-left"] {
  transform: translate3d(120px, 0, 0);
  opacity: 0;
}

.reveal[data-reveal="slide-right"] {
  transform: translate3d(-120px, 0, 0);
  opacity: 0;
}

.reveal[data-reveal="slide-up"] {
  transform: translate3d(0, 120px, 0);
  opacity: 0;
}

.reveal[data-reveal="slide-down"] {
  transform: translate3d(0, -120px, 0);
  opacity: 0;
}

.reveal[data-reveal="zoom-in"] {
  transform: scale(.96);
}

.reveal[data-reveal="zoom-out"] {
  transform: scale(1.06);
}

/* Stato base (mobile-first): fade */
.reveal[data-reveal="fade-or-slide"] {
  opacity: 0;
  transform: none;
  /* nessun movimento */
  transition: opacity var(--reveal-duration, 700ms) ease,
    transform var(--reveal-duration, 700ms) ease;
}

.reveal[data-reveal="fade-or-slide"].is-visible {
  opacity: 1;
  transform: none;
}

/* Da md in su → diventa uno slide-up */
@media (min-width: 768px) {
  .reveal[data-reveal="fade-or-slide"] {
    opacity: 0;
    transform: translateY(80px);
    /* punto di partenza */
  }

  .reveal[data-reveal="fade-or-slide"].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Stagger semplice con variabili CSS (ms) */
.reveal {
  transition-delay: var(--reveal-delay, 0ms);
}

/* Opzione: animazione una sola volta */
.reveal[data-once="true"].is-visible {
  pointer-events: auto;
}

/* Accessibilità: rispetta reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


.article-can-edit {
  display: none !important;
}

.grigio1 {
  background-color: #191919;
}

.grigio2 {
  background-color: #d8d8d8;
}

.marrone {
  color: #9b7350;
}

.b-marrone {
  background-color: #3d1f0e;
}

#sp-main-body {
  padding: 0px 0;
}

h1 {
  font-family: 'Zilla Slab', sans-serif;
  font-size: 90px;
  font-weight: 300;
  text-decoration: none;
}

p.h1 {
  font-family: 'Zilla Slab', sans-serif;
  font-size: 90px;
  font-weight: 300;
  text-decoration: none;
}

p.h2 {
  font-family: 'Zilla Slab', sans-serif;
  font-size: 60px;
  font-weight: 300;
  text-decoration: none;
}

.titolo p.h1 {
  line-height: 80px;
}


b,
strong {
  font-weight: 900;
}

#sp-header {
  z-index: 99;
  background: transparent;
  box-shadow: 0px 0px 0px 0px transparent;
}

.itemid-102 #sp-header,
.itemid-0 #sp-header {
  height: 150px;
  box-shadow: 0px 0px 0px 0px transparent;
  background: #3D1F0E;
}

#presentazione {
  margin-top: -150px;
}

#presentazione,
#cose-belle,
#alternativa,
#come-funziona,
#publygoo {
  min-height: 980px;
}

.sfondo1 {
  background-image: url("/images/sfondo-home-1.png");
}

.titolo h1 {
  line-height: 80px;
}

.quadri img {
  width: 400px;
}

.spirale {
  height: 200px
}

.numero {
  line-height: 25px;
}

.carousel-indicators [data-bs-target] {
  background-color: #3d1f0e;
}

@media (max-width: 575.98px) {

  #sp-header {
    height: 150px;
    box-shadow: 0px 0px 0px 0px transparent;
    background: #3D1F0E;
    background: linear-gradient(180deg, rgba(61, 31, 14, 1) 0%, rgba(61, 31, 14, 0) 70%);
  }

  #sp-header .logo {
    height: 60px;
  }

  #sp-logo {
    margin-top: 20px;
  }

  .logo-image-phone {
    height: 50px !important;
  }

  .logo-image {
    height: 50px !important;
  }

  #sp-menu {
    display: none;
  }

  h1 {
    font-size: 55px;
  }

  p.h1 {
    font-family: 'Zilla Slab', sans-serif;
    font-size: 55px;
    font-weight: 300;
    text-decoration: none;
  }

  p.h2 {
    font-family: 'Zilla Slab', sans-serif;
    font-size: 30px;
    font-weight: 300;
    text-decoration: none;
  }

  .titolo h1 {
    line-height: 50px;
  }

  .titolo p.h1 {
    line-height: 50px;
  }

  #cose-belle,
  #alternativa,
  #come-funziona,
  #domande-frequenti,
  #publygoo,
  #follow-us,
  #partners,
  #contatti {
    height: 100% !important;
    min-height: 100%;
  }

  .quadri svg {
    width: 50%;
    float: right;
  }

  #occhio-animato svg {
    width: 30%;
    margin: 0 auto;
  }

  #follow-us .titolo p.h1 {
    text-align: left;
  }
}


@media (max-width: 767.98px) {
  #sp-header {
    height: 150px;
    box-shadow: 0px 0px 0px 0px transparent;
    background: #3D1F0E;
    background: linear-gradient(180deg, rgba(61, 31, 14, 1) 0%, rgba(61, 31, 14, 0) 70%);
  }

  #sp-header .logo {
    height: 60px;
  }

  #sp-logo {
    margin-top: 20px;
  }

  .logo-image-phone {
    height: 50px !important;
  }

  .logo-image {
    height: 50px !important;
  }

  #sp-menu {
    display: none;
  }

  h1 {
    font-size: 55px;
  }

  p.h1 {
    font-family: 'Zilla Slab', sans-serif;
    font-size: 50px;
    font-weight: 300;
    text-decoration: none;
  }

  p.h2 {
    font-family: 'Zilla Slab', sans-serif;
    font-size: 30px;
    font-weight: 300;
    text-decoration: none;
  }

  .titolo h1 {
    line-height: 50px;
  }

  .titolo p.h1 {
    line-height: 50px;
  }

  #cose-belle,
  #alternativa,
  #come-funziona,
  #publygoo,
  #domande-frequenti,
  #follow-us,
  #partners,
  #contatti {
    height: 100% !important;
    min-height: 100%;
  }

  #occhio-animato svg {
    width: 30%;
    margin: 0 auto;
  }

  #follow-us .titolo p.h1 {
    text-align: left;
  }
}

@media (max-width: 991.98px) {
  #sp-header {
    height: 150px;
    box-shadow: 0px 0px 0px 0px transparent;
    background: #3D1F0E;
    background: linear-gradient(180deg, rgba(61, 31, 14, 1) 0%, rgba(61, 31, 14, 0) 70%);
  }

  .sfondo1 {
    background-image: url("/images/sfondo-home-mobile.jpg");
    background-size: cover;
    background-repeat: no-repeat;
  }

  #sp-header .logo {
    height: 75px;
    width: 180px;
    margin: 0 auto;
    display: block;
  }

  #sp-logo {
    margin-top: 20px;
    width: 100%;
  }

  .logo-image-phone {
    height: 100px !important;
  }

  .logo-image {
    height: 75px !important;
  }

  #sp-menu {
    display: none;
  }

  .vh-md-100 {
    height: 100vh !important;
  }

  .h-md-100 {
    height: 100% !important;
  }

  #cose-belle,
  #come-funziona,
  #publygoo,
  #follow-us,
  #contatti {
    height: 100% !important;
    min-height: 100%;
  }

  #occhio-animato svg {
    padding-top: 3rem !important;
    width: 20%;
    margin: 0 auto;
  }

  #follow-us .titolo p.h1 {
    text-align: left;
  }

  .loghi-footer img {
    width: 20%;
    margin: 0 auto;
  }
}

@media (max-width: 1199.98px) {
  .vh-md-100 {
    height: 100vh !important;
  }

  .h-md-100 {
    height: 100% !important;
  }
}

@media (max-width: 1399.98px) {
  .vh-md-100 {
    height: 100vh !important;
  }

  .h-md-100 {
    height: 100% !important;
  }
}

@media (min-width: 1400px) {
  .vh-md-100 {
    height: 100vh !important;
  }

  .h-md-100 {
    height: 100% !important;
  }
}