/* ====== Layout visuel + panneau ====== */
.wrap {
    display: grid;
    place-items: center;
    padding: 0px 16px;
    margin-bottom: 50px;
}

.visual-layout {
    display: flex;
    gap: 16px;
    align-items: start;
    justify-content: center;
}

.visual-wrap {
    max-width: 50%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.visual-wrap img {
    border-radius: 12px;
}

/* Panneau collé à droite de l'image */
.share-panel {
    display: grid;
    gap: 10px;
    width: 72px;           /* colonne étroite */
}

.share-title {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
}

.share-btn {
    color: #000;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .08s ease;
}
.share-btn:hover { transform: translateY(-2px); }
.share-btn:active { transform: none; }
.share-btn svg { width: 22px; height: 22px; }

/* ====== Mobile : panneau au-dessus de l’image ====== */
@media (max-width: 900px) {
    .visual-layout { gap: 12px; flex-direction: column; align-items: center; }
    .share-panel { order: -1; width: 50%; grid-auto-flow: column; grid-auto-columns: 1fr; }
    .share-btn { aspect-ratio: unset; height: 44px; }
    .share-title { display: none; }
}

/* petit toast “copié” */
.toast {
    position: fixed;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.toast.show { opacity: 1; }