.gpro-pack-comparator {
    --gpro-transition: 0.25s ease;
}

.gpro-wrapper {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.gpro-card {
    flex: 1 1 280px;
    max-width: 380px;
    position: relative;
}

.gpro-card__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    padding: 32px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    overflow: hidden;
}

.gpro-card.is-highlight .gpro-card__inner {
    border-color: #3c78e8;
}

.gpro-card__badge-slot {
    display: flex;
    width: 100%;
    margin-bottom: 18px;
    min-height: 0;
    position: relative;
}

.gpro-card__badge-slot--pill {
    justify-content: center;
    align-items: flex-start;
}

.gpro-card__badge-slot--topbar {
    justify-content: center;
    align-items: flex-start;
}

.gpro-card__badge-slot--circle {
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 84px;
}

.gpro-card__badge-slot--ribbon {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 92px;
    margin-bottom: 10px;
    position: relative;
}

.gpro-card__badge-slot--ribbon .gpro-badge.ribbon {
    position: relative;
    width: 140px;
    height: 140px;
    background: transparent !important;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: -32px;
    margin-right: -32px;
    flex: 0 0 140px;
}

.gpro-card__badge-slot--ribbon .gpro-badge.ribbon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #c40011;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.gpro-card__badge-slot--ribbon .gpro-badge.ribbon span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 30px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 2;
}

.gpro-card__content {
    text-align: center;
}

.gpro-card__title {
    margin: 0 0 10px;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 800;
}

.gpro-card__subtitle {
    margin: 0 0 22px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.gpro-feature-list {
    margin: 0 0 28px;
    padding-left: 1.1em;
    display: inline-block;
    text-align: left;
}

.gpro-feature-list li {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.45;
}

.gpro-card__footer {
    margin-top: auto;
    text-align: center;
}

.gpro-btn,
.gpro-compare-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--gpro-transition);
    padding: 18px 34px;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid transparent;
}

.gpro-btn.solid,
.gpro-compare-toggle {
    background: #4968f2;
    color: #fff;
}

.gpro-btn.outline {
    background: transparent;
    border-color: #4968f2;
    color: #4968f2;
}

.gpro-btn.ghost {
    background: transparent;
    color: #4968f2;
}

.gpro-btn:hover,
.gpro-compare-toggle:hover {
    transform: translateY(-1px);
}

.gpro-badge {
    z-index: 4;
    background: #c40011;
    color: #fff;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    position: relative;
}

.gpro-badge span {
    display: block;
}

/* Pilule */
.gpro-badge.pill {
    padding: 10px 18px;
    border-radius: 999px;
    max-width: 100%;
    white-space: nowrap;
}

/* Pastille ronde */
.gpro-badge.circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 8px;
    text-align: center;
}

/* Bandeau haut */
.gpro-badge.topbar {
    width: 100%;
    padding: 18px 22px;
    border-radius: 999px;
    font-size: 16px;
}



/* Comparateur */
.gpro-comparator-block {
    text-align: center;
}

.gpro-compare-toggle {
    min-width: min(100%, 460px);
    margin: 0 auto 14px;
}

.gpro-comparator {
    display: none;
    margin-top: 10px;
    overflow-x: auto;
}

.gpro-comparator.is-open {
    display: block;
}

.gpro-comparator table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.gpro-comparator th,
.gpro-comparator td {
    border: 1px solid #d9d9d9;
    padding: 20px 18px;
    text-align: center;
    vertical-align: middle;
}

.gpro-comparator thead th {
    background: #f8f8f8;
    font-weight: 700;
}

.gpro-feature-name {
    text-align: left;
    font-weight: 500;
}

.gpro-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.gpro-feature-icon.yes {
    color: #32b56b;
}

.gpro-feature-icon.no {
    color: #ef5376;
}

/* Tête tableau = toujours bandeau haut */
.gpro-compare-head {
    position: relative;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding-top: 20px;
}

.gpro-table-badge {
    position: absolute;
    background: #c40011;
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    text-align: center;
}

.gpro-table-badge span {
    display: block;
}

.gpro-table-badge.topbar {
    top: -20px;
    left: -18px;
    right: -18px;
    padding: 8px 12px;
    border-radius: 0;
    max-width: none;
}

/* Sécurité : même si une autre classe passe, on force un rendu bandeau */
.gpro-table-badge.ribbon,
.gpro-table-badge.circle,
.gpro-table-badge.pill {
    top: -20px;
    left: -18px;
    right: -18px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    border-radius: 0;
    max-width: none;
    transform: none;
    display: block;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .gpro-card {
        max-width: none;
    }

    .gpro-card__inner {
        min-height: 460px;
    }
}

@media (max-width: 767px) {
    .gpro-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .gpro-card {
        max-width: none;
    }

    .gpro-card__title {
        font-size: 34px;
    }

    .gpro-card__subtitle {
        font-size: 18px;
    }

    .gpro-comparator th,
    .gpro-comparator td {
        min-width: 130px;
    }

    .gpro-badge.pill {
        white-space: normal;
    }

    .gpro-badge.circle {
        width: 72px;
        height: 72px;
        font-size: 11px;
    }

    .gpro-card__badge-slot--circle {
        min-height: 72px;
    }


}