:root {
  --safe-edge: clamp(24px, 4vw, 72px);
  --black-0: #070605;
  --black-1: #0a0908;
  --black-2: #0f0d0b;
  --black-3: #15110e;
}

body.site-public {
  background:
    radial-gradient(circle at 14% 4%, rgba(169, 111, 64, .08), transparent 32rem),
    var(--black-0);
}

.portfolio-preview,
.artist,
.studio,
.pricing,
.hygiene,
.faq,
.contact {
  color: var(--paper);
  border-top: 1px solid rgba(251, 246, 238, .1);
}

.portfolio-preview,
.artist,
.studio,
.pricing,
.hygiene,
.faq,
.contact {
  isolation: isolate;
}

.portfolio-preview::after,
.artist::before,
.studio::before,
.pricing::before,
.hygiene::before,
.faq::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(221, 176, 120, .035) 50%, transparent 100%),
    radial-gradient(circle at 78% 12%, rgba(169, 111, 64, .07), transparent 28rem);
}

/* Hero plus généreux sur les écrans larges */
.hero__media {
  left: 34%;
}

.hero__media::after {
  background:
    linear-gradient(90deg, #090909 0%, rgba(9, 9, 9, .86) 15%, rgba(9, 9, 9, .08) 58%),
    linear-gradient(0deg, #090909 0%, transparent 24%, rgba(0, 0, 0, .22) 100%);
}

@media (min-width: 1800px) {
  .hero {
    width: min(100%, 2800px);
    border-radius: 0 0 38px 38px;
  }
}

/* La section artiste reste noire comme tout le parcours */
.artist {
  color: var(--paper);
  background:
    radial-gradient(circle at 8% 92%, rgba(169, 111, 64, .12), transparent 30rem),
    linear-gradient(135deg, #0e0c0a 0%, #080706 70%);
}

.artist::after {
  right: max(24px, calc((100vw - 1760px) / 2));
  top: 38%;
  bottom: auto;
  color: rgba(224, 195, 125, .085);
  font-size: clamp(15rem, 26vw, 42rem);
  line-height: .7;
  transform: translateY(-50%);
  -webkit-text-stroke: 1px rgba(224, 195, 125, .08);
}

.artist h2,
.artist h3 {
  color: var(--paper) !important;
}

.artist .eyebrow,
.artist__signature {
  color: var(--copper-light);
}

.artist__lead {
  color: #d9cdbf;
}

.artist__story {
  color: var(--paper-dim);
}

.artist__story a {
  color: var(--copper-light);
}

.artist__story p {
  text-wrap: pretty;
}

/* Carrousel véritablement plein écran */
.studio {
  background:
    radial-gradient(circle at 86% 14%, rgba(169, 111, 64, .11), transparent 32rem),
    var(--black-0);
}

.studio__header.page-width {
  width: 100%;
  max-width: none;
  padding-inline: var(--safe-edge);
}

.studio__carousel-shell {
  position: relative;
  width: calc(100% - var(--safe-edge) - var(--safe-edge));
  max-width: 1440px;
  margin-inline: auto;
  isolation: isolate;
}

.studio__viewport {
  width: 100%;
  scroll-padding-inline: var(--safe-edge);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.5%, #000 98.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 1.5%, #000 98.5%, transparent 100%);
}

.studio__track {
  gap: clamp(16px, 1.4vw, 28px);
  padding-inline: 0;
}

.studio__slide {
  flex-basis: clamp(480px, 48vw, 1280px);
  border-color: rgba(251, 246, 238, .18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.studio__slide[data-active] {
  border-color: rgba(221, 176, 120, .38);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .5), 0 0 0 1px rgba(221, 176, 120, .08);
}

.studio__control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: clamp(54px, 4vw, 68px);
  height: clamp(54px, 4vw, 68px);
  color: #fffaf3;
  border-color: rgba(251, 246, 238, .34);
  background: rgba(7, 6, 5, .78);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .42);
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.studio__control--prev {
  left: clamp(12px, 1.6vw, 24px);
}

.studio__control--next {
  right: clamp(12px, 1.6vw, 24px);
}

.studio__control:hover,
.studio__control:focus-visible {
  color: #fff;
  border-color: var(--copper-light);
  background: rgba(119, 70, 37, .88);
  transform: translateY(-50%) scale(1.06);
}

.studio__counter {
  position: absolute;
  top: clamp(18px, 2.4vw, 34px);
  right: clamp(14px, 1.8vw, 28px);
  z-index: 4;
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  padding: 11px 16px;
  color: #bfb1a3;
  border: 1px solid rgba(251, 246, 238, .2);
  border-radius: 999px;
  background: rgba(7, 6, 5, .7);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.studio__counter strong {
  margin-right: 7px;
  color: #fffaf3;
}

.studio__progress {
  width: auto;
  margin: 30px 0 0;
}

/* Les informations de soin restent sombres et cohérentes */
.hygiene {
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 6%, rgba(169, 111, 64, .11), transparent 30rem),
    linear-gradient(145deg, #100d0b, #080706 70%);
}

.hygiene h2,
.hygiene h3 {
  color: var(--paper) !important;
}

.hygiene .eyebrow {
  color: var(--copper-light);
}

.hygiene__heading > p {
  color: var(--paper-dim);
}

.hygiene__protocols .hygiene__protocol {
  border-color: rgba(251, 246, 238, .16);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
}

.hygiene__protocols .hygiene__protocol[open] {
  border-color: rgba(221, 176, 120, .4);
  background:
    radial-gradient(circle at 100% 0, rgba(169, 111, 64, .11), transparent 24rem),
    #100e0c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .36);
}

.hygiene__protocols summary,
.hygiene__protocols summary strong {
  color: var(--paper);
}

.hygiene__protocol-meta {
  color: #c6b6a6;
}

.hygiene__protocols .accordion__number,
.hygiene__protocols .accordion__content a {
  color: var(--copper-light);
}

.hygiene__protocols .accordion__icon::before,
.hygiene__protocols .accordion__icon::after {
  background: var(--copper-light);
}

.hygiene__protocols .accordion__content {
  color: var(--paper-dim);
}

.hygiene__protocols .accordion__subheading {
  color: var(--paper) !important;
}

/* Contact sans carte blanche */
.contact {
  background:
    radial-gradient(circle at 82% 8%, rgba(169, 111, 64, .16), transparent 34rem),
    linear-gradient(145deg, #110d0a, #070605 68%);
}

.contact__card,
.contact__card--lead,
.contact__card--quick,
.contact__card--process {
  color: var(--paper);
  border-color: rgba(251, 246, 238, .17);
  background:
    radial-gradient(circle at 100% 0, rgba(169, 111, 64, .09), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .25);
}

.contact__card:hover {
  border-color: rgba(221, 176, 120, .42);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .36);
  transform: translateY(-4px);
}

.contact__card {
  transition: border-color .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}

.contact__card--lead h3,
.contact__card h3 {
  color: var(--paper) !important;
}

.contact__card--lead p,
.contact__card--lead li,
.contact__card p,
.contact__card li {
  color: var(--paper-dim);
}

.contact__card--lead .contact__index,
.contact__index,
.contact__card--lead a:not(.button),
.contact__card a:not(.button) {
  color: var(--copper-light);
}

/* Détails de profondeur sans rupture chromatique */
.work-card,
.pricing__step,
.faq__item,
.hygiene__protocol,
.contact__card {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

@media (max-width: 1240px) {
  :root {
    --safe-edge: clamp(20px, 3.2vw, 42px);
  }

  .studio__slide {
    flex-basis: clamp(430px, 66vw, 780px);
  }
}

@media (max-width: 780px) {
  :root {
    --safe-edge: 20px;
  }

  .hero__media {
    inset: 0;
  }

  .studio__header.page-width {
    padding-inline: var(--safe-edge);
  }

  .studio__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .studio__track {
    gap: 12px;
    padding-inline: 0;
  }

  .studio__slide {
    flex-basis: calc(100vw - 52px);
  }

  .studio__control {
    top: calc(50% - 18px);
    width: 48px;
    height: 48px;
  }

  .studio__control--prev {
    left: 12px;
  }

  .studio__control--next {
    right: 12px;
  }

  .studio__counter {
    top: 14px;
    right: 14px;
    padding: 8px 12px;
    font-size: .68rem;
  }

  .studio__counter strong {
    font-size: 1rem;
  }

  .studio__progress {
    margin: 24px 0 0;
  }
}

@media (max-width: 520px) {
  .hero {
    border-radius: 0 0 22px 22px;
  }

  .studio__slide {
    flex-basis: calc(100vw - 44px);
    border-radius: 20px;
  }

  .studio__control {
    width: 44px;
    height: 44px;
  }

  .studio__control--prev {
    left: 9px;
  }

  .studio__control--next {
    right: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact__card,
  .studio__control {
    transition: none;
  }
}

/* Bord à bord jusqu’à la largeur maximale ; le cadre ultra-large est conservé. */
@media (max-width: 2800px) {
  .page-home .hero { border-radius: 0; }
}
