/*
Theme Name: Hello Elementor Child
Theme URI: https://salon-jmd.fr
Description: Thème enfant Hello Elementor pour Salon JMD 2027
Author: Agence Web P24
Author URI: https://agencewebp24.com
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
*/

/* --- Carrousel Partenaires --- */
.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    padding: 10px 15px;
    box-sizing: border-box;
}

.partner-logo-wrapper img,
.partner-logo-img img,
.elementor-loop-container .partner-logo-img img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.partner-logo-wrapper a:hover img,
.partner-logo-img a:hover img {
    transform: scale(1.05);
}

/* --- Bloc d'en-tête avec titre collé au bas et centré (Jumbo Title) --- */
.jumbo-title {
    position: relative !important;
    overflow: visible !important;
}

.jumbo-title > .e-con-inner {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
}

.jumbo-title .elementor-widget-heading {
    position: absolute !important;
    bottom: -18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 15px !important;
    z-index: 2;
    text-align: center !important;
}

.jumbo-title .elementor-widget-heading h1,
.jumbo-title .elementor-widget-heading .elementor-heading-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
}

/* --- Élévation du header pour rendre les éléments et breadcrumb toujours cliquables --- */
header.elementor-location-header,
.elementor-location-header {
    position: relative !important;
    z-index: 9999 !important;
}

/* --- Fil d'Ariane (Breadcrumb) avec biseau montant à 45° (gauche vers droite) et fond transparent --- */
.elementor-element-fe513e8,
.rank-math-breadcrumb {
    position: relative !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

.rank-math-breadcrumb {
    display: inline-flex;
    align-items: center;
    height: 34px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0 36px;
    border-radius: 0 !important;
    clip-path: polygon(34px 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
    -webkit-clip-path: polygon(34px 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.rank-math-breadcrumb p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #000000;
}

/* Accueil : lien cliquable en rouge */
.rank-math-breadcrumb a {
    color: #e6311c !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100000 !important;
    transition: color 0.2s ease;
}

.rank-math-breadcrumb a:hover {
    color: #b52211 !important;
    text-decoration: underline !important;
}

.rank-math-breadcrumb .separator {
    color: #666666 !important;
    margin: 0 8px;
}

/* Page courante (Exposants) : non cliquable en noir */
.rank-math-breadcrumb .last {
    color: #000000 !important;
    font-weight: 600 !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Bouton Vidéo "Play Pulse" (.btn-video-player)
   Capsule sombre #1d1d1b + Disque Play rouge #e6311c animé + Inversion Hover
   ========================================================================== */
.btn-video-player .elementor-button,
a.btn-video-player {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #1d1d1b !important;
    color: #ffffff !important;
    padding: 7px 24px 7px 8px !important;
    border-radius: 999px !important;
    border: 2px solid #1d1d1b !important;
    box-shadow: 0 8px 22px rgba(29, 29, 27, 0.22) !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: visible !important;
    transition: background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.btn-video-player .elementor-button-content-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 13px !important;
}

/* Disque Play Rouge à gauche */
.btn-video-player .elementor-button-icon {
    position: relative !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background-color: #e6311c !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    z-index: 1;
    transition: background-color 0.28s ease, transform 0.28s ease !important;
}

/* Onde lumineuse (Pulse) autour du disque Play */
.btn-video-player .elementor-button-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(230, 49, 28, 0.55);
    z-index: -1;
    animation: jmdVideoPulse 2.2s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Triangle Play plein net au centre du disque (remplace l'icône filaire par un vrai bouton lecteur) */
.btn-video-player .elementor-button-icon svg {
    display: none !important;
}

.btn-video-player .elementor-button-icon::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6.5px 0 6.5px 11px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
    transition: border-color 0.28s ease, transform 0.28s ease;
}

/* Texte du bouton */
.btn-video-player .elementor-button-text {
    font-family: "Clash Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    transition: color 0.28s ease !important;
}

/* État au survol (Hover) : bascule en rouge JMD, disque blanc et triangle rouge */
.btn-video-player .elementor-button:hover,
.btn-video-player .elementor-button:focus-visible,
a.btn-video-player:hover {
    background-color: #e6311c !important;
    border-color: #e6311c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(230, 49, 28, 0.38) !important;
}

.btn-video-player .elementor-button:hover .elementor-button-icon,
a.btn-video-player:hover .elementor-button-icon {
    background-color: #ffffff !important;
    transform: scale(1.06) !important;
}

.btn-video-player .elementor-button:hover .elementor-button-icon::before,
a.btn-video-player:hover .elementor-button-icon::before {
    background-color: rgba(255, 255, 255, 0.45);
}

.btn-video-player .elementor-button:hover .elementor-button-icon::after,
a.btn-video-player:hover .elementor-button-icon::after {
    border-color: transparent transparent transparent #e6311c;
    transform: translateX(1px);
}

@keyframes jmdVideoPulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }
    70% {
        transform: scale(1.48);
        opacity: 0;
    }
    100% {
        transform: scale(1.48);
        opacity: 0;
    }
}

/* ==========================================================================
   Exposants : Boutons "Infos" & "Prendre rendez-vous" + Modale RDV (JMD25-68)
   ========================================================================== */
.jmd-exposants-wrap .jmd-card-footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.jmd-exposants-wrap .jmd-btn-details,
.jmd-exposants-wrap .jmd-btn-rdv {
    font-family: "Clash Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 6px;
    padding: 8px 11px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.jmd-exposants-wrap .jmd-btn-details {
    background-color: #f3f3f3 !important;
    color: #1d1d1b !important;
    border: 1.5px solid #d8d8d8 !important;
    flex: 0 0 auto;
}

.jmd-exposants-wrap .jmd-btn-details:hover {
    background-color: #1d1d1b !important;
    color: #ffffff !important;
    border-color: #1d1d1b !important;
}

.jmd-exposants-wrap .jmd-btn-rdv {
    background-color: #e6311c !important;
    color: #ffffff !important;
    border: 1.5px solid #e6311c !important;
    flex: 1 1 auto;
}

.jmd-exposants-wrap .jmd-btn-rdv:hover {
    background-color: #1d1d1b !important;
    border-color: #1d1d1b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.jmd-exposants-wrap .jmd-btn-details svg,
.jmd-exposants-wrap .jmd-btn-rdv svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Actions dans la vue Tableau */
.jmd-exposants-wrap .jmd-table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Action "Prendre rendez-vous" dans la modale de détail exposant (JMD25-73) */
.jmd-exposants-wrap .jmd-modal-hero-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.jmd-exposants-wrap .jmd-modal-hero-actions .jmd-btn-rdv {
    flex: 0 0 auto;
    padding: 11px 18px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .jmd-exposants-wrap .jmd-modal-hero-actions {
        margin-left: 0;
        width: 100%;
    }

    .jmd-exposants-wrap .jmd-modal-hero-actions .jmd-btn-rdv {
        width: 100%;
    }
}

/* Modale Prise de rendez-vous (#jmd-rdv-modal) */
.jmd-rdv-modal-content {
    max-width: 760px !important;
    border: 2px solid #1d1d1b;
    box-shadow: 8px 8px 0 #e6311c !important;
}

.jmd-rdv-modal-header {
    background: #1d1d1b !important;
    border-bottom: 3px solid #e6311c;
    align-items: flex-start !important;
}

.jmd-rdv-header-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jmd-rdv-header-kicker {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e6311c;
}

.jmd-rdv-modal-header .jmd-modal-title {
    font-size: 21px;
    line-height: 1.25;
    color: #ffffff;
}

.jmd-rdv-modal-header .jmd-modal-title span {
    color: #e6311c;
}

.jmd-rdv-modal-body {
    padding: 26px 28px !important;
    background: #ffffff;
}

.jmd-rdv-intro {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.55;
    color: #333333;
}

/* Grille 2 colonnes (Déjà inscrit / Nouveau visiteur) */
.jmd-rdv-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.jmd-rdv-option-card {
    background: #fafafa;
    border: 2px solid #e4e4e4;
    border-radius: 8px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.jmd-rdv-option-card--primary {
    background: #fff9f8;
    border-color: #e6311c;
}

.jmd-rdv-option-card--secondary {
    background: #f8f8f8;
    border-color: #1d1d1b;
}

.jmd-rdv-option-badge {
    display: inline-block;
    background: #e6311c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.jmd-rdv-option-badge--dark {
    background: #1d1d1b;
}

.jmd-rdv-option-title {
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #1d1d1b;
}

.jmd-rdv-option-desc {
    margin: 0 0 18px 0;
    font-size: 14px;
    line-height: 1.55;
    color: #4a4a4a;
    flex: 1;
}

/* Boutons CTA de la modale RDV */
.jmd-rdv-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.jmd-rdv-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.jmd-rdv-cta--red {
    background: #e6311c;
    color: #ffffff !important;
}

.jmd-rdv-cta--red:hover {
    background: #1d1d1b;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.jmd-rdv-cta--dark {
    background: #1d1d1b;
    color: #ffffff !important;
}

.jmd-rdv-cta--dark:hover {
    background: #e6311c;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Encart compatibilité WebApp iOS / Android (sans téléchargement) */
.jmd-rdv-webapp-compat {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(230, 49, 28, 0.35);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.jmd-rdv-compat-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jmd-rdv-os-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1d1d1b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
}

.jmd-rdv-os-badge svg {
    width: 12px;
    height: 12px;
    fill: #ffffff;
}

.jmd-rdv-compat-text {
    font-size: 12px;
    line-height: 1.45;
    color: #555555;
}

/* Vue Brouillon (Prise de rendez-vous non ouverte) */
.jmd-rdv-draft-box {
    text-align: center;
    padding: 10px 12px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jmd-rdv-draft-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(230, 49, 28, 0.1);
    border: 2px solid #e6311c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.jmd-rdv-draft-icon svg {
    width: 28px;
    height: 28px;
    fill: #e6311c;
}

.jmd-rdv-draft-badge {
    display: inline-block;
    background: #1d1d1b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.jmd-rdv-draft-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1b;
}

.jmd-rdv-draft-desc {
    margin: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.55;
    color: #444444;
    max-width: 560px;
}

.jmd-rdv-draft-notice {
    background: #f8f9fa;
    border-left: 4px solid #e6311c;
    border-radius: 6px;
    padding: 15px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    font-size: 14px;
    line-height: 1.55;
    color: #2c2c2c;
    max-width: 600px;
    margin-bottom: 22px;
}

.jmd-rdv-draft-notice svg {
    width: 22px;
    height: 22px;
    fill: #e6311c;
    flex-shrink: 0;
    margin-top: 2px;
}

.jmd-rdv-draft-footer {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1b;
}

.jmd-rdv-draft-footer .jmd-rdv-cta {
    width: auto;
}

@media (max-width: 680px) {
    .jmd-rdv-options-grid {
        grid-template-columns: 1fr;
    }

    .jmd-rdv-draft-footer {
        flex-direction: column;
        text-align: center;
    }

    .jmd-rdv-draft-footer .jmd-rdv-cta {
        width: 100%;
    }
}

/* ==========================================================================
   Home - Hero Video Play Overlay (JMD25-78)
   Superposition du bouton player vidéo centré sur l'image du bloc héros
   ========================================================================== */
.video-play-overlay {
    text-align: center;
}

.video-play-overlay a {
    position: relative;
    display: inline-block;
    max-width: 100%;
    cursor: pointer;
    line-height: 0;
    text-decoration: none;
}

.video-play-overlay a img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), filter 0.35s ease;
}

/* Disque circulaire du Player */
.video-play-overlay a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(70px, 38%, 130px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: clamp(5px, 1.6vw, 8px) solid #1d1d1b;
    background-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.28s ease,
                background-color 0.28s ease,
                box-shadow 0.28s ease;
}

/* Triangle Play au centre */
.video-play-overlay a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-38%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: clamp(14px, 3.6vw, 24px) 0 clamp(14px, 3.6vw, 24px) clamp(22px, 5.8vw, 38px);
    border-color: transparent transparent transparent #1d1d1b;
    pointer-events: none;
    z-index: 3;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.28s ease;
}

/* Effets interactifs au survol */
.video-play-overlay a:hover img {
    transform: scale(1.025);
}

.video-play-overlay a:hover::before {
    transform: translate(-50%, -50%) scale(1.08);
    border-color: #e6311c;
    background-color: rgba(230, 49, 28, 0.18);
    box-shadow: 0 12px 32px rgba(230, 49, 28, 0.45);
}

.video-play-overlay a:hover::after {
    transform: translate(-38%, -50%) scale(1.08);
    border-color: transparent transparent transparent #e6311c;
}



