/* ================================================================
   HOME PAGE — design Estheia
   Palette : mauve #B08D9C · Cormorant Garamond serif · Hanken Grotesk
   Dépend de estheia-design.css (vars --es-*)
   ================================================================ */

/* ── Page reset ────────────────────────────────────────────────── */
.home-page,
#Content,
.content_wrapper,
.sections_group,
.entry-content {
    width: 100%;
}

.container,
.top-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .container,
    .top-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 640px) {
    .container,
    .top-container {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ================================================================
   HERO
   ================================================================ */

/* Neutralise tous les floats/columns que le thème pourrait injecter */
.entry-content .hero-section {
    display: block;
    float: none;
    clear: both;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--es-accent) 8%, #fff) 0%,
        var(--es-bg) 100%
    );
    padding: 80px 0 88px;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.hero-blob-1 {
    top: -80px;
    right: -60px;
    width: 340px;
    height: 340px;
    background: color-mix(in srgb, var(--es-accent) 12%, transparent);
}

.hero-blob-2 {
    top: 110px;
    left: -90px;
    width: 260px;
    height: 260px;
    background: color-mix(in srgb, var(--es-accent) 9%, transparent);
}

.hero-container {
    position: relative;
    z-index: 1;
    /* Flex column → empile les enfants verticalement, centré — immunisé contre les floats du thème */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Chaque enfant direct prend la bonne largeur — neutralise tout float hérité */
.hero-container > * {
    float: none;
    flex-shrink: 0;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 17px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--es-accent) 22%, #fff);
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    font-family: var(--es-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px -10px rgba(43,38,48,.3);
}

.hero-badge svg {
    flex-shrink: 0;
    color: var(--es-accent);
}

/* Title */
.hero-title {
    font-family: var(--es-serif);
    font-weight: 600;
    font-size: clamp(38px, 5.8vw, 74px);
    line-height: 1.04;
    letter-spacing: -.01em;
    color: var(--es-text);
    margin: 24px auto 0;
    max-width: 880px;
}

.hero-title-highlight {
    font-style: italic;
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
}

.hero-desc {
    font-family: var(--es-sans);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.65;
    color: var(--es-sub);
    margin: 20px auto 0;
    max-width: 600px;
}

/* ── Search card ───────────────────────────────────────────────── */

.hero-search-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr auto;
    gap: 6px;
    align-items: stretch;
    width: 100%;
    max-width: 940px;
    margin-top: 42px;
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 30px 70px -38px rgba(43,38,48,.40);
    text-align: left;
}

.hero-field {
    padding: 9px 14px;
    border-radius: 12px;
    min-width: 0;
}

/* Séparateur vertical entre les champs 2 et 3 */
.hero-field-category,
.hero-field-city {
    border-left: 1px solid #F0EBEE;
}

.hero-field-label {
    display: block;
    font-family: var(--es-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #A89FAE;
    margin-bottom: 4px;
}

/* Champ texte : icône + input en ligne */
.hero-field-inner {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-field-icon {
    flex-shrink: 0;
    color: var(--es-accent);
}

.hero-input {
    flex: 1;
    min-width: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--es-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--es-text);
    background: none;
    padding: 0;
}

.hero-input::placeholder {
    color: var(--es-muted);
    font-weight: 400;
}

/* Champs select : icône — select (flex:1) — chevron */
.hero-field-category .hero-field-inner,
.hero-field-city .hero-field-inner {
    justify-content: space-between;
}

.hero-select {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-family: var(--es-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--es-text);
    background: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 0;
}

.hero-select-chevron {
    flex-shrink: 0;
    color: var(--es-muted);
    pointer-events: none;
}

/* Bouton — hauteur via align-items:stretch du grid, pas de padding vertical */
.hero-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 26px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: var(--es-sans);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: color-mix(in srgb, var(--es-accent) 72%, var(--es-text));
    box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--es-accent) 70%, var(--es-text));
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: color-mix(in srgb, var(--es-accent) 82%, var(--es-text));
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--es-accent) 70%, var(--es-text));
}

/* ── Popular chips ─────────────────────────────────────────────── */

.hero-popular {
    width: 100%;
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-popular-label {
    font-family: var(--es-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--es-muted);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--es-border);
    font-family: var(--es-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--es-text);
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}

.hero-chip:hover {
    border-color: var(--es-accent);
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    background: color-mix(in srgb, var(--es-accent) 8%, #fff);
}

/* ── Hero responsive ───────────────────────────────────────────── */

/* Tablette : 2×2 — [query][category] / [city][button] */
@media (max-width: 900px) {
    .hero-search-card {
        grid-template-columns: 1fr 1fr;
    }

    /* city = col 1 ligne 2 → retirer border-left, ajouter border-top */
    .hero-field:nth-child(3) {
        border-left: none;
        border-top: 1px solid #F0EBEE;
    }

    /* button = col 2 ligne 2, auto-placé sans span */
    .hero-search-btn {
        padding: 0 20px;
    }
}

/* Mobile : tout en colonne */
@media (max-width: 640px) {
    .hero-section {
        padding: 56px 0 64px;
    }

    .hero-container {
        padding: 0 18px;
    }

    .hero-blob-1,
    .hero-blob-2 {
        display: none;
    }

    .hero-search-card {
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 12px;
        gap: 4px;
    }

    .hero-field {
        border-radius: 12px;
        padding: 10px 12px;
    }

    /* Remplace border-left par border-top pour chaque champ suivant */
    .hero-field-category,
    .hero-field-city {
        border-left: none;
        border-top: 1px solid #F0EBEE;
    }

    .hero-search-btn {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        margin-top: 4px;
    }

    .hero-popular {
        gap: 8px;
    }

    .hero-chip {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ================================================================
   SECTION COMMONS
   ================================================================ */

.how-it-works-section,
.benefits-section,
.dual-cta-section,
.top-professionals-section {
    position: relative;
    overflow: hidden;
}

.how-it-works-section {
    padding: 88px 0;
    background: var(--es-surface);
}

.how-it-works-section::before {
    content: "";
    position: absolute;
    top: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, color-mix(in srgb, var(--es-accent) 5%, transparent) 0%, transparent 68%);
    pointer-events: none;
}

.benefits-section {
    padding: 88px 0;
    background: var(--es-bg-alt);
}

.top-professionals-section {
    padding: 88px 0 72px;
    background: var(--es-surface);
}

.top-professionals-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -180px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, color-mix(in srgb, var(--es-accent) 8%, transparent) 0%, transparent 72%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .how-it-works-section,
    .benefits-section,
    .top-professionals-section {
        padding: 56px 0;
    }
}

/* ── Section header ──────────────────────────────────────────── */

.section-header {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--es-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--es-accent) 10%, #fff);
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    font-family: var(--es-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--es-accent);
    flex-shrink: 0;
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.18); opacity: .72; }
}

.section-title {
    margin: 0 0 14px;
    font-family: var(--es-serif);
    font-weight: 600;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.06;
    letter-spacing: -.01em;
    color: var(--es-text);
}

/* Italic colored highlight — overrides old gradient */
.highlight-gradient {
    font-style: italic;
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: currentColor;
    background-clip: unset;
}

.section-description {
    margin: 0;
    font-family: var(--es-sans);
    font-size: clamp(15px, 2.2vw, 17px);
    line-height: 1.7;
    color: var(--es-sub);
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 34px;
    }
}

/* ================================================================
   HOW IT WORKS — steps
   ================================================================ */

.steps-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 22px;
    padding: 36px 26px 26px;
    box-shadow: var(--es-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--es-shadow-lg);
    border-color: color-mix(in srgb, var(--es-accent) 35%, #fff);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--es-border);
    box-shadow: var(--es-shadow);
    font-family: var(--es-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--es-accent);
}

.step-icon {
    margin-bottom: 18px;
}

.step-icon svg {
    width: 52px;
    height: 52px;
}

.step-title {
    margin: 0 0 10px;
    font-family: var(--es-sans);
    font-size: 20px;
    font-weight: 700;
    color: var(--es-text);
    line-height: 1.25;
}

.step-description {
    margin: 0 0 18px;
    font-family: var(--es-sans);
    font-size: 14px;
    line-height: 1.65;
    color: var(--es-sub);
}

.step-features {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--es-border);
    display: grid;
    gap: 10px;
}

.step-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--es-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--es-sub);
    line-height: 1.5;
}

.step-features li svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .steps-grid {
        max-width: 100%;
        gap: 18px;
        margin-bottom: 28px;
    }

    .step-card {
        padding: 30px 18px 20px;
    }
}

/* ── CTAs ────────────────────────────────────────────────────── */

.section-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.section-cta-top-pros {
    margin-top: 40px;
}

.cta-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--es-sans);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--es-accent) 70%, var(--es-text));
    transition: background .22s, transform .22s, box-shadow .22s;
}

.cta-button:hover {
    background: color-mix(in srgb, var(--es-accent) 84%, var(--es-text));
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -14px color-mix(in srgb, var(--es-accent) 70%, var(--es-text));
}

.cta-button-secondary {
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    background: #fff;
    border: 1.5px solid color-mix(in srgb, var(--es-accent) 28%, #fff);
    box-shadow: var(--es-shadow-sm);
}

.cta-button-secondary:hover {
    background: color-mix(in srgb, var(--es-accent) 10%, #fff);
    border-color: var(--es-accent);
    transform: translateY(-2px);
    box-shadow: var(--es-shadow);
}

.cta-note {
    font-family: var(--es-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--es-muted);
}

@media (max-width: 640px) {
    .cta-button {
        width: 100%;
        max-width: 360px;
    }
}

/* ================================================================
   BENEFITS
   ================================================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--es-surface);
    border: 1px solid var(--es-border);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--es-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--es-shadow-lg);
    border-color: color-mix(in srgb, var(--es-accent) 35%, #fff);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--es-accent) 12%, #fff);
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
}

.benefit-title {
    margin: 0 0 9px;
    font-family: var(--es-sans);
    font-size: 17px;
    font-weight: 700;
    color: var(--es-text);
    line-height: 1.3;
}

.benefit-description {
    margin: 0;
    font-family: var(--es-sans);
    font-size: 14px;
    line-height: 1.65;
    color: var(--es-sub);
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .benefit-card {
        padding: 22px 18px;
    }
}

/* ================================================================
   DUAL CTA
   ================================================================ */

.dual-cta-section {
    padding: 88px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2B2630 0%, color-mix(in srgb, var(--es-accent) 44%, #2B2630) 60%, color-mix(in srgb, var(--es-accent) 62%, #2B2630) 100%);
}

.dual-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(255,255,255,.09), transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.07), transparent 36%);
    pointer-events: none;
}

.dual-cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dual-cta-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 38px 32px;
    border-radius: 24px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0,0,0,.10);
    transition: transform .28s ease, background .28s ease;
}

.dual-cta-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.17);
}

.dual-cta-pro {
    border-color: rgba(255,255,255,.30);
}

.dual-cta-icon {
    font-size: 38px;
    line-height: 1;
}

.dual-cta-title {
    margin: 0;
    font-family: var(--es-sans);
    font-size: clamp(20px, 2.8vw, 24px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.dual-cta-desc {
    margin: 0;
    font-family: var(--es-sans);
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,.84);
}

.dual-cta-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.dual-cta-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--es-sans);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    line-height: 1.5;
}

.dual-cta-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #fff;
}

.dual-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 13px;
    text-decoration: none;
    font-family: var(--es-sans);
    font-size: 15px;
    font-weight: 700;
    margin-top: auto;
    transition: transform .22s, box-shadow .22s, background .22s;
}

.dual-cta-btn-primary {
    background: #fff;
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.dual-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.dual-cta-btn-secondary {
    background: rgba(255,255,255,.14);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.50);
}

.dual-cta-btn-secondary:hover {
    background: rgba(255,255,255,.24);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .dual-cta-section {
        padding: 56px 0;
    }

    .dual-cta-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dual-cta-card {
        padding: 26px 20px;
    }

    .dual-cta-btn {
        width: 100%;
    }
}

/* ================================================================
   TOP PROFESSIONALS
   ================================================================ */

.top-carousel-wrapper {
    position: relative;
}

.top-carousel-container {
    overflow: hidden;
    padding: 4px 2px 8px;
}

.top-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform .35s ease;
    will-change: transform;
}

.top-carousel-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: calc((100% - 40px) / 3);
}

.top-pro-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--es-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.top-pro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--es-shadow-lg);
    border-color: color-mix(in srgb, var(--es-accent) 35%, #fff);
}

.top-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #D4A24C 0%, #B8882E 100%);
    color: #fff;
    font-family: var(--es-sans);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(180,132,40,.36);
}

.top-pro-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--es-bg-alt) 0%, var(--es-border) 100%);
}

.top-pro-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-pro-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 42px;
}

.top-pro-card-category {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
    font-family: var(--es-sans);
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.8);
}

.top-pro-card-body {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 18px;
    flex: 1;
}

.top-pro-card-title {
    margin: 0;
    font-family: var(--es-sans);
    font-size: 17px;
    font-weight: 800;
    color: var(--es-text);
    line-height: 1.25;
}

.top-pro-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-pro-card-location {
    font-family: var(--es-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--es-sub);
}

.top-pro-card-description {
    margin: 0;
    font-family: var(--es-sans);
    font-size: 13px;
    line-height: 1.6;
    color: var(--es-muted);
}

.top-pro-card-footer {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid var(--es-border);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.top-pro-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--es-sans);
    font-size: 12px;
    font-weight: 700;
    color: var(--es-sub);
    line-height: 1.4;
}

.top-pro-chip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: var(--es-sans);
    font-size: 12px;
    font-weight: 700;
}

.top-pro-chip-price {
    background: color-mix(in srgb, var(--es-accent) 10%, #fff);
    color: color-mix(in srgb, var(--es-accent) 74%, var(--es-text));
}

.top-pro-chip-duration {
    background: #eff6ff;
    color: #0369a1;
}

/* ── Carousel nav ────────────────────────────────────────────── */

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--es-border);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--es-shadow);
    cursor: pointer;
    transition: transform .22s, opacity .22s;
    color: var(--es-text);
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:disabled {
    opacity: .32;
    cursor: default;
}

.carousel-arrow-prev { left: -10px; }
.carousel-arrow-next { right: -10px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: var(--es-border);
    cursor: pointer;
    transition: all .22s ease;
}

.carousel-dot.active {
    width: 24px;
    background: var(--es-accent);
}

@media (max-width: 1024px) {
    .top-carousel-track { gap: 16px; }
    .top-carousel-slide {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 768px) {
    .top-carousel-container { overflow: visible; }
    .top-carousel-track { gap: 12px; padding-right: 12px; }
    .top-carousel-slide { flex: 0 0 88%; min-width: 88%; }
    .top-pro-card { border-radius: 20px; }
    .top-pro-card-body { padding: 14px; }
    .top-pro-card-title { font-size: 16px; }
    .carousel-arrow { display: none; }
    .carousel-dots { margin-top: 18px; }
}

@media (max-width: 480px) {
    .top-carousel-slide { flex-basis: 92%; min-width: 92%; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

.step-card,
.benefit-card,
.dual-cta-card,
.top-pro-card {
    animation: fadeInUp .5s ease both;
}

.step-card:nth-child(1), .benefit-card:nth-child(1) { animation-delay: .05s; }
.step-card:nth-child(2), .benefit-card:nth-child(2) { animation-delay: .10s; }
.step-card:nth-child(3), .benefit-card:nth-child(3) { animation-delay: .15s; }
.dual-cta-card:nth-child(2)                          { animation-delay: .08s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .step-card:hover,
    .benefit-card:hover,
    .dual-cta-card:hover,
    .top-pro-card:hover,
    .cta-button:hover,
    .pro-cta-btn:hover {
        transform: none;
    }
}

/* ================================================================
   CTA PRO — bannière fin de page
   ================================================================ */

.pro-cta-section {
    padding: 0 0 92px;
}

.pro-cta-card {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--es-accent) 16%, #fff),
        color-mix(in srgb, var(--es-accent) 7%, #fff)
    );
    border: 1px solid color-mix(in srgb, var(--es-accent) 22%, #fff);
    border-radius: 28px;
    padding: 64px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.pro-cta-text {
    max-width: 560px;
}

.pro-cta-overline {
    display: block;
    font-family: var(--es-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--es-accent) 72%, var(--es-text));
    margin-bottom: 12px;
}

.pro-cta-title {
    font-family: var(--es-serif);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    color: var(--es-text);
    margin: 0 0 12px;
}

.pro-cta-desc {
    font-family: var(--es-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--es-sub);
    margin: 0;
}

.pro-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--es-sans);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: color-mix(in srgb, var(--es-accent) 72%, var(--es-text));
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--es-accent) 70%, var(--es-text));
    flex-shrink: 0;
    transition: background .22s, transform .22s, box-shadow .22s;
    white-space: nowrap;
}

.pro-cta-btn:hover {
    background: color-mix(in srgb, var(--es-accent) 82%, var(--es-text));
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -14px color-mix(in srgb, var(--es-accent) 70%, var(--es-text));
}

@media (max-width: 768px) {
    .pro-cta-section {
        padding: 0 0 56px;
    }

    .pro-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 28px;
        gap: 28px;
    }

    .pro-cta-text {
        max-width: 100%;
    }

    .pro-cta-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .pro-cta-desc {
        font-size: 15px;
    }

    .pro-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
