﻿  /* ============================================
     PAGE PREPLY STYLE - ADAPTÉE JUNSPRO
     ============================================ */
  
  /* Variables couleurs Homeswap - Dégradé rose bleu royal */
  :root {
    --preply-primary: #EC4899; /* Pink-500 - Rose */
    --preply-primary-dark: #DB2777; /* Pink-600 - Rose foncé */
    --preply-primary-light: #2563EB; /* Blue-600 - Bleu royal */
    --preply-pink: #F472B6; /* Pink-400 - Rose clair */
    --preply-pink-light: #3B82F6; /* Blue-500 - Bleu */
    --preply-text: #1F2937;
    --preply-text-light: #6B7280;
    --preply-bg: #FFFFFF;
    --preply-border: #E5E7EB;
    --preply-hover: #F9FAFB;
  }

  /* Hero Homeswap - Dégradé rose bleu royal */
  .services-hero {
    background: linear-gradient(
      135deg,
      #FCE7F3 0%,
      #FBCFE8 20%,
      #F9A8D4 40%,
      #F472B6 60%,
      #EC4899 80%,
      #2563EB 100%
    ) !important;
    box-shadow: 
      0 20px 60px rgba(236, 72, 153, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }

  .services-hero__placeholder {
    background: linear-gradient(
      135deg,
      #FCE7F3 0%,
      #FBCFE8 20%,
      #F9A8D4 40%,
      #F472B6 60%,
      #EC4899 80%,
      #2563EB 100%
    ) !important;
  }

  .services-hero__placeholder::after {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%,
      rgba(236, 72, 153, 0.1) 100%
    );
  }

  /* Boutons hero Homeswap - Adaptation rose */
  .services-hero__btn--primary {
    color: white !important;
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%) !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25) !important;
    transition: all 0.3s ease !important;
  }

  .services-hero__btn--primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4) !important;
    color: white !important;
  }

  .services-hero__btn--secondary {
    border-color: rgba(255, 255, 255, 0.5) !important;
  }

  .services-hero__btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.3) !important;
  }


  /* Hero Premium HomeSwap */
  .homeswap-hero-premium {
    background: white;
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--preply-border);
  }

  .homeswap-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .homeswap-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .homeswap-hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #1e293b 0%, #EC4899 45%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    line-height: 1.1;
  }

  .homeswap-hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 400;
    letter-spacing: 0.04em;
    font-style: italic;
  }

  .homeswap-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
  }

  .homeswap-hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f9fafb;
    border: 1px solid var(--preply-border);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--preply-text);
    font-weight: 500;
  }

  .homeswap-hero-badge-icon {
    width: 20px;
    height: 20px;
    color: var(--preply-primary);
    flex-shrink: 0;
  }

  .homeswap-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  /* Classes compatibles avec le design system */
  .homeswap-hero-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #60A5FA 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
    letter-spacing: 0.01em;
  }

  .homeswap-hero-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
  }

  .homeswap-hero-btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid var(--preply-primary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--preply-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.01em;
  }

  .homeswap-hero-btn-secondary:hover {
    background: rgba(236, 72, 153, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.1);
    border-color: var(--preply-primary-dark);
  }

  .homeswap-hero-disclaimer {
    font-size: 0.9375rem;
    color: var(--preply-text-light);
    font-style: italic;
    margin-top: 24px;
  }

  /* ============================================
     DESIGN SYSTEM BOUTONS RAFFINÉS & PREMIUM
     ============================================ */
  
  /* Base commune (tous les boutons) - Style sobre et élégant */
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1.5;
    letter-spacing: 0.01em;
  }

  .btn:focus-visible,
  .btn-primary:focus-visible,
  .btn-outline:focus-visible,
  .btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }

  .btn:disabled,
  .btn-primary:disabled,
  .btn-outline:disabled,
  .btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }

  .btn:active,
  .btn-primary:active,
  .btn-outline:active,
  .btn-secondary:active {
    transform: translateY(0.5px);
    transition-duration: 0.1s;
  }

  /* PRIMARY (gradient raffiné et doux) */
  .btn-primary {
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #60A5FA 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
  }

  .btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
  }

  /* OUTLINE premium (sobre et élégant) */
  .btn-outline {
    background: white;
    color: var(--preply-primary);
    border: 1.5px solid var(--preply-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .btn-outline:hover:not(:disabled) {
    background: rgba(236, 72, 153, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.1);
    border-color: var(--preply-primary-dark);
  }

  /* SECONDARY (sobre) */
  .btn-secondary {
    background: #FAFAFA;
    color: var(--preply-text);
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  .btn-secondary:hover:not(:disabled) {
    background: #F5F5F5;
    border-color: #D1D5DB;
    transform: translateY(-0.5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  }

  /* Variantes de taille */
  .btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .btn-full {
    width: 100%;
    display: block;
  }

  /* Section "Trois façons d'échanger" Premium */
  .homeswap-exchange-types {
    background: white;
    padding: 72px 0;
    border-bottom: 1px solid var(--preply-border);
  }

  .homeswap-exchange-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .homeswap-exchange-header {
    text-align: center;
    margin-bottom: 32px;
  }

  .homeswap-exchange-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--preply-text);
    margin-bottom: 12px;
  }

  .homeswap-exchange-subtitle {
    font-size: 1rem;
    color: var(--preply-text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
  }

  .homeswap-exchange-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  .homeswap-exchange-card-base {
    background: white;
    border: 1px solid var(--preply-border);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .homeswap-exchange-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .homeswap-exchange-card:hover {
    border-color: var(--preply-primary);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.1);
  }

  .homeswap-exchange-card-active {
    border: 2px solid var(--preply-primary);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.15);
  }

  .homeswap-exchange-card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }

  .homeswap-exchange-badges-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-bottom: 12px;
  }

  .homeswap-exchange-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--preply-text);
    margin-bottom: 6px;
  }

  .homeswap-exchange-card-description {
    font-size: 0.9375rem;
    color: var(--preply-text-light);
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .homeswap-exchange-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #EC4899 0%, #2563EB 100%);
    color: white;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .homeswap-exchange-badge-selected {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
    color: white;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .homeswap-exchange-card-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .homeswap-exchange-card-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--preply-text);
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .homeswap-exchange-check {
    color: #10b981;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
  }

  /* Panneau de détails séparé (premium) */
  .homeswap-exchange-details-panel {
    margin-top: 32px;
    background: linear-gradient(135deg, #fff 0%, #FDF2F8 100%);
    border: 1.5px solid rgba(236, 72, 153, 0.35);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.10);
  }

  .homeswap-exchange-details-content {
    max-width: 900px;
    margin: 0 auto;
  }

  /* Ligne de confirmation premium */
  .homeswap-exchange-details-confirmation {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #FCE7F3 0%, #E0E7FF 100%);
    border-radius: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .homeswap-exchange-details-confirmation-label {
    font-size: 0.875rem;
    color: var(--preply-text-light);
    font-weight: 500;
  }

  .homeswap-exchange-details-confirmation-value {
    font-size: 0.9375rem;
    color: var(--preply-primary);
    font-weight: 700;
  }

  .homeswap-exchange-details-confirmation-note {
    font-size: 0.8125rem;
    color: var(--preply-text-light);
    font-style: italic;
    margin-left: auto;
  }

  .homeswap-exchange-details-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    padding-left: 16px;
    border-bottom: 1px solid var(--preply-border);
    border-left: 4px solid #EC4899;
  }

  .homeswap-exchange-details-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--preply-text);
    margin-bottom: 8px;
  }

  .homeswap-exchange-details-subtitle {
    font-size: 0.9375rem;
    color: var(--preply-text-light);
  }

  .homeswap-exchange-details-body {
    margin-bottom: 24px;
  }

  .homeswap-exchange-details-section {
    margin-bottom: 20px;
  }

  .homeswap-exchange-details-section:last-child {
    margin-bottom: 0;
  }

  /* Wrapper CTA avec micro-note */
  .homeswap-exchange-details-cta-wrapper {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--preply-border);
  }

  .homeswap-exchange-cta-note {
    font-size: 0.75rem;
    color: var(--preply-text-light);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
  }

  .homeswap-exchange-card-detail {
    font-size: 0.8125rem;
    color: var(--preply-text-light);
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .homeswap-exchange-card-detail strong {
    color: var(--preply-text);
    font-weight: 600;
  }

  .homeswap-exchange-card-cta {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #60A5FA 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(244, 114, 182, 0.25);
    letter-spacing: 0.02em;
  }

  .homeswap-exchange-card-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
  }

  .homeswap-exchange-card-cta:active {
    transform: translateY(0.5px);
    transition-duration: 0.1s;
  }

  .homeswap-exchange-card-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }

  .homeswap-exchange-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
  }

  .homeswap-exchange-points-card {
    background: #f9fafb;
    border: 1px solid var(--preply-border);
    border-radius: 10px;
    padding: 12px;
  }

  .homeswap-exchange-points-label {
    font-size: 0.6875rem;
    color: var(--preply-text-light);
    margin-bottom: 6px;
  }

  .homeswap-exchange-points-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--preply-text);
    margin-bottom: 6px;
  }

  .homeswap-exchange-points-text {
    font-size: 0.8125rem;
    color: var(--preply-text-light);
    line-height: 1.4;
  }

  .homeswap-exchange-points-card--rules {
    background: linear-gradient(135deg, #EFF6FF 0%, #FDF2F8 100%);
    border-color: #E0E7FF;
  }

  .homeswap-exchange-points-rules {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 8px;
  }

  .homeswap-exchange-points-rule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .homeswap-exchange-points-rule-type {
    font-size: 0.8125rem;
    color: var(--preply-text-light);
    font-weight: 500;
  }

  .homeswap-exchange-points-rule-unit {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(90deg, #EC4899 0%, #3B82F6 100%);
    color: white;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .homeswap-exchange-points-formula {
    font-size: 0.625rem;
    color: #9ca3af;
    margin-top: 8px;
    line-height: 1.4;
    font-style: italic;
    opacity: 0.8;
  }

  .homeswap-exchange-example {
    background: #f9fafb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
  }

  .homeswap-exchange-example-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--preply-text);
    margin-bottom: 8px;
  }

  .homeswap-exchange-example-text {
    font-size: 0.8125rem;
    color: var(--preply-text);
    line-height: 1.5;
    margin-bottom: 6px;
  }

  .homeswap-exchange-example-note {
    font-size: 0.6875rem;
    color: var(--preply-text-light);
    line-height: 1.4;
  }

  @media (max-width: 768px) {
    .homeswap-exchange-types {
      padding: 32px 0;
    }

    .homeswap-exchange-header {
      margin-bottom: 24px;
    }

    .homeswap-exchange-title {
      font-size: 1.875rem;
      margin-bottom: 8px;
    }

    .homeswap-exchange-subtitle {
      font-size: 0.9375rem;
    }

    .homeswap-exchange-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .homeswap-exchange-card-base {
      padding: 20px;
    }

    .homeswap-exchange-details-panel {
      padding: 24px;
      margin-top: 24px;
    }

    .homeswap-exchange-details-confirmation {
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
    }

    .homeswap-exchange-details-confirmation-note {
      margin-left: 0;
      width: 100%;
    }

    .homeswap-exchange-details-title {
      font-size: 1.25rem;
    }

    .homeswap-exchange-points-grid {
      grid-template-columns: 1fr;
      gap: 10px;
    }
  }

  /* Section "Comment ça marche" */
  .homeswap-how-it-works {
    background: #f9fafb;
    padding: 60px 0;
    border-bottom: 1px solid var(--preply-border);
  }

  .homeswap-how-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .homeswap-how-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--preply-text);
    text-align: center;
    margin-bottom: 48px;
  }

  .homeswap-how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
  }

  .homeswap-how-step {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--preply-border);
    text-align: center;
  }

  .homeswap-how-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EC4899 0%, #2563EB 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
  }

  .homeswap-how-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--preply-text);
    margin-bottom: 12px;
  }

  .homeswap-how-step-description {
    font-size: 1rem;
    color: var(--preply-text-light);
    line-height: 1.6;
  }

  /* Blocs Premium HomeSwap */
  .homeswap-premium-section {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid var(--preply-border);
  }

  .homeswap-premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .homeswap-premium-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--preply-border);
  }

  .homeswap-premium-header {
    text-align: center;
    margin-bottom: 32px;
  }

  .homeswap-premium-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--preply-text);
    margin-bottom: 8px;
  }

  .homeswap-premium-subtitle {
    font-size: 1.125rem;
    color: var(--preply-text-light);
  }

  .homeswap-premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
  }

  .homeswap-premium-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
  }

  .homeswap-premium-icon {
    width: 24px;
    height: 24px;
    color: var(--preply-primary);
    flex-shrink: 0;
  }

  .homeswap-premium-feature span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--preply-text);
  }

  .homeswap-premium-cta {
    text-align: center;
  }

  .homeswap-premium-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #60A5FA 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
    letter-spacing: 0.01em;
  }

  .homeswap-premium-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
  }

  .homeswap-premium-btn:active {
    transform: translateY(0.5px);
    transition-duration: 0.1s;
  }

  .homeswap-premium-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }

  .homeswap-premium-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .homeswap-premium-status-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
  }

  .homeswap-premium-link {
    color: var(--preply-primary);
    text-decoration: underline;
    font-size: 0.9375rem;
  }

  .homeswap-premium-link:hover {
    color: var(--preply-primary-dark);
  }

  /* Options d'accompagnement */
  .homeswap-options-section {
    background: #f9fafb;
    padding: 60px 0;
    border-bottom: 1px solid var(--preply-border);
  }

  .homeswap-options-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .homeswap-options-header {
    text-align: center;
    margin-bottom: 48px;
  }

  .homeswap-options-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--preply-text);
    margin-bottom: 8px;
  }

  .homeswap-options-subtitle {
    font-size: 1.125rem;
    color: var(--preply-text-light);
  }

  .homeswap-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
  }

  .homeswap-option-card {
    background: white;
    border: 2px solid var(--preply-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.2s;
  }

  .homeswap-option-card:hover {
    border-color: var(--preply-primary);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.1);
  }

  .homeswap-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .homeswap-option-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--preply-text);
  }

  .homeswap-option-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--preply-primary);
  }

  .homeswap-option-description {
    font-size: 1rem;
    color: var(--preply-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .homeswap-option-features {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .homeswap-option-features li {
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--preply-text);
    position: relative;
    padding-left: 24px;
  }

  .homeswap-option-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--preply-primary);
    font-weight: 700;
  }

  .homeswap-options-cta {
    text-align: center;
  }

  .homeswap-options-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #60A5FA 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
    letter-spacing: 0.01em;
  }

  .homeswap-options-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
  }

  .homeswap-options-btn:active {
    transform: translateY(0.5px);
    transition-duration: 0.1s;
  }

  .homeswap-options-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }

  /* Encarts Transparence */
  .homeswap-transparency {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid var(--preply-border);
  }

  .homeswap-transparency-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
  }

  .homeswap-transparency-card {
    background: #f9fafb;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--preply-border);
  }

  /* Bloc alerte premium "Confiance & prudence" */
  .homeswap-alert-callout {
    background: linear-gradient(to right, rgba(251, 191, 36, 0.08) 0%, rgba(249, 250, 251, 0.5) 100%);
    border-left: 4px solid #F59E0B;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    animation: homeswap-alert-fade-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @media (prefers-reduced-motion: reduce) {
    .homeswap-alert-callout {
      animation: none;
    }
  }

  @keyframes homeswap-alert-fade-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .homeswap-alert-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(251, 191, 36, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: homeswap-alert-icon-pulse 2s ease-in-out 0.3s 2;
  }

  @media (prefers-reduced-motion: reduce) {
    .homeswap-alert-icon-wrapper {
      animation: none;
    }
  }

  @keyframes homeswap-alert-icon-pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.05);
      opacity: 0.9;
    }
  }

  .homeswap-alert-icon {
    width: 24px;
    height: 24px;
    color: #F59E0B;
    stroke-width: 2.5;
  }

  .homeswap-alert-content {
    flex: 1;
    min-width: 0;
  }

  .homeswap-transparency-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .homeswap-transparency-text {
    font-size: 0.9375rem;
    color: #4B5563;
    line-height: 1.7;
    max-width: none;
  }

  .homeswap-transparency-text strong {
    color: #1F2937;
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .homeswap-alert-callout {
      flex-direction: column;
      gap: 16px;
      padding: 24px;
    }

    .homeswap-alert-icon-wrapper {
      align-self: flex-start;
    }
  }

  /* Badges HomeSwap Scoring Premium */
  .homeswap-scoring-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .homeswap-score-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: white;
    border: 1px solid #E2E8F0;
    color: #475569;
    cursor: help;
    width: fit-content;
  }

  .homeswap-points-text {
    font-size: 0.8125rem;
    color: #64748B;
    font-weight: 400;
  }

  @media (max-width: 768px) {
    .homeswap-hero-title {
      font-size: 2.5rem;
      letter-spacing: 0.12em;
    }

    .homeswap-hero-subtitle {
      font-size: 1rem;
    }

    .homeswap-hero-badges {
      flex-direction: column;
      align-items: center;
    }

    .homeswap-hero-cta {
      flex-direction: column;
    }

    .homeswap-hero-btn-primary,
    .homeswap-hero-btn-secondary {
      width: 100%;
    }

    .homeswap-transparency-container {
      grid-template-columns: 1fr;
    }
  }

  /* Carte blanche (design capture 2 / Projets) */
  .homeswap-search-filter-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 255, 0.95) 100%);
    border-radius: 32px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.15), 0 8px 24px rgba(236, 72, 153, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(244, 114, 182, 0.2);
    backdrop-filter: blur(30px);
  }

  /* Barre principale une ligne (style Projets) */
  .homeswap-search-filter-section .homeswap-filter-row-main,
  .homeswap-search-filter-section .filter-row-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr auto;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .homeswap-search-filter-section .filter-input-group {
    position: relative;
    display: flex;
    align-items: center;
  }
  .homeswap-search-filter-section .filter-input-icon {
    position: absolute;
    left: 1.25rem;
    color: #EC4899;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
  }
  .homeswap-search-filter-section .filter-input,
  .homeswap-search-filter-section .filter-select-homeswap {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid rgba(244, 114, 182, 0.3);
    border-radius: 16px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    color: #1a202c;
    appearance: auto;
  }
  /* Assistant post-sélection : icônes + bouton info (apparaît après sélection) */
  .homeswap-search-filter-section .filter-input-group {
    position: relative;
  }
  .homeswap-city-assistant {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    z-index: 3;
  }
  .homeswap-city-assistant > * {
    pointer-events: auto;
  }
  .homeswap-city-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .homeswap-city-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    opacity: 0.7;
  }
  .homeswap-city-icon svg {
    width: 100%;
    height: 100%;
  }
  .homeswap-city-icon-popular {
    color: #6b7280;
    opacity: 0.75;
  }
  .homeswap-city-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    background: none;
    color: #94a3b8;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
  }
  .homeswap-city-info-btn:hover {
    opacity: 1;
    color: #EC4899;
  }
  .homeswap-city-info-btn:focus-visible {
    outline: 2px solid #EC4899;
    outline-offset: 2px;
    border-radius: 3px;
  }
  .homeswap-city-info-btn svg {
    width: 100%;
    height: 100%;
  }
  /* Popover informations ville (ultra-premium, discret) */
  .homeswap-city-popover {
    position: fixed;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    min-width: 240px;
    max-width: 320px;
    animation: homeswapPopoverFadeIn 0.2s ease;
  }
  @keyframes homeswapPopoverFadeIn {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .homeswap-city-popover-content {
    padding: 1rem;
  }
  .homeswap-city-popover-content p + p {
    margin-top: 0.5rem;
  }
  .homeswap-city-popover-section {
    margin-bottom: 0.75rem;
  }
  .homeswap-city-popover-section:last-child {
    margin-bottom: 0;
  }
  .homeswap-city-popover-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.35rem 0;
  }
  .homeswap-city-popover-text {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
  }
  .homeswap-city-popover-badge {
    color: #6b7280;
    font-weight: 500;
  }
  .homeswap-search-filter-section .filter-input:focus,
  .homeswap-search-filter-section .filter-select-homeswap:focus {
    outline: none;
    border-color: #EC4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
  }
  .homeswap-search-filter-section .filter-input::placeholder {
    color: #9ca3af;
  }
  /* Micro-badges villes : style discret dans les options (via JS) */
  .homeswap-search-filter-section .filter-select-homeswap option {
    font-size: 1rem;
  }
  /* Tooltip personnalisé pour badges villes (affiché au survol du select) */
  .homeswap-city-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: #1e293b;
    color: #f8fafc;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  .homeswap-city-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e293b;
  }
  .homeswap-search-filter-section .filter-input-group:hover .homeswap-city-tooltip {
    opacity: 1;
  }
  .homeswap-search-filter-section .filter-submit-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #2563EB 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  }
  .homeswap-search-filter-section .filter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
  }
  .homeswap-search-filter-section .homeswap-date-picker-wrapper {
    position: relative;
  }
  .homeswap-search-filter-section .homeswap-date-picker-wrapper .homeswap-date-display {
    padding-right: 2.75rem;
  }
  .homeswap-search-filter-section .homeswap-date-icon-right {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #EC4899;
    pointer-events: none;
    font-size: 1rem;
  }
  .homeswap-search-filter-section .filter-advanced-toggle {
    text-align: center;
    margin: 1.5rem 0;
  }
  .homeswap-search-filter-section .filter-advanced-btn {
    background: none;
    border: none;
    color: #EC4899;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
  }
  .homeswap-search-filter-section .filter-advanced-btn:hover {
    color: #2563EB;
  }

  /* Onglets Rechercher un Rituel / Déposer un projet (comme page Projet) */
  .homeswap-search-filter-section .filter-tabs-container {
    margin-bottom: 1.5rem;
  }
  .homeswap-search-filter-section .filter-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid rgba(244, 114, 182, 0.2);
    padding-bottom: 0.5rem;
  }
  .homeswap-search-filter-section .filter-tab {
    background: none;
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
    position: relative;
    display: flex;
    align-items: center;
  }
  .homeswap-search-filter-section .filter-tab:hover {
    color: #EC4899;
    background: rgba(236, 72, 153, 0.05);
  }
  .homeswap-search-filter-section .filter-tab.active {
    color: #EC4899;
    background: rgba(236, 72, 153, 0.1);
  }
  .homeswap-search-filter-section .filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #2563EB 100%);
    border-radius: 2px 2px 0 0;
  }
  .homeswap-search-filter-section .filter-content {
    display: none;
  }
  .homeswap-search-filter-section .filter-content.active {
    display: block;
  }
  .homeswap-search-filter-section .submit-project-cta {
    text-align: center;
    padding: 3rem 2rem;
  }
  .homeswap-search-filter-section .submit-project-content {
    max-width: 600px;
    margin: 0 auto;
  }
  .homeswap-search-filter-section .submit-project-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
  }
  .homeswap-search-filter-section .submit-project-text {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  .homeswap-search-filter-section .submit-project-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #2563EB 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  }
  .homeswap-search-filter-section .submit-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
  }

  /* ============================================
     FILTRES HOMESWAP - Structure en 3 blocs premium
     ============================================ */
  
  .homeswap-filters-form {
    margin-bottom: 40px;
  }

  /* Bloc opportunité : ville en devenir (aucun résultat + ville sélectionnée) */
  .homeswap-opportunity-block {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 255, 0.95) 100%);
    border-radius: 24px;
    border: 1px solid rgba(244, 114, 182, 0.15);
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.08);
  }
  .homeswap-opportunity-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.3;
  }
  .homeswap-opportunity-text {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
  }
  .homeswap-opportunity-text-secondary {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.75rem 0;
  }
  .homeswap-opportunity-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #2563EB 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  }
  .homeswap-opportunity-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
    color: #ffffff;
  }

  /* Panneau Filtres avancés : 2 niveaux, pas de cadre (comme capture 3 / Projets) */
  .homeswap-filters-form .homeswap-filters-advanced-panel {
    background: transparent;
    border-radius: 0;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    margin-top: 0;
    border-top: 1px solid rgba(244, 114, 182, 0.2);
  }

  .homeswap-filters-block {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--preply-border);
  }

  .homeswap-filters-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .homeswap-filters-block-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--preply-text);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
  }

  .homeswap-filters-block-title i {
    color: var(--preply-primary);
    margin-right: 8px;
  }

  .homeswap-filters-block-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .homeswap-filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .homeswap-filter-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--preply-text);
    display: flex;
    align-items: center;
  }

  .homeswap-filter-label i {
    color: var(--preply-primary-light);
    margin-right: 8px;
  }

  .homeswap-filter-input,
  .homeswap-filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--preply-border);
    border-radius: 10px;
    font-size: 0.9375rem;
    background: white;
    color: var(--preply-text);
    transition: all 0.2s ease;
  }

  .homeswap-filter-input:focus,
  .homeswap-filter-select:focus {
    outline: none;
    border-color: var(--preply-primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  }

  .homeswap-filter-input:hover,
  .homeswap-filter-select:hover {
    border-color: var(--preply-primary-light);
  }

  /* Dates du séjour (barre principale + panneau) */
  .homeswap-date-picker-wrapper {
    position: relative;
  }
  .homeswap-date-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
  }
  .homeswap-date-input-with-icon .homeswap-date-display {
    padding-right: 40px;
  }
  .homeswap-date-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--preply-text-light);
    pointer-events: none;
    font-size: 0.9375rem;
  }
  .homeswap-date-range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .homeswap-date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .homeswap-date-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .homeswap-date-label {
    font-size: 0.8125rem;
    color: var(--preply-text-light);
    font-weight: 400;
  }

  .homeswap-date-input {
    width: 100%;
  }

  .homeswap-date-text-input {
    width: 100%;
  }

  .homeswap-date-options-group {
    margin-bottom: 2rem;
  }
  .homeswap-date-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  /* ─ Pill rose — tous les checkboxes filtres HomeSwap (page listing) ─ */
  .homeswap-checkboxes-grid { display: flex; flex-wrap: wrap; gap: 8px; }
  .homeswap-checkbox-label {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 13px;
    border: 1.5px solid #f3e8f0;
    background: #fdf9fc;
    color: #374151;
    border-radius: 10px;
    font-size: .84rem;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
    user-select: none;
  }
  .homeswap-checkbox-label:hover { border-color: rgba(236,72,153,.45); background: rgba(236,72,153,.05); color: #EC4899; }
  .homeswap-checkbox-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
  .homeswap-checkbox-custom { display: none !important; }
  .homeswap-checkbox-label:has(.homeswap-checkbox-input:checked) {
    border-color: #EC4899;
    background: rgba(236,72,153,.09);
    color: #EC4899;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(236,72,153,.18);
  }
  .homeswap-checkbox-text { font-size: .84rem; }

  /* Caractéristiques du logement */
  .homeswap-characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .homeswap-characteristic-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .homeswap-characteristic-label {
    font-size: 0.8125rem;
    color: var(--preply-text-light);
    font-weight: 400;
  }

  /* Bouton Réinitialiser */
  .homeswap-filters-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--preply-border);
    display: flex;
    justify-content: center;
  }

  .homeswap-reset-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    color: var(--preply-text-light);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
  }

  .homeswap-reset-btn:hover {
    border-color: var(--preply-primary);
    color: var(--preply-primary);
    background: rgba(236, 72, 153, 0.05);
  }

  /* Input conditionnel */
  .homeswap-conditional-input {
    width: 100%;
  }

  /* Barre de recherche principale (style Projet) */
  .homeswap-search-main {
    background: white;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
  }
  .homeswap-search-main-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 24px;
  }
  .homeswap-search-field {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .homeswap-search-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--preply-text);
    display: flex;
    align-items: center;
  }
  .homeswap-search-label i {
    color: var(--preply-primary-light);
    margin-right: 8px;
  }
  .homeswap-search-submit {
    flex-shrink: 0;
  }
  .homeswap-search-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background: linear-gradient(90deg, var(--preply-primary) 0%, var(--preply-primary-light) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.25);
  }
  .homeswap-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
  }

  /* Bouton Filtres avancés (identique univers Projet) */
  .homeswap-filters-advanced-toggle {
    text-align: center;
    margin: 1.5rem 0;
  }
  .homeswap-filters-advanced-btn {
    background: none;
    border: none;
    color: var(--preply-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
  }
  .homeswap-filters-advanced-btn:hover {
    color: var(--preply-primary-light);
    background: rgba(236, 72, 153, 0.06);
  }
  .homeswap-filters-advanced-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }
  .homeswap-filters-advanced-chevron {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
  }
  .homeswap-filters-advanced-btn[aria-expanded="true"] .homeswap-filters-advanced-chevron {
    transform: rotate(180deg);
  }

  /* Panneau Filtres avancés (état ouvert/fermé via .is-open, pas seulement display) */
  .homeswap-filters-advanced-panel {
    display: none;
    padding-top: 1.5rem;
    padding-bottom: 0;
    border-top: 1px solid rgba(236, 72, 153, 0.15);
    overflow: hidden;
    transition: opacity 0.3s ease;
  }
  .homeswap-filters-advanced-panel.is-open {
    display: block !important;
  }

  /* ── Bloc Ma langue maternelle (barre principale homeswap) ─────────────── */
  .homeswap-filters-form .filter-group.besoin-langues {
    padding: 0.85rem 0 0.75rem;
    border-top: 1px solid rgba(236, 72, 153, 0.1);
    margin-top: 0.25rem;
  }
  .homeswap-filters-form .filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .homeswap-filters-form .filter-label i { color: #EC4899; }
  .homeswap-filters-form .filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9375rem;
    background: #fff;
    color: #374151;
    appearance: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
  }
  .homeswap-filters-form .filter-select:focus {
    outline: none;
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  }
  /* Layout ligne langue */
  .homeswap-filters-form .besoin-langues-row {
    display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 1rem 1.5rem;
  }
  .homeswap-filters-form .besoin-mother-tongue-wrap {
    min-width: 180px; max-width: 220px; flex-shrink: 0;
  }
  .homeswap-filters-form .besoin-mother-tongue-wrap .filter-select { width: 100%; }
  .homeswap-filters-form .besoin-other-langs-wrap {
    position: relative; flex: 1; min-width: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem;
  }
  .homeswap-filters-form .besoin-other-langs-label {
    font-size: 0.8rem; color: #6b7280; margin: 0; flex-shrink: 0;
  }
  .homeswap-filters-form .besoin-lang-chips {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem;
    min-height: 2rem; padding: 0.1rem 0; min-width: 0;
  }
  .homeswap-filters-form .besoin-lang-chip {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.25rem 0.55rem; border-radius: 10px;
    background: rgba(236, 72, 153, 0.07); border: 1px solid rgba(236, 72, 153, 0.22);
    font-size: 0.8rem; color: #1f2937;
  }
  .homeswap-filters-form .besoin-lang-chip-remove {
    background: none; border: none; padding: 0; margin: 0;
    cursor: pointer; color: #9ca3af; font-size: 0.9em; line-height: 1;
  }
  .homeswap-filters-form .besoin-lang-chip-remove:hover { color: #ef4444; }
  .homeswap-filters-form .besoin-add-lang-btn {
    display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; flex-shrink: 0;
    background: rgba(236, 72, 153, 0.06); border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 8px; color: #EC4899; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; gap: 0.3rem;
  }
  .homeswap-filters-form .besoin-add-lang-btn:hover {
    background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.4);
  }
  /* Popover CECRL */
  .homeswap-filters-form .cecrl-popover {
    display: none; position: absolute; z-index: 200; top: 100%; left: 0; margin-top: 0.35rem;
    min-width: 320px; max-width: 420px; max-height: 280px; overflow-y: auto;
    background: #fff; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.08);
  }
  .homeswap-filters-form .cecrl-popover:not([hidden]) { display: block; }
  .homeswap-filters-form .cecrl-popover[hidden] { display: none !important; }
  .homeswap-filters-form .cecrl-popover-inner { padding: 0.75rem 1rem; }
  .homeswap-filters-form .cecrl-table-head {
    display: flex; padding: 0 0 0.5rem; margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee; font-size: 0.75rem; font-weight: 600;
    color: #6b7280; text-transform: uppercase;
  }
  .homeswap-filters-form .cecrl-th-lang { width: 100px; flex-shrink: 0; }
  .homeswap-filters-form .cecrl-th-level { flex: 1; }
  .homeswap-filters-form .cecrl-row {
    display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; font-size: 0.85rem;
  }
  .homeswap-filters-form .cecrl-lang { width: 100px; flex-shrink: 0; color: #374151; }
  .homeswap-filters-form .cecrl-pills { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .homeswap-filters-form .cecrl-pill {
    padding: 0.2rem 0.45rem; border-radius: 8px; border: 1px solid #e5e7eb;
    background: #fafafa; color: #6b7280; font-size: 0.75rem; font-weight: 500;
    cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .homeswap-filters-form .cecrl-pill:hover { background: #fce7f3; border-color: #f9a8d4; color: #be185d; }
  .homeswap-filters-form .cecrl-pill.is-selected {
    background: rgba(236, 72, 153, 0.1); border-color: rgba(236, 72, 153, 0.4); color: #EC4899;
  }
  @media (max-width: 768px) {
    .homeswap-filters-form .besoin-langues-row { flex-direction: column; }
    .homeswap-filters-form .besoin-mother-tongue-wrap { max-width: 100%; }
    .homeswap-filters-form .besoin-other-langs-wrap { min-width: 100%; }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .homeswap-search-filter-section {
      padding: 1.5rem;
      border-radius: 24px;
    }
    .homeswap-search-filter-section .filter-tabs {
      flex-direction: column;
      gap: 0.5rem;
    }
    .homeswap-search-filter-section .filter-tab {
      width: 100%;
      justify-content: center;
    }
    .homeswap-search-filter-section .homeswap-filter-row-main,
    .homeswap-search-filter-section .filter-row-main {
      grid-template-columns: 1fr;
    }
    .homeswap-search-filter-section .filter-submit-btn {
      width: 100%;
      justify-content: center;
    }
    .homeswap-search-field {
      min-width: 0;
    }
    .homeswap-search-submit {
      width: 100%;
    }
    .homeswap-search-btn {
      width: 100%;
      justify-content: center;
    }
    .homeswap-filters-form .homeswap-filters-advanced-panel {
      padding-top: 1.5rem;
      padding-bottom: 1.5rem;
    }

    .homeswap-filters-block {
      margin-bottom: 32px;
      padding-bottom: 24px;
    }

    .homeswap-date-inputs {
      grid-template-columns: 1fr;
    }

    .homeswap-checkboxes-grid {
      grid-template-columns: 1fr;
    }

    .homeswap-characteristics-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Barre de filtres horizontaux Preply */
  .preply-filters-section {
    background: var(--preply-bg);
    padding: 24px 0;
    border-bottom: 1px solid var(--preply-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .preply-filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .preply-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
  }

  .preply-filter-group {
    position: relative;
    min-width: 200px;
    flex: 1;
  }

  .preply-filter-label {
    font-size: 0.875rem;
    color: var(--preply-text-light);
    margin-bottom: 4px;
    display: block;
  }

  .preply-filter-select,
  .preply-filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: var(--preply-bg);
    color: var(--preply-text);
    cursor: pointer;
    transition: all 0.2s;
  }

  .preply-filter-select:hover,
  .preply-filter-input:hover {
    border-color: var(--preply-primary);
  }

  /* DROPDOWNS PREMIUM HOMESWAP — Styles complets (copie depuis Projects) */
  
  /* Dropdown Domaine */
  .domain-dropdown-wrapper {
    position: relative;
  }

  .domain-dropdown-trigger {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--preply-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }

  .domain-dropdown-trigger:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
  }

  .domain-dropdown-trigger.active {
    border-color: var(--preply-primary);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
  }

  .domain-selected-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .domain-arrow {
    font-size: 0.75rem;
    color: var(--preply-text-light);
    transition: transform 0.2s;
    transform: rotate(0deg);
  }

  .domain-dropdown-trigger.active .domain-arrow {
    transform: rotate(180deg);
  }

  .domain-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--preply-bg);
    border: 1px solid var(--preply-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 10000 !important;
    max-height: 400px;
    overflow-y: auto;
  }

  .domain-option {
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: var(--preply-text);
    font-size: 0.9375rem;
  }

  .domain-option:hover {
    background-color: var(--preply-hover);
  }

  .domain-option.selected {
    background-color: rgba(236, 72, 153, 0.1);
    color: var(--preply-primary);
    font-weight: 500;
  }

  .domain-option .domain-option-label {
    display: block;
    font-weight: 500;
  }

  .domain-option .domain-option-desc {
    display: block;
    font-size: 0.8125rem;
    color: var(--preply-text-light);
    font-weight: 400;
    margin-top: 2px;
  }

  /* Micro-description premium sous le filtre Domaine */
  .domain-premium-desc {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(249, 250, 251, 0.95);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--preply-text-light);
    transition: opacity 0.2s ease;
  }
  
  .domain-premium-desc-icon {
    color: rgba(236, 72, 153, 0.6);
    margin-right: 6px;
    font-size: 0.7rem;
  }

  /* Container et z-index */
  .filters-level, .filters-level-inner, .preply-filter-advanced, .preply-filter-group {
    position: relative;
  }
  
  .container-filters-premium {
    position: relative;
    z-index: 1;
  }
  
  .domain-dropdown-menu {
    z-index: 10000 !important;
  }

  /* ============================================
     NEXUS — Ligne Domaine + Spécialisation
     ============================================ */
  .homeswap-domain-spec-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px 0;
    flex-wrap: wrap;
  }

  .filter-domain-nexus {
    flex: 0 0 auto;
  }

  .filter-specialization-nexus {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 320px;
  }

  @media (max-width: 640px) {
    .homeswap-domain-spec-row { padding: 12px 12px 0; gap: 12px; }
    .filter-specialization-nexus { max-width: 100%; flex: 1 1 100%; }
  }

  /* Étiquette au-dessus des pills */
  .mode-intervention-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9CA3AF;
    margin-bottom: 6px;
  }

  /* Conteneur pills (identique home) */
  .mode-intervention-segmented {
    display: flex;
    gap: 0.375rem;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
    border: 1px solid #e5e7eb;
  }

  .mode-intervention-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: none;
    white-space: nowrap;
    user-select: none;
  }

  .mode-intervention-pill:hover {
    background: rgba(255, 255, 255, 0.8);
  }

  .mode-intervention-pill.is-active {
    background: linear-gradient(135deg, #EC4899 0%, #A855F7 55%, #3B82F6 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(236, 72, 153, 0.28);
  }

  .mode-intervention-pill-icon {
    font-size: 0.95rem;
    line-height: 1;
  }

  .mode-intervention-pill-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    transition: color 0.18s ease;
  }

  .mode-intervention-pill.is-active .mode-intervention-pill-text {
    color: #fff;
  }

  @media (max-width: 580px) {
    .mode-intervention-segmented { flex-wrap: wrap; }
    .mode-intervention-pill { flex: 1 1 calc(50% - 0.375rem); }
  }

  /* ============================================
     NEXUS — Pricing Cards (section abonnement)
     ============================================ */
  .nexus-premium-eyebrow {
    display: inline-block;
    background: linear-gradient(90deg, rgba(236,72,153,.1) 0%, rgba(168,85,247,.1) 100%);
    color: #A855F7;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 14px;
  }

  .nexus-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0 32px;
  }

  @media (max-width: 540px) {
    .nexus-pricing-grid { grid-template-columns: 1fr; }
  }

  .nexus-pricing-card {
    border: 1.5px solid #E5E7EB;
    border-radius: 18px;
    padding: 26px 22px 22px;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
  }

  .nexus-pricing-card--popular {
    border-color: #EC4899;
    box-shadow: 0 4px 24px rgba(236, 72, 153, 0.14);
  }

  .nexus-pricing-card--annual {
    border-color: #A855F7;
    box-shadow: 0 4px 24px rgba(168, 85, 247, 0.12);
  }

  .nexus-pricing-badge-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 12px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #EC4899, #A855F7);
    color: #fff;
    margin-bottom: 14px;
  }

  .nexus-pricing-badge-pill--offer {
    background: linear-gradient(90deg, #A855F7, #3B82F6);
  }

  .nexus-pricing-cycle {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }

  .nexus-pricing-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
  }

  .nexus-pricing-amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1F2937;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .nexus-pricing-freq {
    font-size: 1rem;
    font-weight: 600;
    color: #9CA3AF;
    padding-bottom: 5px;
  }

  .nexus-pricing-note {
    font-size: 0.8125rem;
    color: #9CA3AF;
    font-style: italic;
  }

  .nexus-pricing-renewal {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    line-height: 1.55;
    color: #B0B8C9;
    font-style: italic;
    letter-spacing: 0.01em;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 0.55rem;
  }

  /* Loading state */
  .preply-results-section.is-loading {
    position: relative;
  }

  .preply-results-section.is-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    pointer-events: none;
  }

  .preply-results-section.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border: 3px solid rgba(236, 72, 153, 0.2);
    border-top-color: var(--preply-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 11;
  }

  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

  .preply-filter-select:focus,
  .preply-filter-input:focus {
    outline: none;
    border-color: var(--preply-primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  }

  /* Interface de sélection de disponibilité */
  .preply-availability-group {
    position: relative;
  }

  .preply-availability-trigger {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: var(--preply-bg);
    color: var(--preply-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
  }

  .preply-availability-trigger:hover {
    border-color: var(--preply-primary);
  }

  .preply-availability-trigger i {
    font-size: 0.75rem;
    transition: transform 0.2s;
  }

  .preply-availability-trigger.active i {
    transform: rotate(180deg);
  }

  .preply-availability-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--preply-bg);
    border: 1px solid var(--preply-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 20px;
    z-index: 1000;
    display: none;
    max-height: 500px;
    overflow-y: auto;
  }

  .preply-availability-panel.active {
    display: block;
  }

  .availability-section {
    margin-bottom: 24px;
  }

  .availability-section:last-of-type {
    margin-bottom: 0;
  }

  .availability-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--preply-text);
    margin-bottom: 12px;
  }

  .availability-time-group {
    margin-bottom: 16px;
  }

  .availability-time-label {
    font-size: 0.875rem;
    color: var(--preply-text-light);
    margin-bottom: 8px;
    font-weight: 500;
  }

  .availability-time-slots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .availability-time-btn {
    padding: 10px 16px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    background: var(--preply-bg);
    color: var(--preply-text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    transition: all 0.2s;
    min-width: 70px;
  }

  .availability-time-btn:hover {
    border-color: var(--preply-primary);
    background: var(--preply-hover);
  }

  .availability-time-btn.selected {
    background: linear-gradient(135deg, var(--preply-primary-dark) 0%, var(--preply-primary) 50%, var(--preply-primary-light) 100%);
    color: white;
    border-color: var(--preply-primary);
  }

  .availability-time-btn i {
    font-size: 1rem;
  }

  .availability-days {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .availability-day-btn {
    flex: 1;
    min-width: 50px;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    background: var(--preply-bg);
    color: var(--preply-text);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    text-align: center;
  }

  .availability-day-btn:hover {
    border-color: var(--preply-primary);
    background: var(--preply-hover);
  }

  .availability-day-btn.selected {
    background: linear-gradient(135deg, var(--preply-primary-dark) 0%, var(--preply-primary) 50%, var(--preply-primary-light) 100%);
    color: white;
    border-color: var(--preply-primary);
  }

  .availability-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--preply-border);
  }

  .availability-clear-btn,
  .availability-apply-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
  }

  .availability-clear-btn {
    background: var(--preply-bg);
    color: var(--preply-text);
    border: 1px solid var(--preply-border);
  }

  .availability-clear-btn:hover {
    background: var(--preply-hover);
  }

  .availability-apply-btn {
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #60A5FA 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
    letter-spacing: 0.01em;
  }

  .availability-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
  }

  .availability-apply-btn:active {
    transform: translateY(0.5px);
    transition-duration: 0.1s;
  }

  .availability-apply-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }

  .preply-filters-advanced {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
  }

  .preply-filter-advanced {
    min-width: 150px;
    flex: 0 1 auto;
  }

  .preply-search-input {
    flex: 1;
    min-width: 200px;
  }

  /* Résultats et tri */
  .preply-results-section {
    background: var(--preply-bg);
    padding: 32px 0;
    overflow: visible; /* Permettre à la vidéo de dépasser */
  }

  .preply-results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: visible; /* Permettre à la vidéo de dépasser */
    position: relative;
  }

  .preply-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .preply-results-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--preply-text);
  }

  .preply-sort-select {
    padding: 8px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: var(--preply-bg);
    color: var(--preply-text);
    cursor: pointer;
  }

  /* ============================================
     CARTES PROFESSEURS PREPLY - Duplication exacte
     Mesures contractuelles strictes
     ============================================ */
  
  .preply-teachers-list {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Espacement réduit entre cartes pour effet compact */
    max-width: 808px; /* Largeur réduite de 2cm (75px) : 883px - 75px */
    margin: 0 auto;
    padding: 0;
  }

  /* Wrapper pour chaque carte */
  .preply-teacher-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
  }

  /* Carte principale - Duplication exacte Preply (compacte + premium) */
  .preply-teacher-card {
    background: var(--preply-bg);
    border: 1px solid rgba(0, 0, 0, 0.08); /* Border subtile comme Preply */
    border-radius: 12px;
    padding: 18px; /* Padding réduit pour carte compacte */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04); /* Ombre douce Preply */
    display: grid;
    grid-template-columns: 135px 1fr 240px; /* Col A (photo fixe agrandie de 0.5cm) | Col B (infos) | Col C (prix/CTA) */
    gap: 16px; /* Gap réduit pour compacité */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Transition premium fluide */
    position: relative;
    width: 100%;
    min-height: auto;
  }

  /* Effet premium au hover - Élévation subtile comme Preply */
  .preply-teacher-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04); /* Ombre plus prononcée */
    transform: translateY(-2px); /* Légère élévation premium */
    border-color: rgba(0, 0, 0, 0.12); /* Border légèrement plus visible */
  }

  /* ============================================
     COLONNE PHOTO - ESPACE FIXE OBLIGATOIRE (compacte)
     Jamais de collapse, toujours 100px
     ============================================ */
  .preply-teacher-photo {
    width: 135px; /* Colonne photo agrandie pour accommoder l'avatar de 115px + espace */
    flex-shrink: 0; /* Interdit le rétrécissement */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Conteneur avatar - Photo carrée Preply (pas ronde) - AGRANDIE de 0.5cm */
  .preply-teacher-photo-avatar {
    width: 115px; /* Taille agrandie de 0.5cm (19px) : 96px + 19px */
    height: 115px; /* Photo carrée agrandie */
    border-radius: 8px; /* Coins arrondis subtils */
    overflow: visible !important; /* IMPORTANT: permettre aux badges de dépasser */
    position: relative !important; /* IMPORTANT: pour le positionnement absolu des badges */
    flex-shrink: 0;
    background: #f3f4f6; /* Fond placeholder */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Ombre subtile sur photo */
  }
  
  .preply-teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
  }

  /* Placeholder si pas d'image - Même taille, pas de collapse */
  .preply-teacher-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #2563EB 100%);
    color: white;
    font-size: 1.75rem; /* Taille réduite pour carte compacte */
    font-weight: 600;
    border-radius: 8px;
  }

  .preply-teacher-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--preply-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid white;
    z-index: 2;
  }

  /* Badge "En ligne" vert en angle droit */
  .preply-teacher-online-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #10b981; /* Vert */
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6875rem; /* 11px */
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid white;
    z-index: 10 !important; /* Z-index élevé pour être visible */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    display: block !important; /* Forcer l'affichage */
  }

  /* Badge gris "Dernière connexion" avec tooltip - Petit point */
  .preply-teacher-last-seen-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #6b7280; /* Gris */
    border-radius: 50%;
    border: 2px solid white;
    z-index: 10 !important; /* Z-index élevé pour être visible */
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    display: block !important; /* Forcer l'affichage */
  }

  /* Tooltip pour dernière connexion - CACHÉ par défaut */
  .preply-teacher-last-seen-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: #1f2937; /* Gris foncé */
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem; /* 12px */
    white-space: nowrap;
    opacity: 0 !important; /* Forcer à être caché */
    visibility: hidden !important; /* Forcer à être caché */
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: none !important; /* Cacher complètement par défaut */
  }

  /* Flèche du tooltip */
  .preply-teacher-last-seen-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1f2937;
  }

  /* Afficher le tooltip UNIQUEMENT au survol */
  .preply-teacher-last-seen-badge:hover .preply-teacher-last-seen-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important; /* Afficher uniquement au survol */
  }

  /* Informations professeur - Style Preply exact */
  .preply-teacher-info {
    flex: 1;
    min-width: 0;
  }

  .preply-teacher-name {
    font-size: 1rem; /* Taille réduite pour compacité */
    font-weight: 600;
    color: var(--preply-text);
    margin-bottom: 2px; /* Espacement réduit */
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
  }
  
  /* Masquer tout texte "Dernière connexion" visible sur la carte */
  .preply-teacher-info *:not(.preply-teacher-last-seen-tooltip) {
    /* S'assurer qu'aucun texte "Dernière connexion" n'est visible */
  }
  
  /* Masquer spécifiquement les éléments contenant "Dernière connexion" */
  .preply-teacher-info [data-last-seen]::before,
  .preply-teacher-info [data-last-seen]::after {
    display: none !important;
  }

  .preply-teacher-name a {
    color: var(--preply-text);
    text-decoration: none;
  }

  .preply-teacher-name a:hover {
    color: var(--preply-primary);
  }

  .preply-teacher-verified {
    color: var(--preply-primary);
    font-size: 0.875rem;
  }

  .preply-teacher-country {
    font-size: 0.8125rem; /* Taille réduite */
    color: var(--preply-text-light);
    margin-bottom: 4px; /* Espacement réduit */
  }

  .preply-teacher-subject {
    font-size: 0.8125rem; /* Taille réduite */
    color: var(--preply-text);
    margin-bottom: 4px; /* Espacement réduit */
    font-weight: 500;
  }

  .preply-teacher-languages {
    font-size: 0.8125rem; /* Taille réduite */
    color: var(--preply-text-light);
    margin-bottom: 8px; /* Espacement réduit */
  }

  .preply-teacher-bio {
    font-size: 0.875rem; /* Taille réduite */
    color: var(--preply-text);
    line-height: 1.5;
    margin-bottom: 8px; /* Espacement réduit */
  }

  .preply-teacher-learn-more {
    color: var(--preply-primary);
    font-size: 0.8125rem; /* Taille réduite */
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px; /* Espacement réduit */
    transition: color 0.2s;
  }

  .preply-teacher-learn-more:hover {
    text-decoration: underline;
    color: var(--preply-primary-dark);
  }

  .preply-teacher-popularity {
    font-size: 0.8125rem; /* Taille réduite */
    color: var(--preply-text-light);
    margin-bottom: 0; /* Pas de marge en bas */
  }

  /* Prix et CTA - Colonne actions Preply (compacte) */
  .preply-teacher-pricing {
    width: 240px; /* Colonne actions Preply */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px; /* Gap réduit */
  }

  .preply-teacher-price {
    font-size: 1.375rem; /* Taille réduite */
    font-weight: 700;
    color: var(--preply-text);
    text-align: right;
    line-height: 1.2;
  }

  .preply-teacher-price-label {
    font-size: 0.8125rem; /* Taille réduite */
    color: var(--preply-text-light);
  }

  .preply-teacher-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px; /* Espacement réduit */
  }

  .preply-teacher-rating-score {
    font-size: 1rem; /* Taille réduite */
    font-weight: 600;
    color: var(--preply-text);
  }

  .preply-teacher-rating-count {
    font-size: 0.8125rem; /* Taille réduite */
    color: var(--preply-text-light);
  }

  .preply-teacher-stats {
    font-size: 0.8125rem; /* Taille réduite */
    color: var(--preply-text-light);
    margin-bottom: 12px; /* Espacement réduit */
    line-height: 1.4;
  }

  .preply-teacher-btn {
    padding: 10px 16px; /* Padding réduit */
    border-radius: 8px;
    font-size: 0.875rem; /* Taille réduite */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* Transition premium */
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
  }

  .preply-teacher-btn-primary {
    background: linear-gradient(135deg, var(--preply-primary-dark) 0%, var(--preply-primary) 50%, var(--preply-primary-light) 100%);
    color: white;
    border: none;
    margin-bottom: 6px; /* Espacement réduit */
    box-shadow: 0 2px 4px rgba(236, 72, 153, 0.2); /* Ombre subtile */
  }

  /* Effet premium au hover */
  .preply-teacher-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35), 0 2px 4px rgba(236, 72, 153, 0.2); /* Ombre plus prononcée */
  }

  .preply-teacher-btn-secondary {
    background: var(--preply-bg);
    color: var(--preply-text);
    border: 1px solid var(--preply-border);
  }

  .preply-teacher-btn-secondary:hover {
    background: var(--preply-hover);
    border-color: var(--preply-primary);
  }

  /* ============================================
     POPOVER VIDÉO PREPLY - Duplication exacte
     Portal (position: fixed) + Hoverable + Flèche toggle
     ============================================ */
  
  /* Popover vidéo unique (portal au niveau body) */
  #preply-video-popover {
    position: fixed;
    width: 320px; /* 300-340px comme spécifié */
    background: var(--preply-bg);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease-out, 
                visibility 0.1s ease-out; /* Open: 80-120ms */
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
  }

  #preply-video-popover.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  /* Flèche pour toggle gauche/droite */
  .preply-popover-arrow {
    position: absolute;
    top: 12px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    display: none; /* Masqué par défaut, affiché par JS selon le côté */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .preply-popover-arrow:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .preply-popover-arrow.arrow-left {
    left: 8px;
  }

  .preply-popover-arrow.arrow-right {
    right: 8px;
  }

  .preply-popover-arrow i {
    font-size: 0.75rem;
    color: var(--preply-text);
  }

  /* Vidéo thumbnail - Bloc vidéo rectangle */
  .preply-popover-video-thumbnail {
    width: 100%;
    height: 200px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
    background: #000;
  }

  .preply-popover-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Bouton play rond rose bleu royal Homeswap */
  .preply-popover-play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #2563EB 100%); /* Rose bleu royal */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
  }

  .preply-popover-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.5);
  }

  .preply-popover-play-btn i {
    margin-left: 2px;
  }

  /* Actions vidéo - 2 boutons pleine largeur */
  .preply-popover-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .preply-popover-action-btn {
    padding: 10px 16px;
    background: var(--preply-bg);
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--preply-text);
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    width: 100%;
  }

  .preply-popover-action-btn:hover {
    background: var(--preply-hover);
    border-color: var(--preply-primary);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .preply-teacher-card {
      grid-template-columns: 72px 1fr;
      gap: 12px;
    }

    .preply-teacher-pricing {
      grid-column: 1 / -1;
      width: 100%;
      align-items: flex-start;
      margin-top: 12px;
    }

    .preply-teacher-card {
      grid-template-columns: 96px 1fr;
      gap: 16px;
    }

    .preply-teacher-photo {
      width: 115px; /* Taille agrandie de 0.5cm sur tablette aussi */
    }

    .preply-teacher-pricing {
      grid-column: 1 / -1;
      width: 100%;
      align-items: flex-start;
      margin-top: 12px;
    }

    /* Sur mobile/tablette : masquer popover vidéo hover */
    #preply-video-popover {
      display: none !important;
    }

    .preply-teacher-card-mobile-video-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 12px;
      background: var(--preply-bg);
      border: 1px solid var(--preply-border);
      border-radius: 8px;
      font-size: 0.875rem;
      color: var(--preply-text);
      text-decoration: none;
      margin-top: 8px;
    }
  }

  @media (max-width: 768px) {
    .preply-filters-row {
      flex-direction: column;
    }

    .preply-filter-group {
      width: 100%;
    }

    .preply-teachers-list {
      max-width: 100%;
      padding: 0 16px;
    }

    .preply-teacher-card-wrapper {
      max-width: 100%;
    }

    .preply-teacher-card {
      padding: 16px;
      border-width: 1px;
    }
  }

  /* Desktop: bouton mobile vidéo masqué */
  .preply-teacher-card-mobile-video-btn {
    display: none;
  }

  /* Dropdown Premium Pays de naissance */
  .country-dropdown-wrapper {
    position: relative;
  }

  .country-dropdown-trigger {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--preply-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }

  .country-dropdown-trigger:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
  }

  .country-dropdown-trigger.active {
    border-color: var(--preply-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
  }

  .country-selected-text {
    flex: 1;
  }

  .country-arrow {
    font-size: 0.75rem;
    color: var(--preply-text-light);
    transition: transform 0.2s;
    transform: rotate(0deg);
  }

  .country-dropdown-trigger.active .country-arrow {
    transform: rotate(180deg);
  }

  .country-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--preply-bg);
    border: 1px solid var(--preply-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
  }

  .country-search-wrapper {
    position: relative;
    margin-bottom: 12px;
  }

  .country-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--preply-text-light);
    font-size: 0.875rem;
    pointer-events: none;
  }

  .country-search-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--preply-text);
    outline: none;
    transition: all 0.2s;
  }

  .country-search-input:focus {
    border-color: var(--preply-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  }

  .country-popular-header {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--preply-text);
    margin-bottom: 8px;
    padding: 0 4px;
  }

  .country-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .country-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
    gap: 12px;
  }

  .country-option:hover {
    background-color: var(--preply-hover);
  }

  .country-option.selected {
    background-color: rgba(139, 92, 246, 0.1);
  }

  .country-flag {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: cover;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .country-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--preply-text);
  }

  .country-option.selected .country-name {
    color: var(--preply-primary);
    font-weight: 500;
  }

  .country-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--preply-border);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .country-option.selected .country-checkbox {
    background-color: var(--preply-primary);
    border-color: var(--preply-primary);
  }

  .country-option.selected .country-checkbox::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
  }

  .country-no-results {
    padding: 16px;
    text-align: center;
    color: var(--preply-text-light);
    font-size: 0.875rem;
  }

  .country-all-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--preply-border);
  }

  /* Dropdown Premium "Je parle" */
  .language-dropdown-wrapper {
    position: relative;
  }

  .language-dropdown-trigger {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--preply-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }

  .language-dropdown-trigger:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
  }

  .language-dropdown-trigger.active {
    border-color: var(--preply-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
  }

  .language-selected-text {
    flex: 1;
  }

  .language-arrow {
    font-size: 0.75rem;
    color: var(--preply-text-light);
    transition: transform 0.2s;
    transform: rotate(0deg);
  }

  .language-dropdown-trigger.active .language-arrow {
    transform: rotate(180deg);
  }

  .language-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--preply-bg);
    border: 1px solid var(--preply-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
  }

  .language-search-wrapper {
    position: relative;
    margin-bottom: 12px;
  }

  .language-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--preply-text-light);
    font-size: 0.875rem;
    pointer-events: none;
  }

  .language-search-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--preply-text);
    outline: none;
    transition: all 0.2s;
  }

  .language-search-input:focus {
    border-color: var(--preply-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  }

  .language-popular-header {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--preply-text);
    margin-bottom: 8px;
    padding: 0 4px;
  }

  .language-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .language-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
    gap: 12px;
  }

  .language-option:hover {
    background-color: var(--preply-hover);
  }

  .language-option.selected {
    background-color: rgba(139, 92, 246, 0.1);
  }

  .language-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--preply-text);
  }

  .language-option.selected .language-name {
    color: var(--preply-primary);
    font-weight: 500;
  }

  .language-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--preply-border);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .language-option.selected .language-checkbox {
    background-color: var(--preply-primary);
    border-color: var(--preply-primary);
  }

  .language-option.selected .language-checkbox::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
  }

  .language-no-results {
    padding: 16px;
    text-align: center;
    color: var(--preply-text-light);
    font-size: 0.875rem;
  }

  .language-all-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--preply-border);
  }

  .language-reset-option {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--preply-border);
  }

  .language-reset-option .language-name {
    font-weight: 600;
  }

  /* Popover Premium "Langue maternelle" - Freelances natifs uniquement */
  .native-only-wrapper {
    position: relative;
  }

  .native-only-trigger {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--preply-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }

  .native-only-trigger:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
  }

  .native-only-trigger.active {
    border-color: var(--preply-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
  }

  .native-only-text {
    flex: 1;
  }

  .native-only-arrow {
    font-size: 0.75rem;
    color: var(--preply-text-light);
    transition: transform 0.2s;
    transform: rotate(0deg);
  }

  .native-only-trigger.active .native-only-arrow {
    transform: rotate(180deg);
  }

  .native-only-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--preply-bg);
    border: 1px solid var(--preply-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    padding: 20px;
    min-width: 280px;
  }

  .native-only-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }

  .native-only-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--preply-text);
    flex: 1;
  }

  .native-only-toggle-wrapper {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 16px;
  }

  .native-only-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .native-only-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: 0.3s;
    border-radius: 24px;
  }

  .native-only-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .native-only-toggle-input:checked + .native-only-toggle-slider {
    background-color: var(--preply-primary);
  }

  .native-only-toggle-input:checked + .native-only-toggle-slider:before {
    transform: translateX(20px);
  }

  .native-only-description {
    font-size: 0.875rem;
    color: var(--preply-text-light);
    line-height: 1.5;
    margin: 0;
  }

  /* Panel Premium "Catégories de freelances" */
  .category-filter-wrapper {
    position: relative;
  }

  .category-filter-trigger {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--preply-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--preply-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }

  .category-filter-trigger:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
  }

  .category-filter-trigger.active {
    border-color: var(--preply-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
  }

  .category-filter-text {
    flex: 1;
  }

  .category-filter-arrow {
    font-size: 0.75rem;
    color: var(--preply-text-light);
    transition: transform 0.2s;
    transform: rotate(0deg);
  }

  .category-filter-trigger.active .category-filter-arrow {
    transform: rotate(180deg);
  }

  .category-filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--preply-bg);
    border: 1px solid var(--preply-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    padding: 20px;
    min-width: 320px;
  }

  .category-filter-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .category-filter-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
  }

  .category-filter-card-icon.super-icon {
    background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
    color: var(--preply-primary);
  }

  .category-filter-card-icon.qualified-icon {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: var(--preply-primary-light);
  }

  .category-filter-card-content {
    flex: 1;
  }

  .category-filter-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }

  .category-filter-card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--preply-text);
    flex: 1;
  }

  .category-filter-card-description {
    font-size: 0.875rem;
    color: var(--preply-text-light);
    line-height: 1.5;
    margin: 0;
  }

  .category-filter-toggle-wrapper {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 16px;
  }

  .category-filter-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .category-filter-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: 0.3s;
    border-radius: 24px;
  }

  .category-filter-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .category-filter-toggle-input:checked + .category-filter-toggle-slider {
    background-color: var(--preply-primary);
  }

  .category-filter-toggle-input:checked + .category-filter-toggle-slider:before {
    transform: translateX(20px);
  }

  .category-filter-separator {
    height: 1px;
    background: var(--preply-border);
    margin: 16px 0;
  }

  /* Modèle de recherche premium (style capsule) */
  .search-box-modern {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 48px;
    display: flex;
    align-items: center;
  }

  .search-box-modern:hover {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
  }

  .search-box-modern input {
    border: none;
    height: 42px;
    padding: 0 20px;
    font-size: 0.9375rem;
    background: transparent;
    color: #1a202c;
    font-weight: 400;
    flex: 1;
  }

  .search-box-modern input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
    font-size: 0.9375rem;
  }

  .search-box-modern input:focus {
    outline: none;
    box-shadow: none;
  }

  /* Bouton loupe rond intégré (style premium) */
  .search-box-modern .btn-search {
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    margin-right: 3px;
    cursor: pointer;
  }

  .search-box-modern .btn-search i {
    font-size: 1rem;
    margin: 0;
  }

  .search-box-modern .btn-search:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
    filter: brightness(1.05);
  }

  .search-box-modern .btn-search:active {
    transform: scale(1.0) translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .search-box-modern .btn-search:focus-visible {
    outline: none;
    ring: 2px;
    ring-color: rgba(236, 72, 153, 0.5);
    ring-offset: 2px;
  }

  /* ============================================
     CARTES FREELANCES PREMIUM - Style Projects
     ============================================ */
  .freelancers-list-wrapper {
    overflow: visible !important;
    z-index: 1;
  }

  .freelancer-card-premium-v2 {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0.5rem 1.75rem;
    min-height: 200px;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
  }

  @media (min-width: 1200px) {
    .freelancer-card-premium-v2 {
      max-width: 68%;
      margin-right: auto;
    }
  }

  .freelancer-card__content {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    flex: 1;
    min-width: 0;
    position: relative;
  }

  .freelancer-card-premium-v2 .freelancer-quick-view-v2 {
    left: calc(100% + 1.5rem) !important;
  }

  .freelancer-card-premium-v2:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .freelancer-card-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: flex-start;
    padding: 0;
    width: 100%;
  }

  .freelancer-photo-section {
    position: relative;
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: auto;
    min-width: 260px;
    max-width: 300px;
    padding-bottom: 8px;
  }

  .freelancer-identity-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .freelancer-photo-container {
    position: relative;
    width: 138px;
    height: 138px;
    flex-shrink: 0;
    overflow: visible;
    margin-bottom: 0;
  }

  .freelancer-status-dot-wrapper {
    position: absolute;
    bottom: 4px;
    right: 4px;
    z-index: 10;
    cursor: pointer;
  }

  .freelancer-status-dot-wrapper .status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: block;
    transition: transform 0.2s;
  }

  .freelancer-status-dot-wrapper .status-dot.status-online {
    background: #10B981;
    animation: pulse-online 2s ease-in-out infinite;
  }

  .freelancer-status-dot-wrapper .status-dot.status-offline {
    background: #9CA3AF;
  }

  .freelancer-status-text-wrapper {
    position: absolute;
    bottom: -28px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    white-space: nowrap !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 5;
    pointer-events: none;
    padding: 0 4px;
    box-sizing: border-box;
    flex-wrap: nowrap !important;
    line-height: 1.2;
  }

  .freelancer-status-dot-wrapper:hover ~ .freelancer-status-text-wrapper,
  .freelancer-photo-container:hover .freelancer-status-dot-wrapper:hover ~ .freelancer-status-text-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .status-dot-inline {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
  }

  .status-dot-inline.status-online {
    background: #10B981;
  }

  .status-dot-inline.status-offline {
    background: #9CA3AF;
  }

  .status-text-inline {
    color: #6B7280;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.3;
  }

  .status-line-1,
  .status-line-2 {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .status-line-2 {
    font-size: 10px;
    color: #9CA3AF;
  }

  .freelancer-job-line {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-top: 4px;
    line-height: 1.4;
  }

  .freelancer-headline {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
    margin: 4px 0 2px 0;
  }

  .freelancer-photo-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: center center;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #F9FAFB;
    display: block;
  }

  .freelancer-photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #7C3AED 100%);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2), 0 2px 8px rgba(124, 58, 237, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .photo-initial {
    font-size: 58px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: -1px;
    line-height: 1;
  }

  .freelancer-badge-overlay {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
    z-index: 15;
    background: white;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .freelancer-badge-overlay.badge-verified {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-color: white;
  }

  .freelancer-badge-overlay.badge-verified i {
    color: white;
    font-size: 16px;
  }

  .freelancer-badge-overlay.badge-top {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    border-color: white;
  }

  .freelancer-badge-overlay.badge-top i {
    color: white;
    font-size: 14px;
  }

  .freelancer-info-section {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 8px;
    margin-right: 0.5rem;
  }

  .freelancer-name-v2 {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .freelancer-name-v2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }

  .freelancer-name-v2 a:hover {
    color: var(--preply-primary);
  }

  .verified-icon-v2 {
    color: #10B981;
    font-size: 18px;
  }

  .freelancer-bio-wrapper {
    margin: 0 0 4px 0;
  }

  .freelancer-bio-v2 {
    font-size: 14px;
    line-height: 1.5;
    color: #4B5563;
    margin: 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .freelancer-learn-more-v2 {
    font-size: 14px;
    font-weight: 500;
    color: var(--preply-primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
    transition: color 0.2s;
  }

  .freelancer-learn-more-v2:hover {
    color: var(--preply-primary-dark);
    text-decoration: underline;
  }

  .freelancer-popularity-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
  }

  .freelancer-popularity-v2 i {
    color: #10B981;
  }

  .freelancer-pricing-section {
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    border-left: 1px solid #E5E7EB;
    padding-left: 10px;
    position: relative;
  }

  .freelancer-favorite-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s;
    z-index: 5;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .freelancer-favorite-btn:hover {
    color: #EF4444;
    transform: scale(1.1);
  }

  .freelancer-favorite-btn.active {
    color: #EF4444;
  }

  .freelancer-price-v2 {
    text-align: right;
    position: relative;
    margin-right: 28px;
    padding-top: 4px;
  }

  .price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
  }

  .price-label {
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
  }

  .freelancer-rating-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
  }

  .rating-number {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
  }

  .rating-stars-v2 {
    color: #FCD34D;
    font-size: 16px;
  }

  .rating-count {
    font-size: 13px;
    color: #6B7280;
  }

  .freelancer-stats-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
  }

  .stat-item-v2 {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
  }

  .stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
  }

  .stat-label-v2 {
    display: block;
    font-size: 11px;
    color: #6B7280;
    margin-top: 4px;
    font-weight: 500;
  }

  .freelancer-cta-v2 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
  }

  .cta-primary-v2 {
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #60A5FA 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
    letter-spacing: 0.01em;
  }

  .cta-primary-v2:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
    background: linear-gradient(90deg, #EC4899 0%, #A855F7 50%, #3B82F6 100%);
    color: white;
  }

  .cta-primary-v2:active {
    transform: translateY(0.5px);
    transition-duration: 0.1s;
  }

  .cta-primary-v2:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }

  .cta-secondary-v2 {
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FAFAFA;
    color: var(--preply-text);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    letter-spacing: 0.01em;
  }

  .cta-secondary-v2:hover {
    background: #F5F5F5;
    border-color: #D1D5DB;
    color: var(--preply-text);
    transform: translateY(-0.5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  }

  .cta-secondary-v2:active {
    transform: translateY(0.5px);
    transition-duration: 0.1s;
  }

  .cta-secondary-v2:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  }

  .freelancer-card-premium-v2 .freelancer-quick-view-v2,
  .freelancers-list-wrapper .freelancer-quick-view-v2 {
    position: absolute !important;
    top: 0 !important;
    transform: translateX(-10px) !important;
    left: calc(100% + 1.5rem) !important;
    right: auto !important;
    width: 340px !important;
    max-width: 340px !important;
    height: 100% !important;
    min-height: auto;
    max-height: none;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100 !important;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .freelancer-card-premium-v2:hover .freelancer-quick-view-v2,
  .freelancers-list-wrapper .freelancer-card-premium-v2:hover .freelancer-quick-view-v2,
  .freelancers-list-wrapper .freelancer-card-wrapper-premium:hover .freelancer-quick-view-v2 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: all !important;
  }

  @media (max-width: 1024px) {
    .freelancer-card-premium-v2 {
      flex-direction: column;
    }
    
    .freelancer-card__content {
      max-width: 100% !important;
      margin-right: 0 !important;
      flex-direction: column;
    }
    
    .freelancer-card-content {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    
    .freelancers-list-wrapper .freelancer-quick-view-v2 {
      position: static !important;
      transform: none !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 1rem 0 0 0 !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
    }
  }

  @media (max-width: 768px) {
    .freelancer-quick-view-v2 {
      display: none !important;
    }
  }

  .quick-view-content-v2 {
    display: flex;
    flex-direction: column;
  }

  .quick-view-video-section {
    position: relative;
    width: 100%;
    height: 45%;
    min-height: 169px;
    max-height: 219px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #1F2937;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
  }

  .video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    background: #1F2937;
  }

  .video-play-btn-v2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 10;
  }

  .video-play-btn-v2:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  }

  .video-play-btn-v2 svg {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
  }

  .quick-view-actions-v2 {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
  }

  .quick-view-btn-primary-v2,
  .quick-view-btn-secondary-v2 {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
  }

  .quick-view-btn-primary-v2 {
    padding: 19px 16px;
    background: linear-gradient(135deg, var(--preply-primary-dark) 0%, var(--preply-primary) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
  }

  .quick-view-btn-primary-v2:hover {
    background: linear-gradient(135deg, #DB2777 0%, #EC4899 100%);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
    transform: translateY(-1px);
    color: white;
  }

  .quick-view-btn-secondary-v2 {
    background: white;
    color: #111827;
    border: 1px solid #D1D5DB;
  }

  .quick-view-btn-secondary-v2:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
    color: #111827;
  }

  @keyframes pulse-online {
    0%, 100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.7;
      transform: scale(1.1);
    }
  }

  /* Modale vidéo */
  .video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
  }

  .video-modal-overlay.active {
    display: flex;
  }

  .video-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }

  .video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }

  .video-modal-content {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .video-modal-content iframe,
  .video-modal-content video {
    width: 100%;
    height: 100%;
    border: none;
  }

  /* ========== DESIGN SYSTEM PREMIUM (scopé .page-homeswap) ========== */
  /* Fond de page (sous filtre et cartes) : dégradé violet lavande /services + jet de lumière — sans toucher au hero */
  .services-page-wrapper.page-homeswap {
    min-height: 100vh; position: relative; overflow: hidden;
    background-color: #FAFAFC;
    background-image: linear-gradient(180deg, #FAFAFC 0%, #F8F7FC 40%, #F5F3FF 100%), url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-blend-mode: normal, overlay; background-size: 100% 100%, 200px 200px; background-position: 0 0, 0 0;
  }
  .services-page-wrapper.page-homeswap::before { content: ''; position: fixed; top: -20%; left: -10%; width: 60%; height: 60%; background: radial-gradient(circle at 30% 30%, rgba(196, 181, 253, 0.06) 0%, transparent 55%); pointer-events: none; z-index: 0; }
  .services-page-wrapper.page-homeswap::after { content: ''; position: fixed; bottom: -20%; right: -10%; width: 55%; height: 55%; background: radial-gradient(circle at 70% 70%, rgba(196, 181, 253, 0.05) 0%, transparent 55%); pointer-events: none; z-index: 0; }
  .services-page-wrapper.page-homeswap > * { position: relative; z-index: 1; }
  .services-page-wrapper.page-homeswap .preply-filters-section, .services-page-wrapper.page-homeswap .preply-results-section { background: transparent; }
  .page-homeswap .homeswap-hero-premium { position: relative; border-radius: 0 0 32px 32px; box-shadow: 0 12px 40px rgba(236, 72, 153, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
  .page-homeswap .homeswap-hero-premium::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0.12) 0%, transparent 50%); pointer-events: none; z-index: 1; }
  .page-homeswap .homeswap-hero-premium::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 160px; background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.5) 50%, transparent 100%); pointer-events: none; z-index: 2; }
  .page-homeswap .preply-filters-section { border-bottom: 1px solid var(--preply-border); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); }
  .page-homeswap .preply-filter-select, .page-homeswap .preply-filter-input { border: 1px solid var(--preply-border); border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
  .page-homeswap .preply-filter-select:focus, .page-homeswap .preply-filter-input:focus { box-shadow: 0 0 0 3px rgba(var(--preply-primary-rgb), 0.12); }
  .page-homeswap .preply-results-header { border-bottom: 1px solid var(--preply-border); padding-bottom: 1rem; margin-bottom: 1rem; }
  .page-homeswap .freelancer-card-premium-v2 { border: 1px solid rgba(229, 231, 235, 0.9); border-radius: 20px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
  .page-homeswap .freelancer-card-premium-v2:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); }
  .page-homeswap .homeswap-premium-btn, .page-homeswap .premium-modal-btn { transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
  .page-homeswap .homeswap-premium-btn:hover, .page-homeswap .premium-modal-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--preply-primary-rgb), 0.25); }

  /* Flatpickr - thème HomeSwap (z-index au-dessus du panneau) */
  .flatpickr-calendar { z-index: 1060 !important; }
  .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--preply-primary); border-color: var(--preply-primary); }
  .flatpickr-day.inRange { background: rgba(236, 72, 153, 0.15); box-shadow: none; }