/**
 * Partenaires — layout page (coque : fs-config-shell.css).
 */

.fp-page .page-wrapper.min-h-screen.p-6 {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
}

.fp-page-header {
    margin-bottom: 1.75rem;
}

.fp-back-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.65rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.fp-back-link:hover {
    color: #fff;
}

.fp-page-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.fp-page-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.fp-page-header__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fp-page-header__title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.fp-page-header__sub {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0.2rem 0 0;
    line-height: 1.45;
}

.fp-section {
    margin-bottom: 1.5rem;
}

.fp-section-head {
    margin-bottom: 1.5rem;
}

.fp-section-head h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.fp-section-head p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
    font-size: 0.88rem;
    max-width: none;
}

.fp-section-label {
    display: none;
}

/* ── Alliés de la Forge ─────────────────────────── */
.fp-allies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.fp-ally-link {
    text-decoration: none;
    color: inherit;
}

.fp-ally-card {
    width: 11.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.fp-ally-link:hover .fp-ally-card,
.fp-ally-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.15);
}

.fp-ally-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid rgba(249, 115, 22, 0.28);
    display: block;
}

.fp-ally-logo.partner-logo--brand {
    width: 8.75rem;
    height: auto;
    max-height: 4.5rem;
    border-radius: 12px;
    border: none;
    object-fit: contain;
}

.fp-ally-name {
    font-weight: 700;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.35rem;
}

.fp-ally-tagline {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.fp-ally-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

/* ── Offres Marché ──────────────────────────────── */
.fp-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

.fp-offer-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.35rem 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fp-offer-card--highlight {
    border-color: rgba(249, 115, 22, 0.35);
    background: linear-gradient(160deg, rgba(249, 115, 22, 0.08), rgba(255, 255, 255, 0.02));
}

.fp-offer-card--marche {
    max-width: 420px;
    justify-self: center;
}

.fp-offer-ribbon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fbbf24;
}

.fp-offer-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.fp-offer-logo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249, 115, 22, 0.25);
    flex-shrink: 0;
}

.fp-offer-logo.partner-logo--brand {
    width: 5.5rem;
    height: auto;
    max-height: 3rem;
    border-radius: 8px;
    border: none;
    object-fit: contain;
}

.fp-offer-partner {
    font-weight: 700;
    font-size: 0.95rem;
}

.fp-offer-status {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.fp-offer-status--coming_soon {
    color: #fcd34d;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.fp-offer-status--active {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.fp-offer-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.fp-offer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
    flex: 1;
}

.fp-offer-hint {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    margin: 0;
}

.fp-offer-promo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fp-offer-promo-code {
    font-family: ui-monospace, monospace;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: #fbbf24;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.fp-offer-copy {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
}

.fp-offer-actions {
    margin-top: auto;
    padding-top: 0.25rem;
}

.fp-offer-actions .btn-primary {
    width: 100%;
    justify-content: center;
}

.fp-offers-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    max-width: 36rem;
    margin: 0 auto;
}

.fp-offers-empty i {
    font-size: 2rem;
    color: #f97316;
    margin-bottom: 1rem;
}

.fp-offers-empty p {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.fp-offers-empty span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.fp-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Hub partenariats (dashboard) ───────────────── */
.fp-crm-placeholder {
    text-align: center;
    padding: 2rem 1.5rem;
}

.fp-crm-placeholder i {
    font-size: 2.25rem;
    color: rgba(249, 115, 22, 0.75);
    margin-bottom: 1rem;
}

.fp-crm-placeholder h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fp-crm-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .fp-allies-grid {
        gap: 1.25rem;
    }

    .fp-ally-card {
        width: 10.5rem;
    }
}
