/* ==========================================================================
   RESET & STRUTTURA TIPOGRAFICA APPLE-STYLE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { background-color: #ffffff; }

body {
    color: #1d1d1f;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* ==========================================================================
   LOGICA SINGLE PAGE APPLICATION (SPA)
   ========================================================================== */
.pagina-web { display: none; }
.pagina-web.attiva { display: block; }

/* ==========================================================================
   TRANSIZIONI FLUIDE E RITARDI
   ========================================================================== */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0; transform: translateX(-60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0; transform: translateX(60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

.slider-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1;
    transform: scale(1.1); transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-img.active { opacity: 1; z-index: 2; transform: scale(1); }

/* ==========================================================================
   BARRA DI NAVIGAZIONE E BURGER MENU
   ========================================================================== */
nav {
    position: fixed; top: 0; width: 100%; height: 60px;
    background: transparent; border-bottom: 1px solid transparent; z-index: 9999; transition: all 0.4s ease;
}
.nav-container { max-width: 1024px; margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; }

.logo-ac img { 
    height: 38px; width: auto; display: block; 
    filter: invert(1) brightness(2); transition: all 0.4s ease; 
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: #ffffff; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: -0.1px; transition: opacity 0.2s ease, color 0.4s ease; }
.nav-links a:hover { opacity: 0.6; }

nav.nav-scrolled,
nav.nav-force-dark {
    background: rgba(255, 255, 255, 0.75); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
nav.nav-scrolled .logo-ac img,
nav.nav-force-dark .logo-ac img { filter: none; }
nav.nav-scrolled .nav-links a,
nav.nav-force-dark .nav-links a { color: #1d1d1f; }

/* BURGER MENU (NASCOSTO SU DESKTOP) */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 10000; }
.hamburger span { width: 26px; height: 2px; background-color: #ffffff; transition: all 0.3s ease; border-radius: 2px; }
nav.nav-scrolled .hamburger span,
nav.nav-force-dark .hamburger span { background-color: #1d1d1f; }
nav.menu-open .hamburger span { background-color: #1d1d1f; }
nav.menu-open .logo-ac img { filter: none; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   SEZIONE HERO
   ========================================================================== */
.hero {
    height: 85vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding: 80px 22px 0 22px; background-color: #000000; position: relative; overflow: hidden;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.35; filter: grayscale(100%); }
.hero-content { position: relative; z-index: 3; max-width: 800px; }
.hero h2 { font-size: 13px; font-weight: 600; margin-bottom: 20px; color: #a1a1a6; letter-spacing: 2.5px; text-transform: uppercase; }
.hero h1 { font-size: 56px; font-weight: 700; letter-spacing: -2.5px; line-height: 1.05; margin-bottom: 24px; color: #ffffff; }
.hero p { font-size: 21px; font-weight: 400; letter-spacing: -0.5px; margin: 0 auto; line-height: 1.4; color: #d2d2d7; }

/* ==========================================================================
   SLIDER METRICHE (TRACK RECORD)
   ========================================================================== */
.metrics-slider-section { background-color: #ffffff; padding: 80px 22px 40px 22px; }
.slider-nav-tabs { max-width: 1024px; margin: 0 auto 50px auto; display: flex; gap: 56px; border-bottom: 1px solid #f5f5f7; padding-bottom: 16px; }
.nav-tab { font-size: 13px; font-weight: 600; color: #86868b; cursor: pointer; transition: color 0.3s ease; position: relative; text-transform: uppercase; letter-spacing: 1.5px; }
.nav-tab.active { color: #1d1d1f; }
.nav-tab.active::after { content: ""; position: absolute; bottom: -17px; left: 0; width: 100%; height: 2px; background-color: #1d1d1f; }
.metrics-slider-container { max-width: 1024px; margin: 0 auto; position: relative; min-height: 120px; }
.metric-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(10px); transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); pointer-events: none; }
.metric-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.slide-content-grid { display: grid; gap: 32px; }

.metric-slide:nth-child(1) .slide-content-grid { grid-template-columns: repeat(4, 1fr); }
.metric-slide:nth-child(2) .slide-content-grid,
.metric-slide:nth-child(3) .slide-content-grid { grid-template-columns: repeat(3, 1fr); }

.metric-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.metric-number { font-size: 52px; font-weight: 700; color: #1d1d1f; letter-spacing: -2.5px; line-height: 1; }
.metric-label { font-size: 14px; color: #515154; font-weight: 500; letter-spacing: -0.2px; line-height: 1.3; }

/* ==========================================================================
   COLLABORAZIONI STRATEGICHE (BENTO BOX COMPLETO)
   ========================================================================== */
.cases-section { background-color: #f5f5f7; padding: 100px 22px; }
.section-header { max-width: 1024px; margin: 0 auto 48px auto; }
.section-header h2 { font-size: 38px; font-weight: 700; letter-spacing: -1.5px; color: #1d1d1f; }
.cases-grid { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }

.case-card { 
    background: #ffffff; border-radius: 32px; overflow: hidden; display: flex; position: relative; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    border: 1px solid rgba(0,0,0,0.04); 
    isolation: isolate; 
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* --- 1. CARD GRANDI --- */
.case-card.bento-large { grid-column: span 2; flex-direction: row; min-height: 480px; }
.case-card.bento-large .case-info { padding: 48px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.case-card.bento-large .case-image-area { flex: 1; position: relative; overflow: hidden; background-color: #f5f5f7; }
.case-card.bento-large h3 { font-size: 32px; font-weight: 700; letter-spacing: -1px; margin-bottom: 24px; color: #1d1d1f; line-height: 1.1; }
.case-card.bento-large p { font-size: 16px; line-height: 1.5; color: #515154; max-width: 400px; }
.case-card.bento-large .stat-box .stat-val { font-size: 28px; font-weight: 700; letter-spacing: -1px; color: #1d1d1f; line-height: 1; }

/* --- CARD PICCOLE --- */
.case-card.bento-half-horizontal, .case-card.bento-half-vertical { grid-column: span 1; min-height: 480px; }
.case-card.bento-half-horizontal h3, .case-card.bento-half-vertical h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 20px; line-height: 1.15; color: #1d1d1f;}
.case-card.bento-half-horizontal .stat-box .stat-val, .case-card.bento-half-vertical .stat-box .stat-val { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; color: #1d1d1f; line-height: 1;}
.case-card.bento-half-horizontal p, .case-card.bento-half-vertical p { font-size: 14px; line-height: 1.45; color: #515154; margin-bottom: 0; }

.case-card.bento-half-horizontal { flex-direction: row; }
.case-card.bento-half-horizontal .case-info { padding: 36px 28px; flex: 1.2; display: flex; flex-direction: column; justify-content: center; }
.case-card.bento-half-horizontal .case-image-area { flex: 0.8; position: relative; overflow: hidden; background-color: #f5f5f7; }
.case-card.bento-half-horizontal .case-stats { gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }

.case-card.bento-half-vertical { flex-direction: column; }
.case-card.bento-half-vertical .case-info { padding: 30px 40px 32px 40px; flex: none; display: flex; flex-direction: column; justify-content: flex-start; }
.case-card.bento-half-vertical .case-image-area { flex: 1; width: 100%; min-height: 240px; position: relative; overflow: hidden; background-color: #f5f5f7; }
.case-card.bento-half-vertical .case-stats { gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }

.case-card.reverse { flex-direction: row-reverse; }
.case-info { z-index: 2; }
.case-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #86868b; margin-bottom: 12px; }
.case-stats { display: flex; gap: 32px; margin-bottom: 24px; }
.stat-box .stat-lbl { font-size: 10px; color: #86868b; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 6px; font-weight: 600; }

.slider-dots { position: absolute; bottom: 24px; right: 28px; z-index: 3; display: flex; gap: 6px; }
.slider-dots .dot { width: 16px; height: 2px; background-color: rgba(255, 255, 255, 0.4); border-radius: 99px; cursor: pointer; transition: background-color 0.3s ease, width 0.3s ease; }
.slider-dots .dot.active { background-color: #ffffff; width: 26px; }

/* ==========================================================================
   EFFETTO ESPANSIONE FOTO (HOVER) - BENTO BOX PICCOLE (Solo Desktop)
   ========================================================================== */
@media (min-width: 921px) {

    /* Dà più respiro verticale a entrambe le card piccole della riga */
    .case-card.bento-half-horizontal,
    .case-card.bento-half-vertical {
        min-height: 540px;
    }

    /* 1. HOVER CARD ORIZZONTALE (Sinistra) */
    .case-card.bento-half-horizontal .case-info {
        width: 60%;
        flex: none;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        z-index: 1;
    }
    
    .case-card.bento-half-horizontal .case-image-area {
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 45%; 
        transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 2;
    }

    .case-card.bento-half-horizontal:hover .case-info {
        filter: blur(4px);
        opacity: 0.4;
    }
    
    .case-card.bento-half-horizontal:hover .case-image-area {
        width: 75%; 
    }

    /* 2. HOVER CARD VERTICALE (Destra - Club Professionistici) */
    .case-card.bento-half-vertical .case-info {
        padding: 32px 36px 24px 36px;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        z-index: 1;
    }
    
    .case-card.bento-half-vertical .case-image-area {
        position: absolute;
        bottom: 0; 
        left: 0; 
        right: 0;
        width: 100%;
        min-height: 0;
        height: 48%;   /* Riempie lo spazio bianco senza toccare il testo */
        transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 2;
    }

    .case-card.bento-half-vertical:hover .case-info {
        filter: blur(4px);
        opacity: 0.3;
        transform: translateY(-6px);
    }
    
    .case-card.bento-half-vertical:hover .case-image-area {
        height: 75%; /* Espansione coerente e fluida come la card di sinistra */
    }
}

/* ==========================================================================
   SEZIONE METODO (CON ANIMAZIONE CINEMATICA)
   ========================================================================== */
.method-section { background-color: #ffffff; padding: 120px 22px; border-top: 1px solid #f5f5f7; border-bottom: 1px solid #f5f5f7; }
.method-container { max-width: 1024px; margin: 0 auto; }
.method-header h2 { font-size: 38px; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px; }
.method-header p { font-size: 18px; color: #86868b; max-width: 720px; line-height: 1.45; margin-bottom: 56px; }

.method-vs-container { display: flex; align-items: stretch; gap: 32px; margin-bottom: 80px; position: relative; }
.vs-card { flex: 1; padding: 50px 44px; border-radius: 32px; display: flex; flex-direction: column; align-items: flex-start; transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.vs-icon-container { margin-bottom: 24px; display: flex; align-items: center; justify-content: center; }
.vs-icon-container svg { width: 36px; height: 36px; stroke: currentColor; stroke-width: 1.5; }
.vs-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.2px; }
.vs-card p { font-size: 15px; line-height: 1.6; color: #515154; }

.vs-card.negative { background-color: #fff9f9; border: 1px solid rgba(234, 67, 53, 0.08); }
.vs-card.negative .vs-icon-container { color: #ea4335; }
.vs-card.negative h4 { color: #ea4335; }
.vs-card.positive { background-color: #f6fbf8; border: 1px solid rgba(52, 168, 83, 0.08); }
.vs-card.positive .vs-icon-container { color: #34a853; }
.vs-card.positive h4 { color: #34a853; }

.vs-card.negative.dimmed { opacity: 0.35; filter: grayscale(100%) blur(1.5px); transform: scale(0.96); cursor: pointer; }
.vs-card.positive.highlighted { transform: scale(1.03); box-shadow: 0 24px 50px rgba(52, 168, 83, 0.12); border-color: rgba(52, 168, 83, 0.3); background-color: #ffffff; }

.transition-arrow {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateX(-30px);
    width: 48px; height: 48px; z-index: 10; color: #a1a1a6; opacity: 0; transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f5f5f7;
}
.transition-arrow svg { width: 24px; height: 24px; }
.transition-arrow.active { opacity: 1; transform: translate(-50%, -50%) translateX(0); color: #1d1d1f; }

.method-loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.method-node { background-color: #ffffff; padding: 44px 32px; border-radius: 24px; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 10px 30px rgba(0,0,0,0.02); position: relative; overflow: hidden; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.node-num { font-size: 48px; font-weight: 700; letter-spacing: -2.5px; color: #e8e8ed; line-height: 1; margin-bottom: 20px; transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.method-node:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.08); background: linear-gradient(145deg, #ffffff 0%, #fbfbfd 100%); }
.method-node:hover .node-num { color: #1d1d1f; transform: translateX(4px); }
.method-node h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: #1d1d1f; letter-spacing: -0.2px; }
.method-node p { font-size: 13.5px; line-height: 1.55; color: #6e6e73; }

/* ==========================================================================
   GRIGLIA CAPABILITIES
   ========================================================================== */
.team-services-section { background-color: #121214; color: #ffffff; padding: 120px 22px; }
.team-intro { max-width: 1024px; margin: 0 auto; margin-bottom: 80px; }
.team-intro h2 { font-size: 38px; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 14px; color: #ffffff; }
.team-intro p { font-size: 18px; color: #a1a1a6; max-width: 700px; line-height: 1.45; }

.team-grid { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-service-node { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 32px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.02); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.service-icon-container { color: #a1a1a6; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.service-icon-container svg { width: 32px; height: 32px; }
.team-service-node:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.15); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.team-service-node:hover .service-icon-container { color: #ffffff; transform: scale(1.15); }
.team-service-node h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: #ffffff; letter-spacing: -0.2px; }
.team-service-node p { font-size: 14px; line-height: 1.6; color: #a1a1a6; margin-bottom: 0; }

/* ==========================================================================
   PROGRAMMI ADVISORY CON HOVER DINAMICO
   ========================================================================== */
.pricing-section { background-color: #f5f5f7; padding: 100px 22px; }
.pricing-header { max-width: 1024px; margin: 0 auto 56px auto; text-align: center; }
.pricing-header h2 { font-size: 38px; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px; color: #1d1d1f; }
.pricing-header p { font-size: 18px; color: #86868b; max-width: 720px; margin: 0 auto; line-height: 1.45; }

.pricing-grid { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { 
    background: #ffffff; padding: 44px 32px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); 
    border: 1px solid transparent; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; 
}
.price-card:hover { border-color: #1d1d1f; transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.price-meta h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 8px; line-height: 1.2; }
.price-tag { font-size: 30px; font-weight: 700; letter-spacing: -1px; margin-bottom: 24px; color: #1d1d1f; }
.price-tag span { font-size: 13px; font-weight: 400; color: #86868b; }
.price-features { list-style: none; font-size: 13.5px; line-height: 1.55; color: #515154; }
.price-features li { margin-bottom: 14px; padding-left: 18px; position: relative; }
.price-features li::before { content: "•"; position: absolute; left: 0; color: #86868b; }

/* ==========================================================================
   PRIVATE BRIEFING & TEAM
   ========================================================================== */
.one-on-one-section { background-color: #f5f5f7; padding: 20px 22px 100px 22px; }
.one-card-container { max-width: 1024px; margin: 0 auto; }
.one-card { background: linear-gradient(135deg, #1d1d1f 0%, #000000 100%); color: #ffffff; border-radius: 24px; padding: 50px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.one-info h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px; }
.one-info p { font-size: 15.5px; line-height: 1.5; color: #a1a1a6; }
.one-action { display: flex; justify-content: flex-end; }
.btn-light { background-color: #ffffff; color: #1d1d1f; padding: 14px 32px; border-radius: 980px; text-decoration: none; font-size: 14.5px; font-weight: 500; transition: opacity 0.2s ease; }
.btn-light:hover { opacity: 0.9; }

.team-section { background-color: #0a0a0a; color: #ffffff; padding: 120px 0 160px 0; overflow: hidden; }
.team-header-container { max-width: 1200px; margin: 0 auto 64px auto; padding: 0 60px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.team-header-container h2 { font-size: 38px; font-weight: 700; letter-spacing: -1.5px; color: #ffffff; }
.explore-link { color: #a1a1a6; text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; padding-bottom: 8px; border-bottom: none; transition: color 0.3s ease; font-weight: 600; }
.explore-link:hover { color: #ffffff; }

/* DRAG TO SCROLL TEAM */
.team-slider { display: flex; gap: 36px; overflow-x: auto; padding: 0 60px 40px 60px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.team-slider::-webkit-scrollbar { display: none; }
.team-slider.grabbing { cursor: grabbing; scroll-snap-type: none; }
.team-slider.grabbing .team-card { pointer-events: none; }
.team-card { flex: 0 0 360px; display: flex; flex-direction: column; text-decoration: none; scroll-snap-align: start; color: inherit; cursor: pointer; }
.team-photo { width: 100%; aspect-ratio: 3 / 4; border-radius: 6px; background-color: #222222; overflow: hidden; margin-bottom: 24px; border: 1px solid rgba(255, 255, 255, 0.03); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.team-card:hover .team-photo img { transform: scale(1.04); filter: grayscale(0%) brightness(1); }
.team-info h4 { font-size: 19px; font-weight: 600; color: #ffffff; letter-spacing: normal; margin-bottom: 6px; display: flex; justify-content: space-between; }
.team-info p { font-size: 12px; color: #a1a1a6; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.team-spacer { flex: 0 0 60px; }

/* FINAL CTA PARTNER */
.final-cta-section { padding: 100px 22px 60px 22px; background-color: #ffffff; text-align: center; }
.final-container h2 { font-size: 38px; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px; color: #1d1d1f; }
.final-container p { font-size: 17px; color: #86868b; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.4; }
.trust-disclaimer { font-size: 12px; color: #86868b; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.5; letter-spacing: -0.1px; }
.btn-dark-cta { display: inline-block; background-color: #1d1d1f; color: #ffffff; padding: 15px 36px; border-radius: 980px; text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color 0.2s ease; margin-bottom: 48px; }
.btn-dark-cta:hover { background-color: #000000; }
.social-row { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }

/* ==========================================================================
   VISTA PROFILO
   ========================================================================== */
.profile-wrapper { max-width: 1024px; margin: 0 auto; padding: 140px 22px 60px 22px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
.profile-headline { font-size: 13px; font-weight: 600; margin-bottom: 16px; color: #86868b; letter-spacing: 1.5px; text-transform: uppercase; }
.profile-title { font-size: 44px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 32px; color: #1d1d1f; }
.narrative-text { font-size: 18px; line-height: 1.65; font-weight: 400; color: #515154; letter-spacing: -0.2px; }
.narrative-text span.highlight { color: #1d1d1f; font-weight: 600; }
.narrative-text p { margin-bottom: 24px; }
.profile-photo-container { width: 100%; display: flex; justify-content: flex-end; }
.profile-photo { width: 100%; max-width: 380px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; border-radius: 24px; box-shadow: 0 24px 50px rgba(0,0,0,0.04); background-color: #f5f5f7; }

.education-section { max-width: 1024px; margin: 0 auto; padding: 60px 22px; border-top: 1px solid #f5f5f7; }
.education-section h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 40px; color: #1d1d1f; }
.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.education-card { display: flex; flex-direction: column; align-items: flex-start; }
.university-logo-box { height: 50px; margin-bottom: 20px; display: flex; align-items: center; }
.university-logo-box img { height: 100%; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.7); transition: filter 0.3s ease, transform 0.3s ease; }
.education-card:hover .university-logo-box img { filter: grayscale(0%) opacity(1); transform: translateY(-2px); }
.education-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #86868b; font-weight: 700; margin-bottom: 10px; }
.education-card h4 { font-size: 17px; font-weight: 700; color: #1d1d1f; letter-spacing: -0.3px; line-height: 1.35; }

.gallery-section { max-width: 1024px; margin: 0 auto; padding: 60px 22px 100px 22px; border-top: 1px solid #f5f5f7; }
.gallery-section h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 32px; color: #1d1d1f; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-item { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background-color: #f5f5f7; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.grid-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; z-index: 2; transition: opacity 0.4s ease; }
.grid-overlay span { color: #ffffff; font-size: 13px; font-weight: 500; letter-spacing: -0.1px; transform: translateY(10px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.grid-item:hover img { transform: scale(1.05); }
.grid-item:hover .grid-overlay { opacity: 1; }
.grid-item:hover .grid-overlay span { transform: translateY(0); }

/* ==========================================================================
   FOOTER PROFESSIONALE & BADGE MEPA
   ========================================================================== */
footer { 
    padding: 40px 22px; 
    background-color: #ffffff; 
    border-top: 1px solid #f5f5f7; 
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.footer-left {
    font-size: 11.5px;
    color: #86868b;
    line-height: 1.6;
    text-align: left;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.social-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    padding: 10px 24px; 
    border: 1px solid #d2d2d7; 
    border-radius: 980px; 
    color: #1d1d1f; 
    text-decoration: none; 
    font-size: 13.5px; 
    font-weight: 500; 
    letter-spacing: -0.1px; 
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); 
    background-color: #ffffff; 
}
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }
.social-btn:hover { background-color: #1d1d1f; color: #ffffff; border-color: #1d1d1f; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }

.mepa-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #f5f5f7; 
    border-radius: 980px; 
    color: #515154;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.1px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.mepa-badge svg {
    width: 15px;
    height: 15px;
    color: #1d1d1f;
    transition: color 0.3s ease;
}

.mepa-badge:hover {
    background-color: #f0fdf4; 
    border-color: #34a853; 
    color: #146c2e; 
    box-shadow: 0 4px 16px rgba(52, 168, 83, 0.15); 
    transform: translateY(-2px); 
}

.mepa-badge:hover svg {
    color: #34a853; 
}

/* ==========================================================================
   ADATTAMENTO RESPONSIVE (MOBILE E TABLET)
   ========================================================================== */
@media (max-width: 920px) {
    html, body { overflow-x: hidden; width: 100%; }

    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
        z-index: 9998; margin: 0; padding: 0;
    }
    
    .nav-links.active { right: 0; }
    
    .nav-links a { 
        color: #1d1d1f !important; font-size: 26px; font-weight: 600; letter-spacing: -0.5px; 
    }
    
    .logo-ac { z-index: 10000; position: relative; }

    .hero h1 { font-size: 40px; white-space: normal; letter-spacing: -1.5px; }
    .hero p { font-size: 18px; }
    
    .metrics-slider-section { padding: 40px 22px 20px 22px; }
    
    .slider-nav-tabs { 
        justify-content: center; 
        padding-bottom: 12px; 
        margin-bottom: 24px; 
        flex-wrap: nowrap;
    }
    
    .nav-tab { display: none; }
    
    .nav-tab.active { 
        display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 13px; width: 100%;
    }
    
    .nav-tab.active::before { content: "‹"; font-size: 26px; color: #a1a1a6; font-weight: 300; line-height: 0; }
    .nav-tab.active::after { content: "›"; position: static; width: auto; height: auto; background: transparent; font-size: 26px; color: #a1a1a6; font-weight: 300; line-height: 0; }

    .metric-slide:nth-child(1) .slide-content-grid { grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; }
    .metric-slide:nth-child(2) .slide-content-grid,
    .metric-slide:nth-child(3) .slide-content-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
    
    .metric-row { align-items: center; }
    .metric-number { font-size: 32px; }
    .metric-label { font-size: 11px; }

    .cases-grid { grid-template-columns: 1fr; }
    
    .case-card.bento-large, 
    .case-card.bento-half-horizontal, 
    .case-card.bento-half-vertical, 
    .case-card.reverse { 
        grid-column: span 1; 
        flex-direction: column; 
        min-height: auto; 
    }
    
    .case-card.bento-large .case-info, 
    .case-card.bento-half-horizontal .case-info, 
    .case-card.bento-half-vertical .case-info { 
        padding: 32px !important; 
        width: 100%; 
        max-height: none; 
    }
    
    .case-image-area, 
    .case-card.bento-half-horizontal .case-image-area,
    .case-card.bento-half-vertical .case-image-area { 
        height: 280px; 
        width: 100%; 
        position: relative; 
        order: -1; 
        flex: none !important; 
    }
    
    .case-stats { justify-content: start; gap: 20px; }
    
    .method-vs-container { flex-direction: column; }
    .transition-arrow { display: none; }
    .method-loop-grid { grid-template-columns: 1fr; gap: 20px; }
    .team-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-header p { text-align: left; }
    .one-card { grid-template-columns: 1fr; padding: 35px 22px; text-align: center; }
    .one-action { justify-content: center; }
    
    .social-row { flex-direction: column; align-items: center; gap: 12px; }
    
    .team-header-container { padding: 0 24px; flex-direction: column; align-items: flex-start; }
    .team-slider { padding: 0 24px 40px 24px; cursor: grab; }
    .team-card { flex: 0 0 280px; }
    .team-header-container h2 { font-size: 32px; }

    .profile-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 100px 22px 60px 22px; } 
    .profile-photo-container { display: flex; justify-content: center; position: relative; top: 0; } 
    .profile-title { font-size: 32px; } 
    .education-grid { grid-template-columns: 1fr; gap: 36px; } 
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } 

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px; 
    }
    
    .footer-left {
        text-align: center;
        order: 3;
    }
    
    .footer-center {
        order: 1;
    }
    
    .footer-right {
        order: 2;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .social-btn {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }
}

@media (max-width: 560px) { 
    .photo-grid { grid-template-columns: 1fr; } 
}
/* ==========================================================================
   TEAM LOCKED / REVEAL 14 DICEMBRE
   ========================================================================== */
.reveal-countdown-bar {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 10px 20px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a1a1a6;
}

.reveal-countdown-bar .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulseGlow 2s infinite;
}

.reveal-countdown-bar .countdown-timer {
    color: #ffffff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

/* Card Personaggio da Sbloccare */
.team-card.locked-card {
    cursor: default;
}

.team-photo.locked-photo {
    background: radial-gradient(circle at 50% 35%, #1d1d22 0%, #0f0f12 65%, #08080a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Riflesso luminoso che scorre sulla card */
.team-photo.locked-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: lockedShimmer 4.5s infinite ease-in-out;
    z-index: 2;
    pointer-events: none;
}

@keyframes lockedShimmer {
    0% { transform: translateX(-100%); }
    45%, 100% { transform: translateX(100%); }
}

.locked-silhouette {
    width: 72%;
    height: auto;
    position: absolute;
    bottom: -4%;
    color: rgba(255, 255, 255, 0.06);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s ease;
    z-index: 1;
}

.locked-overlay-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    padding: 0 20px;
}

.lock-icon-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.lock-icon-ring svg {
    width: 20px;
    height: 20px;
}

.unlock-date-pill {
    padding: 6px 14px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff;
}

.team-card.locked-card:hover .team-photo.locked-photo {
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.team-card.locked-card:hover .locked-silhouette {
    transform: scale(1.04);
    color: rgba(255, 255, 255, 0.11);
}

.team-card.locked-card:hover .lock-icon-ring {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.team-card.locked-card .team-info h4 {
    color: rgba(255, 255, 255, 0.85);
}

.team-card.locked-card .team-info p {
    color: #6e6e73;
}