/* Pages SEO générées : /coach-padel/ et /coach/ */

.seo-hero {
    padding: 70px 0 56px;
}

.seo-hero .container,
.seo-hero-text,
.seo-profile-head {
    position: relative;
    z-index: 2;
}

.seo-hero-text {
    max-width: 780px;
}

.seo-hero-text .hero-badge {
    margin-bottom: 18px;
}

.seo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.seo-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.seo-breadcrumb a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

.seo-breadcrumb .sep {
    opacity: 0.6;
}

/* Explorateur : onglets + recherche */

.seo-explorer {
    padding-top: 40px;
}

.seo-toolbar {
    position: sticky;
    top: 84px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.seo-tabs {
    display: inline-flex;
    padding: 4px;
    background: var(--bg-soft);
    border-radius: 999px;
}

.seo-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background var(--t), color var(--t), box-shadow var(--t);
}

.seo-tabs button.is-active {
    background: #fff;
    color: var(--brand-blue);
    box-shadow: var(--shadow-sm);
}

.seo-tab-count {
    min-width: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--border);
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-align: center;
}

.seo-tabs button.is-active .seo-tab-count {
    background: var(--brand-blue);
    color: #fff;
}

.seo-search {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: 999px;
    transition: border-color var(--t), background var(--t);
}

.seo-search:focus-within {
    background: #fff;
    border-color: var(--brand-blue);
}

.seo-search svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.seo-search input {
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.seo-sort {
    padding: 12px 38px 12px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5377' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
    appearance: none;
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.seo-panel-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 18px;
}

.seo-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
}

.seo-explorer-cta {
    margin-top: 32px;
    text-align: center;
    color: var(--text-secondary);
}

.seo-explorer-cta a {
    color: var(--brand-blue);
    font-weight: 700;
}

[data-grid] > [hidden],
.seo-panel[hidden] {
    display: none !important;
}

/* Tuiles coach (photo) */

.seo-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.seo-tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform var(--t), box-shadow var(--t);
}

.seo-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.seo-tile-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-bright) 100%);
    overflow: hidden;
}

.seo-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.seo-tile:hover .seo-tile-img {
    transform: scale(1.05);
}

.seo-tile-photo .seo-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.02em;
}

.seo-tile-price,
.seo-tile-rating {
    position: absolute;
    bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.seo-tile-price {
    left: 12px;
    background: #fff;
    color: var(--brand-blue);
}

.seo-tile-rating {
    right: 12px;
    background: var(--brand-yellow);
    color: var(--text-primary);
}

.seo-tile-rating small {
    font-weight: 600;
    opacity: 0.7;
}

.seo-tile-body {
    padding: 14px 16px 18px;
}

.seo-tile-body h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.seo-tile-city {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.seo-tile-city svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--brand-blue);
}

.seo-tile-xp {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Villes */

.seo-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.seo-city-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.seo-city-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-blue);
}

.seo-faces {
    display: flex;
    flex-shrink: 0;
}

.seo-face {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    background: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.seo-face + .seo-face {
    margin-left: -12px;
}

.seo-face.seo-initials,
.seo-face-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.seo-face-more {
    background: var(--brand-yellow);
    color: var(--text-primary);
}

.seo-city-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.seo-city-text strong {
    font-size: 1rem;
    font-weight: 800;
}

.seo-city-text span,
.seo-city-card > span:not(.seo-city-arrow) {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.seo-city-arrow {
    color: var(--brand-blue);
    opacity: 0.5;
    transition: opacity var(--t), transform var(--t);
}

.seo-city-arrow svg {
    width: 18px;
    height: 18px;
}

.seo-city-card:hover .seo-city-arrow {
    opacity: 1;
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .seo-toolbar {
        position: static;
        border-radius: var(--radius-md);
    }

    .seo-tabs {
        width: 100%;
    }

    .seo-tabs button {
        flex: 1;
        justify-content: center;
    }

    .seo-sort {
        flex: 1;
    }

    .seo-tile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .seo-tile-body {
        padding: 10px 12px 14px;
    }

    .seo-tile-body h3 {
        font-size: 0.95rem;
    }

    .seo-tile-price,
    .seo-tile-rating {
        bottom: 8px;
        font-size: 0.72rem;
        padding: 4px 8px;
    }

    .seo-tile-price {
        left: 8px;
    }

    .seo-tile-rating {
        right: 8px;
    }
}

/* Cartes coach */

.seo-coach-list {
    display: grid;
    gap: 16px;
}

.seo-coach-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.seo-coach-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-blue);
}

.seo-coach-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--text-primary);
}

.seo-coach-meta {
    margin: 0 0 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.seo-coach-rating {
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--text-primary);
}

.seo-coach-rating span {
    font-weight: 400;
    color: var(--text-muted);
}

.seo-stars,
.seo-coach-rating .seo-stars {
    color: #f5b301;
    letter-spacing: 1px;
}

.seo-coach-bio {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.seo-coach-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}

.seo-price-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.seo-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand-blue);
}

.seo-coach-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-blue);
    white-space: nowrap;
}

.seo-coach-cta svg {
    width: 16px;
    height: 16px;
}

/* Avatars */

.seo-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seo-avatar-fallback {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--brand-blue);
}

.seo-avatar-lg {
    width: 120px;
    height: 120px;
    box-shadow: var(--shadow-md);
    border: 4px solid #fff;
}

.seo-avatar-lg .seo-avatar-fallback {
    font-size: 2.2rem;
}

/* Profil coach */

.seo-profile-head {
    display: flex;
    gap: 32px;
    align-items: center;
}

.seo-profile-title {
    margin-bottom: 8px;
}

.seo-profile-sub {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.seo-profile-head .page-hero-cta {
    margin-top: 18px;
}

.seo-profile-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.seo-profile-main h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.seo-profile-main h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 32px 0 12px;
}

.seo-profile-main p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-tags li {
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--brand-blue);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
}

.seo-clubs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.seo-clubs li {
    padding: 12px 16px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.seo-clubs strong {
    color: var(--text-primary);
}

.seo-reviews {
    display: grid;
    gap: 14px;
}

.seo-reviews blockquote {
    margin: 0;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.seo-reviews blockquote p {
    margin: 6px 0;
}

.seo-reviews cite {
    font-size: 0.82rem;
    font-style: normal;
    color: var(--text-muted);
}

.seo-profile-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 14px;
}

.seo-side-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.seo-side-card .btn {
    margin-top: 12px;
    justify-content: center;
}

.seo-rates {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.seo-rates li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.seo-rates strong {
    color: var(--text-primary);
}

.seo-pay {
    margin: 10px 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.seo-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    font-size: 0.88rem;
}

.seo-socials a {
    color: var(--brand-blue);
    font-weight: 600;
}

.seo-back-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-blue);
}

@media (max-width: 900px) {
    .seo-profile-grid {
        grid-template-columns: 1fr;
    }

    .seo-profile-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .seo-coach-card {
        grid-template-columns: auto 1fr;
    }

    .seo-coach-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        text-align: left;
    }

    .seo-coach-cta {
        margin-top: 0;
    }

    .seo-profile-head {
        flex-direction: column;
        text-align: center;
    }

    .seo-profile-head .page-hero-cta {
        justify-content: center;
    }
}
