/* =========================================================
   ATLAS NUMÉRIQUE — PORTFOLIO
   ========================================================= */

.portfolio-page {
  background: var(--paper);
}

.portfolio-hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 58px);
  padding-bottom: 64px;
  color: var(--ice);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(94,124,255,.24), transparent 29%),
    radial-gradient(circle at 10% 8%, rgba(255,107,74,.075), transparent 22%),
    linear-gradient(145deg, #06101d, #07111f 68%);
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 96%);
}

.portfolio-hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--header-h) - 122px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr);
  align-items: center;
  gap: 56px;
}

.portfolio-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  color: var(--blue-2);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portfolio-eyebrow > span {
  width: 28px;
  height: 2px;
  background: var(--coral);
}

.portfolio-hero h1 {
  max-width: 900px;
  margin: 19px 0 0;
  font-size: clamp(3.5rem, 6.15vw, 6.8rem);
  line-height: .9;
  letter-spacing: -.066em;
  text-wrap: balance;
}

.portfolio-hero h1 em {
  display: block;
  color: transparent;
  font-style: normal;
  background: linear-gradient(95deg, var(--blue-2), #8fd5ff 43%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-hero-lead {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.76;
}

.portfolio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portfolio-hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin-top: 38px;
  border-top: 1px solid var(--line-dark);
}

.portfolio-hero-points > div {
  padding: 18px 18px 0 0;
  border-right: 1px solid var(--line-dark);
}

.portfolio-hero-points > div + div {
  padding-left: 18px;
}

.portfolio-hero-points > div:last-child {
  border-right: 0;
}

.portfolio-hero-points strong,
.portfolio-hero-points span {
  display: block;
}

.portfolio-hero-points strong {
  color: var(--ice);
  font-size: .8rem;
}

.portfolio-hero-points span {
  margin-top: 5px;
  color: rgba(237,244,255,.42);
  font-size: .68rem;
}

/* Hero visual */
.portfolio-hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.portfolio-orbit {
  position: absolute;
  border: 1px solid rgba(94,124,255,.18);
  border-radius: 50%;
}

.portfolio-orbit.orbit-one {
  width: 400px;
  height: 400px;
}

.portfolio-orbit.orbit-two {
  width: 555px;
  height: 555px;
  border-color: rgba(237,244,255,.08);
}

.portfolio-console {
  position: relative;
  z-index: 3;
  width: min(555px, 94%);
  min-height: 430px;
  padding: 22px;
  border: 1px solid rgba(237,244,255,.14);
  border-radius: 25px;
  background:
    radial-gradient(circle at 82% 13%, rgba(94,124,255,.15), transparent 35%),
    #091624;
  box-shadow: 0 35px 100px rgba(1,7,16,.46);
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
  will-change: transform;
}

.portfolio-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  color: rgba(237,244,255,.36);
  border-bottom: 1px solid rgba(237,244,255,.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .66rem;
}

.portfolio-console-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 14px var(--coral);
}

.portfolio-console-title {
  padding: 20px 0 10px;
}

.portfolio-console-title small,
.portfolio-console-title strong {
  display: block;
}

.portfolio-console-title small {
  color: var(--blue-2);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-console-title strong {
  margin-top: 7px;
  color: var(--ice);
  font-size: 1.18rem;
}

.portfolio-console-map {
  position: relative;
  height: 250px;
  overflow: hidden;
  border: 1px solid rgba(237,244,255,.07);
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(94,124,255,.15), transparent 34%),
    rgba(255,255,255,.02);
}

.portfolio-console-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-console-map path {
  stroke: rgba(94,124,255,.24);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
}

.map-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(94,124,255,.34);
  border-radius: 34px;
  background: linear-gradient(145deg, #152a47, #0a1728);
  box-shadow: 0 0 55px rgba(94,124,255,.22);
  transform: translate(-50%, -50%);
}

.map-core img {
  width: 48px;
}

.map-core strong {
  margin-top: 8px;
  color: var(--ice);
  font-size: .7rem;
  letter-spacing: .16em;
}

.map-node {
  position: absolute;
  z-index: 4;
  width: 92px;
  padding: 10px;
  color: var(--ice);
  text-align: left;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: rgba(11,23,40,.9);
  cursor: pointer;
  transition: .2s ease;
}

.map-node:hover {
  border-color: rgba(94,124,255,.48);
  transform: translateY(-3px);
}

.map-node span,
.map-node small {
  display: block;
}

.map-node span {
  font-size: .72rem;
  font-weight: 900;
}

.map-node small {
  margin-top: 3px;
  color: rgba(237,244,255,.38);
  font-size: .54rem;
}

/* Positions limitées au schéma Portfolio.
   Le nom générique `.node-site` était aussi utilisé par l'accueil,
   qui lui imposait `left: 46%` sur mobile. */
.portfolio-console-map .node-active {
  top: 25px;
  right: auto;
  bottom: auto;
  left: 18px;
}

.portfolio-console-map .node-site {
  top: 25px;
  right: 18px;
  bottom: auto;
  left: auto;
}

.portfolio-console-map .node-progress {
  top: auto;
  right: 20px;
  bottom: 24px;
  left: auto;
}

.portfolio-console-map .node-lab {
  top: auto;
  right: auto;
  bottom: 24px;
  left: 20px;
}

.portfolio-console-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 17px;
  color: rgba(237,244,255,.4);
  font-size: .65rem;
}


/* Status strip */
.portfolio-status-strip {
  color: var(--ice);
  background: var(--steel);
  border-top: 1px solid rgba(237,244,255,.07);
  border-bottom: 1px solid rgba(237,244,255,.07);
}

.status-strip-grid {
  min-height: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.status-strip-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 66px;
  border-right: 1px solid rgba(237,244,255,.08);
}

.status-strip-grid > div:last-child {
  border-right: 0;
}

.status-strip-grid span {
  color: rgba(237,244,255,.57);
  font-size: .65rem;
  font-weight: 780;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-dot.live { background: #63e6a4; box-shadow: 0 0 12px rgba(99,230,164,.6); }
.status-dot.evolving { background: #7f94ff; box-shadow: 0 0 12px rgba(127,148,255,.6); }
.status-dot.progress { background: var(--coral); box-shadow: 0 0 12px rgba(255,107,74,.6); }
.status-dot.lab { background: #8fd5ff; box-shadow: 0 0 12px rgba(143,213,255,.6); }

/* Principles */
.portfolio-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio-principle {
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.8);
  box-shadow: 0 18px 60px rgba(20,35,60,.05);
}

.portfolio-principle.is-accent {
  color: var(--ice);
  background:
    radial-gradient(circle at 90% 0, rgba(94,124,255,.24), transparent 34%),
    linear-gradient(145deg, #0b1c31, #07111f);
  border-color: var(--line-dark);
}

.portfolio-principle > span {
  color: var(--blue);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.portfolio-principle.is-accent > span {
  color: var(--coral);
}

.portfolio-principle h3 {
  margin: 70px 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.portfolio-principle p {
  margin: 0;
  color: var(--muted-dark);
  font-size: .9rem;
  line-height: 1.75;
}

.portfolio-principle.is-accent p {
  color: var(--muted);
}

/* Project section */
.portfolio-projects {
  color: var(--ice);
  background:
    radial-gradient(circle at 88% 8%, rgba(94,124,255,.14), transparent 26%),
    linear-gradient(145deg, #081321, #07111f);
}

.portfolio-projects-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.portfolio-projects-head h2 {
  max-width: 850px;
  margin: 12px 0 0;
  font-size: clamp(2.55rem, 5vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.portfolio-filter {
  min-height: 42px;
  padding: 10px 15px;
  color: rgba(237,244,255,.5);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: .2s ease;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
  color: var(--ice);
  border-color: rgba(94,124,255,.42);
  background: rgba(94,124,255,.1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.035);
  transition: opacity .25s ease, transform .25s ease;
}

.portfolio-card[hidden] {
  display: none;
}

.portfolio-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
  min-height: 550px;
}

.portfolio-card-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  will-change: transform;
}

.portfolio-card-wide .portfolio-card-visual {
  min-height: 550px;
}

.portfolio-card-copy {
  padding: 30px;
}

.portfolio-card-wide .portfolio-card-copy {
  align-self: center;
  padding: 44px;
}

.portfolio-card-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.project-status,
.project-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-status {
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.03);
}

.project-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-live { color: #8eeab9; }
.status-live i { background: #63e6a4; box-shadow: 0 0 10px rgba(99,230,164,.65); }

.status-evolving { color: #9eafff; }
.status-evolving i { background: var(--blue-2); box-shadow: 0 0 10px rgba(127,148,255,.65); }

.status-progress { color: #ff9f89; }
.status-progress i { background: var(--coral); box-shadow: 0 0 10px rgba(255,107,74,.65); }

.status-lab { color: #a9e2ff; }
.status-lab i { background: #8fd5ff; box-shadow: 0 0 10px rgba(143,213,255,.65); }

.project-type {
  color: rgba(237,244,255,.4);
  background: rgba(255,255,255,.025);
}

.portfolio-card-copy h3 {
  margin: 22px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3.85rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.portfolio-card:not(.portfolio-card-wide) .portfolio-card-copy h3 {
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
}

.portfolio-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.portfolio-tags span {
  padding: 7px 9px;
  color: rgba(237,244,255,.43);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-detail-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  color: var(--blue-2);
  border: 0;
  background: transparent;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}

.project-detail-button span {
  transition: transform .2s ease;
}

.project-detail-button:hover span {
  transform: translateX(5px);
}

/* LMK app visual */
.visual-lmk {
  display: grid;
  place-items: center;
  padding: 38px;
  background:
    radial-gradient(circle at 18% 15%, rgba(94,124,255,.38), transparent 28%),
    linear-gradient(145deg, #0d213b, #07111f);
}

.portfolio-app-frame {
  width: min(760px, 100%);
  height: 72%;
  min-height: 355px;
  display: grid;
  grid-template-columns: 76px 1fr;
  overflow: hidden;
  border: 1px solid rgba(237,244,255,.14);
  border-radius: 22px;
  background: #0b1728;
  box-shadow: 0 34px 90px rgba(2,8,17,.42);
  transform: perspective(1100px) rotateY(-5deg) rotateX(3deg);
}

.portfolio-app-frame > aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  padding: 18px 12px;
  background: #091321;
  border-right: 1px solid rgba(237,244,255,.07);
}

.portfolio-app-frame > aside i {
  width: 29px;
  height: 8px;
  border-radius: 999px;
  background: rgba(237,244,255,.12);
}

.portfolio-app-frame > aside i:first-of-type {
  background: var(--blue);
}

.portfolio-app-frame > main {
  display: grid;
  grid-template-rows: 60px 88px 1fr;
  gap: 13px;
  padding: 14px;
}

.portfolio-app-frame header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px;
  border-radius: 13px;
  background: #101f34;
}

.portfolio-app-frame header span {
  width: 118px;
  height: 10px;
  border-radius: 999px;
  background: rgba(237,244,255,.14);
}

.portfolio-app-frame header b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral);
}

.app-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.app-kpis i {
  border-radius: 13px;
  background: linear-gradient(145deg, #132641, #102039);
}

.app-kpis i:first-child {
  background: linear-gradient(145deg, var(--blue), #4567f3);
}

.app-workspace {
  display: grid;
  grid-template-columns: 1fr .48fr;
  gap: 10px;
}

.app-calendar,
.app-side-panel {
  border-radius: 14px;
  background: #0f1e32;
}

.app-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 10px;
}

.app-calendar i {
  border-radius: 6px;
  background: rgba(237,244,255,.06);
}

.app-calendar i:nth-child(3),
.app-calendar i:nth-child(7) {
  background: rgba(94,124,255,.32);
}

.app-side-panel {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 12px;
}

.app-side-panel i {
  height: 27px;
  border-radius: 7px;
  background: rgba(237,244,255,.07);
}

/* Maison de Kaïl */
.visual-maison {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 76% 15%, rgba(200,166,116,.24), transparent 28%),
    linear-gradient(145deg, #17202a, #0a1017);
}

.site-window {
  width: 88%;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: #f3eee7;
  box-shadow: 0 28px 70px rgba(0,0,0,.38);
  transform: rotate(-2deg);
}

.site-window-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #151b21;
}

.site-window-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}

.site-window-bar i:first-child {
  background: #c7a574;
}

.site-window-hero {
  min-height: 165px;
  padding: 25px;
  background:
    radial-gradient(circle at 80% 20%, rgba(199,165,116,.18), transparent 28%),
    #ede5db;
}

.site-window-hero small {
  color: #8b6c44;
  font-size: .54rem;
  letter-spacing: .13em;
}

.site-window-hero strong {
  display: block;
  margin-top: 10px;
  color: #20252a;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: .9;
}

.site-window-hero span {
  display: block;
  width: 54%;
  height: 7px;
  margin-top: 15px;
  border-radius: 999px;
  background: #d2c8ba;
}

.site-window-hero button {
  display: block;
  width: 83px;
  height: 27px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: #20252a;
}

.site-window-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.site-window-cards i {
  height: 60px;
  border-radius: 10px;
  background: #ded4c6;
}

/* Frères Plombiers */
.visual-freres {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 18%, rgba(255,107,74,.22), transparent 28%),
    linear-gradient(145deg, #11243e, #07111f);
}

.phone-demo {
  position: absolute;
  left: 15%;
  width: 160px;
  height: 292px;
  padding: 39px 15px 15px;
  overflow: hidden;
  border: 5px solid #080e16;
  border-radius: 32px;
  background: #f2f6fb;
  box-shadow: 0 26px 65px rgba(0,0,0,.4);
  transform: rotate(-4deg);
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 66px;
  height: 16px;
  border-radius: 999px;
  background: #080e16;
  transform: translateX(-50%);
}

.phone-demo > strong {
  color: var(--night);
  font-size: 1.08rem;
  line-height: .9;
}

.phone-demo > span {
  display: block;
  width: 70%;
  height: 7px;
  margin-top: 16px;
  border-radius: 999px;
  background: #d1dae6;
}

.phone-demo > button {
  width: 84px;
  height: 29px;
  margin-top: 19px;
  border: 0;
  border-radius: 9px;
  background: var(--coral);
}

.phone-service {
  height: 104px;
  margin-top: 22px;
  border-radius: 14px;
  background: #e2e9f1;
}

.planning-demo {
  position: absolute;
  right: 9%;
  width: 225px;
  min-height: 165px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(11,23,40,.94);
  box-shadow: 0 25px 65px rgba(0,0,0,.34);
  transform: rotate(3deg);
}

.planning-demo header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 11px;
  color: var(--ice);
  border-bottom: 1px solid var(--line-dark);
  font-size: .7rem;
}

.planning-demo header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.planning-demo > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.planning-demo > div i {
  height: 95px;
  border-radius: 7px;
  background: rgba(237,244,255,.055);
}

.planning-demo > div i:nth-child(2),
.planning-demo > div i:nth-child(4) {
  background: rgba(94,124,255,.27);
}

/* Club */
.visual-club {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(94,124,255,.24), transparent 30%),
    linear-gradient(145deg, #0c1c31, #07111f);
}

.club-orbit {
  position: absolute;
  border: 1px solid rgba(94,124,255,.2);
  border-radius: 50%;
}

.orbit-club-a { width: 280px; height: 280px; }
.orbit-club-b { width: 390px; height: 390px; border-color: rgba(237,244,255,.07); }

.club-panel {
  position: relative;
  z-index: 2;
  width: 230px;
  padding: 25px;
  border: 1px solid var(--line-dark);
  border-radius: 21px;
  background: rgba(11,23,40,.92);
  box-shadow: 0 27px 70px rgba(0,0,0,.35);
}

.club-panel small,
.club-panel strong,
.club-panel > span {
  display: block;
}

.club-panel small {
  color: var(--blue-2);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.club-panel strong {
  margin: 13px 0 23px;
  color: var(--ice);
  font-size: 1.4rem;
}

.club-panel > span {
  height: 9px;
  margin-top: 9px;
  border-radius: 999px;
  background: rgba(237,244,255,.08);
}

.club-panel > span:nth-of-type(2) { width: 72%; }
.club-panel > span:nth-of-type(3) { width: 48%; background: var(--coral); }

.club-panel button {
  width: 100%;
  height: 31px;
  margin-top: 21px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
}

/* Delices */
.visual-delices {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 75% 15%, rgba(234,174,121,.24), transparent 28%),
    linear-gradient(145deg, #402a25, #1d1513);
}

.delices-screen {
  width: 84%;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 19px;
  background: #fff8f1;
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
  transform: rotate(2deg);
}

.delices-screen header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  color: #6e4032;
  border-bottom: 1px solid #f0ded1;
  font-family: Georgia, serif;
  font-size: .72rem;
  font-weight: 700;
}

.delices-screen header i {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #d68c66;
}

.delices-product {
  display: grid;
  grid-template-columns: 42% 1fr;
  grid-template-rows: auto auto auto;
  gap: 10px 15px;
  padding: 20px;
}

.delices-product > div {
  grid-row: span 3;
  min-height: 158px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 42%, #e7b681 0 18%, transparent 19%),
    radial-gradient(circle at 44% 50%, #c7784e 0 12%, transparent 13%),
    #f0dfcf;
}

.delices-product strong {
  width: 78%;
  height: 22px;
  border-radius: 5px;
  background: #63392e;
}

.delices-product span {
  width: 64%;
  height: 7px;
  border-radius: 999px;
  background: #e5cfc0;
}

.delices-product button {
  width: 90px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #d68c66;
}

.delices-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-bottom: 15px;
}

.delices-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e4caba;
}

.delices-dots i:first-child {
  background: #d68c66;
}

/* Human */
.visual-human {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(94,124,255,.25), transparent 30%),
    linear-gradient(145deg, #0a1a2d, #050c15);
}

.human-radar {
  position: absolute;
  border: 1px solid rgba(94,124,255,.2);
  border-radius: 50%;
}

.radar-a { width: 280px; height: 280px; }
.radar-b { width: 390px; height: 390px; border-color: rgba(237,244,255,.07); }

.human-model {
  position: relative;
  width: 130px;
  height: 250px;
  filter: drop-shadow(0 0 25px rgba(94,124,255,.35));
}

.human-model i {
  position: absolute;
  display: block;
  background: linear-gradient(180deg, #a4b2ff, #5e7cff);
}

.human-model .head {
  top: 0;
  left: 48px;
  width: 34px;
  height: 42px;
  border-radius: 50% 50% 45% 45%;
}

.human-model .torso {
  top: 48px;
  left: 37px;
  width: 56px;
  height: 91px;
  border-radius: 28px 28px 19px 19px;
}

.human-model .arm {
  top: 55px;
  width: 19px;
  height: 115px;
  border-radius: 999px;
}

.human-model .arm-left { left: 13px; transform: rotate(8deg); }
.human-model .arm-right { right: 13px; transform: rotate(-8deg); }

.human-model .leg {
  top: 133px;
  width: 23px;
  height: 116px;
  border-radius: 999px;
}

.human-model .leg-left { left: 38px; transform: rotate(3deg); }
.human-model .leg-right { right: 38px; transform: rotate(-3deg); }

.human-panel {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 130px;
  padding: 13px;
  border: 1px solid var(--line-dark);
  border-radius: 15px;
  background: rgba(11,23,40,.9);
}

.human-panel span,
.human-panel strong,
.human-panel i {
  display: block;
}

.human-panel span {
  color: rgba(237,244,255,.36);
  font-size: .53rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.human-panel strong {
  margin-top: 5px;
  color: var(--ice);
  font-size: .78rem;
}

.human-panel i {
  height: 5px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(237,244,255,.08);
}

.human-panel i:nth-of-type(2) { width: 72%; background: var(--blue); }
.human-panel i:nth-of-type(3) { width: 54%; }

/* Solar */
.visual-solar {
  display: grid;
  place-items: center;
  min-height: 550px;
  background:
    radial-gradient(circle at center, rgba(131,88,255,.22), transparent 28%),
    linear-gradient(145deg, #0e0b18, #050609);
}

.solar-system {
  position: relative;
  width: 450px;
  height: 450px;
  display: grid;
  place-items: center;
}

.sun {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, #ffd98a 12%, #ff8d4f 45%, #b43d17 75%);
  box-shadow: 0 0 55px rgba(255,141,79,.72), 0 0 120px rgba(255,107,74,.18);
}

.planet-orbit {
  position: absolute;
  border: 1px solid rgba(237,244,255,.13);
  border-radius: 50%;
}

.planet-orbit i {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 12px rgba(127,148,255,.5);
}

.planet-orbit.orbit-1 { width: 150px; height: 150px; }
.planet-orbit.orbit-2 { width: 235px; height: 235px; }
.planet-orbit.orbit-3 { width: 325px; height: 325px; }
.planet-orbit.orbit-4 { width: 430px; height: 430px; }

.planet-orbit.orbit-2 i { background: var(--coral); }
.planet-orbit.orbit-3 i { background: #8fd5ff; }
.planet-orbit.orbit-4 i { width: 17px; height: 17px; background: #d2b0ff; }

.solar-panel {
  position: absolute;
  left: 40px;
  bottom: 38px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 17px;
  background: rgba(7,8,14,.78);
  backdrop-filter: blur(12px);
}

.solar-panel small,
.solar-panel strong,
.solar-panel span {
  display: block;
}

.solar-panel small {
  color: #8fd5ff;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.solar-panel strong {
  margin-top: 6px;
  color: var(--ice);
  font-size: 1.05rem;
}

.solar-panel span {
  margin-top: 6px;
  color: rgba(237,244,255,.38);
  font-size: .6rem;
}

.portfolio-empty {
  margin-top: 30px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-dark);
  border-radius: 18px;
}

/* Focus */
.portfolio-focus {
  background: #eaf0f7;
  border-top: 1px solid rgba(16,24,39,.06);
  border-bottom: 1px solid rgba(16,24,39,.06);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.focus-card {
  min-height: 235px;
  padding: 25px;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
}

.focus-card span {
  color: var(--coral);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.focus-card h3 {
  margin: 70px 0 10px;
  font-size: 1.35rem;
}

.focus-card p {
  margin: 0;
  color: var(--muted-dark);
  font-size: .84rem;
  line-height: 1.65;
}

/* Process card */
.portfolio-process {
  padding-top: 20px;
}

.portfolio-process-card {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr);
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(20,35,60,.09);
}

.portfolio-process-copy {
  align-self: center;
  padding: clamp(38px, 6vw, 78px);
}

.portfolio-process-copy h2 {
  margin: 14px 0 25px;
  font-size: clamp(2.4rem, 4.5vw, 4.9rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.portfolio-process-copy p {
  color: var(--muted-dark);
  line-height: 1.78;
}

.portfolio-process-copy .button {
  margin-top: 22px;
}

.portfolio-process-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 55px;
  color: var(--ice);
  background:
    radial-gradient(circle at 55% 40%, rgba(94,124,255,.22), transparent 30%),
    linear-gradient(145deg, #0c1c31, #07111f);
}

.process-path {
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 88px;
  width: 1px;
  background: linear-gradient(var(--blue), rgba(94,124,255,.2), var(--coral));
}

.portfolio-process-visual article {
  position: relative;
  z-index: 2;
  min-height: 74px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 17px;
  background: rgba(255,255,255,.035);
}

.portfolio-process-visual article span {
  color: var(--blue-2);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.portfolio-process-visual article strong {
  font-size: 1rem;
}

/* CTA */
.portfolio-cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  color: var(--ice);
  background:
    radial-gradient(circle at 10% 10%, rgba(94,124,255,.22), transparent 28%),
    linear-gradient(145deg, #0a182b, #07111f);
}

.portfolio-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

.portfolio-cta-glow {
  position: absolute;
  right: -180px;
  bottom: -280px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,74,.19), transparent 66%);
}

.portfolio-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  align-items: end;
  gap: 70px;
}

.portfolio-cta-inner h2 {
  max-width: 900px;
  margin: 14px 0 22px;
  font-size: clamp(2.7rem, 5.2vw, 5.7rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.portfolio-cta-inner p {
  max-width: 730px;
  color: var(--muted);
  line-height: 1.78;
}

.portfolio-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.portfolio-cta-actions > a:not(.button) {
  color: rgba(237,244,255,.6);
  font-size: .82rem;
  text-decoration: none;
}

/* Dialog */
.project-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  color: var(--ink);
  border: 1px solid rgba(237,244,255,.14);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(1,7,16,.55);
}

.project-dialog::backdrop {
  background: rgba(2,8,17,.78);
  backdrop-filter: blur(10px);
}

.dialog-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ice);
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: rgba(7,17,31,.78);
  font-size: 1.35rem;
  cursor: pointer;
}

.dialog-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  min-height: 610px;
}

.dialog-visual {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 40px;
  color: var(--ice);
  background:
    radial-gradient(circle at center, rgba(94,124,255,.24), transparent 30%),
    linear-gradient(145deg, #0c1c31, #07111f);
}

.dialog-symbol {
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94,124,255,.32);
  border-radius: 42px;
  background: linear-gradient(145deg, #152a47, #0a1728);
  box-shadow: 0 0 65px rgba(94,124,255,.2);
  font-size: 2.1rem;
  font-weight: 950;
  letter-spacing: -.05em;
}

.dialog-visual > span {
  padding: 8px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(237,244,255,.56);
  background: rgba(255,255,255,.03);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dialog-copy {
  padding: 56px;
}

.dialog-kicker {
  color: var(--blue);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin: 13px 0 20px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.dialog-copy > p {
  color: var(--muted-dark);
  line-height: 1.78;
}

.dialog-details {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line-light);
}

.dialog-details > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-light);
}

.dialog-details strong {
  color: var(--ink);
  font-size: .82rem;
}

.dialog-details p {
  margin: 0;
  color: var(--muted-dark);
  font-size: .86rem;
  line-height: 1.65;
}

.dialog-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.dialog-features span {
  padding: 7px 9px;
  color: var(--muted-dark);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--paper);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dialog-note {
  margin-top: 26px;
  padding: 14px 16px;
  color: var(--muted-dark);
  border-left: 3px solid var(--coral);
  background: var(--paper);
  font-size: .76rem;
  line-height: 1.6;
}

/* Compact desktop */
@media (min-width: 1121px) and (max-height: 900px) {
  .portfolio-hero {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 35px;
  }

  .portfolio-hero-grid {
    min-height: calc(100svh - var(--header-h) - 69px);
    gap: 38px;
  }

  .portfolio-eyebrow {
    margin-top: 19px;
  }

  .portfolio-hero h1 {
    font-size: clamp(3.2rem, 5.35vw, 5.85rem);
  }

  .portfolio-hero-lead {
    margin-top: 18px;
    font-size: .98rem;
    line-height: 1.62;
  }

  .portfolio-hero-actions {
    margin-top: 20px;
  }

  .portfolio-hero-points {
    margin-top: 25px;
  }

  .portfolio-hero-visual {
    min-height: 510px;
  }

  .portfolio-console {
    width: min(500px, 92%);
    min-height: 385px;
  }

  .portfolio-console-map {
    height: 210px;
  }

  .portfolio-orbit.orbit-one {
    width: 350px;
    height: 350px;
  }

  .portfolio-orbit.orbit-two {
    width: 480px;
    height: 480px;
  }

  .float-live { top: 38px; }
  .float-progress { bottom: 45px; }
}

/* Responsive preparation */
@media (max-width: 1120px) {
  .portfolio-hero-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-hero-copy {
    max-width: 900px;
  }

  .portfolio-hero-visual {
    min-height: 570px;
  }

  .portfolio-card-wide {
    grid-template-columns: 1fr;
  }

  .portfolio-card-wide .portfolio-card-visual {
    min-height: 500px;
  }

  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .dialog-visual {
    min-height: 330px;
  }
}

@media (max-width: 900px) {
  .status-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-strip-grid > div:nth-child(2) {
    border-right: 0;
  }

  .status-strip-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(237,244,255,.08);
  }

  .portfolio-principles,
  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-projects-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-filters {
    justify-content: flex-start;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card-wide {
    grid-column: auto;
  }

  .portfolio-process-card,
  .portfolio-cta-inner {
    grid-template-columns: 1fr;
  }

  .portfolio-process-visual {
    min-height: 470px;
  }
}

@media (max-width: 660px) {
  .portfolio-hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 43px);
    padding-bottom: 50px;
  }

  .portfolio-hero h1 {
    font-size: clamp(2.9rem, 14.4vw, 4.3rem);
  }

  .portfolio-hero-actions {
    display: grid;
  }

  .portfolio-hero-points {
    grid-template-columns: 1fr;
  }

  .portfolio-hero-points > div,
  .portfolio-hero-points > div + div {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .portfolio-hero-points > div:last-child {
    border-bottom: 0;
  }

  .portfolio-hero-visual {
    min-height: 500px;
    margin: -30px -38px;
    transform: scale(.82);
  }

  .portfolio-console {
    transform: none;
  }

  .status-strip-grid,
  .portfolio-principles,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .status-strip-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(237,244,255,.08);
  }

  .portfolio-card-copy,
  .portfolio-card-wide .portfolio-card-copy {
    padding: 24px;
  }

  .portfolio-card-visual,
  .portfolio-card-wide .portfolio-card-visual {
    min-height: 390px;
  }

  .visual-lmk {
    padding: 18px;
  }

  .portfolio-app-frame {
    min-height: 320px;
    transform: none;
  }

  .phone-demo {
    left: 8%;
  }

  .planning-demo {
    right: 3%;
    width: 205px;
  }

  .solar-system {
    transform: scale(.75);
  }

  .portfolio-process-copy {
    padding: 30px 24px;
  }

  .portfolio-process-visual {
    padding: 34px 24px;
  }

  .process-path {
    left: 57px;
  }

  .portfolio-cta {
    padding: 85px 0;
  }

  .portfolio-cta-inner h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .dialog-copy {
    padding: 34px 24px;
  }

  .dialog-details > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* Portfolio V5.1 — panneau méthode à cinq étapes */
.portfolio-process-card {
  min-height: 620px;
}

.portfolio-process-visual {
  gap: 13px;
  padding-top: 46px;
  padding-bottom: 46px;
}

.portfolio-process-visual article {
  min-height: 70px;
}

.process-path {
  top: 12%;
  bottom: 12%;
}

@media (max-width: 900px) {
  .portfolio-process-card {
    min-height: 0;
  }

  .portfolio-process-visual {
    min-height: 555px;
  }
}


/* Portfolio V5.2 — ligne chronologique séparée des numéros */
.portfolio-process-visual {
  padding-left: 84px;
}

.process-path {
  left: 39px;
}

.portfolio-process-visual article {
  position: relative;
  grid-template-columns: 52px minmax(0, 1fr);
}

/* Repères placés sur la ligne, dans la marge extérieure des cartes */
.portfolio-process-visual article::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50px;
  width: 11px;
  height: 11px;
  border: 3px solid #0c1c31;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(94,124,255,.38);
  transform: translateY(-50%);
}

.portfolio-process-visual article:last-child::before {
  background: var(--coral);
  box-shadow: 0 0 0 1px rgba(255,107,74,.38);
}

@media (max-width: 660px) {
  .portfolio-process-visual {
    padding-left: 58px;
  }

  .process-path {
    left: 24px;
  }

  .portfolio-process-visual article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .portfolio-process-visual article::before {
    left: -39px;
  }
}


/* =========================================================
   V10.4.3 — logique claire des statuts du Portfolio
   ========================================================= */
.portfolio-hero-visual {
  min-height: 520px;
}

.portfolio-status-strip {
  padding: 12px 0;
}

.status-strip-grid {
  min-height: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.status-strip-grid > div,
.status-strip-grid > div:last-child {
  min-height: 78px;
  justify-content: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(237,244,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.status-strip-grid .status-copy {
  display: block;
  min-width: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.status-strip-grid .status-copy strong,
.status-strip-grid .status-copy small {
  display: block;
}

.status-strip-grid .status-copy strong {
  color: rgba(237,244,255,.82);
  font-size: .64rem;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.status-strip-grid .status-copy small {
  margin-top: 4px;
  color: rgba(237,244,255,.38);
  font-size: .56rem;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .portfolio-hero-visual {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .status-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-strip-grid > div,
  .status-strip-grid > div:nth-child(2),
  .status-strip-grid > div:nth-child(-n+2) {
    border: 1px solid rgba(237,244,255,.08);
  }
}

@media (max-width: 660px) {
  .status-strip-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .status-strip-grid > div {
    min-height: 66px;
    padding: 11px 13px;
    border: 1px solid rgba(237,244,255,.08);
  }

  .status-strip-grid .status-copy strong {
    font-size: .62rem;
  }

  .status-strip-grid .status-copy small {
    font-size: .55rem;
  }
}
