/*
 * I segni di Venere - stile del sito statico
 * Author: tundesign.it - v1.0.0
 */
:root {
  --c-accent: #dcb300;        /* giallo Venere (colore primario del vecchio sito) */
  --c-accent-dark: #a88800;
  --c-red: #9e3a32;           /* rosso "ERICE" del manifesto */
  --c-text: #3a3a3a;
  --c-heading: #1c1c1c;
  --c-muted: #6b6b6b;
  --c-bg: #ffffff;
  --c-tint: #faf6e6;
  --c-line: #e7e2d2;
  --c-dark: #1f1d1a;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --wrap: 1180px;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--c-text); background: var(--c-bg); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-underline-offset: .15em; }
a:hover { color: var(--c-heading); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
::selection { background: var(--c-accent); color: #000; }
h1, h2, h3, h4 { color: var(--c-heading); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--c-dark); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--c-muted); }
mark.todo { background: #fff3a6; color: #6b4e00; padding: 0 .25em; border-radius: 3px; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--c-heading); }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; }
.brand-tag { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem; }
.main-nav a { display: block; padding: .5rem .7rem; color: var(--c-text); text-decoration: none; font-size: .95rem; border-radius: 6px; }
.main-nav a:hover { background: var(--c-tint); color: var(--c-heading); }
.main-nav a[aria-current="page"] { color: var(--c-heading); box-shadow: inset 0 -3px 0 var(--c-accent); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--c-heading); content: ""; transition: transform .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow); display: none; }
  .main-nav.is-open { display: block; }
  /* senza JavaScript il menu resta visibile sotto l'intestazione */
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .main-nav { display: block; position: static; box-shadow: none; border: 0; width: 100%; }
  .main-nav ul { flex-direction: column; padding: .5rem 16px 1rem; }
  .main-nav a { padding: .8rem .5rem; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--c-accent); padding-left: 1rem; }
}
@media (max-width: 420px) { .brand-tag { display: none; } }

/* Sezioni */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-tint { background: var(--c-tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2rem; }
.kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-red); font-weight: 600; margin-bottom: .6rem; }
.page-hero { background: var(--c-tint); border-bottom: 4px solid var(--c-accent); padding: clamp(2.2rem, 6vw, 3.8rem) 0 clamp(1.8rem, 4vw, 2.6rem); }
.page-hero h1 { margin: 0; max-width: 900px; }
.home-hero img { width: 100%; aspect-ratio: 1920 / 800; object-fit: cover; }
.intro h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.actions.center { justify-content: center; }

/* Testi */
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.legal h2 { font-size: 1.3rem; border-top: 1px solid var(--c-line); padding-top: 1.5rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
.table-wrap table, .cc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-wrap th, .table-wrap td, .cc-table th, .cc-table td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--c-line); }
.table-wrap thead th, .cc-table thead th { background: var(--c-tint); }

/* Pulsanti */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: .95rem; padding: .75rem 1.4rem; border-radius: 999px; background: var(--c-accent); color: #1a1500; border: 2px solid var(--c-accent); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--c-heading); border-color: var(--c-heading); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-heading); border-color: var(--c-heading); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--c-red); text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }

/* Card talenti */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--c-heading); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #ddd; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; right: .7rem; bottom: .7rem; width: 42px; height: 42px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.play::after { content: ""; position: absolute; left: 16px; top: 13px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #1a1500; }
.card-title { font-size: 1rem; font-weight: 600; margin: 0; padding: .9rem 1rem 1.1rem; line-height: 1.4; }

/* Pagina talento */
.player { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); }
.player-missing { margin: 0; }
.player-missing img { width: 100%; border-radius: var(--radius); opacity: .6; }
.player-missing figcaption { margin-top: .8rem; color: var(--c-muted); font-style: italic; }
.pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; font-size: .95rem; }
.pager a { text-decoration: none; font-weight: 600; }

/* Chi siamo */
.band { background: var(--c-dark); color: #fff; padding: .7rem 1.1rem; border-left: 6px solid var(--c-accent); border-radius: 4px; margin: 2.5rem 0 1.5rem; }
.band:first-child { margin-top: 0; }
.infobox { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.infobox-media img { width: 100%; border-radius: var(--radius); background: #fff; }
@media (max-width: 600px) { .infobox { grid-template-columns: 1fr; } .infobox-media img { max-width: 220px; } }

/* Diretta (contenuto bloccato) */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--c-dark); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-blocked { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; color: #fff; background: linear-gradient(rgba(31, 29, 26, .82), rgba(31, 29, 26, .9)), url("../../img/homevenere-960.jpg") center / cover; }
.embed-blocked .small, .embed-blocked a { color: #f2e7b8; }
@media (max-width: 560px) { .embed { aspect-ratio: auto; min-height: 340px; } }

/* Contatti */
.contact-card { background: var(--c-tint); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 4px solid var(--c-accent); }
.contact-mail { font-size: 1.3rem; font-weight: 600; }

/* Partner */
.partners { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem 2rem; align-items: center; justify-items: center; }
.partners img { max-height: 90px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.partners li:hover img { filter: none; opacity: 1; }

/* Footer */
.site-footer { background: var(--c-dark); color: #d8d3c4; font-size: .95rem; margin-top: 0; }
.site-footer a, .site-footer .link-button { color: #f2e7b8; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding: 2.5rem 0 1.5rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand p { margin: 0; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0 1.4rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.site-footer mark.todo { background: #5a4a00; color: #fff3a6; }

/* ===================== Banner cookie (stile CookieYes) ===================== */
.cc-root { --cc-accent: #1f1d1a; font-family: var(--font); font-size: .92rem; line-height: 1.55; color: #212121; }
.cc-root[hidden], .cc-root [hidden] { display: none !important; }
.cc-banner { position: fixed; z-index: 9998; left: 24px; bottom: 24px; width: min(440px, calc(100% - 32px)); background: #fff; border: 1px solid #f4f4f4; border-radius: 6px; box-shadow: 0 -1px 10px rgba(172, 171, 171, .3), 0 8px 30px rgba(0, 0, 0, .12); padding: 22px 24px 20px; animation: cc-in .3s ease-out; }
@keyframes cc-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cc-title { font-size: 1.05rem; font-weight: 700; margin: 0 28px 10px 0; color: #212121; }
.cc-text { margin: 0 0 16px; color: #212121; }
.cc-text a { color: #1863dc; }
.cc-actions, .cc-modal-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .cc-btn { flex: 1 1 calc(33.333% - 8px); }
.cc-btn { font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 12px; min-height: 40px; border-radius: 3px; cursor: pointer; border: 2px solid var(--cc-accent); transition: opacity .15s; white-space: nowrap; }
.cc-btn:hover { opacity: .85; }
.cc-btn-outline { background: #fff; color: var(--cc-accent); }
.cc-btn-primary { background: var(--cc-accent); color: #fff; }
.cc-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; background: none; font-size: 24px; line-height: 1; color: #444; cursor: pointer; border-radius: 50%; }
.cc-close:hover { background: #f2f2f2; }
.cc-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-modal { position: relative; background: #fff; width: min(845px, 100%); max-height: min(90vh, 760px); display: flex; flex-direction: column; border-radius: 6px; box-shadow: 0 32px 68px rgba(0, 0, 0, .3); }
.cc-modal-head { position: relative; padding: 20px 56px 16px 24px; border-bottom: 1px solid #f4f4f4; }
.cc-modal-head h2 { font-size: 1.1rem; margin: 0; color: #212121; }
.cc-modal-body { padding: 18px 24px 8px; overflow-y: auto; }
.cc-modal-body > p { margin-bottom: 18px; }
.cc-modal-body a { color: #1863dc; }
.cc-modal-foot { justify-content: flex-end; padding: 16px 24px; border-top: 1px solid #f4f4f4; }
.cc-modal-foot .cc-btn { flex: 1 1 auto; }
@media (min-width: 640px) { .cc-modal-foot .cc-btn { flex: 0 1 auto; min-width: 170px; } }
.cc-cat { border-top: 1px solid #f4f4f4; padding: 14px 0; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cc-cat-toggle { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; color: #212121; cursor: pointer; text-align: left; }
.cc-chevron { width: 8px; height: 8px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: rotate(-45deg); transition: transform .2s; }
.cc-cat-toggle[aria-expanded="true"] .cc-chevron { transform: rotate(45deg); }
.cc-cat-desc { margin: 6px 0 0 18px; color: #4a4a4a; }
.cc-cat-body { margin: 10px 0 0 18px; background: #f8f8f8; border-radius: 4px; padding: 10px 12px; overflow-x: auto; }
.cc-cat-body .cc-empty { margin: 0; color: #666; }
.cc-always { color: #008000; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.cc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; background: #d0d5d2; border-radius: 24px; transition: background .2s; }
.cc-slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.cc-switch input:checked + .cc-slider { background: var(--cc-accent); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-switch input:focus-visible + .cc-slider { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.cc-revisit { position: fixed; z-index: 9997; left: 15px; bottom: 15px; width: 45px; height: 45px; border-radius: 50%; border: 0; background: var(--c-dark); color: var(--c-accent); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: transform .2s; }
.cc-revisit:hover { transform: scale(1.08); }
@media (max-width: 560px) {
  .cc-banner { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 6px 6px 0 0; padding: 20px 16px 16px; }
  .cc-actions .cc-btn { flex: 1 1 100%; }
  .cc-actions .cc-btn-primary { order: -1; }
}
@media print { .cc-root, .site-header nav, .nav-toggle { display: none !important; } }
