/* v5 (24/10/2026) : quatre domaines en grand, angle multi-domaines (Morvane), photos plateforme-v4, fils sans étiquette. Se charge après ad-plateforme-v4.css (en ligne, inchangée). */
/* ESSAI (24/10/2026, non publié) : les quatre domaines en grand, 2 × 2, objets réels (un vrai site dans un navigateur, un courriel, une liste d'inscrits, une recherche).
   Inspiré de l'échelle et du calage de leadpoint.fr (grands objets posés ensemble), sans copier sa palette. Chaîne des liaisons en serpent : Gipco → Web ↓ Mail ← Lead. */
main.pf-d3 { --o-ombre:21,23,26; }
/* ---- grille 2 × 2, sans cadre englobant ---- */
main.pf-d3 .pf-domaines { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto auto; gap:78px 96px; padding:0; background:none; box-shadow:none; border-radius:0; max-width:none; margin-top:64px; }
main.pf-d3 .pf-domaines::before, main.pf-d3 .pf-domaine::before { display:none; }
main.pf-d3 .pf-domaine { position:relative; padding:24px 24px 26px; display:flex; flex-direction:column; border-radius:20px; box-shadow:0 0 0 1px rgba(var(--o-ombre),.07),-8px 22px 46px -28px rgba(var(--o-ombre),.4); }
main.pf3.pf-d3 .pf-domaine.pf-g { grid-column:1; grid-row:1; } main.pf3.pf-d3 .pf-domaine.pf-w { grid-column:2; grid-row:1; }
main.pf3.pf-d3 .pf-domaine.pf-m { grid-column:2; grid-row:2; } main.pf3.pf-d3 .pf-domaine.pf-l { grid-column:1; grid-row:2; }
main.pf-d3 .pf-domaine h3 { font-size:clamp(21px,1.9vw,26px); line-height:1.15; letter-spacing:-.02em; }
main.pf-d3 .pf-domaine > p:not(.pf-domaine__produit) { font-size:16px; line-height:1.6; max-width:34em; }
/* ---- la scène : cadre aligné sur le texte, ratio fixe, échelle en em ---- */
main.pf-d3 .pf-domaine__vue { container-type:inline-size; position:relative; width:100%; height:auto; aspect-ratio:46 / 25; margin:0 0 26px; overflow:hidden; border-radius:12px;
  background:radial-gradient(ellipse 80% 90% at 85% 0%,#fff,rgba(255,255,255,0) 65%),#ecebe6; box-shadow:inset 0 0 0 1px rgba(var(--o-ombre),.07); }
main.pf-d3 .pf-domaine__vue::after { display:none; }
main.pf-d3 .sc { position:absolute; inset:0; font-size:calc(100cqw / 46); line-height:1.35; color:#15171a; text-align:left; }
main.pf-d3 .o { position:absolute; background:#fff; border-radius:1em; overflow:hidden; box-shadow:0 0 0 .09em rgba(var(--o-ombre),.08),-.4em .9em 2em -.6em rgba(var(--o-ombre),.35),-1.2em 2.2em 3.6em -1.6em rgba(var(--o-ombre),.35); }
main.pf-d3 .o-hd { display:flex; justify-content:space-between; align-items:center; gap:1em; padding:1em 1.4em; border-bottom:.09em solid #efeee9; font-size:1em; color:#5f6268; white-space:nowrap; }
main.pf-d3 .o-hd b { display:flex; align-items:center; gap:.7em; font-size:1.1em; font-weight:600; color:#15171a; }
main.pf-d3 .o-hd b i { width:1.9em; height:1.9em; border-radius:.5em; background:#15171a; color:#fff; display:grid; place-items:center; font-size:1em; }
main.pf-d3 .o-lg { display:grid; grid-template-columns:2.6em 1fr auto; gap:.9em; align-items:center; padding:.75em 1.4em; border-top:.09em solid #f2f1ed; }
main.pf-d3 .o-lg b { display:block; font-size:1.2em; font-weight:560; white-space:nowrap; } main.pf-d3 .o-lg i { display:block; font-style:normal; font-size:1em; color:#5f6268; white-space:nowrap; }
main.pf-d3 .o-av { width:2.6em; height:2.6em; border-radius:50%; display:grid; place-items:center; background:#f1f0ec; font-size:.95em; font-weight:600; font-style:normal; }
main.pf-d3 .o-av--e { border-radius:.6em; background:#e8e6e0; }
main.pf-d3 .o-pl { padding:.35em .85em; border-radius:99em; background:#f1f0ec; font-size:.95em; font-weight:600; white-space:nowrap; }
main.pf-d3 .o-pl--n { background:#15171a; color:#fff; } main.pf-d3 .o-pl--j { background:#fff3c4; color:#5c4400; }
main.pf-d3 .o-cible { background:#fff6cf; box-shadow:inset .3em 0 0 #ffda1a; }
/* Gipco : une liste d'inscrits et le badge de l'inscrite */
main.pf-d3 .o-liste { left:2.6em; top:2.4em; width:27em; }
main.pf-d3 .o-bilan { left:30.6em; top:6em; width:12.6em; padding:1.2em 1.3em 1.3em; display:grid; gap:.5em; transform:rotate(-3deg); } main.pf-d3 .o-bilan span { font-size:1em; color:#5f6268; } main.pf-d3 .o-bilan b { font:600 1.9em/1 var(--gp-titre); letter-spacing:-.03em; } main.pf-d3 .o-bilan__b { display:block; height:.6em; border-radius:.3em; background:#ecebe6; overflow:hidden; } main.pf-d3 .o-bilan__b u { display:block; height:100%; width:93%; background:#15171a; } main.pf-d3 .o-bilan em { font-style:normal; font-size:1em; color:#5f6268; }
main.pf-d3 .o-badge { left:30.6em; top:5em; width:12.6em; padding:0 0 1.2em; transform:rotate(-4deg); display:grid; text-align:left; }
main.pf-d3 .o-badge::before { content:""; justify-self:center; width:3.4em; height:.6em; margin:.7em 0 .6em; border-radius:1em; background:#d9d7d0; }
main.pf-d3 .o-badge__b { padding:.9em 1.2em; background:#15171a; color:#fff; font-weight:600; font-size:1.1em; }
main.pf-d3 .o-badge b { padding:1em 1.2em 0; font-size:1.7em; line-height:1.1; letter-spacing:-.02em; } main.pf-d3 .o-badge i { padding:.4em 1.2em 0; font-style:normal; font-size:1.05em; color:#5f6268; }
main.pf-d3 .o-badge__q { justify-self:end; margin:1em 1.2em 0 0; width:3.8em; height:3.8em; background:repeating-conic-gradient(#15171a 0 25%,#fff 0 50%) 0 0/1.1em 1.1em; border-radius:.3em; }
/* Web : un vrai site, dans un navigateur */
main.pf-d3 .o-nav { left:3.4em; top:1.8em; width:37.4em; height:30em; }
main.pf-d3 .o-chrome { display:flex; align-items:center; gap:1.4em; height:3.2em; padding:0 1.2em; background:#f1f0ec; border-bottom:.09em solid #e4e2dc; }
main.pf-d3 .o-feux { display:flex; gap:.5em; } main.pf-d3 .o-feux i { width:.9em; height:.9em; border-radius:50%; background:#d6d3cc; }
main.pf-d3 .o-url { flex:1; display:flex; align-items:center; gap:.6em; padding:.4em 1em; border-radius:.7em; background:#fff; font-size:1em; color:#5f6268; } main.pf-d3 .o-url i { font-size:.85em; }
main.pf-d3 .o-site__nav { display:flex; align-items:center; gap:1.6em; padding:1.1em 1.8em; }
main.pf-d3 .o-site__logo { width:6em; height:1.5em; border-radius:.4em; background:#15171a; margin-right:auto; }
main.pf-d3 .o-site__l { width:3.4em; height:.6em; border-radius:.3em; background:#d9d7d0; }
main.pf-d3 .o-site__cta { padding:.45em 1.1em; border-radius:.6em; background:#ffda1a; font-size:.95em; font-weight:600; }
main.pf-d3 .o-hero { display:grid; gap:.7em; margin:0 1.2em; padding:1.8em 2.2em 1.7em; border-radius:.9em; color:#fff;
  background:linear-gradient(100deg,#15171a 35%,#3a3731 100%); }
main.pf-d3 .o-hero b { font:600 2.1em/1.02 var(--gp-titre); letter-spacing:-.03em; max-width:12em; }
main.pf-d3 .o-hero span { font-size:1.05em; color:rgba(255,255,255,.82); max-width:30em; }
main.pf-d3 .o-hero__bt { justify-self:start; margin-top:.5em; padding:.7em 1.4em; border-radius:.7em; background:#ffda1a; color:#15171a; font-style:normal; font-weight:600; font-size:1.05em; }
main.pf-d3 .o-site__cartes { display:grid; grid-template-columns:repeat(3,1fr); gap:1em; padding:1.4em 1.2em; }
main.pf-d3 .o-site__cartes span { height:5.4em; padding:1em; border-radius:.8em; background:#f4f3ef; display:grid; align-content:start; gap:.6em; }
main.pf-d3 .o-site__cartes i { display:block; height:.6em; border-radius:.3em; background:#d9d7d0; } main.pf-d3 .o-site__cartes i + i { width:65%; }
main.pf-d3 .o-etat { right:2.2em; top:1.6em; display:flex; align-items:center; gap:.6em; padding:.6em 1.2em; border-radius:99em; font-size:1.1em; font-weight:600; background:#e5f4ec; color:#0f6a3e; }
main.pf-d3 .o-etat--j { background:#fff3c4; color:#5c4400; top:auto; bottom:1.8em; right:2.4em; }
/* Mail : un courriel d'invitation */
main.pf-d3 .o-mail { left:5.6em; top:1.6em; width:34.6em; }
main.pf-d3 .o-mail__ent { display:flex; align-items:center; gap:1em; padding:.9em 1.4em; font-size:1em; color:#5f6268; border-bottom:.09em solid #efeee9; }
main.pf-d3 .o-dest { display:flex; align-items:center; gap:.6em; padding:.3em .9em .3em .3em; border-radius:99em; font-size:1.15em; font-weight:560; color:#15171a; } main.pf-d3 .o-dest .o-av { width:1.9em; height:1.9em; font-size:.8em; background:#fff; }
main.pf-d3 .o-mail__ent em { margin-left:auto; font-style:normal; }
main.pf-d3 .o-mail__ban { display:grid; gap:.3em; padding:1.3em 2em; background:linear-gradient(100deg,#15171a 35%,#3a3731 100%); color:#fff; }
main.pf-d3 .o-mail__ban b { font:600 2.1em/1 var(--gp-titre); letter-spacing:-.03em; } main.pf-d3 .o-mail__ban span { color:rgba(255,255,255,.82); font-size:1.1em; }
main.pf-d3 .o-mail__tx { display:grid; gap:.6em; padding:1.1em 2em .5em; } main.pf-d3 .o-mail__tx i { display:block; height:.6em; border-radius:.3em; background:#d9d7d0; } main.pf-d3 .o-mail__tx .o-c { width:62%; }
main.pf-d3 .o-mail__bt { display:inline-block; margin:.4em 2em 1.8em; padding:.7em 1.5em; border-radius:.7em; background:#ffda1a; font-weight:600; font-size:1.1em; }
/* Lead : une recherche en langage naturel */
main.pf-d3 .o-rech { left:4.4em; top:2.4em; width:37em; }
main.pf-d3 .o-q { display:flex; align-items:center; gap:.9em; margin:1.1em 1.4em .9em; padding:.9em 1.2em; border-radius:.9em; font-size:1.02em; box-shadow:inset 0 0 0 .14em #15171a; white-space:nowrap; overflow:hidden; }
main.pf-d3 .o-res { display:flex; align-items:baseline; gap:.8em; padding:0 1.4em .9em; } main.pf-d3 .o-res b { font:600 1.9em/1 var(--gp-titre); letter-spacing:-.03em; } main.pf-d3 .o-res span { color:#5f6268; font-size:1.05em; }
/* ---- liaisons : posées dans l'espace entre deux cartes, jamais sur une illustration ---- */
main.pf3.pf-d3 .pf-lien-d { position:absolute !important; grid-row:auto !important; grid-column:auto !important; justify-self:auto; z-index:3; display:grid; place-items:center; width:96px; height:auto; padding:0 !important; }
main.pf-d3 .pf-lien-d span { display:grid; gap:2px; justify-items:center; width:84px; padding:7px 6px; border-radius:12px; text-align:center; white-space:normal; font-size:12px; line-height:1.2; }
main.pf-d3 .pf-lien-d i { font-size:15px; }
main.pf-d3 .pf-lien-d::before { content:""; position:absolute; z-index:-1; border:0; border-top:1.5px dashed rgba(var(--o-ombre),.4); width:96px; left:0; top:50%; }
main.pf-d3 .pf-g .pf-lien-d { right:-96px; top:calc(24px + 12.5cqw); transform:none; }
main.pf-d3 .pf-m .pf-lien-d { left:-96px; top:calc(24px + 12.5cqw); }
main.pf-d3 .pf-w .pf-lien-d { left:50%; bottom:-78px; width:90px; height:78px; margin-left:-45px; }
main.pf-d3 .pf-w .pf-lien-d::before { width:0; height:78px; left:50%; top:0; border-top:0; border-left:1.5px dashed rgba(var(--o-ombre),.4); }
@media (max-width: 1180px) { main.pf-d3 .pf-domaines { gap:78px 80px; } main.pf-d3 .pf-g .pf-lien-d { right:-80px; } main.pf-d3 .pf-m .pf-lien-d { left:-80px; } main.pf-d3 .pf-lien-d { width:80px; } main.pf-d3 .pf-lien-d::before { width:80px; } main.pf-d3 .pf-lien-d span { width:76px; font-size:11.5px; } }
@media (max-width: 960px) {
  main.pf-d3 .pf-domaines { grid-template-columns:minmax(0,1fr); gap:64px; max-width:640px; margin-inline:auto; }
  main.pf3.pf-d3 .pf-domaine.pf-g, main.pf3.pf-d3 .pf-domaine.pf-w, main.pf3.pf-d3 .pf-domaine.pf-m, main.pf3.pf-d3 .pf-domaine.pf-l { grid-column:1 !important; grid-row:auto !important; }
  main.pf3.pf-d3 .pf-domaine.pf-g { order:1; } main.pf3.pf-d3 .pf-domaine.pf-w { order:2; } main.pf3.pf-d3 .pf-domaine.pf-m { order:3; } main.pf3.pf-d3 .pf-domaine.pf-l { order:4; }
  main.pf-d3 .pf-g .pf-lien-d, main.pf-d3 .pf-w .pf-lien-d, main.pf-d3 .pf-m .pf-lien-d { left:50%; right:auto; top:auto; bottom:-64px; width:90px; height:64px; margin-left:-45px; }
  main.pf-d3 .pf-g .pf-lien-d::before, main.pf-d3 .pf-w .pf-lien-d::before, main.pf-d3 .pf-m .pf-lien-d::before { width:0; height:64px; left:50%; top:0; border-top:0; border-left:1.5px dashed rgba(var(--o-ombre),.4); }
}
@media (max-width: 640px) { main.pf-d3 .pf-domaine { padding:16px 16px 22px; } main.pf-d3 .pf-domaine > p:not(.pf-domaine__produit) { font-size:15px; } }
/* respiration entre le texte et le lien du produit */
main.pf-d3 .pf-domaine > p:not(.pf-domaine__produit) { margin-bottom:26px; }
main.pf-d3 .pf-domaine__produit { margin-top:auto; padding-top:16px; }

/* photos du haut et de la fin de page : plus aucun badge ni enveloppe (angle multi-domaines) */
main.pf-d3 .gp-photo { background-image:url(/images/plateforme-v4/heros-1920.webp); background-position:50% 40%; }
main.pf-d3 .gp-photo--fin { background-image:url(/images/plateforme-v4/fin-1600.webp); background-position:30% 50%; }
@media (max-width: 640px) { main.pf-d3 .gp-photo { background-image:url(/images/plateforme-v4/heros-900.webp); background-position:70% 40%; } main.pf-d3 .gp-photo--fin { background-image:url(/images/plateforme-v4/fin-900.webp); background-position:30% 50%; } }
/* l'objet du haut de page se pose sur le plateau libre, jamais sur la personne */
@media (min-width: 1280px) { main.pf-d3 .gp-hero__scene { top:470px; left:max(690px, 47.5vw); width:316px; } }

/* ===== fils sans étiquette entre les cartes voisines : Gipco → Web ↓ Mail ← Lead (grille 3 × 3, pistes de fil de 96 px) ===== */
main.pf3.pf-d3 .pf-domaines { --r:96px; --oy:150px; grid-template-columns:minmax(0,1fr) var(--r) minmax(0,1fr); grid-template-rows:auto var(--r) auto; gap:0; }
main.pf3.pf-d3 .pf-domaine.pf-g { grid-column:1 !important; grid-row:1 !important; } main.pf3.pf-d3 .pf-domaine.pf-w { grid-column:3 !important; grid-row:1 !important; }
main.pf3.pf-d3 .pf-domaine.pf-m { grid-column:3 !important; grid-row:3 !important; } main.pf3.pf-d3 .pf-domaine.pf-l { grid-column:1 !important; grid-row:3 !important; }   /* v4 force grid-row:auto !important sous 1 080 px */
main.pf-d3 .pf-rail { position:relative; display:block; }
main.pf-d3 .pf-rail::before { content:""; position:absolute; }
main.pf-d3 .pf-rail::after { content:""; position:absolute; width:12px; height:12px; border-radius:50%; background:#ffda1a; box-shadow:0 0 0 4px #ecebe6,inset 0 0 0 1px rgba(17,17,18,.2); }
main.pf-d3 .pf-rail--1 { grid-column:2; grid-row:1; } main.pf-d3 .pf-rail--3 { grid-column:2; grid-row:3; }
main.pf-d3 .pf-rail--1::before, main.pf-d3 .pf-rail--3::before { left:0; right:0; top:var(--oy); border-top:1.5px dashed rgba(var(--o-ombre),.45); }
main.pf-d3 .pf-rail--1::after, main.pf-d3 .pf-rail--3::after { left:50%; top:var(--oy); margin:-6px 0 0 -6px; }
main.pf-d3 .pf-rail--2 { grid-column:3; grid-row:2; }
main.pf-d3 .pf-rail--2::before { left:50%; top:0; bottom:0; border-left:1.5px dashed rgba(var(--o-ombre),.45); }
main.pf-d3 .pf-rail--2::after { left:50%; top:50%; margin:-6px 0 0 -6px; }
@media (max-width: 1279px) { main.pf3.pf-d3 .pf-domaines { --oy:134px; } }
@media (max-width: 1179px) { main.pf3.pf-d3 .pf-domaines { --r:80px; --oy:120px; } }
@media (max-width: 960px) {
  main.pf3.pf-d3 .pf-domaines { --r:64px; grid-template-columns:minmax(0,1fr); grid-template-rows:none; }
  main.pf3.pf-d3 .pf-domaine.pf-g, main.pf3.pf-d3 .pf-domaine.pf-w, main.pf3.pf-d3 .pf-domaine.pf-m, main.pf3.pf-d3 .pf-domaine.pf-l, main.pf-d3 .pf-rail { grid-column:1 !important; grid-row:auto !important; }
  main.pf3.pf-d3 .pf-domaine.pf-g { order:1; } main.pf-d3 .pf-rail--1 { order:2; } main.pf3.pf-d3 .pf-domaine.pf-w { order:3; } main.pf-d3 .pf-rail--2 { order:4; } main.pf3.pf-d3 .pf-domaine.pf-m { order:5; } main.pf-d3 .pf-rail--3 { order:6; } main.pf3.pf-d3 .pf-domaine.pf-l { order:7; }
  main.pf-d3 .pf-rail { height:var(--r); }
  main.pf-d3 .pf-rail--1::before, main.pf-d3 .pf-rail--2::before, main.pf-d3 .pf-rail--3::before { left:50%; right:auto; top:0; bottom:0; border-top:0; border-left:1.5px dashed rgba(var(--o-ombre),.45); }
  main.pf-d3 .pf-rail--1::after, main.pf-d3 .pf-rail--2::after, main.pf-d3 .pf-rail--3::after { left:50%; top:50%; margin:-6px 0 0 -6px; }
}

/* couleur de repli sous les dégradés sombres des objets (le blanc du texte se mesure sur l'encre, pas sur le blanc de la page) */
main.pf-d3 .o-hero, main.pf-d3 .o-mail__ban { background-color:#15171a; }
/* le fil de liaison ne doit jamais être écrasé par les règles de la v4 */
main.pf-d3 .pf-rail--1, main.pf-d3 .pf-rail--3 { grid-row:auto; }
main.pf3.pf-d3 .pf-rail--1 { grid-column:2 !important; grid-row:1 !important; } main.pf3.pf-d3 .pf-rail--3 { grid-column:2 !important; grid-row:3 !important; } main.pf3.pf-d3 .pf-rail--2 { grid-column:3 !important; grid-row:2 !important; }
@media (max-width: 960px) { main.pf3.pf-d3 .pf-rail--1, main.pf3.pf-d3 .pf-rail--2, main.pf3.pf-d3 .pf-rail--3 { grid-column:1 !important; grid-row:auto !important; } }

/* Les quatre services de la scène « espace-services » sont de vrais liens : toute la carte se clique (doctrine « ce qui ressemble à un contrôle en est un », DESIGN.md §Affordance) */
main.pf3 a.pf-svc { grid-template-columns:40px 1fr 20px; color:inherit; text-decoration:none; cursor:pointer; transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
main.pf3 a.pf-svc .pf-svc__ic { grid-column:1; grid-row:1 / span 2; }
main.pf3 a.pf-svc > b { grid-column:2; grid-row:1; }
main.pf3 a.pf-svc > span:not(.pf-svc__ic) { grid-column:2; grid-row:2; min-width:0; font-size:12.5px; color:var(--gp-discret); }
main.pf3 a.pf-svc .pf-svc__go { grid-column:3; grid-row:1 / span 2; justify-self:end; font-size:15px; color:var(--gp-discret); transition:transform .18s ease, color .18s ease; }
@media (hover:hover) {
  main.pf3 a.pf-svc:hover { border-color:var(--gp-encre); box-shadow:0 10px 26px -14px rgba(0,0,0,.35); transform:translateY(-1px); }
  main.pf3 a.pf-svc:hover .pf-svc__go { color:var(--gp-encre); transform:translateX(3px); }
}
main.pf3 a.pf-svc:focus-visible { outline:2px solid var(--gp-encre); outline-offset:3px; }
@media (prefers-reduced-motion:reduce) { main.pf3 a.pf-svc, main.pf3 a.pf-svc .pf-svc__go { transition:none; } main.pf3 a.pf-svc:hover { transform:none; } }
