/* ────────────────────────────────────────────────────────────────────────
   Démo ASSISTANTE ADMINISTRATIVE INDÉPENDANTE — "Poste & Virgule"
   Archétype : "je vous rends du temps". Simulateur inline « temps gagné ».
   Univers : prune + corail chaleureux sur papier crème (organisé, humain, pro).
   Typo Bricolage Grotesque (titres) + Inter (texte).
   Look TOTALEMENT indépendant du site Ready Player Web. Préfixe : pv-
   Mobile d'abord.
   ──────────────────────────────────────────────────────────────────────── */

body.assistante {
  --pv-ink: #3a2a3f;      /* prune profond, texte fort */
  --pv-plum: #5b3a63;     /* prune panneaux */
  --pv-coral: #ef8354;    /* accent corail (gain, CTA) */
  --pv-coral-d: #e06a3a;
  --pv-paper: #faf6f2;    /* crème chaleureux */
  --pv-card: #ffffff;
  --pv-line: #ece1e6;
  --pv-muted: #7c6d80;
  --pv-mint: #2f9e7d;     /* vert sobre : le "gagné" */

  margin: 0;
  background: var(--pv-paper);
  color: var(--pv-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.assistante h1,
body.assistante h2,
body.assistante h3 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}
body.assistante p { margin: 0 0 1rem; }
body.assistante a { color: inherit; text-decoration: none; }

/* ── Boutons ─────────────────────────────────────────────────────────── */
.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1.25rem;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pv-btn--coral { background: var(--pv-coral); color: #3a1608; box-shadow: 0 6px 18px rgba(239, 131, 84, 0.32); }
.pv-btn--coral:hover { background: var(--pv-coral-d); transform: translateY(-2px); }
.pv-btn--ghost { background: transparent; color: var(--pv-ink); border: 1.5px solid var(--pv-line); }
.pv-btn--ghost:hover { border-color: var(--pv-coral); color: var(--pv-coral-d); transform: translateY(-2px); }
.pv-btn--light { background: #fff; color: var(--pv-ink); }
.pv-btn--light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.pv-btn--full { width: 100%; }
.pv-btn--lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }

/* ── Header ──────────────────────────────────────────────────────────── */
.pv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(250, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pv-line);
}
.pv-logo { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--pv-ink); }
.pv-logo span { color: var(--pv-coral-d); }
.pv-nav { display: none; margin-left: auto; gap: 1.5rem; align-items: center; font-weight: 500; }
.pv-nav a:hover { color: var(--pv-coral-d); }
.pv-header .pv-btn { margin-left: auto; }
.pv-header .pv-nav + .pv-btn { margin-left: 0; }

@media (min-width: 900px) {
  .pv-nav { display: flex; }
  .pv-header .pv-btn { margin-left: 0; }
}

/* ── Hero scindé ─────────────────────────────────────────────────────── */
.pv-hero {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 1.25rem 3rem;
  max-width: 1180px;
  margin: 0 auto;
}
.pv-hero__eyebrow {
  color: var(--pv-coral-d);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.pv-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
.pv-hero h1 em { color: var(--pv-coral-d); font-style: normal; }
.pv-hero__lead { font-size: 1.06rem; color: var(--pv-muted); margin: 1.1rem 0 1.5rem; max-width: 46ch; }
.pv-hero__proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.pv-hero__proof li { font-size: 0.95rem; color: var(--pv-ink); display: flex; align-items: baseline; gap: 0.6rem; }
.pv-hero__proof li span {
  flex: none;
  min-width: 2.6rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  color: var(--pv-coral-d);
}

@media (min-width: 920px) {
  .pv-hero { grid-template-columns: 1.02fr 1fr; align-items: center; padding-top: 3.5rem; }
}

/* ── Simulateur inline « temps gagné » ───────────────────────────────── */
.pv-sim {
  background: var(--pv-card);
  border: 1px solid var(--pv-line);
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 24px 60px rgba(58, 42, 63, 0.14);
}
.pv-sim__head h2 { font-size: 1.3rem; }
.pv-sim__head p { color: var(--pv-muted); font-size: 0.9rem; margin: 0.25rem 0 1.2rem; }

.pv-sim__tasks { display: grid; gap: 0.5rem; }
.pv-task {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--pv-line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pv-task:hover { border-color: var(--pv-coral); }
.pv-task input { position: absolute; opacity: 0; pointer-events: none; }
.pv-task__box {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 7px;
  border: 2px solid #d7c9d0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pv-task__box::after {
  content: "✓";
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.pv-task__icon { font-size: 1.15rem; }
.pv-task__label { font-size: 0.92rem; font-weight: 500; }
.pv-task__h { font-size: 0.78rem; color: var(--pv-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-task input:checked ~ .pv-task__box { background: var(--pv-coral); border-color: var(--pv-coral); }
.pv-task input:checked ~ .pv-task__box::after { opacity: 1; transform: scale(1); }
.pv-task:has(input:checked) { border-color: var(--pv-coral); background: rgba(239, 131, 84, 0.06); }
.pv-task input:focus-visible ~ .pv-task__box { outline: 2px solid var(--pv-coral-d); outline-offset: 2px; }

.pv-sim__result {
  margin-top: 1.4rem;
  padding: 1.3rem 1.2rem;
  border-radius: 16px;
  background: var(--pv-ink);
  color: #f4ecf2;
}
.pv-sim__hero { text-align: center; }
.pv-sim__hero-label { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: #c6aecb; }
.pv-sim__hero-val { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--pv-coral); margin: 0.15rem 0; }
.pv-sim__hero-sub { display: block; font-size: 0.8rem; color: #c6aecb; }
.pv-sim__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}
.pv-sim__meta span { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1rem; }
.pv-sim__meta small { display: block; font-size: 0.68rem; color: #c6aecb; margin-top: 0.15rem; }
.pv-sim .pv-btn--full { margin-top: 1.2rem; }
.pv-sim__note { font-size: 0.72rem; color: var(--pv-muted); margin: 0.8rem 0 0; text-align: center; }

/* ── En-têtes de section ─────────────────────────────────────────────── */
.pv-section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.pv-kicker { color: var(--pv-coral-d); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.pv-section-head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }

/* ── Bandeau de preuves ──────────────────────────────────────────────── */
.pv-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--pv-line);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--pv-line);
  border-bottom: 1px solid var(--pv-line);
}
.pv-stat { background: var(--pv-paper); padding: 1.8rem 1rem; text-align: center; }
.pv-stat__big { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--pv-ink); }
.pv-stat__label { display: block; font-weight: 600; margin-top: 0.25rem; }
.pv-stat__sub { display: block; font-size: 0.8rem; color: var(--pv-muted); }

@media (min-width: 760px) {
  .pv-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ── Prestations ─────────────────────────────────────────────────────── */
.pv-prestations { padding: 3.5rem 1.25rem; max-width: 1080px; margin: 0 auto; }
.pv-prestations__grid { display: grid; gap: 1rem; }
.pv-presta {
  background: var(--pv-card);
  border: 1px solid var(--pv-line);
  border-radius: 16px;
  padding: 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pv-presta:hover { border-color: var(--pv-coral); transform: translateY(-3px); }
.pv-presta__icon { font-size: 1.8rem; }
.pv-presta h3 { font-size: 1.12rem; margin: 0.6rem 0 0.4rem; }
.pv-presta p { color: var(--pv-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.pv-presta__cta { background: none; border: 0; padding: 0; color: var(--pv-coral-d); font-weight: 700; font-family: "Bricolage Grotesque", sans-serif; cursor: pointer; }
.pv-presta__cta:hover { text-decoration: underline; }

@media (min-width: 720px) { .pv-prestations__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pv-prestations__grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Comment ça marche ───────────────────────────────────────────────── */
.pv-how { padding: 1rem 1.25rem 3.5rem; max-width: 1080px; margin: 0 auto; }
.pv-steps { display: grid; gap: 1.2rem; }
.pv-step {
  background: var(--pv-card);
  border: 1px solid var(--pv-line);
  border-radius: 16px;
  padding: 1.6rem;
}
.pv-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--pv-coral);
  color: #3a1608;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.pv-step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.pv-step p { color: var(--pv-muted); margin: 0; }

@media (min-width: 760px) { .pv-steps { grid-template-columns: repeat(3, 1fr); } }

/* ── Formules ────────────────────────────────────────────────────────── */
.pv-formules { padding: 1rem 1.25rem 3.5rem; max-width: 1080px; margin: 0 auto; }
.pv-formules__grid { display: grid; gap: 1.2rem; align-items: start; }
.pv-formule {
  position: relative;
  background: var(--pv-card);
  border: 1px solid var(--pv-line);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
}
.pv-formule--featured { border-color: var(--pv-coral); box-shadow: 0 18px 44px rgba(239, 131, 84, 0.18); }
.pv-formule__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.6rem;
  background: var(--pv-coral);
  color: #3a1608;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.pv-formule__name { font-size: 1.2rem; margin-bottom: 0.4rem; }
.pv-formule__price { margin: 0 0 0.4rem; }
.pv-formule__price strong { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--pv-ink); }
.pv-formule__price span { color: var(--pv-muted); font-size: 0.9rem; }
.pv-formule__note { color: var(--pv-coral-d); font-weight: 600; font-size: 0.85rem; margin-bottom: 1rem; }
.pv-formule__feats { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: 0.5rem; }
.pv-formule__feats li { position: relative; padding-left: 1.5rem; font-size: 0.9rem; }
.pv-formule__feats li::before { content: "✓"; position: absolute; left: 0; color: var(--pv-mint); font-weight: 800; }
.pv-formules__foot { text-align: center; font-size: 0.75rem; color: var(--pv-muted); margin: 1.6rem 0 0; }

@media (min-width: 820px) { .pv-formules__grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Avis ────────────────────────────────────────────────────────────── */
.pv-reviews { padding: 3.5rem 1.25rem; max-width: 1080px; margin: 0 auto; }
.pv-reviews__grid { display: grid; gap: 1.2rem; }
.pv-review {
  background: var(--pv-card);
  border: 1px solid var(--pv-line);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0;
}
.pv-review__stars { color: #f2a93f; letter-spacing: 0.1em; margin: 0 0 0.6rem; }
.pv-review blockquote { margin: 0 0 0.8rem; font-size: 1rem; }
.pv-review figcaption { color: var(--pv-muted); font-weight: 600; font-size: 0.9rem; }

@media (min-width: 820px) { .pv-reviews__grid { grid-template-columns: repeat(3, 1fr); } }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.pv-faq { padding: 1rem 1.25rem 3.5rem; max-width: 1000px; margin: 0 auto; }
.pv-faq__grid { display: grid; gap: 1.2rem; }
.pv-faq__item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.pv-faq__item p { color: var(--pv-muted); margin: 0; }
@media (min-width: 760px) { .pv-faq__grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; } }

/* ── CTA final ───────────────────────────────────────────────────────── */
.pv-cta { padding: 1rem 1.25rem 4rem; }
.pv-cta__inner {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--pv-plum), var(--pv-ink));
  color: #fff;
  border-radius: 24px;
  padding: 2.8rem 1.8rem;
  text-align: center;
}
.pv-cta__inner h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: #fff; }
.pv-cta__inner p { color: #dcc9e0; margin: 0.8rem auto 1.6rem; max-width: 46ch; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.pv-foot { background: var(--pv-ink); color: #d6c4da; text-align: center; padding: 2.5rem 1.25rem; }
.pv-foot__name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: 0.3rem; }
.pv-foot p { margin: 0 0 0.4rem; }
/* Sélecteur à deux classes : bat la spécificité de `.pv-foot p`, sinon la marge
   `auto` est écrasée par `margin:0` et le bloc légal reste collé à gauche. */
.pv-foot .pv-foot__legal { font-size: 0.72rem; color: #9c86a1; max-width: 620px; margin: 1rem auto 0; }

/* ── Modale demande de devis ─────────────────────────────────────────── */
.pvm {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
/* L'attribut `hidden` (display:none du navigateur) est écrasé par la règle
   .pvm ci-dessus : on le rétablit explicitement, sinon la modale reste ouverte. */
.pvm[hidden] { display: none; }
.pvm__step[hidden] { display: none; }
.pvm__overlay { position: absolute; inset: 0; background: rgba(58, 42, 63, 0.55); backdrop-filter: blur(3px); }
.pvm__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--pv-card);
  border-radius: 20px;
  padding: 2rem 1.7rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.pvm__x {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--pv-muted);
  cursor: pointer;
}
.pvm__title { font-size: 1.4rem; margin: 0.2rem 0 0.6rem; }
.pvm__ctx {
  background: rgba(239, 131, 84, 0.1);
  border: 1px solid rgba(239, 131, 84, 0.3);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  color: var(--pv-ink);
  margin-bottom: 1rem;
}
.pvm__fields { display: grid; gap: 0.7rem; margin-bottom: 1.1rem; }
.pvm__input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--pv-line);
  border-radius: 11px;
  font: inherit;
  color: var(--pv-ink);
  background: #fff;
}
.pvm__input:focus { outline: none; border-color: var(--pv-coral); box-shadow: 0 0 0 3px rgba(239, 131, 84, 0.18); }
.pvm__confirm { font-size: 1.05rem; }
.pvm__note { font-size: 0.78rem; color: var(--pv-muted); }
.pv-check {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: var(--pv-mint);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
}
.pvm__step[data-dv-step="done"] { text-align: center; }
