/**
 * Pages internes — mêmes règles que l’accueil
 * (noir / blanc / anthracite, néon ≤5%, radius 0)
 * Process wheel : styles provisoires (à refaire ensuite)
 */

/* ——— Chrome partials (aligné accueil) ——— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* nav-toggle + header : règles dans components.css */

/* Footer partial */
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.site-footer__brand .brand-logo,
.site-footer__brand .logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
}

.site-footer__tagline {
  margin-top: 0.75rem;
  max-width: 28ch;
  color: #aaaaaa;
  font-size: 0.875rem;
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__list a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #cccccc;
}

.site-footer__list a:hover {
  color: var(--color-neon-light);
}

.site-footer__contact {
  color: #aaaaaa;
  font-size: 0.875rem;
}

.site-footer__contact a {
  color: var(--color-white);
  text-decoration: none;
  word-break: break-word;
}

.site-footer__contact a:hover {
  color: var(--color-neon-light);
}

.site-footer__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777777;
}

.site-footer__bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 1.5rem;
  color: #666666;
  font-size: 0.8125rem;
}

.site-footer__legal-addr {
  display: inline-block;
  margin-left: 0.35rem;
}

.site-footer__legal-links {
  margin-top: 0.75rem;
}

.site-footer__legal-links a {
  color: #888888;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
}

.site-footer__legal-links a:hover {
  color: var(--color-neon-light, #ec643f);
}

/* ——— Typo pages ——— */
.eyebrow,
.section__meta {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.lede {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

main#main {
  /* Ne pas shrink : un pin-spacer ScrollTrigger écrasé dans un flex = scroll coincé */
  flex: 1 0 auto;
  padding-top: 0.5rem;
  min-width: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Spacers GSAP : hauteur de scroll préservée sous body/main flex */
.pin-spacer {
  flex-shrink: 0;
}

/* ——— Page hero ——— */
.page-hero {
  /* Conserver les gouttières horizontales de .container (évite padding: … 0 …) */
  padding: clamp(2.5rem, 6vh, 4rem) 2rem clamp(2rem, 4vh, 3rem);
  border-bottom: 1px solid var(--color-anthracite);
}

.page-hero--services {
  /* Espace modéré avant le pin (ni collé, ni grand vide) */
  padding: clamp(1.15rem, 2.8vh, 1.85rem) 2rem clamp(1.15rem, 3vh, 1.85rem);
}

.page-hero--services h1 {
  margin-top: 0;
  max-width: 22ch;
  font-size: clamp(1.65rem, 4.2vw, 2.65rem);
}

.page-hero h1 {
  margin-top: 0.5rem;
  max-width: 16ch;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
}

.page-hero .lede {
  margin-top: 1rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.page-content {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem);
}

/* ——— Services ——— */
.service-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-anthracite);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.service-anchors a {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
}

.service-anchors a:hover {
  color: var(--color-neon-light);
}

/* ——— Technique et matériels (catégories | détail) ——— */
.tech-mat {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 1280px;
}

.tech-mat__header {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.tech-mat__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-white);
}

.tech-mat__lead {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.55;
}

.tech-mat__layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.tech-mat__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-anthracite);
}

.tech-mat__tab {
  display: block;
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--color-anthracite);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-margin-top: 5rem;
  -webkit-tap-highlight-color: transparent;
}

.tech-mat__tab:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 4px;
}

.tech-mat__tab-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.tech-mat__tab:hover .tech-mat__tab-title {
  color: rgba(255, 255, 255, 0.88);
}

.tech-mat__tab.is-active .tech-mat__tab-title {
  color: var(--color-neon, #ec643f);
}

.tech-mat__detail {
  position: sticky;
  top: calc(var(--header-height, 5.5rem) + 1rem);
  min-height: 12rem;
}

.tech-mat__panel {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s ease;
}

.tech-mat__panel.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.tech-mat__panel[hidden] {
  display: block;
}

.tech-mat__materials {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
  margin: 1.35rem 0 0;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.tech-mat__materials-label {
  font-family: var(--font-display, inherit);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
}

.tech-mat .gallery-cta {
  margin: 0 0 1.65rem;
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-black);
}

.tech-mat .gallery-cta:hover,
.tech-mat .gallery-cta:focus-visible {
  border-color: var(--color-white);
  color: var(--color-black);
}

.tech-mat .gallery-cta__arrow {
  color: var(--color-neon, #ec643f);
}

.tech-mat__service {
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 0;
  scroll-margin-top: 6rem;
}

.tech-mat__service:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

.tech-mat__service-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-white);
}

.tech-mat__service p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
}

@media (max-width: 900px) {
  .tech-mat__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tech-mat__detail {
    position: relative;
    top: auto;
    min-height: 0;
    padding-top: 0.35rem;
    border-top: 0;
  }

  .tech-mat__panel {
    position: relative;
    inset: auto;
  }

  .tech-mat__panel:not(.is-active) {
    display: none;
  }

  .tech-mat__tab {
    padding: 0.75rem 0;
  }

  .tech-mat__service {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-mat__tab-title,
  .tech-mat__panel {
    transition: none;
  }
}

/* Legacy service blocks (autres pages éventuelles) */
.service-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--color-anthracite);
  scroll-margin-top: 5rem;
}

.service-block:nth-child(even) .service-block__media {
  order: 2;
}

.service-block__media {
  overflow: hidden;
  background: var(--color-anthracite);
}

.service-block__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.service-block:hover .service-block__media img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.service-block__body .eyebrow {
  margin-bottom: 0.65rem;
}

.service-block__body h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.service-block__body p {
  margin-bottom: 1.25rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 800px) {
  .service-block,
  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-block__media {
    order: 0;
  }
}

/* Street gallery overrides legacy .gallery-item rules from components.css */
body[data-page="realisations"] .gallery-item img {
  width: 100%;
  height: 100%;
  filter: none;
  transform: none;
}

body[data-page="realisations"] .gallery-item:hover img {
  filter: none;
  transform: none;
}
.page-hero--streets {
  padding-bottom: clamp(1.85rem, 4.5vw, 2.75rem);
}

.page-hero--streets h1 {
  max-width: 18ch;
}

.page-hero--streets .lede {
  max-width: 44rem;
}

.page-hero--streets .lede--follow {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.58);
}

.streets {
  --street-page-max: 1280px;
  --street-page-gutter: 2rem;
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 2.4vw, 1.85rem);
  padding: clamp(1.65rem, 3.8vw, 2.6rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(48, 47, 45, 0.18) 40%, rgba(0, 0, 0, 0) 100%),
    var(--color-black, #000);
}

.street {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.street__title {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--street-page-max);
  margin: 0 auto;
  padding: 0 var(--street-page-gutter);
  font-family: var(--font-display, inherit);
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.street__nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.75));
  transition: opacity 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.street__nav:hover,
.street__nav:focus-visible {
  background: transparent;
  color: #fff;
  opacity: 1;
  outline: none;
}

.street__nav--prev {
  left: 0.25rem;
}

.street__nav--next {
  right: 0.25rem;
}

.street__nav-icon {
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  overflow: visible;
}

.street__nav--prev .street__nav-icon {
  animation: street-nav-prev 1.15s ease-in-out infinite;
}

.street__nav--next .street__nav-icon {
  animation: street-nav-next 1.15s ease-in-out infinite;
}

.street__nav:hover .street__nav-icon,
.street__nav:focus-visible .street__nav-icon {
  animation-duration: 0.7s;
}

@keyframes street-nav-prev {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4px);
  }
}

@keyframes street-nav-next {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.street__viewport {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--street-page-max);
  margin: 0 auto;
  padding: 0 var(--street-page-gutter);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 0.55rem,
    #000 calc(100% - 0.55rem),
    transparent 100%
  );
}

.street__viewport.is-dragging {
  cursor: grabbing;
  touch-action: none;
}

.street__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.45rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  padding: 0;
}

.street__item,
button.street__item {
  position: relative;
  box-sizing: border-box;
  display: block;
  flex: 0 0 min(48vw, 460px);
  width: min(48vw, 460px);
  min-width: min(48vw, 460px);
  max-width: min(48vw, 460px);
  height: clamp(240px, 34vh, 360px);
  min-height: clamp(240px, 34vh, 360px);
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  background: var(--color-anthracite, #302f2d);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: none;
}

.street__media {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  line-height: 0;
}

.street__media img,
.street__item img,
.street__item.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  filter: none;
  transform: none;
}

.street__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.4rem 1rem 0.95rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 1;
  transform: none;
}

.street__num {
  display: none;
}

.street__meta strong {
  display: block;
  font-family: var(--font-display, inherit);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.street__meta > span:last-child {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.street__item:focus,
.street__item:focus-visible,
.street__item:active {
  outline: none;
  box-shadow: none;
}

@media (hover: hover) {
  .street__meta {
    opacity: 0;
    transform: translateY(0.35rem);
    transition:
      opacity 0.3s ease,
      transform 0.35s ease;
  }

  .street__item:hover .street__meta {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .streets {
    --street-page-gutter: 1.25rem;
    gap: 1rem;
    padding-top: 1.35rem;
  }

  .street__title {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .street__nav {
    width: 2.6rem;
    height: 3.1rem;
    background: transparent;
    color: #fff;
  }

  .street__nav--prev {
    left: 0.15rem;
  }

  .street__nav--next {
    right: 0.15rem;
  }

  .street__nav-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .street__viewport {
    height: clamp(230px, 62vw, 310px);
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 0.4rem,
      #000 calc(100% - 0.4rem),
      transparent 100%
    );
  }

  .street__track {
    align-items: stretch;
    gap: 0.55rem;
    height: 100%;
  }

  .street__item,
  button.street__item {
    flex: 0 0 auto;
    width: min(78vw, 300px);
    min-width: min(78vw, 300px);
    max-width: min(78vw, 300px);
    height: 100%;
    min-height: 0;
  }

  .street__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
  }

  .street__media img,
  .street__item img,
  .street__item.gallery-item img,
  body[data-page="realisations"] .gallery-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
    filter: none;
  }

  .street__meta {
    opacity: 1;
    transform: none;
    padding: 1rem 0.75rem 0.7rem;
  }

  .street__meta strong {
    font-size: 0.72rem;
  }

  .street__meta > span:last-child {
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .street__meta {
    transition: none;
  }
}

/* Legacy project-grid (autres pages) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--color-anthracite);
  border: 1px solid var(--color-anthracite);
}

.project-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--color-black);
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.project-card img,
.project-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.project-card:hover img,
.project-card:hover .project-card__media img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.project-card__meta {
  padding: 1rem;
  border-top: 1px solid var(--color-anthracite);
}

.project-card__meta strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-card__meta span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #aaaaaa;
}

/* Mini-carte glass */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem max(1rem, env(safe-area-inset-bottom));
}

.photo-modal[hidden] {
  display: none !important;
}

.photo-modal.is-open {
  display: flex !important;
}

.photo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  opacity: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.photo-modal.is-open .photo-modal__backdrop {
  animation: photo-modal-fade 0.35s ease forwards;
}

.photo-modal__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 28rem);
  max-height: min(78dvh, 640px);
  margin: 0;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(22, 22, 22, 0.72);
  color: #fff;
  overflow: hidden;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.96);
}

.photo-modal.is-open .photo-modal__card {
  animation: photo-modal-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.photo-modal__media {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.photo-modal__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52dvh, 420px);
  object-fit: contain;
  opacity: 0;
  transform: scale(1.03);
}

.photo-modal.is-open .photo-modal__img {
  animation: photo-modal-img 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.photo-modal__info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 0.45rem 0.35rem;
  background: transparent;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.photo-modal.is-open .photo-modal__info {
  animation: photo-modal-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.16s forwards;
}

.photo-modal__info h2 {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.photo-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.15rem;
}

.photo-modal__info p {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.7rem;
  line-height: 1.15rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.55);
}

.photo-modal__back {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15rem;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s ease;
}

.photo-modal__back-label {
  line-height: 1.15rem;
}

.photo-modal__arrow {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  overflow: visible;
  color: var(--color-neon, #ec643f);
  transition: transform 0.25s ease;
}

.photo-modal.is-open .photo-modal__arrow {
  animation: photo-modal-arrow 2.2s ease-in-out 0.35s infinite;
}

.photo-modal__back:hover,
.photo-modal__back:focus-visible {
  color: #fff;
  outline: none;
}

.photo-modal__back:hover .photo-modal__arrow,
.photo-modal__back:focus-visible .photo-modal__arrow {
  animation: none;
  transform: translateX(2px);
}

@keyframes photo-modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes photo-modal-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes photo-modal-img {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes photo-modal-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(0.12rem);
  }
}

@media (max-width: 900px) {
  .photo-modal {
    padding: max(0.85rem, env(safe-area-inset-top)) 1rem max(0.85rem, env(safe-area-inset-bottom));
  }

  .photo-modal__card {
    width: min(100%, 22.5rem);
    max-height: 82dvh;
    padding: 0.55rem;
  }

  .photo-modal__img {
    max-height: 48dvh;
  }

  .photo-modal__back {
    min-height: 0;
    padding: 0;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-modal.is-open .photo-modal__backdrop,
  .photo-modal.is-open .photo-modal__card,
  .photo-modal.is-open .photo-modal__img,
  .photo-modal.is-open .photo-modal__info,
  .photo-modal.is-open .photo-modal__arrow {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ——— Formulaires ——— */
.form-shell {
  max-width: 40rem;
}

.form-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-progress__step {
  flex: 1;
  height: 2px;
  background: var(--color-anthracite);
}

.form-progress__step.is-done,
.form-progress__step.is-current {
  background: var(--color-white);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.field {
  margin-bottom: 1rem;
}

.field label,
.radio-group legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-anthracite);
  background: transparent;
  color: var(--color-white);
  font: inherit;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-neon-light);
}

.radio-group {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-anthracite);
  cursor: pointer;
  transition: border-color 0.2s;
}

.radio-option:hover,
.radio-option:has(input:checked) {
  border-color: var(--color-neon-light);
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-error {
  color: #ff8a7a;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

/* ——— Devis / contact wizard ——— */
body[data-page="devis"] .site-footer {
  display: none !important;
}

body[data-page="devis"] {
  --devis-neon: #ec643f;
  --devis-line: #2a2a2a;
  --devis-panel: #0a0a0a;
}

body[data-page="devis"] .site-header {
  border-bottom-color: transparent;
  box-shadow: none;
}


.devis-main {
  --devis-header: var(--header-height, 4.5rem);
  min-height: calc(100dvh - var(--devis-header));
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #000;
}

/* Quiz over image */
.devis-quiz {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--devis-header) - 10rem);
  overflow: visible;
  background: #0a0a0a;
}

.devis-quiz__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.devis-quiz__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.1);
  filter: brightness(0.82) saturate(0.88) contrast(1.03) blur(1.2px);
  animation: devis-img-breathe 28s ease-in-out infinite alternate;
  will-change: transform, filter;
}

@keyframes devis-img-breathe {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
    filter: brightness(0.78) saturate(0.82) contrast(1.02) blur(2px);
  }
  50% {
    transform: scale(1.14) translate3d(-1.6%, 0.8%, 0);
    filter: brightness(0.86) saturate(0.92) contrast(1.04) blur(0.7px);
  }
  100% {
    transform: scale(1.18) translate3d(1.4%, -0.7%, 0);
    filter: brightness(0.8) saturate(0.86) contrast(1.03) blur(1.6px);
  }
}

.devis-quiz__bokeh {
  position: absolute;
  inset: -12%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(ellipse 30% 24% at 16% 60%, rgba(255, 200, 150, 0.42) 0%, transparent 68%),
    radial-gradient(ellipse 24% 20% at 82% 42%, rgba(255, 255, 255, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 20% 18% at 48% 78%, rgba(236, 100, 63, 0.28) 0%, transparent 72%),
    radial-gradient(ellipse 16% 14% at 90% 74%, rgba(255, 220, 180, 0.26) 0%, transparent 75%),
    radial-gradient(ellipse 12% 10% at 30% 35%, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
  filter: blur(22px);
  animation: devis-bokeh-drift 24s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes devis-bokeh-drift {
  0% {
    transform: translate3d(-2%, 1%, 0) scale(1);
    opacity: 0.42;
  }
  100% {
    transform: translate3d(3.5%, -2.5%, 0) scale(1.12);
    opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .devis-quiz__img {
    animation: none;
    filter: brightness(0.82) saturate(0.88) contrast(1.03) blur(0.9px);
    transform: scale(1.08);
  }

  .devis-quiz__bokeh {
    animation: none;
    opacity: 0.45;
  }
}

/* Flou + fondu en haut — raccord doux avec le header noir */
.devis-quiz__frost {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 62%;
  pointer-events: none;
  backdrop-filter: blur(26px) saturate(1.05);
  -webkit-backdrop-filter: blur(26px) saturate(1.05);
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.65) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.65) 72%,
    transparent 100%
  );
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    transparent 100%
  );
}

.devis-quiz__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.94) 6%,
    rgba(0, 0, 0, 0.78) 18%,
    rgba(0, 0, 0, 0.52) 34%,
    rgba(0, 0, 0, 0.32) 48%,
    rgba(0, 0, 0, 0.38) 58%,
    rgba(0, 0, 0, 0.58) 74%,
    rgba(0, 0, 0, 0.84) 90%,
    #000 100%
  );
}

.devis-shell {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  padding: clamp(0.85rem, 2vh, 1.35rem) 1.5rem clamp(1.25rem, 3vh, 2rem);
  min-height: 0;
  overflow: visible;
  text-align: center;
}

.devis-intro {
  margin-bottom: 1.15rem;
  width: 100%;
}

.devis-intro__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-display, inherit);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.devis-intro__title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.devis-intro__text {
  display: none;
}

.devis-progress {
  flex: 0 0 auto;
  margin-bottom: 1.15rem;
  width: 100%;
}

.devis-progress__track {
  display: flex;
  gap: 0.5rem;
}

.devis-progress__step {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.devis-progress__step.is-done {
  background: rgba(255, 255, 255, 0.5);
}

.devis-progress__step.is-current {
  background: var(--devis-neon);
  box-shadow: 0 0 10px rgba(236, 100, 63, 0.35);
}

.devis-step-meta {
  flex: 0 0 auto;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--devis-neon);
}

.devis-step-head {
  flex: 0 0 auto;
  margin-bottom: 1.25rem;
}

.devis-step-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
}

.devis-step-lede {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.devis-hint {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.devis-form .form-step {
  display: none;
  flex-direction: column;
}

.devis-form .form-step.is-active {
  display: flex;
  animation: devis-step-in 0.35s ease both;
}

@keyframes devis-step-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .devis-form .form-step.is-active {
    animation: none;
  }
}

.choice-grid {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Soft floating dark glass cards */
.choice-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  min-height: 3.5rem;
  padding: 0.85rem 0.65rem;
  overflow: hidden !important;
  border: 0;
  border-radius: 0.95rem !important;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 12px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.choice-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit !important;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 72%
  );
  pointer-events: none;
}

.choice-tile::after {
  content: none;
}

.choice-tile input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.choice-tile__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  font-size: clamp(0.74rem, 2.3vw, 0.86rem);
  font-weight: 520;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: none;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.choice-tile:hover {
  background: rgba(0, 0, 0, 0.38);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.choice-tile:hover .choice-tile__label {
  color: #fff;
}

.choice-tile:active {
  transform: scale(0.985);
}

.choice-tile:has(input:checked),
.choice-tile:has(input:focus-visible) {
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 0 0 1px rgba(236, 100, 63, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 16px 36px rgba(0, 0, 0, 0.42);
}

.choice-tile:has(input:checked) .choice-tile__label,
.choice-tile:has(input:focus-visible) .choice-tile__label {
  color: #fff;
  font-weight: 600;
}

.chip-stack {
  border: 0;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  gap: 0.65rem;
  align-content: start;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.chip-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  min-height: 3.5rem;
  padding: 0.95rem 1.2rem;
  overflow: hidden !important;
  border: 0;
  border-radius: 0.95rem !important;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 12px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.chip-option::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit !important;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 72%
  );
  pointer-events: none;
}

.chip-option::after {
  content: none;
}

.chip-option--lg {
  min-height: 3.7rem;
}

.chip-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.chip-option span {
  position: relative;
  z-index: 1;
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  font-size: 0.94rem;
  font-weight: 520;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.chip-option:hover {
  background: rgba(0, 0, 0, 0.38);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.chip-option:hover span {
  color: #fff;
}

.chip-option:active {
  transform: scale(0.985);
}

.chip-option:has(input:checked),
.chip-option:has(input:focus-visible) {
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 0 0 1px rgba(236, 100, 63, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 16px 36px rgba(0, 0, 0, 0.42);
}

.chip-option:has(input:checked) span {
  color: #fff;
  font-weight: 600;
}

.field-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.devis-other-field {
  margin-top: 0.95rem;
}

.devis-other-field[hidden] {
  display: none !important;
}

.devis-form .field {
  margin-bottom: 0.75rem;
}

.devis-form .field--compact {
  margin-bottom: 0;
}

.devis-form .field label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-align: center;
}

.devis-form .field input,
.devis-form .field textarea,
.devis-form .field select {
  border-color: #333;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.95rem 1rem;
  text-align: center;
}

.devis-form .field textarea {
  min-height: 0;
  height: clamp(7rem, 28vh, 11rem);
}

.devis-form .form-error {
  margin-top: 0.5rem;
}

.devis-nav {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 0;
  background: transparent;
  border-top: 0;
}

.devis-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.devis-nav__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.devis-nav__btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.85);
}

.devis-nav__btn--ghost:hover,
.devis-nav__btn--ghost:focus-visible {
  border-color: #fff;
  color: #fff;
}

.devis-nav__btn--primary {
  background: #fff;
  color: #0a0a0a;
  margin-left: auto;
}

.devis-nav__btn--primary:hover:not(:disabled),
.devis-nav__btn--primary:focus-visible:not(:disabled) {
  background: rgba(255, 255, 255, 0.88);
}

.devis-nav__btn[hidden] {
  display: none !important;
}


/* Contact below quiz */
.devis-contact {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  border-top: 0;
  background: #000;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.35rem, 4vw, 3rem) calc(3rem + env(safe-area-inset-bottom, 0px));
  overflow-y: visible;
}

.devis-contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2rem;
  pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.devis-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2.25rem, 5vw, 3.75rem);
  width: 100%;
  max-width: 58rem;
  margin-inline: auto;
  text-align: left;
}

.devis-contact__direct,
.devis-contact__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.devis-contact__form {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.devis-contact__eyebrow,
.devis-contact__form-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display, inherit);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.devis-contact__lead,
.devis-contact__form-hint {
  margin: 0 0 1.25rem;
  max-width: 36ch;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.devis-contact__form-hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.52);
}

.devis-contact__phone {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.7rem;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(255, 255, 255, 0.62);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.devis-contact__phone:hover,
.devis-contact__phone:focus-visible {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.85);
  outline: none;
}

.devis-contact__hours,
.devis-contact__addr {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.devis-contact__mail {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0.45rem 0 0.65rem;
  font-size: 0.98rem;
  color: var(--devis-neon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(236, 100, 63, 0.55);
  word-break: normal;
  overflow-wrap: anywhere;
}

.devis-contact__mail:hover,
.devis-contact__mail:focus-visible {
  color: #ff7a55;
  text-decoration-color: rgba(255, 122, 85, 0.9);
}

.devis-contact__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}

.devis-contact__message {
  grid-column: 1 / -1;
}

.devis-contact__form .field {
  margin-bottom: 0;
}

.devis-contact__form .field label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  text-align: left;
}

.devis-contact__form .field input,
.devis-contact__form .field textarea {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.95rem 1rem;
  text-align: left;
}

.devis-contact__form .field textarea {
  min-height: 5.5rem;
  height: auto;
  resize: vertical;
}

.devis-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.devis-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid #fff;
  background: #fff;
  color: #0a0a0a;
  font-family: var(--font-display, inherit);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.devis-contact__submit:hover,
.devis-contact__submit:focus-visible {
  background: transparent;
  border-color: #fff;
  color: #fff;
  outline: none;
}

.devis-contact__feedback {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.devis-form .field input,
.devis-form .field textarea,
.devis-form .field select {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 0.85rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 980px) {
  .devis-main {
    min-height: auto;
  }

  .devis-quiz {
    min-height: calc(100dvh - var(--devis-header) - 8.5rem);
    flex: 0 0 auto;
  }

  .devis-quiz__img {
    object-position: center 26%;
  }

  .devis-quiz__frost {
    height: 58%;
    backdrop-filter: blur(22px) saturate(1.05);
    -webkit-backdrop-filter: blur(22px) saturate(1.05);
  }

  .devis-quiz__veil {
    background: linear-gradient(
      180deg,
      #000 0%,
      rgba(0, 0, 0, 0.94) 8%,
      rgba(0, 0, 0, 0.78) 20%,
      rgba(0, 0, 0, 0.5) 36%,
      rgba(0, 0, 0, 0.3) 48%,
      rgba(0, 0, 0, 0.36) 58%,
      rgba(0, 0, 0, 0.6) 74%,
      rgba(0, 0, 0, 0.86) 90%,
      #000 100%
    );
  }

  .devis-shell {
    justify-content: flex-start;
    padding: 0.7rem 1.15rem 1.35rem;
    overflow: visible;
  }

  .devis-intro {
    margin-bottom: 0.95rem;
  }

  .devis-progress {
    margin-bottom: 0.95rem;
  }

  .devis-step-head {
    margin-bottom: 1rem;
  }

  .devis-nav {
    margin-top: 1.25rem;
  }

  .devis-step-lede {
    display: none;
  }

  .devis-contact {
    padding: 2.75rem 1.2rem calc(2.25rem + env(safe-area-inset-bottom, 0px));
  }

  .devis-contact__inner {
    grid-template-columns: 1fr;
    max-width: 28rem;
    gap: 2.5rem;
    text-align: center;
    justify-items: center;
  }

  .devis-contact__direct,
  .devis-contact__form {
    align-items: center;
    text-align: center;
  }

  .devis-contact__form {
    padding-left: 0;
    border-left: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .devis-contact__lead,
  .devis-contact__form-hint {
    margin-inline: auto;
  }

  .devis-contact__phone,
  .devis-contact__mail {
    display: inline-block;
  }

  .devis-contact__fields {
    text-align: center;
    width: 100%;
  }

  .devis-contact__form .field label {
    text-align: center;
  }

  .devis-contact__form .field input,
  .devis-contact__form .field textarea {
    text-align: center;
  }

  .devis-contact__actions {
    justify-content: center;
    width: 100%;
  }

  .choice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .choice-tile {
    min-height: 2.95rem;
  }

  .choice-tile__label {
    font-size: 0.7rem;
  }

  .devis-contact__fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .choice-tile__label {
    font-size: 0.66rem;
  }
}

@media (min-width: 981px) {
  .devis-quiz {
    min-height: calc(100dvh - var(--devis-header) - 10rem);
  }

  .choice-tile {
    min-height: 3.2rem;
  }
}

/* Map */
.map-embed {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--color-anthracite);
}

.map-embed iframe {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--color-anthracite);
  filter: grayscale(1) contrast(1.05);
}

.btn--dark {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.btn--dark:hover {
  background: transparent;
  color: var(--color-neon-light);
  border-color: var(--color-neon-light);
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-details a {
  color: var(--color-white);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--color-neon-light);
}

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

/* ——— Prose / CTA ——— */
.prose {
  max-width: 42rem;
}

.prose p + p,
.prose h2 {
  margin-top: 1.25rem;
}

.prose h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.prose p {
  color: rgba(255, 255, 255, 0.68);
}

/* ——— À propos : texte centré, gouttières réduites ——— */
body[data-page="a-propos"] .page-hero {
  text-align: center;
  padding-inline: clamp(0.85rem, 3vw, 1.25rem);
}

body[data-page="a-propos"] .page-hero.container,
body[data-page="a-propos"] .about-stack.container {
  padding-inline: clamp(0.85rem, 3vw, 1.25rem);
}

body[data-page="a-propos"] .page-hero h1 {
  max-width: 18ch;
  margin-inline: auto;
}

body[data-page="a-propos"] .page-hero .lede {
  margin-inline: auto;
  max-width: 38rem;
}

body[data-page="a-propos"] .page-content {
  padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(3rem, 7vw, 4.5rem);
}

body[data-page="a-propos"] .about-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  max-width: min(40rem, 100%);
  margin-inline: auto;
}

body[data-page="a-propos"] .about-block {
  width: 100%;
}

body[data-page="a-propos"] .about-block h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body[data-page="a-propos"] .about-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  max-width: none;
}

body[data-page="a-propos"] .about-block p + p {
  margin-top: 0.85rem;
}

body[data-page="a-propos"] .about-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

body[data-page="a-propos"] .about-cta__links {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

body[data-page="a-propos"] .about-cta__links a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body[data-page="a-propos"] .about-cta__links span {
  margin-inline: 0.35rem;
  opacity: 0.55;
}

.cta-band {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--color-anthracite);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-transform: uppercase;
}

.cta-band .lede {
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Process wheel — double trait, étapes au scroll ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Process pinned 50/50 ——— */
.process-pinned {
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-black);
  color: var(--color-white);
  padding: 0;
  /* Respiration avant Technique et matériels */
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

.process-pinned__pin {
  --process-pin-offset: var(--header-height, 5.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  /* svh/dvh only — NEVER 100vh (iOS coupe le CTA sous la barre) */
  height: calc(100svh - var(--process-pin-offset));
  height: calc(100dvh - var(--process-pin-offset));
  min-height: calc(100svh - var(--process-pin-offset));
  min-height: calc(100dvh - var(--process-pin-offset));
  max-height: calc(100svh - var(--process-pin-offset));
  max-height: calc(100dvh - var(--process-pin-offset));
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: clamp(0.55rem, 1.6vh, 1rem);
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
}

.process-pinned__inner {
  /* Même gouttière que .container / page-hero (pas collé au bord) */
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  /* Remplit l’espace au-dessus du CTA → la roue peut grossir */
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(0.85rem, 2.2vh, 1.5rem) 2rem 0.35rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  /* Texte à gauche (inset), roue ancrée à droite */
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  box-sizing: border-box;
  overflow: visible;
}

.process-pinned__text {
  position: relative;
  flex: 1 1 24rem;
  width: 100%;
  max-width: 28rem;
  min-height: 0;
  align-self: center;
  /* Décalage lisible : aligné sur le hero, jamais collé au viewport */
  margin-left: 0;
  padding-left: 0;
}

.process-pinned__steps {
  position: relative;
  min-height: 11.5rem;
}

.process-step {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  border-top: 0 !important;
}

.process-step.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.process-step__num {
  display: block;
  margin: 0 0 0.55rem;
  font-family: var(--font-display, inherit);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-neon, #ec643f);
}

.process-step__title {
  margin: 0 0 0.85rem;
  max-width: 14ch;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-white);
}

.process-step__body {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.process-step__media {
  margin: 0 0 1rem;
  overflow: hidden;
  background: var(--color-anthracite, #1a1a1a);
  aspect-ratio: 4 / 3;
  max-width: 18rem;
}

.process-step__media.is-empty {
  display: none;
}

.process-step__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.wheel {
  --neon: var(--color-neon, #ec643f);
  /* Remplit le pin : ~hauteur viewport − header − CTA */
  --wheel-size: min(640px, 52vw, calc(100svh - var(--process-pin-offset, 5.5rem) - 8.5rem));
  --wheel-radius: calc(var(--wheel-size) * 180 / 500);
  --node-size: 46px;
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.process-pinned__wheel {
  --wheel-size: min(640px, 52vw, calc(100svh - var(--process-pin-offset, 5.5rem) - 8.5rem));
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin-left: auto;
  overflow: visible;
  opacity: 0;
  transform: translateY(1.75rem) scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-pinned.is-wheel-in .process-pinned__wheel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wheel__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
  overflow: visible;
}

.wheel__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.5;
}

.wheel__progress {
  fill: none;
  stroke: var(--neon);
  stroke-width: 2.5;
  stroke-linecap: butt;
}

.wheel__center {
  position: absolute;
  z-index: 2;
  width: calc(var(--wheel-size) * 0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.wheel__drawings {
  position: relative;
  width: calc(var(--wheel-size) * 0.14);
  height: calc(var(--wheel-size) * 0.14);
  min-width: 3.5rem;
  min-height: 3.5rem;
  max-width: 5.5rem;
  max-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.88);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease,
    color 0.25s ease;
  pointer-events: none;
}

.wheel-icon.is-active {
  opacity: 1;
  visibility: visible;
  color: #fff;
  transform: translate(-50%, -50%) scale(1);
}

.wheel__caption-below {
  margin-top: 0.65rem;
  text-align: center;
}

.wheel__caption-num {
  display: block;
  margin-bottom: 0.15rem;
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--neon);
}

.wheel__caption-title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(0.82rem, calc(var(--wheel-size) * 0.028), 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.wheel__nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.process-pinned .wheel__node,
.process-pinned .wheel__node.is-active,
.process-pinned .wheel__node.is-revealed,
.process-pinned .wheel__node:hover,
.process-pinned .wheel__node:focus-visible {
  border-radius: 50% !important;
}

.wheel__node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--node-size);
  height: var(--node-size);
  margin-top: calc(var(--node-size) / -2);
  margin-left: calc(var(--node-size) / -2);
  padding: 0;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0d0d0d;
  color: #777;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  overflow: visible;
  z-index: 3;
  /* Masquée tant que le scroll n’a pas atteint cette étape */
  opacity: 0;
  pointer-events: none;
  transform:
    rotate(calc(var(--i) * 60deg - 90deg))
    translate(var(--wheel-radius))
    rotate(calc(var(--i) * -60deg + 90deg))
    scale(0);
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.wheel__node.is-revealed {
  opacity: 1;
  pointer-events: auto;
  transform:
    rotate(calc(var(--i) * 60deg - 90deg))
    translate(var(--wheel-radius))
    rotate(calc(var(--i) * -60deg + 90deg))
    scale(1);
}

.wheel__node.is-revealed:hover {
  border-color: #fff;
  color: #fff;
}

.wheel__node.is-revealed.is-active {
  background: var(--neon);
  color: #fff;
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(236, 100, 63, 0.6);
  transform:
    rotate(calc(var(--i) * 60deg - 90deg))
    translate(var(--wheel-radius))
    rotate(calc(var(--i) * -60deg + 90deg))
    scale(1.2);
}

.wheel__node.is-revealed:focus-visible {
  border-color: var(--neon);
  color: #fff;
}

.process-pinned__scroll {
  position: absolute;
  right: clamp(0.75rem, 2.5vw, 1.75rem);
  top: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.process-pinned.is-scrubbing .process-pinned__scroll,
.process-pinned.is-wheel-in .process-pinned__scroll {
  opacity: 0;
}

.process-pinned__scroll-label {
  font-family: var(--font-display, inherit);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  animation: process-scroll-fade 1.8s ease-in-out infinite;
}

.process-pinned__scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.15rem;
}

.process-pinned__scroll-chevron {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(180, 180, 180, 0.9);
  margin-top: -0.45rem;
  animation: process-scroll-fade 1.8s ease-in-out infinite;
}

.process-pinned__scroll-chevron:first-child {
  margin-top: 0;
  animation-delay: 0s;
}

.process-pinned__scroll-chevron:last-child {
  animation-delay: 0.35s;
}

@keyframes process-scroll-fade {
  0%,
  100% {
    color: rgba(90, 90, 90, 0.55);
    opacity: 0.45;
    transform: translateY(0);
  }
  50% {
    color: rgba(210, 210, 210, 0.95);
    opacity: 1;
    transform: translateY(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-pinned__scroll-label,
  .process-pinned__scroll-chevron {
    animation: none;
    color: rgba(180, 180, 180, 0.75);
    opacity: 0.8;
  }
}

.process-pinned__cta {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 100%;
  max-width: 1280px;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  /* Même gouttière que .process-pinned__inner → aligné colonne texte */
  padding: 0.5rem 2rem clamp(0.45rem, 1.4vh, 0.85rem);
  text-align: left;
  box-sizing: border-box;
}

.gallery-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 0.7rem 1.1rem 0.7rem 1.2rem;
  border: 1.5px solid var(--color-white);
  background: transparent;
  font-family: var(--font-display, inherit);
  font-size: clamp(0.88rem, 2.2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.gallery-cta__label {
  flex: 0 1 auto;
}

.gallery-cta__arrow {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  color: var(--color-neon, #ec643f);
  animation: gallery-cta-arrow 1.6s ease-in-out infinite;
}

.gallery-cta__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-cta:hover,
.gallery-cta:focus-visible {
  border-color: var(--color-neon, #ec643f);
  color: var(--color-white);
}

.gallery-cta:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 4px;
}

@keyframes gallery-cta-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(0.35rem);
  }
}

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

@media (max-width: 900px) {
  .process-pinned__pin {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .process-pinned__inner {
    grid-row: 1;
    flex: none;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    overflow: hidden;
    padding: 0.45rem 1.25rem 0;
    max-width: 1280px;
    width: 100%;
    box-sizing: border-box;
  }

  .process-pinned__text {
    flex: 0 0 auto;
    max-width: none;
    min-height: 0;
    align-self: stretch;
  }

  .process-pinned__wheel {
    --wheel-size: min(440px, 92vw, 56svh);
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 0;
    overflow: hidden;
  }

  .process-pinned__cta {
    grid-row: 2;
    position: relative;
    z-index: 5;
    flex: none;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.45rem 1.25rem 0.15rem;
    background: var(--color-black);
  }

  .gallery-cta {
    font-size: clamp(0.82rem, 3.6vw, 1rem);
    padding: 0.65rem 0.95rem 0.65rem 1.05rem;
    gap: 0.55rem;
  }

  .process-pinned__scroll {
    top: auto;
    bottom: 5rem;
    right: 0.55rem;
    transform: none;
  }

  .process-pinned__steps {
    min-height: 6.25rem;
  }

  .process-step__title {
    font-size: clamp(1.1rem, 4.8vw, 1.45rem);
  }

  .process-step__body {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .wheel {
    --wheel-size: min(440px, 92vw, 56svh);
    --node-size: 40px;
    max-width: 100%;
    max-height: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .wheel__node {
    font-size: 0.72rem;
  }

  .wheel__caption-title {
    font-size: 0.74rem;
    white-space: normal;
    max-width: 12rem;
  }
}

/* iPhone petites hauteurs : garder CTA + roue lisible */
@media (max-width: 900px) and (max-height: 780px) {
  .process-pinned__inner {
    padding-top: 0.35rem;
    gap: 0.25rem;
  }

  .process-pinned__steps {
    min-height: 5.5rem;
  }

  .process-pinned__wheel {
    --wheel-size: min(400px, 90vw, 52svh);
  }

  .wheel {
    --wheel-size: min(400px, 90vw, 52svh);
    --node-size: 36px;
  }

  .process-step__body {
    font-size: 0.8rem;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-bottom: 1.75rem;
  }

  .process-pinned__steps {
    min-height: 0;
  }

  .process-pinned__scroll {
    display: none;
  }

  .process-pinned__wheel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .wheel__node,
  .wheel__node.is-revealed,
  .wheel__node.is-revealed.is-active {
    opacity: 1;
    pointer-events: auto;
    transform:
      rotate(calc(var(--i) * 60deg - 90deg))
      translate(var(--wheel-radius))
      rotate(calc(var(--i) * -60deg + 90deg))
      scale(1);
  }
}

.concept-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  max-width: 100%;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.15rem, 3.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  transition: color 0.2s ease;
}

.concept-cta__row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
}

.concept-cta__bracket {
  font-size: 1.35em;
  line-height: 0.72;
  position: relative;
  top: 0.02em;
}

.concept-cta__label {
  padding: 0 0.12em;
}

.concept-cta__hint {
  font-family: var(--font-body, inherit);
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.55);
}

.concept-cta__plus {
  color: var(--color-neon, #ec643f);
  text-shadow:
    0 0 8px rgba(236, 100, 63, 0.4),
    0 0 18px rgba(236, 100, 63, 0.22);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  transform-origin: center;
}

.concept-cta:hover .concept-cta__plus,
.concept-cta:focus-visible .concept-cta__plus {
  color: var(--color-neon-light, #ec643f);
  transform: rotate(90deg) scale(1.12);
}

.concept-cta:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: 6px;
}

/* ——— Reveals ——— */
.reveal {
  will-change: opacity, transform, filter;
}

.site-nav__link.is-active,
.site-nav a[aria-current="page"] {
  color: var(--color-neon-light);
}
