/* =========================================================
   Démonstration RGPD
   - .hub / .demo-*  : outil de démo (charte Immolead, cf. index racine)
   - .frame-*        : faux navigateur / faux client mail
   - .sm-*           : écrans du promoteur fictif So Marketing Immobilier
   - .tip-*          : bulles explicatives
   ========================================================= */

:root {
  /* outil de démo */
  --demo-bg: #ececec;
  --demo-ink: #1a1a1a;
  --demo-muted: #999;
  --demo-gold: #c8a84b;

  /* So Marketing Immobilier (d'après le logo) */
  --sm-navy: #10223f;
  --sm-navy-2: #1c355c;
  --sm-gold: #d19a52;
  --sm-gold-light: #f3cd8f;
  --sm-copper: #b06f36;
  --sm-gradient: linear-gradient(135deg, #b06f36 0%, #e2ac63 55%, #f3cd8f 100%);
  --sm-cream: #faf6ef;
  --sm-line: #e8e1d5;
  --sm-text: #1f2a3a;
  --sm-muted: #6b7280;
  --sm-ok: #2f8f5b;
  --sm-ko: #b54646;

  /* bulles */
  --tip: #e0457b;
}

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

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--demo-bg);
  color: var(--demo-ink);
  min-height: 100vh;
}

[hidden] { display: none !important; }

/* ---------------------------------------------------------
   HUB
   --------------------------------------------------------- */
.hub {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 44px 36px;
  width: 100%;
  max-width: 760px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.logo-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
hr { border: none; border-top: 1px solid #e0e0e0; margin: 0 0 28px; }
.subtitle {
  text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--demo-muted); text-transform: uppercase; margin: 0 0 36px;
}
.section-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #aaa; margin: 0 0 12px;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.hub-option {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--demo-ink); color: #fff; text-decoration: none;
  padding: 20px 18px; border-radius: 10px;
  transition: background .18s ease, transform .18s ease;
}
.hub-option:hover { background: #333; transform: translateY(-2px); }
.hub-option svg {
  width: 28px; height: 28px; fill: none; stroke: var(--demo-gold);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px;
}
.hub-option-title { font-size: 1rem; font-weight: 600; }
.hub-option-desc { font-size: 0.78rem; line-height: 1.45; opacity: .65; }
.hub-option.is-disabled { background: #d6d6d6; color: #777; cursor: not-allowed; }
.hub-option.is-disabled:hover { transform: none; }
.hub-option.is-disabled svg { stroke: #999; }
.footer { text-align: center; font-size: 0.72rem; color: #bbb; margin: 4px 0 0; }
.footer a { color: #999; }

/* ---------------------------------------------------------
   BARRE DE PILOTAGE
   --------------------------------------------------------- */
.demo-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--demo-ink); color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.demo-bar-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; max-width: 1200px; margin: 0 auto;
}
.demo-where { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.demo-parcours {
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--demo-gold);
}
.demo-step { font-size: .92rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-actions { display: flex; gap: 8px; flex-shrink: 0; }
.demo-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #2b2b2b; color: #fff; border: 1px solid #3a3a3a;
  padding: 7px 12px; border-radius: 8px; font: inherit; font-size: .8rem;
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.demo-btn:hover { background: #3a3a3a; }
.demo-toggle-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #666; transition: background .15s;
}
.demo-toggle.is-on .demo-toggle-dot { background: var(--tip); box-shadow: 0 0 0 3px rgba(224,69,123,.25); }

.demo-progress { height: 3px; background: #2b2b2b; }
.demo-progress span { display: block; height: 100%; width: 0; background: var(--demo-gold); transition: width .35s ease; }

.demo-note-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 8px 16px; max-width: 1200px; margin: 0 auto;
  font-size: .8rem; color: #cfcfcf;
}
.demo-badge {
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  background: #7ec87e; color: #fff; padding: 3px 7px; border-radius: 5px; flex-shrink: 0;
}
.demo-note { margin: 0; flex: 1; min-width: 200px; line-height: 1.4; }
.demo-links { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-chip {
  font-size: .75rem; color: var(--demo-ink); background: var(--demo-gold);
  padding: 4px 10px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.demo-chip:hover { background: #d9bb63; }

/* ---------------------------------------------------------
   SCÈNE & CADRES
   --------------------------------------------------------- */
.stage { padding: 28px 16px 60px; max-width: 1100px; margin: 0 auto; }
.stage.is-entering { animation: stage-in .35s ease both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.frame { background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.frame-bar {
  display: flex; align-items: center; gap: 14px;
  background: #f1f1f1; border-bottom: 1px solid #e2e2e2;
  padding: 10px 14px; border-radius: 12px 12px 0 0;
}
.frame-dots { display: flex; gap: 6px; flex-shrink: 0; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d4; }
.frame-dots i:nth-child(1) { background: #ff5f57; }
.frame-dots i:nth-child(2) { background: #febc2e; }
.frame-dots i:nth-child(3) { background: #28c840; }
.frame-url {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #e2e2e2; border-radius: 999px;
  padding: 5px 12px; font-size: .78rem; color: #555;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame-url svg { width: 12px; height: 12px; fill: none; stroke: #2f8f5b; stroke-width: 2; flex-shrink: 0; }
.frame-title { font-size: .8rem; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-body { border-radius: 0 0 12px 12px; }
.frame-mail .frame-body { background: #f4f4f5; padding: 24px 16px 32px; }

.demo-error {
  background: #fff; border-radius: 12px; padding: 32px; text-align: center; line-height: 1.6; color: #b54646;
}
.demo-error a { color: var(--demo-ink); }

/* ---------------------------------------------------------
   SO MARKETING IMMOBILIER — base
   --------------------------------------------------------- */
.sm {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  color: var(--sm-text);
  font-size: 15px;
  line-height: 1.6;
}
.sm a { color: var(--sm-copper); }
.sm h1, .sm h2, .sm h3 { color: var(--sm-navy); line-height: 1.25; margin: 0 0 .6em; }
.sm h1 { font-size: 2rem; font-weight: 700; }
.sm h2 { font-size: 1.35rem; font-weight: 600; }
.sm h3 { font-size: 1.05rem; font-weight: 600; }
.sm p { margin: 0 0 1em; }
.sm-muted { color: var(--sm-muted); font-size: .85rem; }

.sm-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 32px; border-bottom: 1px solid var(--sm-line); background: #fff;
}
.sm-logo { height: 46px; width: auto; display: block; }
.sm-nav { display: flex; gap: 24px; font-size: .88rem; }
.sm-nav a { color: var(--sm-navy); text-decoration: none; font-weight: 500; }
.sm-nav a.is-active { color: var(--sm-copper); border-bottom: 2px solid var(--sm-gold); padding-bottom: 2px; }

.sm-footer {
  background: var(--sm-navy); color: #c7cfdd; font-size: .8rem;
  padding: 22px 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-radius: 0 0 12px 12px;
}
.sm-footer a { color: var(--sm-gold-light); }

/* boutons */
.sm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--sm-navy); color: #fff !important; text-decoration: none;
  border: none; border-radius: 10px; padding: 13px 26px;
  font: 600 .95rem 'Poppins', sans-serif; cursor: pointer;
  transition: background .18s, opacity .18s, transform .18s;
}
.sm-btn:hover { background: var(--sm-navy-2); }
.sm-btn:disabled { opacity: .4; cursor: not-allowed; }
.sm-btn-gold { background: var(--sm-gradient); color: var(--sm-navy) !important; }
.sm-btn-gold:hover { background: var(--sm-gradient); transform: translateY(-1px); }
.sm-btn-block { width: 100%; }

/* champs */
.sm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.sm-field label { font-size: .8rem; font-weight: 500; color: var(--sm-navy); }
.sm-field input {
  font: inherit; font-size: .95rem; padding: 11px 14px;
  border: 1px solid #d9d3c7; border-radius: 9px; background: #fff; color: var(--sm-text);
}
.sm-field input:focus { outline: none; border-color: var(--sm-gold); box-shadow: 0 0 0 3px rgba(209,154,82,.2); }
.sm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* cases à cocher */
.sm-check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.45; cursor: pointer; }
.sm-check input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid #bfb6a6; border-radius: 5px;
  background: #fff; cursor: pointer; display: grid; place-content: center; transition: .15s;
}
.sm-check input::before {
  content: ''; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .12s;
}
.sm-check input:checked { background: var(--sm-navy); border-color: var(--sm-navy); }
.sm-check input:checked::before { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.sm-check input:indeterminate { background: var(--sm-gold); border-color: var(--sm-gold); }
.sm-check input:indeterminate::before { width: 10px; height: 0; border-width: 0 0 2px 0; transform: none; }
.sm-check input:focus-visible { box-shadow: 0 0 0 3px rgba(209,154,82,.35); }

/* préférences de contact (accordéon) */
.sm-consent {
  border: 1px solid var(--sm-line); border-radius: 10px; padding: 14px; background: var(--sm-cream);
  margin: 6px 0 18px;
}
.sm-consent details { margin-top: 10px; padding-left: 30px; }
.sm-consent summary {
  list-style: none; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--sm-copper);
  display: inline-flex; align-items: center; gap: 6px; user-select: none;
}
.sm-consent summary::-webkit-details-marker { display: none; }
.sm-consent summary::after {
  content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.sm-consent details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.sm-channels { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; }

/* toggles */
.sm-toggles { list-style: none; margin: 0 0 22px; padding: 0; border: 1px solid var(--sm-line); border-radius: 12px; }
.sm-toggles li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-top: 1px solid var(--sm-line);
}
.sm-toggles li:first-child { border-top: none; }
.sm-toggle-text strong { display: block; color: var(--sm-navy); font-weight: 600; font-size: .95rem; }
.sm-toggle-text span { font-size: .8rem; color: var(--sm-muted); }
.sm-switch {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; cursor: pointer;
  width: 48px; height: 28px; border-radius: 999px; background: #d4cfc5; position: relative; margin: 0;
  transition: background .2s;
}
.sm-switch::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s;
}
.sm-switch:checked { background: var(--sm-navy); }
.sm-switch:checked::before { transform: translateX(20px); background: var(--sm-gold-light); }
.sm-switch:focus-visible { box-shadow: 0 0 0 3px rgba(209,154,82,.35); }

/* carte centrée (pages de préférences) */
.sm-page { background: var(--sm-cream); padding: 48px 20px 56px; }
.sm-panel {
  max-width: 560px; margin: 0 auto; background: #fff; border-radius: 16px;
  padding: 36px 36px 32px; box-shadow: 0 8px 30px rgba(16,34,63,.08);
}
.sm-panel .sm-logo { height: 54px; margin: 0 auto 26px; }
.sm-panel-head { text-align: center; }
.sm-boxed { border: 1px solid var(--sm-line); border-radius: 12px; padding: 22px; margin-top: 8px; }

/* confirmation */
.demo-success { text-align: center; padding: 8px 0; animation: stage-in .35s ease both; }
.sm-success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-content: center;
  background: var(--sm-gradient);
}
.sm-success-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--sm-navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sm-recap { list-style: none; padding: 0; margin: 18px 0; text-align: left; border: 1px solid var(--sm-line); border-radius: 10px; }
.sm-recap li { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--sm-line); font-size: .88rem; }
.sm-recap li:first-child { border-top: none; }
.sm-recap .ok { color: var(--sm-ok); }
.sm-recap .ko { color: var(--sm-ko); }
.sm-stamp { font-size: .75rem; color: var(--sm-muted); }

/* ---------------------------------------------------------
   LANDING PAGE — Horizon Verde
   --------------------------------------------------------- */
.lp-hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--sm-navy); color: #fff;
}
.lp-visual {
  background: url('img/residence.jpg') center/cover no-repeat; min-height: 560px; position: relative;
}
.lp-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,34,63,0) 40%, rgba(16,34,63,.85) 100%);
}
.lp-visual-caption { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; }
.lp-kicker {
  display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sm-navy); background: var(--sm-gradient); padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.lp-visual-caption h1 { color: #fff; font-size: 2.2rem; margin-bottom: 6px; }
.lp-visual-caption p { color: #dfe5ef; margin: 0; }
.lp-form-wrap { padding: 36px 32px; display: flex; align-items: center; }
.lp-form {
  background: #fff; color: var(--sm-text); border-radius: 14px; padding: 28px 26px 24px; width: 100%;
}
.lp-form h2 { font-size: 1.2rem; }
.lp-form .sm-muted { margin-bottom: 18px; }
.lp-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 32px; background: #fff;
}
.lp-features div { border-left: 3px solid var(--sm-gold); padding-left: 14px; }
.lp-features strong { display: block; color: var(--sm-navy); font-size: 1.1rem; }
.lp-features span { font-size: .82rem; color: var(--sm-muted); }

/* ---------------------------------------------------------
   E-MAILS
   --------------------------------------------------------- */
.mail-meta {
  max-width: 640px; margin: 0 auto 16px; background: #fff; border-radius: 10px; padding: 14px 18px;
  display: flex; gap: 12px; align-items: center; font-family: 'Helvetica Neue', Arial, sans-serif;
}
.mail-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sm-navy); color: var(--sm-gold-light);
  display: grid; place-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.mail-meta-text { flex: 1; min-width: 0; font-size: .8rem; color: #666; line-height: 1.45; }
.mail-meta-text strong { color: #222; font-size: .9rem; }
.mail-subject { font-size: 1rem; color: #111; font-weight: 600; margin-top: 2px; }
.mail-date { font-size: .75rem; color: #999; flex-shrink: 0; align-self: flex-start; }

.mail {
  max-width: 640px; margin: 0 auto; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.mail-head { padding: 26px 32px 18px; text-align: center; border-bottom: 3px solid var(--sm-gold); }
.mail-head .sm-logo { height: 52px; margin: 0 auto; }
.mail-hero { display: block; width: 100%; height: 260px; object-fit: cover; }
.mail-body { padding: 30px 36px 26px; }
.mail-body h1 { font-size: 1.4rem; }
.mail-cta { text-align: center; margin: 26px 0 8px; }
.mail-foot {
  background: var(--sm-navy); color: #b9c3d4; font-size: .74rem; line-height: 1.6;
  padding: 22px 32px; text-align: center; border-radius: 0 0 10px 10px;
}
.mail-foot a { color: var(--sm-gold-light); }
.mail-foot-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.mail-foot-links > span { display: inline-block; padding: 8px 20px 0 0; }

/* ---------------------------------------------------------
   SITE — mentions légales
   --------------------------------------------------------- */
.site-hero {
  background: linear-gradient(rgba(16,34,63,.82), rgba(16,34,63,.82)), url('img/residence.jpg') center 60%/cover;
  color: #fff; padding: 46px 32px;
}
.site-hero h1 { color: #fff; margin: 0; }
.site-hero p { color: var(--sm-gold-light); margin: 4px 0 0; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.site-content { padding: 36px 32px 44px; max-width: 820px; }
.site-content section { margin-bottom: 28px; }
.site-content p, .site-content li { font-size: .9rem; color: #3d4757; }
.site-consent-box {
  background: var(--sm-cream); border: 1px solid var(--sm-line); border-left: 4px solid var(--sm-gold);
  border-radius: 10px; padding: 18px 20px; margin-top: 14px;
}
.site-consent-box p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------
   BULLES EXPLICATIVES
   --------------------------------------------------------- */
.tip-host { position: relative; }
.tip-dot {
  position: absolute; top: -11px; right: -11px; z-index: 20;
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff;
  background: var(--tip); color: #fff; font: 700 .72rem/1 'Helvetica Neue', Arial, sans-serif;
  display: grid; place-content: center; cursor: pointer; padding: 0;
  box-shadow: 0 2px 8px rgba(224,69,123,.45); transition: transform .15s;
}
.tip-dot:hover, .tip-dot[aria-expanded="true"] { transform: scale(1.12); }
.tip-dot.is-pulsing { animation: tip-pulse 1.8s ease-out infinite; }
@keyframes tip-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,69,123,.55); }
  70% { box-shadow: 0 0 0 12px rgba(224,69,123,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,69,123,0); }
}
.tip-bubble {
  position: absolute; top: 20px; right: -11px; z-index: 30;
  width: min(290px, 78vw); padding: 12px 14px; border-radius: 10px;
  background: var(--demo-ink); color: #fff; text-align: left;
  font: 400 .8rem/1.5 'Helvetica Neue', Arial, sans-serif; letter-spacing: 0; text-transform: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); border-top: 3px solid var(--tip);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s ease; pointer-events: none;
}
.tip-bubble.is-left { right: auto; left: calc(100% - 13px); }
.tip-open > .tip-bubble { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.tip-open { z-index: 25; }
.tips-off .tip-dot, .tips-off .tip-bubble { display: none; }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-visual { min-height: 300px; }
  .lp-features { grid-template-columns: 1fr; }
  .sm-nav { display: none; }
}
@media (max-width: 640px) {
  .card { padding: 32px 20px 24px; }
  .hub-grid { grid-template-columns: 1fr; }
  .demo-bar-row { flex-wrap: wrap; }
  .demo-actions { width: 100%; }
  .demo-actions .demo-btn { flex: 1; justify-content: center; }
  .stage { padding: 16px 8px 40px; }
  .sm-header, .site-hero, .site-content, .lp-form-wrap, .lp-features { padding-left: 18px; padding-right: 18px; }
  .sm-panel { padding: 28px 20px 24px; }
  .sm-row { grid-template-columns: 1fr; }
  .mail-body { padding: 24px 20px; }
  .lp-visual-caption h1 { font-size: 1.6rem; }
}

/* finitions */
.sm-stamp.tip-host { display: inline-block; padding: 8px 20px 0 0; }
.frame-body > .sm,
.frame-body > .sm > :last-child { border-radius: 0 0 12px 12px; }

/* ---------------------------------------------------------
   LIGNAGES — portail immobilier fictif (charte volontairement neutre)
   --------------------------------------------------------- */
.pt {
  font-family: 'Helvetica Neue', Arial, sans-serif; color: #2b2b2b; font-size: 15px; line-height: 1.55;
  background: #f6f6f6; border-radius: 0 0 12px 12px; padding-bottom: 32px;
}
.pt-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; padding: 14px 28px; border-bottom: 1px solid #e5e5e5;
}
.pt-brand { font-size: 1.35rem; letter-spacing: -.02em; color: #2b2b2b; }
.pt-brand b { color: #e8503a; }
.pt-nav { display: flex; gap: 22px; font-size: .88rem; }
.pt-nav a { color: #2b2b2b; text-decoration: none; }
.pt-crumbs { font-size: .75rem; color: #888; padding: 12px 28px; }
.pt-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 0 28px; align-items: start; }
.pt-main { background: #fff; border-radius: 10px; padding: 0 0 22px; }
.pt-main > *:not(.pt-photo) { margin-left: 22px; margin-right: 22px; }
.pt-photo { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 10px 10px 0 0; margin-bottom: 18px; }
.pt-main h1 { font-size: 1.45rem; margin-top: 0; margin-bottom: 4px; }
.pt-price { color: #555; margin: 0 0 12px; }
.pt-price b { color: #e8503a; font-size: 1.15rem; }
.pt-tags { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pt-tags li { background: #f1f1f1; border-radius: 6px; padding: 4px 10px; font-size: .78rem; }
.pt-promoter { font-size: .85rem; color: #666; margin-bottom: 0; }
.pt-form { background: #fff; border-radius: 10px; padding: 22px; position: sticky; top: 140px; }
.pt-form h2 { font-size: 1.1rem; margin: 0 0 14px; }
.pt-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.pt-field label { font-size: .78rem; color: #666; }
.pt-field input { font: inherit; font-size: .92rem; padding: 9px 12px; border: 1px solid #d5d5d5; border-radius: 6px; }
.pt-field input:focus { outline: 2px solid #e8503a; outline-offset: -1px; border-color: transparent; }
.pt-consents { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; padding: 12px; background: #fafafa; border: 1px dashed #d5d5d5; border-radius: 8px; }
.pt-check { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: #555; cursor: pointer; }
.pt-check input { margin: 2px 0 0; accent-color: #e8503a; }
.pt-btn {
  width: 100%; background: #e8503a; color: #fff; border: none; border-radius: 6px;
  padding: 12px; font: 600 .95rem 'Helvetica Neue', Arial, sans-serif; cursor: pointer;
}
.pt-btn:hover { background: #d1432e; }
.pt-legal { font-size: .7rem; color: #999; margin: 10px 0 0; }

/* ---------------------------------------------------------
   LIGNAGES — fiche contact CRM
   --------------------------------------------------------- */
.crm {
  font-family: 'Helvetica Neue', Arial, sans-serif; color: #1a1a1a; font-size: 14px;
  background: #f3f4f6; border-radius: 0 0 12px 12px; padding-bottom: 32px;
}
.crm-header { display: flex; align-items: center; gap: 18px; background: #fff; padding: 10px 24px; border-bottom: 1px solid #e5e7eb; }
.crm-logo { height: 34px; width: auto; }
.crm-section { font-weight: 600; font-size: .9rem; border-left: 1px solid #e5e7eb; padding-left: 18px; }
.crm-user { margin-left: auto; font-size: .8rem; color: #6b7280; }
.crm-body { max-width: 760px; margin: 0 auto; padding: 24px 20px 0; display: grid; gap: 16px; }
.crm-card { background: #fff; border-radius: 12px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.crm-card h3 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; }
.crm-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.crm-card-head h2 { margin: 0; font-size: 1.15rem; }
.crm-card-head p { margin: 2px 0 0; color: #6b7280; font-size: .85rem; }
.crm-avatar { width: 46px; height: 46px; border-radius: 50%; background: #1a1a1a; display: grid; place-content: center; flex-shrink: 0; }
.crm-avatar svg { width: 24px; height: 24px; fill: none; stroke: var(--demo-gold); stroke-width: 1.8; }
.crm-new { margin-left: auto; background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.crm-infos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin: 0; }
.crm-infos dt { font-size: .72rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; }
.crm-infos dd { margin: 2px 0 0; font-weight: 500; }
.crm-consents { list-style: none; margin: 0; padding: 0; }
.crm-consents li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid #f0f0f0; }
.crm-consents li:first-child { border-top: none; }
.st { font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.st-neutre { background: #e5e7eb; color: #4b5563; }
.st-Opt-in { background: #dcfce7; color: #166534; }
.st-Opt-out { background: #fee2e2; color: #991b1b; }
.crm-auto p { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.crm-auto p:last-child { margin: 0; }
.crm-pulse { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: tip-pulse 1.8s ease-out infinite; }
.crm-link { color: #1a1a1a; font-weight: 600; }
.crm-history { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid #e5e7eb; }
.crm-history li { position: relative; padding: 0 0 12px 8px; font-size: .85rem; color: #4b5563; }
.crm-history li:last-child { padding-bottom: 0; }
.crm-history li::before { content: ''; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--demo-gold); }
.crm-history b { color: #1a1a1a; }

/* bloc « demande d'accord » de l'e-mail post-demande */
.mail-ask { background: var(--sm-cream); border: 1px solid var(--sm-line); border-radius: 12px; padding: 22px 22px 18px; margin-top: 26px; }
.mail-ask h2 { font-size: 1.1rem; text-align: center; }
.mail-ask p { text-align: center; }

@media (max-width: 860px) {
  .pt-layout { grid-template-columns: 1fr; }
  .pt-form { position: static; }
  .pt-nav { display: none; }
}
@media (max-width: 640px) {
  .pt-header, .pt-crumbs, .pt-layout { padding-left: 14px; padding-right: 14px; }
  .crm-infos { grid-template-columns: 1fr; }
  .crm-user { display: none; }
}
