/* Palette du site erp-crm.fr : marine #0b4384 (principale), texte #302d2c,
     lilas #d3bee2 (secondaire), fonds #F9F9F9 / #fff.
     L'orange n'est PAS décoratif : c'est le signal « l'outil travaille seul ». */
.dp-socle {
    --bg:        #F9F9F9;
    --surface:   #FFFFFF;
    --surface-2: #F1F3F8;
    --ink:       #302d2c;
    --ink-soft:  #474E59;   /* 7,97:1 — etait #5C6572 a 5,6 */
    --ink-faint: #5C6572;   /* 4,76:1 — etait #8A919C a 3,02, sous le seuil */
    --rule:      #DCE2EC;
    --thread:    #B9C4D6;
    --navy:      #0b4384;
    --navy-hover:#083465;
    --lilac:     #d3bee2;
    --lilac-wash:#F3ECF8;
    --accent:    #ff6900;
    --accent-on: #FFFFFF;
    --accent-wash:#FFF2E8;
    --ok:        #46b450;
    --band-bg:   #0b4384;
    --band-deep: #072e5c;
    --band-ink:  #FFFFFF;
    --band-soft: #b9cbe4;

    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans:  "Open Sans", ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono:  ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;

    --measure: 63ch;
    --gut: clamp(21.25px, 4vw, 42.5px);
  }
.dp-socle * { box-sizing: border-box; }
/* L'attribut hidden n'est applique par le navigateur qu'avec « display:none »
     de sa feuille par defaut : la moindre regle d'auteur qui pose un display le
     bat. Sans cette ligne, .panel-span (flex) et .chips (grid) restaient VISIBLES
     malgre hidden — les trois metiers s'affichaient superposes.
     Constate par GP le 2026-09-01 sur les barres de duree. */
.dp-socle [hidden] { display: none !important; }
.dp-socle {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    margin: 0;
  }
.dp-socle .wrap { max-width: 1326px; margin: 0 auto; padding: 0 var(--gut); }
.dp-socle h1, .dp-socle h2, .dp-socle h3 { font-family: var(--serif); font-weight: 600; text-wrap: balance; margin: 0; letter-spacing: -0.014em; }
/* Fraunces dessine une ligature « ff » fantaisiste (affaire, offre, chiffre…) :
     jugee laide par GP le 03/09. On coupe les ligatures courantes sur tout ce qui
     porte la serif — les lettres restent celles de Fraunces, elles ne se collent plus. */
.dp-socle h1, .dp-socle h2, .dp-socle h3, .dp-socle h4, .dp-socle .brand, .dp-socle .kicker .head, .dp-socle .display { font-variant-ligatures: no-common-ligatures; }
.dp-socle h1 { font-size: clamp(34px, 4vw, 49.3px); line-height: 1.08; }
.dp-socle h2 { font-size: 27.2px; line-height: 1.12; }
.dp-socle h3 { font-size: 27.2px; line-height: 1.3; }
.dp-socle p { margin: 0; max-width: var(--measure); }
.dp-socle .eyebrow {
    font-family: var(--sans); font-size: 17px; letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase; color: var(--ink-soft); margin: 0;
  }
.dp-socle .lede { font-size: 17px; line-height: 1.52; }
.dp-socle .soft { color: var(--ink-soft); }
.dp-socle strong { font-weight: 640; }
/* ---------- En-tête ---------- */
.dp-socle .top { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 23.8px 0 0; }
.dp-socle .brand { font-family: var(--serif); font-size: 27.2px; font-weight: 600; }
.dp-socle .brand span { color: var(--navy); }
.dp-socle .top nav { display: flex; gap: 28.9px; font-family: var(--serif); font-size: 17px; }
.dp-socle .top nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.dp-socle .top nav a:hover, .dp-socle .top nav a:focus-visible { color: var(--ink); }
@media (max-width: 782px) {
  .dp-socle .top nav { display: none; }
}
/* ---------- Hero ---------- */
.dp-socle .hero { padding: clamp(47.6px, 7vw, 93.5px) 0 clamp(44.2px, 5vw, 68px); }
.dp-socle .hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(34px, 5vw, 76.5px); align-items: center; }
@media (max-width: 1020px) {
  .dp-socle .hero-grid { grid-template-columns: 1fr; }
}
/* Le chapeau du hero porte le mot de categorie (« ERP ») : c'est le seul de la
     page qu'on met en relief, en etiquette marine — pas en changeant sa taille. */
.dp-socle .hero .eyebrow {
    display: block; width: fit-content; max-width: 100%;
    margin: 0 auto clamp(47.6px, 7vw, 93.5px);   /* meme valeur que le padding haut
                                                    du hero : l'etiquette tombe a
                                                    egale distance du menu et du titre */
    background: var(--navy); color: #fff;
    padding: 8.5px 18.7px;
    font-size: 51px;              /* 3x le texte courant (demande GP) */
    line-height: 1.15;
    letter-spacing: 0.02em;       /* resserre : a cette taille, 0.08em etalait trop */
    text-align: center; text-wrap: balance;
  }
@media (max-width: 782px) {
  .dp-socle .hero .eyebrow { font-size: 28.9px; }
}
.dp-socle .hero .lede { margin-top: 25.5px; max-width: 50ch; color: var(--ink-soft); }
.dp-socle .hero .lede strong { color: var(--ink); }
.dp-socle .kicker { margin-top: 32.3px; padding-top: 22.1px; border-top: 1px solid var(--rule); display: grid; gap: 7.65px; max-width: 50ch; }
.dp-socle .kicker .head { font-family: var(--serif); font-size: 27.2px; font-weight: 600; }
.dp-socle .kicker p { font-size: 17px; }
.dp-socle .cta-row { display: flex; flex-wrap: wrap; gap: 12.75px; margin-top: 32.3px; }
.dp-socle .btn {
    display: inline-flex; align-items: center; gap: 9.35px;
    font: inherit; font-size: 17px; font-weight: 560;
    padding: 13.6px 23.8px; border: 1px solid transparent; cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  }
.dp-socle .btn-primary { background: var(--navy); color: #fff; }
.dp-socle .btn-primary:hover { background: var(--navy-hover); transform: translateY(-1px); }
.dp-socle .btn-ghost { border-color: var(--rule); color: var(--ink); background: var(--surface); }
.dp-socle .btn-ghost:hover { border-color: var(--ink-faint); transform: translateY(-1px); }
.dp-socle .btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .js .dp-socle .hero .in { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.6,.2,1) forwards; }
  .js .dp-socle .hero .in-1 { animation-delay: .05s; }
  .js .dp-socle .hero .in-2 { animation-delay: .18s; }
  .js .dp-socle .hero .in-3 { animation-delay: .32s; }
  .js .dp-socle .hero .in-4 { animation-delay: .46s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
/* le circuit — « l'information voyage » */
.dp-socle .circuit svg { display: block; width: 100%; height: auto; }
.dp-socle .circuit .lane { stroke: var(--thread); stroke-width: 2; fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .dp-socle .circuit .lane { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s .5s ease forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.dp-socle .circuit .st { fill: var(--surface); stroke: var(--rule); stroke-width: 1.5; transition: stroke .3s ease; }
.dp-socle .circuit .st-lbl { fill: var(--ink); font: 600 13px var(--sans); }
.dp-socle .circuit .st-sub { fill: var(--ink-soft); font: 500 13px var(--sans); letter-spacing: .02em; }
.dp-socle .circuit g.hot .st { stroke: var(--accent); stroke-width: 2; }
.dp-socle .circuit .mote { fill: var(--accent); }
.dp-socle .circuit-cap { display: flex; align-items: center; gap: 10.2px; margin-top: 15.3px; font-size: 17px; color: var(--ink-soft); }
.dp-socle .circuit-cap .dot { width: 10.54px; height: 10.54px; border-radius: 50%; background: var(--accent); flex: none; }
/* ---------- Sections ---------- */
.dp-socle section { padding: clamp(51px, 7vw, 91.8px) 0; border-top: 1px solid var(--rule); }
.dp-socle .sec-head { display: grid; gap: 14.45px; margin-bottom: 37.4px; }
.dp-socle .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .dp-socle .rise { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .dp-socle .rise.seen { opacity: 1; transform: none; }
}
/* ---------- Questions ---------- */
.dp-socle .qa-list { display: grid; gap: clamp(34px, 4vw, 49.3px); margin-top: 40.8px; }
.dp-socle .qa-item { border-left: 3px solid var(--navy); padding-left: clamp(17px, 2.5vw, 28.9px); }
.dp-socle .qa-item h2 { font-size: 27.2px; margin-bottom: 11.9px; }
.dp-socle .qa-item p { color: var(--ink-soft); }
.dp-socle .qa-item p + p { margin-top: 11.9px; }
.dp-socle .qa-item strong { color: var(--ink); }
.dp-socle .qa-item ul { margin: 13.6px 0 0; padding-left: 18.7px; color: var(--ink-soft); display: grid; gap: 5.95px; max-width: var(--measure); }
/* ---------- Bande finale ---------- */
.dp-socle .final { background: var(--band-bg); color: var(--band-ink); border-top: 0; text-align: center; }
.dp-socle .final h2 { color: var(--band-ink); }
.dp-socle .final .soft { color: var(--band-soft); margin-left: auto; margin-right: auto; }
.dp-socle .final .cta-row { justify-content: center; }
.dp-socle .final .btn-primary { background: #fff; color: var(--band-bg); }
.dp-socle .final .btn-primary:hover { background: #e9eef7; }
.dp-socle .final .btn-ghost { background: transparent; border-color: var(--band-soft); color: var(--band-ink); }
.dp-socle .final .btn-ghost:hover { border-color: #fff; }
