/* ==========================================================================
   T20 DIGITAL — PAGE PROJETS
   Feuille dédiée à projets.html. Le style global reste chargé avant ce fichier.
   ========================================================================== */

body[data-t20-page="projets"] {
  --projects-surface: rgba(8, 16, 34, .84);
  --projects-line: rgba(255, 255, 255, .09);
  --projects-cyan: #65e7ff;
  --projects-violet: #9184ff;
  --projects-pink: #ff75d8;
}

.projects-hero {
  position: relative;
  padding: clamp(105px, 12vw, 165px) 0 clamp(84px, 9vw, 128px);
  overflow: hidden;
}

.projects-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(101, 231, 255, .085), transparent 27%),
    radial-gradient(circle at 88% 74%, rgba(145, 132, 255, .10), transparent 30%);
}

.projects-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.projects-hero-copy h1 {
  max-width: 800px;
  margin: 22px 0 26px;
  font-size: clamp(3.5rem, 7vw, 6.9rem);
  line-height: .91;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.projects-hero-copy h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 5px;
  margin-top: 28px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--projects-cyan), var(--projects-violet), var(--projects-pink));
  box-shadow: 0 0 28px rgba(101, 231, 255, .26);
}

.projects-hero-copy p {
  max-width: 700px;
  margin: 0;
  color: #aab6cd;
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
  line-height: 1.78;
}

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

.product-lab {
  position: relative;
  min-height: 590px;
  border: 1px solid var(--projects-line);
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(101, 231, 255, .11), transparent 24%),
    radial-gradient(circle at 70% 70%, rgba(145, 132, 255, .11), transparent 30%),
    linear-gradient(145deg, rgba(12, 24, 49, .94), rgba(4, 9, 21, .98));
  box-shadow:
    0 38px 110px rgba(0, 0, 0, .40),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.product-lab::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 28px;
  pointer-events: none;
}

.lab-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 190px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 32%, rgba(101, 231, 255, .15), transparent 35%),
    linear-gradient(145deg, #101b37, #060a16 70%);
  border: 1px solid rgba(145, 132, 255, .22);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, .48),
    0 0 58px rgba(101, 231, 255, .08),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

.lab-core strong {
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--projects-cyan), var(--projects-violet), var(--projects-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lab-core span {
  margin-top: 10px;
  color: #9aa7bf;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.lab-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(101, 231, 255, .10);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 330px;
  aspect-ratio: 1;
}

.ring-two {
  width: 470px;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(145, 132, 255, .10);
}

.lab-node {
  position: absolute;
  z-index: 3;
  width: 190px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 231, 255, .055), transparent 35%),
    rgba(12, 22, 44, .86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .30);
  backdrop-filter: blur(12px);
}

.lab-node span {
  display: block;
  color: var(--projects-pink);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.lab-node strong {
  display: block;
  margin-top: 9px;
  font-size: .98rem;
}

.lab-node small {
  display: block;
  margin-top: 6px;
  color: #8f9cb4;
  line-height: 1.35;
}

.node-a { top: 52px; left: 42px; }
.node-b { top: 70px; right: 38px; }
.node-c { bottom: 58px; left: 34px; }
.node-d { bottom: 45px; right: 42px; }

.projects-intro {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .012);
}

.projects-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: end;
}

.projects-intro h2 {
  max-width: 660px;
  margin: 14px 0 0;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.projects-intro p {
  max-width: 690px;
  margin: 0;
  color: #9da9c0;
  font-size: 1.04rem;
  line-height: 1.78;
}

.real-products {
  padding-top: clamp(90px, 10vw, 140px);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);
  gap: clamp(38px, 5vw, 70px);
  align-items: center;
  margin-bottom: 42px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--projects-line);
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 5%, rgba(101, 231, 255, .08), transparent 28%),
    radial-gradient(circle at 7% 96%, rgba(145, 132, 255, .07), transparent 30%),
    linear-gradient(145deg, rgba(12, 23, 48, .92), rgba(5, 10, 23, .98));
  box-shadow:
    0 35px 100px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .045);
}

.project-feature-reverse {
  grid-template-columns: minmax(380px, .88fr) minmax(0, 1fr);
}

.project-feature-reverse .project-feature-copy {
  order: 2;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.project-version {
  color: #9ca8bf;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project-feature h3 {
  margin: 22px 0 16px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.project-lead {
  max-width: 680px;
  color: #b3bed2;
  font-size: 1.03rem;
  line-height: 1.75;
}

.project-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.project-points > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 15px 17px;
  border-left: 2px solid rgba(101, 231, 255, .35);
  background: rgba(255, 255, 255, .022);
}

.project-points strong {
  color: #fff;
}

.project-points span {
  color: #91a0b8;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.project-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: #bec8d9;
  font-size: .75rem;
  font-weight: 800;
}

.project-device {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 32px;
  background: rgba(2, 7, 17, .72);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}

.device-toolbar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #8190a9;
  font-size: .68rem;
}

.device-toolbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #33405a;
}

.device-toolbar i:nth-child(1) { background: #ff6b7d; }
.device-toolbar i:nth-child(2) { background: #ffd166; }
.device-toolbar i:nth-child(3) { background: #42e8ad; }

.device-toolbar span {
  margin-left: auto;
}

.device-stage {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(101, 231, 255, .12), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(145, 132, 255, .12), transparent 30%),
    #061020;
}

.project-device-light .device-stage {
  background:
    radial-gradient(circle at 48% 18%, rgba(255, 255, 255, .08), transparent 26%),
    radial-gradient(circle at 82% 82%, rgba(101, 231, 255, .08), transparent 28%),
    #0b1323;
}

.device-phone {
  width: min(78%, 330px);
  height: 570px;
  padding: 10px;
  border-radius: 46px;
  overflow: hidden;
  background: linear-gradient(145deg, #29354e, #070b12 38%, #34415a 70%, #070b12);
  box-shadow:
    0 38px 85px rgba(0, 0, 0, .66),
    0 0 0 1px rgba(255, 255, 255, .15),
    0 0 60px rgba(145, 132, 255, .12);
}

.device-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 37px;
}

.concept-section {
  background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.004));
  border-top: 1px solid rgba(255, 255, 255, .045);
  border-bottom: 1px solid rgba(255, 255, 255, .045);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.concept-card {
  overflow: hidden;
  border: 1px solid var(--projects-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(145, 132, 255, .07), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .014));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .24);
}

.concept-visual {
  aspect-ratio: 1.35;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: #050a16;
}

.concept-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-content {
  padding: 25px;
}

.concept-content h3 {
  margin: 20px 0 12px;
  font-size: 1.5rem;
}

.concept-content p {
  margin: 0;
  color: #95a2ba;
  line-height: 1.68;
}

.method-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.method-steps-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--projects-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 231, 255, .055), transparent 32%),
    rgba(255, 255, 255, .022);
}

.method-steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--projects-cyan), var(--projects-violet));
  color: #06101c;
  font-size: .74rem;
  font-weight: 950;
}

.method-steps-grid h3 {
  margin: 28px 0 10px;
}

.method-steps-grid p {
  margin: 0;
  color: #91a0b8;
  line-height: 1.65;
}

.projects-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid var(--projects-line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 5%, rgba(66, 232, 173, .12), transparent 30%),
    radial-gradient(circle at 8% 95%, rgba(145, 132, 255, .10), transparent 32%),
    linear-gradient(135deg, rgba(101, 231, 255, .07), rgba(145, 132, 255, .06));
}

.projects-cta h2 {
  max-width: 760px;
  margin: 12px 0 10px;
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.projects-cta p {
  max-width: 680px;
  margin: 0;
  color: #9aa7be;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .projects-hero-grid,
  .project-feature,
  .project-feature-reverse {
    grid-template-columns: 1fr;
  }

  .project-feature-reverse .project-feature-copy {
    order: initial;
  }

  .product-lab {
    min-height: 560px;
  }

  .project-device {
    width: min(100%, 720px);
    margin-inline: auto;
  }

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

  .method-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .projects-hero {
    padding: 82px 0 72px;
  }

  .projects-hero-grid {
    gap: 42px;
  }

  .projects-hero-copy h1 {
    font-size: clamp(3rem, 13vw, 4.35rem);
    line-height: .95;
  }

  .projects-hero-actions .btn {
    width: 100%;
  }

  .product-lab {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 16px;
    border-radius: 28px;
  }

  .product-lab::after,
  .lab-ring {
    display: none;
  }

  .lab-core,
  .lab-node,
  .node-a,
  .node-b,
  .node-c,
  .node-d {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .lab-core {
    order: 5;
    min-height: 74px;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 20px;
  }

  .lab-core strong {
    font-size: 1.55rem;
  }

  .lab-core span {
    margin: 0;
    font-size: .65rem;
  }

  .lab-node {
    padding: 18px 20px;
  }

  .projects-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-feature {
    padding: 22px;
    border-radius: 28px;
  }

  .project-feature h3 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .project-points > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .device-stage {
    min-height: 520px;
    padding: 12px;
  }

  .device-phone {
    width: min(84%, 300px);
    height: 500px;
    border-radius: 40px;
  }

  .device-phone img {
    border-radius: 32px;
  }

  .concept-grid,
  .method-steps-grid {
    grid-template-columns: 1fr;
  }

  .projects-cta {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .projects-cta .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .projects-hero-copy h1 {
    font-size: clamp(2.85rem, 12.7vw, 3.8rem);
  }

  .product-lab,
  .project-feature {
    padding: 15px;
  }

  .lab-node {
    padding: 17px;
    border-radius: 18px;
  }

  .device-stage {
    min-height: 480px;
  }

  .device-phone {
    height: 460px;
  }
}

@media (pointer: coarse) {
  .product-lab,
  .project-feature,
  .concept-card,
  .method-steps-grid article {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-lab *,
  .project-feature *,
  .concept-card *,
  .method-steps-grid * {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   FINITION PREMIUM FINALE — PAGE PROJETS
   Ajustements visuels non destructifs, limités à projets.html.
   ========================================================================== */

body[data-t20-page="projets"] {
  position: relative;
  background:
    radial-gradient(circle at 16% 8%, rgba(101, 231, 255, .08), transparent 26%),
    radial-gradient(circle at 84% 12%, rgba(145, 132, 255, .10), transparent 28%),
    linear-gradient(180deg, #040817 0%, #060b1d 46%, #080e21 100%);
}

/* Réseau technique très discret pour donner plus de profondeur. */
body[data-t20-page="projets"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(101, 231, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 132, 255, .018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 78%);
}

/* Header plus premium et plus lisible. */
body[data-t20-page="projets"] .nav-shell {
  background:
    linear-gradient(180deg, rgba(11, 20, 41, .82), rgba(5, 10, 24, .74));
  border-color: rgba(255, 255, 255, .11);
  box-shadow:
    0 22px 66px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .055);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

body[data-t20-page="projets"] .site-header.scrolled .nav-shell {
  background:
    linear-gradient(180deg, rgba(8, 15, 32, .94), rgba(4, 8, 20, .9));
  box-shadow:
    0 24px 72px rgba(0, 0, 0, .46),
    inset 0 1px 0 rgba(255, 255, 255, .065);
}

body[data-t20-page="projets"] .brand-logo {
  transition:
    transform .45s cubic-bezier(.2, .8, .2, 1),
    filter .45s ease;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-t20-page="projets"] .brand:hover .brand-logo {
    transform: translateY(-2px) rotate(-4deg) scale(1.06);
    filter:
      drop-shadow(0 0 20px rgba(101, 231, 255, .32))
      drop-shadow(0 0 28px rgba(145, 132, 255, .14));
  }
}

/* Hero plus profond sans modifier sa structure. */
body[data-t20-page="projets"] .projects-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(86%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent, rgba(101, 231, 255, .24), rgba(145, 132, 255, .20), transparent);
  box-shadow: 0 0 22px rgba(101, 231, 255, .12);
  pointer-events: none;
}

body[data-t20-page="projets"] .projects-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(101, 231, 255, .24);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(101, 231, 255, .075), rgba(145, 132, 255, .035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 0 24px rgba(101, 231, 255, .055);
  font-size: .78rem;
  letter-spacing: .18em;
}

body[data-t20-page="projets"] .projects-hero-copy p {
  max-width: 34ch;
  color: #b1bdd2;
  text-wrap: pretty;
}

/* Boutons plus lumineux et plus tactiles. */
body[data-t20-page="projets"] .projects-hero-actions .btn {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .20);
}

body[data-t20-page="projets"] .projects-hero-actions .btn-primary {
  box-shadow:
    0 20px 54px rgba(101, 231, 255, .20),
    0 0 34px rgba(145, 132, 255, .10),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

body[data-t20-page="projets"] .projects-hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, .34) 48%, transparent 72%);
  transform: translateX(-135%);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-t20-page="projets"] .projects-hero-actions .btn-primary:hover {
    transform: translateY(-3px) scale(1.012);
    box-shadow:
      0 26px 66px rgba(101, 231, 255, .25),
      0 0 42px rgba(145, 132, 255, .14),
      inset 0 1px 0 rgba(255, 255, 255, .5);
  }

  body[data-t20-page="projets"] .projects-hero-actions .btn-primary:hover::after {
    transform: translateX(135%);
  }
}

/* Product Lab avec profondeur supplémentaire. */
body[data-t20-page="projets"] .product-lab {
  isolation: isolate;
}

body[data-t20-page="projets"] .product-lab::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(
      from 180deg at 50% 50%,
      rgba(101, 231, 255, .035),
      rgba(145, 132, 255, .07),
      rgba(255, 117, 216, .035),
      rgba(101, 231, 255, .035)
    );
  filter: blur(22px);
  opacity: .62;
}

body[data-t20-page="projets"] .lab-core,
body[data-t20-page="projets"] .lab-node,
body[data-t20-page="projets"] .lab-ring {
  z-index: 2;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-t20-page="projets"] .lab-node {
    transition:
      transform .35s cubic-bezier(.2, .8, .2, 1),
      border-color .35s ease,
      box-shadow .35s ease;
  }

  body[data-t20-page="projets"] .lab-node:hover {
    transform: translateY(-6px);
    border-color: rgba(101, 231, 255, .24);
    box-shadow:
      0 26px 60px rgba(0, 0, 0, .34),
      0 0 36px rgba(101, 231, 255, .07);
  }

  body[data-t20-page="projets"] .lab-core {
    animation: projectsCorePulse 5.8s ease-in-out infinite;
  }

  body[data-t20-page="projets"] .ring-one {
    animation: projectsRingSpin 22s linear infinite;
  }

  body[data-t20-page="projets"] .ring-two {
    animation: projectsRingSpinReverse 34s linear infinite;
  }
}

@keyframes projectsCorePulse {
  0%, 100% {
    box-shadow:
      0 28px 65px rgba(0, 0, 0, .48),
      0 0 58px rgba(101, 231, 255, .08),
      inset 0 1px 0 rgba(255, 255, 255, .06);
  }
  50% {
    box-shadow:
      0 32px 74px rgba(0, 0, 0, .52),
      0 0 78px rgba(101, 231, 255, .14),
      inset 0 1px 0 rgba(255, 255, 255, .08);
  }
}

@keyframes projectsRingSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes projectsRingSpinReverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Cartes produit plus élégantes. */
body[data-t20-page="projets"] .project-feature,
body[data-t20-page="projets"] .concept-card,
body[data-t20-page="projets"] .method-steps-grid article,
body[data-t20-page="projets"] .projects-cta {
  position: relative;
}

body[data-t20-page="projets"] .project-feature::after,
body[data-t20-page="projets"] .concept-card::after,
body[data-t20-page="projets"] .method-steps-grid article::after,
body[data-t20-page="projets"] .projects-cta::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-top: 1px solid rgba(101, 231, 255, .24);
  border-right: 1px solid rgba(145, 132, 255, .24);
  border-radius: 0 12px 0 0;
  pointer-events: none;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-t20-page="projets"] .concept-card,
  body[data-t20-page="projets"] .method-steps-grid article {
    transition:
      transform .35s cubic-bezier(.2, .8, .2, 1),
      border-color .35s ease,
      box-shadow .35s ease;
  }

  body[data-t20-page="projets"] .concept-card:hover,
  body[data-t20-page="projets"] .method-steps-grid article:hover {
    transform: translateY(-7px);
    border-color: rgba(101, 231, 255, .20);
    box-shadow:
      0 34px 94px rgba(0, 0, 0, .34),
      0 0 42px rgba(101, 231, 255, .045);
  }

  body[data-t20-page="projets"] .concept-card:hover .concept-visual img {
    transform: scale(1.028);
  }
}

body[data-t20-page="projets"] .concept-visual img {
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

/* Responsive mobile : lisibilité et toucher. */
@media (max-width: 720px) {
  body[data-t20-page="projets"] .projects-hero {
    padding-top: 78px;
  }

  body[data-t20-page="projets"] .projects-hero-copy .eyebrow {
    min-height: 36px;
    padding: 8px 13px;
    font-size: .82rem;
  }

  body[data-t20-page="projets"] .projects-hero-copy p {
    max-width: 30ch;
    font-size: 1.02rem;
    line-height: 1.72;
  }

  body[data-t20-page="projets"] .projects-hero-actions {
    gap: 14px;
  }

  body[data-t20-page="projets"] .projects-hero-actions .btn {
    min-height: 58px;
    border-radius: 18px;
  }

  body[data-t20-page="projets"] .product-lab::before {
    opacity: .34;
  }

  body[data-t20-page="projets"] .project-feature::after,
  body[data-t20-page="projets"] .concept-card::after,
  body[data-t20-page="projets"] .method-steps-grid article::after,
  body[data-t20-page="projets"] .projects-cta::after {
    top: 11px;
    right: 11px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 390px) {
  body[data-t20-page="projets"] .projects-hero-copy p {
    max-width: 28ch;
  }

  body[data-t20-page="projets"] .projects-hero-copy .eyebrow {
    font-size: .78rem;
  }
}

/* Effet tactile sans hover persistant sur iPhone. */
@media (pointer: coarse) {
  body[data-t20-page="projets"] .projects-hero-actions .btn:active {
    transform: scale(.985);
  }

  body[data-t20-page="projets"] .brand-logo,
  body[data-t20-page="projets"] .lab-node,
  body[data-t20-page="projets"] .concept-card,
  body[data-t20-page="projets"] .method-steps-grid article {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-t20-page="projets"] .lab-core,
  body[data-t20-page="projets"] .lab-ring,
  body[data-t20-page="projets"] .projects-hero-actions .btn-primary::after {
    animation: none !important;
    transition: none !important;
  }
}
