/* Marché + Acteurs — langage Kokoricoo (navy / or) */

.pro-page {
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.pro-kicker,
.mkt-kicker {
    display: inline-block;
    margin: 0 0 .55rem;
    padding: .22rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pro-kicker {
    background: rgba(29, 91, 184, .12);
    color: #0b3a6e;
}

.pro-page > h1,
.pro-page .pro-intro h1 {
    margin: 0 0 .45rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: #0f1b2d;
}

.pro-lead {
    max-width: 62ch;
    margin: 0;
    color: #5b6b82;
    line-height: 1.55;
}

/* —— Hero marché / acteurs —— */
.mkt-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, .75fr);
    gap: 1.15rem;
    align-items: stretch;
    margin: 0 0 1.15rem;
    padding: 1.55rem 1.5rem 1.4rem;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(147, 197, 253, .22), transparent 55%),
        linear-gradient(145deg, #082a52 0%, #0b3a6e 48%, #1d5bb8 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(11, 58, 110, .2);
}

.pro-page .mkt-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 2.45rem);
    margin: 0 0 .5rem;
}

.mkt-hero .pro-lead {
    max-width: 56ch;
    color: #dbe7f8;
}

.mkt-kicker {
    background: rgba(255, 255, 255, .14);
    color: #bfdbfe;
}

.mkt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.15rem;
}

.mkt-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 11px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease;
}

.mkt-btn:hover { transform: translateY(-1px); }

.mkt-btn-light {
    background: #fff;
    color: #0b3a6e;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .22);
}

.mkt-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .45);
}

.mkt-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.mkt-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: .55rem;
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(6px);
}

.mkt-aside .gi-tile {
    margin-bottom: .15rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
}

.mkt-aside strong {
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: 1.08rem;
    line-height: 1.25;
}

.mkt-aside p {
    margin: 0;
    color: #dbe7f8;
    font-size: .88rem;
    line-height: 1.5;
}

.mkt-aside a {
    color: #93c5fd;
    font-weight: 700;
    text-decoration: none;
    margin-top: .15rem;
}

.mkt-aside a:hover { text-decoration: underline; }

/* Steps — pleine largeur, 3 colonnes égales */
.mkt-steps.gi-steps,
.gi-steps.gi-steps--3 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.35rem;
}

.mkt-steps .gi-step,
.gi-steps--3 .gi-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    margin: 0;
    padding: 1.35rem 1.1rem 1.4rem;
    background: #fff;
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(11, 58, 110, .06);
}

.mkt-steps .gi-tile,
.gi-steps--3 .gi-tile {
    margin: 0 auto;
}

.mkt-steps .gi-step-title,
.gi-steps--3 .gi-step-title {
    margin: 1rem 0 .45rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f1b2d;
    line-height: 1.25;
}

.mkt-steps .gi-step-text,
.gi-steps--3 .gi-step-text {
    margin: 0;
    max-width: 34ch;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.55;
    color: #5b6b82;
}

/* Filters */
.pro-filters {
    margin: 0 0 1rem;
    padding: 1.05rem 1.1rem;
    background: #fff;
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 58, 110, .06);
}

.pro-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .95rem;
}

.pro-pill {
    display: inline-flex;
    align-items: center;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid #d7e0ee;
    background: #f8fbff;
    color: #0b3a6e;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.pro-pill:hover,
.pro-pill.is-active {
    background: #0b3a6e;
    border-color: #0b3a6e;
    color: #fff;
}

.pro-form {
    display: grid;
    grid-template-columns: 1.4fr .9fr .8fr auto;
    gap: .65rem;
}

.pro-form--duo { grid-template-columns: 1.4fr 1fr auto; }
.pro-form--solo { grid-template-columns: 1fr auto; }

.pro-field {
    display: flex;
    flex-direction: column;
    gap: .28rem;
    min-width: 0;
}

.pro-field span {
    font-size: .72rem;
    font-weight: 700;
    color: #5b6b82;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.pro-field input,
.pro-field select,
.pro-report textarea {
    width: 100%;
    height: 44px;
    padding: 0 .75rem;
    border: 1px solid #d7e0ee;
    border-radius: 11px;
    background: #fff;
    color: #0f1b2d;
    font: inherit;
}

.pro-field input:focus,
.pro-field select:focus,
.pro-report textarea:focus {
    outline: 2px solid rgba(29, 91, 184, .35);
    border-color: #1d5bb8;
}

.pro-form .btn {
    align-self: end;
    height: 44px;
    padding: 0 1.15rem;
    border-radius: 11px;
    font-weight: 700;
}

.pro-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    color: #5b6b82;
    font-size: .9rem;
}

.pro-meta strong { color: #0b3a6e; }

/* Cards grille */
.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.05rem;
}

.pro-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.15rem 1.15rem 1.05rem;
    background: #fff;
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(11, 58, 110, .05);
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.pro-card-cover {
    display: block;
    margin: -1.15rem -1.15rem .9rem;
    aspect-ratio: 400 / 220;
    background: #e8eef6;
    overflow: hidden;
}

.pro-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pro-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b3a6e, #60a5fa);
    opacity: 0;
    transition: opacity .18s;
}

.pro-card:hover {
    border-color: #b9cceb;
    box-shadow: 0 16px 34px rgba(11, 58, 110, .12);
    transform: translateY(-2px);
}

.pro-card:hover::before { opacity: 1; }

.pro-card-head {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
}

.pro-avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #082a52, #0b3a6e);
    color: #93c5fd;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 6px 14px rgba(8, 42, 82, .2);
}

.pro-card h2 {
    margin: 0;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
    letter-spacing: -.02em;
    line-height: 1.3;
}

.pro-card h2 a {
    color: inherit;
    text-decoration: none;
}

.pro-card h2 a:hover { color: #0b3a6e; }

.pro-sub {
    margin: .25rem 0 0;
    color: #5b6b82;
    font-size: .82rem;
}

.pro-excerpt {
    margin: .8rem 0 .6rem;
    color: #334155;
    font-size: .92rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .15rem 0 .55rem;
}

.pro-stat {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .55rem;
    border-radius: 8px;
    background: #f4f7fc;
    color: #0b3a6e;
    font-size: .78rem;
    font-weight: 650;
}

.pro-stat--gold {
    background: #fff8db;
    color: #7a5b00;
}

.pro-tags { display: flex; flex-wrap: wrap; gap: .35rem; }

.pro-tag {
    display: inline-block;
    padding: .18rem .55rem;
    border-radius: 999px;
    background: #eaf1fb;
    color: #0b3a6e;
    font-size: .74rem;
    font-weight: 650;
}

.pro-fact {
    margin: .65rem 0 0;
    font-size: .78rem;
    font-weight: 650;
    color: #0b3a6e;
}

.pro-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding-top: .95rem;
    color: #0b3a6e;
    font-weight: 800;
    font-size: .9rem;
    text-decoration: none;
}

.pro-more::after {
    content: "→";
    transition: transform .15s;
}

.pro-more:hover::after { transform: translateX(3px); }

.pro-empty {
    padding: 2rem 1.35rem;
    text-align: center;
    background: #fff;
    border: 1px dashed #b9cceb;
    border-radius: 18px;
    color: #5b6b82;
}

.pro-empty .gi-tile { margin: 0 auto .75rem; }

.pro-empty strong {
    display: block;
    margin-bottom: .35rem;
    color: #0f1b2d;
    font-size: 1.05rem;
}

/* —— Fiche offre —— */
.pro-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1rem;
    color: #0b3a6e;
    font-weight: 700;
    text-decoration: none;
}

.pro-back:hover { text-decoration: underline; }

.offre-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
    gap: 1.15rem;
    align-items: start;
}

.offre-main,
.offre-side,
.pro-fiche-head,
.pro-panel {
    background: #fff;
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 58, 110, .05);
}

.pro-fiche-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.3rem;
    margin-bottom: 1rem;
}

.pro-fiche-head h1 {
    margin: 0;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    letter-spacing: -.02em;
    line-height: 1.2;
    color: #0f1b2d;
}

.pro-fiche-head .pro-avatar {
    width: 62px;
    height: 62px;
    font-size: 1.35rem;
    border-radius: 16px;
}

.offre-main { padding: 1.2rem 1.3rem; margin-bottom: 1rem; }

.offre-main h2,
.pro-panel h2,
.offre-side h2 {
    margin: 0 0 .75rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
    color: #0f1b2d;
}

.pro-panel { padding: 1.15rem 1.25rem; margin-bottom: 1rem; }

.pro-details {
    margin: 0;
    color: #334155;
    font-size: .95rem;
    line-height: 1.6;
}

.pro-dl {
    display: grid;
    gap: .55rem;
    margin: 1rem 0 0;
}

.pro-dl div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: .5rem;
    padding: .55rem .65rem;
    border-radius: 10px;
    background: #f7fafc;
}

.pro-dl dt {
    margin: 0;
    color: #5b6b82;
    font-weight: 700;
    font-size: .82rem;
}

.pro-dl dd { margin: 0; color: #0f1b2d; font-weight: 600; }

.pro-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .65rem;
    margin: 0 0 1rem;
}

.pro-photos img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #d7e0ee;
    background: #f1f5f9;
}

.offre-side {
    padding: 1.2rem 1.2rem 1.25rem;
    position: sticky;
    top: 1rem;
}

.offre-price {
    margin: 0 0 1rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 16px;
    background: linear-gradient(145deg, #082a52, #0b3a6e);
    color: #fff;
    box-shadow: 0 12px 28px rgba(8, 42, 82, .28);
}

.offre-price--negociable {
    background: linear-gradient(145deg, #0f2744, #1a3f6e);
}

.offre-price-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #bfdbfe;
    margin-bottom: .45rem;
}

.offre-price-value {
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    word-break: break-word;
}

.offre-seller {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e6eef8;
}

.offre-seller .pro-avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.offre-seller strong {
    display: block;
    font-size: .95rem;
    color: #0f1b2d;
}

.offre-seller span {
    display: block;
    margin-top: .15rem;
    color: #5b6b82;
    font-size: .8rem;
}

.offre-side .mkt-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: .5rem;
}

.offre-side .mkt-btn-light {
    background: #0b3a6e;
    color: #fff;
}

.offre-side .mkt-btn-ghost {
    border-color: #b9cceb;
    color: #0b3a6e;
}

.pro-report {
    display: grid;
    gap: .65rem;
}

.pro-report textarea {
    height: auto;
    min-height: 88px;
    padding: .65rem .75rem;
    resize: vertical;
}

.pro-report .btn { justify-self: start; }

.pro-activity {
    padding: .85rem 0;
    border-top: 1px solid #e6eef8;
}

.pro-activity:first-of-type { border-top: 0; padding-top: 0; }

.pro-activity h3 { margin: 0 0 .3rem; font-size: 1rem; }

.pro-price {
    display: inline-block;
    margin-bottom: .4rem;
    padding: .15rem .5rem;
    border-radius: 999px;
    background: #eaf1fb;
    color: #0b3a6e;
    font-size: .75rem;
    font-weight: 700;
}

.pro-note { margin: 0; color: #5b6b82; }
.pro-desc {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.6;
    color: #0f1b2d;
}

@media (max-width: 900px) {
    .mkt-hero,
    .mkt-steps.gi-steps,
    .gi-steps.gi-steps--3,
    .offre-layout { grid-template-columns: 1fr; }
    .offre-side { position: static; }
}

@media (min-width: 561px) and (max-width: 900px) {
    .mkt-steps.gi-steps,
    .gi-steps.gi-steps--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .pro-form,
    .pro-form--duo,
    .pro-form--solo { grid-template-columns: 1fr 1fr; }
    .pro-form .pro-field:first-child,
    .pro-form .btn { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .pro-form,
    .pro-dl div { grid-template-columns: 1fr; }
    .pro-fiche-head { flex-direction: column; }
    .pro-grid { grid-template-columns: 1fr; }
}

/* —— Espace membre (mes-offres / mes-demandes / correspondances) —— */
.esp-page { padding-top: .35rem; }

.esp-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    margin-left: .2rem;
    padding: 0 .28rem;
    border-radius: 999px;
    background: rgba(11, 58, 110, .12);
    font-size: .72rem;
    font-weight: 800;
}

.pro-pill.is-active .esp-pill-count {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.esp-pills-nav { margin-top: .65rem; padding-top: .65rem; border-top: 1px dashed #d7e0ee; }

.esp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: start;
}

.esp-layout--form {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr);
}

.esp-form-panel {
    position: sticky;
    top: 1rem;
}

.esp-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.15rem 1.2rem 1.25rem;
    background: #fff;
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 58, 110, .06);
}

.esp-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.esp-form-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    color: #0f1b2d;
}

.esp-form-head a {
    color: #0b3a6e;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.esp-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.esp-check {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 600;
    color: #0f1b2d;
}

.esp-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .15rem 0 .55rem;
}

.esp-status {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
    background: #e8eef6;
    color: #0b3a6e;
}

.esp-status--publiee { background: #dcfce7; color: #166534; }
.esp-status--brouillon { background: #f1f5f9; color: #475569; }
.esp-status--en_revue { background: #fef3c7; color: #92400e; }
.esp-status--archivee,
.esp-status--retiree { background: #e2e8f0; color: #334155; }
.esp-status--expiree { background: #fee2e2; color: #991b1b; }

.esp-motif {
    margin: 0 0 .55rem;
    font-size: .82rem;
    color: #64748b;
}

.esp-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem .9rem;
    margin-top: auto;
    padding-top: .35rem;
}

.esp-link-btn {
    background: none;
    border: 0;
    padding: 0;
    color: #0b3a6e;
    font: inherit;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    text-decoration: none;
}

.esp-card--active {
    border-color: #0b3a6e;
    box-shadow: 0 12px 28px rgba(11, 58, 110, .12);
}

.esp-photos {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.esp-photo {
    position: relative;
    margin: 0;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d7e0ee;
}

.esp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.esp-photo button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 27, 45, .78);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.esp-journal {
    margin-top: .85rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #e6eef8;
}

.esp-journal h3 {
    margin: 0 0 .45rem;
    font-size: .9rem;
    color: #0b3a6e;
}

.esp-journal ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #5b6b82;
    font-size: .85rem;
}

.esp-corr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .65rem;
}

.esp-score {
    display: inline-flex;
    align-items: baseline;
    gap: .15rem;
    padding: .35rem .65rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #082a52, #0b3a6e);
    color: #fff;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
}

.esp-score strong {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.esp-score span {
    font-size: .75rem;
    opacity: .85;
}

.esp-score--lg {
    width: 72px;
    height: 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 0;
}

.esp-score--lg strong { font-size: 1.55rem; line-height: 1; }

.esp-corr-role {
    margin: 0 0 .2rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #0b3a6e;
}

.esp-corr-card h2 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
}

.esp-facteurs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.esp-facteur-head {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    margin-bottom: .3rem;
    font-size: .9rem;
}

.esp-facteur-head strong { color: #0b3a6e; }

.esp-facteur-bar {
    height: 8px;
    border-radius: 999px;
    background: #e8eef6;
    overflow: hidden;
}

.esp-facteur-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b3a6e, #60a5fa);
}

@media (max-width: 960px) {
    .esp-layout--form { grid-template-columns: 1fr; }
    .esp-form-panel { position: static; }
    .esp-form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .esp-form-grid { grid-template-columns: 1fr; }
}

/* —— Annuaire entreprises + fiches publiques —— */
.pro-form--wide {
    grid-template-columns: minmax(0, 1.6fr) minmax(140px, 1fr) auto auto;
    align-items: end;
}
.pro-field--grow { min-width: 0; }
.pro-form__reset { align-self: end; }

.ent-card__head {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    margin-bottom: .65rem;
}
.ent-card__logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.ent-card__logo--fb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eaf1fb, #dbeafe);
    color: #0b3a6e;
}
.ent-card__title-wrap { min-width: 0; flex: 1; }
.ent-card__title-wrap h2 {
    margin: 0 0 .35rem;
    font-size: 1rem;
    line-height: 1.25;
}
.ent-card__secteur {
    display: inline-block;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    background: rgba(29, 91, 184, .1);
    color: #0b3a6e;
}
.ent-card__loc {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: 0 0 .5rem;
    font-size: .8rem;
    color: #64748b;
}

.mkt-cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    border-radius: 18px;
    background:
        radial-gradient(ellipse 80% 100% at 0% 50%, rgba(147, 197, 253, .22), transparent 55%),
        linear-gradient(135deg, #082a52 0%, #0b3a6e 55%, #1d5bb8 100%);
    color: #fff;
    box-shadow: 0 14px 36px rgba(11, 58, 110, .18);
}
.mkt-cta-band h3 {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}
.mkt-cta-band p {
    margin: 0;
    max-width: 48ch;
    color: #dbe7f8;
    font-size: .9rem;
    line-height: 1.5;
}

.pub-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.25rem;
    align-items: start;
}
.pub-detail-hero {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.4rem;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}
.pub-detail-hero h1 {
    margin: 0 0 .45rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #0f1b2d;
}
.pub-detail-hero__logo {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.pub-detail-hero__logo--fb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eaf1fb, #dbeafe);
    color: #0b3a6e;
}
.pub-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}
.pub-panel {
    padding: 1.2rem 1.35rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
}
.pub-panel h2,
.pub-panel h3 {
    margin: 0 0 .75rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f1b2d;
}
.pub-panel p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
    font-size: .925rem;
}
.pub-panel--accent {
    border-color: rgba(29, 91, 184, .25);
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.pub-panel--muted {
    background: #f8fafc;
}
.pub-panel__hint {
    margin: 0 0 .85rem;
    font-size: .85rem;
    color: #64748b;
    line-height: 1.5;
}
.pub-detail-cta {
    width: 100%;
    justify-content: center;
    display: inline-flex;
}
.pub-detail-link {
    display: block;
    margin-top: .55rem;
    text-align: center;
    font-size: .8rem;
    color: #64748b;
    text-decoration: none;
}
.pub-detail-link:hover { color: #0b3a6e; text-decoration: underline; }
.pub-detail-aside { position: sticky; top: calc(var(--g-topnav-h, 52px) + 1rem); }
.pub-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.pub-info-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: #475569;
}
.pub-info-list a {
    color: #0b3a6e;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}
.pub-info-list a:hover { text-decoration: underline; }

/* Listings experts / professeurs — cohérence avec le shell public */
.layout-desktop--linkedin .section-desktop.experts-listing,
.layout-desktop--linkedin .section-desktop.professeurs-listing {
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.layout-desktop--linkedin .missions-header {
    padding: 1.25rem 1.35rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
    margin-bottom: 1.15rem;
}
.layout-desktop--linkedin .experts-filter-bar,
.layout-desktop--linkedin .professeurs-filter-bar {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
}

@media (max-width: 900px) {
    .pub-detail-grid { grid-template-columns: 1fr; }
    .pub-detail-aside { position: static; }
    .pro-form--wide { grid-template-columns: 1fr 1fr; }
    .pro-form--wide .btn,
    .pro-form--wide .pro-form__reset { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .pro-form--wide { grid-template-columns: 1fr; }
    .mkt-cta-band { flex-direction: column; align-items: flex-start; }
}

/* ── Localisation & zones de livraison ─────────────────── */
.pro-form--zone { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr) auto; }
.zone-line {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: .1rem 0 .55rem;
    font-size: .8rem;
    color: #0f766e;
    font-weight: 600;
}
.zone-chips { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
.zone-chip {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: #e6f4f1;
    color: #0f5f58;
    font-size: .78rem;
    font-weight: 600;
}

/* ── Matching intelligent ──────────────────────────────── */
.match-box { border-color: #cfe6e2; }
.match-box__head { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .75rem; }
.match-box__head h2 { margin: 0; font-size: 1.05rem; }
.match-box__icon {
    flex: 0 0 34px; height: 34px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0a2540, #0f766e); color: #f5c84c;
}
.match-box__sub { margin: .15rem 0 0; font-size: .8rem; color: #64748b; }
.match-box__empty { margin: 0; font-size: .88rem; color: #475569; }
.match-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.match-item__link {
    display: flex; gap: .75rem; align-items: center;
    padding: .65rem .75rem; border: 1px solid #e2e8f0; border-radius: 12px;
    text-decoration: none; color: inherit; background: #fff;
}
.match-item__link:hover { border-color: #0f766e; }
.match-score {
    flex: 0 0 52px; height: 52px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.05rem; color: #fff;
}
.match-score small { font-size: .62rem; margin-left: 1px; }
.match-score--fort { background: #0f766e; }
.match-score--bon { background: #1d5bb8; }
.match-score--moyen { background: #b7791f; }
.match-item__body { display: flex; flex-direction: column; min-width: 0; gap: .1rem; }
.match-item__body strong { font-size: .95rem; color: #0a2540; }
.match-item__meta { font-size: .78rem; color: #64748b; }
.match-item__why { display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.match-item__why em { font-style: normal; font-size: .74rem; color: #0f5f58; }
.match-item__why em::before { content: "✓ "; }
.match-box__all { display: inline-block; margin-top: .7rem; font-weight: 700; color: #0f766e; text-decoration: none; font-size: .88rem; }

@media (max-width: 900px) {
    .pro-form--zone { grid-template-columns: 1fr 1fr; }
    .pro-form--zone .pro-field:first-child,
    .pro-form--zone .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .pro-form--zone { grid-template-columns: 1fr 1fr; }
    .mkt-steps { display: none; }
}
