/* Page Médecine et chirurgie esthétique : suppression de tous les halos violets sur tous les supports et dans les deux modes. */
body.medicine-page #contenu > .section:not(.conversion-band)::before,
html.theme-dark body.medicine-page #contenu > .section:not(.conversion-band)::before,
html[data-theme="dark"] body.medicine-page #contenu > .section:not(.conversion-band)::before {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

body.medicine-page #contenu > .section.section-soft {
  background: var(--color-soft) !important;
}

body.medicine-page #contenu > .section.section-mist {
  background: var(--gradient-soft-blue) !important;
}

body.medicine-page #contenu > .section:not(.conversion-band)::after,
html.theme-dark body.medicine-page #contenu > .section:not(.conversion-band)::after,
html[data-theme="dark"] body.medicine-page #contenu > .section:not(.conversion-band)::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}


/* Mobile jour et nuit : bandeau de conversion sans halo violet. */
@media (max-width: 720px) {
  body.medicine-page #contenu > .conversion-band {
    background:
      radial-gradient(circle at 12% 88%, rgba(0, 176, 255, 0.12), transparent 38%),
      linear-gradient(135deg, #11183d 0%, #1e2a50 58%, #27347c 100%) !important;
  }
}

/* Réalité du cabinet : seuls les segments explicitement balisés sont légèrement renforcés. */
body.medicine-page .feature-list.sector-reality-list li {
  font-weight: 400;
}

body.medicine-page .feature-list.sector-reality-list li strong {
  color: inherit;
  font-weight: 600;
}

/* Résultats recherchés : titres de cartes dégraissés sans modifier taille ni couleur. */
body.medicine-page #contenu > .section.section-mist:has(.grid.grid-4) .card h3 {
  font-weight: 500;
}


/* Systèmes cabinets : blocs Bénéfice légèrement raccourcis sur tous les supports. */
body.medicine-page .sector-editorial-benefit {
  width: min(94%, 620px);
  max-width: 620px;
}

/* Réassurance médecine en mode jour : même dégradé de puces que dans La réalité d'un cabinet esthétique. */
html[data-theme="light"] body.medicine-page #contenu > .section.section-mist + .section.section-mist .feature-list li::before {
  background: linear-gradient(135deg, #00b0ff, var(--color-accent)) !important;
}

@media (prefers-color-scheme: light) {
  html:not(.theme-dark):not([data-theme="dark"]) body.medicine-page #contenu > .section.section-mist + .section.section-mist .feature-list li::before {
    background: linear-gradient(135deg, #00b0ff, var(--color-accent)) !important;
  }
}

/* Réassurance médecine en mode nuit : puces identiques à celles de La réalité du cabinet. */
html.theme-dark body.medicine-page #contenu > .section.section-mist + .section.section-mist .feature-list li::before,
html[data-theme="dark"] body.medicine-page #contenu > .section.section-mist + .section.section-mist .feature-list li::before {
  background: linear-gradient(135deg, #00b0ff, var(--color-accent)) !important;
}

@media (prefers-color-scheme: dark) {
  html:not(.theme-dark):not([data-theme="light"]) body.medicine-page #contenu > .section.section-mist + .section.section-mist .feature-list li::before {
    background: linear-gradient(135deg, #00b0ff, var(--color-accent)) !important;
  }
}

/* FAQ médecine esthétique en mode jour : même violet neutre que la page Instituts & indépendantes. */
html[data-theme="light"] body.medicine-page .faq-section .faq-accordion-item summary,
html[data-theme="light"] body.medicine-page .faq-section .faq-accordion-item summary h3 {
  color: #6b4bb3 !important;
}

@media (prefers-color-scheme: light) {
  html:not(.theme-dark):not([data-theme="dark"]) body.medicine-page .faq-section .faq-accordion-item summary,
  html:not(.theme-dark):not([data-theme="dark"]) body.medicine-page .faq-section .faq-accordion-item summary h3 {
    color: #6b4bb3 !important;
  }
}

/* FAQ médecine esthétique en mode nuit : questions dans le bleu des puces, titre et réponses en blanc. */
html.theme-dark body.medicine-page .faq-accordion-item summary,
html[data-theme="dark"] body.medicine-page .faq-accordion-item summary {
  color: #a9c0dc !important;
}

html.theme-dark body.medicine-page .faq-accordion-item summary h3,
html[data-theme="dark"] body.medicine-page .faq-accordion-item summary h3 {
  color: #7fa6d8 !important;
  font-size: 1.06rem;
}

@media (prefers-color-scheme: dark) {
  html:not(.theme-dark):not([data-theme="light"]) body.medicine-page .faq-accordion-item summary {
    color: #a9c0dc !important;
  }

  html:not(.theme-dark):not([data-theme="light"]) body.medicine-page .faq-accordion-item summary h3 {
    color: #7fa6d8 !important;
    font-size: 1.06rem;
  }
}

/* Mode nuit : titres des cartes Systèmes cabinets et Résultats recherchés dans le bleu de la FAQ. */
html.theme-dark body.medicine-page .sector-editorial-list .sector-editorial-heading h3,
html[data-theme="dark"] body.medicine-page .sector-editorial-list .sector-editorial-heading h3,
html.theme-dark body.medicine-page #contenu > .section.section-mist:has(.grid.grid-4) .card h3,
html[data-theme="dark"] body.medicine-page #contenu > .section.section-mist:has(.grid.grid-4) .card h3 {
  color: #a9cfff !important;
}

@media (prefers-color-scheme: dark) {
  html:not(.theme-dark):not([data-theme="light"]) body.medicine-page .sector-editorial-list .sector-editorial-heading h3,
  html:not(.theme-dark):not([data-theme="light"]) body.medicine-page #contenu > .section.section-mist:has(.grid.grid-4) .card h3 {
    color: #a9cfff !important;
  }
}
