/* ==========================================================================
   PAGE PROJETS
   ========================================================================== */

/* ---------- Projet phare ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  border-radius: 28px;
  padding: clamp(26px, 4vw, 48px);
  background:
    radial-gradient(560px 260px at 0% 0%, rgba(124, 108, 255, 0.18), transparent 65%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.featured__body h2 {
  margin-bottom: 18px;
}

.featured__actions {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .featured {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cadre navigateur (mockup) ---------- */
.browser-frame {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #0d0824;
  box-shadow: 0 30px 70px -30px rgba(3, 0, 20, 0.9);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}

.featured__media,
.project-card__media {
  display: block;
}

.featured__media:hover .browser-frame,
.project-card__media:hover .browser-frame {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 44px 90px -32px rgba(3, 0, 20, 1);
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--stroke-soft);
}

.browser-frame__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.browser-frame__bar i:nth-child(1) { background: #ff8181; }
.browser-frame__bar i:nth-child(2) { background: #f5c97b; }
.browser-frame__bar i:nth-child(3) { background: #4fddb5; }

.browser-frame__url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--faint);
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.browser-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--ease-out);
}

.featured__media:hover .browser-frame img,
.project-card__media:hover .browser-frame img {
  transform: scale(1.04);
}

.browser-frame--mini img {
  aspect-ratio: 16 / 9;
}

/* ---------- Grille projets ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
}

.project-card__body {
  padding: 22px 10px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__body p {
  font-size: 0.97rem;
}

.project-card__kind {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

.project-card__link {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.project-card__link span {
  transition: transform 0.4s var(--ease-out);
}

.project-card__link:hover span {
  transform: translate(3px, -2px);
}

.project-card__link--muted {
  color: var(--faint);
  font-weight: 500;
  cursor: default;
}

/* ---------- Cadre téléphone (app mobile) ---------- */
.project-card__media--phone {
  display: flex;
  justify-content: center;
  padding: 22px 0 6px;
}

.phone-frame {
  position: relative;
  display: block;
  width: min(190px, 62%);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  outline: 6px solid rgba(255, 255, 255, 0.06);
  background: #0d0824;
  box-shadow: 0 26px 60px -24px rgba(3, 0, 20, 0.9);
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .phone-frame {
  transform: translateY(-6px) rotate(-1.2deg);
}

.phone-frame__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--stroke-soft);
  z-index: 1;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 708 / 1578;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ---------- Emplacement « à venir » ---------- */
.project-card--soon {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.project-card--soon:hover {
  transform: none;
}

.project-card--soon::before {
  display: none;
}

.soon-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.soon-frame__node {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a8f4de, var(--teal));
  box-shadow: 0 0 16px rgba(79, 221, 181, 0.7);
  animation: soon-pulse 2.4s ease-in-out infinite;
}

@keyframes soon-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
}

/* ---------- Tags technologies ---------- */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 6px;
}

.tags li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke-soft);
}


/* ---------- Filtres ---------- */
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -20px 0 44px;
}

.filter {
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.35s, background 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}

.filter:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.filter.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #0a0620;
}

/* Sortie animée des cartes filtrées */
[data-cat] {
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}

[data-cat].is-filtered {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}


/* ---------- Galerie / diaporama ---------- */
.gallery__stage {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gallery__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.gallery__stage img.is-current {
  opacity: 1;
}

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

.gallery__thumbs button {
  position: relative;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}

.gallery__thumbs button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.gallery__thumbs button.is-active {
  opacity: 1;
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 8px 20px -8px rgba(79, 221, 181, 0.5);
}

.gallery__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.gallery__thumbs span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(transparent, rgba(5, 3, 15, 0.85));
  text-align: left;
}

/* ==========================================================================
   PROJETS v2 — stats, résultats, processus
   ========================================================================== */

/* ---------- Stats du hero ---------- */
.proj-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
  margin-top: 44px;
  flex-wrap: wrap;
}

.proj-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proj-stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proj-stat__label {
  font-size: 0.85rem;
  color: var(--faint);
}

.proj-stats__sep {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  opacity: 0.7;
}

@media (max-width: 560px) {
  .proj-stats__sep { display: none; }
}

/* ---------- Badge « en production » ---------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  margin: 0 0 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(79, 221, 181, 0.1);
  border: 1px solid rgba(79, 221, 181, 0.35);
}

.live-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .live-badge__dot { animation: none; }
}

/* ---------- KPI du projet phare ---------- */
.featured__kpis {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  margin: 8px 0 6px;
  flex-wrap: wrap;
}

.featured__kpi span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
}

.featured__kpi small {
  font-size: 0.78rem;
  color: var(--faint);
}

/* ---------- Ligne résultat des cartes ---------- */
.project-card__result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
}

.project-card__result span {
  font-size: 0.7rem;
}

/* ---------- Compteurs des filtres ---------- */
.filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.filter__count {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.filter.is-active .filter__count {
  background: rgba(10, 6, 32, 0.18);
}

[data-theme="light"] .filter__count {
  background: rgba(28, 26, 58, 0.08);
}

[data-theme="light"] .filter.is-active .filter__count {
  background: rgba(10, 6, 32, 0.16);
}

/* ---------- Processus en 4 étapes reliées ---------- */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}

/* le fil qui relie les nœuds */
.process::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(124, 108, 255, 0.55),
    rgba(92, 200, 248, 0.55),
    rgba(79, 221, 181, 0.55),
    transparent);
}

.process__step {
  position: relative;
  padding-top: 34px;
}

.process__node {
  position: absolute;
  top: 0;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a8f4de, var(--teal));
  box-shadow: 0 0 16px rgba(79, 221, 181, 0.8);
}

.process__step:nth-child(2) .process__node {
  background: radial-gradient(circle at 35% 35%, #b7e6ff, var(--sky));
  box-shadow: 0 0 16px rgba(92, 200, 248, 0.8);
}

.process__step:nth-child(3) .process__node {
  background: radial-gradient(circle at 35% 35%, #cfc4ff, var(--violet));
  box-shadow: 0 0 16px rgba(124, 108, 255, 0.8);
}

.process__step:nth-child(4) .process__node {
  background: radial-gradient(circle at 35% 35%, #ffc4c4, var(--coral));
  box-shadow: 0 0 16px rgba(255, 129, 129, 0.8);
}

.process__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--faint);
}

.process__step h3 {
  margin: 10px 0 8px;
}

.process__step p {
  font-size: 0.94rem;
  margin: 0;
}

@media (max-width: 940px) {
  .process {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 8px;
  }

  /* fil vertical sur mobile */
  .process::before {
    top: 4%;
    bottom: 4%;
    left: 16px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg,
      transparent,
      rgba(124, 108, 255, 0.55),
      rgba(92, 200, 248, 0.55),
      rgba(79, 221, 181, 0.55),
      transparent);
  }

  .process__step {
    padding: 0 0 34px 44px;
  }

  .process__node {
    top: 4px;
    left: 8px;
  }
}


/* ==========================================================================
   LIGHTBOX — captures en grand, navigation
   ========================================================================== */
.media-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  text-align: inherit;
  font: inherit;
  color: inherit;
}

.media-zoom__hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 6, 32, 0.65);
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
  pointer-events: none;
}

.media-zoom:hover .media-zoom__hint,
.media-zoom:focus-visible .media-zoom__hint {
  opacity: 1;
  transform: scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(5, 3, 15, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1200px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lightbox__img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.is-open .lightbox__img { transform: scale(1); }

@keyframes lb-left  { from { opacity: 0; transform: translateX(26px); }  to { opacity: 1; transform: none; } }
@keyframes lb-right { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.lightbox__img.slide-left  { animation: lb-left 0.35s var(--ease-out); }
.lightbox__img.slide-right { animation: lb-right 0.35s var(--ease-out); }

.lightbox__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  color: rgba(244, 242, 255, 0.85);
  font-size: 0.92rem;
}

.lightbox__count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  flex: none;
}

.lightbox__nav,
.lightbox__close {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, transform 0.35s var(--ease-out);
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.06);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
}

@media (max-width: 700px) {
  .lightbox { padding: 14px; gap: 8px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__img { max-height: 66vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox__img.slide-left,
  .lightbox__img.slide-right { animation: none; }
}


/* ---------- Liens stores (app mobile) ---------- */
.project-card__stores {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.project-card__stores .project-card__link {
  margin-top: 0;
  padding-top: 0;
}

.project-card__stores svg {
  vertical-align: -0.15em;
  margin-right: 5px;
  color: var(--teal);
}


/* ---------- Écran maquette dans le cadre téléphone ---------- */
.phone-frame__screen-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: 9 / 17;
  padding: 40px 13px 12px;
  background: #0d0a26;
  border-radius: 28px;
  overflow: hidden;
  font-family: var(--font-body);
  text-align: left;
}

.phone-frame__screen-mock .app-screen__title { font-size: 0.88rem; }
.phone-frame__screen-mock .app-chip { font-size: 0.56rem; }
.phone-frame__screen-mock .app-card { padding: 9px 11px; }
.phone-frame__screen-mock .app-card__name { font-size: 0.7rem; }
.phone-frame__screen-mock .app-card__meta { font-size: 0.56rem; }
.phone-frame__screen-mock .app-card__badge { font-size: 0.52rem; padding: 3px 7px; }
.phone-frame__screen-mock .app-nav { margin-top: auto; }

/* les barres se remplissent quand la carte est révélée */
.is-visible .phone-frame__screen-mock .app-bar i { transform: scaleX(1); }

/* Variante « bientôt » : écran centré, nœud pulsant */
.app-screen--center {
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.app-screen--center .app-screen__title { text-align: center; line-height: 1.3; }

.phone-frame--soon { opacity: 0.96; }
.phone-frame--soon .phone-frame__screen-mock {
  background:
    radial-gradient(220px 160px at 50% 110%, rgba(92, 200, 248, 0.16), transparent 70%),
    #0d0a26;
}


/* ---------- Projet phare inversé (média à droite) ---------- */
#featured-planibio { padding-top: 0; }

.featured--flip {
  grid-template-columns: 1fr 1.25fr;
}

@media (max-width: 980px) {
  .featured--flip { grid-template-columns: 1fr; }
  .featured--flip .featured__media { order: -1; }
}

.live-badge--build {
  color: var(--sky);
  background: rgba(92, 200, 248, 0.1);
  border-color: rgba(92, 200, 248, 0.35);
}

.live-badge--build .live-badge__dot {
  background: var(--sky);
  box-shadow: 0 0 10px var(--sky);
}

/* ---------- Maquette planning PlaniBio ---------- */
.plani-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  aspect-ratio: 16 / 9;
  background: #faf7f0;
  color: #22301f;
  font-family: var(--font-body);
}

.plani-mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.plani-mock__title { font-weight: 700; font-size: 0.85rem; }

.plani-mock__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #3e6b3a;
  background: #eaf2e6;
  border: 1px solid #cfe3c8;
  padding: 5px 11px;
  border-radius: 999px;
}

.plani-mock__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto 1fr;
  gap: 6px;
}

.plani-mock__day {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7a63;
  text-align: center;
}

.plani-mock__cell {
  border: 1px dashed #ddd6c4;
  border-radius: 8px;
  background: #fdfcf8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  position: relative;
}

.plani-mock__cell i {
  width: 12px;
  height: var(--h, 60%);
  border-radius: 4px 4px 2px 2px;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s var(--ease-out) calc(var(--d, 0) * 1s + 0.2s);
}

.is-visible .plani-mock__cell i { transform: scaleY(1); }

.plani-mock__cell:nth-child(8) i { --d: 0.06; }
.plani-mock__cell:nth-child(9) i { --d: 0.12; }
.plani-mock__cell:nth-child(10) i { --d: 0.18; }
.plani-mock__cell:nth-child(11) i { --d: 0.24; }
.plani-mock__cell:nth-child(12) i { --d: 0.3; }

.plani-mock__cell--drop {
  border-color: #7fb069;
  background: #f0f7ec;
}

.plani-mock__cell--drop em {
  position: absolute;
  top: 6px;
  right: 8px;
  font-style: normal;
  font-weight: 700;
  color: #7fb069;
  font-size: 0.8rem;
  animation: soon-pulse 2s ease-in-out infinite;
}

.plani-mock__legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.62rem;
  font-weight: 600;
  color: #565f50;
}

.plani-mock__legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
  margin-right: 5px;
}


/* ---------- Écosystème MCV : téléphone en surimpression ---------- */
.featured__media { position: relative; }

.featured-phone {
  position: absolute;
  right: -14px;
  bottom: 34px;
  width: 148px;
  transform: rotate(3.5deg);
  filter: drop-shadow(0 30px 44px rgba(3, 0, 20, 0.55));
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
  z-index: 4;
}

.featured:hover .featured-phone {
  transform: rotate(1.5deg) translateY(-6px);
}

.featured-phone .phone-frame {
  width: 100%;
  padding: 7px;
  border-radius: 26px;
}

.featured-phone .phone-frame__screen-mock {
  border-radius: 19px;
  padding: 26px 8px 8px;
  gap: 6px;
}

.featured-phone .phone-frame__notch { height: 12px; top: 7px; }
.featured-phone .app-screen__title { font-size: 0.6rem; margin: 0 2px; }
.featured-phone .app-chip { font-size: 0.44rem; padding: 3px 7px; }
.featured-phone .app-card { padding: 6px 8px; border-radius: 10px; }
.featured-phone .app-card__name { font-size: 0.5rem; }
.featured-phone .app-card__meta { font-size: 0.42rem; }
.featured-phone .app-card__badge { font-size: 0.38rem; padding: 2px 5px; }
.featured-phone .app-nav { padding: 6px 2px 2px; }
.featured-phone .app-nav i { width: 14px; height: 3px; }

@media (max-width: 1180px) {
  .featured-phone { right: 4px; }
}

@media (max-width: 980px) {
  .featured-phone {
    position: static;
    transform: none;
    margin: -60px auto 0;
    display: block;
  }
}

/* Sous-titre du phare + rangée écosystème */
.featured__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 8px;
}

.featured__eco {
  margin: 20px 0 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(79, 221, 181, 0.06);
  border: 1px dashed rgba(79, 221, 181, 0.35);
}

.featured__eco-title {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

.featured__eco .project-card__stores {
  margin-top: 0;
  padding-top: 0;
  align-items: center;
  gap: 16px;
}

.featured__eco-soon {
  font-size: 0.8rem;
  color: var(--sky);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(92, 200, 248, 0.1);
  border: 1px solid rgba(92, 200, 248, 0.3);
}

.featured__eco-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
}

.featured__eco-note svg { vertical-align: -0.12em; margin-right: 4px; }

[data-theme="light"] .featured__eco { background: rgba(62, 107, 58, 0.05); }
