@font-face { font-family: "Source Sans 3"; src: url("/assets/font/SourceSans3-Regular.otf") format("opentype"); font-weight: 300 450; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/font/SourceSans3-Semibold.otf") format("opentype"); font-weight: 451 900; font-display: swap; }
:root { --sans: "Source Sans 3", -apple-system, Helvetica, Arial, sans-serif; --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --oro: #d4b47a; --oro2: #f1dcae; --rosso: #ffb4aa; --sa-t: env(safe-area-inset-top, 0px); --sa-b: env(safe-area-inset-bottom, 0px); color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; font: 15px/1.45 var(--sans); color: #f5efe6; -webkit-font-smoothing: antialiased; }
body.tema-natale { background: #3a070c; } body.tema-carnevale { background: #120a28; }
a { color: var(--oro2); }
[hidden] { display: none !important; }

/* Sfondi */
.scena { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.tema-natale .scena { background: radial-gradient(1200px 600px at 50% -10%, rgba(255,214,150,.18), transparent 60%), radial-gradient(900px 700px at 100% 100%, rgba(0,0,0,.45), transparent 60%), linear-gradient(160deg, #7a1018 0%, #5a0b12 45%, #2e0509 100%); }
.tema-natale .scena::before { content: ''; position: absolute; inset: 0; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f1dcae' stroke-width='1.1' stroke-linecap='round'%3E%3Cg transform='translate(30 30)'%3E%3Cpath d='M0-11V11M-9.5-5.5 9.5 5.5M-9.5 5.5 9.5-5.5M-3-8 0-5 3-8M-3 8 0 5 3 8'/%3E%3C/g%3E%3Cg transform='translate(90 88) scale(.6)'%3E%3Cpath d='M0-11V11M-9.5-5.5 9.5 5.5M-9.5 5.5 9.5-5.5'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23f1dcae'%3E%3Ccircle cx='86' cy='22' r='1.4'/%3E%3Ccircle cx='14' cy='96' r='1.1'/%3E%3Ccircle cx='60' cy='62' r='.9'/%3E%3C/g%3E%3C/svg%3E"); }
.tema-natale .scena::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; opacity: .22;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='180' viewBox='0 0 300 180'%3E%3Cg fill='%23f1dcae'%3E%3Cpath d='M40 180 70 90 100 180zM48 150 70 80 92 150zM56 120 70 70 84 120z'/%3E%3Cpath d='M190 180 225 70 260 180zM199 145 225 60 251 145zM208 110 225 50 242 110z'/%3E%3Cpath d='M130 180 150 120 170 180zM136 160 150 110 164 160z'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom / 300px 180px; }
.tema-carnevale .scena { background: radial-gradient(900px 500px at 15% 0%, rgba(214,92,163,.30), transparent 60%), radial-gradient(900px 600px at 100% 30%, rgba(46,170,170,.22), transparent 60%), radial-gradient(700px 500px at 40% 110%, rgba(212,180,122,.22), transparent 60%), linear-gradient(170deg, #241446 0%, #170d31 50%, #0c0820 100%); }
.tema-carnevale .scena::before { content: ''; position: absolute; inset: 0; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg%3E%3Crect x='20' y='18' width='8' height='3' rx='1.5' fill='%23d4b47a' transform='rotate(28 24 19)'/%3E%3Crect x='110' y='30' width='7' height='3' rx='1.5' fill='%23e06aa8' transform='rotate(-35 113 31)'/%3E%3Crect x='70' y='90' width='8' height='3' rx='1.5' fill='%2342c0c0' transform='rotate(60 74 91)'/%3E%3Crect x='136' y='120' width='6' height='3' rx='1.5' fill='%23d4b47a' transform='rotate(-15 139 121)'/%3E%3Crect x='30' y='130' width='7' height='3' rx='1.5' fill='%23e06aa8' transform='rotate(75 33 131)'/%3E%3Ccircle cx='60' cy='40' r='2' fill='%2342c0c0'/%3E%3Ccircle cx='100' cy='70' r='1.6' fill='%23d4b47a'/%3E%3Ccircle cx='14' cy='80' r='1.5' fill='%23e06aa8'/%3E%3Ccircle cx='120' cy='150' r='1.8' fill='%2342c0c0'/%3E%3Ccircle cx='86' cy='136' r='1.3' fill='%23d4b47a'/%3E%3C/g%3E%3C/svg%3E"); }
.tema-carnevale .scena::after { content: ''; position: absolute; right: -40px; top: 120px; width: 420px; height: 220px; opacity: .10;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath fill='%23f1dcae' d='M100 30c18-18 58-22 92-8-4 34-26 62-58 62-14 0-26-8-34-20-8 12-20 20-34 20C34 84 12 56 8 22c34-14 74-10 92 8zm-52 8c-12 0-20 6-22 14 8 6 18 8 28 6 6-2 10-8 8-14-4-4-8-6-14-6zm104 0c-6 0-10 2-14 6-2 6 2 12 8 14 10 2 20 0 28-6-2-8-10-14-22-14z'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Pagina */
.pagina { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: calc(26px + var(--sa-t)) 16px calc(50px + var(--sa-b)); }
.testa { text-align: center; margin-bottom: 18px; }
.testa img { width: 50px; height: 50px; object-fit: contain; }
.testa .sopra { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--oro2); opacity: .9; margin-top: 10px; }
.testa h1 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 42px; line-height: 1.05; margin: 6px 0; color: #fff; letter-spacing: .3px; }
.testa p { margin: 0; color: rgba(255,255,255,.8); }
.evidenza { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
.evidenza span { font-size: 14px; color: var(--oro2); letter-spacing: .3px; }
.evidenza .prezzo { font-size: 16px; color: #fff; border: 1px solid rgba(241,220,174,.5); background: rgba(0,0,0,.25); border-radius: 24px; padding: 6px 18px; }
.evidenza .prezzo b { color: var(--oro2); font-size: 18px; }
.carta { background: rgba(14,10,10,.62); border: 1px solid rgba(241,220,174,.22); border-radius: 18px; padding: 22px 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.tema-carnevale .carta { background: rgba(12,8,28,.64); }
.carta + .carta { margin-top: 14px; }
.carta h2 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.sotto { margin: 0 0 14px; color: rgba(255,255,255,.74); font-size: 14px; }
.descrizione { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.86); white-space: pre-line; }
.prezzi { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.prezzi span { border: 1px solid rgba(241,220,174,.35); background: rgba(212,180,122,.12); color: var(--oro2); border-radius: 20px; padding: 5px 12px; font-size: 13px; }
.prezzi span b { color: #fff; }
.giorni { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.giorno { background: rgba(0,0,0,.35); border: 1.5px solid rgba(255,255,255,.18); color: #fff; border-radius: 12px; padding: 9px 4px; text-align: center; cursor: pointer; font: inherit; }
.giorno b { display: block; font-size: 20px; line-height: 1.1; } .giorno small { font-size: 11.5px; opacity: .75; display: block; } .giorno i { display: block; font-style: normal; font-size: 11px; color: var(--oro2); margin-top: 2px; }
.giorno.on { border-color: var(--oro); background: rgba(212,180,122,.2); }
.giorno:disabled { opacity: .38; cursor: not-allowed; }
.gruppo { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 16px 0 8px; }
.orari { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.orari button { background: rgba(0,0,0,.35); border: 1.5px solid rgba(255,255,255,.16); color: #fff; border-radius: 10px; padding: 9px 0; font: inherit; font-size: 14px; cursor: pointer; }
.orari button.on { border-color: var(--oro); background: var(--oro); color: #1a1208; font-weight: 600; }
.orari button:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.scelta { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(212,180,122,.14); border: 1px solid rgba(212,180,122,.4); border-radius: 12px; padding: 10px 14px; margin: 14px 0 0; font-size: 14px; }
.scelta b { color: var(--oro2); text-align: right; }
.griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.intero { grid-column: 1 / -1; }
label.c { display: block; font-size: 12.5px; color: rgba(255,255,255,.72); margin-bottom: 5px; } label.c em { color: var(--oro); font-style: normal; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; background: rgba(0,0,0,.42); color: #fff; border: 1.5px solid rgba(255,255,255,.22); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(212,180,122,.2); }
.errore-campo input, .errore-campo select { border-color: #ff8a80; }
.msg-campo { color: var(--rosso); font-size: 12px; margin-top: 4px; }
.spunta { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.74); margin: 14px 0 2px; cursor: pointer; }
.spunta input { width: 18px; height: 18px; accent-color: var(--oro); flex: none; margin-top: 1px; }
.btn { display: block; width: 100%; margin-top: 16px; background: linear-gradient(180deg, #e2c58d, #c9a45f); color: #1a1208; border: 0; border-radius: 12px; padding: 14px; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.secondario { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.32); font-weight: 500; }
.btn.rosso { background: transparent; color: var(--rosso); border: 1.5px solid rgba(255,138,128,.5); }
.link { background: none; border: 0; color: var(--oro2); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.link:disabled { color: rgba(255,255,255,.45); text-decoration: none; cursor: default; }
.nota { font-size: 12.5px; color: rgba(255,255,255,.62); text-align: center; margin-top: 10px; }
.avviso { background: rgba(255,138,128,.12); border: 1px solid rgba(255,138,128,.4); color: #ffd0ca; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-top: 14px; }
.codice { width: 100%; max-width: 260px; display: block; margin: 6px auto 4px; text-align: center; font-size: 30px !important; letter-spacing: 12px; padding: 12px 0 12px 12px !important; }
.riassunto { background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 14px 0 4px; }
.riassunto div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; } .riassunto span { color: rgba(255,255,255,.6); }
.esito { text-align: center; } .esito .segno { font-size: 34px; color: var(--oro2); }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.piede { text-align: center; color: rgba(255,255,255,.58); font-size: 12px; margin-top: 22px; line-height: 1.7; }
.piede a { color: rgba(255,255,255,.58); }
.carica { text-align: center; color: rgba(255,255,255,.6); padding: 14px 0; }
@media (max-width: 600px) {
  .griglia { grid-template-columns: 1fr; } .orari { grid-template-columns: repeat(4, 1fr); } .giorni { grid-template-columns: repeat(3, 1fr); }
  .testa h1 { font-size: 36px; } .carta { padding: 20px 16px; }
}

/* Logo completo del sito (MM + Massimiliano Maugeri + Wedding Storyteller) */
.testa .logo-storyteller { display: block; width: 250px; max-width: 70vw; height: auto; margin: 0 auto 18px; }

.nota-evidenza { margin-top: 14px; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(241,220,174,.45); background: rgba(212,180,122,.14); color: var(--oro2); font-size: 14px; line-height: 1.5; }
.nota-evidenza::before { content: '✦ '; color: var(--oro); }
.giorni .mese { grid-column: 1 / -1; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--oro2); margin: 8px 0 0; }
.giorni .mese:first-child { margin-top: 0; }

/* Banner dei cookie (un solo cookie anonimo per le statistiche): bianco con pulsanti blu, come i banner dei servizi dei cookie */
.banner-cookie { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  width: min(560px, calc(100% - 24px)); background: #ffffff; color: #1f1f21; border: 1px solid #dfe3ea; border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.35); font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px; line-height: 1.45; text-align: left; }
.banner-cookie p { margin: 0 0 12px; color: #3a3d45; }
.banner-cookie b { color: #111318; font-weight: 700; }
.banner-cookie a { color: #1a5fd0; text-decoration: underline; }
.banner-cookie-pulsanti { display: flex; gap: 10px; justify-content: flex-end; }
.banner-cookie-pulsanti button { flex: 1; max-width: 170px; font: inherit; font-weight: 700; padding: 10px 14px; border-radius: 8px; cursor: pointer;
  background: #1a5fd0; color: #ffffff; border: 1px solid #1a5fd0; }
.banner-cookie-pulsanti button:hover { background: #154fb0; border-color: #154fb0; }
.banner-cookie-pulsanti button:focus-visible { outline: 3px solid rgba(26,95,208,.35); outline-offset: 2px; }

.sotto.nota-spam { margin-top: -8px; font-size: 12.5px; opacity: .8; }

.titoletto-paga { margin: 22px 0 6px; font-size: 17px; font-weight: 600; color: #fff; }

/* Riquadro delle proposte («Tre modi di raccontarlo», 28/11/2026) */
.proposte { margin: 4px 0 22px; text-align: center; }
.proposte h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 4px; color: #fff; }
.pr-intro { margin: 0 0 14px; color: rgba(255,255,255,.8); }
.pr-scheda { display: flex; align-items: stretch; text-align: left; margin-top: 10px; border: 1px solid rgba(241,220,174,.4); background: rgba(0,0,0,.22); border-radius: 14px; overflow: hidden; }
.pr-scheda img { width: 38%; max-width: 200px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; flex: none; }
.pr-scheda div { padding: 14px 16px; align-self: center; }
.pr-sopra { margin: 0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--oro2); }
.pr-scheda h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; line-height: 1.05; margin: 3px 0 6px; color: #fff; }
.pr-scheda p { margin: 0; }
.pr-scheda .pr-nota { margin-top: 7px; font-size: 13px; color: var(--oro2); }
.pr-punti { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; color: rgba(255,255,255,.85); }
.pr-punti li { padding: 7px 0; border-top: 1px solid rgba(241,220,174,.22); }
.pr-punti li:first-child { border-top: 0; }
.pr-vai { display: inline-block; margin-top: 12px; padding: 9px 22px; border: 1px solid rgba(241,220,174,.55); border-radius: 24px; background: rgba(0,0,0,.25); color: #fff; text-decoration: none; letter-spacing: .5px; }
@media (max-width: 420px) { .pr-scheda h3 { font-size: 23px; } .pr-scheda div { padding: 12px; } .pr-scheda p { font-size: 14px; } }

/* Galleria del riquadro delle proposte (29/11/2026): UNA foto alla volta dentro una cornice 4:5 centrata, foto intera (contain, nessun
   taglio né ingrandimento), frecce ‹ › sopra la cornice e contatore; col dito si scorre una foto per volta. La gestisce Creative Studio (sezione «Sito»). */
.pr-galleria { margin: 22px auto 6px; max-width: 440px; }
.pr-galleria h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; line-height: 1.1; margin: 0 0 12px; color: #fff; }
.pr-cornice { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(241,220,174,.3); background: #1c0306; }
.galleria { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.galleria::-webkit-scrollbar { display: none; }
.galleria > * { display: block; flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: center; cursor: default; }
.galleria img { width: 100%; height: 100%; object-fit: contain; display: block; }
.galleria:focus-visible { outline: 2px solid var(--oro2); outline-offset: -2px; }
.pr-cornice .freccia { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(241,220,174,.5);
  background: rgba(20,4,6,.55); color: #fff; font-size: 26px; line-height: 40px; padding: 0; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, color .3s; }
.pr-cornice .freccia:hover { background: var(--oro); color: #2e0509; }
.pr-cornice .prec { left: 10px; } .pr-cornice .succ { right: 10px; }
.pr-conta { margin: 8px 0 0; font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.pr-gal-nota { margin: 4px 0 0; font-size: 12.5px; color: rgba(255,255,255,.65); }

/* Ritorno al sito (29/11/2026, richiesta dell'utente): il logo porta alla home e in alto a sinistra c'è «‹ Home» */
.logo-home { display: inline-block; }
.torna-home { display: inline-block; margin: -10px 0 12px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(241,220,174,.45); background: rgba(0,0,0,.3); color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .4px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.torna-home:hover { background: var(--oro); color: #2e0509; }
