/* ═══════════════════════════════════════════════════════════
       VARIABILI CSS — PALETTE COLORI
       Definite una volta sola, usate ovunque con var(--nome)
       Per cambiare un colore basta modificarlo qui.
    ══════════════════════════════════════════════════════════════ */
    :root {
      --blu-notte:   #001a4d;   /* Blu scuro — fondali, navbar scrolled */
      --blu-vivo:    #0033cc;   /* Blu elettrico — accenti, link */
      --viola:       #6600cc;   /* Viola — elementi interattivi */
      --rosa:        #ff00ff;   /* Magenta/Rosa — highlights, glow */
      --arancione:   #ff6600;   /* Arancione — call-to-action caldi */
      --salvia:      #66cc99;   /* Verde salvia — etichette, accenti calm */
      --bianco:      #ffffff;
      --nero-soft:   #1a1a2e;   /* Quasi-nero con tocco di blu */

      /* Colori derivati utili */
      --testo-chiaro:     rgba(255,255,255,0.88);
      --testo-medio:      rgba(255,255,255,0.55);
      --overlay-scuro:    rgba(0, 10, 40, 0.70);
      --carta:            #f5f4f0;   /* Bianco caldo per sezioni chiare */
    }

    /* ═══════════════════════════════════════════════════════════
       RESET & BASE
       Azzera i margini di default del browser, imposta box-sizing
    ══════════════════════════════════════════════════════════════ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;   /* Scorrimento fluido tra sezioni */
      font-size: 16px;
    }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bianco);
      color: var(--nero-soft);
      overflow-x: hidden;        /* Evita scroll orizzontale indesiderato */
      line-height: 1.6;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* Classe utility: nasconde visivamente ma resta accessibile agli screen reader */
    .sr-only {
      position: absolute;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      border: 0;
    }


    /* ══════════════════════════════════════════════════════════
       1. HEADER / NAVBAR STICKY
       ▸ Parte trasparente sopra la hero
       ▸ Diventa bianco/opaco quando si scrolla (classe .scrolled
         aggiunta via JavaScript)
    ══════════════════════════════════════════════════════════ */
    #header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5vw;
      height: 72px;
      /* Transizione fluida tra stato trasparente e scrolled */
      transition: background 0.4s ease, box-shadow 0.4s ease;
    }

    /* Stato scrolled: sfondo bianco semitrasparente con blur */
    #header.scrolled {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 rgba(0, 26, 77, 0.10);
    }

    /* ── LOGO ── */
    .logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.55rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--bianco);
      transition: color 0.4s ease;
    }

    #header.scrolled .logo {
      color: var(--blu-notte);
    }

    /* ── LOGO IMMAGINE ── */
    .header-logo-img {
      height: 40px;
      width: auto;
      object-fit: contain;
      display: block;
    }

    /* ── MENU DESKTOP ── */
    .nav-links {
      display: flex;
      list-style: none;
      gap: 2.5rem;
    }

    .nav-links a {
      font-size: 0.82rem;
      font-weight: 400;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--testo-chiaro);
      position: relative;
      padding-bottom: 4px;
      transition: color 0.3s ease;
    }

    /* Sottolineatura animata al hover */
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 1px;
      background: var(--salvia);
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after,
    .nav-links a:focus-visible::after {
      width: 100%;
    }

    .nav-links a:hover {
      color: var(--bianco);
    }

    /* Quando header è scrolled, link diventano scuri */
    #header.scrolled .nav-links a {
      color: var(--nero-soft);
    }

    #header.scrolled .nav-links a:hover {
      color: var(--viola);
    }

    #header.scrolled .nav-links a::after {
      background: var(--viola);
    }

    /* ── HAMBURGER MOBILE (visibile solo su schermi piccoli) ── */
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 1001;
    }

    .menu-toggle span {
      display: block;
      width: 26px; height: 2px;
      background: var(--bianco);
      border-radius: 2px;
      transition: background 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
    }

    #header.scrolled .menu-toggle span {
      background: var(--nero-soft);
    }

    /* Animazione hamburger → X quando menu aperto */
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── SELETTORE LINGUA ── */
    .language-selector {
      display: flex;
      gap: 10px;
      align-items: center;
      margin-left: auto;
    }

    .lang-btn {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 6px 12px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 6px;
      text-decoration: none;
      color: var(--testo-chiaro);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.05em;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .lang-btn:hover {
      border-color: rgba(255, 255, 255, 0.7);
      background: rgba(255, 255, 255, 0.1);
    }

    .lang-btn.active {
      border-color: rgba(255, 255, 255, 0.8);
      background: rgba(255, 255, 255, 0.15);
      color: var(--bianco);
    }

    #header.scrolled .lang-btn {
      border-color: rgba(102, 51, 153, 0.3);
      color: var(--nero-soft);
    }

    #header.scrolled .lang-btn:hover {
      border-color: #6633cc;
      background: rgba(102, 51, 153, 0.1);
    }

    #header.scrolled .lang-btn.active {
      border-color: #6633cc;
      background: rgba(102, 51, 153, 0.15);
      color: #6633cc;
    }

    .lang-btn .flag {
      font-size: 16px;
      line-height: 1;
    }


    /* ══════════════════════════════════════════════════════════
       2. HERO SECTION
       ▸ Altezza intera viewport (100vh)
       ▸ Immagine di sfondo con overlay sfumato
       ▸ Testo centrato-sinistra in basso
    ══════════════════════════════════════════════════════════ */
    #hero {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 600px;
      overflow: hidden;
      display: flex;
      align-items: flex-end;          /* Contenuto ancorato in basso */
    }

    /* ── SFONDO HERO ──
       Usa sfondo.png se esiste, altrimenti un gradiente psichedelico
       come fallback visivo
    ── */
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('../images/sfondo.png');
      background-size: cover;
      background-position: center 25%;
      background-color: var(--nero-soft);   /* Colore mentre l'immagine carica */
      /* Lieve animazione "respiro" per dare vita all'immagine */
      animation: heroBreathe 12s ease-in-out infinite alternate;
    }

    @keyframes heroBreathe {
      from { transform: scale(1.00); filter: brightness(0.60) saturate(1.20); }
      to   { transform: scale(1.04); filter: brightness(0.68) saturate(1.35); }
    }

    /* ── OVERLAY GRADIENTE ──
       Strato scuro semitrasparente sopra l'immagine:
       - Sinistra/basso più scuro → testo leggibile
       - Destra/alto più trasparente → lascia vedere l'immagine
    ── */
    .hero-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right,
          rgba(0, 10, 40, 0.75) 0%,
          rgba(0, 10, 40, 0.20) 65%,
          rgba(0, 10, 40, 0.35) 100%
        ),
        linear-gradient(to top,
          rgba(0, 10, 40, 0.90) 0%,
          rgba(0, 10, 40, 0.00) 55%
        );
    }

    /* ── CONTENUTO HERO ── */
    .hero-content {
      position: relative;
      z-index: 2;
      padding: 0 5vw 9vh;
      max-width: 680px;
    }

    /* Etichetta piccola sopra il titolo */
    .hero-tag {
      display: inline-block;
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--salvia);
      border: 1px solid rgba(102, 204, 153, 0.45);
      padding: 6px 16px;
      border-radius: 40px;
      margin-bottom: 1.6rem;
      animation: fadeUp 0.9s ease 0.3s both;
    }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.8rem, 5vw, 3rem);
      font-weight: 300;
      line-height: 1.08;
      color: var(--bianco);
      margin-bottom: 1.4rem;
      animation: fadeUp 0.9s ease 0.5s both;
    }

    /* La parola in corsivo colorata nel titolo */
    .hero-title em {
      font-style: italic;
      color: rgba(180, 120, 255, 0.9);  /* Viola chiaro */
    }

    .hero-subtitle {
      font-size: 1.05rem;
      font-weight: 300;
      color: rgba(255, 255, 255, 0.80);
      line-height: 1.75;
      max-width: 460px;
      animation: fadeUp 0.9s ease 0.7s both;
    }

    /* Bottone call-to-action nella hero */
    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 2.2rem;
      padding: 13px 32px;
      background: rgba(102, 0, 204, 0.28);
      border: 1px solid rgba(180, 120, 255, 0.55);
      color: var(--bianco);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border-radius: 50px;
      backdrop-filter: blur(8px);
      cursor: pointer;
      transition: background 0.3s, border-color 0.3s, transform 0.3s;
      animation: fadeUp 0.9s ease 0.9s both;
    }

    .hero-cta:hover {
      background: rgba(102, 0, 204, 0.55);
      border-color: rgba(180, 120, 255, 0.85);
      transform: translateY(-3px);
    }

    /* Freccia interna al bottone */
    .hero-cta svg {
      transition: transform 0.3s ease;
    }
    .hero-cta:hover svg {
      transform: translateX(4px);
    }

    /* ── INDICATORE SCROLL (barra verticale in basso a destra) ── */
    .scroll-hint {
      position: absolute;
      bottom: 2.5rem; right: 5vw;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      z-index: 2;
      animation: fadeUp 0.9s ease 1.2s both;
    }

    .scroll-hint-text {
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      writing-mode: vertical-rl;  /* Testo verticale */
    }

    .scroll-line {
      width: 1px;
      height: 52px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
      animation: scrollPulse 2.2s ease-in-out infinite;
    }

    @keyframes scrollPulse {
      0%, 100% { transform: scaleY(1);   opacity: 0.5; }
      50%       { transform: scaleY(0.4); opacity: 1;   }
    }

    /* Credit fotografico — sovrapposto in basso a destra */
    .hero-credit {
      position: absolute;
      bottom: 20px;
      right: 20px;
      font-size: 0.75rem;
      font-style: italic;
      color: rgba(255, 255, 255, 0.8);
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
      z-index: 3;
      pointer-events: none;
    }

    /* ── ANIMAZIONE FADE-UP riutilizzabile ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0);    }
    }


    /* ══════════════════════════════════════════════════════════
       3. SEZIONE THE PEOPLE'S ARTIST
    ══════════════════════════════════════════════════════════ */

    #peoples-artist {
      padding: 60px 40px;
      background: linear-gradient(135deg, rgba(102, 51, 153, 0.1) 0%, rgba(51, 102, 204, 0.08) 100%);
      border-top: 1px solid rgba(102, 51, 153, 0.2);
      border-bottom: 1px solid rgba(102, 51, 153, 0.2);
      position: relative;
      overflow: hidden;
    }

    .peoples-artist-container {
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .peoples-artist-content {
      flex: 1;
      z-index: 2;
    }

    .peoples-artist-label {
      display: inline-block;
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #6633cc;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .peoples-artist-title {
      font-size: 2.5rem;
      font-family: 'Cormorant Garamond', serif;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 16px;
      color: #001a4d;
    }

    .peoples-artist-desc {
      font-size: 16px;
      line-height: 1.6;
      color: #333;
      margin-bottom: 24px;
      max-width: 500px;
    }

    .peoples-artist-btn {
      display: inline-block;
      padding: 14px 32px;
      background: linear-gradient(135deg, #6633cc 0%, #0033cc 100%);
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 15px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(102, 51, 153, 0.2);
      cursor: pointer;
      border: none;
    }

    .peoples-artist-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(102, 51, 153, 0.35);
      background: linear-gradient(135deg, #7744dd 0%, #1144dd 100%);
    }

    .peoples-artist-visual {
      flex: 1;
      min-height: 400px;
      background: linear-gradient(135deg, rgba(102, 51, 153, 0.2) 0%, rgba(51, 102, 204, 0.15) 100%);
      border-radius: 12px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
      text-decoration: none;
    }

    .peoples-artist-visual:hover {
      box-shadow: 0 8px 30px rgba(102, 51, 153, 0.25);
      transform: translateY(-5px);
    }

    .peoples-artist-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 12px;
      transition: transform 0.3s ease;
      padding: 20px;
      cursor: pointer;
    }

    .peoples-artist-visual:hover .peoples-artist-img {
      transform: scale(1.02);
    }

    .peoples-artist-visual::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle, rgba(102, 51, 153, 0.1) 0%, transparent 70%);
      pointer-events: none;
      z-index: 1;
      border-radius: 12px;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1);   opacity: 0.5; }
      50%       { transform: scale(1.1); opacity: 0.8; }
    }


    /* ══════════════════════════════════════════════════════════
       4. SEZIONE CITAZIONE — MASSIMO FAGIOLI
       Design minimalista: sfondo chiaro, testo centrato,
       animazione reveal-on-scroll
    ══════════════════════════════════════════════════════════ */
    #citazione {
      padding: 110px 5vw;
      background: var(--carta);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    /* Alone viola decorativo sullo sfondo */
    #citazione::before {
      content: '';
      position: absolute;
      top: -100px; left: 50%;
      transform: translateX(-50%);
      width: 700px; height: 700px;
      border-radius: 50%;
      background: radial-gradient(ellipse,
        rgba(102, 0, 204, 0.06) 0%,
        transparent 70%
      );
      pointer-events: none;
    }

    .citazione-label {
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--salvia);
      margin-bottom: 2.5rem;
    }

    /* Titolo della sezione — animato al reveal */
    .citazione-intro {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.6rem, 3.5vw, 2.8rem);
      font-weight: 300;
      color: var(--blu-notte);
      line-height: 1.2;
      margin-bottom: 2.8rem;
      max-width: 680px;
      /* Stato iniziale: invisibile e traslato in basso */
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Classe aggiunta da JS quando l'elemento entra nel viewport */
    .citazione-intro.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Linea decorativa tra titolo e testo */
    .citazione-divider {
      width: 50px;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--viola), transparent);
      margin-bottom: 2.8rem;
    }

    /* Il testo della citazione vera e propria */
    .citazione-testo {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.15rem, 2.2vw, 1.60rem);
      font-style: italic;
      font-weight: 300;
      line-height: 1.85;
      color: var(--nero-soft);
      max-width: 700px;
      position: relative;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
    }

    .citazione-testo.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Virgolette decorative giganti */
    .citazione-testo::before {
      content: '\201C';  /* " apertura */
      font-size: 5.5rem;
      line-height: 0;
      vertical-align: -1.8rem;
      color: rgba(102, 0, 204, 0.15);
      font-family: 'Cormorant Garamond', serif;
      margin-right: 0.05em;
    }

    .citazione-autore {
      margin-top: 2.5rem;
      font-size: 0.78rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(26, 26, 46, 0.55);
    }

    .citazione-autore strong {
      color: var(--viola);
      font-weight: 500;
    }

    .citazione-img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
      box-shadow: 0 4px 24px rgba(26, 26, 46, 0.12);
      cursor: pointer;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    #citazione a:hover .citazione-img {
      opacity: 0.85;
      transform: scale(1.02);
    }

    .citazione-desc {
      margin-top: 20px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
      font-family: 'DM Sans', sans-serif;
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.6;
      color: rgba(26, 26, 46, 0.65);
    }


    /* ══════════════════════════════════════════════════════════
       4. SEZIONE VIDEO — "GUARDAMI"
       ▸ Background gradiente scuro (nero-soft → blu-notte)
       ▸ Testo centrato + bottone che apre YouTube in nuova scheda
       ▸ Fade-in al caricamento, hover sul bottone
    ══════════════════════════════════════════════════════════ */
    #video-guardami {
      padding: 90px 40px;
      background: linear-gradient(
        160deg,
        var(--nero-soft) 0%,
        var(--blu-notte) 100%
      );
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 2rem;
      /* Parte invisibile: l'animazione la porta a opacity 1 */
      opacity: 0;
      animation: guardamiFadeIn 1s ease 0.2s forwards;
    }

    /* La sezione scivola su dal basso mentre appare */
    @keyframes guardamiFadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0);    }
    }

    /* ── ETICHETTA PICCOLA ── */
    .guardami-label {
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--salvia);
    }

    /* ── TITOLO PRINCIPALE ── */
    .guardami-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.6rem, 6vw, 4.5rem);
      font-weight: 300;
      color: var(--bianco);
      letter-spacing: 0.04em;
      line-height: 1.08;
    }

    /* Sottolineatura decorativa: linea viola centrata sotto la parola */
    .guardami-title span {
      position: relative;
      display: inline-block;
    }

    .guardami-title span::after {
      content: '';
      position: absolute;
      bottom: -8px; left: 10%; right: 10%;   /* Non va fino ai bordi */
      height: 1px;
      background: linear-gradient(
        to right,
        transparent,
        var(--viola),
        transparent
      );
    }

    /* ── TESTO DESCRITTIVO ── */
    .guardami-desc {
      font-size: 1.05rem;
      font-weight: 300;
      color: rgba(255, 255, 255, 0.62);
      line-height: 1.8;
      max-width: 520px;      /* Limita la larghezza per la leggibilità */
      margin-top: 0.4rem;
    }

    /* ── BOTTONE "GUARDA IL VIDEO" ──
       È un tag <a> stilizzato come bottone.
       target="_blank" apre YouTube in una nuova scheda.
    ── */
    .guardami-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-top: 0.8rem;
      padding: 15px 38px;
      border: none;      /* Reset stile default <button> */
      cursor: pointer;
      /* Sfondo con gradiente viola → blu vivo */
      background: linear-gradient(135deg, var(--viola) 0%, var(--blu-vivo) 100%);
      color: var(--bianco);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 12px;
      /* Ombra viola sottile a riposo */
      box-shadow: 0 6px 28px rgba(102, 0, 204, 0.30);
      transition:
        transform    0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow   0.3s ease,
        background   0.3s ease;
    }

    /* Icona play dentro il bottone */
    .guardami-btn svg {
      flex-shrink: 0;
      transition: transform 0.3s ease;
    }

    /* Hover: si alza, ombra più intensa, icona si sposta leggermente */
    .guardami-btn:hover {
      transform: translateY(-4px) scale(1.04);
      box-shadow: 0 14px 40px rgba(102, 0, 204, 0.50);
      /* Il gradiente vira più verso il rosa sul hover */
      background: linear-gradient(135deg, var(--rosa) 0%, var(--viola) 100%);
    }

    .guardami-btn:hover svg {
      transform: scale(1.15);
    }

    /* Focus visibile per accessibilità da tastiera */
    .guardami-btn:focus-visible {
      outline: 2px solid var(--salvia);
      outline-offset: 4px;
    }

    /* Nota discreta sotto il bottone */
    .guardami-note {
      font-size: 0.76rem;
      color: rgba(255, 255, 255, 0.28);
      letter-spacing: 0.06em;
      font-style: italic;
      margin-top: -0.4rem;
    }


    /* ══════════════════════════════════════════════════════════
       5. GALLERY SLIDER
       ▸ Sfondo scuro (nero-soft)
       ▸ 4 card con immagine placeholder, titolo, bottone play
       ▸ Navigazione con frecce Prev / Next
       ▸ Overflow hidden → le card scorrono come nastro
    ══════════════════════════════════════════════════════════ */
    #gallery {
      padding: 100px 0 120px;
      background: var(--nero-soft);
      overflow: hidden;
    }

    /* Intestazione della galleria: titolo a sinistra, frecce a destra */
    .gallery-header {
      padding: 0 5vw;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 3rem;
    }

    .gallery-label {
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--salvia);
      margin-bottom: 0.9rem;
    }

    .gallery-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.7rem, 3.5vw, 2.8rem);
      font-weight: 300;
      color: var(--bianco);
      line-height: 1.15;
    }

    /* ── FRECCE DI NAVIGAZIONE ── */
    .gallery-nav {
      display: flex;
      gap: 12px;
      flex-shrink: 0;
    }

    .nav-btn {
      width: 48px; height: 48px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.20);
      background: transparent;
      color: var(--bianco);
      font-size: 1.1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s, border-color 0.3s, transform 0.2s;
    }

    .nav-btn:hover:not(:disabled) {
      background: rgba(102, 0, 204, 0.35);
      border-color: rgba(180, 120, 255, 0.7);
      transform: scale(1.05);
    }

    /* Freccia disabilitata quando si è all'inizio/fine */
    .nav-btn:disabled {
      opacity: 0.25;
      cursor: default;
    }

    /* ── SLIDER (binario + carrello) ──
       Il wrapper nasconde l'overflow.
       Il track (carrello) si muove via transform: translateX()
    ── */
    .carousel-viewport {
      overflow: hidden;
      padding: 0 5vw;
    }

    .carousel-track {
      display: flex;
      gap: 24px;
      /* Transizione fluida del nastro */
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ── SINGOLA CARD OPERA ── */
    .artwork-card {
      flex: 0 0 calc(25% - 18px);   /* 4 card visibili su desktop */
      min-width: 240px;
      border-radius: 12px;
      overflow: hidden;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      position: relative;
      transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

    .artwork-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 50px rgba(0,0,0,0.50);
    }

    /* ── PLACEHOLDER IMMAGINE (gradiente colorato) ──
       Finché non hai foto reali, ogni opera ha un gradiente unico.
       Sostituisci background con background-image: url('opera1.jpg')
    ── */
    .card-image {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4;          /* Proporzione verticale, come un quadro */
      overflow: hidden;
    }

    /* I colori di ogni placeholder sono definiti inline nel HTML
       tramite la variabile CSS --grad1 e --grad2 */
    .card-placeholder {
      width: 100%; height: 100%;
      background: linear-gradient(135deg, var(--grad1), var(--grad2));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      opacity: 0.6;
    }

    /* ── IMMAGINE REALE dentro .card-image ──
       object-fit: cover → ritaglia per riempire il contenitore
       mantenendo le proporzioni (come background-size: cover).
       La transizione anima il zoom sull'hover.
    ── */
    .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.55s ease, opacity 0.35s ease;
    }

    /* Zoom leggero sull'hover — nessun overlay, nessun fade */
    .artwork-card:hover .card-image img {
      transform: scale(1.07);
    }

    /* ── INDICATORI DOT (pallini in basso allo slider) ── */
    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 2.5rem;
      padding: 0 5vw;
    }

    .dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
      border: none;
      padding: 0;
    }

    .dot.active {
      background: var(--salvia);
      transform: scale(1.4);
    }


    /* ══════════════════════════════════════════════════════════
       5. SEZIONE "CHI SONO"
       ▸ Layout a due colonne: testo | placeholder foto
    ══════════════════════════════════════════════════════════ */
    #chi-sono {
      padding: 110px 5vw;
      background: var(--bianco);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6vw;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }

    .chi-label {
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--salvia);
      margin-bottom: 1.2rem;
    }

    .chi-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.8rem, 3.5vw, 3rem);
      font-weight: 300;
      color: var(--blu-notte);
      line-height: 1.15;
      margin-bottom: 1.8rem;
    }

    .chi-testo {
      font-size: 1rem;
      font-weight: 300;
      color: rgba(26,26,46,0.75);
      line-height: 1.85;
      margin-bottom: 1.4rem;
    }

    .chi-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--viola);
      border-bottom: 1px solid rgba(102,0,204,0.35);
      padding-bottom: 2px;
      margin-top: 0.5rem;
      transition: border-color 0.3s, gap 0.3s;
    }

    .chi-link:hover {
      border-color: var(--viola);
      gap: 14px;
    }

    /* Riga singola per ogni bottone — uno sotto l'altro */
    .chi-buttons {
      display: flex;
      justify-content: flex-start;
      margin-top: 15px;
    }

    /* Secondo chi-buttons: margine ridotto */
    .chi-buttons + .chi-buttons {
      margin-top: 10px;
    }

    /* Link video — identico a chi-link */
    .chi-video-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--viola);
      border-bottom: 1px solid rgba(102,0,204,0.35);
      padding-bottom: 2px;
      transition: border-color 0.3s, gap 0.3s;
    }

    .chi-video-link:hover {
      border-color: var(--viola);
      gap: 14px;
    }

    /* Contenitore colonna destra: foto */
    .chi-media {
      width: 100%;
      text-align: center;
    }

    /* Foto Fabiana */
    .chi-foto {
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 8px;
      object-fit: cover;
      margin: 0 auto;
    }


    /* ══════════════════════════════════════════════════════════
       7. SEZIONE CONTATTI
       ▸ Sfondo scuro
       ▸ Form semplice: nome, email, messaggio, invia
    ══════════════════════════════════════════════════════════ */
    #contatti {
      padding: 110px 5vw;
      background: var(--nero-soft);
    }

    .contatti-inner {
      max-width: 640px;
      margin: 0 auto;
      text-align: center;
    }

    .contatti-label {
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--salvia);
      margin-bottom: 1.2rem;
    }

    .contatti-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.9rem, 4vw, 3.2rem);
      font-weight: 300;
      color: var(--bianco);
      line-height: 1.15;
      margin-bottom: 1rem;
    }

    .contatti-subtitle {
      font-size: 1rem;
      font-weight: 300;
      color: rgba(255,255,255,0.55);
      line-height: 1.7;
      margin-bottom: 3rem;
    }

    /* ── EMAIL LINK ── */

    /* Linea decorativa sopra l'email */
    .contatti-divider {
      width: 48px;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--viola), transparent);
      margin: 0 auto 2.8rem;
    }

    /* L'indirizzo email come link grande e visibile */
    .contatti-email {
      display: inline-block;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.3rem, 3vw, 2rem);
      font-weight: 300;
      letter-spacing: 0.04em;
      color: var(--bianco);
      text-decoration: none;
      position: relative;
      padding-bottom: 6px;
      transition: color 0.3s ease;
    }

    /* Sottolineatura animata: parte a 0 e si estende al hover */
    .contatti-email::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 1px;
      background: linear-gradient(to right, var(--viola), var(--salvia));
      transition: width 0.4s ease;
    }

    .contatti-email:hover {
      color: rgba(180, 120, 255, 0.95);
    }

    .contatti-email:hover::after {
      width: 100%;
    }

    /* Nota discreta sotto l'email */
    .contatti-nota {
      margin-top: 2rem;
      font-size: 0.82rem;
      font-weight: 300;
      color: rgba(255,255,255,0.30);
      letter-spacing: 0.06em;
    }

    .contatti-grid {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      margin: 40px auto 20px;
      max-width: 900px;
    }

    .contatti-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 16px 12px;
      border: 2px solid rgba(102, 51, 153, 0.3);
      border-radius: 12px;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s ease;
      flex: 1;
      min-width: 100px;
      min-height: 130px;
      text-align: center;
    }

    .contatti-card:hover {
      border-color: #6633cc;
      background: rgba(102, 51, 153, 0.08);
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(102, 51, 153, 0.15);
    }

    .contatti-icon {
      width: 24px;
      height: 24px;
      color: #6633cc;
      flex-shrink: 0;
    }

    .contatti-card span {
      font-size: 12px;
      font-weight: 500;
      line-height: 1.3;
    }

    .contatti-whatsapp .contatti-icon {
      color: #25D366;
      width: 26px;
      height: 26px;
    }


    /* ══════════════════════════════════════════════════════════
       8. FOOTER
    ══════════════════════════════════════════════════════════ */
    footer {
      background: #0d0d1a;   /* Ancora più scuro del nero-soft */
      padding: 40px 5vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem;
      font-weight: 600;
      color: rgba(255,255,255,0.55);
      letter-spacing: 0.05em;
    }

    .footer-copy {
      font-size: 0.78rem;
      color: rgba(255,255,255,0.28);
      letter-spacing: 0.04em;
    }

    .footer-credits {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.6);
      text-align: center;
      opacity: 0.85;
      line-height: 1.5;
    }

    .footer-credits p {
      margin-bottom: 6px;
    }

    .footer-links {
      display: flex;
      gap: 1.5rem;
    }

    .footer-links a {
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      color: rgba(255,255,255,0.35);
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: var(--salvia);
    }

    .footer-creator-btn {
      display: inline-block;
      margin-top: 20px;
      padding: 12px 24px;
      background: rgba(102, 51, 153, 0.15);
      border: 2px solid rgba(102, 51, 153, 0.3);
      border-radius: 6px;
      color: #6633cc;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.3s ease;
      cursor: pointer;
      white-space: nowrap;
    }

    .footer-creator-btn:hover {
      background: rgba(102, 51, 153, 0.25);
      border-color: #6633cc;
      color: #6633cc;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(102, 51, 153, 0.2);
    }


    /* ══════════════════════════════════════════════════════════
       9. RESPONSIVE — TABLET & MOBILE
       ▸ max-width: 900px → tablet
       ▸ max-width: 600px → mobile
    ══════════════════════════════════════════════════════════ */

    /* ── TABLET (≤ 900px) ── */
    @media (max-width: 900px) {

      /* Header: nasconde menu desktop, mostra hamburger */
      .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 10, 40, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 999;
      }

      .nav-links.open {
        display: flex;
      }

      .nav-links a {
        font-size: 1.5rem;
        letter-spacing: 0.08em;
        color: var(--bianco) !important;
      }

      .menu-toggle {
        display: flex;
        z-index: 1001;
      }

      /* Gallery: 2 card visibili */
      .artwork-card {
        flex: 0 0 calc(50% - 12px);
      }

      /* Chi sono: una colonna */
      #chi-sono {
        grid-template-columns: 1fr;
      }

      .chi-media {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
      }

      /* Sezione video: padding ridotto su tablet */
      #video-guardami {
        padding: 70px 5vw;
        gap: 2rem;
      }

      /* Contatti: 3 card in fila su tablet */
      .contatti-grid {
        gap: 10px;
      }

      .contatti-card {
        flex: 0 1 calc(33.333% - 7px);
        min-height: 120px;
      }

      /* Logo: ridotto su mobile */
      .header-logo-img {
        height: 32px;
      }

      /* People's Artist: stack verticale su tablet */
      #peoples-artist {
        padding: 40px 20px;
      }

      .peoples-artist-container {
        flex-direction: column;
        gap: 30px;
      }

      .peoples-artist-title {
        font-size: 1.8rem;
      }

      .peoples-artist-desc {
        font-size: 15px;
      }

      .peoples-artist-visual {
        width: 100%;
        min-height: 300px;
        flex: 1;
      }

      .peoples-artist-img {
        padding: 15px;
      }

      /* Bottone creator: ridotto su mobile */
      .footer-creator-btn {
        margin-top: 15px;
        padding: 10px 16px;
        font-size: 13px;
        white-space: normal;
        display: block;
      }

      /* Selettore lingua: padding ridotto */
      .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
      }

      .lang-btn .flag {
        font-size: 14px;
      }
    }

    /* ── MOBILE (≤ 600px) ── */
    @media (max-width: 600px) {

      /* Gallery: 1 card visibile */
      .artwork-card {
        flex: 0 0 85vw;
      }

      /* Hero: titolo più piccolo */
      .hero-content {
        padding: 0 6vw 10vh;
      }

      /* Form contatti: colonne unica */
      .form-row {
        grid-template-columns: 1fr;
      }

      /* Sezione video: padding minimo su mobile */
      #video-guardami {
        padding: 55px 5vw;
        gap: 1.6rem;
      }

      /* Gallery header: stack verticale */
      .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
      }

      /* People's Artist: ulteriore riduzione su mobile */
      #peoples-artist {
        padding: 30px 16px;
      }

      .peoples-artist-title {
        font-size: 1.5rem;
      }

      .peoples-artist-btn {
        padding: 12px 24px;
        font-size: 14px;
      }

      .peoples-artist-visual {
        min-height: 250px;
      }

      /* Footer: stack verticale */
      footer {
        flex-direction: column;
        text-align: center;
      }

      .footer-links {
        justify-content: center;
      }

      /* Contatti: 3 card affiancate anche su mobile */
      .contatti-grid {
        gap: 10px;
      }

      .contatti-card {
        flex: 0 1 calc(33.333% - 7px);
        min-height: 120px;
        padding: 12px 8px;
      }

      .contatti-card span {
        font-size: 11px;
      }
    }

/* ══════════════════════════════════════════════════════════
   LIGHTBOX GALLERY
══════════════════════════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 40, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s, transform 0.3s;
}

.lightbox-close:hover {
  color: var(--rosa, #ff00ff);
  transform: scale(1.1);
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-img.zoomed {
  cursor: zoom-out;
  transform: scale(1.6);
}
