/* =========================================================
   RESPIRO HERO DESKTOP - TONY CHANKU
   File: assets/css/fix-respiro-hero-desktop.css
   ========================================================= */

/*
   Questo file deve essere caricato DOPO:
   style.css
   template-home.css
   template-brano.css
   mobile-fix.css
   mobile-home-definitiva.css
   fix-box-evidenza.css

   Obiettivo:
   - homepage desktop più vicina al mockup arioso
   - titolo meno gigante
   - card "In evidenza" più piccola
   - più spazio visivo per Golfo, Vesuvio e figura
   - statistiche meno invadenti
*/

/* Desktop standard */
@media (min-width: 1100px) {

    .tc-home {
        min-height: 650px;
        background-position: center center;
    }

    .tc-home__inner {
        max-width: 1380px;
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 64px;
        padding-top: 96px;
        padding-bottom: 62px;
    }

    .tc-home__title h1 {
        font-size: clamp(4.8rem, 6.2vw, 7.1rem);
        line-height: .84;
        letter-spacing: .02em;
    }

    .tc-home__title p {
        max-width: 430px;
        margin-top: 18px;
        margin-bottom: 24px;
        font-size: clamp(1.22rem, 1.7vw, 1.72rem);
        line-height: 1.15;
    }

    .tc-home__actions {
        gap: 14px;
    }

    .tc-home__actions .btn,
    .tc-home__actions a {
        min-height: 42px;
        padding: 0 24px;
        font-size: .76rem;
        letter-spacing: .12em;
    }

    .tc-home-feature {
        max-width: 330px;
        width: 100%;
        padding: 18px;
        border-radius: 16px;
        justify-self: end;
    }

    .tc-home-feature__top {
        margin-bottom: 10px;
        font-size: .70rem;
        letter-spacing: .17em;
    }

    .tc-home-feature__media {
        margin-bottom: 13px;
    }

    .tc-home-feature__media img {
        aspect-ratio: 1.42 / 1;
        border-radius: 9px;
    }

    .tc-home-feature__vinyl {
        right: -26px;
        top: 18px;
        width: 112px;
        height: 112px;
    }

    .tc-home-feature h2 {
        font-size: 1rem;
        line-height: 1.16;
    }

    .tc-home-feature__sub {
        margin-top: 6px;
        font-size: .64rem;
        letter-spacing: .12em;
    }

    .tc-home-feature__platforms {
        margin: 11px 0;
        gap: 10px;
        font-size: .68rem;
    }

    .tc-home-feature__cta {
        min-height: 35px;
        font-size: .65rem;
        letter-spacing: .11em;
    }

    .tc-home-stats {
        margin-top: -28px;
    }

    .tc-home-stats__bar {
        max-width: 1240px;
        margin-inline: auto;
        border-radius: 12px;
    }

    .tc-home-stats__bar div {
        padding: 14px 18px;
    }

    .tc-home-stats__bar strong {
        font-size: 1.7rem;
    }

    .tc-home-stats__bar span {
        font-size: .66rem;
    }
}

/* Desktop larghi / monitor grandi */
@media (min-width: 1500px) {

    .tc-home {
        min-height: 700px;
    }

    .tc-home__inner {
        max-width: 1500px;
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 78px;
        padding-top: 104px;
        padding-bottom: 72px;
    }

    .tc-home__title h1 {
        font-size: clamp(5.4rem, 6vw, 7.8rem);
    }

    .tc-home__title p {
        max-width: 500px;
        font-size: clamp(1.38rem, 1.65vw, 1.95rem);
    }

    .tc-home-feature {
        max-width: 350px;
    }

    .tc-home-feature__vinyl {
        width: 124px;
        height: 124px;
    }
}

/* Ultra wide / TV */
@media (min-width: 1900px) {

    .tc-home {
        min-height: 760px;
    }

    .tc-home__inner {
        max-width: 1660px;
        grid-template-columns: minmax(0, 1fr) 370px;
        gap: 90px;
    }

    .tc-home__title h1 {
        font-size: clamp(6rem, 5.8vw, 8.4rem);
    }

    .tc-home-feature {
        max-width: 370px;
    }
}

/* Laptop più piccoli */
@media (min-width: 1100px) and (max-width: 1350px) {

    .tc-home__inner {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 44px;
    }

    .tc-home__title h1 {
        font-size: clamp(4.2rem, 5.8vw, 6.4rem);
    }

    .tc-home__title p {
        font-size: 1.25rem;
        max-width: 390px;
    }

    .tc-home-feature {
        max-width: 310px;
    }

    .tc-home-feature__vinyl {
        width: 104px;
        height: 104px;
        right: -22px;
    }
}
/* =========================================
   MICRO RIDUZIONE BOX IN EVIDENZA
   ========================================= */

@media (min-width: 1100px) {
    .tc-home-feature {
        max-width: 315px;
        padding: 16px;
    }

    .tc-home-feature__media img {
        aspect-ratio: 1.45 / 1;
    }

    .tc-home-feature__vinyl {
        width: 105px;
        height: 105px;
        right: -22px;
    }

    .tc-home-feature h2 {
        font-size: .94rem;
    }

    .tc-home-feature__platforms {
        font-size: .64rem;
        gap: 8px;
    }

    .tc-home-feature__cta {
        min-height: 34px;
        font-size: .62rem;
    }
}
/* =========================================
   RIFINITURA BOX IN EVIDENZA / VINILE
   ========================================= */
@media (min-width: 1100px) {
    .tc-home-feature {
        max-width: 315px;
        padding: 16px;
    }

    /* La cover diventa un po' più piccola
       così il vinile respira meglio */
    .tc-home-feature__media {
        width: 88%;
        position: relative;
        z-index: 2;
    }

    .tc-home-feature__media img {
        width: 100%;
        display: block;
        border-radius: 14px;
    }

    /* Vinile leggermente più piccolo e più visibile */
    .tc-home-feature__vinyl {
        width: 98px;
        height: 98px;
        right: -26px;
        top: 58px;
        z-index: 1;
        opacity: 0.95;
    }
}
/* =========================================
   BOX IN EVIDENZA - VINILE PIÙ VISIBILE
   ========================================= */

@media (min-width: 1100px) {
    .tc-home-feature {
        width: 340px;
        max-width: 340px;
        padding: 18px 18px 20px;
        border-radius: 22px;
        position: relative;
        overflow: visible;
    }

    .tc-home-feature__media {
        width: 78%;
        margin: 0 auto 16px;
        position: relative;
        z-index: 2;
        overflow: visible;
    }

    .tc-home-feature__media img {
        width: 100%;
        display: block;
        border-radius: 14px;
        position: relative;
        z-index: 2;
    }

    .tc-home-feature__vinyl {
        width: 150px;
        height: 150px;
        position: absolute;
        top: 48px;
        right: -38px;
        z-index: 1;
        opacity: 0.98;
    }

    .tc-home-feature h2 {
        font-size: 1rem;
        line-height: 1.15;
    }

    .tc-home-feature__platforms {
        margin: 12px 0;
        gap: 10px;
        font-size: .68rem;
    }

    .tc-home-feature__cta {
        min-height: 38px;
        font-size: .68rem;
    }
}
/* =========================================
   VINILE PNG TRASPARENTE - CARD IN EVIDENZA
   ========================================= */

.tc-home-feature__media {
    position: relative;
    overflow: visible !important;
}

/* Copertina davanti */
.tc-home-feature__cover {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
}

/* Nasconde il vecchio vinile CSS, se ancora presente */
.tc-home-feature__vinyl {
    display: none !important;
}

/* Vinile PNG separato */
.tc-home-feature__vinyl-img {
    position: absolute;
    top: 50%;
    right: -54px;
    width: 155px;
    height: 155px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

/* Desktop */
@media (min-width: 1100px) {
    .tc-home-feature {
        overflow: visible !important;
    }

    .tc-home-feature__media {
        width: 78%;
        margin: 0 auto 16px;
    }

    .tc-home-feature__vinyl-img {
        width: 155px;
        height: 155px;
        right: -58px;
    }
}

/* Laptop / desktop più piccoli */
@media (min-width: 1100px) and (max-width: 1350px) {
    .tc-home-feature__vinyl-img {
        width: 140px;
        height: 140px;
        right: -50px;
    }
}

/* Tablet e mobile: nascondiamo il vinile per evitare tagli strani */
@media (max-width: 1099px) {
    .tc-home-feature__vinyl-img {
        display: none !important;
    }
}
/* =========================================
   VINILE PNG DIETRO LA COPERTINA
   ========================================= */

@media (min-width: 1100px) {
    .tc-home-feature {
        overflow: visible !important;
    }

    .tc-home-feature__media {
        width: 78%;
        margin: 0 auto 16px;
        position: relative;
        overflow: visible !important;
        z-index: 2;
    }

    .tc-home-feature__cover {
        position: relative;
        z-index: 3;
        display: block;
        width: 100%;
        border-radius: 14px;
    }

    .tc-home-feature__vinyl {
        display: none !important;
    }

    .tc-home-feature__vinyl-img {
        position: absolute;
        top: 50%;
        right: -62px;
        width: 150px;
        height: 150px;
        transform: translateY(-50%);
        z-index: 1;
        pointer-events: none;
        user-select: none;
        background: transparent !important;
    }

    .tc-home-feature h2,
    .tc-home-feature__sub,
    .tc-home-feature__platforms,
    .tc-home-feature__cta {
        position: relative;
        z-index: 5;
    }
}
/* =========================================
   VINILE DIETRO LA COVER - POSIZIONE CORRETTA
   ========================================= */

@media (min-width: 1100px) {
    .tc-home-feature {
        overflow: visible !important;
    }

    .tc-home-feature__media {
        width: 78%;
        margin: 0 auto 16px;
        position: relative;
        overflow: visible !important;
        z-index: 2;
    }

    .tc-home-feature__cover {
        position: relative;
        z-index: 3;
        display: block;
        width: 100%;
        border-radius: 14px;
    }

    .tc-home-feature__vinyl,
.tc-home-feature__vinyl-img {
    position: absolute !important;
    top: 50% !important;
    right: -68px !important;
    width: 158px !important;
    height: 158px !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    pointer-events: none;
    user-select: none;
    display: block;
}

    .tc-home-feature h2,
    .tc-home-feature__sub,
    .tc-home-feature__platforms,
    .tc-home-feature__cta {
        position: relative;
        z-index: 5;
    }
}
/* =========================================
   RIFINITURA FINALE CARD IN EVIDENZA
   ========================================= */

@media (min-width: 1100px) {
    .tc-home-feature {
        overflow: visible !important;
    }

    .tc-home-feature__media {
        width: 78%;
        margin: 0 auto 18px;
        position: relative;
        overflow: visible !important;
        z-index: 2;
        aspect-ratio: 1 / 1; /* quadrato perfetto */
    }

    .tc-home-feature__cover {
        position: relative;
        z-index: 3;
        display: block;
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1; /* quadrato perfetto */
        object-fit: cover;
        border-radius: 14px;
    }

    .tc-home-feature__vinyl,
    .tc-home-feature__vinyl-img {
        position: absolute !important;
        top: 50% !important;
        right: -54px !important;
        width: 132px !important;
        height: 132px !important;
        transform: translateY(-50%) !important;
        z-index: 1 !important;

        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;

        pointer-events: none;
        user-select: none;
        display: block;
    }

    .tc-home-feature__vinyl img,
    .tc-home-feature__vinyl-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .tc-home-feature h2,
    .tc-home-feature__sub,
    .tc-home-feature__platforms,
    .tc-home-feature__cta {
        position: relative;
        z-index: 5;
    }
}
/* =========================================
   OVERRIDE FINALE VINILE GRANDE
   ========================================= */

@media screen and (min-width: 1100px) {
    .tc-home .tc-home-feature .tc-home-feature__media {
        width: 78% !important;
        margin: 0 auto 18px !important;
        position: relative !important;
        overflow: visible !important;
        aspect-ratio: 1 / 1 !important;
    }

    .tc-home .tc-home-feature .tc-home-feature__cover {
        position: relative !important;
        z-index: 3 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 14px !important;
    }

    .tc-home .tc-home-feature .tc-home-feature__vinyl-img {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        right: -92px !important;
        width: 210px !important;
        height: 210px !important;
        max-width: none !important;
        max-height: none !important;
        transform: translateY(-50%) !important;
        z-index: 1 !important;
        opacity: .98 !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        pointer-events: none !important;
    }

    .tc-home .tc-home-feature .tc-home-feature__vinyl {
        display: none !important;
    }
}
/* =========================================
   RIMOZIONE VIRGOLETTA DECORATIVA BLOCCO STORIA
   ========================================= */

.tc-home-story [class*="quote"],
.tc-home-story [class*="Quote"],
.tc-home-story [class*="virgo"],
.tc-home-story [class*="cit"],
.tc-home-story .quote,
.tc-home-story .quotes,
.tc-home-story .blockquote-icon {
    display: none !important;
}

.tc-home-story h2::before,
.tc-home-story h2::after,
.tc-home-story .tc-home-story__title::before,
.tc-home-story .tc-home-story__title::after,
.tc-home-story .tc-home-story__text::before,
.tc-home-story .tc-home-story__text::after,
.tc-home-story blockquote::before,
.tc-home-story blockquote::after {
    content: "" !important;
    display: none !important;
}