/* Fogli Gemelli */
:root { --scuro: #3A4042; --oro: #F6B640; --oro-2: #C89C48; --chiaro: #E5E5E5; }
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: 91px; }
body { margin: 0; background: #E5E5E5; color: #3A4042; font: 400 16px/22px Oswald, "Arial Narrow", sans-serif; letter-spacing: 1px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 16px; }
h1, h3, h4 { font-family: "Six Caps", Oswald, sans-serif; font-weight: 400; letter-spacing: 2px; margin: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* barra fissa */
.barra-alta { position: fixed; top: 0; left: 0; right: 0; height: 91px; z-index: 9999; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.barra-logo img { height: 40px; width: auto; }
.menu-alto { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.menu-alto > li { position: relative; }
.menu-alto a { display: block; color: #FFF; text-decoration: none; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; padding: 20px; -webkit-transition: color .3s ease-out; transition: color .3s ease-out; }
.menu-alto a:hover, .menu-alto a[aria-current] { color: #F6B640; }
.voce-oro { margin-left: 10px; overflow: hidden; }
.voce-oro > a { color: #F6B640; position: relative; }
.voce-oro > a:before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: rgba(255,255,255,.25); transform: skewX(-20deg); animation: reflect 3s infinite; }
@keyframes reflect { 0% { left: -60%; } 60%, 100% { left: 130%; } }
.sotto-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 50%; width: 260px; margin-left: -130px; background: #000; opacity: 0; visibility: hidden; transition: all .3s ease-out; }
.con-sotto:hover .sotto-menu, .con-sotto:focus-within .sotto-menu { opacity: 1; visibility: visible; }
.sotto-menu a { padding: 10px 20px; text-transform: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; *zoom: 1; }
.burger i { display: block; height: 2px; background: #FFF; margin: 5px 0; }
.menu-tel { position: fixed; top: 60px; left: 0; right: 0; z-index: 2000; background: #000; padding: 10px 20px 20px; display: flex; flex-direction: column; }
.menu-tel[hidden] { display: none; }
.menu-tel a { color: #FFF; text-decoration: none; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #F6B640; outline-offset: 2px; }

/* titoli con la riga sotto */
h3 { display: inline-block; position: relative; font-size: 60px; line-height: 60px; margin: 60px 0; }
h3:after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: currentColor; }
.wrapper { max-width: 1170px; margin: 0 auto; padding: 60px 0; text-align: center; }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; color: #FFF; background: #000; }
.hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; background: #000; opacity: .6; }
.hero article { position: absolute; top: 48%; left: 25%; width: 50%; transform: translateY(-50%); text-align: center; z-index: 2; }
.hero h1 { font-size: 120px; line-height: 104px; }
.riga-80 { display: block; width: 80px; height: 1px; background: #FFF; margin: 23px auto; }
.hero article p { font-size: 18px; line-height: 28px; padding: 0 12%; font-weight: 200; }
.cuneo { position: absolute; width: 0; height: 0; z-index: 1; pointer-events: none; }
.cuneo-1 { right: -135px; bottom: 0; border-bottom: 380px solid rgba(255,255,255,.5); border-left: 560px solid transparent; }
.cuneo-2 { right: -135px; bottom: 0; border-bottom: 220px solid #FFF; border-left: 520px solid transparent; }
.address_list { position: absolute; right: 40px; bottom: 30px; z-index: 3; text-align: right; font-style: normal; font-size: 14px; line-height: 22px; font-weight: 200; color: #3A4042; }
.scroll-giu { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3; color: #C89C48; font-size: 14px; font-style: italic; text-transform: uppercase; text-decoration: none; animation: float 2s ease-in-out infinite; }
@keyframes float { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 18px; } }

/* bottone nero con angoli d'oro */
.bloc-cta { margin-top: 26px; }
.draw-border { position: relative; display: inline-block; background: #000; opacity: .8; color: #F6B640; border: 0; border-radius: 5px; padding: 2px 20px 5px; font: 400 24px Oswald, sans-serif; letter-spacing: 2px; text-decoration: none; cursor: pointer; min-height: 44px; line-height: 40px; }
.draw-border::before, .draw-border::after { content: ""; position: absolute; width: 0; height: 0; bottom: 0; right: 0; border: 2px solid transparent; border-radius: 5px; transition: width .25s, height .25s, border-color 0s .25s; }
.draw-border:hover::before { width: 100%; height: 100%; border-bottom-color: #F6B640; border-left-color: #F6B640; transition: border-color 0s, width .25s, height .25s .25s; }
.draw-border:hover::after { width: 100%; height: 100%; border-top-color: #F6B640; border-right-color: #F6B640; transition: border-color 0s .5s, width .25s .5s, height .25s .75s; }

/* fascia chiara con foto e testo */
.banda-chiara { position: relative; background: #E5E5E5; overflow: hidden; }
.due-colonne { display: flex; align-items: center; text-align: left; }
.due-colonne > img { width: 40%; aspect-ratio: 8 / 9; object-fit: cover; }
.testo-colonna { flex: 1; padding: 0 13% 0 5%; }
.testo-colonna h4 { font-size: 35px; line-height: 35px; margin-bottom: 18px; }
.cuneo-3 { top: 0; right: 0; border-top: 300px solid #FFF; border-left: 500px solid transparent; }

/* tabellone dei numeri */
.banda-foto { position: relative; color: #FFF; background: #283336 url("https://images.unsplash.com/photo-1562240020-ce31ccb0fa7d?auto=format&fit=crop&fm=webp&w=1600&h=900&q=60") center / cover; }
.banda-foto:before { content: ""; position: absolute; inset: 0; background: rgba(40,51,54,.88); }
.banda-foto .wrapper { position: relative; padding-bottom: 95px; }
.tabellone { display: flex; justify-content: space-between; text-align: left; }
.tabellone ul { list-style: none; margin: 0; padding: 0; width: 30%; }
.tabellone .tit { display: block; font-family: "Six Caps", Oswald, sans-serif; letter-spacing: 2px; font-size: 35px; line-height: 35px; margin-bottom: 18px; }
.tabellone .tit.secondo { margin-top: 30px; }
.tabellone li { position: relative; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tabellone li.tit:after { display: none; }
.tabellone li:after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: rgba(255,255,255,.2); }
.tabellone li span:last-child { font-weight: 200; text-align: right; }

/* sabati */
.sotto-titolo { margin-top: -20px; }
.calendario { display: flex; justify-content: center; gap: 24px; margin-top: 30px; }
.mese { width: 30%; border-top: 1px solid rgba(0,0,0,.2); padding-top: 18px; }
.mese h4 { font-size: 35px; line-height: 35px; }
.giorni { font-size: 22px; color: #000; margin: 10px 0 4px; }
.nota-mese { font-weight: 200; font-size: 14px; }
.mese-pieno .giorni { color: #8A5B00; }

/* galleria */
.banda-galleria .wrapper { padding: 60px 0 80px; }
.griglia-foto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 840px; margin: 0 auto; width: 80%; }
.griglia-foto figure { margin: 0; position: relative; }
.griglia-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.griglia-foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: rgba(0,0,0,.6); color: #FFF; font-size: 14px; text-align: left; }

/* striscia dei documenti */
.banda-scura { background: #3A4042; color: #FFF; }
.striscia { position: relative; width: 80%; margin: 0 auto 60px; }
.striscia-pista { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.striscia-pista::-webkit-scrollbar { display: none; }
.tessera { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: #4A5153; padding: 34px 20px; text-align: center; }
.tessera b { display: block; font-weight: 400; font-size: 20px; margin-bottom: 8px; text-transform: uppercase; }
.tessera span { font-weight: 200; }
.freccia { position: absolute; top: 50%; width: 70px; height: 70px; margin-top: -35px; border: 0; background: none; cursor: pointer; }
.freccia:before { content: ""; position: absolute; top: 24px; width: 20px; height: 20px; border-top: 1px solid #FFF; border-left: 1px solid #FFF; }
.freccia-sx { left: -80px; }
.freccia-sx:before { left: 28px; transform: rotate(-45deg); }
.freccia-dx { right: -80px; }
.freccia-dx:before { right: 28px; transform: rotate(135deg); }

/* frasi */
.banda-frasi { background: #000 url("https://images.unsplash.com/photo-1585896452649-6ede5e126800?auto=format&fit=crop&fm=webp&w=1600&h=800&q=60") center / cover; color: #FFF; position: relative; }
.banda-frasi:before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.banda-frasi .wrapper { position: relative; padding: 76px 30px; }
.frasi-pista { display: flex; gap: 30px; text-align: left; }
.frase { flex: 1 1 0; }
.frase-nome { text-transform: uppercase; margin-bottom: 8px; }
.frase p:last-child { font-weight: 200; }

/* domande */
.due-domande { display: flex; gap: 60px; text-align: left; }
.due-domande > div { flex: 1 1 0; }
.due-domande h4 { font-size: 35px; line-height: 35px; margin: 20px 0 8px; }
.due-domande p { font-weight: 200; padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,.2); }

/* modulo */
.modulo-corto { max-width: 560px; margin: 0 auto; text-align: left; }
.campo { margin: 0 0 18px; position: relative; }
.campo label { display: block; font-size: 14px; text-transform: uppercase; margin-bottom: 6px; }
.campo input[type=text], .campo input[type=email], .campo select { width: 100%; height: 48px; padding: 8px 40px 8px 12px; border: 0; border-bottom: 1px solid #FFF; background: rgba(255,255,255,.06); color: #FFF; font: 400 16px Oswald, sans-serif; letter-spacing: 1px; }
.campo select option { color: #000; }
.campo.giusto:after { content: "✓"; position: absolute; right: 12px; top: 34px; color: #F6B640; }
.campo.sbagliato input, .campo.sbagliato select { border-bottom-color: #F6B640; }
.err { display: block; color: #F6B640; font-size: 14px; min-height: 18px; margin-top: 4px; }
.campo-ok { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; }
.campo-ok input { width: 18px; height: 18px; margin: 2px 0 0; }
.campo-ok label { text-transform: none; font-size: 15px; }
.campo-ok .err { grid-column: 2; }
.io { position: absolute; left: -9000px; }
.modulo-esito { margin-top: 18px; min-height: 22px; text-align: center; }
.modulo-corto .bloc-cta { text-align: center; }
.modulo-corto button[disabled] { cursor: wait; opacity: .5; }

/* dove */
.banda-dove { position: relative; height: 400px; background: #DDD; overflow: hidden; }
.banda-dove img { width: 100%; height: 100%; object-fit: cover; }
.dove-testo { position: absolute; left: 40px; bottom: 30px; background: #000; color: #FFF; padding: 18px 24px; max-width: 460px; }
.dove-testo h4 { font-size: 35px; line-height: 35px; margin-bottom: 8px; }
.dove-testo p { margin: 0; font-weight: 200; }

/* piede */
.piede-scuro { background: #3A4042; color: #FFF; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 40px; }
.piede-scuro p { margin: 0; font-size: 14px; line-height: 1.2; }
.piede-nome { font-family: "Six Caps", Oswald, sans-serif; font-size: 36px !important; }
.piede-scuro a, .riapri { color: #FFFfff !important; text-decoration: none; display: inline-block; padding: 4px 0; }
.riapri { background: none; border: 0; font: inherit; letter-spacing: 1px; cursor: pointer; text-decoration: underline; }

/* cookie */
.fascia-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000; background: #000; color: #FFF; padding: 16px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; font-size: 14px; }
.fascia-cookie[hidden] { display: none; }
.fascia-cookie p { margin: 0; flex: 1 1 420px; }
.fascia-btn { display: flex; flex-wrap: wrap; gap: 10px; }
.fascia-btn button { background: none; border: 1px solid #FFF; color: #FFF; padding: 10px 16px; font: 400 14px Oswald, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; min-height: 44px; }
.fascia-btn .oro { border-color: #F6B640; color: #F6B640; }

@media (max-width: 1395px) { .menu-alto a { font-size: 12px; padding: 10px; } }
@media (max-width: 1200px) {
    .barra-alta { height: 60px; padding: 0 16px; }
    .nav-wrapper { display: none; }
    .burger { display: block; }
    .wrapper { width: 70%; }
    .cuneo-1 { border-bottom-width: 260px; border-left-width: 420px; opacity: .5; }
    .due-colonne { flex-direction: column; }
    .due-colonne > img { width: 65%; max-width: 500px; margin-bottom: 30px; }
    .testo-colonna { padding: 0 10%; }
    .tabellone { flex-direction: column; align-items: center; gap: 20px; }
    .tabellone ul { width: 80%; }
    .hero article { left: 10%; width: 80%; }
}
@media (max-width: 768px) {
    .wrapper { width: 90%; }
    .cuneo, .address_list { display: none; }
    h3 { font-size: 40px; line-height: 40px; margin: 30px 0; }
    .hero h1 { font-size: 72px; line-height: 66px; }
    .calendario { flex-direction: column; align-items: center; }
    .mese { width: 100%; }
    .griglia-foto { width: 100%; grid-template-columns: 1fr 1fr; }
    .striscia { width: 100%; }
    .tessera { flex-basis: 85%; }
    .freccia { display: none; }
    .frasi-pista { flex-direction: column; }
    .due-domande { flex-direction: column; gap: 0; }
    .piede-scuro { flex-direction: column; text-align: center; padding: 25px 16px; }
    .dove-testo { left: 16px; right: 16px; }
}
@media (max-width: 720px) { .hero article p { font-size: 15px; line-height: 24px; padding: 0; } }
@media (max-width: 500px) { .draw-border { font-size: 18px !important; } .scroll-giu { display: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* dentro: testate a foto e documenti */
.testa-pagina { position: relative; height: 400px; margin-top: 91px; background: #000; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.testa-pagina > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cuneo-4 { top: 0; right: 0; border-top: 260px solid rgba(255,255,255,.5); border-left: 480px solid transparent; }
.titolo-pagina { position: relative; z-index: 2; color: #FFF; font-size: 60px; line-height: 60px; margin-bottom: 70px; display: inline-block; text-align: center; padding: 0 20px; }
.titolo-pagina:after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -10px; height: 2px; background: #FFF; }
.testo-largo { max-width: 840px; margin: 40px auto 0; text-align: left; }
.testo-largo h4, .legale h4 { font-size: 35px; line-height: 35px; margin: 30px 0 12px; }
.attacco { font-size: 22px; line-height: 32px; font-weight: 200; }
.nota-pagina { border-left: 2px solid #3A4042; padding-left: 16px; font-weight: 200; margin-top: 30px; }
.foto-pagina { margin: 30px 0; }
.foto-pagina img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; }
.foto-pagina figcaption { font-size: 14px; text-transform: uppercase; margin-top: 8px; }
.sotto-titolo-chiaro { max-width: 560px; margin: 0 auto 30px; font-weight: 200; }
.banda-legale .wrapper { text-align: left; padding-top: 30px; }
.legale p { border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 16px; }
.legale h3 { margin-top: 120px; }
@media (max-width: 768px) {
    .testa-pagina { margin-top: 60px; height: 300px; }
    .titolo-pagina { font-size: 40px; line-height: 40px; margin-bottom: 40px; }
    .legale h3 { margin-top: 80px; }
}

/* ritmo: ogni fascia ha il suo respiro */
#corso .wrapper { padding: 50px 0 20px; }
.banda-sabati .wrapper { padding: 76px 0 60px; }
#chiarimenti .wrapper { padding: 70px 0 60px; }
.banda-modulo .wrapper { padding: 60px 0 90px; }
.hero h1 { font-size: clamp(4.5rem, 2rem + 6vw, 7.5rem); text-wrap: balance; }
.testo-colonna p, .testo-largo p { text-wrap: pretty; font-size: 1.05em; }
.tessera b { font-size: 1.25rem; }
.campo label { font-size: .875rem; }
.address_list { color: #F2F2F2; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
