/* ==========================================================
   SEGABY — Modèle « page de service » V3 (préfixe .ps3)
   Chargé uniquement sur les pages de services passées en V3
   (voir functions.php). Identité V3 : bleu nuit / bleu électrique /
   blanc, Manrope. Composition propre aux services : en-tête avec
   photo d'atelier, liste de signes, déclaration, méthode en étapes,
   liste d'interventions, encart des limites, repères de prix.
   ========================================================== */

/* 0. Neutralisation du wrapper GeneratePress (page pleine largeur) */
body.segaby-fullwidth #page { max-width: none; padding-left: 0; padding-right: 0; }
body.segaby-fullwidth .site-content { display: block; max-width: none; width: 100%; margin: 0; padding: 0; }
body.segaby-fullwidth .content-area { width: 100%; max-width: none; float: none; margin: 0; padding: 0; }
body.segaby-fullwidth .site-main,
body.segaby-fullwidth #primary { width: 100%; max-width: none; margin: 0; padding: 0; }
body.segaby-fullwidth .inside-article { padding: 0; background: transparent; }
body.segaby-fullwidth #right-sidebar,
body.segaby-fullwidth #left-sidebar,
body.segaby-fullwidth .is-right-sidebar,
body.segaby-fullwidth .is-left-sidebar { display: none; }

/* 1. Jetons (identiques à l'accueil et aux Tarifs V3) */
.ps3 {
  --ps3-night: #0a1829;
  --ps3-night-3: #132d4b;
  --ps3-ink: #102239;
  --ps3-muted: #56677c;
  --ps3-blue: #2864d8;
  --ps3-blue-hover: #1f55c0;
  --ps3-blue-text: #2560d2;
  --ps3-sky: #8bbaff;
  --ps3-sky-soft: #c3d2e3;
  --ps3-ice: #e9f0fb;
  --ps3-paper: #f6f8fb;
  --ps3-line: #dce4ef;
  --ps3-max: 1180px;
  --ps3-gutter: 48px;
  --ps3-display: var(--segaby-font-display, "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
  color: var(--ps3-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.ps3 *, .ps3 *::before, .ps3 *::after { box-sizing: border-box; }
.ps3 h1, .ps3 h2, .ps3 h3 {
  margin: 0;
  color: inherit;
  font-family: var(--ps3-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}
.ps3 p { margin: 0; text-wrap: pretty; }
.ps3 ul, .ps3 ol { margin: 0; padding: 0; list-style: none; }
.ps3 figure { margin: 0; }
.ps3 img { display: block; max-width: 100%; height: auto; }
.ps3 svg { display: block; flex: none; }
.ps3 a:focus-visible { outline: 3px solid #5c9dff; outline-offset: 3px; border-radius: 4px; }
.ps3-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ps3-wrap { width: min(var(--ps3-max), calc(100% - 2 * var(--ps3-gutter))); margin-inline: auto; }
.ps3-section { padding: 88px 0; }

.ps3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ps3-blue-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ps3-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.ps3-eyebrow--light { color: var(--ps3-sky); }

.ps3 .ps3-head h2 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 42px); }
.ps3-lead { margin-top: 14px !important; color: var(--ps3-muted); font-size: 17px; }
.ps3-head--center { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.ps3-head--center .ps3-eyebrow { justify-content: center; }
.ps3-note {
  margin-top: 18px !important;
  padding: 14px 18px;
  border-left: 3px solid var(--ps3-blue);
  border-radius: 0 10px 10px 0;
  background: var(--ps3-ice);
  color: #2b405a;
  font-size: 16px;
}

.ps3-split { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 56px; align-items: start; }

/* Boutons et liens */
.ps3-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ps3 .ps3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--ps3-display);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.ps3 .ps3-btn svg { width: 18px; height: 18px; }
.ps3 .ps3-btn:hover { transform: translateY(-2px); }
.ps3 .ps3-btn--main { background: var(--ps3-blue); color: #fff; box-shadow: 0 12px 28px rgba(9, 43, 105, .38); }
.ps3 .ps3-btn--main:hover { background: var(--ps3-blue-hover); color: #fff; }
.ps3 .ps3-btn--ghost { color: #fff; border-color: #6d82a0; }
.ps3 .ps3-btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.ps3 .ps3-btn--white { background: #fff; color: var(--ps3-ink); }
.ps3 .ps3-btn--white:hover { background: #dceaff; color: var(--ps3-ink); }
.ps3 .ps3-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 16px;
  color: var(--ps3-blue-text);
  font-family: var(--ps3-display);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.ps3 .ps3-link svg { width: 18px; height: 18px; transition: transform .2s; }
.ps3 .ps3-link:hover svg { transform: translateX(4px); }

/* 2. En-tête de service */
.ps3-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 78% 30%, #1c3656 0%, transparent 48%), var(--ps3-night);
}
.ps3-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 64px 0 72px; }
.ps3 .ps3-hero h1 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.045em; line-height: 1.06; }
.ps3-hero h1 span { color: var(--ps3-sky); }
.ps3-hero-lead { max-width: 34em; margin: 20px 0 28px !important; color: var(--ps3-sky-soft); font-size: 18px; line-height: 1.7; }
.ps3 .ps3-hero-lead a { color: #fff; text-decoration: underline; text-decoration-color: rgba(139, 186, 255, .6); text-underline-offset: 4px; }
.ps3 .ps3-hero-lead a:hover { text-decoration-color: #fff; }
.ps3-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px !important; color: #b4c6da; font-size: 15px; }
.ps3-proof li { position: relative; padding-left: 16px; }
.ps3-proof li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #5c9dff; }
.ps3-hero-photo { position: relative; }
.ps3-hero-photo img {
  width: 100%;
  height: 440px !important;
  object-fit: cover;
  border-radius: 6px 90px 6px 6px;
  filter: brightness(.9) saturate(.95);
  box-shadow: 0 20px 60px rgba(2, 9, 23, .45);
}
.ps3-hero-photo figcaption { margin-top: 12px; color: #a9bbd1; font-size: 14px; }

/* 3. Signes (liste à puces en deux colonnes) */
.ps3-symptomes { background: var(--ps3-paper); }
.ps3-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ps3-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--ps3-line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--ps3-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.ps3-checks svg { width: 20px; height: 20px; margin-top: 1px; color: var(--ps3-blue-text); }

/* 4. Déclaration */
.ps3-statement-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.ps3 .ps3-statement h2 { font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -0.045em; }
.ps3-statement h2 em { font-style: normal; color: var(--ps3-blue-text); }
.ps3-statement-text .ps3-lead { margin-top: 0 !important; color: var(--ps3-ink); font-family: var(--ps3-display); font-size: 20px; font-weight: 700; }
.ps3-statement-text > p:not(.ps3-lead):not(.ps3-note) { margin-top: 14px !important; color: var(--ps3-muted); font-size: 17px; }

/* Étiquettes (liste de causes possibles) */
.ps3 .ps3-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ps3-tags li {
  padding: 8px 14px;
  border: 1px solid #c9d8ee;
  border-radius: 999px;
  background: #fff;
  color: var(--ps3-ink);
  font-family: var(--ps3-display);
  font-size: 15px;
  font-weight: 700;
}

/* Liens dans les textes courants */
.ps3 .ps3-list p a,
.ps3 .ps3-box-text a { color: var(--ps3-blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ps3-box-text p { color: #23384f; font-size: 17px; }

/* 5. Méthode (fond nuit) */
.ps3-method { background: var(--ps3-night); color: #fff; }
.ps3-method .ps3-lead { color: var(--ps3-sky-soft); }
.ps3-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.ps3-steps li { position: relative; padding: 0 22px 0 0; }
.ps3-steps li + li { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.ps3-step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139, 186, 255, .16);
  color: var(--ps3-sky);
  font-family: var(--ps3-display);
  font-size: 15px;
  font-weight: 800;
}
.ps3 .ps3-steps h3 { margin-top: 16px; color: #fff; font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; }
.ps3-steps p { margin-top: 8px !important; color: #cfdae7; font-size: 15px; }

/* 6. Interventions */
.ps3-list { border: 1px solid var(--ps3-line); border-radius: 14px; overflow: hidden; }
.ps3-list li { padding: 18px 24px; }
.ps3-list li + li { border-top: 1px solid var(--ps3-line); }
.ps3 .ps3-list h3 { font-size: 17px; letter-spacing: -0.015em; }
.ps3-list p { margin-top: 4px !important; color: var(--ps3-muted); font-size: 15px; }

/* 7. Limites */
/* L'encadré colle à la section précédente quand elle a le même fond blanc. */
.ps3-interventions:not(.ps3-interventions--paper) + .ps3-limits,
.ps3-statement:not(.ps3-statement--paper) + .ps3-limits:not(.ps3-limits--paper) { padding-top: 0; }
.ps3-limits-box {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: 56px;
  padding: 44px 48px;
  border-radius: 16px;
  background: var(--ps3-ice);
}
.ps3-limits-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid #cfdcef; color: #23384f; font-size: 16px; }
.ps3-limits-list li:last-child { border-bottom: 0; }
.ps3-limits-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 14px;
  height: 2px;
  background: var(--ps3-blue-text);
}

/* 8. Repères de prix */
.ps3-prices { background: var(--ps3-paper); }
.ps3-price-box { border-radius: 14px; background: #fff; border: 1px solid var(--ps3-line); overflow: hidden; }
.ps3-price-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 20px 26px; }
.ps3-price-rows li + li { border-top: 1px solid var(--ps3-line); }
.ps3 .ps3-price-rows h3 { font-size: 18px; letter-spacing: -0.015em; }
.ps3-price-rows div p { margin-top: 4px !important; color: var(--ps3-muted); font-size: 15px; }
.ps3-price { font-family: var(--ps3-display); font-size: 26px; font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; text-align: right; }
.ps3-price small { color: var(--ps3-muted); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.ps3 .ps3-price-rules { padding: 18px 26px; background: var(--ps3-night-3); }
.ps3-price-rules li { position: relative; padding-left: 20px; color: #e6eef8; font-size: 16px; line-height: 1.55; }
.ps3-price-rules li + li { margin-top: 6px; }
.ps3-price-rules li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ps3-sky); }
.ps3-tva { padding: 12px 26px 16px; color: var(--ps3-muted); font-size: 14px; }

/* Variantes de fond (alternance automatique entre sections) */
.ps3-statement--paper,
.ps3-interventions--paper,
.ps3-limits--paper { background: var(--ps3-paper); }
.ps3-limits--paper .ps3-limits-box { background: #fff; border: 1px solid var(--ps3-line); }
.ps3-symptomes--white,
.ps3-prices--white { background: #fff; }
.ps3-symptomes--white .ps3-checks li { background: var(--ps3-paper); }
.ps3-note--dark { margin-top: 32px !important; border-left-color: var(--ps3-sky); background: rgba(139, 186, 255, .1); color: #dbe6f3; }
.ps3 .ps3-note a,
.ps3 .ps3-statement-text a,
.ps3 .ps3-limits-list a { color: var(--ps3-blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 9. CTA final */
.ps3-cta { background: var(--ps3-night-3); color: #fff; }
.ps3-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 0 68px; }
.ps3 .ps3-cta h2 { font-size: clamp(30px, 3.4vw, 44px); }
.ps3-cta p { max-width: 38em; margin-top: 12px !important; color: #c9d7e8; font-size: 17px; }
.ps3 .ps3-cta p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(139, 186, 255, .6); text-underline-offset: 4px; }
.ps3-cta .ps3-actions { flex: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .ps3-hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 60px; }
  .ps3-hero-photo img { height: 360px !important; }
  .ps3-split, .ps3-statement-inner, .ps3-limits-box { grid-template-columns: 1fr; gap: 28px; }
  .ps3-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .ps3-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ps3-cta-inner { display: block; }
  .ps3-cta .ps3-actions { margin-top: 26px; }
}

@media (max-width: 760px) {
  .ps3 { --ps3-gutter: 18px; }
  .ps3-section { padding: 56px 0; }
  .ps3-hero-inner { padding: 36px 0 44px; gap: 30px; }
  .ps3 .ps3-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .ps3-hero-lead { font-size: 16px; margin: 16px 0 22px !important; }
  .ps3-actions .ps3-btn { flex: 1 1 100%; }
  .ps3-proof { gap: 6px 18px; font-size: 14px; margin-top: 20px !important; }
  .ps3-hero-photo img { height: 240px !important; border-radius: 6px 56px 6px 6px; }
  .ps3 .ps3-head h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .ps3-lead { font-size: 16px; }
  .ps3-checks { grid-template-columns: 1fr; gap: 8px; }
  .ps3-checks li { padding: 14px 16px; font-size: 15px; }
  .ps3 .ps3-statement h2 { font-size: clamp(28px, 8vw, 38px); }
  .ps3-statement-text .ps3-lead { font-size: 18px; }
  .ps3-steps { grid-template-columns: 1fr; gap: 0; }
  .ps3-steps li, .ps3-steps li + li, .ps3-steps li:nth-child(3) { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; padding: 18px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .ps3-steps li:first-child { border-top: 0; padding-top: 0; }
  .ps3-step-n { grid-row: span 2; }
  .ps3 .ps3-steps h3 { margin-top: 6px; font-size: 17px; }
  .ps3-steps p { margin-top: 0 !important; }
  .ps3-list li { padding: 16px 18px; }
  .ps3-limits-box { padding: 28px 22px; }
  .ps3-price-rows li { grid-template-columns: 1fr; gap: 4px; padding: 18px; }
  .ps3-price { order: -1; text-align: left; font-size: 24px; }
  .ps3 .ps3-price-rules { padding: 16px 18px; }
  .ps3-tva { padding: 12px 18px 16px; }
  .ps3-cta-inner { padding: 48px 0 56px; }
}

/* ==========================================================
   Composants des pages principales (Services, Contact, À propos, Rendez-vous)
   ========================================================== */
.ps3-center { margin-top: 28px !important; text-align: center; }
.ps3-center .ps3-link { margin-top: 0; }
.ps3-hero-photo picture { display: block; }

/* Répertoire des services */
.ps3 .ps3-dir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ps3-dir li { display: flex; }
.ps3 .ps3-dir a {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px 22px 20px;
  border: 1px solid var(--ps3-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ps3-ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ps3 .ps3-dir a:hover { border-color: #8fb3ec; box-shadow: 0 14px 32px rgba(10, 36, 64, .1); transform: translateY(-2px); }
.ps3-dir-n { color: var(--ps3-blue-text); font-family: var(--ps3-display); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.ps3 .ps3-dir h3 { margin-top: 10px; font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; }
.ps3-dir p { margin-top: 8px !important; color: var(--ps3-muted); font-size: 15px; }
.ps3-dir-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--ps3-blue-text); font-family: var(--ps3-display); font-size: 14px; font-weight: 800; }
.ps3-dir-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.ps3 .ps3-dir a:hover .ps3-dir-cta svg { transform: translateX(4px); }

/* Duo simple / complexe */
.ps3-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 960px; margin: 0 auto; }
.ps3-duo-item { padding: 32px 34px; border: 1px solid var(--ps3-line); border-radius: 14px 0 0 14px; background: #fff; }
.ps3-duo-item--dark { border-color: var(--ps3-night-3); border-radius: 0 14px 14px 0; background: var(--ps3-night-3); color: #fff; }
.ps3 .ps3-duo h3 { font-size: 22px; letter-spacing: -0.02em; }
.ps3-duo-item--dark h3 { color: var(--ps3-sky); }
.ps3-duo p { margin-top: 10px !important; color: var(--ps3-muted); font-size: 16px; }
.ps3-duo-item--dark p { color: #cfdae7; }

/* Carte d'atelier dans l'en-tête (Contact) */
.ps3-hero-card { padding: 30px 32px; border-radius: 14px; background: #fff; color: var(--ps3-ink); box-shadow: 0 24px 60px rgba(2, 9, 23, .45); }
.ps3-hero-card-title { color: var(--ps3-blue-text); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.ps3-hero-card-big { margin: 8px 0 14px !important; font-family: var(--ps3-display); font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.ps3-hero-card p:not(.ps3-hero-card-title):not(.ps3-hero-card-big) { padding: 10px 0; border-top: 1px solid var(--ps3-line); color: var(--ps3-muted); font-size: 15px; }

/* Coordonnées */
.ps3 .ps3-infos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ps3-infos li { padding: 24px 22px; border: 1px solid var(--ps3-line); border-radius: 12px; background: #fff; }
.ps3-infos-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--ps3-ice); color: var(--ps3-blue-text); }
.ps3-infos-ico svg { width: 20px; height: 20px; }
.ps3 .ps3-infos h3 { margin-top: 14px; font-size: 17px; }
.ps3-infos p { margin-top: 6px !important; font-size: 16px; }
.ps3 .ps3-infos p a { color: var(--ps3-ink); font-weight: 700; text-decoration: underline; text-decoration-color: #b9cdef; text-underline-offset: 3px; word-break: break-word; }
.ps3-infos-note { color: var(--ps3-muted); font-size: 14px !important; }
.ps3-infos .ps3-link { margin-top: 6px; }

/* Horaires */
.ps3-hours { border: 1px solid var(--ps3-line); border-radius: 14px; background: #fff; overflow: hidden; }
.ps3-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 24px; font-size: 16px; }
.ps3-hours li + li { border-top: 1px solid var(--ps3-line); }
.ps3-hours li span:first-child { font-family: var(--ps3-display); font-weight: 700; }
.ps3-hours li span:last-child { font-variant-numeric: tabular-nums; }
.ps3-hours-closed { background: var(--ps3-paper); color: var(--ps3-muted); }

/* Étapes : variante 3 colonnes */
.ps3-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Aide sous les boutons (Rendez-vous) */
.ps3-hero-help { margin-top: 18px !important; color: #b4c4d8; font-size: 15px; }
.ps3 .ps3-hero-help a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(139, 186, 255, .6); text-underline-offset: 4px; }

/* Encadré « Déjà client » */
.ps3-client { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border-radius: 16px; background: var(--ps3-ice); }
.ps3 .ps3-client h2 { font-size: clamp(26px, 2.8vw, 34px); }
.ps3-client p { margin-top: 8px !important; color: #2b405a; font-size: 17px; }
.ps3 .ps3-btn--ink { color: var(--ps3-night); border-color: #b9cbe4; background: #fff; }
.ps3 .ps3-btn--ink:hover { color: var(--ps3-night); border-color: #8fb3ec; background: #f4f8ff; }

@media (max-width: 1024px) {
  .ps3 .ps3-dir, .ps3 .ps3-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps3-client { flex-direction: column; align-items: flex-start; }
  .ps3-hero-card { max-width: 460px; }
}
@media (max-width: 760px) {
  .ps3 .ps3-dir, .ps3 .ps3-infos { grid-template-columns: 1fr; gap: 10px; }
  .ps3 .ps3-dir a { padding: 20px 18px 16px; }
  .ps3-duo { grid-template-columns: 1fr; }
  .ps3-duo-item { padding: 24px 22px; border-radius: 14px 14px 0 0; }
  .ps3-duo-item--dark { border-radius: 0 0 14px 14px; }
  .ps3-steps--3 { grid-template-columns: 1fr; }
  .ps3-hero-card { padding: 22px 20px; }
  .ps3-hero-card-big { font-size: 28px; }
  .ps3-hours li { padding: 13px 18px; font-size: 15px; }
  .ps3-client { padding: 26px 22px; }
  .ps3-client .ps3-actions { width: 100%; }
}

/* ==========================================================
   Sérénité : tarif mensuel et chiffres
   ========================================================== */
.ps3-ser-price { padding: 26px; }
.ps3-ser-price-big { font-family: var(--ps3-display); font-size: clamp(38px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; }
.ps3-ser-price-big small { color: var(--ps3-muted); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.ps3-ser-price p:not(.ps3-ser-price-big) { margin-top: 12px !important; color: var(--ps3-muted); font-size: 16px; }
.ps3-ser-price-note { padding: 18px 26px; background: var(--ps3-night-3); color: #e6eef8; font-size: 16px; }
.ps3 .ps3-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.ps3-figures li { padding: 26px 24px; border: 1px solid var(--ps3-line); border-radius: 12px; background: #fff; text-align: center; }
.ps3-figures strong { display: block; color: var(--ps3-blue-text); font-family: var(--ps3-display); font-size: 38px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.ps3-figures span { display: block; margin-top: 6px; color: var(--ps3-muted); font-size: 15px; }
.ps3-promise { color: var(--ps3-ink); font-family: var(--ps3-display); font-size: 18px; font-weight: 700; }

/* ==========================================================
   Blog (index des articles)
   ========================================================== */
.ps3-hero--compact .ps3-hero-inner { grid-template-columns: 1fr; padding: 56px 0 60px; }
.ps3-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.ps3-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ps3-blog-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ps3-line); border-radius: 12px; background: #fff; transition: box-shadow .2s, transform .2s; }
.ps3-blog-card:hover { box-shadow: 0 14px 32px rgba(10, 36, 64, .1); transform: translateY(-2px); }
.ps3-blog-card-media img { display: block; width: 100%; height: 200px; object-fit: cover; }
.ps3-blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px; }
.ps3-blog-card-cat { color: var(--ps3-blue-text); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ps3 .ps3-blog-card-title { margin-top: 8px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
.ps3 .ps3-blog-card-title a { color: var(--ps3-ink); text-decoration: none; }
.ps3 .ps3-blog-card-title a:hover { color: var(--ps3-blue-text); }
.ps3-blog-card-excerpt { margin-top: 10px !important; color: var(--ps3-muted); font-size: 15px; }
.ps3-blog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; font-size: 14px; }
.ps3-blog-card-foot time { color: var(--ps3-muted); }
.ps3 .ps3-blog-card-more { color: var(--ps3-blue-text); font-family: var(--ps3-display); font-weight: 800; text-decoration: none; }
.ps3-blog-aside { display: grid; gap: 14px; }
.ps3-blog-widget { padding: 22px; border: 1px solid var(--ps3-line); border-radius: 12px; background: #fff; }
.ps3 .ps3-blog-widget-title { font-size: 15px; letter-spacing: .02em; }
.ps3-blog-widget ul { margin-top: 10px !important; }
.ps3-blog-widget li { padding: 8px 0; border-top: 1px solid #edf1f6; font-size: 15px; line-height: 1.4; }
.ps3-blog-widget li:first-child { border-top: 0; }
.ps3 .ps3-blog-widget a { color: var(--ps3-ink); text-decoration: none; }
.ps3 .ps3-blog-widget a:hover { color: var(--ps3-blue-text); text-decoration: underline; }
.ps3-blog-widget--dark { border-color: var(--ps3-night-3); background: var(--ps3-night-3); color: #fff; }
.ps3-blog-widget--dark .ps3-blog-widget-title { color: var(--ps3-sky); }
.ps3-blog-widget--dark p { margin-top: 8px !important; color: #cfdae7; font-size: 16px; }
.ps3 .pagination, .ps3 .nav-links { margin-top: 28px; }

/* ==========================================================
   Contenus éditoriaux : articles de blog et pages légales
   (bandeau injecté par inc/article-v3.php)
   ========================================================== */
.ps3-article-hero { background: radial-gradient(circle at 80% 20%, #1c3656 0%, transparent 50%), var(--ps3-night); color: #fff; }
.ps3-article-hero-inner { max-width: 860px; padding: 52px 0 56px; }
.ps3 .ps3-article-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 8px; color: var(--ps3-sky); font-family: var(--ps3-display); font-size: 14px; font-weight: 800; text-decoration: none; }
.ps3 .ps3-article-title { margin-top: 16px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.1; }
.ps3-article-meta { margin-top: 16px !important; color: var(--ps3-sky-soft); font-size: 15px; }

body.ps3-editorial { background: #fff; }
body.ps3-editorial .site-content { display: block; }
body.ps3-editorial .content-area { width: 100%; float: none; }
body.ps3-editorial .inside-article { max-width: 860px; margin: 0 auto; padding: 48px 24px 64px; background: transparent; }
body.ps3-editorial .entry-content { color: #23384f; font-size: 17px; line-height: 1.75; }
body.ps3-editorial .entry-content h2,
body.ps3-editorial .entry-content h3 { color: var(--segaby-blue-dark, #0a1829); font-family: var(--segaby-font-display, "Manrope", sans-serif); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
body.ps3-editorial .entry-content h2 { margin-top: 2em; font-size: clamp(24px, 2.6vw, 32px); }
body.ps3-editorial .entry-content h3 { margin-top: 1.6em; font-size: 20px; }
body.ps3-editorial .entry-content a { color: #2560d2; text-decoration: underline; text-underline-offset: 3px; }
body.ps3-editorial .entry-content blockquote { margin: 1.6em 0; padding: 14px 20px; border-left: 3px solid #2864d8; border-radius: 0 10px 10px 0; background: #e9f0fb; color: #2b405a; }
body.ps3-editorial .entry-content img { border-radius: 10px; }
body.ps3-editorial .entry-content table { border-collapse: collapse; width: 100%; font-size: 15px; }
body.ps3-editorial .entry-content th, body.ps3-editorial .entry-content td { padding: 10px 12px; border: 1px solid #dce4ef; }
body.ps3-editorial .entry-content thead th { background: #0a1829; color: #fff; }
body.ps3-editorial .entry-meta, body.ps3-editorial footer.entry-meta { max-width: 860px; margin: 0 auto; color: #56677c; font-size: 14px; }

@media (max-width: 1024px) {
  .ps3-blog-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ps3 .ps3-figures { grid-template-columns: 1fr; gap: 10px; }
  .ps3-ser-price { padding: 20px 18px; }
  .ps3-ser-price-note { padding: 16px 18px; }
  .ps3-blog-grid { grid-template-columns: 1fr; }
  .ps3-hero--compact .ps3-hero-inner { padding: 36px 0 40px; }
  .ps3-article-hero-inner { padding: 34px 0 40px; }
  body.ps3-editorial .inside-article { padding: 32px 18px 48px; }
  body.ps3-editorial .entry-content { font-size: 16px; }
}

/* En-tête compact sur mobile : même réglage que l'accueil et les Tarifs V3 */
@media (max-width: 600px) {
  .site-header .inside-header { padding-left: 16px; padding-right: 16px; }
  .site-header .site-logo img.header-image { width: 132px; height: auto; }
  .mobile-menu-control-wrapper .menu-bar-items a.segaby-espace-client { min-height: 44px; padding: 0 .8em; font-size: .82rem; }
  .mobile-menu-control-wrapper .menu-toggle { min-width: 44px; padding: 0 12px; line-height: 48px; }
}
@media (max-width: 359px) {
  .site-header .site-logo img.header-image { width: 120px; }
  .mobile-menu-control-wrapper .menu-bar-items a.segaby-espace-client { width: 44px; padding: 0; justify-content: center; }
  .mobile-menu-control-wrapper .menu-bar-items a.segaby-espace-client span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ps3 *, .ps3 *::before, .ps3 *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .ps3 .ps3-btn:hover { transform: none; }
}
.ps3-list--atouts p { margin-top: 0 !important; color: var(--ps3-muted); font-size: 16px; }
.ps3-list--atouts strong { color: var(--ps3-ink); font-family: var(--ps3-display); }

/* Pages générées (recherche sans résultat) */
.ps3-empty { padding: 28px; border: 1px solid var(--ps3-line); border-radius: 12px; background: #fff; }
.ps3-empty p { margin-bottom: 14px !important; color: var(--ps3-muted); }
.ps3-hero-lead p { margin: 0; }
