.front.template-unisad {
  --pk-container: 1200px;
  --pk-section-y: 5rem;
  --pk-block-gap: 2rem;
  --pk-radius-sm: 0.25rem;
  --pk-radius-md: 0.5rem;
  --pk-radius-lg: 1rem;
  --pk-radius-pill: 9999px;
  --pk-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --pk-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --pk-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --pk-text-h1: 2.5rem;
  --pk-text-h2: 2rem;
  --pk-text-h3: 1.5rem;
  --pk-text-body: 1rem;
  --pk-heading-weight: 700;
  --pk-heading-transform: none;
  --pk-heading-tracking: 0;
  --pk-body-leading: 1.6;
  --pk-btn-radius: 0.5rem;
  --pk-btn-px: 1.5rem;
  --pk-btn-py: 0.75rem;
  --pk-btn-weight: 600;
  --pk-btn-transform: none;
}

/* =====================================================
   TEMPLATE: UNISAD — "Clinique lumineuse" (privé, custom)

   Design propre au client. Parti pris : institution de sante moderne,
   claire et competente. Beaucoup d'air, grille precise, filets bleus
   fins, cartes PLEINES (jamais de verre translucide). L'orange ne sert
   que d'accent net : signature "+" medical sous les eyebrows,
   chiffres-cles, CTA, survols.

   CONVENTION MAISON (comme cobalt) : on consomme DIRECTEMENT les
   variables tenant, aucune couche d'alias locale.
     - Bleu marque  : rgb(var(--brand-700 / 600 / 900 / 100, …))
     - Orange logo  : rgb(var(--accent-500, 245 125 12))  (#f57d0c ;
                      500 = la couleur d'entree, cf. color-palette.ts.
                      NB : --accent-color = accent-600 = trop fonce ici).
     - Teintes / filets : color-mix() derive de brand/accent.
   Public souvent age -> gros corps, contrastes soutenus, focus visibles.
   ===================================================== */

/* ── Typographie : grotesque nette, hierarchie franche ───────────── */
.front.template-unisad :is(body, p, li, blockquote, a, button, input, select, textarea) {
  font-family: var(--font-body, 'Hanken Grotesk', system-ui, sans-serif);
}
.front.template-unisad {
  background: #ffffff;
  color: rgb(var(--brand-900, 15 30 66));
}
.front.template-unisad :is(body, p, li) {
  color: rgb(var(--brand-900, 15 30 66));
  font-size: 1.06rem;
  line-height: 1.7;
}
.front.template-unisad :is(h1, h2, h3, h4, h5, h6),
.front.template-unisad :is(.section-title, .block-title) {
  font-family: var(--font-heading, 'Hanken Grotesk', system-ui, sans-serif);
  color: rgb(var(--brand-700, 16 40 96));
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.12;
}
.front.template-unisad h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.front.template-unisad h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
.front.template-unisad h3 { font-size: 1.3rem; }
.front.template-unisad h4 { font-size: 1.1rem; }
/* Mot accentue dans un titre : orange net. */
.front.template-unisad :is(h1, h2, h3) :is(em, strong, b) {
  color: rgb(var(--accent-500, 245 125 12));
  font-style: normal;
}

/* ── Signature : eyebrow "clinique" = "+" orange + filet mesure ──── */
.front.template-unisad .section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  font-family: var(--font-heading, 'Hanken Grotesk', system-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--brand-600, 20 50 118));
  padding-bottom: 0.7rem;
  margin-bottom: 1.15rem;
  border-bottom: 2px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
}
.front.template-unisad .section-subtitle::before {
  content: "+";
  color: rgb(var(--accent-500, 245 125 12));
  font-weight: 900;
  font-size: 1.15em;
  line-height: 0.6;
}
.front.template-unisad .section-subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: rgb(var(--accent-500, 245 125 12));
}

/* Sections a fond bleu : titres + eyebrow en clair. */
.front.template-unisad :is(.section-primary, .section-black, .section-accent) :is(.section-title, .section-title :is(strong, em, b)) {
  color: #ffffff;
}
.front.template-unisad :is(.section-primary, .section-black, .section-accent) .section-subtitle {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

/* ── Liens editoriaux : bleu, souligne orange au survol ──────────── */
.front.template-unisad :is(p, li, blockquote) a,
.front.template-unisad .rich-content a {
  color: rgb(var(--brand-700, 16 40 96));
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.front.template-unisad :is(p, li, blockquote) a:hover {
  text-decoration-color: rgb(var(--accent-500, 245 125 12));
}

/* ── Boutons : CTA orange plein (texte BLANC), secondaire contour ── */
.front.template-unisad :is(.btn, button, .cta) {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.front.template-unisad :is(.btn-primary, .cta-primary, .hero-cta),
.front.template-unisad :is(.btn-primary, .cta-primary, .hero-cta) *,
.front.template-unisad form button[type="submit"] {
  color: #ffffff !important;
}
.front.template-unisad :is(.btn-primary, .cta-primary, .hero-cta),
.front.template-unisad form button[type="submit"] {
  background: rgb(var(--accent-500, 245 125 12)) !important;
  border: 2px solid rgb(var(--accent-500, 245 125 12)) !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.6rem !important;
  font-weight: 800 !important;
}
.front.template-unisad :is(.btn-primary, .cta-primary, .hero-cta):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px color-mix(in srgb, rgb(var(--accent-500, 245 125 12)) 55%, transparent);
}
.front.template-unisad :is(.btn-secondary, .cta-secondary, .hero-cta-secondary) {
  background: rgb(var(--brand-600)) !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.6rem !important;
  font-weight: 800 !important;
}
.front.template-unisad :is(.btn-secondary, .cta-secondary, .hero-cta-secondary):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px color-mix(in srgb, rgb(var(--brand-500, 245 125 12)) 55%, transparent);
}

/* =====================================================
   HERO (block-hero-v2) — fond bleu + photo, texte clair, cartes PLEINES.
   ===================================================== */
.front.template-unisad .block-hero-v2 { position: relative; }
/* Sous-titre "Chez vous, avec vous, pour vous" : pastille compacte. */
.front.template-unisad .block-hero-v2 :is(.htc-subtitle, .hero-subtitle) {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 0.42rem 0.95rem !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  margin-bottom: 1.3rem !important;
}
.front.template-unisad .section-primary .block-hero-v2 :is(.htc-title, h1) {
  color: #ffffff !important;
  letter-spacing: -0.03em;
}
.front.template-unisad .section-primary .block-hero-v2 :is(.htc-description, .hero-description) {
  color: rgba(255, 255, 255, 0.94) !important;
}
.front.template-unisad .section-primary .block-hero-v2 :is(.htc-subtitle, .hero-subtitle) {
  background: rgba(255, 255, 255, 0.34) !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  color: rgb(var(--brand-600)) !important;
}
.front.template-unisad .section-primary .block-hero-v2 .hero-cta-secondary {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}
/* Cartes feature du hero : PLEINES blanches. */
.front.template-unisad .block-hero-v2 :is(.hero-feature, .htc-feature) {
  background: #ffffff !important;
  border: 1px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent) !important;
  border-radius: 22px !important;
  color: rgb(var(--brand-900, 15 30 66)) !important;
  box-shadow: 0 24px 50px -30px rgba(16, 40, 90, 0.30) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.front.template-unisad .block-hero-v2 :is(.hero-feature, .htc-feature) :is(.hero-feature-icon, svg) {
  color: rgb(var(--accent-500, 245 125 12)) !important;
}

/* =====================================================
   CARTES SERVICE (block-service) — PLEINES, nettes, accent orange.
   ===================================================== */
.front.template-unisad .block-service {
  background: #ffffff !important;
  border: 1px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
  border-radius: 22px;
  box-shadow: 0 6px 22px -14px rgba(16, 40, 90, 0.22);
  padding: 1.9rem 1.6rem !important;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.front.template-unisad .block-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -30px rgba(16, 40, 90, 0.30);
  border-color: color-mix(in srgb, rgb(var(--accent-500, 245 125 12)) 45%, transparent);
}
.front.template-unisad .block-service .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 6%, transparent);
  color: rgb(var(--brand-700, 16 40 96));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.front.template-unisad .block-service .service-icon-svg { width: 27px; height: 27px; }
.front.template-unisad .block-service .service-title {
  color: rgb(var(--brand-700, 16 40 96));
  font-weight: 800;
  font-size: 1.25rem;
}
.front.template-unisad .block-service .service-description {
  color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff);
}
.front.template-unisad .block-service .service-link {
  color: rgb(var(--accent-500, 245 125 12));
  font-weight: 800;
  margin-top: 0.9rem;
}

/* =====================================================
   CHIFFRES-CLES (pk-stats) — grand nombre orange, label lisible.
   ===================================================== */
.front.template-unisad .pk-stats {
  --pk-stats-value-color: rgb(var(--accent-500, 245 125 12));
  --pk-stats-label-color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff);
}
.front.template-unisad .pk-stats__value {
  color: rgb(var(--accent-500, 245 125 12)) !important;
  font-family: var(--font-heading, 'Hanken Grotesk', system-ui, sans-serif) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.front.template-unisad .pk-stats__label {
  color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff);
  font-weight: 600;
}
/* Sur fond bleu : label en CLAIR (etait gris illisible). */
.front.template-unisad :is(.section-primary, .section-black) .pk-stats {
  --pk-stats-label-color: rgba(255, 255, 255, 0.85);
}
.front.template-unisad :is(.section-primary, .section-black) .pk-stats__label {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* =====================================================
   REASSURANCE (pk-trust-item) — cartes blanches, icone orange.
   ===================================================== */
.front.template-unisad .pk-trust-item {
  --pk-trust-item-bg: #ffffff;
  --pk-trust-item-radius: 22px;
  --pk-trust-item-icon-color: rgb(var(--accent-500, 245 125 12));
  --pk-trust-item-icon-bg: color-mix(in srgb, rgb(var(--accent-500, 245 125 12)) 14%, transparent);
  --pk-trust-item-border: color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
}
.front.template-unisad .pk-trust-item__title { color: rgb(var(--brand-700, 16 40 96)); font-weight: 800; }
.front.template-unisad .pk-trust-item__description {
  color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff);
}
.front.template-unisad :is(.section-primary, .section-black) .pk-trust-item__description {
  color: rgba(255, 255, 255, 0.85);
}

/* =====================================================
   Cartes "icone en tete" (pk-card-icon-first) des pages service.
   ===================================================== */
.front.template-unisad .pk-card-icon-first {
  --pk-card-icon-first-bg: #ffffff;
  --pk-card-icon-first-radius: 22px;
  --pk-card-icon-first-icon-color: rgb(var(--accent-500, 245 125 12));
  --pk-card-icon-first-icon-bg: color-mix(in srgb, rgb(var(--accent-500, 245 125 12)) 14%, transparent);
  --pk-card-icon-first-border: color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
}
.front.template-unisad .pk-card-icon-first__title { color: rgb(var(--brand-700, 16 40 96)); font-weight: 800; }
.front.template-unisad .pk-card-icon-first__description {
  color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff);
}

/* =====================================================
   ACTUALITES (block-card) — cartes pleines, nettes.
   ===================================================== */
.front.template-unisad .block-card {
  background: #ffffff !important;
  border: 1px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 6px 22px -14px rgba(16, 40, 90, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.front.template-unisad .block-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -30px rgba(16, 40, 90, 0.30);
}
.front.template-unisad .block-card .card-body h3 {
  color: rgb(var(--brand-700, 16 40 96));
  font-weight: 800;
  line-height: 1.3;
}
.front.template-unisad .block-card .card-body p {
  color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff);
}
.front.template-unisad .block-card .card-body :is(time, .card-date, [class*="date"]) {
  color: rgb(var(--accent-500, 245 125 12));
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
}

/* =====================================================
   FAQ (block-faq / faq-item = <details>) — cartes nettes.
   ===================================================== */
.front.template-unisad .faq-item {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
  border-radius: 14px;
  box-shadow: 0 6px 22px -14px rgba(16, 40, 90, 0.22);
  margin-bottom: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.front.template-unisad .faq-item:hover {
  border-color: color-mix(in srgb, rgb(var(--accent-500, 245 125 12)) 40%, transparent);
}
.front.template-unisad .faq-item[open] {
  border-color: color-mix(in srgb, rgb(var(--accent-500, 245 125 12)) 55%, transparent);
  box-shadow: 0 24px 50px -30px rgba(16, 40, 90, 0.30);
}
.front.template-unisad .faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-heading, 'Hanken Grotesk', system-ui, sans-serif);
  font-weight: 800;
  font-size: 1.02rem;
  color: rgb(var(--brand-700, 16 40 96));
}
.front.template-unisad .faq-item > summary::-webkit-details-marker { display: none; }
.front.template-unisad .faq-number {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, rgb(var(--accent-500, 245 125 12)) 14%, transparent);
  color: rgb(var(--accent-500, 245 125 12));
  font-weight: 800;
}
.front.template-unisad .faq-item[open] .faq-number {
  background: rgb(var(--accent-500, 245 125 12));
  color: #ffffff;
}
.front.template-unisad .faq-chevron { margin-left: auto; color: rgb(var(--accent-500, 245 125 12)); }
.front.template-unisad .faq-answer {
  color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff);
}

/* =====================================================
   ZONE D'INTERVENTION (block-map) — cadre net.
   ===================================================== */
.front.template-unisad .block-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
  box-shadow: 0 6px 22px -14px rgba(16, 40, 90, 0.22);
}

/* =====================================================
   CTA finale (block-cta-v2 / cta-on-dark) — bandeau bleu plein.
   ===================================================== */
.front.template-unisad .block-cta-v2 { border-radius: 22px; }
.front.template-unisad .block-cta-v2.cta-on-dark {
  background: rgb(var(--brand-700, 16 40 96)) !important;
  color: #ffffff !important;
}
.front.template-unisad .block-cta-v2.cta-on-dark :is(h1, h2, h3, p) { color: #ffffff !important; }
.front.template-unisad .section-full-width .block-cta-v2 { border-radius: 0; }

/* ── En-tete : blanc net, filet bas ──────────────────────────────── */
.front.template-unisad #site-header-wrap {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
}
.front.template-unisad #site-header-wrap :is(.nav-link, nav a) {
  color: rgb(var(--brand-900, 15 30 66));
  font-weight: 600;
}

/* =====================================================
   FOOTER (block-footer) — version CLAIRE (etait bg-gray-900 blanc).
   ===================================================== */
.front.template-unisad .block-footer {
  background: color-mix(in srgb, rgb(var(--brand-500, 23 57 134)) 7%, #ffffff) !important;
  color: rgb(var(--brand-900, 15 30 66)) !important;
  border-top: 1px solid color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 15%, transparent);
}
.front.template-unisad .block-footer :is(h1, h2, h3, h4, h5, h6) {
  color: rgb(var(--brand-700, 16 40 96)) !important;
}
.front.template-unisad .block-footer :is(p, li, span, a, .footer-column-text) {
  color: color-mix(in srgb, rgb(var(--brand-900, 15 30 66)) 58%, #ffffff) !important;
}
.front.template-unisad .block-footer a:hover { color: rgb(var(--accent-500, 245 125 12)) !important; }

/* ── Fond de section "gray" : tres leger bleu ────────────────────── */
.front.template-unisad .section-gray {
  background: color-mix(in srgb, rgb(var(--brand-700, 16 40 96)) 5%, transparent);
}

/* ── Accessibilite : focus visible net (public age) ──────────────── */
.front.template-unisad :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgb(var(--accent-500, 245 125 12));
  outline-offset: 2px;
  border-radius: 6px;
}