/* Pages publiques des partenaires XYD (fiche et annuaire) */
.xyd .xp-conteneur{max-width:1200px;margin:0 auto;padding:0 24px}
.xyd .xp-apercu{background:#FDF2D2;color:#4A3500;text-align:center;padding:10px 16px;font-size:14px;font-weight:600}
.xyd .xp-hero{background:#FAF2F5}
.xyd .xp-hero .xp-conteneur{padding-top:28px;padding-bottom:48px;display:flex;flex-direction:column;gap:20px}
.xyd .xp-hero-centre .xp-conteneur{align-items:center;text-align:center;padding-top:56px;gap:16px}
.xyd .xp-hero-centre h1{font-weight:800;font-size:clamp(34px,4.5vw,52px)}
.xyd .xp-hero-centre p{font-size:18px;color:#5A4651;max-width:680px}
.xyd .xp-pastille{background:#fff;border:1px solid #EAD5DF;color:#9E5578;font-weight:600;font-size:14px;padding:8px 14px;border-radius:999px}
.xyd .xp-fil{font-size:14px;color:#5A4651}
.xyd .xp-fil a{color:#5A4651}
.xyd .xp-hero-ligne{display:flex;flex-wrap:wrap;gap:28px;align-items:stretch}
.xyd .xp-galerie{flex:2 1 520px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:210px 210px;gap:12px}
.xyd .xp-galerie-seule{grid-template-columns:1fr;grid-template-rows:432px}
.xyd .xp-photo{position:relative;border-radius:20px;overflow:hidden;background:#F3E3EB;display:block}
.xyd .xp-photo img{width:100%;height:100%;object-fit:cover}
.xyd .xp-photo-principale{grid-column:span 2;grid-row:span 2;border-radius:24px}
.xyd .xp-galerie-seule .xp-photo-principale{grid-column:auto;grid-row:auto}
.xyd .xp-plus-photos{position:absolute;inset:auto 12px 12px auto;background:rgba(58,31,46,.8);color:#fff;font-size:14px;font-weight:600;padding:8px 12px;border-radius:999px}
.xyd .xp-resume{flex:1 1 340px;min-width:0;background:#fff;border-radius:26px;padding:28px;box-shadow:0 16px 40px rgba(58,31,46,.10);display:flex;flex-direction:column;gap:16px}
.xyd .xp-resume-tete{display:flex;gap:14px;align-items:center}
.xyd .xp-resume h1{font-weight:800;font-size:28px;line-height:1.1;margin-top:6px}
.xyd .xp-logo{width:76px;height:76px;border-radius:18px;background:#F3E3EB;color:#6E3A54;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:26px;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.xyd .xp-logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.xyd .xp-badge{display:inline-flex;align-items:center;gap:6px;background:#FDF2D2;color:#5C4A0A;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.xyd .xp-infos{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;color:#5A4651;font-size:15px}
.xyd .xp-boutons{display:flex;flex-direction:column;gap:10px}
.xyd .xp-boutons-2{display:flex;flex-wrap:wrap;gap:10px}
.xyd .xp-boutons-2 .xp-btn{flex:1 1 140px}
.xyd .xp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;text-decoration:none;box-sizing:border-box}
.xyd .xp-btn-prune{background:#9E5578;color:#fff}.xyd .xp-btn-prune:hover{background:#6E3A54;color:#fff}
.xyd .xp-btn-clair{background:#fff;color:#9E5578;border:1.5px solid #DCC5D0}.xyd .xp-btn-clair:hover{border-color:#9E5578;color:#9E5578}
.xyd .xp-btn-wa{background:#1FAF55;color:#fff}.xyd .xp-btn-wa:hover{background:#178A43;color:#fff}
.xyd .xp-btn-jaune{background:#F5C842;color:#3A2A00}.xyd .xp-btn-jaune:hover{background:#EDBA2A;color:#3A2A00}
.xyd .xp-mention{font-size:13px;color:#5A4651}
.xyd .xp-details .xp-conteneur{padding-top:56px;padding-bottom:56px}
.xyd .xp-details-ligne{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.xyd .xp-details-principal{flex:2 1 520px;min-width:0;display:flex;flex-direction:column;gap:32px}
.xyd .xp-details-cote{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
.xyd .xp-bloc{display:flex;flex-direction:column;gap:12px}
.xyd .xp-bloc h2{font-weight:800;font-size:26px}
.xyd .xp-bloc p{font-size:17px;line-height:1.7}
.xyd .xp-encadre{background:#FAF2F5;border-radius:22px;padding:24px}
.xyd .xp-encadre h2{font-size:22px}
.xyd .xp-puces{display:flex;flex-wrap:wrap;gap:10px}
.xyd .xp-puces span{background:#FAF2F5;border:1px solid #EAD5DF;border-radius:999px;padding:8px 14px;font-weight:600;font-size:14px;color:#6E3A54}
.xyd .xp-carte-map{height:300px;border-radius:22px;overflow:hidden;border:1px solid #EAD5DF;z-index:1}
.xyd .xp-lien{font-weight:700}
.xyd .xp-horaires{width:100%;border-collapse:collapse;font-size:15px}
.xyd .xp-horaires th{text-align:left;font-weight:600;padding:8px 0;color:#3A1F2E}
.xyd .xp-horaires td{text-align:right;padding:8px 0;color:#5A4651}
.xyd .xp-horaires tr+tr th,.xyd .xp-horaires tr+tr td{border-top:1px solid #EAD5DF}
.xyd .xp-contact{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-weight:600}
.xyd .xp-demande{background:#FFF8E6}
.xyd .xp-demande .xp-conteneur{padding-top:64px;padding-bottom:64px}
.xyd .xp-demande-ligne{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.xyd .xp-demande-texte{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:16px}
.xyd .xp-demande-texte h2{font-weight:800;font-size:clamp(28px,3vw,38px)}
.xyd .xp-demande-texte p{color:#5A4651;font-size:17px}
.xyd .xp-surtitre{color:#A8445C;font-weight:700;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.xyd .xp-demande-carte{flex:1.3 1 440px;min-width:0;background:#fff;border-radius:28px;padding:36px;box-shadow:0 20px 48px rgba(58,31,46,.10)}
/* Formulaire WPForms dans la fiche */
.xyd .xp-demande-carte .wpforms-container{margin:0!important}
.xyd .xp-demande-carte .wpforms-field{padding:0 0 18px!important}
.xyd .xp-demande-carte .wpforms-field-label{font-weight:600!important;color:#3A1F2E!important;font-size:15px!important;margin-bottom:8px!important}
.xyd .xp-demande-carte .wpforms-required-label{color:#A8445C!important}
.xyd .xp-demande-carte input[type=text],.xyd .xp-demande-carte input[type=email],.xyd .xp-demande-carte input[type=tel],.xyd .xp-demande-carte select,.xyd .xp-demande-carte textarea{width:100%!important;max-width:100%!important;min-height:50px!important;border:1.5px solid #DCC5D0!important;border-radius:12px!important;padding:10px 14px!important;font-size:16px!important;background:#fff!important;box-shadow:none!important}
.xyd .xp-demande-carte textarea{min-height:110px!important}
.xyd .xp-demande-carte input[type=range]{accent-color:#9E5578;width:100%}
.xyd .xp-demande-carte button[type=submit]{width:100%!important;min-height:54px!important;border-radius:999px!important;background:#9E5578!important;color:#fff!important;border:0!important;font-weight:700!important;font-size:17px!important}
.xyd .xp-demande-carte button[type=submit]:hover{background:#6E3A54!important}
/* Annuaire */
.xyd .xp-filtres{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:8px}
.xyd .xp-filtres a{min-height:44px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;background:#fff;border:1.5px solid #EAD5DF;color:#5A4651;font-weight:600;text-decoration:none}
.xyd .xp-filtres a[aria-current]{background:#9E5578;border-color:#9E5578;color:#fff}
.xyd .xp-annuaire .xp-conteneur{padding-top:48px;padding-bottom:72px;display:flex;flex-direction:column;gap:48px}
.xyd .xp-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px}
.xyd .xp-carte{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #EAD5DF;border-radius:24px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.xyd .xp-carte:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(58,31,46,.10)}
.xyd .xp-carte-lien{position:absolute;inset:0;z-index:2}
.xyd .xp-carte-photo{height:190px;background:#F3E3EB}
.xyd .xp-carte-photo img{width:100%;height:100%;object-fit:cover}
.xyd .xp-carte-corps{padding:20px 22px 22px;display:flex;flex-direction:column;gap:6px}
.xyd .xp-carte-tete{display:flex;justify-content:space-between;align-items:flex-end;margin-top:-48px;margin-bottom:6px}
.xyd .xp-logo-mini{width:60px;height:60px;border-radius:16px;background:#fff;border:3px solid #fff;box-shadow:0 4px 14px rgba(58,31,46,.15);color:#6E3A54;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.xyd .xp-logo-mini img{width:100%;height:100%;object-fit:contain}
.xyd .xp-carte h3{font-family:'Baloo 2',sans-serif;font-size:21px;line-height:1.2;color:#3A1F2E}
.xyd .xp-carte p{color:#5A4651;font-size:15px;margin:0}
.xyd .xp-carte .xp-lieu{font-weight:600;color:#3A1F2E}
.xyd .xp-plus{color:#9E5578;font-weight:700;font-size:14px;margin-top:6px}
.xyd .xp-vide{background:#FAF2F5;border-radius:24px;padding:48px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}
.xyd .xp-vide h2{font-size:26px;font-weight:800}
.xyd .xp-vide p{color:#5A4651;max-width:560px}
.xyd .xp-bandeau{background:#3A1F2E;color:#fff;border-radius:26px;padding:36px;display:flex;flex-wrap:wrap;gap:20px 32px;align-items:center;justify-content:space-between}
.xyd .xp-bandeau h2{color:#fff;font-weight:800;font-size:28px}
.xyd .xp-bandeau p{color:#F1E4EB;margin-top:6px}
@media (max-width:640px){
  .xyd .xp-galerie{grid-template-rows:150px 150px}
  .xyd .xp-galerie-seule{grid-template-rows:280px}
  .xyd .xp-resume,.xyd .xp-demande-carte{padding:24px 20px}
  .xyd .xp-bandeau{padding:28px 22px}
}
