/* =====================================================================
   ViSAgree — Direction artistique premium (site vitrine)
   ---------------------------------------------------------------------
   Feuille dédiée au site public. Elle ne modifie AUCUNE règle de
   l'application : toutes ses classes sont préfixées .p- (premium).
   Mobile d'abord : une colonne par défaut, le multi-colonnes vit dans
   les @media (min-width: 768px) / (min-width: 1024px).
   Palette : celle de ViSAgree (violet #6C4CE0, turquoise #00C2A8),
   déclinée avec une échelle typographique et des ombres plus travaillées.
   ===================================================================== */

:root {
  /* Échelle typographique (fluide, jamais de pixel figé) */
  --p-display: clamp(2.1rem, 6.4vw, 4.1rem);
  --p-h2: clamp(1.55rem, 3.6vw, 2.5rem);
  --p-h3: clamp(1.08rem, 2vw, 1.32rem);
  --p-lead: clamp(1rem, 1.7vw, 1.16rem);

  /* Espacements verticaux de section */
  --p-pad: clamp(46px, 8vw, 108px);

  /* Ombres en couches (profondeur crédible, jamais dure) */
  --p-shadow-1: 0 1px 2px rgba(30, 27, 46, .05), 0 4px 14px rgba(30, 27, 46, .05);
  --p-shadow-2: 0 2px 4px rgba(30, 27, 46, .05), 0 12px 34px rgba(30, 27, 46, .09);
  --p-shadow-3: 0 4px 8px rgba(30, 27, 46, .06), 0 26px 60px rgba(30, 27, 46, .14);
  --p-shadow-brand: 0 10px 30px rgba(108, 76, 224, .28);

  --p-ink: #16142A;
  --p-ink-2: #4B4761;
  --p-soft: #F6F5FC;
  --p-line: #E9E7F4;
}

/* --- Base ------------------------------------------------------------
   Jamais d'`overflow-x: hidden` ici : posé sur un ancêtre, il casse la barre
   de navigation `position: sticky` du site (le navigateur n'a plus de
   conteneur de défilement à coller). Le débordement est déjà maîtrisé par
   les grilles en `1fr` et la largeur des blocs. */
.p-page { color: var(--p-ink); }
.p-page * { min-width: 0; }

.p-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.p-sec { padding: var(--p-pad) 0; }
.p-sec--soft { background: var(--p-soft); }
.p-sec--ink {
  background: linear-gradient(160deg, #1B1836 0%, #16142A 60%, #12102A 100%);
  color: #fff;
}

/* Titres : graisse forte + interlettrage serré = signature premium */
.p-title {
  font-size: var(--p-h2); line-height: 1.12; letter-spacing: -.024em;
  font-weight: 800; margin: 0 0 12px; color: var(--p-ink);
}
.p-sec--ink .p-title { color: #fff; }
.p-title--display { font-size: var(--p-display); letter-spacing: -.035em; line-height: 1.03; }
.p-lead { font-size: var(--p-lead); line-height: 1.6; color: var(--p-ink-2); margin: 0; max-width: 62ch; }
.p-sec--ink .p-lead { color: rgba(255, 255, 255, .78); }

/* Sur-titre de section */
.p-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-soft);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 16px;
}
.p-sec--ink .p-eyebrow { background: rgba(255, 255, 255, .1); color: #C9BEFF; }
.p-head { max-width: 780px; margin-bottom: clamp(26px, 4vw, 46px); }
.p-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.p-head--center .p-lead { margin-left: auto; margin-right: auto; }

/* --- Boutons (fins, rectangulaires, jamais pilule) -------------------- */
.p-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 650; line-height: 1; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.p-btn--primary {
  background: linear-gradient(180deg, #7C5CE8 0%, var(--brand) 100%);
  color: #fff; box-shadow: var(--p-shadow-brand);
}
.p-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(108, 76, 224, .36); }
.p-btn--accent { background: var(--accent); color: #04302A; box-shadow: 0 10px 28px rgba(0, 194, 168, .3); }
.p-btn--accent:hover { transform: translateY(-1px); }
.p-btn--ghost { background: #fff; color: var(--p-ink); border-color: var(--p-line); }
.p-btn--ghost:hover { border-color: #D6D2EA; box-shadow: var(--p-shadow-1); }
.p-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(8px); }
.p-btn--lg { padding: 14px 26px; font-size: 15.5px; border-radius: 11px; }
.p-btn--block { width: 100%; }

.p-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.p-actions--center { justify-content: center; }

/* --- HERO ------------------------------------------------------------ */
.p-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(0, 194, 168, .38), transparent 62%),
    radial-gradient(900px 520px at 6% 108%, rgba(124, 92, 232, .5), transparent 60%),
    linear-gradient(158deg, #6C4CE0 0%, #4A2FB8 52%, #2A1670 100%);
  padding: clamp(38px, 7vw, 92px) 0 clamp(46px, 8vw, 104px);
}
/* Trame de points très discrète : donne de la matière sans bruit visuel */
.p-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(160deg, #000 12%, transparent 72%);
  mask-image: linear-gradient(160deg, #000 12%, transparent 72%);
}
.p-hero > * { position: relative; z-index: 2; }
.p-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 54px); align-items: center; }
.p-hero h1 { color: #fff; margin: 0 0 16px; }
.p-hero .p-lead { color: rgba(255, 255, 255, .86); }
.p-hero-tag {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 650; letter-spacing: .04em;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.p-hero-actions { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; }
.p-hero-proof {
  display: flex; flex-direction: column; gap: 9px; margin-top: 24px;
  font-size: 13.5px; color: rgba(255, 255, 255, .82);
}
.p-hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.p-hero-proof svg { color: var(--accent); flex: none; }

/* --- Mockup d'écran (maquette fidèle, en pur CSS) -------------------- */
.p-mock {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: var(--p-shadow-3); color: var(--p-ink);
  border: 1px solid rgba(255, 255, 255, .5);
}
.p-mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: #FBFaff; border-bottom: 1px solid var(--p-line);
  font-size: 12px; font-weight: 650; color: var(--p-ink-2);
}
.p-mock-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #E2DFF0; flex: none; }
.p-mock-bar .dot:first-child { background: #FFB4A8; }
.p-mock-bar .dot:nth-child(2) { background: #FFDFA8; }
.p-mock-bar .dot:nth-child(3) { background: #B7E9C8; }
.p-mock-bar span:last-child { margin-left: 6px; }
.p-mock-body { padding: 16px; }
.p-mock-title { font-size: 15px; font-weight: 750; margin: 0; letter-spacing: -.01em; }
.p-mock-sub { font-size: 12px; color: var(--muted); margin: 3px 0 14px; }
.p-progress { height: 8px; border-radius: 99px; background: #EFEDF8; overflow: hidden; margin-bottom: 15px; }
.p-progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #4EE0C6); }
.p-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 14px; }
.p-kpi { background: var(--p-soft); border-radius: 11px; padding: 10px 11px; }
.p-kpi .v { font-size: 20px; font-weight: 820; letter-spacing: -.03em; line-height: 1; }
.p-kpi .l { font-size: 10.5px; color: var(--muted); margin-top: 3px; font-weight: 600; }
.p-kpi.ok .v { color: var(--ok); }
.p-kpi.wait .v { color: var(--warn); }
.p-rows { display: flex; flex-direction: column; }
.p-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-top: 1px solid var(--p-line); font-size: 12.5px;
}
.p-row:first-child { border-top: 0; }
.p-row .who { font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-pill {
  flex: none; font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  background: var(--p-soft); color: var(--p-ink-2);
}
.p-pill.ok { background: var(--ok-soft); color: #0F7A3D; }
.p-pill.wait { background: var(--warn-soft); color: #A35A05; }
.p-pill.no { background: var(--danger-soft); color: #B01C1C; }
.p-mock-foot { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* --- Bandeau de chiffres --------------------------------------------- */
.p-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--p-line); border: 1px solid var(--p-line);
  border-radius: 16px; overflow: hidden; box-shadow: var(--p-shadow-1);
}
.p-stat { background: #fff; padding: 20px 16px; text-align: center; }
.p-stat .v {
  font-size: clamp(1.5rem, 4.4vw, 2.1rem); font-weight: 820;
  letter-spacing: -.035em; line-height: 1; color: var(--p-ink);
}
.p-stat.brand .v {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.p-stat .l { font-size: 11.5px; font-weight: 620; color: var(--muted); margin-top: 7px; }

/* --- Frise des 6 étapes ---------------------------------------------- */
.p-flow { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
.p-flow-item {
  position: relative; display: flex; gap: 16px; align-items: flex-start;
  padding: 0 0 26px 0;
}
.p-flow-item:last-child { padding-bottom: 0; }
/* Le trait vertical qui relie les étapes */
.p-flow-item::before {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--brand-soft), var(--p-line));
}
.p-flow-item:last-child::before { display: none; }
.p-flow-num {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 820; color: #fff;
  background: linear-gradient(180deg, #7C5CE8, var(--brand));
  box-shadow: 0 6px 16px rgba(108, 76, 224, .28);
  position: relative; z-index: 1;
}
.p-flow-item h3 { margin: 4px 0 5px; font-size: var(--p-h3); letter-spacing: -.015em; font-weight: 750; }
.p-flow-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--p-ink-2); }

/* --- Cartes génériques ---------------------------------------------- */
.p-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.p-card {
  background: #fff; border: 1px solid var(--p-line); border-radius: 18px;
  padding: 24px 22px; box-shadow: var(--p-shadow-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.p-card:hover { transform: translateY(-2px); box-shadow: var(--p-shadow-2); border-color: #DCD8EE; }
.p-card-ic {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--brand-soft), #F7F3FF); color: var(--brand-dark);
  margin-bottom: 15px;
}
.p-card h3 { font-size: var(--p-h3); font-weight: 750; letter-spacing: -.015em; margin: 0 0 8px; }
.p-card p { margin: 0; font-size: 14.5px; line-height: 1.58; color: var(--p-ink-2); }

/* --- Métiers --------------------------------------------------------- */
.p-jobs { display: grid; grid-template-columns: 1fr; gap: 13px; }
.p-job {
  display: flex; flex-direction: column; gap: 9px;
  background: #fff; border: 1px solid var(--p-line); border-radius: 15px; padding: 18px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.p-job:hover { transform: translateY(-2px); box-shadow: var(--p-shadow-2); }
.p-job-top { display: flex; align-items: center; gap: 11px; }
.p-job-ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-dark);
}
.p-job h3 { font-size: 14.5px; font-weight: 740; letter-spacing: -.012em; margin: 0; line-height: 1.25; }
.p-job .punch {
  margin: 0; font-size: 13.5px; line-height: 1.5; font-weight: 600; color: var(--brand-dark);
  border-left: 3px solid var(--brand-soft); padding-left: 11px;
}
.p-job .proof { margin: 0; font-size: 13px; line-height: 1.5; color: var(--p-ink-2); }

/* --- Deux façons de signer (jour J) --------------------------------- */
.p-day { display: grid; grid-template-columns: 1fr; gap: 16px; }
.p-day-card {
  background: #fff; border: 1px solid var(--p-line); border-radius: 18px; padding: 24px 22px;
  box-shadow: var(--p-shadow-1); display: flex; flex-direction: column; gap: 12px;
}
.p-day-card h3 { display: flex; align-items: flex-start; gap: 9px; font-size: var(--p-h3); font-weight: 750; margin: 0; letter-spacing: -.015em; }
.p-day-card h3 svg { color: var(--brand); flex: none; margin-top: 2px; }
.p-day-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--p-ink-2); }
.p-qr {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--p-soft); border: 1px solid var(--p-line); border-radius: 13px; padding: 15px;
}
.p-qr-img { flex: none; background: #fff; border-radius: 11px; padding: 9px; box-shadow: var(--p-shadow-1); line-height: 0; }
.p-qr p { font-size: 12.5px; line-height: 1.5; }

/* --- Citations métier ------------------------------------------------ */
.p-quotes { display: grid; grid-template-columns: 1fr; gap: 15px; }
.p-quote {
  position: relative; background: #fff; border: 1px solid var(--p-line);
  border-radius: 17px; padding: 26px 22px 22px; box-shadow: var(--p-shadow-1);
}
.p-quote::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-size: 54px; line-height: 1; font-weight: 800; color: var(--brand-soft);
}
.p-quote p { position: relative; margin: 0 0 10px; font-size: 16.5px; line-height: 1.42; font-weight: 680; letter-spacing: -.018em; color: var(--p-ink); }
.p-quote span { font-size: 13px; line-height: 1.5; color: var(--p-ink-2); display: block; }

/* --- Forfaits -------------------------------------------------------- */
.p-plans { display: grid; grid-template-columns: 1fr; gap: 16px; }
.p-plan {
  position: relative; background: #fff; border: 1px solid var(--p-line);
  border-radius: 18px; padding: 26px 22px; box-shadow: var(--p-shadow-1);
  display: flex; flex-direction: column;
}
.p-plan--best {
  border-color: transparent; box-shadow: var(--p-shadow-3), 0 0 0 2px var(--brand) inset;
}
.p-plan-tag {
  position: absolute; top: -11px; left: 22px;
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(180deg, #7C5CE8, var(--brand)); color: #fff;
  font-size: 11px; font-weight: 750; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; box-shadow: var(--p-shadow-brand);
}
.p-plan h3 { font-size: 17px; font-weight: 780; margin: 6px 0 0; letter-spacing: -.018em; }
.p-plan .p-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.p-plan .p-price b { font-size: clamp(1.8rem, 5vw, 2.3rem); font-weight: 830; letter-spacing: -.04em; line-height: 1; }
.p-plan .p-price span { font-size: 13.5px; font-weight: 620; color: var(--muted); }
.p-plan .p-plan-note { font-size: 13.5px; color: var(--p-ink-2); margin: 0 0 16px; line-height: 1.5; }
.p-plan-quota {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 620;
  background: var(--p-soft); border-radius: 10px; padding: 10px 12px; margin-bottom: 18px; color: var(--p-ink-2);
}
.p-plan-quota svg { color: var(--ok); flex: none; }
.p-plan .p-btn { margin-top: auto; }

/* --- Bandeau de réassurance (fond sombre) ---------------------------- */
.p-trust { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
.p-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.p-checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; }
.p-checklist li svg { color: var(--accent); flex: none; margin-top: 2px; }
.p-sec--ink .p-checklist li { color: rgba(255, 255, 255, .87); }
.p-sec--ink .p-checklist li strong { color: #fff; }
.p-checklist li strong { font-weight: 700; color: var(--p-ink); }

/* --- FAQ ------------------------------------------------------------- */
.p-faq { display: grid; gap: 10px; }
.p-faq details {
  background: #fff; border: 1px solid var(--p-line); border-radius: 14px;
  padding: 0; overflow: hidden; transition: box-shadow .16s ease;
}
.p-faq details[open] { box-shadow: var(--p-shadow-1); }
.p-faq summary {
  cursor: pointer; list-style: none; padding: 17px 20px;
  font-size: 15px; font-weight: 680; letter-spacing: -.012em; color: var(--p-ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after {
  content: "+"; flex: none; font-size: 20px; font-weight: 500; color: var(--brand);
  line-height: 1; transition: transform .18s ease;
}
.p-faq details[open] summary::after { transform: rotate(45deg); }
.p-faq details > p { margin: 0; padding: 0 20px 18px; font-size: 14.5px; line-height: 1.62; color: var(--p-ink-2); }

/* --- Appel à l'action final ----------------------------------------- */
.p-cta {
  position: relative; overflow: hidden; border-radius: 22px;
  background:
    radial-gradient(700px 340px at 92% 8%, rgba(0, 194, 168, .34), transparent 62%),
    linear-gradient(150deg, #6C4CE0, #3C219E 70%);
  color: #fff; padding: clamp(32px, 6vw, 62px) clamp(22px, 5vw, 56px);
  text-align: center; box-shadow: var(--p-shadow-3);
}
.p-cta h2 { color: #fff; font-size: var(--p-h2); font-weight: 820; letter-spacing: -.028em; margin: 0 0 12px; }
.p-cta p { color: rgba(255, 255, 255, .85); font-size: var(--p-lead); margin: 0 auto 24px; max-width: 56ch; }
.p-cta small { display: block; margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }

/* --- Apparition au défilement (sobre, désactivable) ------------------ */
.p-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.p-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .p-reveal { opacity: 1; transform: none; transition: none; }
  .p-card, .p-job, .p-btn { transition: none; }
}

/* =====================================================================
   PAGES PUBLIQUES INTÉRIEURES
   Fonctionnalités · Sécurité · Tarifs · Contact · Mentions légales · CGV ·
   Confidentialité · Installer.
   ---------------------------------------------------------------------
   Ces pages sont écrites avec les classes historiques du site (.page-hero,
   .section, .section-head, .media-block, .check-list, .feature, .faq,
   .card, .notice, .plan). Cette feuille n'étant chargée QUE sur le site
   public (marqueur PR_VITRINE défini par partials/layout-vitrine.php), on
   peut les redéfinir ici sans le moindre effet sur l'application de
   travail : le tableau de bord, les campagnes, les dossiers et les
   contrats gardent exactement leur apparence.
   ===================================================================== */

/* --- Bandeau de tête : même matière que le hero, mais plus sobre ----- */
.page-hero {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(0, 194, 168, .32), transparent 62%),
    radial-gradient(700px 400px at 4% 116%, rgba(124, 92, 232, .42), transparent 60%),
    linear-gradient(155deg, #6C4CE0 0%, #4A2FB8 55%, #2A1670 100%);
  padding: clamp(40px, 7vw, 88px) 0 clamp(46px, 7vw, 92px);
}
.page-hero h1 {
  font-size: clamp(1.72rem, 4.3vw, 2.95rem);
  font-weight: 820; letter-spacing: -.032em; line-height: 1.05;
  max-width: 26ch; margin: 0 0 12px;
}
.page-hero p { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.6; max-width: 58ch; }
.breadcrumb { font-size: 12.5px; letter-spacing: .02em; margin-bottom: 14px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
  backdrop-filter: blur(6px);
}

/* --- Sections : plus d'air, titres plus affirmés --------------------- */
.section { padding: clamp(42px, 7vw, 86px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(22px, 3.6vw, 40px); }
.section-head h2 {
  font-size: clamp(1.42rem, 3.2vw, 2.1rem); font-weight: 800;
  letter-spacing: -.028em; line-height: 1.1; margin: 0 0 8px;
}
.section-head p { font-size: clamp(1rem, 1.6vw, 1.08rem); line-height: 1.6; }

/* --- Cartes : même traitement que le reste de la vitrine ------------- */
.card {
  border: 1px solid var(--p-line); border-radius: 18px;
  box-shadow: var(--p-shadow-1); padding: 22px;
}
.card h2 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 780; letter-spacing: -.022em; }

/* --- Blocs média (texte + image) : empilés, puis côte à côte --------- */
.media-block { gap: clamp(20px, 3.6vw, 42px); }
.media-block img { border-radius: 18px; box-shadow: var(--p-shadow-2); }
.media-block h2 { font-size: clamp(1.3rem, 3vw, 1.95rem); font-weight: 800; letter-spacing: -.028em; }
.media-block p { font-size: 15px; line-height: 1.6; }
@media (min-width: 768px) {
  .media-block { grid-template-columns: 1fr 1fr; }
  .media-block.inverse > *:first-child { order: 2; }
}

/* --- Listes à coche : plus lisibles et mieux aérées ------------------ */
.check-list li { font-size: 15px; line-height: 1.55; padding: 8px 0; }
.check-list li svg { width: 20px; height: 20px; }
.check-list.cross-list li svg { color: var(--danger, #E5484D); }

/* --- Grille d'atouts ------------------------------------------------- */
.feature-grid { gap: 14px; }
.feature {
  background: #fff; border: 1px solid var(--p-line); border-radius: 16px;
  padding: 20px; box-shadow: var(--p-shadow-1);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--p-shadow-2); border-color: #DCD8EE; }
.feature .ficon { background: var(--brand-soft); color: var(--brand-dark); border-radius: 12px; }
.feature h3 { font-size: 15.5px; font-weight: 750; letter-spacing: -.014em; }
.feature p { font-size: 14px; line-height: 1.55; }
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- FAQ : identique à celle de l'accueil ---------------------------- */
.faq { gap: 10px; }
.faq details {
  border: 1px solid var(--p-line); border-radius: 14px;
  box-shadow: none; padding: 0; overflow: hidden; transition: box-shadow .16s ease;
}
.faq details[open] { box-shadow: var(--p-shadow-1); }
.faq summary { padding: 17px 20px; font-size: 15px; font-weight: 680; letter-spacing: -.012em; }
.faq p { padding: 0 20px 18px; margin: 0; font-size: 14.5px; line-height: 1.62; }

/* --- Bandeaux d'information ------------------------------------------ */
.notice { border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.55; }

/* --- Grille de contact : formulaire puis coordonnées ----------------- */
.contact-grid { gap: 18px; }
.form-row-2 { gap: 14px; }
/* 16px sur les champs : en dessous, un iPhone zoome tout seul au focus. */
.input, .textarea { font-size: 16px; }
.field label { font-weight: 620; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
}

/* --- Forfaits de la page Tarifs -------------------------------------- */
.pricing-boutique { gap: 16px; }
.plan {
  border: 1px solid var(--p-line); border-radius: 18px;
  box-shadow: var(--p-shadow-1); padding: 24px 22px;
}
.plan.featured { box-shadow: var(--p-shadow-3), 0 0 0 2px var(--brand) inset; }
.plan h2 { font-size: 17px; font-weight: 780; letter-spacing: -.018em; }
.plan .price { font-size: clamp(1.8rem, 5vw, 2.3rem); font-weight: 830; letter-spacing: -.04em; line-height: 1; }
.plan ul { list-style: none; padding: 0; margin: 16px 0; }
.plan ul li { display: flex; gap: 9px; align-items: flex-start; padding: 6px 0; font-size: 14.5px; color: var(--p-ink-2); }
.plan ul li svg { color: var(--ok); flex: none; margin-top: 2px; }
.plan-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(180deg, #7C5CE8, var(--brand)); color: #fff;
  font-size: 11px; font-weight: 750; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; box-shadow: var(--p-shadow-brand);
}

/* =====================================================================
   NAVIGATION ET PIED DE PAGE PUBLICS
   Chargés sur tout le site public (marqueur PR_VITRINE), jamais dans
   l'application : on peut donc viser .vnav et .footer sans préfixe, sans
   le moindre effet sur les écrans de travail.
   ===================================================================== */
.vnav-inner { padding-top: 12px; padding-bottom: 12px; }
.vnav .brand-name { letter-spacing: -.02em; font-weight: 780; }
.vnav-links a { font-weight: 620; }
.vnav-links a.active { color: var(--brand-dark); }

/* Boutons de la barre : cohérents avec les appels à l'action de la page */
.vnav-actions .btn,
.vnav-menu-cta .btn { border-radius: 10px; font-weight: 650; }

/* Pied de page : titres de colonnes plus nets, liens plus aérés */
.footer { padding-top: clamp(34px, 5vw, 58px); }
.footer h4 {
  font-size: 12px; font-weight: 780; letter-spacing: .09em; text-transform: uppercase;
  color: var(--p-ink); margin-bottom: 12px;
}
.footer .cols > div > a {
  display: block; padding: 3px 0; color: var(--p-ink-2); font-size: 14px; transition: color .14s ease;
}
.footer .cols > div > a:hover { color: var(--brand-dark); }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--p-line); font-size: 12.5px; }

/* Bandeau « aperçu » — visible seulement sur la page de prévisualisation */
.p-apercu-bar {
  background: #16142A; color: #fff; font-size: 13px; line-height: 1.5;
  padding: 10px 20px; text-align: center;
}
.p-apercu-bar strong { color: #7DE8D2; }
.p-apercu-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   ORDINATEUR — à partir de 768px puis 1024px
   ===================================================================== */
@media (min-width: 768px) {
  .p-wrap { padding: 0 32px; }
  .p-hero-actions { flex-direction: row; align-items: center; }
  .p-hero-proof { flex-direction: row; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
  .p-hero-grid { grid-template-columns: 1.06fr .94fr; }
  .p-stats { grid-template-columns: repeat(4, 1fr); }
  .p-kpis { grid-template-columns: repeat(4, 1fr); }
  .p-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .p-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .p-flow { grid-template-columns: repeat(2, 1fr); gap: 0 34px; }
  .p-flow-item { padding-bottom: 30px; }
  .p-flow-item:nth-child(5)::before,
  .p-flow-item:nth-child(6)::before { display: none; }
  .p-jobs { grid-template-columns: repeat(2, 1fr); }
  .p-day { grid-template-columns: repeat(2, 1fr); }
  .p-quotes { grid-template-columns: repeat(3, 1fr); }
  .p-plans { grid-template-columns: repeat(3, 1fr); }
  .p-trust { grid-template-columns: 1fr 1fr; gap: 46px; }
  .p-cta .p-actions { justify-content: center; }
}

@media (min-width: 1024px) {
  .p-jobs { grid-template-columns: repeat(3, 1fr); }
  .p-flow { grid-template-columns: repeat(3, 1fr); }
  .p-flow-item::before { display: none; }
}

/* Sur grand écran, la frise reprend une trame régulière propre :
   le trait vertical n'a plus de sens, on garde des cartes alignées. */
@media (min-width: 1024px) {
  .p-flow-item { padding-bottom: 0; }
}
