/* Pepito's coffee & more, "Normal gets you nowhere".
   Nero vetrina, rosa del logo, rosso dei mattoni dietro al bancone, crema per respirare.
   Forme: foto con angoli appena smussati (6px), adesivi e bottoni a pillola. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --nero: #121112;
  --nero-2: #1d1b1d;
  --rosa: #e40b7e;
  --rosa-chiaro: #ff7ab8;
  --mattone: #a8412b;
  --mattone-scuro: #7d2f1f;
  --crema: #f4efe8;
  --crema-2: #e7dfd4;
  --testo-chiaro: #f4efe8;
  --testo-tenue: #b8b0a8;
  --testo-scuro: #1b1819;
  --verde: #3fcf7a;

  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --esce: cubic-bezier(0.23, 1, 0.32, 1);
  --molla: cubic-bezier(0.34, 1.56, 0.64, 1);
  --margine: clamp(1rem, 4.5vw, 4rem);
  --larghezza: 1320px;
  --angolo: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--nero);
  color: var(--testo-chiaro);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul { margin: 0; }
a, button { touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--rosa-chiaro); outline-offset: 3px; border-radius: 2px; }

.nascosto {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.salta {
  position: absolute; left: 1rem; top: -4rem; z-index: 30;
  background: var(--rosa); color: #fff; padding: .7rem 1rem; text-decoration: none;
}
.salta:focus { top: 1rem; }

/* Il marchio del chicco, colorabile con currentColor. */
.marchio__segno, .logo__segno {
  display: inline-block; aspect-ratio: 214 / 284;
  background: currentColor;
  -webkit-mask: url("../img/marchio.png") center / contain no-repeat;
  mask: url("../img/marchio.png") center / contain no-repeat;
}

/* ---------- Testata ---------- */

.testata {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 2rem;
  padding: calc(.7rem + env(safe-area-inset-top, 0px)) var(--margine) .7rem;
  transition: background-color .35s var(--esce), box-shadow .35s var(--esce);
}
.testata.is-staccata {
  background: color-mix(in srgb, var(--nero) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(244 239 232 / .08);
}
.marchio { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.marchio .marchio__segno { width: 1.05rem; color: var(--rosa); }
.marchio__nome { font-weight: 800; font-stretch: 112%; letter-spacing: .04em; font-size: 1.15rem; }

.menu { display: none; gap: 1.75rem; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem 0; position: relative; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px;
  background: var(--rosa); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--esce);
}
.testata__chiama {
  margin-left: auto; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .55rem 1.1rem; border-radius: 999px; background: var(--rosa); color: #fff;
  transition: transform .14s var(--esce), background-color .2s;
}
.testata__chiama:active { transform: scale(.97); }

@media (hover: hover) and (pointer: fine) {
  .menu a:hover::after { transform: scaleX(1); }
  .testata__chiama:hover { background: #c2096b; }
}
@media (min-width: 960px) {
  .menu { display: flex; }
  .testata__chiama { margin-left: 0; }
}
@media (max-width: 959px) {
  .testata .marchio, .testata__chiama { transition: opacity .3s var(--esce); }
  .js .testata:not(.is-staccata) .marchio,
  .js .testata:not(.is-staccata) .testata__chiama { opacity: 0; pointer-events: none; }
}

/* ---------- Bottoni ---------- */

.azioni { display: flex; flex-wrap: wrap; gap: .75rem; }
.bottone {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .8rem 1.5rem; border-radius: 999px;
  text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 1rem;
  user-select: none; -webkit-user-select: none;
  transition: transform .14s var(--esce), background-color .2s, color .2s, border-color .2s;
}
.bottone:active { transform: scale(.97); }
.bottone--rosa { background: var(--rosa); color: #fff; }
.bottone--vuoto { border: 2px solid var(--testo-chiaro); color: var(--testo-chiaro); }
.bottone--crema { background: var(--crema); color: var(--testo-scuro); }
.bottone--vuoto-scuro { border: 2px solid var(--testo-scuro); color: var(--testo-scuro); }
@media (hover: hover) and (pointer: fine) {
  .bottone--rosa:hover { background: #c2096b; }
  .bottone--vuoto:hover { background: var(--testo-chiaro); color: var(--nero); }
  .bottone--crema:hover { background: #fff; }
  .bottone--vuoto-scuro:hover { background: var(--testo-scuro); color: var(--crema); }
}

.titolo {
  font-weight: 850; font-stretch: 78%; text-transform: uppercase;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem); line-height: .92; letter-spacing: -.005em;
  text-wrap: balance;
}

/* ---------- Apertura ---------- */

.apertura {
  position: relative; min-height: 100svh; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
/* Telefono: la foto con il neon in alto, il testo sotto sul nero. */
.apertura__foto {
  width: 100%; height: 50svh; object-fit: cover; object-position: 8% 32%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, #000 62%, transparent);
}
.apertura__testo { padding: 0 var(--margine); margin-top: -3.5rem; position: relative; }
@media (min-width: 900px) {
  /* Schermo grande: testo a sinistra, il muro con il neon a destra fino al bordo. */
  .apertura {
    grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center; padding: 0;
  }
  .apertura__foto {
    grid-column: 2; grid-row: 1; height: 100svh; min-height: 40rem;
    object-position: 0% 30%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
    mask-image: linear-gradient(to right, transparent, #000 22%);
  }
  .apertura__testo {
    grid-column: 1; grid-row: 1; margin: 0;
    padding: 5rem 0 3rem max(var(--margine), calc((100vw - var(--larghezza)) / 2));
  }
}
.apertura__testo { max-width: 44rem; }

.logo { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; margin-bottom: 1.75rem; }
.logo__segno { grid-row: 1 / 3; width: clamp(2.6rem, 7vw, 3.6rem); color: var(--rosa); }
.logo__nome { font-weight: 800; font-stretch: 115%; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; letter-spacing: .03em; }
.logo__sotto { color: var(--rosa-chiaro); font-weight: 500; font-size: clamp(.95rem, 2.4vw, 1.2rem); letter-spacing: .04em; }

.apertura__titolo {
  font-weight: 900; font-stretch: 72%; text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 6.5rem); line-height: .86; letter-spacing: -.01em;
}
.apertura__sotto { margin-top: 1.1rem; max-width: 34ch; font-size: 1.15rem; color: #ddd5cd; }

.stato { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; margin: 1.4rem 0 1.25rem; }
.stato__punto { width: .55rem; height: .55rem; border-radius: 50%; background: var(--testo-tenue); position: relative; flex: none; }
.is-aperto .stato__punto { background: var(--verde); }

/* ---------- Nastro ---------- */

.nastro {
  background: var(--rosa); color: #fff; overflow: hidden;
  transform: rotate(-1.6deg); margin: -1.4rem -1rem 0; position: relative; z-index: 2;
  box-shadow: 0 10px 24px rgb(0 0 0 / .25);
}
.nastro__pista { display: flex; width: max-content; }
.nastro span {
  font-weight: 900; font-stretch: 75%; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1; padding: .85rem 1.4rem;
  white-space: nowrap;
}
.nastro span::after { content: "✱"; margin-left: 2.8rem; font-weight: 400; }

/* ---------- Al banco ---------- */

.banco {
  background: var(--crema); color: var(--testo-scuro);
  padding: clamp(5rem, 11vw, 8rem) var(--margine) clamp(4rem, 9vw, 7rem);
  margin-top: -2rem;
}
.banco > * { max-width: var(--larghezza); margin-inline: auto; }
.banco__intro p { margin-top: 1.25rem; max-width: 46ch; font-size: 1.15rem; color: #4a4245; }

.bacheca { display: grid; gap: 2.5rem 1.25rem; margin-top: 3rem; grid-template-columns: 1fr 1fr; }
.voce { position: relative; }
.voce img { width: 100%; object-fit: cover; border-radius: var(--angolo); aspect-ratio: 4 / 5; }
.voce p { margin-top: .9rem; font-size: 1rem; line-height: 1.45; max-width: 32ch; color: #4a4245; }
.voce--colazione, .voce--aperitivo, .voce--birre { grid-column: 1 / -1; }
.voce--colazione img { aspect-ratio: 4 / 5; object-position: 50% 60%; }
.voce--birre img { aspect-ratio: 4 / 3; }

.adesivo {
  position: relative; z-index: 1;
  display: inline-block; margin-top: -1.6rem; margin-left: .75rem;
  padding: .45rem 1rem .5rem; border-radius: 999px;
  font-weight: 900; font-stretch: 80%; text-transform: uppercase;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1;
  transform: rotate(var(--giro, -4deg));
  box-shadow: 0 4px 12px rgb(27 24 25 / .18);
}
.adesivo--rosa { background: var(--rosa); color: #fff; }
.adesivo--nero { background: var(--nero); color: var(--crema); --giro: 3deg; }
.adesivo--crema { background: #fff; color: var(--testo-scuro); --giro: 5deg; }
.adesivo--mattone { background: var(--mattone); color: #fff; --giro: -2deg; }

@media (min-width: 900px) {
  .bacheca {
    grid-template-columns: repeat(12, 1fr); gap: 3rem 1.5rem; align-items: start;
  }
  .voce--colazione { grid-column: 1 / span 4; }
  .voce--aperitivo { grid-column: 5 / span 5; margin-top: 5rem; }
  .voce--centrifughe { grid-column: 10 / span 3; margin-top: 1rem; }
  .voce--cioccolate { grid-column: 2 / span 3; margin-top: -2rem; }
  .voce--birre { grid-column: 6 / span 6; margin-top: -1rem; }
  .voce--colazione img { aspect-ratio: 3 / 5; }
  .voce--aperitivo img { aspect-ratio: 4 / 5; }
  .voce--centrifughe img, .voce--cioccolate img { aspect-ratio: 3 / 4; }
}

/* ---------- Serate ---------- */

.serate {
  padding: clamp(4rem, 9vw, 7rem) var(--margine);
  display: grid; gap: 3rem;
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgb(228 11 126 / .14), transparent 70%),
    var(--nero);
}
.serate > * { max-width: var(--larghezza); }
.serate__testo p { margin-top: 1.25rem; max-width: 44ch; font-size: 1.15rem; color: #d3cbc3; }
.serate__lista { list-style: none; padding: 0; margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.serate__lista li {
  border: 2px solid var(--rosa); color: var(--rosa-chiaro); border-radius: 999px;
  padding: .4rem 1rem; font-weight: 700; font-size: .95rem;
}
.serate__foto { display: grid; grid-template-columns: 1.3fr 1fr; gap: .75rem; align-items: end; }
.serate__foto img { width: 100%; object-fit: cover; border-radius: var(--angolo); }
.serate__foto img:first-child { aspect-ratio: 4 / 5; }
.serate__foto img:last-child { aspect-ratio: 3 / 4; margin-bottom: -2rem; }

@media (min-width: 900px) {
  .serate {
    grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(3rem, 6vw, 6rem);
    padding-inline: max(var(--margine), calc((100vw - var(--larghezza)) / 2));
  }
}

/* ---------- Eventi ---------- */

.eventi {
  background: var(--mattone); color: #fff;
  padding: clamp(4rem, 9vw, 7rem) var(--margine);
  background-image:
    repeating-linear-gradient(0deg, rgb(0 0 0 / .07) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(90deg, rgb(0 0 0 / .05) 0 2px, transparent 2px 96px);
}
.eventi > * { max-width: var(--larghezza); margin-inline: auto; }

.prossimi { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; gap: 1rem; }
.biglietto {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; align-items: center;
  background: var(--nero); border-radius: var(--angolo); padding: 1.4rem 1.5rem;
  position: relative;
}
/* I due semicerchi del biglietto strappato. */
.biglietto::before, .biglietto::after {
  content: ""; position: absolute; top: 50%; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--mattone); translate: 0 -50%;
}
.biglietto::before { left: -.55rem; }
.biglietto::after { right: -.55rem; }
.biglietto[hidden] { display: none; }
.biglietto__data {
  font-weight: 900; font-stretch: 70%; font-size: 3.4rem; line-height: .85; text-align: center;
  color: var(--rosa-chiaro); min-width: 4.5rem; text-transform: uppercase;
  padding-right: 1.25rem; border-right: 2px dashed rgb(244 239 232 / .25);
}
.biglietto__data span { display: block; font-size: 1rem; font-stretch: 100%; letter-spacing: .1em; color: var(--testo-chiaro); margin-top: .3rem; }
.biglietto h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.15; }
.biglietto p { color: var(--testo-tenue); margin-top: .35rem; }
.biglietto .bottone { grid-column: 1 / -1; justify-self: start; }

@media (min-width: 760px) { .prossimi { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .biglietto { grid-template-columns: auto 1fr auto; }
  .biglietto .bottone { grid-column: auto; }
}

.eventi__sotto {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: 1.6rem;
}
.format { display: grid; gap: 1rem; margin-top: 1.25rem; }
.formato {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.1rem; align-items: center;
  background: rgb(18 17 18 / .28); border-radius: var(--angolo); padding: .75rem;
}
.formato img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--angolo) - 2px); }
.formato h4 { font-size: 1.2rem; font-weight: 800; line-height: 1.15; }
.formato p { margin-top: .3rem; font-size: .98rem; line-height: 1.45; color: #f3dcd5; }

@media (min-width: 760px) {
  .format { grid-template-columns: 1fr 1fr; }
  .formato { grid-template-columns: 1fr; align-items: start; align-content: start; padding: .9rem; }
  .formato img { aspect-ratio: 16 / 9; }
  .formato--grande { grid-row: span 2; grid-template-columns: 1fr; align-items: start; padding: 1rem; }
  .formato--grande img { aspect-ratio: 4 / 5; object-position: 50% 40%; }
  .formato--grande h4 { font-size: 1.6rem; }
}
@media (min-width: 1100px) {
  .format { grid-template-columns: 1.1fr 1fr 1fr; }
  .formato--grande { grid-row: span 2; }
}

.eventi__social { margin-top: 1.75rem; color: #f3dcd5; }
.eventi__social a, .link-forte { font-weight: 700; text-underline-offset: .2em; }
.eventi__social a { color: #fff; }

/* ---------- Feste ---------- */

.feste { display: grid; background: var(--nero); }
.feste__foto img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feste__testo { padding: clamp(3rem, 8vw, 6rem) var(--margine); position: relative; }
.feste__testo p { margin: 1.25rem 0 2rem; max-width: 42ch; font-size: 1.15rem; color: #d3cbc3; }
.feste__ricordo {
  width: min(15rem, 60%); aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--angolo);
  margin-top: 2.5rem; transform: rotate(3deg);
  border: 8px solid var(--crema); border-bottom-width: 2.4rem;
  box-shadow: 0 14px 30px rgb(0 0 0 / .35);
}
@media (min-width: 900px) {
  .feste { grid-template-columns: 1fr 1fr; }
  .feste__foto img { aspect-ratio: auto; min-height: 100%; }
  .feste__testo { align-self: center; max-width: 40rem; padding-left: clamp(3rem, 6vw, 6rem); }
}

/* ---------- Voci ---------- */

.voci {
  background: var(--rosa); color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--margine);
  display: grid; gap: 2rem;
}
.voci__voto { font-weight: 600; }
.voci__voto strong { display: block; font-weight: 900; font-stretch: 72%; font-size: 5.5rem; line-height: .85; }
.voci__voto span { display: block; opacity: .85; font-weight: 500; }
.voci blockquote p { font-size: 1.3rem; font-weight: 700; line-height: 1.3; max-width: 32ch; }
.voci blockquote footer { margin-top: .5rem; font-size: .95rem; opacity: .9; }
@media (min-width: 900px) {
  .voci {
    grid-template-columns: auto 1fr 1fr; gap: 3.5rem; align-items: start;
    padding-inline: max(var(--margine), calc((100vw - var(--larghezza)) / 2));
  }
}

/* ---------- Un concept del JOS ---------- */

.jos { display: grid; background: var(--crema); color: var(--testo-scuro); }
.jos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 85%; }
.jos__testo { padding: clamp(3rem, 8vw, 6rem) var(--margine); }
.jos__testo p { margin: 1.25rem 0 2rem; max-width: 42ch; font-size: 1.15rem; color: #4a4245; }
@media (min-width: 900px) {
  .jos { grid-template-columns: 1fr 1fr; }
  .jos img { aspect-ratio: auto; min-height: 100%; order: 2; }
  .jos__testo { align-self: center; max-width: 40rem; margin-left: auto; }
}

/* ---------- Dove ---------- */

.dove { padding: clamp(4rem, 9vw, 7rem) var(--margine) clamp(3rem, 6vw, 5rem); }
.dove > * { max-width: var(--larghezza); margin-inline: auto; }
.dove__griglia { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.dove h3 { font-size: 1rem; font-weight: 700; color: var(--rosa-chiaro); margin-bottom: .6rem; }
.dove p, .dove address { margin-top: .5rem; font-size: 1.1rem; font-style: normal; }
.dove__grande { font-size: 1.35rem !important; font-weight: 600; line-height: 1.35; }
.dove__mappa iframe {
  width: 100%; height: 100%; min-height: 20rem; border: 0; border-radius: var(--angolo);
  filter: grayscale(.4) contrast(1.05);
}
@media (min-width: 900px) { .dove__griglia { grid-template-columns: 1fr 1fr 1.4fr; gap: 3rem; } }

/* ---------- Piede e barra ---------- */

.piede {
  border-top: 1px solid rgb(244 239 232 / .1);
  padding: 2.5rem var(--margine) calc(6.5rem + env(safe-area-inset-bottom, 0px));
  display: grid; gap: .5rem; color: var(--testo-tenue); font-size: .95rem;
}
.piede__marchio { display: flex; align-items: center; gap: .5rem; color: var(--testo-chiaro); font-weight: 800; font-stretch: 112%; font-size: 1.3rem; }
.piede__marchio .marchio__segno { width: 1rem; color: var(--rosa); }
.piede__marchio span:last-child { font-weight: 500; font-stretch: 100%; font-size: .9rem; color: var(--rosa-chiaro); }
.piede a { color: var(--testo-chiaro); margin-right: 1.25rem; font-weight: 600; }
@media (min-width: 900px) { .piede { padding-bottom: 2.5rem; } }

.barra {
  position: fixed; left: .75rem; right: .75rem; z-index: 25;
  bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .4rem;
  border-radius: 999px; background: rgb(29 27 29 / .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgb(0 0 0 / .4), inset 0 0 0 1px rgb(244 239 232 / .08);
  transform: translateY(calc(100% + 2rem)); transition: transform .35s var(--esce);
}
.barra.is-visibile { transform: none; }
.barra a {
  display: flex; align-items: center; justify-content: center; min-height: 3rem;
  border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--testo-chiaro);
  user-select: none; -webkit-user-select: none; transition: transform .14s var(--esce);
}
.barra a:first-child { background: var(--rosa); color: #fff; }
.barra a:active { transform: scale(.97); }
@media (min-width: 900px) { .barra { display: none; } }

/* ---------- Movimento ---------- */

@media (prefers-reduced-motion: no-preference) {
  .apertura__foto { animation: avvicina 1.6s var(--esce) both; }
  .logo, .apertura__titolo, .apertura__sotto, .apertura .stato, .apertura .azioni { animation: sale .8s var(--esce) both; }
  .logo { animation-delay: .1s; }
  .apertura__titolo { animation-delay: .2s; }
  .apertura__sotto { animation-delay: .3s; }
  .apertura .stato { animation-delay: .38s; }
  .apertura .azioni { animation-delay: .45s; }

  /* La striscia scorre piano, come un nastro sul bancone. */
  .nastro__pista { animation: scorre 32s linear infinite; }

  .is-aperto .stato__punto::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--verde); animation: respira 2.4s ease-out infinite;
  }

  /* Gli adesivi si attaccano quando arrivano in vista: un colpo solo. */
  .js .adesivo { opacity: 0; scale: 1.35; }
  .js .adesivo.is-attaccato { animation: attacca .45s var(--molla) forwards; }

  .js [data-entra] { opacity: 0; translate: 0 1.25rem; transition: opacity .7s var(--esce), translate .7s var(--esce); }
  .js [data-entra].is-dentro { opacity: 1; translate: none; }
}

@keyframes sale { from { opacity: 0; transform: translateY(.9rem); } to { opacity: 1; transform: none; } }
@keyframes avvicina { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes scorre { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes respira { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }
@keyframes attacca { 0% { opacity: 0; scale: 1.35; } 60% { opacity: 1; } 100% { opacity: 1; scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .barra { transition: opacity .2s; transform: none; opacity: 0; pointer-events: none; }
  .barra.is-visibile { opacity: 1; pointer-events: auto; }
}
