:root {
–brand: #006994;
–brand-light: #e8f4f8;
–brand-dark: #004d6e;
–overlay-opacity: 0.52;
–font-display: ‘Playfair Display’, Georgia, serif;
–font-editorial: ‘Cormorant Garamond’, Georgia, serif;
–font-ui: ‘DM Sans’, system-ui, sans-serif;
–off-white: #faf9f7;
–warm-gray: #f2f0ec;
–dark: #1a1a18;
–border: rgba(26,26,24,0.10);
–border-focus: rgba(0,105,148,0.4);
–text-muted: #6b6b68;
–success: #16a34a;
–success-light: #f0fdf4;
–success-border: #bbf7d0;
–radius: 12px;
–radius-sm: 6px;
–col-disponibile: #fff;
–col-occupato: #fef2f2;
–col-attesa: #fffbeb;
–col-selezionato: #e8f4f8;
–col-range: #d4edf6;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.sep { height: 1px; background: var(–border); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: ‘DM Sans’, system-ui, sans-serif;
background: #faf9f7;
color: #1a1a18;
overflow-x: hidden;
}
.hero {
position: relative;
height: 100vh;
min-height: 560px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: -12%;
width: 124%;
height: 124%;
background-size: cover;
background-position: center;
will-change: transform;
transition: transform 0.08s linear;
}
.hero-overlay {
position: absolute;
inset: 0;
background-color: var(–brand);
opacity: var(–overlay-opacity);
transition: background-color 0.4s ease;
pointer-events: none;
}
.hero-vignette {
position: absolute;
inset: 0;
background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.5) 100%);
pointer-events: none;
}
.hero-logo {
position: absolute;
top: clamp(20px,4vw,36px);
left: clamp(20px,4vw,40px);
z-index: 10;
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
opacity: 0;
animation: aFadeIn 0.6s ease 0.1s forwards;
}
.hero-logo-icon {
width: 34px;
height: 34px;
filter: drop-shadow(0 1px 6px rgba(0,0,0,0.3));
}
.hero-logo-text {
font-family: var(–font-display);
font-size: 14px;
font-weight: 400;
color: rgba(255,255,255,0.92);
letter-spacing: 0.06em;
line-height: 1.1;
}
.hero-logo-text span {
display: block;
font-size: 9px;
letter-spacing: 0.28em;
text-transform: uppercase;
color: rgba(255,255,255,0.55);
font-family: var(–font-ui);
font-weight: 300;
}
.hero-content {
position: relative;
z-index: 5;
text-align: center;
padding: 0 clamp(20px,6vw,100px);
max-width: 860px;
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
}
.hero-eyebrow {
font-family: var(–font-ui);
font-size: clamp(10px,1.8vw,12px);
letter-spacing: 0.32em;
text-transform: uppercase;
color: rgba(255,255,255,0.6);
font-weight: 300;
opacity: 0;
animation: aFadeIn 0.6s ease 0.4s forwards;
}
.hero-divider {
width: 36px;
height: 1px;
background: rgba(255,255,255,0.35);
opacity: 0;
animation: aFadeIn 0.5s ease 0.6s forwards;
}
.hero-title {
font-family: var(–font-display);
font-size: clamp(44px,11vw,82px);
font-weight: 700;
color: #fff;
line-height: 1.02;
letter-spacing: -0.01em;
text-shadow: 0 2px 48px rgba(0,0,0,0.25);
opacity: 0;
transform: translateY(30px);
animation: aSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.8s forwards;
}
.hero-tagline {
font-family: var(–font-editorial);
font-size: clamp(17px,3vw,24px);
font-weight: 300;
color: rgba(255,255,255,0.86);
letter-spacing: 0.03em;
font-style: italic;
opacity: 0;
animation: aFadeIn 0.9s ease 1.2s forwards;
}
.hero-cta-link {
font-family: var(–font-ui);
font-size: 11px;
letter-spacing: 0.28em;
text-transform: uppercase;
color: rgba(255,255,255,0.65);
text-decoration: none;
border-bottom: 1px solid rgba(255,255,255,0.3);
padding-bottom: 3px;
margin-top: 4px;
transition: color 0.2s, border-color 0.2s;
opacity: 0;
animation: aFadeIn 0.7s ease 1.6s forwards;
}
.hero-cta-link:hover { color: #fff; border-color: rgba(255,255,255,0.65); }
.hero-cin {
position: absolute;
bottom: clamp(24px,5vh,48px);
right: clamp(20px,3vw,36px);
z-index: 10;
font-family: var(–font-ui);
font-size: 9px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: rgba(255,255,255,0.4);
opacity: 0;
animation: aFadeIn 0.5s ease 2s forwards;
}
.hero-arrow {
position: absolute;
bottom: clamp(24px,5vh,48px);
left: 50%;
transform: translateX(-50%);
z-index: 10;
opacity: 0;
animation: aFadeIn 0.5s ease 2s forwards, aBounce 2.2s ease-in-out 2.2s infinite;
cursor: pointer;
}
.hero-arrow svg {
width: 38px;
height: 38px;
stroke: rgba(255,255,255,0.75);
fill: none;
stroke-width: 1.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.storia {
background: var(–off-white);
padding: clamp(64px,10vw,120px) clamp(20px,6vw,80px);
}
.storia-inner {
max-width: 1100px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: clamp(40px,6vw,100px);
align-items: start;
}
@media (max-width: 700px) {
.storia-inner { grid-template-columns: 1fr; gap: 40px; }
}
.storia-left {}
.storia-label {
font-family: var(–font-ui);
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 18px;
display: flex;
align-items: center;
gap: 10px;
}
.storia-label::after {
content: ”;
display: block;
width: 28px;
height: 1px;
background: var(–brand);
opacity: 0.5;
}
.storia-title {
font-family: var(–font-display);
font-size: clamp(30px,4vw,48px);
font-weight: 700;
line-height: 1.1;
color: #1a1a18;
margin-bottom: 22px;
}
.storia-desc {
font-family: var(–font-editorial);
font-size: clamp(17px,1.8vw,21px);
line-height: 1.7;
color: #3d3d3a;
font-weight: 400;
}
.storia-right {}
.numeri-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1px;
background: var(–border);
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
margin-bottom: 28px;
}
.numero-card {
background: #fff;
padding: 24px 20px;
text-align: center;
}
.numero-val {
font-family: var(–font-display);
font-size: clamp(32px,4vw,44px);
font-weight: 700;
color: var(–brand);
line-height: 1;
display: block;
margin-bottom: 6px;
}
.numero-lbl {
font-family: var(–font-ui);
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(–text-muted);
font-weight: 400;
}
.camere-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.camera-item {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 18px;
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
}
.camera-icon {
width: 36px;
height: 36px;
background: var(–brand-light);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.camera-icon svg { width: 18px; height: 18px; stroke: var(–brand); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.camera-info { flex: 1; }
.camera-nome { font-family: var(–font-ui); font-size: 13px; font-weight: 500; color: #1a1a18; }
.camera-dettaglio { font-family: var(–font-ui); font-size: 11px; color: var(–text-muted); margin-top: 1px; }
.camera-badge {
font-size: 10px;
font-weight: 500;
padding: 3px 8px;
border-radius: 99px;
background: var(–brand-light);
color: var(–brand-dark);
letter-spacing: 0.05em;
}
.target-box {
margin-top: 16px;
padding: 16px 18px;
background: var(–warm-gray);
border-radius: var(–radius-sm);
display: flex;
align-items: center;
gap: 14px;
}
.target-box svg { width: 22px; height: 22px; stroke: var(–text-muted); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.target-text { font-family: var(–font-ui); font-size: 12px; color: var(–text-muted); line-height: 1.5; }
.target-text strong { color: #1a1a18; font-weight: 500; }
.servizi {
padding: clamp(64px,10vw,120px) clamp(20px,6vw,80px);
position: relative;
overflow: hidden;
}
.servizi-bg {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
opacity: 0.07;
}
.servizi-inner {
max-width: 1100px;
margin: 0 auto;
position: relative;
z-index: 1;
}
.section-header {
text-align: center;
margin-bottom: clamp(36px,5vw,64px);
}
.section-label-dark {
font-family: var(–font-ui);
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 14px;
}
.section-title {
font-family: var(–font-display);
font-size: clamp(26px,4vw,40px);
font-weight: 700;
color: #1a1a18;
line-height: 1.15;
}
.preset-bar {
display: flex;
justify-content: center;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 36px;
}
.preset-btn {
display: flex;
align-items: center;
gap: 7px;
padding: 7px 14px;
border: 1px solid var(–border);
border-radius: 99px;
background: #fff;
cursor: pointer;
font-family: var(–font-ui);
font-size: 11px;
font-weight: 500;
color: #3d3d3a;
transition: all 0.2s;
letter-spacing: 0.03em;
}
.preset-btn:hover { border-color: var(–brand); color: var(–brand); }
.preset-btn.active { background: var(–brand); color: #fff; border-color: var(–brand); }
.preset-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.servizi-cats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
@media (max-width: 600px) {
.servizi-cats { grid-template-columns: 1fr; }
}
.cat-card {
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
}
.cat-header {
padding: 16px 20px;
border-bottom: 1px solid var(–border);
display: flex;
align-items: center;
gap: 10px;
}
.cat-icon {
width: 32px;
height: 32px;
background: var(–brand-light);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
}
.cat-icon svg { width: 16px; height: 16px; stroke: var(–brand); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.cat-nome { font-family: var(–font-ui); font-size: 13px; font-weight: 500; color: #1a1a18; }
.servizi-lista {
padding: 12px 0;
}
.servizio-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 9px 20px;
transition: background 0.15s;
}
.servizio-row:hover { background: var(–warm-gray); }
.servizio-nome {
font-family: var(–font-ui);
font-size: 12px;
color: #3d3d3a;
display: flex;
align-items: center;
gap: 8px;
}
.servizio-nome.off { color: #b0afa8; text-decoration: line-through; }
.toggle-wrap { position: relative; width: 32px; height: 18px; flex-shrink: 0; }
.toggle-wrap input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-slider {
position: absolute;
inset: 0;
background: #d8d7d0;
border-radius: 9px;
cursor: pointer;
transition: background 0.2s;
}
.toggle-slider::before {
content: ”;
position: absolute;
width: 12px; height: 12px;
left: 3px; top: 3px;
background: #fff;
border-radius: 50%;
transition: transform 0.2s;
}
.toggle-wrap input:checked + .toggle-slider { background: var(–brand); }
.toggle-wrap input:checked + .toggle-slider::before { transform: translateX(14px); }
.infozona {
background: #1a1a18;
padding: clamp(64px,10vw,120px) clamp(20px,6vw,80px);
}
.infozona-inner {
max-width: 1100px;
margin: 0 auto;
}
.infozona-header {
margin-bottom: clamp(36px,5vw,56px);
}
.infozona-label {
font-family: var(–font-ui);
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 14px;
}
.infozona-title {
font-family: var(–font-display);
font-size: clamp(26px,4vw,40px);
font-weight: 700;
color: #fff;
line-height: 1.1;
}
.infozona-subtitle {
font-family: var(–font-editorial);
font-size: 17px;
color: rgba(255,255,255,0.45);
font-style: italic;
margin-top: 10px;
}
.zona-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}
@media (max-width: 800px) { .zona-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .zona-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
.zona-card {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(–radius);
padding: 20px 16px;
transition: background 0.2s, border-color 0.2s;
}
.zona-card:hover {
background: rgba(255,255,255,0.08);
border-color: rgba(255,255,255,0.15);
}
.zona-icon {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.08);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 14px;
}
.zona-icon svg { width: 20px; height: 20px; stroke: var(–brand); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.zona-nome {
font-family: var(–font-ui);
font-size: 12px;
font-weight: 500;
color: rgba(255,255,255,0.85);
margin-bottom: 10px;
letter-spacing: 0.02em;
}
.zona-fasce { display: flex; flex-direction: column; gap: 5px; }
.fascia {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.fascia-bar {
flex: 1;
height: 2px;
background: rgba(255,255,255,0.1);
border-radius: 1px;
overflow: hidden;
}
.fascia-fill {
height: 100%;
background: var(–brand);
border-radius: 1px;
}
.fascia-dist {
font-family: var(–font-ui);
font-size: 10px;
color: rgba(255,255,255,0.4);
white-space: nowrap;
min-width: 40px;
text-align: right;
}
.fascia-icon {
font-size: 10px;
width: 14px;
text-align: center;
opacity: 0.5;
}
.zona-nota {
margin-top: 28px;
font-family: var(–font-ui);
font-size: 11px;
color: rgba(255,255,255,0.25);
text-align: center;
letter-spacing: 0.04em;
}
.conferma {
background: var(–off-white);
padding: clamp(64px,10vw,120px) clamp(20px,6vw,80px);
}
.conferma-inner {
max-width: 700px;
margin: 0 auto;
text-align: center;
}
.stato-selector {
display: flex;
justify-content: center;
gap: 8px;
margin-bottom: 40px;
flex-wrap: wrap;
}
.stato-btn {
padding: 7px 16px;
border: 1px solid var(–border);
border-radius: 99px;
background: #fff;
cursor: pointer;
font-family: var(–font-ui);
font-size: 11px;
font-weight: 500;
color: var(–text-muted);
transition: all 0.2s;
}
.stato-btn.active-attesa { background: #fff8e6; color: #a16207; border-color: #f4ca64; }
.stato-btn.active-confermato { background: #edfaf4; color: #166534; border-color: #6ee7b7; }
.stato-btn.active-rifiutato { background: #fef2f2; color: #991b1b; border-color: #fca5a5; }
.conferma-card {
background: #fff;
border: 1px solid var(–border);
border-radius: 20px;
overflow: hidden;
}
.conferma-stato-bar {
padding: 28px 32px 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
border-bottom: 1px solid var(–border);
transition: background 0.3s;
}
.stato-icona {
width: 56px;
height: 56px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 4px;
}
.stato-icona svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stato-titolo {
font-family: var(–font-display);
font-size: 22px;
font-weight: 700;
color: #1a1a18;
}
.stato-msg {
font-family: var(–font-editorial);
font-size: 16px;
color: var(–text-muted);
font-style: italic;
line-height: 1.5;
}
.conferma-body { padding: 28px 32px; }
.riepilogo-row {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 11px 0;
border-bottom: 1px solid var(–border);
}
.riepilogo-row:last-child { border-bottom: none; }
.riepilogo-key {
font-family: var(–font-ui);
font-size: 12px;
color: var(–text-muted);
letter-spacing: 0.05em;
}
.riepilogo-val {
font-family: var(–font-ui);
font-size: 13px;
font-weight: 500;
color: #1a1a18;
text-align: right;
}
.riepilogo-totale {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
padding: 18px 20px;
background: var(–brand-light);
border-radius: var(–radius-sm);
}
.riepilogo-totale-key {
font-family: var(–font-ui);
font-size: 13px;
font-weight: 500;
color: var(–brand-dark);
}
.riepilogo-totale-val {
font-family: var(–font-display);
font-size: 26px;
font-weight: 700;
color: var(–brand);
}
.conferma-actions {
padding: 20px 32px 28px;
display: flex;
flex-direction: column;
gap: 10px;
border-top: 1px solid var(–border);
}
.btn-primary {
display: block;
width: 100%;
padding: 14px;
background: var(–brand);
color: #fff;
border: none;
border-radius: var(–radius-sm);
font-family: var(–font-ui);
font-size: 13px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
cursor: pointer;
transition: background 0.2s;
text-align: center;
text-decoration: none;
}
.btn-primary:hover { background: var(–brand-dark); }
.btn-secondary {
display: block;
width: 100%;
padding: 13px;
background: transparent;
color: var(–text-muted);
border: 1px solid var(–border);
border-radius: var(–radius-sm);
font-family: var(–font-ui);
font-size: 12px;
cursor: pointer;
transition: all 0.2s;
text-align: center;
}
.btn-secondary:hover { border-color: #999; color: #1a1a18; }
.altre-strutture {
margin-top: 48px;
text-align: left;
}
.altre-label {
font-family: var(–font-ui);
font-size: 11px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(–text-muted);
margin-bottom: 16px;
}
.altre-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}
@media (max-width: 500px) { .altre-grid { grid-template-columns: 1fr 1fr; } }
.altra-card {
border-radius: var(–radius-sm);
overflow: hidden;
border: 1px solid var(–border);
text-decoration: none;
transition: transform 0.2s;
display: block;
}
.altra-card:hover { transform: translateY(-3px); }
.altra-foto {
width: 100%;
aspect-ratio: 4/3;
background-size: cover;
background-position: center;
}
.altra-info { padding: 10px 12px; background: #fff; }
.altra-nome { font-family: var(–font-ui); font-size: 12px; font-weight: 500; color: #1a1a18; }
.altra-prezzo { font-family: var(–font-ui); font-size: 11px; color: var(–text-muted); margin-top: 2px; }
.sep {
height: 1px;
background: var(–border);
}
@keyframes aSlideUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes aFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes aBounce {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes aCountUp {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.reveal {
opacity: 0;
transform: translateY(24px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
opacity: 1;
transform: translateY(0);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(–font-ui);
background: var(–off-white);
color: var(–dark);
}
.galleria {
padding: clamp(64px,10vw,120px) 0;
background: var(–dark);
}
.galleria-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 clamp(20px,5vw,60px);
}
.galleria-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
margin-bottom: clamp(28px,4vw,48px);
flex-wrap: wrap;
gap: 16px;
}
.galleria-label {
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.galleria-label::after {
content: ”;
display: block;
width: 24px;
height: 1px;
background: var(–brand);
opacity: 0.6;
}
.galleria-title {
font-family: var(–font-display);
font-size: clamp(28px,4vw,44px);
font-weight: 700;
color: #fff;
line-height: 1.1;
}
.galleria-title em {
font-style: italic;
font-weight: 400;
color: rgba(255,255,255,0.45);
}
.foto-count {
font-size: 12px;
color: rgba(255,255,255,0.3);
letter-spacing: 0.08em;
white-space: nowrap;
}
.cat-tabs {
display: flex;
gap: 6px;
overflow-x: auto;
scrollbar-width: none;
padding-bottom: 4px;
margin-bottom: clamp(20px,3vw,36px);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
display: flex;
align-items: center;
gap: 7px;
padding: 8px 16px;
border-radius: 99px;
border: 1px solid rgba(255,255,255,0.12);
background: rgba(255,255,255,0.04);
color: rgba(255,255,255,0.5);
font-family: var(–font-ui);
font-size: 12px;
font-weight: 400;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
-webkit-tap-highlight-color: transparent;
}
.cat-tab:hover {
border-color: rgba(255,255,255,0.25);
color: rgba(255,255,255,0.8);
}
.cat-tab.active {
background: var(–brand);
border-color: var(–brand);
color: #fff;
}
.cat-tab-count {
font-size: 10px;
opacity: 0.6;
}
.grid-standard {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 6px;
}
.grid-standard .foto-item:first-child {
grid-column: 1 / -1;
aspect-ratio: 16/9;
}
.grid-standard .foto-item {
aspect-ratio: 4/3;
}
.grid-medio {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-auto-rows: 220px;
gap: 6px;
}
.grid-medio .foto-item.big {
grid-column: span 2;
grid-row: span 2;
}
.grid-medio .foto-item.tall {
grid-row: span 2;
}
.grid-alta {
display: grid;
gap: 6px;
}
.grid-alta .row-1 {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 6px;
height: clamp(260px, 35vw, 480px);
}
.grid-alta .row-1 .col-right {
display: grid;
grid-template-rows: 1fr 1fr;
gap: 6px;
}
.grid-alta .row-2 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
height: clamp(160px, 18vw, 240px);
}
.grid-alta .row-3 {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
gap: 6px;
height: clamp(140px, 16vw, 200px);
}
.grid-alta .row-4 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
height: clamp(180px, 20vw, 260px);
}
.grid-alta .row-5 {
height: clamp(160px, 18vw, 220px);
}
.foto-item {
position: relative;
overflow: hidden;
border-radius: var(–radius-sm);
cursor: pointer;
background: rgba(255,255,255,0.05);
display: block;
}
.foto-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.5s cubic-bezier(0.25,1,0.5,1);
}
.foto-item:hover img {
transform: scale(1.04);
}
.foto-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
opacity: 0;
transition: opacity 0.3s;
display: flex;
align-items: flex-end;
padding: 14px;
}
.foto-item:hover .foto-overlay { opacity: 1; }
.foto-caption {
font-family: var(–font-ui);
font-size: 11px;
color: rgba(255,255,255,0.85);
letter-spacing: 0.04em;
}
.foto-badge {
position: absolute;
top: 10px;
left: 10px;
font-size: 9px;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
padding: 4px 9px;
border-radius: 99px;
background: rgba(0,0,0,0.55);
color: rgba(255,255,255,0.85);
backdrop-filter: blur(4px);
}
.foto-zoom {
position: absolute;
top: 10px;
right: 10px;
width: 28px;
height: 28px;
border-radius: 50%;
background: rgba(0,0,0,0.45);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.2s;
backdrop-filter: blur(4px);
}
.foto-item:hover .foto-zoom { opacity: 1; }
.foto-zoom svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.foto-more-overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.6);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
cursor: pointer;
transition: background 0.2s;
}
.foto-more-overlay:hover { background: rgba(0,0,0,0.5); }
.foto-more-num {
font-family: var(–font-display);
font-size: 28px;
font-weight: 700;
color: #fff;
}
.foto-more-text {
font-size: 11px;
color: rgba(255,255,255,0.6);
letter-spacing: 0.12em;
text-transform: uppercase;
}
@media (max-width: 640px) {
.grid-standard,
.grid-medio {
display: flex;
overflow-x: auto;
gap: 8px;
scroll-snap-type: x mandatory;
scrollbar-width: none;
padding-bottom: 4px;
-webkit-overflow-scrolling: touch;
}
.grid-standard::-webkit-scrollbar,
.grid-medio::-webkit-scrollbar { display: none; }
.grid-standard .foto-item,
.grid-medio .foto-item {
flex: 0 0 82vw;
aspect-ratio: 4/3;
scroll-snap-align: start;
grid-column: unset !important;
grid-row: unset !important;
}
.grid-standard .foto-item:first-child {
aspect-ratio: 4/3;
}
.grid-alta .row-1 { height: 60vw; }
.grid-alta .row-2 { height: 40vw; }
.grid-alta .row-3 { display: none; }
.grid-alta .row-4 { height: 45vw; }
.grid-alta .row-5 { height: 40vw; }
}
.lightbox {
position: fixed;
inset: 0;
z-index: 1000;
background: rgba(0,0,0,0.96);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.lightbox.open {
opacity: 1;
pointer-events: all;
}
.lightbox-img-wrap {
position: relative;
max-width: 90vw;
max-height: 80vh;
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-img {
max-width: 90vw;
max-height: 78vh;
object-fit: contain;
border-radius: 4px;
transition: opacity 0.2s;
display: block;
}
.lightbox-close {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.15);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s;
z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
.lightbox-close svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.lightbox-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
border-radius: 50%;
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.15);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s;
z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.15); }
.lightbox-nav svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-nav.prev { left: -60px; }
.lightbox-nav.next { right: -60px; }
@media (max-width: 640px) {
.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }
}
.lightbox-info {
margin-top: 16px;
text-align: center;
}
.lightbox-caption {
font-family: var(–font-ui);
font-size: 13px;
color: rgba(255,255,255,0.55);
margin-bottom: 4px;
}
.lightbox-counter {
font-size: 11px;
color: rgba(255,255,255,0.25);
letter-spacing: 0.12em;
}
.livello-selector {
display: flex;
gap: 8px;
margin-bottom: 32px;
flex-wrap: wrap;
}
.livello-btn {
padding: 7px 16px;
border-radius: 99px;
border: 1px solid rgba(255,255,255,0.12);
background: transparent;
color: rgba(255,255,255,0.4);
font-family: var(–font-ui);
font-size: 11px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
letter-spacing: 0.06em;
}
.livello-btn:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }
.livello-btn.active { background: var(–brand); border-color: var(–brand); color: #fff; }
.livello-btn .livello-tag {
font-size: 9px;
opacity: 0.7;
margin-left: 4px;
}
.grid-container { display: none; }
.grid-container.visible { display: block; }
.demo-note {
margin-top: 20px;
padding: 14px 18px;
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(–radius-sm);
font-size: 11px;
color: rgba(255,255,255,0.3);
line-height: 1.6;
}
.demo-note strong { color: rgba(255,255,255,0.5); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(–font-ui); background: var(–off-white); color: var(–dark); }
.mappa-section {
background: var(–off-white);
padding: clamp(64px,10vw,120px) 0;
}
.mappa-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 clamp(20px,5vw,60px);
}
.mappa-header {
display: grid;
grid-template-columns: 1fr auto;
align-items: end;
gap: 20px;
margin-bottom: clamp(28px,4vw,44px);
}
@media(max-width:600px){ .mappa-header { grid-template-columns: 1fr; } }
.mappa-label {
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.mappa-label::after {
content: ”;
display: block;
width: 24px;
height: 1px;
background: var(–brand);
opacity: 0.5;
}
.mappa-title {
font-family: var(–font-display);
font-size: clamp(26px,4vw,40px);
font-weight: 700;
color: var(–dark);
line-height: 1.1;
}
.mappa-title em { font-style: italic; color: var(–text-muted); font-weight: 400; }
.mappa-address {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(–text-muted);
}
.mappa-address svg {
width: 16px; height: 16px;
stroke: var(–brand); fill: none;
stroke-width: 2; stroke-linecap: round;
flex-shrink: 0;
}
.mappa-layout {
display: grid;
grid-template-columns: 1fr 300px;
gap: 16px;
align-items: start;
}
@media(max-width:840px){
.mappa-layout { grid-template-columns: 1fr; }
.mappa-sidebar { order: -1; }
}
.mappa-wrap {
position: relative;
border-radius: var(–radius);
overflow: hidden;
border: 1px solid var(–border);
box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
#map {
width: 100%;
height: clamp(340px, 50vw, 520px);
}
.leaflet-tile {
filter: saturate(0.85) brightness(1.02);
}
.leaflet-control-zoom {
border: 1px solid var(–border) !important;
border-radius: var(–radius-sm) !important;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
width: 36px !important;
height: 36px !important;
line-height: 36px !important;
font-size: 16px !important;
color: var(–dark) !important;
background: #fff !important;
border: none !important;
}
.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
background: var(–warm-gray) !important;
color: var(–brand) !important;
}
.leaflet-popup-content-wrapper {
border-radius: var(–radius-sm) !important;
padding: 0 !important;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0,0,0,0.14) !important;
border: 1px solid var(–border) !important;
}
.leaflet-popup-content {
margin: 0 !important;
width: auto !important;
}
.leaflet-popup-tip {
background: #fff !important;
}
.popup-content {
padding: 12px 16px;
min-width: 160px;
}
.popup-title {
font-family: var(–font-ui);
font-size: 13px;
font-weight: 500;
color: var(–dark);
margin-bottom: 3px;
}
.popup-sub {
font-size: 11px;
color: var(–text-muted);
line-height: 1.4;
}
.popup-dist {
margin-top: 6px;
font-size: 10px;
color: var(–brand);
font-weight: 500;
letter-spacing: 0.06em;
}
.map-fullscreen-btn {
position: absolute;
top: 12px;
right: 12px;
z-index: 999;
width: 36px;
height: 36px;
border-radius: var(–radius-sm);
background: #fff;
border: 1px solid var(–border);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.map-fullscreen-btn:hover { background: var(–warm-gray); }
.map-fullscreen-btn svg { width: 15px; height: 15px; stroke: var(–dark); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.mappa-sidebar {
display: flex;
flex-direction: column;
gap: 10px;
}
.sidebar-title {
font-size: 11px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(–text-muted);
margin-bottom: 4px;
font-weight: 500;
}
.pin-filter {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
cursor: pointer;
transition: all 0.18s;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
.pin-filter:hover { border-color: rgba(0,105,148,0.3); background: var(–brand-light); }
.pin-filter.active { border-color: var(–brand); background: var(–brand-light); }
.pin-filter.hidden-filter { opacity: 0.4; }
.pin-dot {
width: 12px;
height: 12px;
border-radius: 50%;
flex-shrink: 0;
border: 2px solid rgba(255,255,255,0.8);
box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.pin-info { flex: 1; }
.pin-nome { font-size: 12px; font-weight: 500; color: var(–dark); }
.pin-count { font-size: 10px; color: var(–text-muted); margin-top: 1px; }
.pin-toggle {
width: 28px;
height: 16px;
border-radius: 8px;
background: #d8d7d0;
position: relative;
transition: background 0.2s;
flex-shrink: 0;
}
.pin-toggle::after {
content: ”;
position: absolute;
width: 10px;
height: 10px;
border-radius: 50%;
background: #fff;
top: 3px;
left: 3px;
transition: transform 0.2s;
}
.pin-filter.active .pin-toggle { background: var(–brand); }
.pin-filter.active .pin-toggle::after { transform: translateX(12px); }
.sidebar-sep {
height: 1px;
background: var(–border);
margin: 4px 0;
}
.struttura-card {
background: var(–brand);
border-radius: var(–radius-sm);
padding: 14px 16px;
color: #fff;
}
.struttura-card-label {
font-size: 9px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: rgba(255,255,255,0.55);
margin-bottom: 6px;
}
.struttura-card-nome {
font-family: var(–font-display);
font-size: 16px;
font-weight: 700;
margin-bottom: 4px;
}
.struttura-card-luogo {
font-size: 11px;
color: rgba(255,255,255,0.65);
display: flex;
align-items: center;
gap: 5px;
}
.struttura-card-luogo svg {
width: 11px; height: 11px;
stroke: rgba(255,255,255,0.65);
fill: none; stroke-width: 2;
}
.struttura-card-btn {
margin-top: 12px;
width: 100%;
padding: 9px;
background: rgba(255,255,255,0.15);
border: 1px solid rgba(255,255,255,0.25);
border-radius: var(–radius-sm);
color: #fff;
font-family: var(–font-ui);
font-size: 11px;
font-weight: 500;
letter-spacing: 0.06em;
cursor: pointer;
transition: background 0.2s;
text-align: center;
}
.struttura-card-btn:hover { background: rgba(255,255,255,0.25); }
.legenda-mobile {
display: none;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
@media(max-width:840px){ .legenda-mobile { display: flex; } }
.legenda-item {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
color: var(–text-muted);
background: #fff;
border: 1px solid var(–border);
border-radius: 99px;
padding: 5px 11px;
cursor: pointer;
transition: all 0.15s;
}
.legenda-item.active { background: var(–brand-light); border-color: var(–brand); color: var(–brand); }
.legenda-dot {
width: 9px; height: 9px;
border-radius: 50%;
flex-shrink: 0;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(–font-ui); background: var(–off-white); color: var(–dark); }
.calendario-section {
padding: clamp(64px,10vw,120px) 0;
background: var(–off-white);
}
.cal-inner {
max-width: 1100px;
margin: 0 auto;
padding: 0 clamp(20px,5vw,60px);
}
.cal-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
margin-bottom: clamp(28px,4vw,44px);
flex-wrap: wrap;
gap: 16px;
}
.cal-label {
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.cal-label::after {
content: ”;
display: block;
width: 24px;
height: 1px;
background: var(–brand);
opacity: 0.5;
}
.cal-title {
font-family: var(–font-display);
font-size: clamp(26px,4vw,40px);
font-weight: 700;
color: var(–dark);
line-height: 1.1;
}
.cal-title em { font-style: italic; color: var(–text-muted); font-weight: 400; }
.vista-toggle {
display: flex;
gap: 0;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
overflow: hidden;
background: #fff;
}
.vista-btn {
padding: 8px 16px;
font-family: var(–font-ui);
font-size: 11px;
font-weight: 500;
color: var(–text-muted);
background: transparent;
border: none;
cursor: pointer;
transition: all 0.2s;
letter-spacing: 0.04em;
white-space: nowrap;
}
.vista-btn.active {
background: var(–brand);
color: #fff;
}
.cal-layout {
display: grid;
grid-template-columns: 1fr 300px;
gap: 20px;
align-items: start;
}
@media(max-width:840px) {
.cal-layout { grid-template-columns: 1fr; }
}
.cal-card {
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
}
.cal-nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid var(–border);
}
.cal-nav-btn {
width: 34px;
height: 34px;
border-radius: 50%;
border: 1px solid var(–border);
background: transparent;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.15s;
-webkit-tap-highlight-color: transparent;
}
.cal-nav-btn:hover { background: var(–warm-gray); border-color: rgba(0,0,0,0.15); }
.cal-nav-btn svg { width: 16px; height: 16px; stroke: var(–dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal-mese-label {
font-family: var(–font-display);
font-size: 17px;
font-weight: 700;
color: var(–dark);
letter-spacing: 0.01em;
}
.cal-grid {
padding: 12px 16px 16px;
}
.cal-giorni-header {
display: grid;
grid-template-columns: repeat(7, 1fr);
margin-bottom: 6px;
}
.cal-giorno-nome {
text-align: center;
font-size: 10px;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(–text-muted);
padding: 6px 0;
}
.cal-giorni {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 3px;
}
.cal-day {
aspect-ratio: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 8px;
cursor: pointer;
transition: all 0.15s;
position: relative;
font-size: clamp(11px, 2vw, 13px);
font-weight: 400;
color: var(–dark);
background: var(–col-disponibile);
border: 1px solid transparent;
-webkit-tap-highlight-color: transparent;
user-select: none;
}
.cal-day:hover:not(.occupato):not(.vuoto):not(.passato) {
background: var(–col-selezionato);
border-color: var(–brand);
}
.cal-day.vuoto { background: transparent; cursor: default; }
.cal-day.passato { color: rgba(26,26,24,0.2); cursor: default; background: transparent; }
.cal-day.oggi { font-weight: 700; color: var(–brand); }
.cal-day.oggi::after {
content: ”;
position: absolute;
bottom: 4px;
width: 4px;
height: 4px;
border-radius: 50%;
background: var(–brand);
}
.cal-day.occupato {
background: var(–col-occupato);
color: #991b1b;
cursor: not-allowed;
text-decoration: line-through;
opacity: 0.7;
}
.cal-day.attesa {
background: var(–col-attesa);
color: #92400e;
cursor: not-allowed;
}
.cal-day.attesa::before {
content: ”;
position: absolute;
top: 4px;
right: 4px;
width: 5px;
height: 5px;
border-radius: 50%;
background: #f59e0b;
}
.cal-day.sel-start,
.cal-day.sel-end {
background: var(–brand);
color: #fff;
font-weight: 500;
border-color: var(–brand);
}
.cal-day.sel-start { border-radius: 8px 0 0 8px; }
.cal-day.sel-end { border-radius: 0 8px 8px 0; }
.cal-day.sel-start.sel-end { border-radius: 8px; }
.cal-day.in-range {
background: var(–col-range);
border-radius: 0;
border-color: transparent;
color: var(–brand-dark);
}
.day-price {
font-size: 8px;
color: var(–text-muted);
margin-top: 1px;
display: none;
}
.vista-commerciante .day-price { display: block; }
.cal-day.sel-start .day-price,
.cal-day.sel-end .day-price { color: rgba(255,255,255,0.7); }
.cal-legenda {
display: flex;
flex-wrap: wrap;
gap: 12px;
padding: 12px 20px;
border-top: 1px solid var(–border);
background: var(–warm-gray);
}
.leg-item {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
color: var(–text-muted);
}
.leg-dot {
width: 10px;
height: 10px;
border-radius: 3px;
flex-shrink: 0;
border: 1px solid rgba(0,0,0,0.08);
}
.cal-sidebar { display: flex; flex-direction: column; gap: 12px; }
.sel-card {
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
}
.sel-card-header {
padding: 14px 18px;
border-bottom: 1px solid var(–border);
display: flex;
align-items: center;
justify-content: space-between;
}
.sel-card-title {
font-size: 12px;
font-weight: 500;
color: var(–dark);
}
.sel-clear {
font-size: 11px;
color: var(–text-muted);
cursor: pointer;
text-decoration: underline;
background: none;
border: none;
padding: 0;
}
.sel-clear:hover { color: var(–dark); }
.sel-dates {
padding: 14px 18px;
display: flex;
flex-direction: column;
gap: 10px;
}
.sel-date-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.sel-date-lbl {
font-size: 11px;
color: var(–text-muted);
letter-spacing: 0.06em;
}
.sel-date-val {
font-size: 13px;
font-weight: 500;
color: var(–dark);
}
.sel-date-val.empty { color: rgba(26,26,24,0.25); font-weight: 400; }
.sel-notti {
padding: 10px 18px;
background: var(–brand-light);
display: flex;
justify-content: space-between;
align-items: center;
}
.sel-notti-lbl { font-size: 11px; color: var(–brand-dark); }
.sel-notti-val {
font-family: var(–font-display);
font-size: 20px;
font-weight: 700;
color: var(–brand);
}
.sel-prezzo {
padding: 12px 18px;
border-top: 1px solid var(–border);
display: flex;
justify-content: space-between;
align-items: center;
}
.sel-prezzo-lbl { font-size: 12px; color: var(–text-muted); }
.sel-prezzo-val {
font-family: var(–font-display);
font-size: 22px;
font-weight: 700;
color: var(–dark);
}
.sel-cta {
width: 100%;
padding: 14px;
background: var(–brand);
border: none;
border-radius: var(–radius-sm);
color: #fff;
font-family: var(–font-ui);
font-size: 13px;
font-weight: 500;
letter-spacing: 0.06em;
cursor: pointer;
transition: background 0.2s;
text-transform: uppercase;
}
.sel-cta:hover { background: var(–brand-dark); }
.sel-cta:disabled { background: #d8d7d0; cursor: not-allowed; }
.countdown-card {
background: #fff;
border: 1px solid #fde68a;
border-radius: var(–radius);
overflow: hidden;
display: none;
}
.vista-commerciante .countdown-card { display: block; }
.cd-header {
padding: 12px 16px;
background: #fffbeb;
border-bottom: 1px solid #fde68a;
display: flex;
align-items: center;
gap: 8px;
}
.cd-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #f59e0b;
animation: cdPulse 1.5s ease-in-out infinite;
}
@keyframes cdPulse {
0%,100% { opacity:1; transform:scale(1); }
50% { opacity:0.5; transform:scale(0.7); }
}
.cd-title {
font-size: 12px;
font-weight: 500;
color: #92400e;
}
.cd-body { padding: 14px 16px; }
.cd-prenotazione {
font-size: 12px;
color: var(–text-muted);
margin-bottom: 10px;
}
.cd-prenotazione strong { color: var(–dark); }
.cd-timer {
display: flex;
gap: 8px;
margin-bottom: 14px;
}
.cd-unit {
flex: 1;
text-align: center;
background: var(–warm-gray);
border-radius: var(–radius-sm);
padding: 8px 4px;
}
.cd-val {
font-family: var(–font-display);
font-size: 22px;
font-weight: 700;
color: var(–dark);
line-height: 1;
}
.cd-lbl {
font-size: 9px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(–text-muted);
margin-top: 3px;
}
.cd-actions { display: flex; gap: 8px; }
.cd-btn {
flex: 1;
padding: 9px;
border-radius: var(–radius-sm);
font-family: var(–font-ui);
font-size: 11px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
border: none;
text-align: center;
}
.cd-btn.accept { background: #dcfce7; color: #166534; }
.cd-btn.accept:hover { background: #bbf7d0; }
.cd-btn.reject { background: #fee2e2; color: #991b1b; }
.cd-btn.reject:hover { background: #fecaca; }
.stats-card {
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius);
padding: 16px 18px;
display: none;
}
.vista-commerciante .stats-card { display: block; }
.stats-title {
font-size: 11px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(–text-muted);
margin-bottom: 14px;
}
.stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.stat-item {
background: var(–warm-gray);
border-radius: var(–radius-sm);
padding: 10px 12px;
}
.stat-val {
font-family: var(–font-display);
font-size: 20px;
font-weight: 700;
color: var(–brand);
line-height: 1;
}
.stat-lbl {
font-size: 10px;
color: var(–text-muted);
margin-top: 3px;
}
.note-box {
padding: 10px 14px;
background: var(–warm-gray);
border-radius: var(–radius-sm);
font-size: 11px;
color: var(–text-muted);
line-height: 1.5;
display: flex;
gap: 8px;
align-items: flex-start;
}
.note-box svg { width: 14px; height: 14px; stroke: var(–text-muted); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 1px; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(–font-ui); background: var(–off-white); color: var(–dark); }
.pagamento-section {
padding: clamp(64px,10vw,120px) 0;
background: var(–off-white);
}
.pag-inner {
max-width: 1100px;
margin: 0 auto;
padding: 0 clamp(20px,5vw,60px);
}
.pag-label {
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.pag-label::after { content:”; display:block; width:24px; height:1px; background:var(–brand); opacity:0.5; }
.pag-title {
font-family: var(–font-display);
font-size: clamp(26px,4vw,40px);
font-weight: 700;
color: var(–dark);
line-height: 1.1;
margin-bottom: clamp(28px,4vw,48px);
}
.pag-title em { font-style: italic; color: var(–text-muted); font-weight: 400; }
.pag-layout {
display: grid;
grid-template-columns: 1fr 380px;
gap: 24px;
align-items: start;
}
@media(max-width:880px) {
.pag-layout { grid-template-columns: 1fr; }
.pag-sidebar { order: -1; }
}
.pag-card {
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
margin-bottom: 16px;
}
.pag-card:last-child { margin-bottom: 0; }
.pag-card-header {
padding: 16px 20px;
border-bottom: 1px solid var(–border);
display: flex;
align-items: center;
gap: 10px;
}
.pag-card-icon {
width: 32px; height: 32px;
border-radius: 8px;
background: var(–brand-light);
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.pag-card-icon svg { width:16px; height:16px; stroke:var(–brand); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pag-card-title { font-size: 14px; font-weight: 500; color: var(–dark); }
.pag-card-sub { font-size: 11px; color: var(–text-muted); margin-top: 1px; }
.pag-card-body { padding: 20px; }
.acconto-wrap {
margin-bottom: 20px;
}
.acconto-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.acconto-lbl { font-size: 13px; font-weight: 500; color: var(–dark); }
.acconto-pct {
font-family: var(–font-display);
font-size: 22px;
font-weight: 700;
color: var(–brand);
}
input[type=”range”] {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 4px;
border-radius: 2px;
background: linear-gradient(to right, var(–brand) 0%, var(–brand) var(–val, 30%), #d8d7d0 var(–val, 30%), #d8d7d0 100%);
outline: none;
cursor: pointer;
}
input[type=”range”]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 20px; height: 20px;
border-radius: 50%;
background: var(–brand);
border: 3px solid #fff;
box-shadow: 0 1px 6px rgba(0,0,0,0.18);
cursor: pointer;
transition: transform 0.15s;
}
input[type=”range”]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.breakdown {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 16px;
}
.breakdown-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
border-radius: var(–radius-sm);
border: 1px solid var(–border);
background: var(–warm-gray);
}
.breakdown-row.highlight {
background: var(–brand-light);
border-color: rgba(0,105,148,0.2);
}
.bd-left { display: flex; flex-direction: column; gap: 2px; }
.bd-label { font-size: 12px; font-weight: 500; color: var(–dark); }
.bd-sub { font-size: 10px; color: var(–text-muted); }
.bd-amount {
font-family: var(–font-display);
font-size: 18px;
font-weight: 700;
color: var(–dark);
}
.bd-amount.brand { color: var(–brand); }
.timing-select {
margin-top: 16px;
}
.timing-label { font-size: 12px; font-weight: 500; color: var(–dark); margin-bottom: 8px; display: block; }
.timing-options {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.timing-btn {
padding: 7px 13px;
border: 1px solid var(–border);
border-radius: 99px;
background: #fff;
font-family: var(–font-ui);
font-size: 11px;
color: var(–text-muted);
cursor: pointer;
transition: all 0.15s;
-webkit-tap-highlight-color: transparent;
}
.timing-btn:hover { border-color: var(–brand); color: var(–brand); }
.timing-btn.active { background: var(–brand); border-color: var(–brand); color: #fff; }
.deposito-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;
padding: 12px 16px;
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
}
.dep-left { display: flex; align-items: center; gap: 10px; }
.dep-icon { width: 28px; height: 28px; border-radius: 6px; background: var(–warm-gray); display: flex; align-items: center; justify-content: center; }
.dep-icon svg { width:14px; height:14px; stroke:var(–text-muted); fill:none; stroke-width:1.8; stroke-linecap:round; }
.dep-info {}
.dep-label { font-size: 12px; font-weight: 500; color: var(–dark); }
.dep-sub { font-size: 10px; color: var(–text-muted); }
.dep-amount { font-size: 14px; font-weight: 700; color: var(–dark); }
.upsell-grid {
display: flex;
flex-direction: column;
gap: 8px;
}
.upsell-item {
display: flex;
align-items: center;
gap: 12px;
padding: 13px 16px;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
background: #fff;
cursor: pointer;
transition: all 0.18s;
-webkit-tap-highlight-color: transparent;
}
.upsell-item:hover { border-color: rgba(0,105,148,0.3); background: var(–brand-light); }
.upsell-item.selected { border-color: var(–brand); background: var(–brand-light); }
.upsell-check {
width: 22px; height: 22px;
border-radius: 50%;
border: 1.5px solid #d8d7d0;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
transition: all 0.15s;
}
.upsell-item.selected .upsell-check {
background: var(–brand);
border-color: var(–brand);
}
.upsell-check svg { width:11px; height:11px; stroke:#fff; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; opacity:0; transition:opacity 0.15s; }
.upsell-item.selected .upsell-check svg { opacity: 1; }
.upsell-icon {
width: 38px; height: 38px;
border-radius: 9px;
display: flex; align-items: center; justify-content: center;
font-size: 18px;
flex-shrink: 0;
background: var(–warm-gray);
transition: background 0.15s;
}
.upsell-item.selected .upsell-icon { background: rgba(0,105,148,0.12); }
.upsell-info { flex: 1; }
.upsell-nome { font-size: 13px; font-weight: 500; color: var(–dark); }
.upsell-desc { font-size: 11px; color: var(–text-muted); margin-top: 1px; line-height: 1.3; }
.upsell-price {
font-size: 13px;
font-weight: 700;
color: var(–dark);
white-space: nowrap;
flex-shrink: 0;
}
.upsell-item.selected .upsell-price { color: var(–brand); }
.upsell-cat-label {
font-size: 10px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(–text-muted);
margin: 16px 0 8px;
font-weight: 500;
}
.upsell-cat-label:first-child { margin-top: 0; }
.partner-note {
margin-top: 12px;
padding: 10px 14px;
background: var(–warm-gray);
border-radius: var(–radius-sm);
font-size: 11px;
color: var(–text-muted);
display: flex;
gap: 8px;
align-items: flex-start;
line-height: 1.5;
}
.partner-note svg { width:13px; height:13px; stroke:var(–text-muted); fill:none; stroke-width:1.8; flex-shrink:0; margin-top:1px; }
.metodi-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
@media(max-width:420px) { .metodi-grid { grid-template-columns: 1fr; } }
.metodo-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px;
border: 1.5px solid var(–border);
border-radius: var(–radius-sm);
background: #fff;
cursor: pointer;
transition: all 0.18s;
font-family: var(–font-ui);
font-size: 12px;
font-weight: 500;
color: var(–text-muted);
-webkit-tap-highlight-color: transparent;
}
.metodo-btn:hover { border-color: var(–brand); color: var(–brand); }
.metodo-btn.active { border-color: var(–brand); color: var(–brand); background: var(–brand-light); }
.metodo-btn svg { width:18px; height:18px; flex-shrink:0; }
.card-form {
display: none;
margin-top: 16px;
flex-direction: column;
gap: 12px;
}
.card-form.visible { display: flex; }
.form-row {
display: grid;
gap: 10px;
}
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-lbl { font-size: 11px; font-weight: 500; color: var(–text-muted); letter-spacing: 0.06em; }
.form-input {
height: 42px;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
padding: 0 12px;
font-family: var(–font-ui);
font-size: 13px;
color: var(–dark);
background: #fff;
outline: none;
transition: border-color 0.2s;
}
.form-input:focus { border-color: var(–brand); }
.form-input::placeholder { color: rgba(26,26,24,0.25); }
.secure-badge {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
color: var(–text-muted);
margin-top: 4px;
}
.secure-badge svg { width:12px; height:12px; stroke:var(–success); fill:none; stroke-width:2; stroke-linecap:round; }
.bonifico-info {
display: none;
margin-top: 16px;
padding: 16px;
background: var(–warm-gray);
border-radius: var(–radius-sm);
font-size: 12px;
line-height: 1.7;
color: var(–text-muted);
}
.bonifico-info.visible { display: block; }
.bonifico-info strong { color: var(–dark); }
.sidebar-card {
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
position: sticky;
top: 20px;
}
.sb-header {
padding: 16px 20px;
border-bottom: 1px solid var(–border);
background: var(–dark);
}
.sb-struttura {
font-family: var(–font-display);
font-size: 16px;
font-weight: 700;
color: #fff;
margin-bottom: 2px;
}
.sb-luogo {
font-size: 11px;
color: rgba(255,255,255,0.45);
display: flex;
align-items: center;
gap: 5px;
}
.sb-luogo svg { width:11px; height:11px; stroke:rgba(255,255,255,0.45); fill:none; stroke-width:2; }
.sb-body { padding: 16px 20px; }
.sb-row {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 8px 0;
border-bottom: 1px solid var(–border);
font-size: 12px;
}
.sb-row:last-child { border-bottom: none; }
.sb-key { color: var(–text-muted); }
.sb-val { font-weight: 500; color: var(–dark); text-align: right; }
.sb-upsell-list {
padding: 10px 20px;
border-top: 1px solid var(–border);
display: flex;
flex-direction: column;
gap: 6px;
min-height: 0;
}
.sb-upsell-item {
display: flex;
justify-content: space-between;
font-size: 11px;
color: var(–text-muted);
}
.sb-upsell-item span:last-child { color: var(–brand); font-weight: 500; }
.sb-totale {
padding: 16px 20px;
background: var(–brand);
display: flex;
justify-content: space-between;
align-items: center;
}
.sb-totale-lbl { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); }
.sb-totale-val {
font-family: var(–font-display);
font-size: 26px;
font-weight: 700;
color: #fff;
}
.sb-acconto {
padding: 10px 20px;
background: var(–brand-light);
display: flex;
justify-content: space-between;
font-size: 12px;
}
.sb-acconto-lbl { color: var(–brand-dark); }
.sb-acconto-val { font-weight: 700; color: var(–brand); }
.sb-cta-wrap { padding: 16px 20px; }
.sb-cta {
width: 100%;
padding: 15px;
background: var(–brand);
border: none;
border-radius: var(–radius-sm);
color: #fff;
font-family: var(–font-ui);
font-size: 14px;
font-weight: 500;
letter-spacing: 0.06em;
cursor: pointer;
transition: background 0.2s, transform 0.1s;
text-transform: uppercase;
}
.sb-cta:hover { background: var(–brand-dark); }
.sb-cta:active { transform: scale(0.98); }
.sb-note {
margin-top: 10px;
font-size: 10px;
color: var(–text-muted);
text-align: center;
line-height: 1.6;
display: flex;
align-items: flex-start;
gap: 5px;
justify-content: center;
}
.sb-note svg { width:11px; height:11px; stroke:var(–text-muted); fill:none; stroke-width:1.8; flex-shrink:0; margin-top:1px; }
.stripe-badge {
margin-top: 14px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
font-size: 10px;
color: rgba(26,26,24,0.25);
letter-spacing: 0.06em;
}
.stripe-badge svg { width:36px; height:15px; }
.promo-wrap {
padding: 12px 20px;
border-top: 1px solid var(–border);
}
.promo-row { display: flex; gap: 8px; }
.promo-input {
flex: 1;
height: 36px;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
padding: 0 10px;
font-family: var(–font-ui);
font-size: 12px;
color: var(–dark);
outline: none;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.promo-input:focus { border-color: var(–brand); }
.promo-btn {
height: 36px;
padding: 0 14px;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
background: var(–warm-gray);
font-family: var(–font-ui);
font-size: 11px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
color: var(–dark);
}
.promo-btn:hover { background: var(–dark); color: #fff; border-color: var(–dark); }
.promo-msg { font-size: 11px; margin-top: 6px; display: none; }
.promo-msg.ok { color: var(–success); display: block; }
.promo-msg.err { color: #dc2626; display: block; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(–font-ui); background: var(–off-white); color: var(–dark); }
.doc-section {
padding: clamp(64px,10vw,120px) 0;
background: var(–off-white);
}
.doc-inner {
max-width: 900px;
margin: 0 auto;
padding: 0 clamp(20px,5vw,60px);
}
.doc-label {
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(–brand);
font-weight: 500;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.doc-label::after { content:”; display:block; width:24px; height:1px; background:var(–brand); opacity:0.5; }
.doc-title {
font-family: var(–font-display);
font-size: clamp(26px,4vw,40px);
font-weight: 700;
color: var(–dark);
line-height: 1.1;
margin-bottom: 8px;
}
.doc-title em { font-style: italic; color: var(–text-muted); font-weight: 400; }
.doc-subtitle {
font-size: 14px;
color: var(–text-muted);
margin-bottom: clamp(32px,5vw,52px);
line-height: 1.6;
}
.stepper {
display: flex;
align-items: center;
margin-bottom: 40px;
gap: 0;
}
.step-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
flex: 1;
position: relative;
}
.step-item::after {
content: ”;
position: absolute;
top: 16px;
left: 50%;
width: 100%;
height: 2px;
background: var(–border);
z-index: 0;
}
.step-item:last-child::after { display: none; }
.step-item.done::after { background: var(–success); }
.step-item.active::after { background: linear-gradient(to right, var(–success), var(–border)); }
.step-circle {
width: 32px;
height: 32px;
border-radius: 50%;
border: 2px solid var(–border);
background: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 500;
color: var(–text-muted);
z-index: 1;
transition: all 0.3s;
position: relative;
}
.step-item.done .step-circle {
background: var(–success);
border-color: var(–success);
color: #fff;
}
.step-item.active .step-circle {
background: var(–brand);
border-color: var(–brand);
color: #fff;
}
.step-label {
font-size: 10px;
letter-spacing: 0.06em;
color: var(–text-muted);
text-align: center;
white-space: nowrap;
}
.step-item.active .step-label { color: var(–brand); font-weight: 500; }
.step-item.done .step-label { color: var(–success); }
.doc-card {
background: #fff;
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
margin-bottom: 16px;
}
.doc-card-header {
padding: 16px 20px;
border-bottom: 1px solid var(–border);
display: flex;
align-items: center;
gap: 12px;
}
.doc-card-icon {
width: 36px; height: 36px;
border-radius: 9px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.doc-card-icon svg { width:18px; height:18px; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.doc-card-texts { flex: 1; }
.doc-card-title { font-size: 14px; font-weight: 500; color: var(–dark); }
.doc-card-sub { font-size: 11px; color: var(–text-muted); margin-top: 1px; }
.doc-card-status {
display: flex;
align-items: center;
gap: 5px;
font-size: 11px;
font-weight: 500;
padding: 4px 10px;
border-radius: 99px;
flex-shrink: 0;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-done { background: var(–success-light); color: var(–success); }
.status-required { background: #fee2e2; color: #991b1b; }
.doc-card-body { padding: 20px; }
.identity-steps {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 20px;
}
.id-step {
display: flex;
align-items: flex-start;
gap: 14px;
padding: 14px 16px;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
background: var(–warm-gray);
}
.id-step.completed {
background: var(–success-light);
border-color: var(–success-border);
}
.id-step-num {
width: 26px; height: 26px;
border-radius: 50%;
background: rgba(26,26,24,0.08);
display: flex; align-items: center; justify-content: center;
font-size: 11px; font-weight: 500;
color: var(–text-muted);
flex-shrink: 0;
}
.id-step.completed .id-step-num {
background: var(–success);
color: #fff;
}
.id-step-info { flex: 1; }
.id-step-title { font-size: 13px; font-weight: 500; color: var(–dark); margin-bottom: 2px; }
.id-step-desc { font-size: 11px; color: var(–text-muted); line-height: 1.4; }
.dati-estratti {
background: var(–success-light);
border: 1px solid var(–success-border);
border-radius: var(–radius-sm);
padding: 16px;
margin-bottom: 16px;
display: none;
}
.dati-estratti.visible { display: block; }
.dati-title {
font-size: 11px;
font-weight: 500;
color: var(–success);
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 6px;
}
.dati-title svg { width:13px; height:13px; stroke:var(–success); fill:none; stroke-width:2.2; stroke-linecap:round; }
.dati-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
@media(max-width:480px) { .dati-grid { grid-template-columns: 1fr; } }
.dato-item {}
.dato-lbl { font-size: 10px; color: var(–text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
.dato-val { font-size: 13px; font-weight: 500; color: var(–dark); }
.identity-cta {
width: 100%;
padding: 14px;
background: #635bff;
border: none;
border-radius: var(–radius-sm);
color: #fff;
font-family: var(–font-ui);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.identity-cta:hover { background: #4f46e5; }
.identity-cta svg { width:18px; height:18px; stroke:#fff; fill:none; stroke-width:1.8; stroke-linecap:round; }
.gdpr-note {
margin-top: 12px;
font-size: 10px;
color: var(–text-muted);
line-height: 1.6;
display: flex;
gap: 6px;
align-items: flex-start;
}
.gdpr-note svg { width:11px; height:11px; stroke:var(–text-muted); fill:none; stroke-width:1.8; flex-shrink:0; margin-top:2px; }
.tc-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
@media(max-width:640px) { .tc-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:400px) { .tc-grid { grid-template-columns: 1fr; } }
.tc-card {
border: 1px solid var(–border);
border-radius: var(–radius-sm);
overflow: hidden;
cursor: pointer;
transition: border-color 0.2s, box-shadow 0.2s;
background: #fff;
}
.tc-card:hover { border-color: var(–brand); box-shadow: 0 4px 16px rgba(0,105,148,0.1); }
.tc-card.expanded { border-color: var(–brand); }
.tc-card-head {
padding: 14px;
display: flex;
align-items: flex-start;
gap: 10px;
}
.tc-icon {
width: 34px; height: 34px;
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 17px;
flex-shrink: 0;
}
.tc-texts { flex: 1; }
.tc-nome { font-size: 12px; font-weight: 500; color: var(–dark); line-height: 1.2; margin-bottom: 3px; }
.tc-sintesi { font-size: 10px; color: var(–text-muted); line-height: 1.3; }
.tc-chevron {
flex-shrink: 0;
width: 16px; height: 16px;
stroke: var(–text-muted); fill: none; stroke-width: 2;
stroke-linecap: round; stroke-linejoin: round;
transition: transform 0.25s;
margin-top: 2px;
}
.tc-card.expanded .tc-chevron { transform: rotate(180deg); }
.tc-accordion {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.tc-card.expanded .tc-accordion { max-height: 400px; }
.tc-accordion-inner {
padding: 0 14px 14px;
border-top: 1px solid var(–border);
padding-top: 12px;
}
.tc-field {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 7px 0;
border-bottom: 1px solid var(–border);
gap: 8px;
}
.tc-field:last-child { border-bottom: none; padding-bottom: 0; }
.tc-field-lbl { font-size: 11px; color: var(–text-muted); flex-shrink: 0; }
.tc-field-val { font-size: 11px; font-weight: 500; color: var(–dark); text-align: right; }
.tc-field-val.brand { color: var(–brand); }
.tc-field-val.red { color: #dc2626; }
.firma-wrap {
display: flex;
flex-direction: column;
gap: 16px;
}
.contratto-scroll {
height: 180px;
overflow-y: auto;
border: 1px solid var(–border);
border-radius: var(–radius-sm);
padding: 16px;
background: var(–warm-gray);
font-size: 12px;
color: var(–text-muted);
line-height: 1.7;
scrollbar-width: thin;
}
.contratto-scroll h4 {
font-size: 12px;
font-weight: 500;
color: var(–dark);
margin-bottom: 6px;
margin-top: 12px;
}
.contratto-scroll h4:first-child { margin-top: 0; }
.firma-canvas-wrap {
border: 1.5px dashed var(–border);
border-radius: var(–radius-sm);
background: #fff;
position: relative;
overflow: hidden;
}
.firma-canvas-wrap.signed { border-color: var(–success); border-style: solid; }
#firma-canvas {
width: 100%;
height: 120px;
display: block;
cursor: crosshair;
touch-action: none;
}
.firma-placeholder {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
color: rgba(26,26,24,0.2);
pointer-events: none;
font-style: italic;
gap: 8px;
}
.firma-placeholder svg { width:16px; height:16px; stroke:rgba(26,26,24,0.2); fill:none; stroke-width:1.5; }
.firma-placeholder.hidden { display: none; }
.firma-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.firma-clear {
font-size: 11px;
color: var(–text-muted);
background: none;
border: none;
cursor: pointer;
text-decoration: underline;
padding: 0;
}
.firma-clear:hover { color: var(–dark); }
.firma-timestamp {
font-size: 10px;
color: var(–text-muted);
font-style: italic;
display: none;
}
.firma-timestamp.visible { display: block; }
.accettazione-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.acc-item {
display: flex;
align-items: flex-start;
gap: 12px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.acc-checkbox {
width: 20px; height: 20px;
border: 1.5px solid var(–border);
border-radius: 5px;
background: #fff;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
margin-top: 1px;
transition: all 0.15s;
}
.acc-checkbox.checked {
background: var(–brand);
border-color: var(–brand);
}
.acc-checkbox svg { width:11px; height:11px; stroke:#fff; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; opacity:0; transition:opacity 0.15s; }
.acc-checkbox.checked svg { opacity: 1; }
.acc-text { font-size: 12px; color: var(–text-muted); line-height: 1.5; }
.acc-text strong { color: var(–dark); font-weight: 500; }
.acc-text a { color: var(–brand); text-decoration: underline; }
.firma-cta {
width: 100%;
padding: 15px;
background: var(–dark);
border: none;
border-radius: var(–radius-sm);
color: #fff;
font-family: var(–font-ui);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
letter-spacing: 0.04em;
}
.firma-cta:hover { background: #2d2d2b; }
.firma-cta:disabled { background: #d8d7d0; cursor: not-allowed; }
.firma-cta svg { width:18px; height:18px; stroke:#fff; fill:none; stroke-width:1.8; stroke-linecap:round; }
.success-state {
display: none;
flex-direction: column;
align-items: center;
text-align: center;
padding: 40px 20px;
gap: 16px;
}
.success-state.visible { display: flex; }
.success-icon {
width: 72px; height: 72px;
border-radius: 50%;
background: var(–success-light);
border: 2px solid var(–success-border);
display: flex; align-items: center; justify-content: center;
}
.success-icon svg { width:32px; height:32px; stroke:var(–success); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.success-title {
font-family: var(–font-display);
font-size: 26px;
font-weight: 700;
color: var(–dark);
}
.success-sub {
font-size: 14px;
color: var(–text-muted);
max-width: 400px;
line-height: 1.6;
}
.success-meta {
display: flex;
flex-direction: column;
gap: 6px;
background: var(–warm-gray);
border-radius: var(–radius-sm);
padding: 14px 20px;
width: 100%;
max-width: 380px;
font-size: 12px;
}
.meta-row { display: flex; justify-content: space-between; color: var(–text-muted); }
.meta-row span:last-child { font-weight: 500; color: var(–dark); }
.pdf-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: var(–brand-light);
border: 1px solid rgba(0,105,148,0.25);
border-radius: var(–radius-sm);
color: var(–brand-dark);
font-family: var(–font-ui);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
}
.pdf-btn:hover { background: rgba(0,105,148,0.15); }
.pdf-btn svg { width:16px; height:16px; stroke:var(–brand); fill:none; stroke-width:1.8; stroke-linecap:round; }