/* POTENTIA — version professionnels (claire, sobre) */
.phero { min-height: 100svh; padding: calc(var(--nav) + 40px) 0 72px; display: flex; align-items: center; background: radial-gradient(1200px 600px at 85% 10%, #dfe6ff, transparent 60%), var(--bg); }
.phero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.phero__copy { display: grid; gap: 26px; justify-items: start; }
.phero h1 { font-size: clamp(38px, 5.4vw, 78px); }
.phero__accent { color: var(--accent); }
.phero__art { border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px #10121666; padding: 12px; }
.net { width: 100%; height: auto; }
.net__links path { stroke: #10121626; stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.net__pkts circle { fill: var(--accent); }
.net__nodes rect { fill: #f2f3f5; stroke: #10121626; stroke-width: 1.5; transition: fill .3s; }
.net__nodes text { font: 700 15px var(--font-t); text-anchor: middle; fill: #101216; }
.net__hub rect { fill: #101216; stroke: none; } .net__hub text { fill: #fff; }
.net__nodes > g { opacity: 0; animation: pop .7s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 500ms); }
.net__nodes > g:nth-child(1) { --d: 0; } .net__nodes > g:nth-child(2) { --d: 1; } .net__nodes > g:nth-child(3) { --d: 2; } .net__nodes > g:nth-child(4) { --d: 3; }
.net__nodes > g:nth-child(5) { --d: 4; } .net__nodes > g:nth-child(6) { --d: 5; } .net__nodes > g:nth-child(7) { --d: 6; } .net__nodes > g:nth-child(8) { --d: 7; }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }

.srv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.srv__list { display: grid; }
.srv__tab { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; text-align: left; padding: 22px 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; transition: padding .4s var(--ease), color .2s; }
.srv__tab:last-child { border-bottom: 1px solid var(--line); }
.srv__n { font: 700 14px/1.8 var(--font-t); color: var(--muted); font-variant-numeric: tabular-nums; }
.srv__tab strong { display: block; font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--font-d); letter-spacing: -0.02em; color: var(--muted); transition: color .3s; }
.srv__tab em { display: grid; grid-template-rows: 0fr; font-style: normal; color: var(--muted); font-size: 16px; overflow: hidden; transition: grid-template-rows .5s var(--ease), margin .5s var(--ease), opacity .4s; opacity: 0; }
.srv__tab em { display: block; max-height: 0; }
.srv__tab.is-on em { max-height: 120px; opacity: 1; margin-top: 8px; transition: max-height .6s var(--ease), opacity .5s .1s, margin .5s var(--ease); }
.srv__tab.is-on strong, .srv__tab:hover strong { color: var(--ink); }
.srv__tab.is-on .srv__n { color: var(--accent); }
.srv__tab.is-on { padding-left: 12px; }
.srv__panel { position: sticky; top: calc(var(--nav) + 24px); aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #e9ebee; border: 1px solid var(--line); }
.srv__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.srv__media.is-on { opacity: 1; transform: none; }

.pband { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--line); }
.steps li { position: relative; display: grid; gap: 10px; padding-right: 12px; }
.steps__n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 800 20px/1 var(--font-d); margin-bottom: 10px; transition: background-color .3s, transform .4s var(--ease); }
.steps li:hover .steps__n { background: var(--accent); transform: scale(1.1); }
.steps p { color: var(--muted); font-size: 16px; }

.pconf { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pconf__side { display: grid; gap: 20px; position: sticky; top: calc(var(--nav) + 24px); }
.pconf__form { padding: clamp(22px, 3vw, 40px); border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.infos { display: grid; gap: 18px; }
.infos dt { font: 700 13px/1 var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.infos a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .phero__in, .srv, .pconf { grid-template-columns: 1fr; }
  .srv__panel { position: relative; top: auto; order: -1; }
  .pconf__side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .net__links path { animation: none; } .net__nodes > g { animation: none; opacity: 1; } .net__pkts { display: none; } }

/* pilule NOBILIA à côté du choix Particuliers / Professionnels (le vert de NOBILIA) */
.pill-nobilia { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 99px; background: #2c3620; color: #f6f5f1; font: 700 13px/1 var(--font-t); letter-spacing: .08em; transition: transform .35s var(--ease), background-color .25s; }
.pill-nobilia:hover { transform: translateY(-2px); background: #3a4729; }
.pill-nobilia:active { transform: scale(.96); }
.pill-nobilia svg { transition: transform .35s var(--ease); }
.pill-nobilia:hover svg { transform: translate(2px, -2px); }
.nav__in { gap: 18px; }
.nav__links .nav__nobilia { display: none; }
@media (max-width: 980px) { .nav__links .nav__nobilia { display: block; color: #2c3620; font-weight: 700; } }
@media (max-width: 640px) { .pill-nobilia { display: none; } }
.nav__links a, .nav .btn { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1240px) { .nav .btn { display: none; } .nav__links { gap: 20px; } }
