/* ═════════════════════════════════════════════════════════════════
   nuance&co — site.css
   Typographic discipline:
     Barlow Condensed → display H1/H2/H3 + uppercase labels
     AGaramondPro Italic → italicized accents, taglines, pull-quotes
     Inter → body, UI, links, form fields, buttons
   ═════════════════════════════════════════════════════════════════ */

/* ─── Fonts ─── */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "AGaramondPro";
  src: url("../fonts/AGaramondPro-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap
}

@font-face {
  font-family: "AGaramondPro";
  src: url("../fonts/AGaramondPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap
}

/* ─── Tokens ─── */
:root {
  --neutre: #F3F1EE;
  --neutre-warm: #E8E4DC;
  --mauve: #514D62;
  --charbon: #25232E;
  --charbon-2: #514D62;
  --magenta: #9D063A;

  --ink-rgb: 243, 241, 238;
  --bg-rgb: 37, 35, 46;

  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-y: clamp(80px, 11vw, 140px);

  --divider: rgba(var(--ink-rgb), .12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  background: var(--charbon);
  color: var(--neutre);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit
}

::selection {
  background: #c82851;
  color: var(--neutre)
}

/* ═════════════ HEADER / CHROME ═════════════ */
.chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 36px;
  z-index: 50;
  pointer-events: none;
  transition: background .3s ease, padding .3s ease, backdrop-filter .3s ease;
}

.chrome>* {
  pointer-events: auto
}

.chrome.scrolled {
  background: rgba(29, 27, 36, .78);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  padding: 14px 36px;
  border-bottom: 1px solid rgba(var(--ink-rgb), .06);
}

.chrome .wordmark {
  height: 44px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .95;
  transition: height .3s ease;
}

.chrome.scrolled .wordmark {
  height: 32px
}

.chrome .contact {
  display: flex;
  align-items: center;
  gap: 20px
}

.chrome .phone {
  font-family: "Inter";
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--neutre);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
}

.chrome .phone .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 4px rgba(157, 6, 58, .18);
  flex-shrink: 0;
}

.chrome .phone .num {
  font-variant-numeric: tabular-nums
}

.chrome .cta {
  font-family: "Inter";
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--neutre);
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid rgba(var(--ink-rgb), .35);
  border-radius: 1px;
  background: transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.chrome .cta:hover,
.chrome .cta:focus-visible {
  background: var(--magenta);
  border-color: var(--magenta);
  outline: none;
}

/* ═════════════ HERO ═════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  background: var(--charbon);
  overflow: hidden;
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/figma/splatter.svg") center/cover no-repeat;
  opacity: .05;
  mix-blend-mode: screen;
  pointer-events: none;
}

.amp-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.amp-wrap {
  position: relative;
  height: clamp(780px, 130vh, 1500px);
  aspect-ratio: 92/104;
  transform: rotate(-5deg) translateY(2%);
  transform-origin: center center;
}

.amp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible
}

.hero-meta {
  position: absolute;
  left: 36px;
  bottom: 56px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 780px;
  pointer-events: none;
}

.hero-meta .label,
.hero .hero-meta .label {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #F3F1EE !important;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-meta .label::before {
  content: "";
  width: 44px;
  height: 2px;
  background: #9D063A;
  flex-shrink: 0;
}

.hero-meta .accent,
.hero .hero-meta .accent {
  font-family: "AGaramondPro";
  font-style: italic;
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 1.22;
  color: #F3F1EE !important;
  letter-spacing: .005em;
  text-wrap: pretty;
  max-width: 22ch;
}

.hero-meta .accent em {
  color: #9D063A;
  font-style: italic
}

.hero-meta-right {
  position: absolute;
  right: 36px;
  bottom: 40px;
  z-index: 5;
  text-align: right;
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .45);
  line-height: 1.9;
  pointer-events: none;
}

.hero-meta-right .sep {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(var(--ink-rgb), .25);
  vertical-align: middle;
  margin: 0 10px;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  font-family: "Barlow Condensed";
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .4);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.scroll-hint::before,
.scroll-hint::after {
  content: "";
  width: 16px;
  height: 1px;
  background: rgba(var(--ink-rgb), .25);
}

/* ═════════════ SECTION SYSTEM ═════════════ */
section.block {
  position: relative;
  z-index: 2;
  padding: var(--pad-y) var(--pad-x);
  background: var(--charbon-2);
}

section.block.alt {
  background: var(--charbon)
}

.wrap {
  max-width: var(--max);
  margin: 0 auto
}

/* Section header (eyebrow + heading + accent) — empilés verticalement */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 72px;
}

.sec-head .eyebrow {
  font-family: "AGaramondPro";
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0;
  text-transform: none;
  color: #F3F1EE;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  padding: .15em 1.5em .15em 1.5em;
  isolation: isolate;
}

#processus .sec-head .eyebrow {
  white-space: nowrap;
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-top: 0;
  text-wrap: balance;
  max-width: none;
  font-style: normal;
  color: #F3F1EE;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  padding: .15em 1.5em .15em 1.5em;
  isolation: isolate;

}

.sec-head .eyebrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/figma/splatter-h3.svg?v=3") center / 100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}

.sec-head h2 {
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-top: 0;
  text-wrap: balance;
  width: 100%;
  max-width: none;
}

.sec-head h2 em {
  font-style: normal;
  font-size: 1em;
}

/* Variante : h2 avec décor splatter (hérité du eyebrow) */
.sec-head h2.has-splat {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  position: relative;
  padding: .18em .55em .22em .75em;
  isolation: isolate;
  width: auto;
  color: #F3F1EE;
}

[data-theme="light"] .sec-head h2.has-splat {
  color: #F3F1EE;
}

.sec-head h2.has-splat::before {
  content: "";
  position: absolute;
  inset: -.08em -.15em;
  background: url("../img/figma/splatter-h3.svg?v=3") center / 100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}

.sec-head h2.has-splat .logo-inline {
  display: inline-block;
  vertical-align: middle;
  height: .78em;
  aspect-ratio: 1366/235.5;
  width: auto;
  line-height: 1;
  margin-left: .35em;
  margin-bottom: .05em;
  color: #F3F1EE;
  font-style: normal;
  --logo-bg: transparent;
}

.sec-head h2.has-splat .logo-inline svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sec-head h2.has-splat .logo-inline svg #amp path,
.sec-head h2.has-splat .logo-inline svg #amp {
  fill: #25232E;
}

.sec-head .accent {
  font-family: "AGaramondPro";
  font-style: italic;
  font-size: clamp(19px, 1.4vw, 22px);
  line-height: 1.5;
  color: rgba(var(--ink-rgb), .78);
  max-width: 64ch;
  text-wrap: pretty;
  margin-top: 8px;
}

/* ═════════════ SERVICES ═════════════ */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--divider);
}

.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr 220px;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--divider);
  align-items: baseline;
}

.service .num {
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-size: 28px;
  color: var(--magenta);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.service h3 {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  align-self: center;
}

.service p {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(var(--ink-rgb), .78);
  max-width: 54ch;
  text-wrap: pretty;
}

.service .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-self: center;
}

.service .tag {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .6);
  padding: 6px 12px;
  border: 1px solid rgba(var(--ink-rgb), .18);
  border-radius: 1px;
}

/* ═════════════ PORTFOLIO (Swiper carousel — voisines en peek) ═════════════ */
.portfolio-slider {
  position: relative;
  /* Casse le padding horizontal de section.block pour aller bord-à-bord */
  margin-left: calc(-1 * var(--pad-x));
  margin-right: calc(-1 * var(--pad-x));
  padding-bottom: 48px;
  /* place pour les dots */
  isolation: isolate;
  /* Pas d'overflow:hidden ici : on veut voir les voisines déborder horizontalement.
     Le clip vertical est fait par les sections englobantes. */
  /* Voisines en peek ~25% : viewport = main + 2 × (slide_w/4) → slide_w ≈ 67vw */
  --slide-w: min(67vw, 1100px);
  --slide-h: calc(var(--slide-w) * 0.625);
  /* ratio 16/10 */
  --peek-gap: clamp(8px, 1vw, 16px);
}

/* Le wrapper Swiper : pleine largeur, overflow visible pour voir les voisines */
.portfolio-slider .swiper {
  width: 100%;
  overflow: visible;
  height: var(--slide-h);
}

.portfolio-slider .swiper-wrapper {
  align-items: center;
}

.portfolio-slider .swiper-slide {
  width: var(--slide-w);
  height: var(--slide-h);
  margin-right: var(--peek-gap);
  /* Voisines atténuées */
  opacity: .42;
  transition: opacity .55s cubic-bezier(.2, .7, .2, 1);
}

.portfolio-slider .swiper-slide-active {
  opacity: 1;
  z-index: 3;
}

.portfolio-slider figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  outline: none;
  overflow: hidden;
}

.portfolio-slider figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.96) saturate(1.03);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.portfolio-slider .swiper-slide-active figure:hover img,
.portfolio-slider .swiper-slide-active figure:focus-visible img {
  transform: scale(1.02);
  filter: brightness(1) saturate(1.08);
}

.portfolio-slider figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(to top, rgba(37, 35, 46, .86) 0%, rgba(37, 35, 46, .55) 60%, transparent 100%);
  color: #F3F1EE;
  pointer-events: none;
}

.portfolio-slider figcaption .name {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-slider figcaption .meta {
  font-family: "Inter";
  font-weight: 400;
  font-size: 12px;
  color: rgba(243, 241, 238, .75);
  letter-spacing: .04em;
}

/* Flèches latérales — splatter en ::before masqué, chevron SVG par-dessus */
.portfolio-slider .slider-arrow {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(72px, 7vw, 110px);
  height: clamp(72px, 7vw, 110px);
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  /* Couleur héritée par le splatter ET par le chevron */
  color: #F3F1EE;
  transition: color .25s ease;
}

/* Position absolue : déjà set par les sélecteurs parents — on garde top:50% via transform */
.portfolio-slider .slider-arrow {
  position: absolute;
}

/* Splatter (mask) en ::before, occupe tout le bouton */
.portfolio-slider .slider-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 0;
}

.portfolio-slider .slider-arrow.prev {
  left: clamp(8px, 2vw, 32px);
}

.portfolio-slider .slider-arrow.prev::before {
  -webkit-mask-image: url("../img/figma/splatter-slider-left.svg");
  mask-image: url("../img/figma/splatter-slider-left.svg");
}

.portfolio-slider .slider-arrow.next {
  right: clamp(8px, 2vw, 32px);
}

.portfolio-slider .slider-arrow.next::before {
  -webkit-mask-image: url("../img/figma/splatter-slider-left.svg");
  mask-image: url("../img/figma/splatter-slider-left.svg");
  transform: scaleX(-1);
}

/* Chevron SVG par-dessus le splatter */
.portfolio-slider .slider-arrow .chev {
  position: relative;
  z-index: 1;
  width: clamp(20px, 1.6vw, 28px);
  height: clamp(20px, 1.6vw, 28px);
  /* Le chevron prend la couleur opposée au splatter pour rester lisible */
  color: #25232E;
  display: block;
  pointer-events: none;
}

.portfolio-slider .slider-arrow .chev svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hover : splatter passe en magenta, chevron reste en charbon */
.portfolio-slider .slider-arrow:hover,
.portfolio-slider .slider-arrow:focus-visible {
  outline: none;
  color: var(--magenta);
}

/* Light mode : splatter en charcoal, chevron en bone.
   On hardcode #25232E car --charbon est redéfini en bone en light mode. */
[data-theme="light"] .portfolio-slider .slider-arrow {
  color: #25232E;
}

[data-theme="light"] .portfolio-slider .slider-arrow .chev {
  color: #F3F1EE;
}

[data-theme="light"] .portfolio-slider .slider-arrow:hover,
[data-theme="light"] .portfolio-slider .slider-arrow:focus-visible {
  color: var(--magenta);
}

/* Dots */
.portfolio-slider .slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.portfolio-slider .slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(var(--ink-rgb), .25);
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.portfolio-slider .slider-dots button:hover {
  background: rgba(var(--ink-rgb), .5);
}

.portfolio-slider .slider-dots button.is-active {
  background: var(--magenta);
  transform: scale(1.3);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(15, 14, 20, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.lightbox .close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: transparent;
  border: 1px solid rgba(243, 241, 238, .45);
  color: #F3F1EE;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  font-family: "Inter";
  line-height: 1;
  transition: background .2s ease;
}

.lightbox .close:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #F3F1EE
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(243, 241, 238, .35);
  color: #F3F1EE;
  width: 56px;
  height: 56px;
  font-size: 20px;
  cursor: pointer;
  font-family: "Barlow Condensed";
  font-weight: 700;
  transition: background .2s ease;
}

.lightbox .nav:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #F3F1EE
}

.lightbox .prev {
  left: 24px
}

.lightbox .next {
  right: 24px
}

.lightbox .caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(243, 241, 238, .7);
}

/* ═════════════ À PROPOS ═════════════ */
.about {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 72px;
  align-items: center;
}

.about .about-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.about .portrait-label {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .55);
  text-align: center;
  margin: 0;
}

.about .portrait-label span {
  color: var(--magenta);
  margin-right: .4em;
}

.about .portrait {
  position: relative;
  aspect-ratio: 454.5 / 765;
  /* ratio du splatter SVG */
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: url("../img/figma/splatter-picture.svg");
  mask-image: url("../img/figma/splatter-picture.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.about .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.02);
  display: block;
}

/* portrait-caption masquée — la forme splatter se suffit */
.about .portrait-caption {
  display: none;
}

.about h3 {
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about .role {
  font-family: "AGaramondPro";
  font-style: italic;
  font-size: 20px;
  color: var(--magenta);
  margin-bottom: 32px;
}

.about p {
  font-family: "Inter";
  font-size: 17px;
  line-height: 1.75;
  color: rgba(var(--ink-rgb), .85);
  max-width: 60ch;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.about .creds {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: center;
}

.about .cred {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .55);
  line-height: 1.5;
}

.about .cred strong {
  display: block;
  color: var(--neutre);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.about .cred-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(var(--ink-rgb), .05);
  border: 1px solid rgba(var(--ink-rgb), .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--neutre);
  flex-shrink: 0;
}

/* ═════════════ PROCESSUS ═════════════ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--divider);
}

.process-step {
  background: var(--charbon-2);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.process-step .n {
  font-family: "AGaramondPro";
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .01em;
  color: #F3F1EE;
  text-transform: none;
}

.process-step h4 {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-top: 6px;
}

.process-step p {
  font-family: "Inter";
  font-size: 15px;
  line-height: 1.6;
  color: rgba(var(--ink-rgb), .72);
  text-wrap: pretty;
}

/* ═════════════ CONTACT ═════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info .item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}

.contact-info .item:last-child {
  border-bottom: 0
}

.contact-info .label {
  font-family: "AGaramondPro", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: #F3F1EE;
  margin-bottom: 10px;
}

.contact-info .value {
  font-family: "Inter";
  font-size: 19px;
  line-height: 1.5;
  color: var(--neutre);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a.value:hover {
  color: var(--magenta)
}

.contact-info .note {
  font-family: "AGaramondPro";
  font-style: italic;
  color: rgba(var(--ink-rgb), .6);
  font-size: 16px;
  margin-top: 6px;
}

/* Form */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form .full {
  grid-column: 1/-1
}

.form label {
  display: block;
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .6);
  margin-bottom: 8px;
}

/* File upload (soumission — jusqu’à 5 photos) */
.form .file-row {
  grid-column: 1/-1
}

.form .file-drop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 16px 18px;
  border: 1px dashed rgba(var(--ink-rgb), .22);
  background: rgba(var(--ink-rgb), .02);
  transition: border-color .2s ease, background .2s ease;
  cursor: pointer;
}

.form .file-drop:hover {
  border-color: rgba(var(--ink-rgb), .4);
  background: rgba(var(--ink-rgb), .04)
}

.form .file-drop.is-dragging {
  border-color: var(--magenta);
  background: rgba(157, 6, 58, .06)
}

.form .file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form .file-drop .file-cta {
  font-family: "Inter";
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--neutre);
  border: 1px solid rgba(var(--ink-rgb), .28);
  padding: 9px 14px;
  border-radius: 1px;
  white-space: nowrap;
}

.form .file-drop .file-hint {
  font-family: "AGaramondPro";
  font-style: italic;
  color: rgba(var(--ink-rgb), .6);
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
  min-width: 180px;
}

.form .file-drop .file-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Inter";
  font-size: 13px;
  color: rgba(var(--ink-rgb), .75);
  margin-top: 4px;
}

.form .file-drop .file-list:empty {
  display: none
}

.form .file-drop .file-list .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .08);
}

.form .file-drop .file-list .row:last-child {
  border-bottom: 0
}

.form .file-drop .file-list .row button {
  background: transparent;
  border: none;
  color: rgba(var(--ink-rgb), .5);
  font-family: "Inter";
  font-size: 12px;
  cursor: pointer;
  padding: 0 6px;
}

.form .file-drop .file-list .row button:hover {
  color: var(--magenta)
}

.form .file-drop .file-error {
  width: 100%;
  color: var(--magenta);
  font-family: "Inter";
  font-size: 13px;
  font-style: italic;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(var(--ink-rgb), .22);
  padding: 10px 0 12px;
  font-family: "Inter";
  font-size: 17px;
  font-weight: 400;
  color: var(--neutre);
  transition: border-color .2s ease;
  border-radius: 0;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-bottom-color: var(--magenta);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55
}

.form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23F3F1EE' stroke-width='1' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px;
  padding-right: 24px;
  cursor: pointer;
}

.form option {
  background: var(--charbon);
  color: var(--neutre)
}

.form .submit-row {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.form .consent {
  font-family: "Inter";
  font-size: 13px;
  line-height: 1.55;
  color: rgba(var(--ink-rgb), .55);
  max-width: 48ch;
}

.form button[type="submit"] {
  font-family: "Inter";
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #F3F1EE;
  background: var(--magenta);
  padding: 18px 34px;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.form button[type="submit"]:hover {
  background: #B8074A;
  color: #F3F1EE
}

.form button[type="submit"]:active {
  transform: translateY(1px);
  color: #F3F1EE
}

.form button[type="submit"]:disabled {
  color: #F3F1EE
}

[data-theme="light"] .form button[type="submit"],
[data-theme="light"] .form button[type="submit"]:hover,
[data-theme="light"] .form button[type="submit"]:active,
[data-theme="light"] .form button[type="submit"]:disabled {
  color: #F3F1EE;
}

/* ═════════════ FOOTER ═════════════ */
footer.footer {
  position: relative;
  background: var(--charbon);
  padding: 80px var(--pad-x) 32px;
  border-top: 1px solid var(--divider);
}

footer.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/figma/splatter.svg") center/cover no-repeat;
  opacity: .04;
  mix-blend-mode: screen;
  pointer-events: none;
}

.footer .wrap {
  position: relative
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--divider);
}

.footer-main .brand .wordmark {
  display: block;
  width: 240px;
  height: auto;
  color: #F3F1EE;
  /* lettres + tagline en crème sur charbon */
  --logo-bg: #25232E;
  /* lettres-background fondu sur le footer */
  opacity: .92;
  margin-bottom: 20px;
}

.footer-main .brand p {
  font-family: "AGaramondPro";
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(var(--ink-rgb), .7);
  max-width: 32ch;
}

.footer-main h5 {
  font-family: "AGaramondPro";
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--neutre);
  margin-bottom: 18px;
}

.footer-main ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-main a {
  font-family: "Inter";
  font-size: 15px;
  color: rgba(var(--ink-rgb), .82);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-main a:hover {
  color: var(--neutre)
}

.footer-main .social {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-main .social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-main .social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: .85
}

.footer-main .phone-line {
  font-family: "Inter";
  font-weight: 500;
  font-size: 17px;
  color: var(--neutre);
  font-variant-numeric: tabular-nums;
}

.footer-legal {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: "Inter";
  font-size: 12px;
  color: rgba(var(--ink-rgb), .5);
}

.footer-legal .rbq {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .6);
}

.footer-legal .links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap
}

.footer-legal a {
  color: inherit;
  text-decoration: none
}

.footer-legal a:hover {
  color: var(--neutre)
}

/* Cookie banner Loi 25 supprimé */

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width:960px) {
  .sec-head {
    gap: 20px;
    margin-bottom: 56px
  }

  .service {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 28px 0
  }

  .service h3 {
    grid-column: 2;
    font-size: 24px
  }

  .service p {
    grid-column: 1/-1;
    max-width: none
  }

  .service .tags {
    grid-column: 1/-1;
    justify-content: flex-start;
    margin-top: 4px
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .about .portrait {
    max-width: 420px;
    aspect-ratio: 454.5 / 765
  }

  .process {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px
  }

  .footer-main .brand {
    grid-column: 1/-1
  }
}

@media (max-width:720px) {

  html,
  body {
    font-size: 17px
  }

  .chrome {
    padding: 16px 20px
  }

  .chrome .wordmark {
    height: 32px
  }

  .chrome.scrolled {
    padding: 12px 20px
  }

  .chrome.scrolled .wordmark {
    height: 26px
  }

  .chrome .phone .num {
    display: none
  }

  .chrome .phone {
    padding: 8px
  }

  .chrome .cta {
    font-size: 11px;
    padding: 10px 14px;
    letter-spacing: .1em
  }

  .amp-wrap {
    height: clamp(560px, 105vh, 900px);
    transform: rotate(-4deg)
  }

  .hero-meta {
    left: 20px;
    right: 20px;
    bottom: 100px;
    max-width: none;
    gap: 16px
  }

  .hero-meta .label {
    font-size: 15px;
    letter-spacing: .22em
  }

  .hero-meta .label::before {
    width: 28px
  }

  .hero-meta .accent {
    font-size: 26px;
    max-width: none
  }

  .hero-meta-right {
    display: none
  }

  .scroll-hint {
    bottom: 20px
  }

  .form {
    grid-template-columns: 1fr
  }

  .portfolio-slider {
    --slide-w: min(70vw, 560px);
  }

  .portfolio-slider .slider-arrow {
    display: none;
  }

  .process {
    grid-template-columns: 1fr
  }

  .footer-main {
    grid-template-columns: 1fr
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }
}


/* ═════════════════════════════════════════════════════════════════
   Logo SVG inline — recoloration via CSS
   Le SVG est injecté par le loader dans tout [data-logo].
   On cible directement les groupes #letters, #tagline, #amp, #letters-background.
   ═════════════════════════════════════════════════════════════════ */
[data-logo] svg #letters,
[data-logo] svg #letters *,
[data-logo] svg #tagline,
[data-logo] svg #tagline * {
  fill: currentColor;
}

[data-logo] svg #amp,
[data-logo] svg #amp * {
  fill: #9D063A;
}

[data-logo] svg #letters-background,
[data-logo] svg #letters-background * {
  fill: var(--logo-bg, #25232E);
  stop-color: var(--logo-bg, #25232E);
}


/* ═════════════════════════════════════════════════════════════════
   RESPONSIVE — passe complète mobile / tablette (v9)
   Breakpoints :
     ≤ 1024px : tablette landscape
     ≤ 960px  : tablette portrait
     ≤ 720px  : mobile standard
     ≤ 480px  : petit mobile
   ═════════════════════════════════════════════════════════════════ */

/* —— Tablette landscape —— */
@media (max-width:1024px) {
  .sec-head h2 {
    font-size: clamp(40px, 5.5vw, 60px);
  }

  .sec-head .eyebrow {
    font-size: 26px;
  }

  section.block {
    padding: clamp(70px, 9vw, 110px) clamp(24px, 4vw, 40px);
  }
}

/* —— Tablette portrait —— */
@media (max-width:960px) {
  .sec-head {
    margin-bottom: 48px;
  }

  .sec-head h2 {
    font-size: clamp(38px, 6vw, 54px);
    line-height: .98;
  }

  .sec-head .eyebrow {
    font-size: 24px;
  }

  .sec-head .accent {
    font-size: 18px;
    max-width: 48ch;
  }

  .about {
    gap: 36px;
  }

  .about p {
    font-size: 17px;
  }

  .process-step h4 {
    font-size: 22px;
  }

  .process-step p {
    font-size: 15px;
  }

  .process-step .n {
    font-size: 18px;
  }

  .footer-main {
    padding-bottom: 44px;
  }

  .footer-main .brand .wordmark {
    width: 200px;
  }

  .footer-main h5 {
    font-size: 18px;
    margin-bottom: 14px;
  }
}

/* —— Mobile standard —— */
@media (max-width:720px) {

  html,
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  section.block {
    padding: 64px 20px;
  }

  .hero::before,
  footer.footer::before {
    display: none;
  }

  .sec-head {
    margin-bottom: 36px;
    gap: 20px;
  }

  .sec-head h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .sec-head .eyebrow {
    font-size: 22px;
  }

  .sec-head .accent {
    font-size: 17px;
    line-height: 1.5;
  }

  /* Services */
  .service {
    padding: 24px 0 !important;
    gap: 12px !important;
  }

  .service h3 {
    font-size: 22px !important;
  }

  .service p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Portfolio slider */
  .portfolio-slider {
    --slide-w: 78vw;
    padding-bottom: 44px;
  }

  .portfolio-slider figcaption {
    padding: 14px 18px 16px;
  }

  .portfolio-slider figcaption .name {
    font-size: 16px;
  }

  /* About */
  .about {
    gap: 32px;
  }

  .about .portrait {
    max-width: 100%;
    aspect-ratio: 454.5 / 765;
  }

  .about h3 {
    font-size: 30px;
  }

  .about p {
    font-size: 16px;
  }

  .about .role {
    font-size: 14px;
  }

  /* L'approche */
  .process-step {
    padding: 24px 22px;
  }

  .process-step h4 {
    font-size: 20px;
    line-height: 1.1;
  }

  .process-step p {
    font-size: 14px;
    line-height: 1.55;
  }

  .process-step .n {
    font-size: 17px;
  }

  /* Contact */
  .contact-grid {
    gap: 40px;
  }

  .form input,
  .form textarea,
  .form select {
    font-size: 16px;
  }

  /* évite zoom iOS */
  .form .field label {
    font-size: 13px;
  }

  /* Footer */
  .footer-main {
    gap: 32px;
    padding-bottom: 36px;
  }

  .footer-main .brand p {
    font-size: 15px;
  }

  .footer-main h5 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .footer-main a {
    font-size: 14px;
  }

  .footer-main ul {
    gap: 8px;
  }

  .footer-legal {
    font-size: 13px;
  }

  .social a {
    font-size: 13px;
  }
}

/* —— Petit mobile —— */
@media (max-width:480px) {
  section.block {
    padding: 56px 18px;
  }

  .sec-head {
    margin-bottom: 28px;
  }

  .sec-head h2 {
    font-size: 34px;
  }

  .sec-head .eyebrow {
    font-size: 20px;
  }

  .sec-head .accent {
    font-size: 16px;
  }

  .service h3 {
    font-size: 20px !important;
  }

  .service p {
    font-size: 14px;
  }

  .about h3 {
    font-size: 26px;
  }

  .about p {
    font-size: 15px;
  }

  .process-step h4 {
    font-size: 19px;
  }

  .process-step .n {
    font-size: 16px;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-main .brand .wordmark {
    width: 170px;
  }

  .footer-main h5 {
    font-size: 16px;
  }
}


/* ═════════════ LIGHT THEME ═════════════ */
[data-theme="light"] {
  --neutre: #25232E;
  --neutre-warm: #3A3744;
  --charbon: #F3F1EE;
  --charbon-2: #DDDAD5;
  --mauve: #DDDAD5;
  --ink-rgb: 37, 35, 46;
  --bg-rgb: 243, 241, 238;
  --divider: rgba(37, 35, 46, .14);
}

[data-theme="light"] .hero .brand-mark img,
[data-theme="light"] .hero .brand-mark .logo-svg,
[data-theme="light"] .brand-mark.is-fixed img,
[data-theme="light"] .brand-mark.is-fixed .logo-svg {
  color: #25232E;
  --logo-bg: #F3F1EE;
}

[data-theme="light"] .footer-main .brand .wordmark {
  color: #25232E;
  --logo-bg: #F3F1EE;
}

/* Tagline du logo en mode light : violet doux */
[data-theme="light"] [data-logo] svg #tagline,
[data-theme="light"] [data-logo] svg #tagline * {
  fill: #514D62;
}

/* Labels accentués en magenta : numéros approche + labels formulaire */
[data-theme="light"] .process-step .n,
[data-theme="light"] .contact-info .label {
  color: var(--magenta);
}

/* Hint "(jusqu'à 5, facultatif)" + lien politique de confidentialité */
.form .opt-hint {
  font-family: "AGaramondPro";
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(var(--ink-rgb), .5);
  font-size: 13px;
}

.form .consent .consent-link {
  color: rgba(var(--ink-rgb), .8);
  text-decoration: underline;
}

[data-theme="light"] .form .opt-hint,
[data-theme="light"] .form .consent .consent-link {
  color: var(--magenta);
}

/* Accent (em) dans les titres h2 : magenta dans les deux thèmes */
.sec-head h2 em {
  color: var(--magenta);
}

/* Logo inline dans le h2 "À propos" */
.sec-head h2 .logo-inline {
  display: inline-block;
  vertical-align: baseline;
  height: .78em;
  aspect-ratio: 1366/235.5;
  width: auto;
  line-height: 1;
  position: relative;
  top: .05em;
  color: var(--neutre);
  --logo-bg: transparent;
}

.sec-head h2 .logo-inline svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Logo inline dans l'eyebrow (italique → on neutralise + couleur claire) */
.sec-head .eyebrow .logo-inline {
  display: inline-block;
  vertical-align: middle;
  height: .72em;
  aspect-ratio: 1366/235.5;
  width: auto;
  line-height: 1;
  margin-left: .55em;
  color: #F3F1EE;
  font-style: normal;
  --logo-bg: transparent;
}

.sec-head .eyebrow .logo-inline svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* #amp toujours en charcoal — hardcodé car --charbon devient bone en light mode */
.sec-head .eyebrow .logo-inline svg #amp path,
.sec-head .eyebrow .logo-inline svg #amp {
  fill: #25232E;
}

/* Hero photo mask: darken slightly so it reads on light bg */
[data-theme="light"] .hero {
  background: #F3F1EE;
}

[data-theme="light"] .hero .brand-mark img {
  mix-blend-mode: normal;
}


/* ═════════════════════════════════════════════════════════════════
   Gravity Forms — overrides pour matcher le design nuance&co.
   Cible le wrapper `.nco-form_wrapper` ajouté par inc/gravity-forms.php.
   ═════════════════════════════════════════════════════════════════ */
.nco-form_wrapper {
  width: 100%;
}

.nco-form_wrapper form {
  width: 100%;
}

/* Grid : 2 cols desktop, 1 col mobile. Pour passer un champ en pleine
   largeur ajouter la classe GF `gfield--width-full` côté admin. */
.nco-form_wrapper .gform_fields {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.nco-form_wrapper .gfield {
  margin: 0;
  padding: 0;
}

.nco-form_wrapper .gfield--width-full,
.nco-form_wrapper .gfield--type-textarea,
.nco-form_wrapper .gfield--type-fileupload,
.nco-form_wrapper .gfield--type-html,
.nco-form_wrapper .gfield--type-section {
  grid-column: 1 / -1;
}

/* Labels — Barlow Condensed uppercase */
.nco-form_wrapper .gfield_label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .78);
  margin: 0 0 10px;
  display: block;
}

.nco-form_wrapper .gfield_required {
  color: var(--magenta);
  margin-left: 4px;
}

/* Légende « * indicates required fields » en haut du form */
.nco-form_wrapper .gform_required_legend {
  grid-column: 1 / -1;
  font-family: "AGaramondPro", "Adobe Garamond Pro", "EB Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: rgba(var(--ink-rgb), .55);
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 18px;
  padding: 0;
}

[data-theme="light"] .nco-form_wrapper .gform_required_legend {
  color: rgba(37, 35, 46, .6);
}

/* Inputs / select / textarea — underline-only transparent */
.nco-form_wrapper .ginput_container input[type="text"],
.nco-form_wrapper .ginput_container input[type="email"],
.nco-form_wrapper .ginput_container input[type="tel"],
.nco-form_wrapper .ginput_container input[type="number"],
.nco-form_wrapper .ginput_container input[type="url"],
.nco-form_wrapper .ginput_container select,
.nco-form_wrapper .ginput_container textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .22);
  border-radius: 0;
  padding: 10px 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--neutre);
  transition: border-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.nco-form_wrapper .ginput_container input:focus,
.nco-form_wrapper .ginput_container select:focus,
.nco-form_wrapper .ginput_container textarea:focus {
  outline: none;
  border-bottom-color: var(--magenta);
}

.nco-form_wrapper .ginput_container textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

/* Select natif — chevron custom */
.nco-form_wrapper .ginput_container select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}

.nco-form_wrapper .ginput_container select option {
  background: var(--charbon);
  color: var(--neutre);
}

.nco-form_wrapper .ginput_container input::placeholder,
.nco-form_wrapper .ginput_container textarea::placeholder {
  color: rgba(var(--ink-rgb), .38);
}

/* File upload — drag&drop zone */
.nco-form_wrapper .gform_drop_area,
.nco-form_wrapper .ginput_container_fileupload {
  position: relative;
  display: block;
  border: 1.5px dashed rgba(var(--ink-rgb), .22);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  background: transparent;
  transition: border-color .2s ease, background .2s ease;
}

.nco-form_wrapper .gform_drop_area:hover,
.nco-form_wrapper .ginput_container_fileupload:hover {
  border-color: rgba(var(--ink-rgb), .4);
  background: rgba(var(--ink-rgb), .04);
}

.nco-form_wrapper .gform_drop_area.drag-over,
.nco-form_wrapper .gform_drop_area_drag {
  border-color: var(--magenta);
  background: rgba(157, 6, 58, .06);
}

.nco-form_wrapper .gform_button_select_files {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(var(--ink-rgb), .35);
  border-radius: 1px;
  color: var(--neutre);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.nco-form_wrapper .gform_button_select_files:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #F3F1EE;
}

.nco-form_wrapper .gform_drop_instructions,
.nco-form_wrapper .ginput_container_fileupload .gform_fileupload_rules {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: rgba(var(--ink-rgb), .55);
  margin-top: 10px;
}

.nco-form_wrapper .ginput_preview {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  padding: 0;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: rgba(var(--ink-rgb), .78);
  text-align: left;
}

.nco-form_wrapper .ginput_preview .gform_delete_file {
  background: transparent;
  border: 0;
  color: rgba(var(--ink-rgb), .55);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 6px;
}

.nco-form_wrapper .ginput_preview .gform_delete_file:hover {
  color: var(--magenta);
}

/* HTML field (paragraphe Loi 25) */
.nco-form_wrapper .gfield--type-html .gfield_description,
.nco-form_wrapper .gfield--type-html p,
.nco-form_wrapper .gfield--type-html .form-consent {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: rgba(var(--ink-rgb), .55);
  line-height: 1.55;
  margin: 0;
}

.nco-form_wrapper .gfield--type-html a {
  color: rgba(var(--ink-rgb), .78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nco-form_wrapper .gfield--type-html a:hover {
  color: var(--magenta);
}

/* Validation / erreurs */
.nco-form_wrapper .gfield_error .gfield_label {
  color: var(--magenta);
}

.nco-form_wrapper .gfield_error input,
.nco-form_wrapper .gfield_error select,
.nco-form_wrapper .gfield_error textarea {
  border-bottom-color: var(--magenta);
}

.nco-form_wrapper .gfield_validation_message,
.nco-form_wrapper .validation_message {
  color: var(--magenta);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  margin-top: 6px;
}

.nco-form_wrapper .gform_validation_errors {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-left: 3px solid var(--magenta);
  background: rgba(157, 6, 58, .06);
  color: rgba(var(--ink-rgb), .85);
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

/* Submit button — splatter magenta plein */
.nco-form_wrapper .gform_footer,
.nco-form_wrapper .gform_page_footer {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.nco-form_wrapper .gform_button[type="submit"] {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F3F1EE;
  background: var(--magenta);
  border: 0;
  border-radius: 1px;
  padding: 18px 38px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.nco-form_wrapper .gform_button[type="submit"]:hover {
  background: #B8074A;
}

.nco-form_wrapper .gform_button[type="submit"]:active {
  transform: translateY(1px);
}

.nco-form_wrapper .gform_button[type="submit"]:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.nco-form_wrapper .gform_ajax_spinner {
  margin-left: 14px;
  width: 20px;
  height: 20px;
}

/* Confirmation message après soumission */
.nco-form_wrapper .gform_confirmation_message {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--neutre);
  padding: 24px 28px;
  border: 1px solid rgba(var(--ink-rgb), .18);
  border-left: 3px solid var(--magenta);
  background: rgba(var(--ink-rgb), .03);
}

/* Light mode */
[data-theme="light"] .nco-form_wrapper .gfield_label,
[data-theme="light"] .nco-form_wrapper .ginput_container input,
[data-theme="light"] .nco-form_wrapper .ginput_container select,
[data-theme="light"] .nco-form_wrapper .ginput_container textarea,
[data-theme="light"] .nco-form_wrapper .gform_confirmation_message {
  color: #25232E;
}

[data-theme="light"] .nco-form_wrapper .gfield_label {
  color: rgba(37, 35, 46, .78);
}

[data-theme="light"] .nco-form_wrapper .gfield--type-html p,
[data-theme="light"] .nco-form_wrapper .gform_drop_instructions {
  color: rgba(37, 35, 46, .65);
}

[data-theme="light"] .nco-form_wrapper .gform_button[type="submit"] {
  color: #F3F1EE;
}

/* Mobile — 1 colonne */
@media (max-width:720px) {
  .nco-form_wrapper .gform_fields {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .nco-form_wrapper .gform_footer {
    justify-content: stretch;
  }

  .nco-form_wrapper .gform_button[type="submit"] {
    width: 100%;
    padding: 18px 22px;
  }

  .nco-form_wrapper .ginput_container input,
  .nco-form_wrapper .ginput_container select,
  .nco-form_wrapper .ginput_container textarea {
    font-size: 16px;
  }
}