﻿/* --- Gins Highlights (Nouveautés) --- */

.gh-wrapper {
    max-width: 900px; /* un peu plus étroit, pour la lecture */
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

@media (min-width: 992px) {
    .gh-wrapper {
        padding: 2.5rem 0 4rem;
    }
}

/* Header */

.gh-header {
    max-width: 1000px;
    margin: 2.5rem auto 2.5rem;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.gh-heading {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f1118, #151a24);
    color: white;
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 15px 35px rgba(0,0,0,0.45), inset 0 0 25px rgba(191,214,65,0.04);
}

.gh-heading-accent {
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #BC70A4, #BFD641);
    box-shadow: 0 0 12px rgba(191,214,65,0.6);
}

.gh-tagline {
    margin-top: 0.9rem;
    font-size: 1rem;
    color: #666e7c;
    max-width: 600px;
    line-height: 1.5;
}




/* État / messages */

.gh-alert-error {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #ffe5e5;
    color: #7a1f1f;
    border: 1px solid #f3b1b1;
    font-size: 0.95rem;
}

.gh-empty,
.gh-loading {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #6b6f76;
    font-size: 0.97rem;
}

    .gh-loading::after {
        content: "…";
        animation: gh-dots 1.2s infinite steps(4, end);
    }

@keyframes gh-dots {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: "..";
    }

    75% {
        content: "...";
    }

    100% {
        content: "";
    }
}

/* Grid / layout : 1 carte par ligne */

.gh-grid {
    display: grid;
    grid-template-columns: 1fr; /* <-- toujours une seule colonne */
    gap: 1.75rem;
}

/* Si un jour tu veux 2 colonnes sur très grand écran :
@media (min-width: 1200px) {
    .gh-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
*/

/* Card */

.gh-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: radial-gradient(circle at top left, #181d28, #10141b);
    color: #f5f5f5;
    box-shadow: 0 18px 35px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.25s ease-out;
    max-width: 820px; /* largeur max de la carte */
    margin: 0 auto; /* centrée */
}

    .gh-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
    }

/* image / hero */

.gh-card-media {
    position: relative;
    padding: 1.5rem 2rem 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top left, #181d28, #10141b);
    overflow: hidden; /* important pour les bulles */
}

.gh-card-image {
    width: auto;
    max-width: 80%;
    max-height: 260px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0 12px 22px rgba(0,0,0,0.35);
    background: transparent;
}

.gh-media-tags {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 1.5rem;
}

.gh-media-tag {
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(16,20,30,0.9);
    color: #e4e8f4;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
    white-space: nowrap;
}

    /* placeholder si pas d'image */
    .gh-card-image.placeholder {
        width: 100%;
        max-width: 80%;
        max-height: 260px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #c2c6ce;
        font-size: 0.85rem;
        background: linear-gradient(135deg, #252a38, #171a22);
    }

/* overlays / badges */

.gh-media-overlay {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
    mix-blend-mode: soft-light;
}

.gh-badges-top {
    position: absolute;
    left: 1.6rem;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.gh-badge-new {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(188,112,164,0.95);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
}

.gh-badge-country {
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(17,21,27,0.9);
    color: #e7ebf3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.gh-country-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #BFD641, #BC70A4);
}

.gh-badge-rating {
    position: absolute;
    right: 1.6rem;
    top: 1.5rem;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(17,21,27,0.95);
    color: #ffeaa7;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 8px 14px rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
}

.gh-rating-star {
    font-size: 0.9rem;
}

/* body */

.gh-card-body {
    padding: 1.15rem 1.35rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.gh-meta-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(226,229,237,0.85);
}

    .gh-meta-line > span:first-child {
        opacity: 0.9;
    }

.gh-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: rgba(226,229,237,0.8);
}

.gh-title {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(12,16,24,0.95), rgba(20,25,35,0.95));
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 0.2rem;
}


/* Description : tout visible, pas de truncation */

.gh-description {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #dfe3ee;
}

/* multi-colonnes sur grand écran uniquement */
@media (min-width: 1024px) {
    .gh-description {
        column-count: 2;
        column-gap: 2.5rem;
    }
}

.gh-description p {
    margin: 0 0 0.9rem 0;
    line-height: 1.7;
    text-align: justify;
    break-inside: avoid; /* évite de couper un paragraphe en deux colonnes */
}

    /* premier paragraphe légèrement mis en avant */
    .gh-description p:first-child {
        font-weight: 500;
    }

    /* petit point déco en début de paragraphe */
    .gh-description p::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        margin-right: 0.5rem;
        margin-bottom: 0.12rem;
        background: linear-gradient(135deg, #BC70A4, #BFD641);
    }

/* footer / actions */

.gh-card-footer {
    margin-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.gh-meta-small {
    font-size: 0.8rem;
    color: rgba(214,219,230,0.85);
}

.gh-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #BC70A4, #BFD641);
    color: #12151c;
    box-shadow: 0 12px 18px rgba(0,0,0,0.4);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, filter 0.16s ease-out;
}

    .gh-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 22px rgba(0,0,0,0.55);
        filter: brightness(1.03);
    }

    .gh-cta:active {
        transform: translateY(1px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    }

.gh-cta-icon {
    font-size: 0.95rem;
}
/* CONTENEUR DE BULLES */
/* CONTENEUR DE BULLES */
.gh-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* BULLE DE BASE */
/* CONTENEUR DE BULLES */
.gh-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* BULLE DE BASE */
.gh-bubble {
    position: absolute;
    bottom: -30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.55);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 65%);
    opacity: 0;
    animation: gh-bubble-rise 6s linear infinite; /* PLUS RAPIDE */
}

/* Répartition & tailles */
.gh-bubble-1 {
    left: 18%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.gh-bubble-2 {
    left: 32%;
    width: 30px;
    height: 30px;
    animation-delay: -2s;
}

.gh-bubble-3 {
    right: 22%;
    width: 24px;
    height: 24px;
    animation-delay: -4s;
}

.gh-bubble-4 {
    right: 36%;
    width: 34px;
    height: 34px;
    animation-delay: -1s;
}

/* Animation CORRIGÉE */
@keyframes gh-bubble-rise {
    0% {
        transform: translateY(0) scale(0.85);
        opacity: 0;
    }

    8% {
        opacity: 0.8; /* apparaît très vite */
    }

    90% {
        opacity: 0.6; /* reste visible presque tout le trajet */
    }

    100% {
        transform: translateY(-85%) scale(1.05); /* moins haut donc plus visible */
        opacity: 0.2;
    }
}

.gh-card-media::before,
.gh-card-media::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 170px;
    height: 170px;
    border-radius: 42px;
    border: 1px solid rgba(191,214,65,0.6); /* trait plus marqué */
    background: radial-gradient(circle at 20% 20%, rgba(188,112,164,0.55), transparent 60%);
    filter: blur(1px);
    transform: translateY(-50%) rotate(10deg);
    opacity: 0.75; /* bien plus visible */
    pointer-events: none;
}


.gh-card-media::before {
    left: 4%;
}

.gh-card-media::after {
    right: 4%;
    transform: translateY(-50%) rotate(-12deg);
}

/* ----- SEE MORE (vers la liste complète) ----- */

.gh-see-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.gh-see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(135deg, #0f1118, #1a2030);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 10px 25px rgba(0,0,0,0.45), inset 0 0 20px rgba(191,214,65,0.05);
    transition: all 0.25s ease;
}

    .gh-see-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 18px 35px rgba(0,0,0,0.6), inset 0 0 25px rgba(191,214,65,0.08);
    }

    .gh-see-more-btn:active {
        transform: translateY(0);
    }

.gh-see-more-icon {
    font-size: 1.2rem;
    margin-top: 1px;
    transition: transform 0.25s ease;
}

.gh-see-more-btn:hover .gh-see-more-icon {
    transform: translateX(4px);
}

