/* Variante — Wellness Premium Minimal v1.1 (version finale produit).
 * Styles partagés : wellness-soft.css via body[data-theme|="wellness-soft"].
 * Finitions proportions — wellness-soft-minimal uniquement. */

body[data-theme="wellness-soft-minimal"] .wellness-deco-branch , body[data-theme="artisan"] .wellness-deco-branch , body[data-theme="real-estate"] .wellness-deco-branch {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* —— 1. Header — sans badge, photo et identité remontées —— */
body[data-theme="wellness-soft-minimal"] .hero-badges , body[data-theme="artisan"] .hero-badges , body[data-theme="real-estate"] .hero-badges {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body[data-theme="wellness-soft-minimal"] .hero , body[data-theme="artisan"] .hero , body[data-theme="real-estate"] .hero {
  padding-top: 50px;
}

body[data-theme="wellness-soft-minimal"] .hero-main-row , body[data-theme="artisan"] .hero-main-row , body[data-theme="real-estate"] .hero-main-row {
  padding-top: 6px;
}

body[data-theme="wellness-soft-minimal"] .wellness-avatar-stage , body[data-theme="artisan"] .wellness-avatar-stage , body[data-theme="real-estate"] .wellness-avatar-stage {
  margin-top: -9px;
  margin-bottom: 6px;
  padding-top: 0;
}

body[data-theme="wellness-soft-minimal"] .hero-texts , body[data-theme="artisan"] .hero-texts , body[data-theme="real-estate"] .hero-texts {
  margin-top: -4px;
}

body[data-theme="wellness-soft-minimal"] .hero-avatar , body[data-theme="artisan"] .hero-avatar , body[data-theme="real-estate"] .hero-avatar {
  width: clamp(116px, 30.6vw, 134px);
  height: clamp(116px, 30.6vw, 134px);
}

body[data-theme="wellness-soft-minimal"] #hero-avatar-fallback , body[data-theme="artisan"] #hero-avatar-fallback , body[data-theme="real-estate"] #hero-avatar-fallback {
  font-size: 2.38rem;
}

/* —— 2. Bloc identité —— */
body[data-theme="wellness-soft-minimal"] #person-name.hero-title , body[data-theme="artisan"] #person-name.hero-title , body[data-theme="real-estate"] #person-name.hero-title {
  margin-bottom: 2px;
}

body[data-theme="wellness-soft-minimal"] #hero-job-title , body[data-theme="artisan"] #hero-job-title , body[data-theme="real-estate"] #hero-job-title {
  margin-bottom: 3px;
}

body[data-theme="wellness-soft-minimal"] #hero-city , body[data-theme="artisan"] #hero-city , body[data-theme="real-estate"] #hero-city {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.64rem, 1.85vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--card-primary, #2d5a45);
  line-height: 1.15;
  margin: 1px 0 5px;
}

body[data-theme="wellness-soft-minimal"] #hero-city[aria-hidden="true"] , body[data-theme="artisan"] #hero-city[aria-hidden="true"] , body[data-theme="real-estate"] #hero-city[aria-hidden="true"] {
  display: none !important;
  margin: 0;
}

/* —— 3. Carte Google —— */
body[data-theme="wellness-soft-minimal"] #hero-google-badge-compact.wellness-google-rating-card, body[data-theme="artisan"] #hero-google-badge-compact.wellness-google-rating-card, body[data-theme="real-estate"] #hero-google-badge-compact.wellness-google-rating-card,
body[data-theme="wellness-soft-minimal"] #hero-google-badge-compact.hero-google-rating-inline , body[data-theme="artisan"] #hero-google-badge-compact.hero-google-rating-inline , body[data-theme="real-estate"] #hero-google-badge-compact.hero-google-rating-inline {
  margin: 9px 0 11px;
  align-items: stretch;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-inner , body[data-theme="artisan"] .wellness-google-inner , body[data-theme="real-estate"] .wellness-google-inner {
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 14px 10px 16px;
  box-sizing: border-box;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-left , body[data-theme="artisan"] .wellness-google-left , body[data-theme="real-estate"] .wellness-google-left {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 5px;
  flex: 0 1 auto;
  min-width: min-content;
  flex-wrap: nowrap;
  white-space: nowrap;
  line-height: 1;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-star-icon , body[data-theme="artisan"] .wellness-google-star-icon , body[data-theme="real-estate"] .wellness-google-star-icon {
  font-size: 1.29rem;
  line-height: 1;
  align-self: center;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-score , body[data-theme="artisan"] .wellness-google-score , body[data-theme="real-estate"] .wellness-google-score {
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1;
  align-self: center;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-label , body[data-theme="artisan"] .wellness-google-label , body[data-theme="real-estate"] .wellness-google-label {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  align-self: center;
  white-space: nowrap;
  flex-shrink: 0;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-count , body[data-theme="artisan"] .wellness-google-count , body[data-theme="real-estate"] .wellness-google-count {
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  align-self: center;
  line-height: 1;
  margin-left: auto;
  margin-right: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-avatars , body[data-theme="artisan"] .wellness-google-avatars , body[data-theme="real-estate"] .wellness-google-avatars {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  margin-left: 0;
  padding: 1px 4px 1px 7px;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-avatar , body[data-theme="artisan"] .wellness-google-avatar , body[data-theme="real-estate"] .wellness-google-avatar {
  width: 26px;
  height: 26px;
  margin-left: -6px;
  border-width: 1.5px;
}

body[data-theme="wellness-soft-minimal"] .wellness-google-avatar:nth-child(3)::after , body[data-theme="artisan"] .wellness-google-avatar:nth-child(3)::after , body[data-theme="real-estate"] .wellness-google-avatar:nth-child(3)::after {
  font-size: 0.54rem;
}

/* —— 4. Actions rapides —— */
body[data-theme="wellness-soft-minimal"] .wellness-quick-actions , body[data-theme="artisan"] .wellness-quick-actions , body[data-theme="real-estate"] .wellness-quick-actions {
  margin: 0 0 5px;
  padding: 0 5px 1px;
}

body[data-theme="wellness-soft-minimal"] #btn-call, body[data-theme="artisan"] #btn-call, body[data-theme="real-estate"] #btn-call,
body[data-theme="wellness-soft-minimal"] #btn-whatsapp, body[data-theme="artisan"] #btn-whatsapp, body[data-theme="real-estate"] #btn-whatsapp,
body[data-theme="wellness-soft-minimal"] #btn-cta-laisser-avis, body[data-theme="artisan"] #btn-cta-laisser-avis, body[data-theme="real-estate"] #btn-cta-laisser-avis,
body[data-theme="wellness-soft-minimal"] #btn-discrete-partager , body[data-theme="artisan"] #btn-discrete-partager , body[data-theme="real-estate"] #btn-discrete-partager {
  gap: 3px;
  padding: 0 4px !important;
}

body[data-theme="wellness-soft-minimal"] #btn-call::before, body[data-theme="artisan"] #btn-call::before, body[data-theme="real-estate"] #btn-call::before,
body[data-theme="wellness-soft-minimal"] #btn-whatsapp::before, body[data-theme="artisan"] #btn-whatsapp::before, body[data-theme="real-estate"] #btn-whatsapp::before,
body[data-theme="wellness-soft-minimal"] #btn-cta-laisser-avis::before, body[data-theme="artisan"] #btn-cta-laisser-avis::before, body[data-theme="real-estate"] #btn-cta-laisser-avis::before,
body[data-theme="wellness-soft-minimal"] #btn-discrete-partager::before , body[data-theme="artisan"] #btn-discrete-partager::before , body[data-theme="real-estate"] #btn-discrete-partager::before {
  width: 44px;
  height: 44px;
}

body[data-theme="wellness-soft-minimal"] #btn-call .btn-link-text::after, body[data-theme="artisan"] #btn-call .btn-link-text::after, body[data-theme="real-estate"] #btn-call .btn-link-text::after,
body[data-theme="wellness-soft-minimal"] #btn-whatsapp .btn-link-text::after, body[data-theme="artisan"] #btn-whatsapp .btn-link-text::after, body[data-theme="real-estate"] #btn-whatsapp .btn-link-text::after,
body[data-theme="wellness-soft-minimal"] #btn-cta-laisser-avis::after, body[data-theme="artisan"] #btn-cta-laisser-avis::after, body[data-theme="real-estate"] #btn-cta-laisser-avis::after,
body[data-theme="wellness-soft-minimal"] #btn-discrete-partager::after , body[data-theme="artisan"] #btn-discrete-partager::after , body[data-theme="real-estate"] #btn-discrete-partager::after {
  font-size: 0.68rem;
  line-height: 1.1;
  white-space: nowrap;
}

body[data-theme="wellness-soft-minimal"] #btn-call::after, body[data-theme="artisan"] #btn-call::after, body[data-theme="real-estate"] #btn-call::after,
body[data-theme="wellness-soft-minimal"] #btn-whatsapp::after , body[data-theme="artisan"] #btn-whatsapp::after , body[data-theme="real-estate"] #btn-whatsapp::after {
  top: 12%;
  height: 76%;
}

/* —— 5. Bloc recommandation —— */
body[data-theme="wellness-soft-minimal"] .wellness-premium-reco-card , body[data-theme="artisan"] .wellness-premium-reco-card , body[data-theme="real-estate"] .wellness-premium-reco-card {
  margin: 0 0 7px;
}

body[data-theme="wellness-soft-minimal"] .wellness-row-body.wellness-reco-texts , body[data-theme="artisan"] .wellness-row-body.wellness-reco-texts , body[data-theme="real-estate"] .wellness-row-body.wellness-reco-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}

body[data-theme="wellness-soft-minimal"] .wellness-reco-title, body[data-theme="artisan"] .wellness-reco-title, body[data-theme="real-estate"] .wellness-reco-title,
body[data-theme="wellness-soft-minimal"] #wellness-reco-title-text , body[data-theme="artisan"] #wellness-reco-title-text , body[data-theme="real-estate"] #wellness-reco-title-text {
  display: block;
  width: 100%;
  margin: 0 0 2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-theme="wellness-soft-minimal"] .wellness-reco-sub, body[data-theme="artisan"] .wellness-reco-sub, body[data-theme="real-estate"] .wellness-reco-sub,
body[data-theme="wellness-soft-minimal"] #wellness-reco-sub-text , body[data-theme="artisan"] #wellness-reco-sub-text , body[data-theme="real-estate"] #wellness-reco-sub-text {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 1.35;
}

body[data-theme="wellness-soft-minimal"] #hint-post-prestation , body[data-theme="artisan"] #hint-post-prestation , body[data-theme="real-estate"] #hint-post-prestation {
  display: none !important;
}

/* —— 6. Densité globale —— */
body[data-theme="wellness-soft-minimal"] .main-grid , body[data-theme="artisan"] .main-grid , body[data-theme="real-estate"] .main-grid {
  gap: 5px;
}

body[data-theme="wellness-soft-minimal"] .acc-panel , body[data-theme="artisan"] .acc-panel , body[data-theme="real-estate"] .acc-panel {
  margin: 0 0 7px;
}

@media (max-width: 479px) {
  body[data-theme="wellness-soft-minimal"] , body[data-theme="artisan"] , body[data-theme="real-estate"] {
    padding: 15px 14px 18px;
  }

  body[data-theme="wellness-soft-minimal"] .phone-inner, body[data-theme="artisan"] .phone-inner, body[data-theme="real-estate"] .phone-inner,
  body[data-theme="wellness-soft-minimal"].public-card--compact .phone-inner , body[data-theme="artisan"].public-card--compact .phone-inner , body[data-theme="real-estate"].public-card--compact .phone-inner {
    padding: 26px 20px 13px;
  }

  body[data-theme="wellness-soft-minimal"] .hero , body[data-theme="artisan"] .hero , body[data-theme="real-estate"] .hero {
    padding-top: 44px;
  }

  body[data-theme="wellness-soft-minimal"] #hero-professional-tagline , body[data-theme="artisan"] #hero-professional-tagline , body[data-theme="real-estate"] #hero-professional-tagline {
    margin-bottom: 0;
  }
}

/* —— Formulaire contact — modal —— */
body[data-theme="wellness-soft-minimal"] .card-block--quote #panel-quote , body[data-theme="artisan"] .card-block--quote #panel-quote , body[data-theme="real-estate"] .card-block--quote #panel-quote {
  display: none !important;
}

body[data-theme="wellness-soft-minimal"].wellness-quote-modal-open , body[data-theme="artisan"].wellness-quote-modal-open , body[data-theme="real-estate"].wellness-quote-modal-open {
  overflow: hidden;
}

.wellness-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 480px) {
  .wellness-contact-modal {
    align-items: center;
    padding: 20px 16px;
  }
}

.wellness-contact-modal.is-open {
  display: flex;
}

.wellness-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 53, 46, 0.38);
  backdrop-filter: blur(2px);
}

.wellness-contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(92vh, 640px);
  overflow: auto;
  margin: 0;
  padding: 20px 18px 18px;
  background: var(--wellness-cream, #faf7f0);
  border: 1px solid var(--card-border, #ddd2c4);
  border-radius: 24px 24px 0 0;
  box-shadow:
    0 -8px 40px rgba(36, 53, 46, 0.14),
    0 24px 56px rgba(45, 90, 69, 0.12);
  animation: wellness-contact-modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 480px) {
  .wellness-contact-modal-dialog {
    border-radius: 22px;
    padding: 22px 20px 20px;
  }
}

@keyframes wellness-contact-modal-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wellness-contact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(221, 210, 196, 0.9);
  border-radius: 50%;
  background: #fff;
  color: var(--card-muted, #6d7d72);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45, 90, 69, 0.06);
}

.wellness-contact-modal-close:hover {
  color: var(--card-text, #24352e);
  border-color: rgba(45, 90, 69, 0.25);
}

body[data-theme="wellness-soft-minimal"] #wellness-contact-modal-host #panel-quote , body[data-theme="artisan"] #wellness-contact-modal-host #panel-quote , body[data-theme="real-estate"] #wellness-contact-modal-host #panel-quote {
  display: block !important;
  margin: 0;
  padding: 0;
}

body[data-theme="wellness-soft-minimal"] #wellness-contact-modal-host #quote-section-label , body[data-theme="artisan"] #wellness-contact-modal-host #quote-section-label , body[data-theme="real-estate"] #wellness-contact-modal-host #quote-section-label {
  display: block !important;
  margin: 0 32px 14px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--card-text);
}

body[data-theme="wellness-soft-minimal"] #wellness-contact-modal-host #btn-send-quote , body[data-theme="artisan"] #wellness-contact-modal-host #btn-send-quote , body[data-theme="real-estate"] #wellness-contact-modal-host #btn-send-quote {
  border-radius: 14px;
  min-height: 46px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

body[data-theme="wellness-soft-minimal"] #wellness-contact-modal-host .hint , body[data-theme="artisan"] #wellness-contact-modal-host .hint , body[data-theme="real-estate"] #wellness-contact-modal-host .hint {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--card-muted);
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .wellness-contact-modal-dialog {
    animation: none;
  }
}
