:root {
    --medineupre-blue-dark: #0a3d62;
    --medineupre-blue-medium: #14507d;
    --medineupre-blue-light: #3c9dd0;
    --medineupre-text-dark: #243746;
    --medineupre-text-medium: #4b5d6a;
    --medineupre-bg-light: #f4f8fb;
    --medineupre-bg-white: #ffffff;
    --medineupre-border-soft: rgba(10, 61, 98, 0.12);
    --medineupre-shadow-soft: 0 10px 30px rgba(10, 61, 98, 0.1);
    --medineupre-radius-lg: 20px;
    --medineupre-radius-md: 12px;
}

body {
    color: var(--medineupre-text-dark);
}

.wp-site-blocks {
    background: var(--medineupre-bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--medineupre-blue-dark);
}

a {
    color: var(--medineupre-blue-dark);
}

a:hover {
    color: var(--medineupre-blue-medium);
}

.medineupre-btn-rdv,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: var(--medineupre-radius-md);
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(
        135deg,
        var(--medineupre-blue-dark) 0%,
        var(--medineupre-blue-medium) 100%
    );
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(10, 61, 98, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.medineupre-btn-rdv:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(10, 61, 98, 0.22);
}

.card {
    border-radius: var(--medineupre-radius-lg);
    box-shadow: var(--medineupre-shadow-soft);
}

/* =========================================
   PAGE ÉQUIPE
========================================= */

.medineupre-praticiens-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 24px 64px;
    border-radius: 30px;
    background: linear-gradient(135deg, #072645 0%, #0a3d62 40%, #0c4a73 100%);
    box-shadow: 0 30px 70px rgba(10, 61, 98, 0.18);
}

.medineupre-praticiens-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}

.medineupre-praticiens-titre {
    margin: 0;
    font-size: 42px;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 700;
}

.medineupre-praticiens-soustitre {
    margin: 14px auto 0;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.medineupre-praticiens-filtres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 30px;
    max-width: 1000px;
}

.medineupre-praticiens-filtre {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.medineupre-praticiens-filtre.active,
.medineupre-praticiens-filtre:hover {
    background: #ffffff;
    color: #0a3d62;
    border-color: #ffffff;
}

.medineupre-praticiens-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 30px 0 10px;
}

.medineupre-praticien {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 2px solid #0a3d62;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.medineupre-praticien:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
    border-color: #3c9dd0;
}

.medineupre-praticien.hidden {
    display: none !important;
}

.medineupre-praticien-image {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.medineupre-praticien-image img,
.medineupre-praticien-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #dfeef7 0%, #f3f8fb 100%);
    transition: transform 0.35s ease;
}

.medineupre-praticien:hover .medineupre-praticien-image img {
    transform: scale(1.04);
}

.medineupre-praticien-contenu {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.medineupre-praticien h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.15;
    color: #0a3d62;
    font-weight: 700;
}

.medineupre-praticien-titre-link {
    color: inherit;
    text-decoration: none;
}

.medineupre-praticien-titre-link:hover {
    text-decoration: underline;
}

.medineupre-specialite {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(60, 157, 208, 0.1);
    color: #0a3d62;
    border: 1px solid rgba(60, 157, 208, 0.18);
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.medineupre-description {
    color: #4b5d6a;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 16px;
    flex-grow: 1;
}

.medineupre-praticien-actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.medineupre-btn-rdv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    background: linear-gradient(135deg, #0a3d62 0%, #14507d 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 16px rgba(10, 61, 98, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.medineupre-btn-rdv:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(10, 61, 98, 0.22);
}

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

@media (max-width: 760px) {
    .medineupre-praticiens-wrapper {
        padding: 24px 14px 28px;
        border-radius: 20px;
    }

    .medineupre-praticiens-titre {
        font-size: 32px;
    }

    .medineupre-praticiens-soustitre {
        font-size: 15px;
    }

    .medineupre-praticiens-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* =========================================
   FICHE PRATICIEN
========================================= */

body.single-praticien header,
body.single-praticien footer {
    display: none !important;
}

body.single-praticien {
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4f8 100%);
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.header img {
    width: 220px;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.header-content {
    flex: 1;
    min-width: 250px;
}

.title {
    font-size: 32px;
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    background: rgba(60, 157, 208, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin: 5px 5px 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #0a3d62;
    border: 1px solid rgba(60, 157, 208, 0.18);
}

.description-courte {
    font-size: 16px;
    color: #4b5d6a;
    margin-bottom: 20px;
}

.section {
    margin-top: 30px;
}

.section h2 {
    font-size: 20px;
    color: #0a3d62;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    background: linear-gradient(135deg, #0a3d62 0%, #14507d 100%);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(10, 61, 98, 0.2);
}

.infos p {
    margin: 6px 0;
    color: #243746;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .header img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .title {
        font-size: 26px;
        text-align: center;
    }

    .header-content {
        text-align: center;
    }
}

/* =========================================
   ACCUEIL
========================================= */

.medineupre-home {
    margin: 0;
    padding: 0;
}

.medineupre-home-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medineupre-home-background {
    position: absolute;
    inset: 0;
    background: url('/wp-content/uploads/2026/04/20230318_092212-scaled.jpg') center center / cover no-repeat;
    z-index: 1;
}

.medineupre-home-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.24),
            rgba(255, 255, 255, 0.1)
        ),
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.05)
        );
    z-index: 2;
}

.medineupre-home-content {
    position: relative;
    z-index: 3;
    width: min(92vw, 1100px);
    min-height: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.medineupre-home-content::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(
    circle,
    rgba(255,255,255,0.65) 10%,
    rgba(255,255,255,0.30) 45%,
    rgba(255,255,255,0.05) 80%,
    rgba(255,255,255,0.00) 95%
);
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(10px);
}

.medineupre-home-logo {
    width: 220px;
    height: auto;
    opacity: 0;
    transform: scale(0.4);
    animation: medineupreZoomLogo 1.2s ease-out forwards;
    filter:
        drop-shadow(0 0 12px rgba(60, 157, 208, 0.4))
        drop-shadow(0 14px 30px rgba(0, 0, 0, 0.35))
        drop-shadow(0 30px 70px rgba(0, 0, 0, 0.3));
}

@keyframes medineupreZoomLogo {
    from {
        opacity: 0;
        transform: scale(0.4);
    }
    to {
        opacity: 1;
        transform: scale(2.4);
    }
}

.medineupre-home-slogan {
    display: inline-block;
    margin-top: 95px;
    padding: 16px 28px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #073843;
    text-align: center;
    background: rgba(210, 241, 245, 0.50);
    border: 1px solid rgba(255,255,255,0.40);
    border-radius: 20px;
    box-shadow:
        0 16px 34px rgba(0,0,0,0.80),
        inset 0 1px 0 rgba(255,255,255,0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 2px 0 rgba(255,255,255,0.50);
}

.medineupre-home-buttons {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.medineupre-home-btn {
    position: absolute;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    background: linear-gradient(to bottom, #0a5870, #08495e);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.01em;
      box-shadow:
        0 16px 34px rgba(0,0,0,0.80),
        inset 0 1px 0 rgba(255,255,255,0.30);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
    white-space: nowrap;
}

.medineupre-home-btn:hover {
    background: linear-gradient(to bottom, #9adfe5, #7ecfd7);
    color: #003843 !important;
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Orbite centrée autour du logo */
.medineupre-home-btn:nth-child(1) {
    top: 24%;
    left: 22%;
}

.medineupre-home-btn:nth-child(2) {
    top: 24%;
    right: 22%;
}

.medineupre-home-btn:nth-child(3) {
    top: 50%;
    left: 24%;
    transform: translateY(-50%);
}

.medineupre-home-btn:nth-child(4) {
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
}

.medineupre-home-btn:nth-child(5) {
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
}

.medineupre-home-btn:nth-child(3):hover,
.medineupre-home-btn:nth-child(4):hover {
    transform: translateY(-50%) translateY(-3px);
}

.medineupre-home-btn:nth-child(5):hover {
    transform: translateX(-50%) translateY(-3px);
}

@media (max-width: 768px) {
    .medineupre-home-hero {
        min-height: 100vh;
    }

    .medineupre-home-content::before {
        width: 300px;
        height: 300px;
        top: 30%;
    }

    .medineupre-home-content {
        min-height: auto;
        width: 100%;
        padding: 40px 16px 28px;
    }

    .medineupre-home-logo {
        width: 160px;
    }

    .medineupre-home-slogan {
        font-size: 20px;
        margin-top: 90px;
        padding: 14px 18px;
        max-width: calc(100vw - 32px);
    }

    .medineupre-home-buttons {
        position: static;
        margin-top: 24px;
        width: 90%;
        display: grid;
        gap: 10px;
        pointer-events: auto;
    }

    .medineupre-home-btn,
    .medineupre-home-btn:nth-child(1),
    .medineupre-home-btn:nth-child(2),
    .medineupre-home-btn:nth-child(3),
    .medineupre-home-btn:nth-child(4),
    .medineupre-home-btn:nth-child(5) {
        position: static;
        transform: none;
        width: 100%;
        font-size: 18px;
        text-align: center;
    }

    .medineupre-home-btn:hover {
        transform: none;
    }
}