/* Il Piccolo Merchant · stile anni Sessanta su carta da zucchero */

@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lobster.woff2) format('woff2');
}
@font-face {
  font-family: 'Alfa Slab One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/alfa-slab-one.woff2) format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/oswald.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/lora.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/lora-italic.woff2) format('woff2');
}

@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/courier-prime-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/courier-prime-700.woff2) format('woff2');
}

:root {
  /* la carta da zucchero e i colori della scatola */
  --zucchero: #a6bed3;
  --zucchero-chiaro: #bccfdf;
  --zucchero-scuro: #7f9db8;
  --crema: #f4ebd6;
  --carta: #fbf6ea;
  --sabbia: #ead39c;
  --inchiostro: #2e1f17;
  --marrone: #3b2418;
  --mattone: #c8432b;
  --mattone-scuro: #a3301c;
  --petrolio: #256c72;
  --petrolio-chiaro: #2f8a91;
  --senape: #f2c230;
  --legno: #7a4a2a;
  --legno-scuro: #4f2e19;

  --testo: 'Lora', Georgia, 'Times New Roman', serif;
  --corsivo: 'Lobster', 'Brush Script MT', cursive;
  --lastra: 'Alfa Slab One', Rockwell, Georgia, serif;
  --stretto: 'Oswald', 'Arial Narrow', sans-serif;
  --macchina: 'Courier Prime', 'Courier New', monospace;

  --larghezza: 1180px;
  --margine: clamp(16px, 4vw, 40px);
  --ombra: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 18px 40px -18px rgba(46, 31, 23, .55);

  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--zucchero);
  color: var(--inchiostro);
  font-family: var(--testo);
  font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

/* la grana della carta: rumore fine, qualche fibra e un velo più scuro ai bordi */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(46, 31, 23, .16) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18  0 0 0 0 .14  0 0 0 0 .11  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .6' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .7 -.38'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  opacity: .55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--mattone-scuro); text-underline-offset: .18em; }
a:hover { color: var(--marrone); }

:focus-visible {
  outline: 3px solid var(--senape);
  outline-offset: 3px;
  border-radius: 4px;
}

.nascosto { position: absolute; width: 0; height: 0; overflow: hidden; }

.visivamente-nascosto {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.salta {
  position: absolute;
  left: var(--margine);
  top: -100px;
  z-index: 10;
  background: var(--marrone);
  color: var(--crema);
  padding: .6em 1em;
  font-family: var(--stretto);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.salta:focus { top: 12px; color: var(--crema); }

/* ---------- pulsanti ---------- */

.pulsante {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .7em 1.5em .65em;
  background: #b23a24;
  color: var(--carta);
  font-family: var(--stretto);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid var(--marrone);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--marrone);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  cursor: pointer;
}
.pulsante:hover {
  color: var(--carta);
  background: var(--mattone-scuro);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--marrone);
}
.pulsante:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--marrone); }


/* ---------- testata ---------- */

.testata {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: clamp(20px, 4vw, 36px) var(--margine) 0;
}
.testata__bollino {
  width: clamp(92px, 12vw, 128px);
  height: clamp(92px, 12vw, 128px);
  filter: drop-shadow(0 6px 10px rgba(46, 31, 23, .3));
}
.testata__presenta {
  margin: 0;
  font-family: var(--lastra);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mattone-scuro);
  text-shadow: 2px 2px 0 var(--crema);
}

/* ---------- la scatola (apertura) ---------- */

.scatola {
  max-width: var(--larghezza);
  margin: 0 auto;
  overflow-x: clip;
  padding: clamp(24px, 5vw, 56px) var(--margine) clamp(48px, 8vw, 96px);
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 960px) {
  .scatola { grid-template-columns: .9fr 1.1fr; }
  .bollino-prezzo { right: -3%; }
}

.scatola__testo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.strenna {
  margin: 0 0 1rem;
  padding: .3em 1em .25em;
  background: var(--mattone);
  color: var(--carta);
  font-family: var(--stretto);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: clamp(.9rem, .8rem + .4vw, 1.1rem);
  box-shadow: 3px 3px 0 var(--marrone);
  transform: rotate(-3deg);
}

.marchio {
  margin: 0 0 1.2rem;
  width: min(100%, 620px);
}
.marchio img {
  width: 100%;
  filter: drop-shadow(0 6px 10px rgba(46, 31, 23, .25));
}

.scatola__lead {
  margin: 0 0 .4rem;
  line-height: 1.35;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  font-weight: 600;
  max-width: 28ch;
}

.scatola__motto {
  margin: 0 0 1rem;
  font-family: var(--corsivo);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  color: var(--marrone);
  text-wrap: balance;
}

.scatola__giocatori {
  margin: 0 0 1.4rem;
  font-family: var(--stretto);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .95rem;
}

.scatola__foto {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.scatola__foto img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 6px;
  /* il bordo rosso del coperchio e l'ombra sul tavolo */
  box-shadow:
    0 0 0 2px rgba(46, 31, 23, .35),
    6px 8px 0 #b8321f,
    6px 8px 0 2px var(--marrone),
    0 26px 40px -16px rgba(46, 31, 23, .55);
  transform: rotate(-2.5deg);
}

.bollino-prezzo {
  position: absolute;
  top: -7%;
  right: -1%;
  width: clamp(96px, 24%, 170px);
  height: auto;
  aspect-ratio: 1;
  transform: rotate(12deg);
  filter: drop-shadow(3px 4px 0 rgba(46, 31, 23, .35));
}

/* ---------- Carosello ---------- */

.carosello {
  position: relative;
  padding: 0 var(--margine) clamp(56px, 8vw, 104px);
  background:
    linear-gradient(180deg, rgba(46, 31, 23, .1), transparent 180px),
    var(--zucchero-scuro);
  border-top: 4px solid var(--marrone);
  border-bottom: 4px solid var(--marrone);
}
.carosello::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .05) 46px 48px);
}

/* il sipario rosso del Carosello, con le pieghe e il bordo a festoni */
.sipario {
  position: relative;
  height: clamp(54px, 7vw, 84px);
  margin: 0 calc(var(--margine) * -1);
  background:
    repeating-linear-gradient(90deg,
      #8e2716 0, #b8321f 18px, #d9533a 30px, #b8321f 42px, #8e2716 60px);
  box-shadow: 0 6px 0 var(--marrone);
}
.sipario::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -26px;
  height: 26px;
  background: radial-gradient(circle at 30px 0, #a52c19 29px, transparent 30px) 0 0 / 60px 26px repeat-x;
  filter: drop-shadow(0 4px 0 var(--marrone));
}

.carosello__intestazione {
  position: relative;
  text-align: center;
  padding-top: clamp(56px, 8vw, 88px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.occhiello {
  margin: 0 0 .3rem;
  font-family: var(--stretto);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--marrone);
}
.carosello__titolo {
  margin: 0;
  font-family: var(--corsivo);
  font-weight: 400;
  font-size: clamp(3.6rem, 2rem + 8vw, 7.5rem);
  line-height: 1;
  color: var(--carta);
  text-shadow:
    3px 3px 0 var(--mattone-scuro),
    6px 6px 0 var(--marrone);
}
.carosello__invito {
  margin: 1rem auto 0;
  max-width: 34ch;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
}

.carosello__schermi {
  position: relative;
  max-width: var(--larghezza);
  margin: 0 auto;
  display: grid;
  gap: clamp(40px, 5vw, 56px);
}
@media (min-width: 960px) {
  .carosello__schermi { grid-template-columns: 1fr 1fr; }
  /* un televisore rimasto da solo nell'ultima fila va al centro, grande come gli altri */
  .reclame:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - clamp(40px, 5vw, 56px)) / 2);
  }
}

.reclame {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* il televisore in legno con le manopole */
.televisore {
  position: relative;
  width: 100%;
  padding: clamp(14px, 2.2vw, 22px) clamp(14px, 2.2vw, 22px) clamp(44px, 5vw, 54px);
  background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .06) 0 3px, transparent 3px 11px),
    linear-gradient(180deg, #8c5733, var(--legno) 40%, var(--legno-scuro));
  border-radius: 22px;
  border: 3px solid var(--marrone);
  box-shadow: var(--ombra), inset 0 2px 0 rgba(255, 255, 255, .18);
}
.televisore::after {
  /* le due gambe del mobile */
  content: '';
  position: absolute;
  left: 14%; right: 14%;
  bottom: -18px;
  height: 18px;
  background:
    linear-gradient(var(--marrone), var(--marrone)) left / 10px 100% no-repeat,
    linear-gradient(var(--marrone), var(--marrone)) right / 10px 100% no-repeat;
}
.televisore__targa {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  margin: 0;
  padding: .15em .9em;
  background: linear-gradient(180deg, #f6e7b5, #d7b664);
  border: 2px solid var(--marrone);
  border-radius: 4px;
  font-family: var(--lastra);
  font-size: clamp(.95rem, .85rem + .4vw, 1.15rem);
  letter-spacing: .06em;
  color: var(--marrone);
  white-space: nowrap;
}
.televisore__manopole {
  position: absolute;
  right: clamp(16px, 2.4vw, 26px);
  bottom: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e9dcc0, #8d7a5c 70%);
  border: 2px solid var(--marrone);
  box-shadow: -34px 0 0 -2px #cdbb95, -34px 0 0 0 var(--marrone);
}
.televisore__schermo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px / 26px;
  background: #11100e;
  border: clamp(6px, 1vw, 10px) solid #1d1a16;
  box-shadow: inset 0 0 0 2px #000, 0 0 0 2px #2b241c;
}
.televisore__schermo::after {
  /* il vetro bombato */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255, 255, 255, .16), transparent 45%),
    radial-gradient(140% 120% at 50% 50%, transparent 60%, rgba(0, 0, 0, .45));
}
.televisore__schermo iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.televisore__schermo:has(iframe)::after { display: none; }

.reclame__locandina {
  position: absolute;
  inset: 0;
  display: block;
}
.reclame__locandina img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.25) saturate(.9) contrast(1.05);
  transition: filter .3s ease, transform .4s ease;
}
.reclame__locandina:hover img { filter: none; transform: scale(1.03); }

.reclame__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(64px, 9vw, 86px);
  height: clamp(64px, 9vw, 86px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--crema);
  border: 4px solid var(--marrone);
  box-shadow: 4px 4px 0 var(--marrone);
  transition: transform .15s ease;
}
.reclame__play::before {
  content: '';
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 23px;
  border-color: transparent transparent transparent var(--mattone);
}
.reclame__locandina:hover .reclame__play,
.reclame__locandina:focus-visible .reclame__play { transform: translate(-50%, -50%) scale(1.08); }

.reclame__titolo {
  margin: clamp(30px, 4vw, 40px) 0 .9rem;
  font-family: var(--corsivo);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  line-height: 1.15;
  color: var(--carta);
  text-shadow: 2px 2px 0 var(--marrone);
}

.pulsante--schermo::before {
  content: '';
  width: 1em;
  height: 1em;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 40% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 2px 40% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 40% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 2px 40% no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 40% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 2px 40% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 40% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 2px 40% no-repeat;
}

.carosello__nota {
  position: relative;
  margin: clamp(32px, 4vw, 48px) auto 0;
  text-align: center;
  font-size: .92rem;
  font-style: italic;
}
/* sul blu del Carosello il rosso dei link non si legge abbastanza */
.carosello__nota a { color: var(--inchiostro); }
.carosello__nota a:hover { color: var(--marrone); }

/* ---------- le carte del gioco ---------- */

.carte {
  max-width: var(--larghezza);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--margine);
}
.titolo-sezione {
  margin: 0 0 clamp(28px, 4vw, 44px);
  text-align: center;
  font-family: var(--lastra);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--mattone-scuro);
  text-shadow: 3px 3px 0 var(--crema);
}
.carte__mazzo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.carta {
  --colore: var(--mattone);
  --su-colore: var(--carta);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  justify-self: center;
  margin: 0;
  padding: 10px 10px 18px;
  background: var(--carta);
  border-radius: 14px;
  border: 3px solid var(--marrone);
  box-shadow: 5px 5px 0 rgba(46, 31, 23, .3);
  transition: transform .2s ease;
}
.carta:nth-child(odd) { transform: rotate(-1.4deg); }
.carta:nth-child(even) { transform: rotate(1.2deg); }
.carta:hover { transform: rotate(0) translateY(-4px); }
.carta--rossa { --colore: #c8432b; }
.carta--marrone { --colore: #6b4226; }
.carta--gialla { --colore: #f2c230; --su-colore: var(--inchiostro); }
.carta--verde { --colore: #1f5a3c; }
.carta--viola { --colore: #5e3a86; }
.carta--arancione { --colore: #e07a1f; --su-colore: var(--inchiostro); }
.carta--bordeaux { --colore: #9e2a2b; }
.carta--nera { --colore: #1d1a18; }
.carta--prato { --colore: #4c9a3e; }
.carta--elettrico { --colore: #2358dc; }
.carta--grigia { --colore: #858a90; }
.carta--ocra { --colore: #c8901f; --su-colore: var(--inchiostro); }
/* le opportunità: etichetta verde e la borsetta di Shopify nell'angolo in basso a destra */
.carta--opportunita {
  position: relative;
  padding-bottom: 46px;
}
.carta--opportunita .carta__tipo { color: #2f6f2a; }
.carta__shopify {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 30px;
  height: 34px;
}
.carta__tipo {
  margin: 4px 0 10px;
  text-align: center;
  font-family: var(--stretto);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--marrone);
}
.carta__figura {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden; /* senza, il simbolo disegnato allunga il riquadro oltre il 4:3 */
  padding: 6%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .14), transparent 65%),
    var(--colore);
  border-radius: 8px;
  border: 2px solid var(--marrone);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .12);
  color: var(--su-colore);
}
.carta__figura svg {
  width: auto;
  height: 100%;
  max-width: 100%;
  filter: drop-shadow(2px 3px 0 rgba(46, 31, 23, .3));
}
.carta__cubitale {
  margin: 0;
  font-family: var(--lastra);
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: .92;
  text-align: center;
  text-transform: uppercase;
  color: var(--crema);
  text-shadow: 3px 3px 0 var(--mattone-scuro), 5px 5px 0 var(--marrone);
}
.carta__dollari {
  margin: 0;
  font-family: var(--lastra);
  font-size: clamp(3.2rem, 2.2rem + 3vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--senape);
  text-shadow: 3px 3px 0 var(--marrone), 0 0 18px rgba(242, 194, 48, .35);
}
.carta__testo {
  flex: 1;
  display: grid;
  place-items: center;
  margin: 14px 8px 0;
  text-align: center;
  font-family: var(--stretto);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.35;
}
.carte__lancio {
  max-width: 44ch;
  margin: clamp(32px, 4vw, 48px) auto 0;
  text-align: center;
  font-family: var(--corsivo);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.3;
  color: var(--marrone);
  text-shadow: 2px 2px 0 var(--crema);
  text-wrap: balance;
}

/* ---------- Vendere online? Un gioco da ragazzi! ---------- */

.bottega {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--margine) clamp(40px, 6vw, 72px);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 860px) {
  .bottega { grid-template-columns: minmax(260px, .8fr) 1.2fr; }
}
.bottega__foto {
  width: min(100%, 460px);
  margin: 0 auto;
  filter: drop-shadow(0 10px 14px rgba(46, 31, 23, .3));
}
.bottega__titolo {
  margin: 0 0 .8rem;
  font-family: var(--lastra);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.05;
  color: var(--mattone-scuro);
  text-shadow: 2px 2px 0 var(--crema), 4px 4px 0 var(--marrone);
}
.bottega__titolo span { display: block; }
.bottega__titolo, .titolo-sezione, .reclame__titolo, .attenzione__avviso { text-wrap: balance; }
.bottega__testo p { margin: 0 0 1rem; max-width: 52ch; }
.spunte {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--stretto);
  font-weight: 500;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.2rem);
}
.spunte li {
  position: relative;
  padding-left: 1.6em;
  margin: .35em 0;
}
.spunte li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--mattone-scuro);
}

/* lo striscione petrolio con le code ripiegate */
.striscione {
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding: 0 var(--margine);
  text-align: center;
}
.striscione span {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: .55em 2.2em .5em;
  background: var(--petrolio);
  color: var(--carta);
  font-family: var(--stretto);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: clamp(1rem, .7rem + 1.4vw, 1.9rem);
  line-height: 1.25;
  transform: rotate(-1.2deg);
  box-shadow: 0 4px 0 var(--marrone);
  clip-path: polygon(0 0, 100% 0, calc(100% - 1em) 50%, 100% 100%, 0 100%, 1em 50%);
}

/* ---------- le locandine ---------- */

.locandine {
  max-width: var(--larghezza);
  margin: 0 auto;
  padding: 0 var(--margine) clamp(56px, 8vw, 96px);
}
.locandine__fila {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  justify-content: center;
  justify-items: center;
}
@media (min-width: 760px) {
  .locandine__fila { grid-template-columns: repeat(2, minmax(0, 420px)); }
}
.locandina { margin: 0; width: 100%; max-width: 420px; text-align: center; }
.locandina img {
  margin: 0 auto;
  border: 3px solid var(--marrone);
  box-shadow: var(--ombra);
  background: var(--crema);
}
.locandina:nth-child(odd) img { transform: rotate(-1.6deg); }
.locandina:nth-child(even) img { transform: rotate(1.6deg); }
.locandina figcaption { margin-top: 1.2rem; font-family: var(--stretto); font-weight: 500; letter-spacing: .04em; }
.locandina figcaption a { color: var(--marrone); }

/* ---------- il tagliando: il modulo vero, collegato a HubSpot ---------- */

.taglia {
  padding: 0 var(--margine) clamp(56px, 8vw, 96px);
}
.tagliando {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 38px) clamp(22px, 4vw, 40px) clamp(24px, 3vw, 32px);
  background: var(--carta);
  color: var(--inchiostro);
  border: 3px dashed var(--marrone);
  font-family: var(--macchina);
  box-shadow: 7px 7px 0 rgba(46, 31, 23, .25);
}
.tagliando__forbici {
  position: absolute;
  left: -18px;
  top: 46%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--zucchero);
  color: var(--marrone);
}
.tagliando__forbici svg { width: 25px; height: 25px; }
.tagliando__titolo {
  margin: 0 0 .4rem;
  font-family: var(--macchina);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tagliando__richiesta {
  margin: 0 0 1rem;
  max-width: 34ch;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.05rem + 1.6vw, 2.1rem);
  line-height: 1.3;
}
.tagliando__istruzioni { margin: 0 0 1.6rem; font-size: 1rem; }
.tagliando__campi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 760px) {
  .tagliando__campi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .tagliando__campi { grid-template-columns: 1fr; gap: 20px; }
}
.tagliando label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tagliando input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 0 7px;
  border: 0;
  border-bottom: 1.5px solid var(--marrone);
  border-radius: 0;
  background: transparent;
  color: var(--inchiostro);
  font: 1.06rem var(--macchina);
}
.tagliando input:focus {
  outline: none;
  border-bottom: 3px solid var(--mattone-scuro);
}
.tagliando__invio {
  margin-top: 24px;
  padding: 13px 18px;
  border: 2px solid var(--marrone);
  border-radius: 0;
  background: #a5321c;
  color: var(--carta);
  font: 700 1.06rem var(--macchina);
  box-shadow: 2px 2px 0 var(--marrone);
  cursor: pointer;
}
.tagliando__invio:hover { background: #862817; }
.tagliando__invio:disabled { opacity: .7; cursor: progress; }
@media (max-width: 440px) {
  .tagliando__invio { width: 100%; font-size: .95rem; }
}
.tagliando__privacy {
  margin: 20px 0 0;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--marrone);
}
.tagliando__privacy a { color: #862817; }
.tagliando__esito {
  margin: 18px 0 0;
  font-family: var(--testo);
  font-size: .95rem;
  font-weight: 600;
}
.tagliando__esito:empty { display: none; }

/* ---------- Attenzione: gioco immaginario ---------- */

.attenzione {
  padding: 0 var(--margine) clamp(56px, 8vw, 104px);
}
.attenzione__cornice {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  text-align: center;
  background: repeating-conic-gradient(from 3deg at 50% 32%, var(--sabbia) 0deg 6deg, var(--crema) 6deg 12deg);
  border: 3px solid var(--marrone);
  box-shadow: var(--ombra);
  overflow: hidden;
}
.attenzione__cornice::before {
  /* il doppio filetto delle schede finali degli spot */
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid var(--marrone);
  pointer-events: none;
}
.attenzione__bollo {
  position: relative;
  width: clamp(170px, 26vw, 230px);
  aspect-ratio: 1;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 8px 12px rgba(46, 31, 23, .3));
}
.attenzione__bollino,
.attenzione__timbro {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.attenzione__timbro {
  inset: -6%;
  width: 112%;
  height: 112%;
  animation: timbra .5s cubic-bezier(.2, 1.6, .4, 1) both;
  animation-timeline: view();
  animation-range: entry 40% cover 35%;
}
@keyframes timbra {
  from { transform: scale(1.8) rotate(8deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.attenzione__avviso {
  margin: 0 auto 1.4rem;
  max-width: 30ch;
  font-family: var(--testo);
  font-weight: 400;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  line-height: 1.45;
}
.attenzione__avviso strong {
  font-family: var(--lastra);
  font-weight: 400;
  color: var(--mattone-scuro);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.attenzione__davvero { margin: 0 0 1.8rem; }
.attenzione__chi {
  display: block;
  font-family: var(--stretto);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  line-height: 1.2;
  color: var(--marrone);
}
.attenzione__firma {
  display: block;
  margin-top: .1em;
  font-family: var(--corsivo);
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem);
  line-height: 1.1;
  color: var(--mattone);
  text-shadow: 2px 2px 0 var(--carta);
}
.attenzione__logo {
  display: grid;
  place-items: center;
  width: clamp(150px, 20vw, 190px);
  aspect-ratio: 1;
  margin: 0 auto 2rem;
  background: var(--carta);
  border-radius: 50%;
  border: 4px solid var(--marrone);
  outline: 3px dotted var(--marrone);
  outline-offset: -16px;
  box-shadow: 0 8px 14px -6px rgba(46, 31, 23, .45);
}
.attenzione__logo img { width: 58%; }
.attenzione__azioni {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}

/* ---------- piede ---------- */

.piede {
  padding: 36px var(--margine) 44px;
  text-align: center;
  background: var(--marrone);
  color: var(--crema);
  font-size: .92rem;
}
.piede p { margin: .3rem auto; max-width: 70ch; }
.piede a { color: var(--sabbia); }
.piede a:hover { color: var(--carta); }
.piede .piede__nota { margin-top: 1rem; padding: .3rem .6rem; font-style: italic; }
/* arrivando dal link del Carosello, la nota si fa vedere */
.piede__nota:target {
  outline: 2px dashed var(--sabbia);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- pagina d'errore: il monoscopio ---------- */

.monoscopio {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 1.4rem;
  padding: 40px var(--margine);
  text-align: center;
}
.monoscopio img {
  width: min(720px, 100%);
  margin: 0 auto;
  border: 10px solid #1d1a16;
  border-radius: 22px / 32px;
  box-shadow: var(--ombra);
}
.monoscopio h1 {
  margin: 0;
  font-family: var(--lastra);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  color: var(--mattone-scuro);
  text-shadow: 2px 2px 0 var(--crema);
}
.monoscopio p { margin: 0; }

/* ---------- movimento ridotto ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .attenzione__timbro { animation: none; }
  .carta, .pulsante, .reclame__locandina img { transition: none; }
}
