/* Container principal */
.praticien-single-container {
    max-width: 1360px;
    margin: 40px auto;
}

/* Header avec avatar et titre */
.praticien-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 16px;
    color: #000;
    background: #BEE2EE;
    text-align: center;
}

form.praticiens-search input {
    border-color: #95c0cf !important;
}

.praticien-avatar {
    flex-shrink: 0;
}


.praticien-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.praticien-placeholder svg {
    width: 60px;
    height: 60px;
    color: white;
}

.praticien-title-section {
    flex: 1;
}

.praticien-name {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    font-weight: 700;
    color:#000;
}

.praticien-specialite {
    font-size: 1.2em;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

/* Grille de contenu */
.praticien-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 968px) {
    .praticien-content-grid {
        grid-template-columns: 1fr;
    }
    
    .praticien-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Cartes d'information */
.praticien-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.praticien-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-size: 1.3em;
    margin: 0 0 20px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.section-title svg {
    width: 24px;
    height: 24px;
    color: #95c0cf;
}

.info-content {
    color: #555;
    line-height: 1.8;
}

.info-content p {
    margin: 8px 0;
}

.text-muted {
    color: #888;
    font-size: 0.95em;
}

/* Items de contact */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px 0;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: #95c0cf;
    flex-shrink: 0;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #95c0cf;
}

/* Section carte */
.map-card {
    position: sticky;
    top: 20px;
    height: fit-content;
}

#praticien-map {
    border: 2px solid #f0f0f0;
}

/* Liste des praticiens */


.praticiens-liste-container {
    max-width: 1360px;
    margin: 40px auto;
}

.praticiens-search {
    background: #BEE2EE;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.praticiens-search h2 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.8em;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.page-id-14 .search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field input {
    height: 46px;
}

.search-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.search-field input,
.search-field button {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.search-field input:focus {
    outline: none;
    border-color: #95c0cf;
}

.btn-search {
    background: #000;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
}

.btn-search:hover {
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
	background:#95c0cf;
    color: white;
}

/* Résultats */
.praticiens-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.praticien-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #95c0cf;
}

.praticien-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.praticien-item h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.5em;
}

.praticien-item-info {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.praticien-item-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    color: #95c0cf;
    font-weight: 600;
}

.btn-voir-details {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-voir-details:hover {
	background:#95c0cf;
    color: white;
}

/* Carte globale */
#praticiens-carte-globale {
    height: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* Leaflet popup personnalisé */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    padding: 5px;
}

.leaflet-popup-content {
    margin: 15px;
    min-width: 200px;
}

.popup-praticien h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2em;
}

.popup-praticien p {
    margin: 5px 0;
    color: #666;
}

.popup-praticien a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
}

.popup-praticien a:hover {
    background: #95c0cf;
    color: white;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 40px;
    color: #95c0cf;
    font-size: 1.2em;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.1em;
}

/** ==============================
 *  SLIDER PRATICIENS
 *  ============================== */

/* === WRAPPER === */
.praticiens-slider-wrapper {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 60px; /* espace pour les flèches */
    overflow: hidden;
    box-sizing: border-box;
}

/* === SLIDER === */
.praticiens-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* === CARD === */
.praticien-card {
    min-width: 320px;
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 20px;
    border: 1px solid #e9e9e9;
}

/* === PHOTO PRATICIEN (CERCLE PARFAIT) === */
.praticien-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.praticien-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* remplit sans marges */
    object-position: center; /* centre parfait */
    display: block;
}


/* === CONTENT === */
.praticien-content h3 {
    margin: 10px 0;
    color: #95c0cf;
}

.praticien-content p {
    margin: 6px 0;
    font-size: 14px;
}

/* === BOUTON === */
.btn-see {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: background .2s ease;
}

.btn-see:hover {
    background: #95c0cf;
    color: #fff;
}

/* === FLÈCHES === */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

.slider-arrow::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    margin: auto;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transition: border-color .2s ease;
}

.slider-arrow.prev::before {
    transform: rotate(-135deg);
}

.slider-arrow.next::before {
    transform: rotate(45deg);
}

.slider-arrow:hover::before {
    border-top-color: #95c0cf;
    border-right-color: #95c0cf;
}
.praticiens-slider-wrapper button:hover {
    background: none !important;
}

/* TABLETTE : 2 praticiens visibles */
@media (max-width: 1024px) {
    .praticiens-slider-wrapper {
        padding: 0 50px;
    }

    .praticien-card {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

/* MOBILE : 1 praticien visible */
@media (max-width: 768px) {
    .praticiens-slider-wrapper {
        padding: 0 40px;
    }

    .praticien-card {
        min-width: 100%;
        max-width: 100%;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }
}
/**REGION**/
.praticiens-regions-grid,.praticiens-foreign-grid  {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* === CARTE RÉGION === */
.region-card,.country-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
	border-left: 4px solid #95c0cf;
}

.region-card:hover,.country-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* === TITRES === */
.region-title {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #000;
    border-bottom: 2px solid #e6edf3;
    padding-bottom: 10px;
}
h3.country-title {
    color: #000;
}
.departement-title {
    font-size: 1.1rem;
    margin: 22px 0 10px;
    color: #95C0CF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* === LISTE PRATICIENS === */
.praticiens-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.praticiens-list li {
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative;
}

.praticiens-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a6fa5;
}

.praticiens-list a {
    font-weight: 500;
    color: #0a2540;
    text-decoration: none;
}

.praticiens-list a:hover {
    text-decoration: underline;
}

.praticiens-list .ville {
    font-size: 0.9em;
    color: #6b7280;
}
.praticiens-regions-grid {
    margin-bottom: 60px;
}
h2.liste{
	color:#000;
	margin-bottom:20px
}
/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .praticiens-regions-grid,.praticiens-foreign-grid  {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .praticiens-regions-grid,.praticiens-foreign-grid  {
        grid-template-columns: 1fr;
    }

    .region-card,.country-card {
        padding: 22px;
    }
}
/* === TABLETTE === */
@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
	.page-id-14 .search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
	}
}

/* === MOBILE === */
@media (max-width: 640px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
	.page-id-14 .search-grid {
    display: grid;
	grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
	}
}
