﻿@font-face {
    font-family: 'Libre Franklin';
    src: url('../fonts/libre-franklin-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: 'Pacifico';
    src: url('../fonts/pacifico-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-300-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-500-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Libre Franklin', sans-serif;
        }
        p {
             color: #6c6c6c;
             font-size: 14px;
         }
         
        .h2 {
            font-family: Pacifico, sans-serif;
        }

        .marginemin {
            margin-top: -17px;
        }
        .marginemin1 {
            margin-bottom: -17px;
        }
.canvasbu {
    border: none;
}
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}
.instagram-link:hover,
.instagram-link:focus {
    color: #93507a !important;
}
        .circle {
            border-radius: 200px 200px;
        }
        .marginimg{
            margin-top:-100px;

            width:250px;
            height:470px;
            z-index:20000;
        }
        .viewanchor{
            color:black !important;
        }
        .viewanchor:hover{
            color:#090909;
        }
         h4 {
            font-size: 13px;
            line-height: 23px;
            font-weight: 600;
            letter-spacing: 1px;
        }
         a i {
            color: #6c6c6c;
            font-size: 20px;
        }
        .tst {
                background-color: #f5f5f5;
                height: 220px;
            }
         .display {
             display: inline-block;
             width: 32px;
             height: 32px;
             line-height:28px;
             border: 1px solid #dfdfdf;
         }

         .display:hover {
              border: 1px solid #93507a;
         }

         .display:hover i {
             color: black;
             font-weight: bold;
         }

        .bg6 {
            background-color: #f8f8f8;
            border-top: 1px solid #ebebeb;
            border-bottom : 1px solid #ebebeb;
        }

        .bg1 {
            background-image: linear-gradient(120deg, #f8eef1 0%, #f3e6ef 55%, #ebe0f2 100%);
            background-position: center;
            background-repeat: no-repeat;
        }

        .bg2 {
            background-color: #93507a;
            width: 40%;
            border: 30px solid #7d4a72;
        }

        .bg3 {
            background-color: #76538f;
            width: 40%;
            border: 30px solid #63395a;
        }

        .bg4 {
            background-color: #7d4a72;
            width: 40%;
            border: 30px solid #63395a;
        }

        .bg5 {
            background-image: linear-gradient(120deg, #f8eef1 0%, #f3e6ef 55%, #ebe0f2 100%);
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        .bg7 {
            background-color: #f8f5f0;
            background-image: none;
        }
        .bg9 {
            height :6px;
            background-image: linear-gradient(90deg, #cf94ae, #a789c4, #7d4a72);
            background-position: 0px 51%;
            background-size: cover;
        }

        .bg11 {
            background-color: #c9789c;
        }

        .bxl-telegram {
    font-size: 48px;
}

        .subs {
    background-color: #5c3552;
    border: none;
    box-shadow: none;
    height: 45px;
    transition: all 400ms ease;
    font-size: 12px;
    margin-left: -38px;
}

        .subs:hover {
        background-color: #93507a;
    }

        .enterinp {
            height: 45px;
            border-radius: unset;
        }

        .sign {
            color: #a1a1a1;
            cursor: pointer;
        }

        .form-check-input {
    box-shadow: none;
}

        .form-check-input:checked {
    background-color: #93507a;
    border-color: #93507a;
    }

        .navlinks {
            margin-left: 16px;
            margin-right: 16px;
        }


        .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
            background: transparent;
            color: #93507a !important;
        }

        .act {
            color: #93507a;
            font-family: 'Playfair Display';
            font-size: 68px;
        }

        .red {
            color: #a9678f;
            font-family: Poppins, sans-serif;
        }

        .scale {
            width: 100%;
            height: auto;
            overflow: hidden;
        }

            .scale img {
                width: 100%;
                transform: scale(1);
                transition: 0.3s ease-out;
            }

            .scale:hover img {
                transform: scale(1.1);
                width: 100%;
            }

        .nav-link {
            border-top: 1px solid #dcdcdc;
            margin-top: -1px;
        }
        @media screen and (max-width:790px) {
            .subs {
        margin-left: 0;
    }

            header .navbar-nav > li {
        border-bottom: 1px solid #ccc5c5;
    }
        }
        @media screen and (min-width:991px) {
            .navbar-light {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1000;
    }
            .borheader {
                border-bottom: 0.5px solid #dedede !important;
            }
            .navepad {
        margin: 0 20px !important;
    }
        }
        @media screen and (max-width:991px) {
            .navepad {
        padding-top: 16px !important;
        padding-bottom: 18px !important;
    }
            .act {
                font-size: 30px;
            }

        }
/* --- Borsolando: bottoni brand (sovrascrive il rosso di Bootstrap) --- */
.btn-danger,
.btn-danger:active,
.btn-danger.active {
    background-color: #93507a !important;
    border-color: #93507a !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:focus-visible {
    background-color: #74406a !important;
    border-color: #74406a !important;
    box-shadow: 0 0 0 0.25rem rgba(147, 80, 122, 0.25) !important;
}
.btn-outline-dark {
    color: #5c3552 !important;
    border-color: #93507a !important;
}
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
    color: #fff !important;
    background-color: #5c3552 !important;
    border-color: #5c3552 !important;
    box-shadow: 0 0 0 0.25rem rgba(147, 80, 122, 0.25) !important;
}
.social-card {
    border: 1px solid #ebebeb;
    transition: all 300ms ease;
}
.social-card:hover {
    border-color: #93507a;
    transform: translateY(-3px);
}
.social-card i {
    font-size: 30px;
    color: #93507a;
}
.social-card .bxl-whatsapp,
#whatsappSendBtn .bxl-whatsapp,
#bagModalWhatsapp .bxl-whatsapp {
    color: #25D366;
}
.bag-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    background-color: #f5f5f5;
}
.bag-card {
    cursor: zoom-in;
}
.bag-modal .modal-content {
    background: #2f1c2a;
    border: none;
    border-radius: 12px;
    padding: 1.5rem 1.25rem 1.75rem;
    max-height: 92vh;
    overflow-y: auto;
    overflow-anchor: none;
}
.bag-modal .carousel-item img {
    max-height: 50vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    border-radius: 6px;
}
.bag-modal .carousel-control-prev,
.bag-modal .carousel-control-next {
    width: 8%;
}
.bag-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.bag-modal-description {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.5;
}
.bag-photo-sm {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f5f5f5;
}
.coming-soon-card {
    height: 300px;
    background-color: #f8f5f0;
    border: 1px dashed #d8cdbf;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Bootstrap 5.3 aggiunge .text-black solo in alcune build: la definiamo qui
   per sicurezza, dato che il footer e altri elementi la usano. */
.text-black {
    color: #1a1a1a !important;
}

/* Su mobile la sezione "showcase" della home (bag con margin-top negativo,
   pensata per l'overlay a due colonne su desktop) lasciava un grosso vuoto
   bianco tra la foto e il testo: qui riduciamo gli spazi verticali solo sotto i 992px. */
@media screen and (max-width:991px) {
    .border-bottom.border-top.py-5.mt-5 {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .border-bottom.border-top.py-5.mt-5 > .container.my-5.py-5 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    .marginimg {
        margin-top: 0;
    }
}

/* --- Revisione finale: responsive, accessibilità e contenuti condivisi --- */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: #262126;
}

p {
    color: #59545a;
    font-size: 16px;
    line-height: 1.65;
}

.red {
    color: #8a3e68;
}

.text-black-50 {
    color: #5e5860 !important;
}

.brand-wordmark {
    display: inline-block;
    color: #1a1a1a;
    font-family: Pacifico, cursive;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 3000;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #5c3552;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #bd7b98;
    outline-offset: 3px;
}

.instagram-link {
    display: none;
}

.conta,
.conta > *,
.navbar > .container-fluid {
    min-width: 0;
}

.site-footer a:not(.btn) {
    color: #5c3552;
}

.footer-heading {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    padding: 1.25rem;
    border-top: 1px solid #ebebeb;
}

.footer-legal a,
.footer-legal button {
    padding: 0;
    color: #5c3552;
    background: none;
    border: 0;
    font-size: 0.875rem;
    text-decoration: underline;
}

.trust-card,
.process-card {
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid #eadfe6;
    border-radius: 8px;
}

.trust-card i,
.process-card i {
    color: #93507a;
    font-size: 2.4rem;
}

.trust-card h3,
.process-card h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1.2rem;
}

.bag-card:focus-visible {
    outline: 3px solid #93507a;
    outline-offset: 4px;
}

.social-cta {
    background: linear-gradient(120deg, #f8eef1, #ebe0f2);
}

.contact-quick-link {
    color: #5c3552;
    font-weight: 600;
    text-decoration: none;
}

.contact-quick-link:hover {
    text-decoration: underline;
}

.legal-page {
    max-width: 860px;
}

.legal-page h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 2500;
    max-width: 760px;
    margin: 0 auto;
    padding: 1.25rem;
    color: #2b2229;
    background: #fff;
    border: 1px solid #d8c8d1;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(53, 31, 47, 0.2);
}

.cookie-banner p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media screen and (min-width: 992px) {
    .instagram-link {
        display: inline-flex;
    }
}

@media screen and (max-width: 991px) {
    .navbar-brand {
        max-width: calc(100% - 88px);
    }

    .navbar-toggler {
        margin-left: auto !important;
        flex: 0 0 auto;
    }

    .conta {
        width: 100%;
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .conta > [class*="col-"] {
        width: 100%;
    }

    .conta > .row {
        margin-right: 0;
        margin-left: 0;
    }

    .conta > .mx-auto {
        max-width: 100%;
    }

    .conta h1,
    .conta h2 {
        overflow-wrap: anywhere;
    }

    .hero-compact {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .hero-compact .container,
    .hero-compact .conta {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .bag-photo {
        height: 360px;
    }

    .bg1 img {
        height: 400px !important;
    }
}

@media screen and (max-width: 420px) {
    .brand-wordmark {
        font-size: 1.5rem;
    }

    h1 {
        font-size: clamp(1.8rem, 9vw, 2.35rem);
    }

    .act {
        font-size: 1.25em;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}

/* La filosofia riprende il tavolo creativo della Home. */
.philosophy-showcase {
    position: relative;
    overflow: hidden;
}

.philosophy-card {
    min-height: 390px;
}

.philosophy-mark {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 1.4rem;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #b76f91, #7d4a72);
    border-radius: 48% 52% 44% 56%;
    box-shadow: 0 9px 20px rgba(92, 53, 82, 0.18);
    transform: rotate(-4deg);
}

.philosophy-mark i {
    color: inherit;
    font-size: 2rem;
}

.philosophy-card--colors .philosophy-mark {
    color: #6b3c60;
    background: #f0ccd9;
    box-shadow: none;
    transform: rotate(4deg);
}

.philosophy-card .philosophy-caption {
    margin-bottom: 0.75rem;
    color: #7d4a72;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.philosophy-card--colors .philosophy-caption {
    color: #f0ccd9;
}

.philosophy-thread {
    display: flex;
    gap: 0;
    align-items: center;
    margin-top: 1.7rem;
}

.philosophy-thread span {
    width: 34px;
    height: 22px;
    margin-left: -5px;
    border: 3px solid #c98aa8;
    border-radius: 50%;
    transform: rotate(-12deg);
}

.philosophy-thread span:nth-child(even) {
    border-color: #8b668f;
    transform: rotate(12deg);
}

.philosophy-swatches {
    display: flex;
    margin-top: 1.7rem;
}

.philosophy-swatches span {
    width: 58px;
    height: 58px;
    margin-left: -8px;
    border: 3px solid rgba(255, 255, 255, 0.75);
    border-radius: 50% 46% 52% 48%;
    box-shadow: 0 6px 14px rgba(33, 18, 30, 0.16);
}

.philosophy-swatches span:nth-child(1) { margin-left: 0; background: #d49bb5; transform: rotate(-5deg); }
.philosophy-swatches span:nth-child(2) { background: #9b7abb; transform: rotate(4deg); }
.philosophy-swatches span:nth-child(3) { background: #d6a743; transform: rotate(-3deg); }
.philosophy-swatches span:nth-child(4) { background: #8fb4d9; transform: rotate(6deg); }

.philosophy-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    margin-top: 1rem;
    color: #5c3552;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.philosophy-link span {
    transition: transform 180ms ease;
}

.philosophy-link:hover span {
    transform: translateX(4px);
}

@media screen and (max-width: 991px) {
    .philosophy-card {
        min-height: 0;
    }
}

/* Tema atelier condiviso: superfici calde e carta, senza perdere respiro. */
body {
    background-color: #fbf8f5;
}

header .navbar {
    background-color: rgba(255, 252, 249, 0.96) !important;
    box-shadow: 0 1px 0 rgba(92, 53, 82, 0.08);
    backdrop-filter: blur(10px);
}

header .canvasbu {
    background-color: transparent !important;
}

.navbar-collapse {
    background-color: #fffcf9;
}

.bg6 {
    background-color: #f3ebef;
    background-image:
        radial-gradient(circle at 5% 15%, rgba(201, 120, 156, 0.09) 0 75px, transparent 76px),
        radial-gradient(circle at 95% 85%, rgba(118, 83, 143, 0.08) 0 95px, transparent 96px);
    border-color: #e4d7df;
}

.bg7 {
    background-color: #f8f1ed;
    background-image:
        radial-gradient(circle at 88% 20%, rgba(147, 80, 122, 0.1) 0 110px, transparent 111px);
}

.trust-card,
.process-card,
.social-card {
    background-color: #fffdf9;
    border-color: #e5d6de;
    border-radius: 7px 22px 9px 19px;
}

#whatsappForm {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: #fffdf9;
    border: 1px solid #e5d6de;
    border-radius: 8px 24px 10px 20px;
    box-shadow: 0 13px 30px rgba(78, 50, 70, 0.08);
}

#whatsappForm a {
    color: #5c3552;
    font-weight: 600;
}

.form-control {
    background-color: #fffaf7;
    border-color: #d8c8d1;
}

.form-control:focus {
    background-color: #fff;
    border-color: #93507a;
    box-shadow: 0 0 0 0.25rem rgba(147, 80, 122, 0.14);
}

.bag-card {
    margin-bottom: 1rem;
    padding: 0.45rem !important;
    background: #fffdf9;
    border: 1px solid #eadfe5 !important;
    border-radius: 8px 20px 8px 18px;
    box-shadow: 0 9px 24px rgba(78, 50, 70, 0.06);
}

.bag-card img,
.coming-soon-card {
    border-radius: 5px 15px 5px 13px;
}

.coming-soon-card {
    background-color: #f5eaef;
    border-color: #cfb5c3;
}

.legal-page {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    padding: clamp(1.5rem, 4vw, 3rem) !important;
    background: #fffdf9;
    border: 1px solid #e5d6de;
    border-radius: 8px 26px 10px 22px;
    box-shadow: 0 14px 32px rgba(78, 50, 70, 0.07);
}

.site-footer {
    background-color: #f1e9ed !important;
    background-image:
        radial-gradient(circle at 12% 100%, rgba(147, 80, 122, 0.08) 0 100px, transparent 101px);
    border-top: 1px solid #dfd0d8;
}

.site-footer > div {
    background-color: transparent !important;
}

.footer-legal {
    border-color: #dacbd3;
}

@media screen and (max-width: 991px) {
    .navbar-collapse {
        padding-right: 1rem;
        padding-left: 1rem;
        border-top: 1px solid #eadfe5;
    }

    .bg6,
    .bg7,
    .site-footer {
        background-size: 220px 220px;
    }

    .bag-card {
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 420px) {
    .legal-page {
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        border-radius: 6px 18px 8px 15px;
    }
}

/* Movimento leggero, ispirato al ritmo della lavorazione artigianale. */
.motion-ready .reveal-item {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.motion-ready .reveal-item.reveal-soft {
    transform: translate3d(0, 14px, 0) scale(0.992);
}

.motion-ready .reveal-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
}

.cookie-banner {
    animation: cookie-rise 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cookie-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.handmade-float {
    animation: handmade-float 8s ease-in-out infinite;
    transform-origin: 50% 55%;
}

@keyframes handmade-float {
    0%, 100% { transform: translateY(0) rotate(-0.25deg); }
    50% { transform: translateY(-6px) rotate(0.25deg); }
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-2px);
    }

    .bag-card,
    .trust-card,
    .process-card {
        transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    }

    .bag-card:hover {
        transform: translateY(-5px);
    }

    .bag-card:hover img,
    .scale:hover img {
        transform: scale(1.035);
    }

    .trust-card:hover,
    .process-card:hover {
        transform: translateY(-4px);
        border-color: #d8bdcc;
        box-shadow: 0 14px 30px rgba(92, 53, 82, 0.09);
    }
}

@media screen and (max-width: 767px) {
    .motion-ready .reveal-item,
    .motion-ready .reveal-item.reveal-soft {
        transform: translate3d(0, 12px, 0);
        transition-duration: 540ms;
    }

    .motion-ready .reveal-item.is-visible {
        transform: translate3d(0, 0, 0);
    }

    .handmade-float {
        animation-duration: 10s;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Un piccolo tavolo creativo: niente foto duplicate, solo materia e dettagli. */
.atelier-showcase {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(201, 120, 156, 0.12) 0 90px, transparent 91px),
        radial-gradient(circle at 92% 82%, rgba(118, 83, 143, 0.1) 0 120px, transparent 121px),
        #fbf8f5;
}

.atelier-intro {
    max-width: 680px;
}

.atelier-intro h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.04em;
}

.atelier-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.atelier-card {
    position: relative;
    min-height: 350px;
    padding: 2rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7dbe2;
    border-radius: 7px 24px 9px 20px;
    box-shadow: 0 13px 28px rgba(78, 50, 70, 0.08);
}

.atelier-card:nth-child(1) {
    transform: rotate(-0.7deg);
}

.atelier-card:nth-child(2) {
    margin-top: 1.5rem;
    margin-bottom: -1.5rem;
    transform: rotate(0.5deg);
}

.atelier-card:nth-child(3) {
    transform: rotate(-0.35deg);
}

.atelier-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 82px;
    height: 25px;
    background: rgba(221, 196, 207, 0.48);
    transform: translateX(-50%) rotate(-2deg);
}

.atelier-kicker {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 1.2rem;
    color: #7d4a72;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.atelier-kicker span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    background: #93507a;
    border-radius: 50%;
    letter-spacing: 0;
}

.atelier-card h3 {
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.65rem, 2.2vw, 2rem);
}

.yarn-palette {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 125px;
    margin-top: 1.6rem;
    padding-left: 0.25rem;
}

.yarn-ball {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    margin-left: -12px;
    background-color: var(--yarn-color);
    background-image: repeating-linear-gradient(155deg, transparent 0 7px, rgba(255, 255, 255, 0.23) 8px 10px, transparent 11px 16px);
    border: 3px solid rgba(255, 255, 255, 0.66);
    border-radius: 48% 52% 45% 55%;
    box-shadow: 0 8px 15px rgba(67, 43, 60, 0.12);
    transform: rotate(var(--yarn-rotate));
}

.yarn-ball:nth-child(even) {
    width: 64px;
    height: 64px;
    margin-bottom: 38px;
}

.yarn-ball::after {
    content: '';
    position: absolute;
    right: -18px;
    bottom: 4px;
    width: 28px;
    height: 18px;
    border-bottom: 3px solid var(--yarn-color);
    border-radius: 50%;
    transform: rotate(18deg);
}

.yarn-mauve { --yarn-color: #93507a; --yarn-rotate: -7deg; }
.yarn-lilac { --yarn-color: #9b7abb; --yarn-rotate: 5deg; }
.yarn-honey { --yarn-color: #d6a743; --yarn-rotate: -3deg; }
.yarn-sky { --yarn-color: #8fb4d9; --yarn-rotate: 8deg; }
.yarn-clay { --yarn-color: #b7664d; --yarn-rotate: -5deg; }

.atelier-card--stitch {
    color: #fff;
    background: #6b3c60;
    border-color: #6b3c60;
}

.atelier-card--stitch .atelier-kicker,
.atelier-card--stitch p {
    color: rgba(255, 255, 255, 0.84);
}

.atelier-card--stitch .atelier-kicker span {
    color: #6b3c60;
    background: #f0ccd9;
}

.stitch-sample {
    display: grid;
    gap: 8px;
    margin: 1.8rem -2rem 1.5rem;
    transform: rotate(-2deg);
}

.stitch-sample span {
    height: 25px;
    background:
        radial-gradient(ellipse at 50% 100%, transparent 53%, rgba(255,255,255,0.92) 55% 64%, transparent 66%) 0 0 / 34px 24px repeat-x;
}

.stitch-sample span:nth-child(even) {
    margin-left: 17px;
}

.atelier-note {
    margin: 0;
    font-family: Pacifico, cursive;
    font-size: 1.05rem;
    text-align: right;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.8rem;
}

.detail-tags span {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    padding: 0.65rem 0.85rem;
    color: #5c3552;
    background: #f7edf2;
    border: 1px solid #e1cbd6;
    border-radius: 999px;
    font-size: 0.88rem;
    transform: rotate(-1deg);
}

.detail-tags span:nth-child(even) {
    background: #f0ebf7;
    transform: rotate(1deg);
}

.detail-tags i {
    color: #93507a;
    font-size: 1rem;
}

.atelier-cta p {
    color: #5c3552;
    font-family: Pacifico, cursive;
    font-size: 1.25rem;
}

@media (hover: hover) and (pointer: fine) {
    .atelier-card {
        transition: transform 260ms ease, box-shadow 260ms ease;
    }

    .atelier-card:nth-child(1):hover,
    .atelier-card:nth-child(2):hover,
    .atelier-card:nth-child(3):hover {
        transform: translateY(-5px) rotate(0);
        box-shadow: 0 20px 38px rgba(78, 50, 70, 0.14);
    }

    .yarn-ball {
        transition: transform 260ms ease;
    }

    .atelier-card:hover .yarn-ball {
        transform: translateY(-4px) rotate(var(--yarn-rotate));
    }
}

@media screen and (max-width: 991px) {
    .atelier-board {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-right: auto;
        margin-left: auto;
    }

    .atelier-card,
    .atelier-card:nth-child(1),
    .atelier-card:nth-child(2),
    .atelier-card:nth-child(3) {
        min-height: 0;
        margin: 0;
        transform: none;
    }
}

@media screen and (max-width: 420px) {
    .atelier-card {
        padding: 1.5rem;
    }

    .yarn-ball {
        width: 61px;
        height: 61px;
    }

    .yarn-ball:nth-child(even) {
        width: 54px;
        height: 54px;
    }

    .stitch-sample {
        margin-right: -1.5rem;
        margin-left: -1.5rem;
    }
}

@media screen and (min-width: 992px) {
    .atelier-card.philosophy-card {
        min-height: 390px;
    }

    .atelier-card.process-step {
        min-height: 390px;
    }
}

.process-showcase {
    position: relative;
    overflow: hidden;
}

.process-step--idea .philosophy-mark {
    background: linear-gradient(135deg, #a789c4, #7d4a72);
}

.process-step--finish .philosophy-mark {
    background: linear-gradient(135deg, #7d4a72, #cf94ae);
}

.process-step--work .atelier-note {
    color: #f0ccd9;
}

/* Percorso di lavorazione: una linea continua, distinto dalle schede della Home. */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 43px;
    right: 14%;
    left: 14%;
    z-index: 0;
    border-top: 3px dashed #c188a3;
}

.process-moment {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
}

.process-node {
    position: relative;
    display: grid;
    width: 86px;
    height: 86px;
    margin-bottom: 1.25rem;
    place-items: center;
    color: #fff;
    background: #93507a;
    border: 7px solid #f3ebef;
    border-radius: 47% 53% 45% 55%;
    box-shadow: 0 0 0 2px #c8a9b8, 0 9px 18px rgba(78, 50, 70, 0.16);
    transform: rotate(-3deg);
}

.process-moment--work .process-node {
    background: #76538f;
    transform: rotate(3deg);
}

.process-moment--finish .process-node {
    background: #7d4a72;
    transform: rotate(-2deg);
}

.process-node span {
    position: absolute;
    top: -8px;
    right: -7px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: #5c3552;
    background: #fffaf7;
    border: 1px solid #d4bac7;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
}

.process-node i {
    color: inherit;
    font-size: 1.9rem;
}

.process-content {
    width: 100%;
    min-height: 245px;
    padding: 1.65rem;
    background: #fffdf9;
    border: 1px solid #dfd0d8;
    border-top: 5px solid #b66f91;
    border-radius: 5px 18px 8px 15px;
    box-shadow: 0 10px 24px rgba(78, 50, 70, 0.07);
}

.process-moment--work .process-content {
    border-top-color: #76538f;
}

.process-moment--finish .process-content {
    border-top-color: #7d4a72;
}

.process-content h3 {
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
}

.process-mini-palette,
.process-mini-stitch,
.process-checks {
    margin-top: 1.2rem;
}

.process-mini-palette {
    display: flex;
}

.process-mini-palette span {
    width: 38px;
    height: 38px;
    margin-left: -5px;
    border: 3px solid #fffdf9;
    border-radius: 48% 52% 45% 55%;
    box-shadow: 0 4px 9px rgba(67, 43, 60, 0.13);
}

.process-mini-palette span:nth-child(1) { margin-left: 0; background: #93507a; }
.process-mini-palette span:nth-child(2) { background: #9b7abb; }
.process-mini-palette span:nth-child(3) { background: #d6a743; }
.process-mini-palette span:nth-child(4) { background: #8fb4d9; }

.process-mini-stitch {
    display: flex;
    align-items: center;
}

.process-mini-stitch span {
    width: 38px;
    height: 24px;
    margin-left: -6px;
    border: 3px solid #9b7abb;
    border-radius: 50%;
    transform: rotate(-12deg);
}

.process-mini-stitch span:nth-child(even) {
    border-color: #c987a5;
    transform: rotate(12deg);
}

.process-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.process-checks span {
    padding: 0.45rem 0.65rem;
    color: #5c3552;
    background: #f5e9ef;
    border: 1px solid #dcc5d1;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .process-timeline::before {
        top: 42px;
        bottom: 42px;
        left: 42px;
        border-top: 0;
        border-left: 3px dashed #c188a3;
    }

    .process-moment {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 1rem;
        align-items: start;
        justify-items: stretch;
    }

    .process-node {
        margin-bottom: 0;
    }

    .process-content {
        min-height: 0;
    }
}

@media screen and (max-width: 420px) {
    .process-moment {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0.75rem;
    }

    .process-node {
        width: 72px;
        height: 72px;
        border-width: 6px;
    }

    .process-timeline::before {
        top: 36px;
        bottom: 36px;
        left: 35px;
    }

    .process-content {
        padding: 1.15rem;
    }

    .process-content h3 {
        font-size: 1.2rem;
    }
}
