/*
Theme Name: Lasciateci Cantare
Text Domain: lasciateci-cantare
Description: Tema su misura per il karaoke collettivo Lasciateci Cantare: province, locali, serate automatiche.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

:root {
	--lc-blue: #1C3FD6;
	--lc-navy: #0B1B6B;
	--lc-yellow: #FFD21F;
	--lc-pink: #FF3D8B;
	--lc-ice: #EEF3FF;
	--lc-ink2: #33427A;
	--lc-berry: #C2185B;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Nunito', system-ui, sans-serif;
	font-weight: 600;
	background: var(--lc-blue);
	color: #fff;
	line-height: 1.5;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.lc-disp { font-family: 'Titan One', 'Nunito', sans-serif; font-weight: 400; }
.lc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lc-skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--lc-navy); padding: 8px 14px; z-index: 100; }
.lc-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--lc-yellow); outline-offset: 3px; }

/* Pulsanti */
.lc-btn {
	display: inline-block; font-weight: 800; font-size: 17px; line-height: 1.2;
	padding: 15px 26px; border-radius: 999px; border: 3px solid var(--lc-navy);
	transition: transform .15s ease; cursor: pointer;
}
.lc-btn:hover { transform: translate(-3px, -3px); }
.lc-btn--yellow { background: var(--lc-yellow); color: var(--lc-navy); box-shadow: 5px 5px 0 var(--lc-navy); }
.lc-btn--pink { background: var(--lc-pink); color: var(--lc-navy); }
.lc-btn--navy { background: var(--lc-navy); color: #fff; font-size: 15px; padding: 12px 20px; }
.lc-btn--line { background: transparent; color: #fff; border-color: #fff; }
.lc-btn--sm { font-size: 15px; padding: 11px 18px; border-color: transparent; }

/* Intestazione */
.lc-nav { background: var(--lc-navy); position: relative; z-index: 20; }
.lc-nav__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; padding-top: 12px; padding-bottom: 12px; }
.lc-brand { display: flex; align-items: center; gap: 10px; flex-grow: 1; font-size: 22px; letter-spacing: .5px; }
.lc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-weight: 800; font-size: 16px; }
.lc-dd { position: relative; }
.lc-dd__btn { font: inherit; font-weight: 800; color: #fff; background: none; border: 0; cursor: pointer; padding: 6px 0; }
.lc-dd__panel {
	display: none; position: absolute; top: 100%; left: -14px; min-width: 220px;
	background: var(--lc-navy); border: 3px solid #fff; border-radius: 16px; padding: 10px 6px;
}
.lc-dd:hover .lc-dd__panel, .lc-dd:focus-within .lc-dd__panel { display: block; }
.lc-dd__panel a { display: block; padding: 9px 16px; border-radius: 10px; }
.lc-dd__panel a:hover { background: var(--lc-blue); }
.lc-dd__all { color: var(--lc-yellow); border-top: 2px dashed #5B73E0; margin-top: 6px; padding-top: 12px !important; }

/* Hero */
.lc-hero { position: relative; overflow: hidden; background: var(--lc-blue) center / cover no-repeat; }
.lc-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.lc-hero__veil { position: absolute; inset: 0; background: rgba(28, 63, 214, .72); }
.lc-hero__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 88px; }
.lc-hero__txt { flex: 999 1 520px; min-width: 0; }
.lc-hero__star { flex: 1 1 280px; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.lc-hero__star img { width: min(340px, 80%); filter: drop-shadow(6px 8px 0 var(--lc-navy)); transform: rotate(-4deg); }
.lc-pill { display: inline-block; background: var(--lc-yellow); color: var(--lc-navy); font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; transform: rotate(-2deg); }
.lc-h1 { font-size: clamp(50px, 9vw, 120px); line-height: .94; letter-spacing: 1px; margin-top: 22px; }
.lc-h1--page { font-size: clamp(44px, 7.5vw, 104px); margin-top: 28px; }
.lc-kara {
	background: linear-gradient(90deg, var(--lc-yellow) 0 50%, #fff 50% 100%);
	background-size: 200% 100%; background-position: 100% 0;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: lc-sing 5s ease-in-out infinite alternate;
}
@keyframes lc-sing { from { background-position: 100% 0; } to { background-position: 0 0; } }
.lc-lead { font-size: 21px; line-height: 1.5; font-weight: 700; max-width: 620px; margin-top: 24px; }
.lc-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Ticker */
.lc-ticker { background: var(--lc-yellow); color: var(--lc-navy); border-top: 4px solid var(--lc-navy); border-bottom: 4px solid var(--lc-navy); overflow: hidden; }
.lc-ticker__track { display: flex; width: max-content; animation: lc-roll 40s linear infinite; }
.lc-ticker__track span { font-size: 28px; padding: 14px 26px; white-space: nowrap; }
@keyframes lc-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sezioni */
.lc-sec { padding: 88px 0; }
.lc-sec--ice { background: var(--lc-ice); color: var(--lc-navy); }
.lc-sec--pink { background: var(--lc-pink); color: var(--lc-navy); }
.lc-sec--yellow { background: var(--lc-yellow); color: var(--lc-navy); }
.lc-sec--navy { background: var(--lc-navy); color: #fff; }
.lc-sec--blue { background: var(--lc-blue); color: #fff; }
.lc-eyebrow { font-weight: 800; letter-spacing: 2px; font-size: 14px; text-transform: uppercase; color: var(--lc-berry); }
.lc-h2 { font-size: clamp(36px, 5.5vw, 68px); line-height: 1; margin-top: 6px; }
.lc-sec--navy .lc-h2, .lc-sec--blue .lc-h2 { color: var(--lc-yellow); }
.lc-note { margin-top: 28px; font-size: 15px; font-weight: 700; color: var(--lc-ink2); }
.lc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 40px; }

/* Card serata */
.lc-card { background: #fff; color: var(--lc-navy); border: 3px solid var(--lc-navy); border-radius: 24px; box-shadow: 7px 7px 0 var(--lc-navy); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease; }
.lc-card:hover { transform: translate(-3px, -3px); }
.lc-card__head { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border-bottom: 3px solid var(--lc-navy); }
.lc-card__day { font-size: 60px; line-height: .9; }
.lc-card__month { font-size: 24px; line-height: 1; }
.lc-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--lc-navy); border: 2px solid var(--lc-navy); font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px; }
.lc-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.lc-card__body h3 { font-size: 28px; line-height: 1.1; }
.lc-card__body p { font-size: 17px; color: var(--lc-ink2); font-weight: 700; }
.lc-card__body .lc-btn { align-self: flex-start; margin-top: 14px; }
.lc-when { align-self: flex-start; background: var(--lc-navy); color: var(--lc-yellow); font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 4px 12px; border-radius: 999px; }

/* Fascia "prossima serata" */
.lc-next { background: var(--lc-yellow); color: var(--lc-navy); border-top: 4px solid var(--lc-navy); border-bottom: 4px solid var(--lc-navy); }
.lc-next__in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding-top: 34px; padding-bottom: 34px; }
.lc-next__lbl { font-size: 20px; letter-spacing: 1px; }
.lc-next__when { font-size: 16px; background: var(--lc-navy); color: var(--lc-yellow); padding: 4px 12px; border-radius: 999px; margin-right: 10px; }
.lc-next__what { font-size: clamp(26px, 4vw, 46px); line-height: 1.05; flex-grow: 1; }

/* Locali */
.lc-venue { background: #fff; color: var(--lc-navy); border: 3px solid var(--lc-navy); border-radius: 24px; box-shadow: 6px 6px 0 var(--lc-navy); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.lc-venue__town { font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lc-berry); display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.lc-venue h3 { font-size: 34px; line-height: 1.05; }
.lc-venue p { font-size: 17px; font-weight: 700; }
.lc-venue a { font-weight: 800; text-decoration: underline; }
.lc-chip { background: var(--lc-yellow); color: var(--lc-navy); border: 2px solid var(--lc-navy); font-weight: 800; font-size: 12px; letter-spacing: 1px; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }

/* Serate passate */
.lc-past { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.lc-past__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; background: #fff; border: 3px solid var(--lc-navy); border-radius: 18px; padding: 16px 22px; }
.lc-past__date { font-size: 24px; min-width: 170px; }
.lc-past__name { font-weight: 800; font-size: 18px; flex-grow: 1; }
.lc-past__town { font-weight: 700; font-size: 15px; color: var(--lc-ink2); }

/* Come funziona */
.lc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 40px; }
.lc-step { border: 3px solid #fff; border-radius: 24px; padding: 28px; }
.lc-step__n { font-size: 56px; line-height: 1; }
.lc-step h3 { font-size: 26px; margin-top: 10px; }
.lc-step p { font-size: 17px; font-weight: 700; margin-top: 10px; }

/* Domande frequenti */
.lc-faq { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.lc-faq details { background: #fff; color: var(--lc-navy); border: 3px solid #fff; border-radius: 18px; padding: 0 22px; }
.lc-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 800; font-size: 19px; }
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq summary::after { content: "+"; font-family: 'Titan One', sans-serif; font-size: 30px; color: var(--lc-berry); transition: transform .15s ease; }
.lc-faq details[open] summary::after { transform: rotate(45deg); }
.lc-faq details div { padding: 0 0 20px; font-size: 17px; color: var(--lc-ink2); font-weight: 600; }

/* Città */
.lc-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 40px; }
.lc-city { background: var(--lc-blue); color: #fff; border: 3px solid var(--lc-navy); border-radius: 24px; box-shadow: 6px 6px 0 var(--lc-navy); padding: 28px; transition: transform .15s ease; display: block; }
.lc-city:hover { transform: translate(-3px, -3px); }
.lc-city h3 { font-size: 38px; line-height: 1; }
.lc-city p { margin-top: 8px; font-weight: 700; }
.lc-city--add { background: var(--lc-pink); color: var(--lc-navy); border-style: dashed; box-shadow: none; }
.lc-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.lc-pill-link { background: var(--lc-blue); color: #fff; font-weight: 800; font-size: 17px; padding: 12px 22px; border-radius: 999px; border: 3px solid var(--lc-navy); }

/* Per i locali */
.lc-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.lc-split > div { flex: 1 1 380px; min-width: 0; }
.lc-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 20px; font-weight: 800; }
.lc-list li { display: flex; gap: 14px; }
.lc-list b { font-family: 'Titan One', sans-serif; font-weight: 400; font-size: 28px; line-height: 1; }
.lc-box { background: var(--lc-navy); color: #fff; border-radius: 24px; padding: 28px; }
.lc-box h3 { color: var(--lc-yellow); font-size: 26px; line-height: 1.1; }
.lc-box p { margin-top: 10px; font-size: 17px; font-weight: 700; }
.lc-box .lc-btn { margin-top: 18px; }

/* Piè di pagina */
.lc-footer { background: var(--lc-navy); color: #fff; }
.lc-footer__in { display: flex; flex-wrap: wrap; gap: 36px 64px; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; }
.lc-footer__in > div { flex: 1 1 240px; font-weight: 700; font-size: 17px; line-height: 1.7; }
.lc-footer__brand { font-size: 30px; color: var(--lc-yellow); }
.lc-footer__h { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lc-yellow); font-weight: 800; margin: 0 0 4px; }
.lc-footer__legal { padding-bottom: 32px; font-size: 14px; font-weight: 700; color: #C9D4FF; }

/* Video leggero */
.lc-video { position: relative; aspect-ratio: 16 / 9; width: 100%; border: 3px solid var(--lc-navy); border-radius: 24px; box-shadow: 8px 8px 0 var(--lc-navy); overflow: hidden; background: var(--lc-navy) center / cover no-repeat; }
.lc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lc-video__play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(11, 27, 107, .45); color: #fff; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 20px; }
.lc-video__play svg { width: 84px; height: 84px; padding: 22px; background: var(--lc-yellow); color: var(--lc-navy); border-radius: 50%; border: 3px solid var(--lc-navy); }
.lc-video__play:hover svg { transform: scale(1.06); }

/* Moduli */
.lc-form-wrap { background: #fff; color: var(--lc-navy); border: 3px solid var(--lc-navy); border-radius: 28px; box-shadow: 8px 8px 0 var(--lc-navy); padding: 28px; }
.lc-form { display: flex; flex-direction: column; gap: 6px; }
.lc-form label { font-weight: 800; font-size: 14px; margin-top: 10px; }
.lc-form input[type="text"], .lc-form input[type="email"], .lc-form input[type="tel"], .lc-form select, .lc-form textarea {
	font: inherit; font-weight: 700; font-size: 16px; color: var(--lc-navy); background: #fff;
	border: 3px solid var(--lc-navy); border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 48px;
}
.lc-form__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700 !important; font-size: 15px !important; margin-top: 16px !important; }
.lc-form__check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.lc-form__check a { text-decoration: underline; }
.lc-form .lc-btn { margin-top: 18px; align-self: flex-start; border-color: var(--lc-navy); }
.lc-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lc-form-msg { font-weight: 800; padding: 14px 18px; border-radius: 14px; margin-bottom: 16px; }
.lc-form-msg--ok { background: var(--lc-yellow); color: var(--lc-navy); }
.lc-form-msg--err { background: var(--lc-pink); color: var(--lc-navy); }

/* Elenchi di testo */
.lc-bullets { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lc-bullets li { background: #fff; color: var(--lc-navy); border: 3px solid var(--lc-navy); border-radius: 16px; padding: 14px 18px; font-weight: 800; }
.lc-text { max-width: 720px; font-size: 20px; font-weight: 700; line-height: 1.55; margin-top: 18px; }

/* Storico raggruppato per locale */
.lc-past__row--group { flex-direction: column; align-items: stretch; gap: 12px; }
.lc-past__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.lc-datechips { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-datechips span { background: var(--lc-ice); color: var(--lc-navy); border: 2px solid var(--lc-navy); border-radius: 999px; font-weight: 800; font-size: 14px; padding: 4px 12px; }
.lc-datechips .lc-datechips__more { background: var(--lc-yellow); }
.lc-venue .lc-badge { margin-left: 0; }

/* Breadcrumb e pagine di testo */
.lc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 800; font-size: 15px; padding-top: 40px; }
.lc-crumbs span:last-child { color: var(--lc-yellow); }
.lc-page { padding: 72px 0; }
.lc-page__body { background: #fff; color: var(--lc-navy); border-radius: 24px; padding: 32px; margin-top: 32px; font-size: 18px; }
.lc-page__body a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
	.lc-kara, .lc-ticker__track { animation: none; }
	.lc-kara { color: var(--lc-yellow); background: none; }
	.lc-hero__video { display: none; }
}
