:root {
  --nero: hsl(300 12% 6%);
  --notte: hsl(318 14% 11%);
  --fucsia: hsl(330 84% 52%);
  --fucsia-scuro: hsl(328 72% 38%);
  --fucsia-chiaro: hsl(330 90% 88%);
  --arancio: hsl(18 96% 55%);
  --giallo: hsl(52 98% 60%);
  --giallo-tenue: hsl(52 90% 82%);
  --crema: hsl(46 76% 96%);
  --pesca: hsl(24 90% 91%);
  --inchiostro: hsl(300 10% 10%);
  --grigio: hsl(300 6% 34%);
  --bianco: hsl(40 60% 99%);
  --bordo: 3px solid var(--nero);
  --ombra: 6px 6px 0 var(--nero);
  --spazio: clamp(4rem, 10vw, 9rem);
  --largo: 74rem;
  --titoli: "Archivo Black", "Arial Black", sans-serif;
  --testo: "Space Grotesk", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--crema);
  color: var(--inchiostro);
  font-family: var(--testo);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1, h2, h3 {
  font-family: var(--titoli);
  font-weight: 400;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
s, del { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--arancio); outline-offset: 3px; }

.ce-cornice { width: min(100% - 2.5rem, var(--largo)); margin-inline: auto; }
.ce-blocco { padding-block: var(--spazio); position: relative; }
.ce-crema { background: var(--crema); color: var(--inchiostro); }
.ce-pesca { background: var(--pesca); color: var(--inchiostro); }
.ce-giallo { background: var(--giallo); color: var(--nero); }
.ce-fucsia { background: var(--fucsia-scuro); color: var(--bianco); }
.ce-notte { background: var(--notte); color: var(--crema); }

.ce-occhiello {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.ce-blocco > .ce-cornice > h2 { max-width: 18ch; }
.ce-intro { max-width: 38rem; margin-top: 1.4rem; }

.ce-tasto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.6rem;
  padding: 0.9rem 2rem;
  background: var(--giallo);
  color: var(--nero);
  border: var(--bordo);
  box-shadow: var(--ombra);
  font-family: var(--titoli);
  font-size: 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ce-tasto:hover, .ce-tasto:focus-visible { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--nero); }
.ce-tasto svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
}
.ce-notte .ce-tasto, .ce-apertura .ce-tasto { border-color: var(--giallo); box-shadow: 6px 6px 0 var(--fucsia); }
.ce-notte .ce-tasto:hover, .ce-apertura .ce-tasto:hover { box-shadow: 9px 9px 0 var(--fucsia); }
.ce-fucsia .ce-tasto { box-shadow: 6px 6px 0 var(--giallo-tenue); border-color: var(--nero); }

.ce-apertura {
  background:
    radial-gradient(circle at 18% 30%, hsl(330 84% 52% / 0.32), transparent 42%),
    linear-gradient(112deg, transparent 0 40%, var(--arancio) 40% 45.5%, transparent 45.5%),
    var(--nero);
  color: var(--crema);
  padding-block: clamp(3rem, 7vw, 6.5rem);
  overflow: hidden;
}
.ce-apertura .ce-cornice {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "cop testo";
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.ce-testo { grid-area: testo; }
.ce-testo .ce-occhiello { color: var(--giallo); }
.ce-testo h1 {
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.ce-testo h1 em { font-style: normal; color: var(--fucsia); }
.ce-sotto {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: hsl(46 50% 86%);
}
.ce-azione {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2rem;
  margin-top: 2.2rem;
}

.ce-prezzo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.75rem 1.4rem 0.9rem;
  background: var(--fucsia-scuro);
  color: var(--bianco);
  border-bottom: 6px solid var(--giallo);
  transform: rotate(-2deg);
}
.ce-prezzo strong {
  font-family: var(--titoli);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
}
.ce-prezzo s { font-size: 1.1rem; color: var(--fucsia-chiaro); }

.ce-copertina {
  grid-area: cop;
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 27rem);
}
.ce-copertina::before {
  content: "";
  position: absolute;
  inset: -9% -12% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border: 14px solid var(--fucsia);
  border-radius: 50%;
}
.ce-copertina::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -5%;
  width: 34%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--giallo) 0 22%, transparent 23%) 0 0 / 1.3rem 1.3rem;
}
.ce-copertina img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: contain;
  transform: rotate(-7deg);
  border: 5px solid var(--bianco);
  box-shadow: 0 2.5rem 4rem hsl(300 40% 2% / 0.75), 18px 18px 0 var(--arancio);
}

.ce-spicchi {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ce-spicchi > li {
  display: grid;
  grid-template-columns: clamp(9rem, 22vw, 15rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 54rem;
}
.ce-spicchi > li:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) clamp(9rem, 22vw, 15rem);
  margin-left: auto;
  text-align: right;
}
.ce-spicchi > li:nth-child(even) img { order: 2; }
.ce-spicchi img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: var(--bordo);
  box-shadow: 10px 10px 0 var(--c, var(--fucsia));
}
.ce-spicchi > li:nth-child(2) img { --c: var(--arancio); }
.ce-spicchi > li:nth-child(3) img { --c: var(--giallo); }
.ce-spicchi > li:nth-child(4) img { --c: var(--nero); }
.ce-spicchi h3 { margin-bottom: 0.6rem; font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.ce-spicchi b {
  color: var(--fucsia-scuro);
  font-family: var(--titoli);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.4rem;
}
.ce-spicchi p { max-width: 30rem; }
.ce-spicchi > li:nth-child(even) p { margin-left: auto; }

.ce-diviso {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.ce-giorni {
  counter-reset: giorno;
  margin-top: 2.4rem;
  display: grid;
  gap: 1.1rem;
}
.ce-giorni li {
  counter-increment: giorno;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid hsl(330 90% 88% / 0.35);
}
.ce-giorni li::before {
  content: counter(giorno);
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  background: var(--giallo);
  color: var(--nero);
  font-family: var(--titoli);
  font-size: 1.5rem;
}
.ce-giorni strong { display: block; font-size: 1.25rem; }
.ce-giorni span { color: var(--fucsia-chiaro); }
.ce-fucsia .ce-occhiello { color: var(--giallo); }

.ce-foto { margin: 0; position: relative; }
.ce-foto img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid var(--bianco);
  transform: rotate(3deg);
  box-shadow: -16px 16px 0 var(--nero);
}
.ce-foto figcaption {
  position: absolute;
  z-index: 1;
  left: -1rem;
  bottom: 1.5rem;
  max-width: 15rem;
  padding: 0.7rem 1rem;
  background: var(--nero);
  color: var(--giallo);
  font-size: 0.95rem;
  line-height: 1.35;
  transform: rotate(-3deg);
}

.ce-lastra { text-align: center; }
.ce-lastra .ce-occhiello { border-bottom: 3px solid var(--nero); padding-bottom: 0.3rem; }
.ce-lastra blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--titoli);
  font-size: clamp(2.2rem, 5.6vw, 4.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}
.ce-lastra blockquote span {
  background: var(--nero);
  color: var(--giallo);
  padding: 0 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ce-lastra p { max-width: 36rem; margin: 2.2rem auto 0; }
.ce-cerchi {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.6rem;
}
.ce-cerchi i {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: var(--bordo);
}
.ce-cerchi i:nth-child(1) { background: var(--fucsia); }
.ce-cerchi i:nth-child(2) { background: var(--arancio); }
.ce-cerchi i:nth-child(3) { background: hsl(96 62% 46%); }
.ce-cerchi i:nth-child(4) { background: var(--crema); }

.ce-scheda {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.ce-dati { margin-top: 2rem; border-top: var(--bordo); }
.ce-dati div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid hsl(300 10% 10% / 0.25);
}
.ce-dati dt { color: var(--grigio); }
.ce-dati dd { font-weight: 700; text-align: right; }
.ce-autrice {
  background: var(--bianco);
  border: var(--bordo);
  box-shadow: 10px 10px 0 var(--fucsia);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.ce-autrice h3 { margin-bottom: 1rem; }
.ce-autrice p + p { margin-top: 1rem; }
.ce-nota {
  margin-top: 1.6rem;
  padding-left: 1rem;
  border-left: 4px solid var(--arancio);
  font-size: 1rem;
  color: var(--grigio);
}

.ce-domande {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  gap: 0.9rem;
  max-width: 52rem;
}
.ce-domande details {
  border: 2px solid hsl(46 76% 96% / 0.25);
  background: hsl(318 14% 15%);
  transition: border-color 0.2s;
}
.ce-domande details[open] { border-color: var(--giallo); }
.ce-domande summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}
.ce-domande summary::-webkit-details-marker { display: none; }
.ce-domande summary::after {
  content: "+";
  font-family: var(--titoli);
  font-size: 1.6rem;
  color: var(--giallo);
  line-height: 1;
  transition: transform 0.2s;
}
.ce-domande details[open] summary::after { transform: rotate(45deg); }
.ce-domande details p { padding: 0 1.4rem 1.3rem; color: hsl(46 40% 84%); }
.ce-notte .ce-occhiello { color: var(--fucsia); }

.ce-ordine {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.ce-anteprima {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2rem;
}
.ce-anteprima img {
  width: 14rem;
  flex: none;
  object-fit: contain;
  border: var(--bordo);
  box-shadow: var(--ombra);
  transform: rotate(-3deg);
}
.ce-anteprima .ce-prezzo {
  transform: none;
  flex-direction: column;
  gap: 0.2rem;
}
.ce-incluso {
  margin-top: 2rem;
  display: grid;
  gap: 0.7rem;
}
.ce-incluso li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}
.ce-incluso li::before {
  content: "";
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--arancio);
  border: 2px solid var(--nero);
  transform: rotate(45deg) translateY(-0.1rem);
}

.ce-modulo {
  background: var(--bianco);
  border: var(--bordo);
  box-shadow: 12px 12px 0 var(--fucsia-scuro);
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  gap: 1.4rem;
}
.ce-modulo h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.ce-campo { display: grid; gap: 0.45rem; }
.ce-campo label {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ce-campo input {
  width: 100%;
  min-height: 3.6rem;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--inchiostro);
  background: var(--crema);
  border: var(--bordo);
  border-radius: 0;
}
.ce-campo input:focus {
  outline: none;
  border-color: var(--fucsia);
  box-shadow: 4px 4px 0 var(--fucsia);
}
.ce-campo input::placeholder { color: hsl(300 6% 55%); }
.ce-modulo .ce-tasto { width: 100%; }
.ce-avviso {
  font-size: 0.95rem;
  color: var(--grigio);
  line-height: 1.5;
}

.ce-piede {
  background: var(--nero);
  color: hsl(46 40% 84%);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
  border-top: 8px solid var(--fucsia);
}
.ce-piede .ce-cornice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: end;
}
.ce-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  font-size: 1rem;
}
.ce-link a {
  text-decoration: none;
  border-bottom: 2px solid var(--arancio);
  padding-bottom: 0.1rem;
}
.ce-link a:hover { color: var(--giallo); }
.ce-piede p { font-size: 0.95rem; }
.ce-firma {
  font-family: var(--titoli);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--giallo);
  line-height: 1.05;
}
.ce-piede small {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: hsl(46 20% 62%);
  padding-top: 1.5rem;
  border-top: 1px solid hsl(46 20% 62% / 0.3);
}

.ce-legale { padding-block: clamp(3rem, 7vw, 6rem); }
.ce-legale .ce-cornice { max-width: 50rem; }
.ce-indietro {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--fucsia);
}
.ce-legale h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
.ce-data {
  margin-top: 1rem;
  color: var(--grigio);
  font-size: 1rem;
}
.ce-legale h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.9rem; }
.ce-legale section { padding-block: 2rem; border-bottom: 2px solid var(--nero); }
.ce-legale section:last-of-type { border-bottom: 0; }
.ce-legale section p + p, .ce-legale section p + ul, .ce-legale section ul + p { margin-top: 0.9rem; }
.ce-legale section ul { display: grid; gap: 0.45rem; }
.ce-legale section ul li { padding-left: 1.4rem; position: relative; }
.ce-legale section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--fucsia);
}
.ce-sintesi {
  margin-top: 2.5rem;
  padding: 1.6rem 1.8rem;
  background: var(--fucsia-scuro);
  color: var(--bianco);
  box-shadow: var(--ombra);
}
.ce-sintesi h2 { color: var(--giallo); font-size: 1.3rem; }
.ce-sintesi ol {
  counter-reset: s;
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.ce-sintesi li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 2rem 1fr;
}
.ce-sintesi li::before {
  content: counter(s) ".";
  font-family: var(--titoli);
  color: var(--giallo);
}
.ce-legale details {
  border: var(--bordo);
  background: var(--bianco);
  margin-top: 0.8rem;
}
.ce-legale summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 700;
  list-style: none;
}
.ce-legale summary::-webkit-details-marker { display: none; }
.ce-legale summary::before {
  content: "§ ";
  color: var(--fucsia-scuro);
  font-family: var(--titoli);
}
.ce-legale details[open] summary { background: var(--giallo); }
.ce-legale details p { padding: 1rem 1.2rem 1.2rem; }
.ce-tabella {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2rem;
  font-size: 1.02rem;
}
.ce-tabella th, .ce-tabella td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 0.8rem;
  border: 2px solid var(--nero);
}
.ce-tabella th {
  background: var(--nero);
  color: var(--giallo);
  font-weight: 700;
}
.ce-tabella td:first-child { font-weight: 700; background: var(--pesca); }
.ce-tabella td { background: var(--bianco); }

.ce-grazie {
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding-block: clamp(3rem, 8vw, 7rem);
}
.ce-grazie .ce-cornice {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.ce-grazie h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  text-transform: uppercase;
  line-height: 0.98;
}
.ce-grazie h1 em { font-style: normal; color: var(--giallo); }
.ce-grazie .ce-sotto { margin-top: 1.4rem; }
.ce-grazie img {
  width: min(100%, 15rem);
  justify-self: center;
  object-fit: contain;
  border: 4px solid var(--bianco);
  transform: rotate(5deg);
  box-shadow: -12px 12px 0 var(--fucsia);
}
.ce-passi {
  counter-reset: p;
  display: grid;
  gap: 1rem;
  margin: 2.2rem 0;
  max-width: 36rem;
}
.ce-passi li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  align-items: start;
}
.ce-passi li::before {
  content: counter(p);
  display: grid;
  place-items: center;
  height: 2.6rem;
  background: var(--fucsia);
  color: var(--bianco);
  font-family: var(--titoli);
}

@media (max-width: 960px) {
  .ce-apertura {
    background:
      radial-gradient(circle at 50% 78%, hsl(330 84% 52% / 0.3), transparent 45%),
      linear-gradient(160deg, transparent 0 62%, var(--arancio) 62% 66%, transparent 66%),
      var(--nero);
  }
  .ce-apertura .ce-cornice {
    grid-template-columns: 1fr;
    grid-template-areas: "testo" "cop";
    gap: 3rem;
  }
  .ce-copertina { width: 60%; max-width: 16rem; }
  .ce-azione { margin-top: 1.6rem; gap: 1.2rem 1.6rem; }
  .ce-diviso, .ce-scheda, .ce-ordine { grid-template-columns: 1fr; }
  .ce-foto { max-width: 26rem; margin-inline: auto; }
  .ce-grazie .ce-cornice { grid-template-columns: 1fr; }
  .ce-grazie img { width: 9rem; justify-self: start; }
  .ce-piede .ce-cornice { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ce-apertura { padding-block: 2rem 3.5rem; }
  .ce-testo h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .ce-sotto { margin-top: 1rem; }
  .ce-occhiello { margin-bottom: 0.8rem; font-size: 0.78rem; }
  .ce-azione .ce-tasto, .ce-modulo .ce-tasto { width: 100%; }
  .ce-spicchi > li, .ce-spicchi > li:nth-child(even) {
    grid-template-columns: 7rem minmax(0, 1fr);
    text-align: left;
    margin-left: 0;
    gap: 1.2rem;
  }
  .ce-spicchi > li:nth-child(even) img { order: 0; }
  .ce-spicchi > li:nth-child(even) p { margin-left: 0; }
  .ce-spicchi img { box-shadow: 6px 6px 0 var(--c, var(--fucsia)); }
  .ce-anteprima { gap: 1.1rem; }
  .ce-anteprima img { width: 6.5rem; }
  .ce-anteprima .ce-prezzo strong { font-size: 1.8rem; }
  .ce-dati div { flex-direction: column; gap: 0.1rem; }
  .ce-dati dd { text-align: left; }
  .ce-tabella { font-size: 0.88rem; hyphens: auto; }
  .ce-tabella th, .ce-tabella td { padding: 0.6rem 0.45rem; }
  .ce-foto figcaption { left: 0.5rem; }
}
