/* =======================================================================
   Template "Prisme" — climate-tech 2026, modern energy renovation
   Design system INDÉPENDANT.
   Mood : SaaS premium, glassmorphism subtle, gradient mesh, dark mode.
   Cible : rénovation énergétique, PAC, photovoltaïque, audit DPE.
   ======================================================================= */

:root {
  --color-primary: #3B5BFF;
  --color-secondary: #7CFFB2;
  --color-accent: #9B6BFF;

  /* Light mode (default) */
  --pr-bg: #FAFAFB;
  --pr-surface: #FFFFFF;
  --pr-surface-elev: #F4F4F6;
  --pr-text: #0A0B0E;
  --pr-text-muted: #6B7280;
  --pr-text-light: #9CA3AF;
  --pr-border: rgba(10, 11, 14, 0.06);
  --pr-border-strong: rgba(10, 11, 14, 0.12);
  --pr-glass: rgba(255, 255, 255, 0.72);
  --pr-glass-border: rgba(10, 11, 14, 0.06);

  /* Brand — derived from injected colors */
  --pr-primary: var(--color-primary);
  --pr-primary-hover: color-mix(in srgb, var(--color-primary) 80%, black);
  --pr-accent: var(--color-accent);
  --pr-energy: var(--color-secondary);
  --pr-mesh-1: var(--color-primary);
  --pr-mesh-2: var(--color-accent);
  --pr-mesh-3: var(--color-secondary);

  /* Typography — utilisateur peut surcharger via fontPairing. Mono fixe. */
  --pr-display: var(--user-font-heading, 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif);
  --pr-body: var(--user-font-body, 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif);
  --pr-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Fluid scale */
  --pr-fs-xs: 0.75rem;
  --pr-fs-sm: 0.875rem;
  --pr-fs-base: 1rem;
  --pr-fs-md: 1.0625rem;
  --pr-fs-lg: 1.25rem;
  --pr-fs-xl: 1.5rem;
  --pr-fs-2xl: 2rem;
  --pr-fs-3xl: 2.75rem;
  --pr-fs-4xl: 3.5rem;
  --pr-fs-5xl: 4.5rem;
  --pr-fs-6xl: 6rem;

  /* Spacing — grille 4 */
  --pr-s-1: 0.25rem;
  --pr-s-2: 0.5rem;
  --pr-s-3: 0.75rem;
  --pr-s-4: 1rem;
  --pr-s-5: 1.25rem;
  --pr-s-6: 1.5rem;
  --pr-s-8: 2rem;
  --pr-s-10: 2.5rem;
  --pr-s-12: 3rem;
  --pr-s-16: 4rem;
  --pr-s-20: 5rem;
  --pr-s-24: 6rem;
  --pr-s-32: 8rem;

  --pr-container: 1280px;
  --pr-container-narrow: 880px;
  --pr-gutter: clamp(1.25rem, 3.5vw, 2rem);

  --pr-header-h: 72px;

  --pr-radius-sm: 8px;
  --pr-radius: 16px;
  --pr-radius-lg: 24px;
  --pr-radius-xl: 32px;
  --pr-radius-pill: 999px;

  --pr-shadow-sm: 0 1px 2px rgba(10, 11, 14, 0.04);
  --pr-shadow: 0 4px 24px rgba(10, 11, 14, 0.06), 0 1px 3px rgba(10, 11, 14, 0.04);
  --pr-shadow-md: 0 8px 32px rgba(10, 11, 14, 0.08), 0 4px 8px rgba(10, 11, 14, 0.04);
  --pr-shadow-lg: 0 24px 48px rgba(10, 11, 14, 0.12), 0 8px 16px rgba(10, 11, 14, 0.04);
  --pr-glow: 0 0 0 1px rgba(59, 91, 255, 0.4), 0 8px 32px rgba(59, 91, 255, 0.20);
}

/* Dark mode auto via prefers-color-scheme */
@media (prefers-color-scheme: dark) {
  :root {
    --pr-bg: #0A0B0E;
    --pr-surface: #13151B;
    --pr-surface-elev: #1C1F27;
    --pr-text: #FFFFFF;
    --pr-text-muted: #9CA3AF;
    --pr-text-light: #6B7280;
    --pr-border: rgba(255, 255, 255, 0.06);
    --pr-border-strong: rgba(255, 255, 255, 0.12);
    --pr-glass: rgba(20, 22, 28, 0.6);
    --pr-glass-border: rgba(255, 255, 255, 0.08);
    --pr-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --pr-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --pr-shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: var(--pr-header-h);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.template-prisme {
  font-family: var(--pr-body);
  font-size: var(--pr-fs-base);
  line-height: 1.6;
  color: var(--pr-text);
  background: var(--pr-bg);
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01', 'tnum';
}

img, video, svg { display: block; max-width: 100%; height: auto; }
input, textarea, select, button { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--pr-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--pr-primary); color: #fff; }

.template-prisme h1,
.template-prisme h2,
.template-prisme h3,
.template-prisme h4 {
  font-family: var(--pr-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--pr-text);
}

.template-prisme [data-counter],
.template-prisme .pr-mono { font-family: var(--pr-mono); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- */
.template-prisme .pr-container,
.template-prisme .container {
  width: 100%;
  max-width: var(--pr-container);
  margin: 0 auto;
  padding-inline: var(--pr-gutter);
}
.template-prisme .pr-container--narrow { max-width: var(--pr-container-narrow); }

.template-prisme .pr-eyebrow,
.template-prisme .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--pr-s-2);
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pr-primary);
  padding: 6px 12px;
  background: color-mix(in srgb, var(--pr-primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pr-primary) 20%, transparent);
  border-radius: var(--pr-radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.template-prisme .pr-section,
.template-prisme .section { padding-block: clamp(4rem, 8vw, 7rem); }
.template-prisme .pr-section--alt { background: var(--pr-surface-elev); }

.template-prisme .pr-lead,
.template-prisme .lead {
  font-size: var(--pr-fs-lg);
  color: var(--pr-text-muted);
  line-height: 1.55;
  max-width: 60ch;
  font-weight: 400;
}

/* Gradient text for accents */
.template-prisme .pr-gradient-text,
.template-prisme .accent {
  background: linear-gradient(135deg, var(--pr-primary) 0%, var(--pr-accent) 60%, var(--pr-energy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------- BUTTONS */
.template-prisme .pr-btn,
.template-prisme .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--pr-s-2);
  padding: 12px 22px;
  font-family: var(--pr-display);
  font-size: var(--pr-fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--pr-text);
  color: var(--pr-bg);
  border: 1px solid transparent;
  border-radius: var(--pr-radius-pill);
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease, background 200ms ease;
  cursor: pointer;
}
.template-prisme .pr-btn:hover,
.template-prisme .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--pr-shadow-md);
}

.template-prisme .pr-btn--primary,
.template-prisme .btn--primary {
  background: var(--pr-primary);
  color: #fff;
}
.template-prisme .pr-btn--primary:hover,
.template-prisme .btn--primary:hover {
  background: var(--pr-primary-hover);
  box-shadow: var(--pr-glow);
}

.template-prisme .pr-btn--ghost,
.template-prisme .btn--ghost {
  background: var(--pr-glass);
  color: var(--pr-text);
  border-color: var(--pr-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.template-prisme .pr-btn--ghost:hover,
.template-prisme .btn--ghost:hover {
  background: var(--pr-surface);
  border-color: var(--pr-border-strong);
}

.template-prisme .btn--lg { padding: 14px 28px; font-size: var(--pr-fs-md); }
.template-prisme .btn--link {
  background: transparent;
  padding: 0;
  color: var(--pr-primary);
  font-weight: 500;
  border-radius: 0;
}
.template-prisme .btn--link:hover { color: var(--pr-primary-hover); transform: none; box-shadow: none; }

.template-prisme .btn__arrow { transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.template-prisme .btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------- HEADER */
.template-prisme .pr-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--pr-glass-border);
  height: var(--pr-header-h);
  display: flex;
  align-items: center;
  transition: background 200ms ease;
}
.template-prisme .pr-navbar.is-scrolled {
  background: var(--pr-glass);
  box-shadow: var(--pr-shadow-sm);
}
.template-prisme .pr-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pr-s-6);
  width: 100%;
}
.template-prisme .pr-navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--pr-s-3);
  font-family: var(--pr-display);
  font-weight: 700;
  font-size: var(--pr-fs-md);
  letter-spacing: -0.02em;
  color: var(--pr-text);
}
.template-prisme .pr-navbar__brand img { height: 32px; width: auto; max-width: 160px; object-fit: contain; }

.template-prisme .pr-navbar__nav { display: flex; gap: var(--pr-s-2); align-items: center; }
.template-prisme .pr-navbar__nav a {
  font-size: var(--pr-fs-sm);
  font-weight: 500;
  color: var(--pr-text-muted);
  padding: 8px 14px;
  border-radius: var(--pr-radius-pill);
  transition: color 150ms, background 150ms;
}
.template-prisme .pr-navbar__nav a:hover {
  color: var(--pr-text);
  background: var(--pr-surface-elev);
}
.template-prisme .pr-navbar__nav a[aria-current="page"] {
  color: var(--pr-text);
  background: var(--pr-surface-elev);
}

.template-prisme .pr-navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--pr-s-2);
  padding: 10px 18px;
  background: var(--pr-primary);
  color: #fff;
  font-size: var(--pr-fs-sm);
  font-weight: 600;
  border-radius: var(--pr-radius-pill);
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease;
}
.template-prisme .pr-navbar__cta:hover { transform: translateY(-1px); box-shadow: var(--pr-glow); }

.template-prisme .pr-navbar__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 12px;
  background: var(--pr-surface-elev);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
}
.template-prisme .pr-navbar__toggle span {
  display: block; height: 2px; background: var(--pr-text); border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.template-prisme .pr-navbar__mobile {
  display: none;
  position: absolute;
  inset: var(--pr-header-h) 0 auto;
  background: var(--pr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--pr-border);
  padding: var(--pr-s-6) var(--pr-gutter) var(--pr-s-8);
}
.template-prisme .pr-navbar__mobile ul { display: flex; flex-direction: column; gap: var(--pr-s-2); }
.template-prisme .pr-navbar__mobile a {
  display: block;
  font-size: var(--pr-fs-md);
  font-weight: 500;
  color: var(--pr-text);
  padding: var(--pr-s-3) var(--pr-s-4);
  border-radius: var(--pr-radius-sm);
  background: var(--pr-surface-elev);
}
.template-prisme .pr-navbar.is-menu-open .pr-navbar__mobile { display: block; }

@media (max-width: 920px) {
  .template-prisme .pr-navbar__nav,
  .template-prisme .pr-navbar__cta { display: none; }
  .template-prisme .pr-navbar__toggle { display: flex; }
}

/* ---------------------------------------------------------------- HERO */
.template-prisme .hero {
  padding-block: clamp(4rem, 9vw, 7rem) clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.template-prisme .hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 40% at 18% 20%, color-mix(in srgb, var(--pr-mesh-1) 40%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 30%, color-mix(in srgb, var(--pr-mesh-2) 35%, transparent), transparent 70%),
    radial-gradient(ellipse 45% 35% at 60% 80%, color-mix(in srgb, var(--pr-mesh-3) 30%, transparent), transparent 70%);
  filter: blur(60px);
  opacity: 0.7;
  z-index: 0;
  animation: pr-mesh 30s ease-in-out infinite alternate;
}
@keyframes pr-mesh {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.05); }
  100% { transform: translate(-20px, 25px) scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
  .template-prisme .hero::before { animation: none; }
}

.template-prisme .hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pr-s-12);
  align-items: center;
}
.template-prisme .hero--split .hero__container,
.template-prisme .hero[data-variant="split"] .hero__container { grid-template-columns: 1.1fr 1fr; }

.template-prisme .hero__text { max-width: 720px; }
.template-prisme .hero__title {
  font-size: clamp(2.75rem, 6.5vw, var(--pr-fs-5xl));
  letter-spacing: -0.04em;
  margin-block: var(--pr-s-6) var(--pr-s-5);
  line-height: 1.05;
}
.template-prisme .hero__title em,
.template-prisme .hero__title .accent {
  font-style: normal;
  background: linear-gradient(135deg, var(--pr-primary) 0%, var(--pr-accent) 60%, var(--pr-energy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.template-prisme .hero__subtitle {
  font-size: var(--pr-fs-lg);
  color: var(--pr-text-muted);
  margin-bottom: var(--pr-s-8);
  line-height: 1.55;
  max-width: 56ch;
}

.template-prisme .hero__actions { display: flex; flex-wrap: wrap; gap: var(--pr-s-3); margin-bottom: var(--pr-s-10); }

.template-prisme .hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--pr-s-6);
  padding: var(--pr-s-6);
  background: var(--pr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pr-glass-border);
  border-radius: var(--pr-radius);
}
.template-prisme .hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.template-prisme .hero__meta-value {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-2xl);
  font-weight: 700;
  color: var(--pr-text);
  letter-spacing: -0.03em;
}
.template-prisme .hero__meta-label {
  font-size: var(--pr-fs-xs);
  color: var(--pr-text-muted);
  font-weight: 500;
}

.template-prisme .hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--pr-radius-lg);
  overflow: hidden;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  box-shadow: var(--pr-shadow-lg);
}
.template-prisme .hero__image-wrap { position: absolute; inset: 0; }
.template-prisme .hero__image-wrap img,
.template-prisme .hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.template-prisme .hero__image-label {
  position: absolute;
  left: var(--pr-s-4);
  bottom: var(--pr-s-4);
  background: var(--pr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--pr-s-3) var(--pr-s-4);
  border-radius: var(--pr-radius-sm);
  border: 1px solid var(--pr-glass-border);
  font-size: var(--pr-fs-xs);
}

@media (max-width: 880px) {
  .template-prisme .hero--split .hero__container,
  .template-prisme .hero[data-variant="split"] .hero__container { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- TRUST BAR */
.template-prisme .trust-bar {
  padding-block: var(--pr-s-8);
  background: var(--pr-surface);
  border-top: 1px solid var(--pr-border);
  border-bottom: 1px solid var(--pr-border);
}
.template-prisme .trust-bar .container {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--pr-s-8);
}
.template-prisme .trust-bar__label {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pr-text-light);
}
.template-prisme .trust-bar__items { display: flex; flex-wrap: wrap; gap: var(--pr-s-6); align-items: center; }
.template-prisme .trust-bar__item {
  font-weight: 600;
  font-size: var(--pr-fs-sm);
  color: var(--pr-text-muted);
  padding: 6px 14px;
  background: var(--pr-surface-elev);
  border-radius: var(--pr-radius-pill);
  border: 1px solid var(--pr-border);
}

/* ---------------------------------------------------------------- SERVICES (bento style) */
.template-prisme .services { background: var(--pr-bg); }
.template-prisme .services__header {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--pr-s-3);
  margin-bottom: var(--pr-s-12); max-width: 720px;
}
.template-prisme .services__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); }

.template-prisme .services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--pr-s-4);
}
.template-prisme .service-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: var(--pr-s-6);
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease, border-color 250ms ease;
  display: flex;
  flex-direction: column;
  gap: var(--pr-s-3);
  position: relative;
  overflow: hidden;
}
.template-prisme .service-card::after {
  content: '';
  position: absolute;
  inset: -50% -10% auto auto;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--pr-primary) 18%, transparent), transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.template-prisme .service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pr-shadow-md);
  border-color: var(--pr-border-strong);
}
.template-prisme .service-card:hover::after { opacity: 1; }

.template-prisme .service-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pr-primary) 12%, transparent);
  color: var(--pr-primary);
  border-radius: var(--pr-radius-sm);
  position: relative;
  z-index: 1;
}
.template-prisme .service-card__icon svg { width: 24px; height: 24px; }
.template-prisme .service-card__title { font-size: var(--pr-fs-lg); font-weight: 700; color: var(--pr-text); position: relative; z-index: 1; }
.template-prisme .service-card__text { color: var(--pr-text-muted); font-size: var(--pr-fs-sm); position: relative; z-index: 1; }
.template-prisme .service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--pr-fs-sm);
  font-weight: 600;
  color: var(--pr-primary);
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------- SHOWCASES */
.template-prisme .showcases { background: var(--pr-surface-elev); }
.template-prisme .showcases__header {
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--pr-s-6);
  margin-bottom: var(--pr-s-10); flex-wrap: wrap;
}
.template-prisme .showcases__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); }
.template-prisme .showcases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--pr-s-4);
}
.template-prisme .showcase-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease, border-color 250ms ease;
}
.template-prisme .showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pr-shadow-md);
  border-color: var(--pr-border-strong);
}
.template-prisme .showcase-card--featured { grid-column: span 2; }
@media (max-width: 760px) { .template-prisme .showcase-card--featured { grid-column: auto; } }

.template-prisme .showcase-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--pr-surface-elev);
  overflow: hidden;
}
.template-prisme .showcase-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
.template-prisme .showcase-card:hover .showcase-card__media img { transform: scale(1.04); }
.template-prisme .showcase-card__badge {
  position: absolute;
  top: var(--pr-s-3);
  right: var(--pr-s-3);
  background: var(--pr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--pr-text);
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xs);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--pr-radius-pill);
  border: 1px solid var(--pr-glass-border);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.template-prisme .showcase-card__body { padding: var(--pr-s-5) var(--pr-s-6); }
.template-prisme .showcase-card__title { font-size: var(--pr-fs-lg); font-weight: 700; margin-bottom: var(--pr-s-1); }
.template-prisme .showcase-card__meta {
  font-size: var(--pr-fs-sm);
  color: var(--pr-text-muted);
  display: flex; gap: var(--pr-s-2);
}

/* ---------------------------------------------------------------- MANIFESTO */
.template-prisme .manifesto {
  background: var(--pr-surface);
  padding-block: clamp(5rem, 11vw, 9rem);
  position: relative;
  overflow: hidden;
}
.template-prisme .manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, color-mix(in srgb, var(--pr-primary) 8%, transparent), transparent 70%);
  filter: blur(60px);
}
.template-prisme .manifesto .container { position: relative; max-width: 900px; text-align: center; }
.template-prisme .manifesto__quote,
.template-prisme .manifesto blockquote {
  font-size: clamp(1.75rem, 4vw, var(--pr-fs-3xl));
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--pr-text);
}
.template-prisme .manifesto__author {
  margin-top: var(--pr-s-6);
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-sm);
  color: var(--pr-text-muted);
}

/* ---------------------------------------------------------------- TESTIMONIALS */
.template-prisme .testimonials { background: var(--pr-bg); }
.template-prisme .testimonials__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); margin-bottom: var(--pr-s-10); }
.template-prisme .testimonials__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--pr-s-4);
}
.template-prisme .testimonial,
.template-prisme .testimonial-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: var(--pr-s-6);
  display: flex; flex-direction: column; gap: var(--pr-s-4);
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.template-prisme .testimonial:hover,
.template-prisme .testimonial-card:hover { transform: translateY(-2px); box-shadow: var(--pr-shadow); }
.template-prisme .testimonial__rating,
.template-prisme .testimonial-card__rating { display: inline-flex; gap: 2px; color: var(--pr-energy); }
.template-prisme .testimonial__text,
.template-prisme .testimonial-card__text { font-size: var(--pr-fs-md); line-height: 1.55; color: var(--pr-text); }
.template-prisme .testimonial__author,
.template-prisme .testimonial-card__author { display: flex; align-items: center; gap: var(--pr-s-3); padding-top: var(--pr-s-4); border-top: 1px solid var(--pr-border); }
.template-prisme .testimonial__name,
.template-prisme .testimonial-card__name { font-weight: 600; color: var(--pr-text); }
.template-prisme .testimonial__role,
.template-prisme .testimonial-card__role { font-size: var(--pr-fs-xs); color: var(--pr-text-muted); }

/* ---------------------------------------------------------------- FAQ */
.template-prisme .faq { background: var(--pr-surface-elev); }
.template-prisme .faq__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); margin-bottom: var(--pr-s-8); }
.template-prisme .faq__list { max-width: 800px; display: flex; flex-direction: column; gap: var(--pr-s-3); }
.template-prisme .faq-item,
.template-prisme [data-faq-item] {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: var(--pr-s-5) var(--pr-s-6);
  transition: border-color 200ms ease;
}
.template-prisme .faq-item.is-open,
.template-prisme [data-faq-item].is-open { border-color: var(--pr-border-strong); }
.template-prisme .faq-item__trigger,
.template-prisme [data-faq-trigger] {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--pr-s-4);
  text-align: left;
  font-size: var(--pr-fs-md);
  font-weight: 600;
  color: var(--pr-text);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.template-prisme .faq-item__trigger::after,
.template-prisme [data-faq-trigger]::after {
  content: '';
  width: 24px; height: 24px;
  background: var(--pr-surface-elev);
  border-radius: 50%;
  border: 1px solid var(--pr-border);
  position: relative;
  transition: transform 250ms ease;
  flex-shrink: 0;
}
.template-prisme .faq-item__trigger::before,
.template-prisme [data-faq-trigger]::before {
  content: '+';
  position: absolute;
  right: var(--pr-s-6);
  font-size: var(--pr-fs-md);
  color: var(--pr-primary);
  font-weight: 600;
  z-index: 1;
  pointer-events: none;
  transition: transform 200ms;
}
.template-prisme .is-open [data-faq-trigger]::before { content: '−'; }
.template-prisme .faq-item__panel,
.template-prisme [data-faq-panel] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.template-prisme .faq-item__panel-inner,
.template-prisme [data-faq-panel] > div {
  padding-top: var(--pr-s-3);
  color: var(--pr-text-muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- CTA */
.template-prisme .cta-section,
.template-prisme .cta {
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.template-prisme .cta-section::before,
.template-prisme .cta::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  background:
    radial-gradient(ellipse 50% 50% at 30% 30%, color-mix(in srgb, var(--pr-mesh-1) 50%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 70%, color-mix(in srgb, var(--pr-mesh-2) 45%, transparent), transparent 70%);
  filter: blur(80px);
}
.template-prisme .cta-section .container,
.template-prisme .cta .container {
  position: relative;
  background: var(--pr-glass);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--pr-glass-border);
  border-radius: var(--pr-radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  max-width: 920px;
}
.template-prisme .cta__title,
.template-prisme .cta-section__title {
  font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl));
  letter-spacing: -0.035em;
  margin-bottom: var(--pr-s-4);
}
.template-prisme .cta__subtitle,
.template-prisme .cta-section__subtitle {
  font-size: var(--pr-fs-lg);
  color: var(--pr-text-muted);
  margin-bottom: var(--pr-s-8);
  max-width: 56ch;
  margin-inline: auto;
}
.template-prisme .cta__actions { display: flex; flex-wrap: wrap; gap: var(--pr-s-3); justify-content: center; }

/* ---------------------------------------------------------------- CONTACT */
.template-prisme .contact { background: var(--pr-bg); }
.template-prisme .contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--pr-s-12);
  align-items: start;
}
@media (max-width: 880px) { .template-prisme .contact__grid { grid-template-columns: 1fr; } }
.template-prisme .contact__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); margin-bottom: var(--pr-s-4); }
.template-prisme .contact__details { display: flex; flex-direction: column; gap: var(--pr-s-3); margin-top: var(--pr-s-6); }
.template-prisme .contact__detail {
  display: flex;
  align-items: center;
  gap: var(--pr-s-4);
  padding: var(--pr-s-4);
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  transition: border-color 200ms;
}
.template-prisme .contact__detail:hover { border-color: var(--pr-border-strong); }
.template-prisme .contact__detail-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--pr-primary) 12%, transparent);
  color: var(--pr-primary);
  border-radius: var(--pr-radius-sm);
}
.template-prisme .contact__detail-label {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xs);
  color: var(--pr-text-muted);
}
.template-prisme .contact__detail-value { font-weight: 600; color: var(--pr-text); }

.template-prisme .contact__form,
.template-prisme form[data-contact-form] {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-lg);
  padding: var(--pr-s-8);
  display: flex; flex-direction: column; gap: var(--pr-s-5);
}
.template-prisme .form-group { display: flex; flex-direction: column; gap: 6px; }
.template-prisme .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pr-s-4); }
@media (max-width: 540px) { .template-prisme .form-row { grid-template-columns: 1fr; } }
.template-prisme .form-label {
  font-size: var(--pr-fs-sm);
  font-weight: 500;
  color: var(--pr-text);
}
.template-prisme .form-input,
.template-prisme .form-select,
.template-prisme .form-textarea,
.template-prisme input[type="text"],
.template-prisme input[type="email"],
.template-prisme input[type="tel"],
.template-prisme select,
.template-prisme textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: var(--pr-fs-base);
  background: var(--pr-bg);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
  color: var(--pr-text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.template-prisme .form-input:focus,
.template-prisme .form-select:focus,
.template-prisme .form-textarea:focus,
.template-prisme input:focus,
.template-prisme select:focus,
.template-prisme textarea:focus {
  outline: none;
  border-color: var(--pr-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pr-primary) 20%, transparent);
}
.template-prisme .form-textarea { min-height: 120px; resize: vertical; }
.template-prisme .form-legal { font-size: var(--pr-fs-xs); color: var(--pr-text-muted); line-height: 1.5; }
.template-prisme .form-feedback {
  display: flex; align-items: center; gap: var(--pr-s-2);
  padding: var(--pr-s-3) var(--pr-s-4);
  border-radius: var(--pr-radius-sm);
  font-size: var(--pr-fs-sm);
}
.template-prisme .form-feedback--success { background: color-mix(in srgb, var(--pr-energy) 15%, transparent); color: var(--pr-text); border: 1px solid var(--pr-energy); }
.template-prisme .form-feedback--error { background: rgba(220, 38, 38, 0.1); color: #DC2626; border: 1px solid rgba(220, 38, 38, 0.3); }

/* ---------------------------------------------------------------- ABOUT / TEAM */
.template-prisme .about-story,
.template-prisme .aides-info,
.template-prisme .simulator,
.template-prisme .team { background: var(--pr-bg); }
.template-prisme .about-story__title,
.template-prisme .aides-info__title,
.template-prisme .simulator__title,
.template-prisme .team__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); margin-bottom: var(--pr-s-6); }

.template-prisme .team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--pr-s-4);
}
.template-prisme .team-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms;
}
.template-prisme .team-card:hover { transform: translateY(-3px); box-shadow: var(--pr-shadow); }
.template-prisme .team-card__photo { aspect-ratio: 4 / 5; background: var(--pr-surface-elev); overflow: hidden; }
.template-prisme .team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.template-prisme .team-card__body { padding: var(--pr-s-5); }
.template-prisme .team-card__name { font-weight: 700; color: var(--pr-text); }
.template-prisme .team-card__role { font-size: var(--pr-fs-sm); color: var(--pr-text-muted); }

/* ---------------------------------------------------------------- FOOTER */
.template-prisme .pr-footer {
  background: var(--pr-surface-elev);
  color: var(--pr-text-muted);
  padding-block: var(--pr-s-12) var(--pr-s-6);
  border-top: 1px solid var(--pr-border);
}
.template-prisme .pr-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--pr-s-8);
  padding-bottom: var(--pr-s-10);
  border-bottom: 1px solid var(--pr-border);
}
@media (max-width: 880px) { .template-prisme .pr-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .template-prisme .pr-footer__top { grid-template-columns: 1fr; gap: var(--pr-s-6); } }

.template-prisme .pr-footer__brand {
  font-family: var(--pr-display);
  font-weight: 700;
  font-size: var(--pr-fs-xl);
  letter-spacing: -0.02em;
  color: var(--pr-text);
  margin-bottom: var(--pr-s-3);
}
.template-prisme .pr-footer__tagline { font-size: var(--pr-fs-sm); line-height: 1.6; max-width: 32ch; }
.template-prisme .pr-footer__certifications { display: flex; flex-wrap: wrap; gap: var(--pr-s-2); margin-top: var(--pr-s-4); }
.template-prisme .pr-footer__cert-badge {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xs);
  padding: 4px 10px;
  border-radius: var(--pr-radius-pill);
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  color: var(--pr-text);
}
.template-prisme .pr-footer__socials { display: flex; gap: var(--pr-s-2); margin-top: var(--pr-s-4); }
.template-prisme .pr-footer__socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pr-radius-pill);
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  color: var(--pr-text-muted);
  transition: color 200ms, border-color 200ms;
}
.template-prisme .pr-footer__socials a:hover { color: var(--pr-primary); border-color: var(--pr-primary); }

.template-prisme .pr-footer__col h4 {
  font-size: var(--pr-fs-sm);
  font-weight: 600;
  color: var(--pr-text);
  margin-bottom: var(--pr-s-3);
}
.template-prisme .pr-footer__col ul { display: flex; flex-direction: column; gap: var(--pr-s-2); }
.template-prisme .pr-footer__col a { color: var(--pr-text-muted); transition: color 150ms; font-size: var(--pr-fs-sm); }
.template-prisme .pr-footer__col a:hover { color: var(--pr-primary); }

.template-prisme .pr-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--pr-s-4);
  padding-top: var(--pr-s-6);
  font-size: var(--pr-fs-xs);
  color: var(--pr-text-light);
}
.template-prisme .pr-footer__legal { display: flex; gap: var(--pr-s-4); }
.template-prisme .pr-footer__legal a { color: var(--pr-text-muted); }

/* ---------------------------------------------------------------- COOKIE */
.template-prisme [data-cookie-banner] {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 100;
  background: var(--pr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pr-glass-border);
  border-radius: var(--pr-radius);
  padding: var(--pr-s-5);
  max-width: 480px;
  box-shadow: var(--pr-shadow-md);
  color: var(--pr-text);
}
.template-prisme [data-cookie-banner] p { font-size: var(--pr-fs-sm); margin-bottom: var(--pr-s-4); }
.template-prisme [data-cookie-banner] button {
  width: 100%;
  background: var(--pr-primary);
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: var(--pr-radius-pill);
  font-size: var(--pr-fs-sm);
}

/* ---------------------------------------------------------------- REVEAL */
.template-prisme .reveal,
.template-prisme .pr-reveal,
.template-prisme .reveal-scale {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease-out, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.template-prisme .is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .template-prisme .reveal,
  .template-prisme .pr-reveal,
  .template-prisme .reveal-scale { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------- LEGAL */
.template-prisme .legal-content { background: var(--pr-bg); padding-block: clamp(4rem, 8vw, 6rem); }
.template-prisme .legal-content .container { max-width: 720px; }
.template-prisme .legal-content h2 { font-size: var(--pr-fs-2xl); margin-block: var(--pr-s-8) var(--pr-s-4); }
.template-prisme .legal-content h3 { font-size: var(--pr-fs-xl); margin-block: var(--pr-s-6) var(--pr-s-3); }
.template-prisme .legal-content p,
.template-prisme .legal-content li { color: var(--pr-text); line-height: 1.7; margin-bottom: var(--pr-s-3); }
.template-prisme .legal-content ul { padding-left: var(--pr-s-5); list-style: disc; }

/* =======================================================================
   ADDITIONS — couvre toutes les classes shared/sections/ que la première
   passe ne ciblait pas.
   ======================================================================= */

/* TRUST BAR — full structure (Prisme: glass cards, pills) */
.template-prisme .trust-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pr-s-10);
  align-items: center;
}
@media (max-width: 760px) { .template-prisme .trust-bar__grid { grid-template-columns: 1fr; gap: var(--pr-s-6); } }
.template-prisme .trust-bar__certifications,
.template-prisme .trust-bar__cert,
.template-prisme .trust-bar__certs-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pr-s-2);
  align-items: center;
}
.template-prisme .trust-bar__cert-badge {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pr-primary);
  padding: 6px 14px;
  border-radius: var(--pr-radius-pill);
  background: color-mix(in srgb, var(--pr-primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pr-primary) 20%, transparent);
}
.template-prisme .trust-bar__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--pr-s-5);
}
.template-prisme .trust-bar__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--pr-s-4);
  background: var(--pr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pr-glass-border);
  border-radius: var(--pr-radius);
}
.template-prisme .trust-bar__stat-value {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-2xl);
  font-weight: 700;
  color: var(--pr-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.template-prisme .trust-bar__stat-label {
  font-size: var(--pr-fs-xs);
  color: var(--pr-text-muted);
}

/* CONTACT BLOCK */
.template-prisme .contact-block { background: var(--pr-bg); padding-block: clamp(4rem, 8vw, 7rem); }
.template-prisme .contact-block__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--pr-s-12);
  align-items: start;
}
@media (max-width: 880px) { .template-prisme .contact-block__grid { grid-template-columns: 1fr; gap: var(--pr-s-8); } }
.template-prisme .contact-block__intro { display: flex; flex-direction: column; gap: var(--pr-s-4); }
.template-prisme .contact-block__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); }
.template-prisme .contact-block__details { display: flex; flex-direction: column; gap: var(--pr-s-3); margin-top: var(--pr-s-6); }
.template-prisme .contact-block__detail {
  display: flex;
  align-items: center;
  gap: var(--pr-s-4);
  padding: var(--pr-s-4);
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms;
}
.template-prisme .contact-block__detail:hover { border-color: var(--pr-border-strong); }
.template-prisme .contact-block__detail-label {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xs);
  color: var(--pr-text-muted);
}
.template-prisme .contact-block__detail-value { font-weight: 600; color: var(--pr-text); }
.template-prisme .contact-block__form {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-lg);
  padding: var(--pr-s-8);
  display: flex;
  flex-direction: column;
  gap: var(--pr-s-5);
}
.template-prisme .contact-block__legal { font-size: var(--pr-fs-xs); color: var(--pr-text-muted); line-height: 1.5; }

/* CTA FINAL */
.template-prisme .cta-final {
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.template-prisme .cta-final::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  background:
    radial-gradient(ellipse 50% 50% at 30% 30%, color-mix(in srgb, var(--pr-mesh-1) 50%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 70%, color-mix(in srgb, var(--pr-mesh-2) 45%, transparent), transparent 70%);
  filter: blur(80px);
}
.template-prisme .cta-final .container,
.template-prisme .cta-final__content {
  position: relative;
  background: var(--pr-glass);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--pr-glass-border);
  border-radius: var(--pr-radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pr-s-4);
}
.template-prisme .cta-final__title {
  font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl));
  letter-spacing: -0.035em;
}
.template-prisme .cta-final__subtitle {
  font-size: var(--pr-fs-lg);
  color: var(--pr-text-muted);
  max-width: 56ch;
  margin-bottom: var(--pr-s-4);
}
.template-prisme .cta-final__actions { display: flex; flex-wrap: wrap; gap: var(--pr-s-3); justify-content: center; }
.template-prisme .cta-final__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--pr-s-2);
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-md);
  color: var(--pr-primary);
}

/* SIMULATOR — pas d'override de background : laisse section-dark s'imposer */
.template-prisme .simulator { padding-block: clamp(4rem, 8vw, 7rem); }
.template-prisme .simulator__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); margin-bottom: var(--pr-s-4); color: inherit; text-align: center; }
.template-prisme .simulator__intro {
  display: flex;
  flex-direction: column;
  gap: var(--pr-s-3);
  margin-bottom: var(--pr-s-8);
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.template-prisme .simulator__intro .lead { color: inherit; opacity: 0.78; margin-inline: auto; }
.template-prisme .simulator__widget {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--pr-s-5);
}
.template-prisme .simulator__widget iframe { width: 100%; min-height: 540px; border: 0; border-radius: var(--pr-radius); }
.template-prisme .section-dark .simulator__widget input,
.template-prisme .simulator.section-dark input {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.20) !important;
}

/* ABOUT STORY */
.template-prisme .about-story { background: var(--pr-bg); padding-block: clamp(4rem, 8vw, 7rem); }
.template-prisme .about-story__header {
  display: flex; flex-direction: column; gap: var(--pr-s-4);
  margin-bottom: var(--pr-s-12); max-width: 760px;
}
.template-prisme .about-story__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); }
.template-prisme .about-story__subtitle { font-size: var(--pr-fs-lg); color: var(--pr-text-muted); }
.template-prisme .about-story__hero-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--pr-radius-lg);
  margin-bottom: var(--pr-s-12);
}
.template-prisme .about-story__blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--pr-s-4);
}
.template-prisme .about-story__block {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: var(--pr-s-6);
  display: flex; flex-direction: column; gap: var(--pr-s-3);
}
.template-prisme .about-story__block-image {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--pr-radius-sm);
  margin-bottom: var(--pr-s-3);
}
.template-prisme .about-story__block-title { font-size: var(--pr-fs-lg); font-weight: 700; }
.template-prisme .about-story__block-body { color: var(--pr-text-muted); font-size: var(--pr-fs-sm); line-height: 1.6; }
.template-prisme .about-story__timeline {
  display: flex; flex-direction: column; gap: var(--pr-s-5);
  margin-top: var(--pr-s-12); padding-top: var(--pr-s-10);
  border-top: 1px solid var(--pr-border);
}
.template-prisme .about-story__timeline-title { font-size: var(--pr-fs-2xl); margin-bottom: var(--pr-s-3); }
.template-prisme .about-story__event {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--pr-s-5);
  padding-block: var(--pr-s-3);
  border-bottom: 1px solid var(--pr-border);
}
.template-prisme .about-story__year {
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-xl);
  font-weight: 700;
  color: var(--pr-primary);
}

/* AIDES INFO + AIDE CARD */
.template-prisme .aides-info { background: var(--pr-surface-elev); padding-block: clamp(4rem, 8vw, 7rem); }
.template-prisme .aides-info__header {
  display: flex; flex-direction: column; gap: var(--pr-s-3);
  margin-bottom: var(--pr-s-10); max-width: 720px;
}
.template-prisme .aides-info__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); }
.template-prisme .aides-info__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--pr-s-4);
}
.template-prisme .aides-info__note {
  margin-top: var(--pr-s-8);
  padding: var(--pr-s-5);
  background: color-mix(in srgb, var(--pr-primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--pr-primary) 20%, transparent);
  border-radius: var(--pr-radius);
  font-size: var(--pr-fs-sm);
  color: var(--pr-text);
}
.template-prisme .aide-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: var(--pr-s-6);
  display: flex; flex-direction: column; gap: var(--pr-s-3);
  transition: border-color 200ms;
}
.template-prisme .aide-card:hover { border-color: var(--pr-border-strong); }
.template-prisme .aide-card__name { font-size: var(--pr-fs-lg); font-weight: 700; }
.template-prisme .aide-card__body,
.template-prisme .aide-card__description { color: var(--pr-text-muted); font-size: var(--pr-fs-sm); line-height: 1.6; }
.template-prisme .aide-card__details {
  display: flex; flex-direction: column; gap: var(--pr-s-2);
  margin-top: var(--pr-s-3); padding-top: var(--pr-s-4);
  border-top: 1px solid var(--pr-border);
}
.template-prisme .aide-card__detail { display: flex; justify-content: space-between; font-size: var(--pr-fs-sm); }
.template-prisme .aide-card__label { color: var(--pr-text-muted); }
.template-prisme .aide-card__number {
  font-family: var(--pr-mono);
  font-weight: 600;
  color: var(--pr-primary);
}

/* TEAM GRID + TEAM MEMBER */
.template-prisme .team-grid { background: var(--pr-bg); padding-block: clamp(4rem, 8vw, 7rem); }
.template-prisme .team-grid__header {
  display: flex; flex-direction: column; gap: var(--pr-s-3);
  margin-bottom: var(--pr-s-10); max-width: 720px;
}
.template-prisme .team-grid__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); }
.template-prisme .team-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--pr-s-4);
}
.template-prisme .team-member {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms;
}
.template-prisme .team-member:hover { transform: translateY(-3px); box-shadow: var(--pr-shadow); }
.template-prisme .team-member__photo {
  aspect-ratio: 4 / 5;
  background: var(--pr-surface-elev);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.template-prisme .team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.template-prisme .team-member__placeholder {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--pr-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pr-display);
  font-size: var(--pr-fs-2xl);
  font-weight: 700;
}
.template-prisme .team-member__name { padding: var(--pr-s-4) var(--pr-s-5) 0; font-weight: 700; color: var(--pr-text); }
.template-prisme .team-member__role { padding: 0 var(--pr-s-5); font-size: var(--pr-fs-sm); color: var(--pr-text-muted); }
.template-prisme .team-member__bio { padding: var(--pr-s-3) var(--pr-s-5) var(--pr-s-5); font-size: var(--pr-fs-sm); color: var(--pr-text-muted); line-height: 1.6; }

/* SHOWCASE GALLERY */
.template-prisme .showcase-gallery { background: var(--pr-bg); padding-block: clamp(4rem, 8vw, 7rem); }
.template-prisme .showcase-gallery__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: var(--pr-s-5);
  margin-bottom: var(--pr-s-8);
}
.template-prisme .showcase-gallery__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); }
.template-prisme .showcase-gallery__filters {
  display: flex; flex-wrap: wrap; gap: var(--pr-s-2);
  margin-bottom: var(--pr-s-8);
}
.template-prisme .showcase-filter {
  font-size: var(--pr-fs-sm);
  font-weight: 500;
  padding: 8px 16px;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-pill);
  color: var(--pr-text-muted);
  cursor: pointer;
  transition: all 200ms;
}
.template-prisme .showcase-filter:hover { background: var(--pr-surface-elev); color: var(--pr-text); border-color: var(--pr-border-strong); }
.template-prisme .showcase-filter.is-active {
  background: var(--pr-primary);
  color: #fff;
  border-color: var(--pr-primary);
}
.template-prisme .showcase-filter__count { margin-left: 6px; opacity: 0.65; }
.template-prisme .showcase-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--pr-s-4);
}

/* TESTIMONIALS swiper */
.template-prisme .testimonials__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: var(--pr-s-5);
  margin-bottom: var(--pr-s-10);
}
.template-prisme .testimonials__swiper { padding-bottom: var(--pr-s-6); }
.template-prisme .testimonials__controls { display: flex; gap: var(--pr-s-2); }
.template-prisme .testimonials__prev,
.template-prisme .testimonials__next {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-pill);
  color: var(--pr-text);
}
.template-prisme .testimonials__prev:hover,
.template-prisme .testimonials__next:hover {
  background: var(--pr-primary);
  color: #fff;
  border-color: var(--pr-primary);
}
.template-prisme .testimonials__pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: var(--pr-s-6);
}
.template-prisme .testimonials__pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: var(--pr-text-light);
  border-radius: 50%;
  opacity: 1;
}
.template-prisme .testimonials__pagination .swiper-pagination-bullet-active {
  background: var(--pr-primary);
  width: 24px;
  border-radius: 4px;
}

/* FAQ — shared variants */
.template-prisme .faq__intro {
  font-size: var(--pr-fs-lg);
  color: var(--pr-text-muted);
  max-width: 60ch;
  margin-bottom: var(--pr-s-8);
}
.template-prisme .faq__grid { display: grid; gap: var(--pr-s-3); max-width: 800px; }
.template-prisme .faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--pr-s-4);
  text-align: left;
  font-size: var(--pr-fs-md);
  font-weight: 600;
  color: var(--pr-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.template-prisme .faq-item__icon {
  flex-shrink: 0;
  font-size: var(--pr-fs-md);
  color: var(--pr-primary);
  font-weight: 600;
  line-height: 1;
  transition: transform 250ms ease;
}
.template-prisme .faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.template-prisme .faq-item__answer {
  max-height: 0;
  overflow: hidden;
  color: var(--pr-text-muted);
  line-height: 1.6;
  transition: max-height 300ms ease;
}
.template-prisme .faq-item.is-open .faq-item__answer { padding-top: var(--pr-s-3); }

/* LEGAL PAGE */
.template-prisme .legal-page { background: var(--pr-bg); padding-block: clamp(4rem, 8vw, 6rem); }
.template-prisme .legal-page .container { max-width: 720px; }
.template-prisme .legal-page__title { font-size: clamp(2rem, 4.5vw, var(--pr-fs-3xl)); margin-bottom: var(--pr-s-8); }
.template-prisme .legal-page__content { line-height: 1.7; }
.template-prisme .legal-page__content h2 { font-size: var(--pr-fs-2xl); margin-block: var(--pr-s-8) var(--pr-s-4); }
.template-prisme .legal-page__content h3 { font-size: var(--pr-fs-xl); margin-block: var(--pr-s-6) var(--pr-s-3); }
.template-prisme .legal-page__content p,
.template-prisme .legal-page__content li { color: var(--pr-text); margin-bottom: var(--pr-s-3); }
.template-prisme .legal-page__content ul { padding-left: var(--pr-s-5); list-style: disc; }

/* SECTION + CONTAINER variants */
.template-prisme .section-alt { background: var(--pr-surface-elev); }
.template-prisme .section-dark { background: var(--pr-text); color: #fff; }
.template-prisme .section-dark h2,
.template-prisme .section-dark h3 { color: #fff; }
.template-prisme .section-lg { padding-block: clamp(5rem, 10vw, 9rem); }
.template-prisme .container-md { max-width: 960px; margin-inline: auto; padding-inline: var(--pr-gutter); }
.template-prisme .container-narrow { max-width: 720px; margin-inline: auto; padding-inline: var(--pr-gutter); }
.template-prisme .container-text { max-width: 680px; margin-inline: auto; padding-inline: var(--pr-gutter); }

/* MANIFESTO signature */
.template-prisme .manifesto__signature {
  margin-top: var(--pr-s-6);
  font-family: var(--pr-mono);
  font-size: var(--pr-fs-sm);
  color: var(--pr-text-muted);
}

.template-prisme .hide-mobile { display: inline-flex; }
.template-prisme .show-mobile { display: none; }
@media (max-width: 760px) {
  .template-prisme .hide-mobile { display: none; }
  .template-prisme .show-mobile { display: inline-flex; }
}
