/* Raffinement visuel non destructif de l'accueil — CœursConnect. */

/* Cartes plus compactes, plus éditoriales et plus vivantes. */
.landing-profile-grid {
    gap: 22px;
}

.landing-profile-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(223, 214, 225, .86);
    border-radius: 17px;
    box-shadow: 0 10px 34px rgba(35, 22, 46, .07);
    transition: transform .35s cubic-bezier(.2, .75, .25, 1), box-shadow .35s, border-color .35s;
}

.landing-profile-card:hover {
    transform: translateY(-7px);
    border-color: rgba(231, 90, 120, .36);
    box-shadow: 0 24px 55px rgba(43, 25, 51, .14);
}

.landing-profile-photo {
    height: 238px;
}

.landing-profile-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 32%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(16, 9, 22, .18));
}

.landing-profile-photo > img {
    transition: transform .75s cubic-bezier(.2, .72, .25, 1), filter .4s;
}

.landing-profile-card:hover .landing-profile-photo > img {
    transform: scale(1.055);
    filter: saturate(1.04);
}

.online-dot {
    z-index: 2;
    width: 12px;
    height: 12px;
    border-width: 3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}

.verified-dot {
    z-index: 2;
    right: 12px;
    bottom: 11px;
    width: 23px;
    height: 23px;
    border-color: rgba(255, 255, 255, .95);
    background: linear-gradient(135deg, #f17994, #d94368);
    box-shadow: 0 5px 14px rgba(174, 42, 78, .28);
}

.landing-profile-title h3 {
    font-size: 17px;
    font-weight: 790;
    letter-spacing: -.025em;
}

.landing-profile-body > p {
    margin-top: 4px;
}

.landing-profile-body .profile-job {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    margin-top: 8px;
    padding: 0 8px;
    color: #a44a60;
    border-radius: 999px;
    background: #fff1f4;
    font-size: 9px;
    font-weight: 710;
}

html[data-theme="dark"] .landing-profile-body .profile-job {
    color: #f29ab0;
    background: rgba(231, 90, 120, .13);
}

.landing-profile-actions {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 14px;
    padding-top: 13px;
}

.landing-profile-actions a,
.landing-profile-actions button {
    display: flex;
    width: 100%;
    min-height: 39px;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 6px 8px;
    color: var(--cc-text);
    border: 1px solid var(--cc-border);
    border-radius: 10px;
    background: rgba(248, 246, 249, .72);
    font-family: inherit;
    font-size: 9px;
    font-weight: 740;
    line-height: 1.15;
    text-align: left;
    transition: transform .2s, border-color .2s, color .2s, background .2s, box-shadow .2s;
}

.landing-profile-actions a:hover,
.landing-profile-actions button:hover {
    color: #d74366;
    border-color: #ee8da3;
    background: #fff5f7;
    transform: translateY(-1px);
}

.landing-profile-actions .profile-action-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #ec718b, #d94368);
    box-shadow: 0 8px 18px rgba(214, 62, 98, .2);
}

.landing-profile-actions .profile-action-primary:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #f07a94, #d43b61);
    box-shadow: 0 10px 22px rgba(214, 62, 98, .28);
}

.landing-profile-actions button.active {
    color: #fff;
    border-color: #df4d70;
    background: #df4d70;
}

.landing-profile-actions .profile-action-report {
    color: #985468;
}

.profile-action-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: none;
    place-items: center;
    border-radius: 7px;
    background: rgba(231, 90, 120, .1);
}

.profile-action-primary .profile-action-icon {
    background: rgba(255, 255, 255, .18);
}

.profile-action-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html[data-theme="dark"] .landing-profile-actions a,
html[data-theme="dark"] .landing-profile-actions button {
    background: rgba(255, 255, 255, .025);
}

html[data-theme="dark"] .landing-profile-actions .profile-action-primary {
    background: linear-gradient(135deg, #ec718b, #d94368);
}

/* Pays et localisation : information utile directement lisible sur chaque profil. */
.profile-photo-country,
.profile-country-chip {
    position: absolute;
    z-index: 3;
    left: 11px;
    bottom: 10px;
    display: inline-flex;
    max-width: calc(100% - 54px);
    min-height: 27px;
    align-items: center;
    gap: 7px;
    padding: 5px 10px 5px 6px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(19, 12, 26, .7);
    box-shadow: 0 6px 18px rgba(12, 6, 18, .2);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    font-size: 9px;
    font-weight: 760;
    line-height: 1;
    white-space: nowrap;
}

.profile-photo-country img,
.profile-country-chip img,
.profile-country-inline img {
    width: 20px !important;
    height: 14px !important;
    flex: none;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
    transform: none !important;
    filter: none !important;
}

.profile-card-media { position: relative; }
.profile-country-chip { right: 10px; left: auto; }

.profile-city-line,
.profile-country-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-city-line svg {
    width: 14px;
    height: 14px;
    flex: none;
    fill: none;
    stroke: #e25172;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-country-inline img {
    width: 24px !important;
    height: 16px !important;
}

.profile-location-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.outline-pink-button {
    min-height: 44px;
    gap: 12px;
    padding: 0 30px;
    color: #dc4d6e;
    border-color: rgba(228, 81, 114, .62);
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 8px 22px rgba(44, 27, 51, .05);
    font-size: 11px;
    font-weight: 730;
    transition: color .2s, background .2s, transform .2s, box-shadow .2s;
}

.outline-pink-button:hover {
    color: #fff;
    background: #e75a78;
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(206, 55, 91, .22);
}

.outline-pink-button > span {
    font-size: 17px;
}

/* Section application : composition produit premium et plus crédible. */
.mobile-app-section {
    min-height: 500px;
    grid-template-columns: 1.08fr 1.12fr .38fr;
    gap: clamp(32px, 4vw, 60px);
    margin-top: 22px;
    padding: 62px clamp(42px, 5vw, 76px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px 28px 0 0;
    background:
        radial-gradient(circle at 15% 52%, rgba(220, 62, 114, .24), transparent 32%),
        radial-gradient(circle at 74% 8%, rgba(78, 78, 181, .22), transparent 30%),
        linear-gradient(125deg, #160e23 0%, #0b0a19 52%, #080a19 100%);
    box-shadow: 0 30px 80px rgba(18, 10, 28, .25);
    isolation: isolate;
}

.mobile-app-section::before {
    content: "♡";
    position: absolute;
    z-index: -1;
    right: 30%;
    top: -90px;
    color: rgba(255, 255, 255, .025);
    font-family: Georgia, serif;
    font-size: 320px;
    transform: rotate(-12deg);
}

.mobile-app-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 48%, rgba(255, 255, 255, .025) 49%, transparent 50%);
}

.app-phone-stage {
    height: 385px;
}

.app-visual-glow {
    position: absolute;
    left: 11%;
    top: 8%;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(216, 61, 109, .18);
    filter: blur(58px);
}

.app-orbit {
    left: 13%;
    top: 8%;
    width: 315px;
    height: 315px;
    border-color: rgba(238, 105, 141, .52);
}

.app-orbit::before,
.app-orbit::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ed6c8c;
    box-shadow: 0 0 0 6px rgba(237, 108, 140, .09);
}

.app-orbit::before { right: 20px; top: 49px; }
.app-orbit::after { left: 9px; bottom: 78px; }

.phone {
    width: 174px;
    height: 350px;
    padding: 12px 8px;
    border-color: #292430;
    border-radius: 32px;
    box-shadow: 0 28px 48px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.phone-back {
    left: 8%;
    top: 5%;
    transform: rotate(-8deg);
}

.phone-screen-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 7px 8px;
    font-size: 9px;
    font-weight: 750;
}

.phone-screen-label i {
    color: #a9a2af;
    font-style: normal;
}

.phone-back img {
    height: 200px;
    margin-top: 0;
    border-radius: 18px;
}

.phone-profile-meta {
    display: grid;
    padding: 9px 5px;
}

.phone-profile-meta strong { font-size: 10px; }
.phone-profile-meta small { color: #aaa3b0; font-size: 7px; }

.phone-profile-meta div {
    display: flex;
    justify-content: space-around;
    margin-top: 8px;
}

.phone-profile-meta i,
.phone-profile-meta b {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #9d96a4;
    border-radius: 50%;
    background: #282330;
    font-size: 10px;
    font-style: normal;
}

.phone-profile-meta b {
    color: #fff;
    background: #df5275;
    box-shadow: 0 5px 12px rgba(223, 82, 117, .35);
}

.phone-front {
    left: 40%;
    top: 10%;
    padding-top: 28px;
    transform: rotate(4deg);
}

.phone-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5px 12px;
    font-size: 9px;
}

.phone-chat-head strong { font-size: 10px; }
.phone-chat-head i { color: #60cc69; font-size: 7px; font-style: normal; }

.chat-day {
    margin: 10px 0 5px;
    color: #817988;
    font-size: 6px;
    text-align: center;
}

.mini-bubble {
    margin: 11px 0;
}

.mini-composer {
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 13px;
    display: flex;
    height: 32px;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 0 10px;
    color: #776f7e;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px;
    background: #211c27;
    font-size: 7px;
}

.mini-composer b {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #df5275;
}

.app-float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    background: rgba(23, 17, 31, .82);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .28);
    backdrop-filter: blur(15px);
}

.app-float-card > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #fff;
    border-radius: 9px;
    background: linear-gradient(135deg, #ec6d8c, #d64168);
    font-size: 14px;
}

.app-float-card div { display: grid; }
.app-float-card strong { font-size: 8px; }
.app-float-card small { color: #9f98a6; font-size: 6px; }
.app-float-match { left: 0; bottom: 7%; }
.app-float-safe { right: 0; top: 1%; }
.app-float-safe > span { background: #42a96a; }

.app-download-copy {
    position: relative;
    z-index: 2;
}

.app-download-copy .premium-kicker {
    margin-bottom: 12px;
    font-size: 9px;
}

.app-download-copy h2 {
    max-width: 560px;
    margin: 0 0 15px;
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 720;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.app-download-copy h2 em {
    color: #ee8098;
    font-style: normal;
}

.app-download-lead {
    max-width: 540px;
    margin: 0 0 24px;
    color: #aca6b2;
    font-size: 11px;
    line-height: 1.65;
}

.app-download-copy ul {
    grid-template-columns: 1fr 1fr;
    gap: 15px 18px;
    margin-bottom: 25px;
}

.app-download-copy li:last-child {
    grid-column: 1 / -1;
}

.app-download-copy li > span {
    width: 37px;
    height: 37px;
    border: 1px solid rgba(231, 90, 120, .18);
    border-radius: 11px;
    background: rgba(231, 90, 120, .12);
}

.app-download-copy li svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-download-copy li strong { font-size: 11px; }
.app-download-copy li small { max-width: 220px; font-size: 8px; line-height: 1.45; }

.store-buttons a {
    display: flex;
    min-width: 166px;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: #fff;
    border-radius: 11px;
    background: rgba(4, 4, 9, .84);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    transition: transform .22s, border-color .22s, background .22s;
}

.store-buttons a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
    background: #05050a;
    transform: translateY(-2px);
}

.store-buttons a > svg {
    width: 26px;
    height: 26px;
    flex: none;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.25;
}

.store-buttons a > span { display: grid; }
.store-buttons small { font-size: 7px; }
.store-buttons strong { font-size: 15px; }

.app-trust-row {
    display: flex;
    gap: 18px;
    margin-top: 17px;
    color: #817b89;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.app-trust-row b { color: #d8d3dc; }

.app-qr {
    position: relative;
    z-index: 2;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 15px;
    box-shadow: 0 20px 38px rgba(0, 0, 0, .26);
    transform: rotate(1.5deg);
}

.app-qr-label {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 3px 7px;
    color: #d84869;
    border-radius: 999px;
    background: #fff0f4;
    font-size: 6px;
    font-weight: 850;
    letter-spacing: .12em;
}

.qr-pattern {
    position: relative;
    display: grid;
    place-items: center;
    border-width: 6px;
    background: repeating-conic-gradient(#121015 0 25%, #fff 0 50%) 0 / 12px 12px;
    box-shadow: inset 0 0 0 7px #111;
}

.qr-pattern i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    border: 4px solid #fff;
    border-radius: 8px;
    background: #df5275;
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: normal;
}

.app-qr strong { display: block; margin-top: 9px; font-size: 7px; }
.app-qr p { margin: 3px 0 0; color: #817985; font-size: 6px; }

/* Spinners communs aux formulaires et actions réseau. */
button.is-loading,
a.is-loading {
    cursor: wait;
    pointer-events: none;
    opacity: .78;
}

button.is-loading::after,
a.is-loading::after {
    content: "";
    width: 13px;
    height: 13px;
    flex: none;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: cc-button-spin .65s linear infinite;
}

button[aria-busy="true"],
a[aria-busy="true"] {
    cursor: wait;
}

@keyframes cc-button-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
    /* Les 8 profils de la pagination restent réellement visibles. */
    .landing-profile-card:nth-child(n + 7) { display: block; }
    .mobile-app-section { grid-template-columns: 1fr 1.15fr; padding-inline: 45px; }
}

@media (max-width: 820px) {
    .landing-profile-photo { height: 250px; }
    .mobile-app-section { grid-template-columns: 1fr; padding: 52px 35px; }
}

@media (max-width: 560px) {
    .landing-profile-photo { height: 185px; }
    .landing-profile-actions { grid-template-columns: 1fr; }
    .landing-profile-actions a,
    .landing-profile-actions button { min-height: 37px; }
    .mobile-app-section { padding: 46px 22px; }
    .app-download-copy ul { grid-template-columns: 1fr; }
    .app-download-copy li:last-child { grid-column: auto; }
    .app-trust-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-profile-card,
    .landing-profile-photo > img,
    .outline-pink-button,
    .store-buttons a { transition-duration: .01ms; }
}

/* Rose vif et éclat premium — accueil uniquement, sans changement de structure. */
.premium-home {
    --cc-pink: #ff2f76;
    --cc-pink-light: #ff76a5;
    --cc-pink-pale: #fff0f6;
}

.premium-home .premium-logo-mark {
    color: #ff3d83;
    text-shadow: 0 0 18px rgba(255, 47, 118, .5);
}

.premium-home .premium-nav-links a::after,
.premium-home .premium-slider-dots button.is-active {
    background: linear-gradient(90deg, #ff77a8, #ff1765);
    box-shadow: 0 0 15px rgba(255, 38, 109, .58);
}

.premium-home .premium-kicker,
.premium-home .showcase-heading p,
.premium-home .search-icon {
    color: #ff4d88;
}

.premium-home .premium-hero .premium-kicker {
    color: #ff8cb4;
    text-shadow: 0 0 18px rgba(255, 53, 126, .38);
}

.premium-home .premium-hero h1 em {
    color: #ff76a6;
    background: linear-gradient(110deg, #ffb0ca 0%, #ff639b 48%, #ff2f76 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 7px 20px rgba(255, 38, 109, .28));
}

.premium-home .premium-button.primary,
.premium-home .premium-search > button,
.premium-home .landing-profile-actions .profile-action-primary {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #ff70a3 0%, #ff2f76 52%, #e90859 100%);
    box-shadow: 0 13px 30px rgba(255, 28, 101, .35), 0 0 0 1px rgba(255, 255, 255, .12) inset;
}

.premium-home .premium-button.primary:hover,
.premium-home .premium-search > button:hover,
.premium-home .landing-profile-actions .profile-action-primary:hover {
    background: linear-gradient(135deg, #ff84af 0%, #ff2871 50%, #d90050 100%);
    box-shadow: 0 17px 38px rgba(255, 28, 101, .46), 0 0 22px rgba(255, 89, 149, .22);
}

.premium-home .premium-button.primary::before,
.premium-home .premium-search > button::before,
.premium-home .landing-profile-actions .profile-action-primary::before {
    content: "";
    position: absolute;
    top: -70%;
    bottom: -70%;
    left: -52%;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: skewX(-18deg);
    animation: cc-home-shine 4.8s ease-in-out infinite;
}

.premium-home .premium-search {
    border-color: rgba(255, 63, 132, .2);
    box-shadow: 0 20px 52px rgba(61, 25, 48, .17), 0 0 34px rgba(255, 47, 118, .08);
}

.premium-home .city-suggestions button:hover,
.premium-home .city-suggestions button:focus {
    color: #f51461;
    background: #fff0f6;
}

.premium-home .landing-profile-card:hover {
    border-color: rgba(255, 47, 118, .4);
    box-shadow: 0 24px 55px rgba(43, 25, 51, .14), 0 0 26px rgba(255, 47, 118, .1);
}

.premium-home .verified-dot,
.premium-home .landing-profile-actions button.active,
.premium-home .phone-profile-meta b,
.premium-home .mini-composer b,
.premium-home .qr-pattern i {
    background: linear-gradient(135deg, #ff73a4, #ff216c);
    box-shadow: 0 6px 17px rgba(255, 33, 108, .38);
}

.premium-home .compatibility i b {
    background: linear-gradient(90deg, #ff94b8, #ff2f76);
    box-shadow: 0 0 10px rgba(255, 47, 118, .32);
}

.premium-home .profile-city-line svg,
.premium-home .landing-profile-actions a:hover,
.premium-home .landing-profile-actions button:hover {
    color: #f91664;
    stroke: #ff2f76;
}

.premium-home .outline-pink-button {
    color: #ef155e;
    border-color: rgba(255, 47, 118, .72);
    box-shadow: 0 9px 24px rgba(255, 47, 118, .1);
}

.premium-home .outline-pink-button:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #ff68a0, #ff1f6b);
    box-shadow: 0 15px 32px rgba(255, 32, 107, .34), 0 0 22px rgba(255, 87, 145, .18);
}

.premium-home .landing-pagination a.is-active {
    color: #ee0e59;
    background: #ffe8f1;
    box-shadow: 0 0 15px rgba(255, 47, 118, .12);
}

.premium-home .profile-showcase-men {
    background: linear-gradient(180deg, #fff0f5 0%, #fff 100%);
}

html[data-theme="dark"] .premium-home .profile-showcase-men {
    background: linear-gradient(180deg, #26121c 0%, #100e17 100%);
}

.premium-home .mobile-app-section {
    background:
        radial-gradient(circle at 15% 52%, rgba(255, 32, 111, .32), transparent 34%),
        radial-gradient(circle at 75% 8%, rgba(103, 73, 213, .25), transparent 31%),
        linear-gradient(125deg, #1b0d25 0%, #0b0919 52%, #080916 100%);
    box-shadow: 0 30px 80px rgba(18, 10, 28, .28), 0 0 44px rgba(255, 35, 111, .08);
}

.premium-home .app-visual-glow {
    background: rgba(255, 28, 104, .3);
    filter: blur(62px);
}

.premium-home .app-orbit {
    border-color: rgba(255, 84, 145, .7);
    filter: drop-shadow(0 0 8px rgba(255, 47, 118, .22));
}

.premium-home .app-orbit::before,
.premium-home .app-orbit::after {
    background: #ff4b88;
    box-shadow: 0 0 0 6px rgba(255, 75, 136, .1), 0 0 19px rgba(255, 47, 118, .7);
}

.premium-home .app-float-card > span,
.premium-home .mini-bubble.mine {
    background: linear-gradient(135deg, #ff71a4, #ff216c);
    box-shadow: 0 5px 16px rgba(255, 33, 108, .31);
}

.premium-home .app-float-safe > span {
    background: #42a96a;
    box-shadow: none;
}

.premium-home .app-download-copy h2 em,
.premium-home .app-download-copy li > span,
.premium-home .app-qr-label {
    color: #ff6b9e;
}

.premium-home .premium-footer .premium-logo-mark {
    color: #ff4c89;
}

@keyframes cc-home-shine {
    0%, 68% { left: -52%; opacity: 0; }
    74% { opacity: .9; }
    90%, 100% { left: 122%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-home .premium-button.primary::before,
    .premium-home .premium-search > button::before,
    .premium-home .landing-profile-actions .profile-action-primary::before {
        animation: none;
    }
}

.premium-member-link{display:inline-flex;align-items:center;gap:7px}

/* V20 — formulaire de recherche du hero toujours interactif. */
.premium-home .premium-hero {
    z-index: 1;
}

/* Le calque des textes du slider ne doit jamais recouvrir le formulaire. */
.premium-home .premium-hero-copies,
.premium-home .premium-hero-content,
.premium-home .premium-hero-content.is-active {
    pointer-events: none;
}

/* Seuls les CTA du texte du hero restent cliquables. */
.premium-home .premium-hero-cta,
.premium-home .premium-hero-cta a,
.premium-home .premium-slider-control,
.premium-home .premium-slider-control * {
    pointer-events: auto;
}

.premium-home .premium-search {
    z-index: 60;
    pointer-events: auto !important;
    isolation: isolate;
}

.premium-home .premium-search label,
.premium-home .premium-search label > span,
.premium-home .premium-search select,
.premium-home .premium-search input,
.premium-home .premium-search > button {
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
}

.premium-home .premium-search select,
.premium-home .premium-search input {
    cursor: pointer;
}

.premium-home .premium-search input[type="search"] {
    cursor: text;
}

.premium-home .city-suggestions {
    z-index: 90;
    pointer-events: auto;
}

/* Communauté active — compteur BD, section compacte SaaS premium. */
.cc-live-community {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
    margin-bottom: 22px;
    padding: 22px 24px;
    overflow: hidden;
    border: 1px solid rgba(67,43,61,.075);
    border-radius: 25px;
    background: linear-gradient(135deg,rgba(255,255,255,.98),rgba(255,247,250,.94));
    box-shadow: 0 18px 52px rgba(73,45,63,.065);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
}
.cc-live-community.is-visible { opacity: 1; transform: translateY(0); }
.cc-live-community:hover { box-shadow: 0 22px 58px rgba(73,45,63,.09); }
.cc-live-community-glow {
    position: absolute;
    z-index: -1;
    width: 310px;
    height: 310px;
    right: -110px;
    top: -170px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(246,66,113,.11),rgba(246,66,113,0) 68%);
}
.cc-live-community-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(239,64,109,.12);
    border-radius: 18px;
    background: linear-gradient(145deg,#fff,#fff0f5);
    color: #e94270;
    box-shadow: 0 10px 28px rgba(229,58,104,.10);
}
.cc-live-community-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cc-live-community-icon i { position: absolute; right: 7px; bottom: 7px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #27b76e; box-shadow: 0 0 0 4px rgba(39,183,110,.1); }
.cc-live-community-icon i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(39,183,110,.16); transform: scale(.72); opacity: .8; animation: cc-live-dot 1.9s ease-out infinite; will-change: transform, opacity; }
.cc-live-community-copy { min-width: 0; }
.cc-live-community-kicker { display: inline-flex; align-items: center; gap: 7px; color: #9c6477; font-size: .67rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.cc-live-community-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #27b76e; }
.cc-live-community h2 { margin: 5px 0 4px; color: #241b25; font-size: clamp(1.05rem,1.65vw,1.42rem); line-height: 1.35; letter-spacing: -.022em; }
.cc-live-community h2 strong { display: inline-flex; align-items: baseline; margin: 0 2px; color: #eb416f; font-size: 1.16em; font-weight: 900; font-variant-numeric: tabular-nums; }
.cc-live-community p { margin: 0; max-width: 760px; color: #817580; font-size: .78rem; line-height: 1.55; }
.cc-live-community-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 330px; }
.cc-live-community-meta span { display: inline-flex; align-items: center; gap: 6px; min-height: 31px; padding: 6px 9px; border: 1px solid rgba(71,51,67,.075); border-radius: 999px; background: rgba(255,255,255,.78); color: #665b65; font-size: .66rem; font-weight: 750; white-space: nowrap; }
.cc-live-community-meta svg { width: 13px; height: 13px; fill: none; stroke: #e94270; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cc-live-dot { 0% { transform: scale(.72); opacity: .8; } 70%,100% { transform: scale(2.15); opacity: 0; } }
@media (max-width: 900px) { .cc-live-community { grid-template-columns: auto 1fr; gap: 15px; margin-top: 18px; padding: 18px; border-radius: 21px; } .cc-live-community-meta { grid-column: 1 / -1; justify-content: flex-start; max-width: none; } }
@media (max-width: 560px) { .cc-live-community { grid-template-columns: 42px 1fr; gap: 12px; padding: 15px; margin-inline: 12px; width: auto; } .cc-live-community-icon { width: 42px; height: 42px; border-radius: 14px; } .cc-live-community-icon svg { width: 20px; height: 20px; } .cc-live-community h2 { font-size: .98rem; } .cc-live-community p { font-size: .72rem; } .cc-live-community-meta { gap: 5px; } .cc-live-community-meta span { min-height: 28px; padding: 5px 8px; font-size: .61rem; } }
@media (prefers-reduced-motion: reduce) { .cc-live-community { opacity: 1; transform: none; transition: none; } .cc-live-community-icon i { animation: none; } }
