/* =========================================================================
   Sci Club Pianturina — grafica v2 "Tabellone di pista"
   Si applica sopra site.css solo quando <html> ha la classe .v2.
   Colori e caratteri sono quelli del club (palette e font di site.css:
   Roboto Slab nei titoli, Outfit nell'interfaccia, Open Sans nei testi).
   Cambia l'impaginazione: tinte piene, superfici piatte, testo allineato a
   sinistra, titoli grandi e un unico segno forte, il bordo inclinato
   "a pendio" sotto le testate.
   ========================================================================= */

html.v2 {
    --r-sm: 3px; --r: 4px; --r-lg: 6px;
    --sh-1: none; --sh-2: none; --sh-3: none; --sh-orange: none;
    --slope: clamp(28px, 5.5vw, 96px);
}

.v2 body { background: var(--snow); }
.v2 h1, .v2 h2, .v2 h3, .v2 h4, .v2 h5 { font-weight: 800; letter-spacing: -.015em; line-height: 1.06; }
.v2 h3, .v2 h4 { font-weight: 700; line-height: 1.15; }

/* niente comparse a ogni sezione: il contenuto c'è e basta */
.v2.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* etichette sopra i titoli: via quelle che ripetono il titolo, niente maiuscoletto spaziato */
.v2 .eyebrow, .v2 .band-kicker > span:first-child { display: none; }
.v2 .page-header .eyebrow { display: block; font-size: 1.05rem; font-weight: 650; letter-spacing: 0; text-transform: none; color: #ffd6ad; margin-bottom: 6px; }
.v2 .page-header .eyebrow::before { content: none; }
.v2 .btn, .v2 .tag, .v2 .news-label, .v2 .news-feature time, .v2 .price-card .age, .v2 .side-archive b,
.v2 .site-footer h4, .v2 .hero__stats .stat span, .v2 .feature-pill, .v2 .news-cat__count, .v2 .wa-badge,
.v2 .pricing-note .txt b, .v2 .archive-category__head span, .v2 .archive-row__body time, .v2 .outing-status,
.v2 .brand span, .v2 .side-brand .since, .v2 .home-alert__label, .v2 .home-alert__action { text-transform: none; letter-spacing: 0; }

/* --- pulsanti: tinta piena, nessun effetto ------------------------------- */
.v2 .btn { font-weight: 700; font-size: 1rem; padding: 14px 24px; border-width: 2px; transition: background .15s, color .15s, border-color .15s; }
.v2 .btn:hover { transform: none; box-shadow: none; }
.v2 .btn--primary { background: var(--orange-deep); color: #fff; }
.v2 .btn--primary:hover { background: var(--orange-600); color: #fff; }
.v2 .btn--solid-blue { background: var(--blue-900); color: #fff; }
.v2 .btn--solid-blue:hover { background: var(--navy); }
.v2 .btn--ghost { background: transparent; border-color: #fff; backdrop-filter: none; }
.v2 :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* --- barra laterale: blu notte pieno ------------------------------------- */
.v2 .side-nav { background: var(--navy); border-right: 0; box-shadow: none; color: #c9d6e4; scrollbar-color: #33506e transparent; }
.v2 .side-brand { display: flex; align-items: center; gap: 12px; text-align: left; padding: 0 0 18px; margin-bottom: 18px; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.v2 .side-brand img { width: 58px; height: 58px; margin: 0; padding: 6px; flex: none; background: #fff; border: 0; box-shadow: none; }
.v2 .side-brand:hover img { transform: none; box-shadow: none; }
.v2 .side-brand b { font-weight: 700; font-size: 1.22rem; line-height: 1.08; color: #fff; }
.v2 .side-brand .since { display: none; }
.v2 .side-menu { gap: 0; margin-bottom: 16px; }
.v2 .side-menu a { min-height: 0; padding: 9px 0 9px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #c9d6e4; font-weight: 600; font-size: 1.2rem; line-height: 1.15; transition: color .15s; }
.v2 .side-menu a:hover, .v2 .side-menu a.is-active { background: none; border: 0; box-shadow: none; transform: none; color: #fff; }
.v2 .side-menu a::before { left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0; }
.v2 .side-menu__icon { display: none; }
.v2 .side-foot { gap: 14px; }
.v2 .side-archive { padding: 0 0 0 16px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #c9d6e4; }
.v2 .side-archive:hover, .v2 .side-archive.is-active { background: none; border: 0; box-shadow: none; transform: none; color: #fff; }
.v2 .side-archive__icon { display: none; }
.v2 .side-archive b { font-weight: 650; font-size: 1.05rem; }
.v2 .side-archive small { color: #8fa3ba; font-size: .82rem; }
.v2 .side-contact-card { padding: 14px 0 0 16px; border: 0; border-top: 1px solid rgba(255,255,255,.14); border-radius: 0; background: none; box-shadow: none; }
.v2 .side-mail { color: #fff; font-weight: 600; font-size: .92rem; }
.v2 .side-mail:hover { color: var(--orange); }
.v2 .side-addr { color: #a9bace; }
.v2 .side-social a { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.v2 .side-cta { box-shadow: none; margin-top: 4px; }
.v2 .side-links, .v2 .side-links a { color: #8fa3ba; }
.v2 .side-links a:hover, .v2 .side-links .text-link:hover { color: #fff; }
.v2 .side-menu a:focus-visible, .v2 .side-archive:focus-visible, .v2 .side-cta:focus-visible { outline-color: #fff; }
@media (max-width: 1100px) {
    .v2 .side-close { background: #fff; color: var(--navy); box-shadow: none; }
    .v2 .mobile-bar { box-shadow: none; border-bottom: 1px solid var(--line); }
}

/* --- testata home: titolo enorme in basso a sinistra, bordo a pendio ------ */
.v2 .hero { text-align: left; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slope)), 0 100%); background: var(--navy); }
.v2 .hero::after, .v2 .hero .ridge, .v2 .hero__logo { display: none; }
.v2 .hero__bg { animation: none; }
.v2 .hero__overlay { background: linear-gradient(90deg, rgba(17,32,59,.9) 0%, rgba(17,32,59,.62) 42%, rgba(17,32,59,.12) 100%), linear-gradient(180deg, transparent 55%, rgba(17,32,59,.75) 100%); }
.v2 .hero__inner { max-width: none; margin: 0; padding: clamp(96px, 16vh, 180px) clamp(22px, 5vw, 72px) 0; }
.v2 .hero h1 { font-weight: 800; font-size: clamp(3rem, 8vw, 6.6rem); line-height: .98; letter-spacing: -.025em; margin: 0 0 .28em; max-width: 10ch; text-shadow: none; text-wrap: balance; animation: v2rise .7s cubic-bezier(.16,1,.3,1) both; }
.v2 .hero p { margin: 0 0 28px; max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; color: #e9eff6; text-wrap: pretty; animation: none; }
.v2 .hero__cta { justify-content: flex-start; gap: 12px; animation: none; }
.v2 .hero__stats { justify-content: flex-start; gap: clamp(22px, 4vw, 48px); margin: 0; padding: 34px clamp(22px, 5vw, 72px) calc(var(--slope) + clamp(26px, 5vh, 54px)); animation: none; }
.v2 .hero__stats .stat { min-width: 0; padding: 0 0 0 14px; text-align: left; background: none; border: 0; border-left: 4px solid var(--orange); border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.v2 .hero__stats .stat b { font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; }
.v2 .hero__stats .stat span { display: block; margin-top: 4px; font-size: .92rem; font-weight: 500; color: #c9d6e4; }
@keyframes v2rise { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }

/* --- testate delle pagine interne ---------------------------------------- */
.v2 .page-header { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slope) * .6), 0 100%); background: var(--navy); }
.v2 .page-header::after, .v2 .page-header .ridge { display: none; }
.v2 .page-header__overlay { background: linear-gradient(90deg, rgba(17,32,59,.92) 0%, rgba(17,32,59,.66) 50%, rgba(17,32,59,.25) 100%); }
.v2 .page-header__inner { max-width: none; margin: 0; text-align: left; padding: clamp(84px, 15vh, 150px) clamp(22px, 5vw, 72px) calc(var(--slope) * .6 + clamp(30px, 5vh, 52px)); }
.v2 .page-header h1 { font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 .18em; text-shadow: none; max-width: 14ch; text-wrap: balance; }
.v2 .page-header p { margin: 0; max-width: 46ch; color: #dfe7f0; }

/* --- sezioni: titoli grandi a sinistra, fondi piatti --------------------- */
.v2 .wrap { padding-left: clamp(22px, 5vw, 72px); padding-right: clamp(22px, 5vw, 72px); max-width: 1320px; margin-left: 0; }
.v2 .section--soft, .v2.v2 .is-home #attivita { background: var(--snow); }
.v2 .section--blue { background: var(--snow-2); }
.v2 .section-head, .v2 .is-home .contact .section-head { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
.v2 .section-head h2, .v2 .is-home .section-head h2, .v2 .band-head h2, .v2 .prose-heading, .v2 .sponsor h2 { font-size: clamp(1.9rem, 3.3vw, 2.9rem); margin: 0 0 .3em; text-align: left; text-wrap: balance; }
.v2 .section-head p, .v2 .band-head__text > p:not(.band-kicker), .v2 .is-home .contact .section-head p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin-left: 0; margin-right: 0; text-wrap: pretty; }
.v2 .prose-wrap { margin-left: 0; max-width: 74ch; }
.v2 .prose-subtitle { text-align: left; margin-left: 0; }
.v2 .prose { line-height: 1.65; }
.v2 .prose h3, .v2 .prose h2.prose-sub { font-size: 1.4rem; }
.v2 .prose .lead { font-weight: 600; font-size: 1.25rem; line-height: 1.45; }
.v2 .band-season, .v2 .reg-season span { border: 0; border-radius: 0; background: var(--navy); color: #fff; padding: 3px 10px; font-size: .9rem; font-weight: 650; }
.v2 .home-alert, .v2 .program, .v2 .docs-card, .v2 .outing-empty, .v2 .pricing-note { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.v2 .home-alert { border-radius: 0; background: #fff; border: 0; border-left: 6px solid var(--alert-accent); }
.v2 .home-alert__icon { border-radius: 0; background: var(--alert-accent); box-shadow: none; }
.v2 .home-alert__action { border-radius: var(--r); box-shadow: none; font-weight: 700; font-size: .98rem; }

/* programma uscite e comunicazioni */
.v2 .program { border: 0; border-top: 5px solid var(--navy); border-radius: 0; padding: clamp(18px, 2.4vw, 28px) 0 0; background: none; }
.v2 .program .outing-empty { background: #fff; border-left: 4px solid var(--line); border-radius: 0; }
.v2 .wa-card { background: #0f9d52; border-radius: var(--r-lg); box-shadow: none; }
.v2 .wa-card::before, .v2 .wa-card .wa-glyph { display: none; }
.v2 .wa-card .wa-badge { background: none; padding: 0; font-weight: 650; font-size: .95rem; }
.v2 .wa-action { border-radius: var(--r); }
.v2 .docs-card { border: 0; border-top: 5px solid var(--navy); border-radius: 0; background: none; padding: 14px 0 0; }
.v2 .docs-card h2 { font-size: 1.3rem; margin: 0 0 6px; color: var(--ink); }
.v2 .docs-card a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.v2 .docs-card a:hover { background: none; transform: none; color: var(--orange-deep); }
.v2 .docs-card a .ico { display: none; }

/* notizie */
.v2 .news-col .news-label { font-size: 1rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.v2 .news-col .news-label::after { content: none; }
.v2 .news-feature { border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2 .news-feature::before { content: none; }
.v2 .news-feature:hover { transform: none; box-shadow: none; }
.v2 .news-feature:hover .media img { transform: none; }
.v2 .news-feature .media { background: var(--navy); border-radius: var(--r); }
.v2 .news-feature .media::after { content: none; }
.v2 .news-feature .body, .v2 .is-home .news-feature .body { padding: 16px 0 0; }
.v2 .news-feature .tag, .v2 .feature-pill { background: none; padding: 0; border-radius: 0; box-shadow: none; color: var(--orange-deep); font-size: .95rem; font-weight: 700; min-height: 0; }
.v2 .news-feature h3 { font-weight: 700; font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.12; margin: 6px 0 6px; }
.v2 .news-feature time { font-size: .92rem; font-weight: 500; }
.v2 .news-feature:hover h3 { color: var(--orange-deep); }
.v2 .news-item, .v2 .is-home .news-item { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14px 0; }
.v2 .news-item:hover { transform: none; box-shadow: none; border-color: var(--line); }
.v2 .news-item:hover h3 { color: var(--orange-deep); }
.v2 .news-item h3 { font-size: 1.12rem; }
.v2 .news-item .thumb { border-radius: var(--r); background: var(--navy); }
.v2 .news-cat__count { background: none; padding: 0; color: var(--muted); font-size: .92rem; }
.v2 .archive-row { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 14px 0; }
.v2 .archive-row:hover { transform: none; box-shadow: none; }

/* quote e prezzi: listino a righe, numeri grandi */
.v2 .pricing-grid, .v2 .is-home .pricing-grid { gap: 0; border-top: 5px solid var(--navy); }
.v2 .price-card, .v2 .is-home .price-card { background: none; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 18px 20px 16px 0; margin-left: 20px; }
.v2 .pricing-grid .price-card:first-child { margin-left: 0; }
.v2 .price-card::before { content: none; }
.v2 .price-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.v2 .price-card__head, .v2 .is-home .price-card__head { border: 0; padding: 0; margin: 0 0 14px; min-height: 0; }
.v2 .price-card h3 { font-size: 1.3rem; }
.v2 .price-card .age { font-size: .92rem; font-weight: 500; color: var(--muted); }
.v2 .price-card .price .amt, .v2 .is-home .price-card .price .amt { font-weight: 800; font-size: clamp(2.5rem, 3.8vw, 3.4rem); line-height: 1; color: var(--blue-900); }
.v2 .pricing-note { border: 0; border-radius: 0; background: none; padding: 18px 0 0; }
.v2 .pricing-note .txt b { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.v2 .pricing-note .txt li::before { background-color: transparent; }

/* sponsor: una griglia di loghi su bianco, senza sfondi sfocati */
.v2 .sponsor-card__bg { display: none; }
.v2 .sponsor .sponsor-card { background: #fff; border: 1px solid var(--line); border-radius: 0; box-shadow: none; margin: 0 -1px -1px 0; }
.v2 .sponsor-grid, .v2 .is-home .sponsor-grid { --sp-gap: 0px; justify-content: flex-start; margin-top: 0; }
.v2 .sponsor .sponsor-card--featured { border-top: 5px solid var(--navy); margin-bottom: 0; }
.v2 .sponsor h3 { color: var(--ink); font-size: 1.1rem; }
.v2 .sponsor p { color: var(--muted); }

/* squadra e galleria */
.v2 .team-section__head { text-align: left; margin-left: 0; }
.v2 .team-section__head::after, .v2 .team-group__title::after { display: none; }
.v2 .team-section__head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.v2 .team-section__head p { margin-left: 0; }
.v2 .team-group__title { text-align: left; }
.v2 .team-section--instructors { border-top-width: 1px; border-top-color: var(--line); }
.v2 .team-avatar, .v2 .team-section--instructors .team-avatar, .v2 .team-section--honorary .team-avatar { background: var(--blue-900); border-radius: 0; }
.v2 .team-section--instructors .team-avatar { background: var(--orange-deep); color: #fff; }
.v2 .gallery-tabs { justify-content: flex-start; gap: 8px; }
.v2 .gallery-tab { border-radius: var(--r); border-width: 2px; font-weight: 650; font-size: 1rem; }
.v2 .gallery-tab:hover { transform: none; }
.v2 .gallery-tab.is-active { background: var(--navy); border-color: var(--navy); box-shadow: none; }
.v2 .gallery-item { border-radius: var(--r); box-shadow: none; }
.v2 .gallery-more { text-align: left; }

/* moduli */
.v2 .contact { background: var(--navy); }
.v2 .contact::before { content: none; }
.v2 .contact-form { margin-left: 0; border-radius: var(--r-lg); box-shadow: none; }
.v2 .reg-form { margin-left: 0; }
.v2 .field label, .v2 .check-group legend { font-size: 1rem; font-weight: 650; }
.v2 .field input, .v2 .field textarea, .v2 .field select, .v2 .captcha input { background: #fff; border: 2px solid #c3d1e2; border-radius: var(--r); }
.v2 .field input:focus, .v2 .field textarea:focus, .v2 .field select:focus, .v2 .captcha input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px var(--orange); }
.v2 .captcha { border: 0; background: none; padding: 0; color: var(--body); }
.v2 .privacy-consent { border: 0; background: none; padding: 0; }
.v2 .error-actions { justify-content: flex-start; }

/* piè di pagina */
.v2 .site-footer { background: var(--navy-deep); }
.v2 .site-footer::before { content: none; }
.v2 .site-footer h4 { font-size: 1.02rem; }
.v2 .site-footer .brand b { font-weight: 700; }
.v2 .footer-social a { border-radius: var(--r); }
.v2 .footer-social a:hover { transform: none; }

@media (max-width: 760px) {
    .v2 .hero { min-height: 88vh; }
    .v2 .hero__inner { padding-top: 120px; }
    .v2 .price-card, .v2 .is-home .price-card { margin-left: 0; border-right: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .v2 .hero h1 { animation: none; } }

/* --- correzioni dopo la prima revisione ---------------------------------- */
/* titoli su fondi scuri */
.v2 .hero h1, .v2 .page-header h1, .v2 .contact .section-head h2, .v2 .wa-card h2, .v2 .site-footer h4 { color: #fff; }
.v2 .contact .section-head p, .v2 .is-home .contact .section-head p { color: #c9d6e4; }
/* griglia sponsor senza spazi: celle unite da un filo */
.v2 .sponsor-grid, .v2 .is-home .sponsor-grid { gap: 0; }
.v2 .sponsor-grid > .sponsor-card { flex-basis: calc(100% / var(--sp-cols)); margin: 0 0 -1px 0; border-left-width: 0; }
.v2 .sponsor-grid > .sponsor-card:nth-child(1), .v2 .sponsor .sponsor-card--featured { border-left-width: 1px; }
.v2 .sponsor-grid { border-left: 1px solid var(--line); }
.v2 .sponsor-grid > .sponsor-card:nth-child(1) { border-left-width: 0; }
/* elenco notizie laterale: righe compatte, miniatura piccola */
.v2 .news-grid .news-list { flex: 0 0 auto; }
.v2 .news-grid .news-list .news-item { flex: 0 0 auto; max-height: none; align-items: center; }
.v2 .news-grid .news-list .news-item .thumb { width: 112px; height: 84px; min-height: 0; background: var(--snow-2); }
.v2 .news-grid .news-list .news-item .thumb img { object-fit: cover; }
.v2 .news-list .news-item:last-child { border-bottom: 1px solid var(--line); }
/* tutto a sinistra, anche i blocchi che nel contenuto erano centrati */
.v2 .prose [style*="text-align:center"], .v2 .prose [style*="text-align: center"] { text-align: left !important; }
.v2 .reg-closed { margin-left: 0; text-align: left; border: 0; border-left: 4px solid var(--line); border-radius: 0; padding: 18px 20px; font-size: 1.05rem; }
/* il titolo della home può essere più grande sugli schermi larghi */
@media (min-width: 1500px) { .v2 .hero h1 { font-size: clamp(6.6rem, 7.4vw, 8.4rem); } }

/* Il triangolo lasciato dal taglio diagonale prende il colore della sezione che segue
   (che scivola sotto la testata), non il fondo della pagina. */
.v2 .hero, .v2 .page-header { position: relative; z-index: 1; }
.v2 .hero + * { margin-top: calc(var(--slope) * -1); padding-top: calc(var(--slope) + clamp(22px, 3vw, 40px)); }
.v2 .page-header + * { margin-top: calc(var(--slope) * -.6); padding-top: calc(var(--slope) * .6 + clamp(56px, 7vw, 100px)); }

/* scheda "in primo piano" orizzontale (pagina Attività): il testo sta accanto all'immagine, serve margine */
.v2 .news-feature--spotlight .body { padding: 6px 0 0 clamp(18px, 2.4vw, 32px); }
@media (max-width: 760px) { .v2 .news-feature--spotlight .body { padding: 16px 0 0; } }

/* --- barra laterale chiara, come sul sito originale ---------------------- */
.v2 .side-nav { background: var(--paper); color: var(--body); border-right: 1px solid var(--line); scrollbar-color: #c8d6e8 transparent; }
.v2 .side-brand { color: var(--blue-900); border-bottom-color: var(--line); }
.v2 .side-brand img { background: var(--snow); }
.v2 .side-brand b { color: var(--blue-900); }
.v2 .side-menu a { color: var(--ink); }
.v2 .side-menu a:hover, .v2 .side-menu a.is-active { color: var(--blue-700); }
.v2 .side-menu a.is-active { font-weight: 700; }
.v2 .side-archive { color: var(--ink); }
.v2 .side-archive:hover, .v2 .side-archive.is-active { color: var(--blue-700); }
.v2 .side-archive small { color: var(--muted); }
.v2 .side-contact-card { border-top-color: var(--line); }
.v2 .side-mail { color: var(--blue-700); }
.v2 .side-mail:hover { color: var(--orange-deep); }
.v2 .side-addr { color: var(--body); }
.v2 .side-social a { border-color: var(--line); color: var(--blue-700); }
.v2 .side-links, .v2 .side-links a { color: var(--muted); }
.v2 .side-links a:hover, .v2 .side-links .text-link:hover { color: var(--orange-deep); }
.v2 .side-menu a:focus-visible, .v2 .side-archive:focus-visible, .v2 .side-cta:focus-visible { outline-color: #c46800; }
@media (max-width: 1100px) { .v2 .side-close { background: var(--blue-900); color: #fff; } }
