/*
Theme Name: Xperience
Theme URI: https://agence-xperience.com
Author: Agence Xperience
Description: Thème bloc sur mesure de l'Agence Xperience (event · digital · BTL · gifts). Contenu 100 % éditable dans Gutenberg.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: xperience
Tags: block-theme, full-site-editing, one-column
*/

/* =========================================================
   Agence Xperience — maquette d'accueil
   Registre : Factory360 (bandes pleine largeur, pilules, formes,
   titres géants fins) · Charte : anthracite + or + or clair
   ========================================================= */

:root {
  --ink: #231F20;
  --ink-2: #191617;
  --gold: #B68C3E;
  --gold-l: #E0B867;
  --gray: #A9A6A3;
  --paper: #EFEFEF;
  --paper-2: #DEDCDA;
  --white: #FFFFFF;
  --mute: #CFCAC5;

  --font: "Titillium Web", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 4vw, 70px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { hyphens: none; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 4px; }
::selection { background: var(--gold-l); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.kicker {
  display: inline-block;
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.kicker-gold { color: var(--gold-l); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 30px; border-radius: 999px;
  font-size: 17px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
  user-select: none; -webkit-user-select: none;
}
.btn-sm { padding: 10px 22px; font-size: 15px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-line { box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) {
  .btn-gold:hover { background: var(--gold-l); }
  .btn-white:hover { background: var(--ink); color: var(--white); }
  .btn-ink:hover { background: var(--white); color: var(--ink); }
  .btn-line:hover { background: currentColor; }
  .btn-line:hover { color: var(--ink); background: var(--white); box-shadow: none; }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--ink);
}
.loader-pill {
  background: var(--gold-l); color: var(--ink);
  font-size: clamp(44px, 7vw, 96px); font-weight: 400; letter-spacing: -.01em;
  padding: .12em .78em .16em; border-radius: 999px;
  transform: scale(.6); opacity: 0;
}
.no-js .loader, .loader.is-done { display: none; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 950;
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--gold-l);
  pointer-events: none;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .3s;
  opacity: 0;
}
.cursor-label { font-size: 15px; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-big .cursor-label { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(224, 184, 103, .35); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 800;
  height: calc(var(--hdr) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) clamp(20px, 3.5vw, 50px) 0;
  display: flex; align-items: center; gap: 36px;
  color: var(--white);
  transition: transform .5s var(--ease), color .3s;
}
.site-header.is-hidden { transform: translateY(-110%); }
.brand { position: relative; width: 112px; flex: none; margin-right: auto; }
.brand img { width: 100%; height: auto; transition: opacity .3s; }
.brand-dark { position: absolute; inset: 0; opacity: 0; }
.nav-inline { display: flex; gap: 34px; font-size: 16px; }
.nav-inline a { position: relative; padding: 6px 0; }
.nav-inline a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-l); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
@media (hover: hover) { .nav-inline a:hover::after { transform: scaleX(1); transform-origin: left; } }
.burger { width: 46px; height: 46px; display: grid; place-content: center; gap: 7px; }
.burger span { display: block; width: 44px; height: 3px; background: var(--gold-l); border-radius: 2px; transition: transform .5s var(--ease), background-color .3s; }
.site-header.is-light { color: var(--ink); }
.site-header.is-light .brand-dark { opacity: 1; }
.site-header.is-light .brand-light { opacity: 0; }
.site-header.is-light .burger span { background: var(--ink); }
body.menu-open .site-header { color: var(--ink); transform: none; }
body.menu-open .brand-dark { opacity: 1; }
body.menu-open .brand-light { opacity: 0; }
body.menu-open .burger span { background: var(--ink); }
body.menu-open .burger span:first-child { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-5px) rotate(-45deg); }
body.menu-open .header-cta, body.menu-open .nav-inline { opacity: 0; pointer-events: none; }
@media (max-width: 1023px) { .nav-inline { display: none; } }
@media (max-width: 560px) { .header-cta { display: none; } :root { --hdr: 76px; } .brand { width: 92px; } }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--gold-l); color: var(--ink);
  clip-path: circle(0% at calc(100% - 70px) 48px);
  visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 70px) 48px); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu-inner {
  height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 40px;
  padding: calc(var(--hdr) + 40px) var(--gutter) calc(56px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(44px, 7.4vw, 108px); font-weight: 300; line-height: 1.04; letter-spacing: -.02em;
  border-bottom: 3px solid var(--ink); padding: .06em 0 .1em;
}
.menu-links small { font-size: 15px; font-weight: 700; letter-spacing: .1em; }
@media (hover: hover) { .menu-links a:hover { padding-left: 24px; transition: padding .4s var(--ease-out); } }
.menu-side { display: flex; flex-direction: column; gap: 10px; font-size: 19px; align-items: flex-start; }
.menu-kicker { font-size: 34px; font-weight: 700; margin-bottom: 8px; }
.menu-side .btn { margin-top: 18px; }
@media (max-width: 800px) { .menu-inner { grid-template-columns: 1fr; align-content: end; } .menu-side { font-size: 17px; } .menu-kicker { font-size: 26px; } }

/* ---------- Pills (shared) ---------- */
.pill { display: inline-block; padding: .1em .7em .14em; border-radius: 999px; color: var(--ink); }
.pill-gold { background: var(--gold-l); }
.pill-white { background: var(--white); }
.pill-gray { background: var(--gray); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; background: var(--ink);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-fallback {
  position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 12px;
  font-size: clamp(36px, 7vw, 84px);
}
.hero-fallback .pill:nth-child(1) { transform: rotate(-4deg) translateX(-20%); }
.hero-fallback .pill:nth-child(3) { transform: rotate(-24deg) translateX(30%); }
.hero.no-webgl .hero-fallback { display: grid; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 clamp(20px, 3.5vw, 50px) calc(30px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  font-size: 15px; line-height: 1.4; color: var(--mute); pointer-events: none;
}
.hero-tag { color: var(--white); font-size: 17px; font-weight: 600; }
.hero-tag span { color: var(--gold-l); font-weight: 400; }
.hero-hint { display: flex; align-items: center; gap: 10px; }
.hint-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-l); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,184,103,.7); } 70% { box-shadow: 0 0 0 12px rgba(224,184,103,0); } 100% { box-shadow: 0 0 0 0 rgba(224,184,103,0); } }
.hero-services { letter-spacing: .14em; text-transform: uppercase; font-size: 13px; font-weight: 600; }
@media (max-width: 700px) {
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-services { display: none; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--paper); color: var(--ink); padding-block: clamp(90px, 9vw, 140px) clamp(80px, 8vw, 120px); }
.st {
  font-size: clamp(38px, 7.7vw, 112px); font-weight: 300; line-height: 1.12; letter-spacing: -.025em;
  text-wrap: initial;
}
.st-line { position: relative; display: block; overflow: hidden; padding: .1em 0 .16em; }
.st-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ink);
  transform-origin: left; transform: scaleX(var(--rule, 1));
}
.st-line:last-child::after { display: none; }
.st-in { display: flex; align-items: center; gap: .22em; flex-wrap: nowrap; white-space: nowrap; }
.st-line--right .st-in { justify-content: space-between; }
.shape-pill { display: inline-block; width: 1em; height: .3em; background: var(--gray); border-radius: 999px; flex: none; }
.shape-star, .shape-arrow { display: inline-flex; flex: none; }
.shape-star svg { width: .8em; height: .8em; fill: var(--gold-l); }
.shape-arrow svg { width: 1.15em; height: 1.07em; fill: var(--gold); }
.shape-dots { display: inline-flex; flex: 1 1 auto; justify-content: center; padding-inline: .1em; min-width: 0; }
.shape-dots b {
  width: .6em; height: .6em; border-radius: 50%; flex: none; margin-left: -.3em;
  background: var(--gold-l); opacity: .25;
}
.shape-dots b:nth-child(2) { opacity: .34; } .shape-dots b:nth-child(3) { opacity: .44; }
.shape-dots b:nth-child(4) { opacity: .55; } .shape-dots b:nth-child(5) { opacity: .68; }
.shape-dots b:nth-child(6) { opacity: .82; } .shape-dots b:nth-child(7) { opacity: 1; }
@media (max-width: 700px) {
  .st { font-size: 11vw; line-height: 1.08; }
  .st-in { flex-wrap: wrap; white-space: normal; row-gap: 0; }
  .st-line::after { height: 4px; }
  .shape-dots { flex: none; }
  .shape-dots b { width: .5em; height: .5em; }
}

/* ---------- Work / stripes ---------- */
.work { display: flex; background: var(--white); color: var(--ink); height: clamp(640px, 88vh, 880px); }
.work-intro {
  flex: 0 0 30%; padding: 0 clamp(24px, 3vw, 60px) 0 clamp(24px, 9vw, 140px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.work-intro .kicker { color: var(--gold); }
.work-title { font-size: clamp(48px, 5vw, 76px); font-weight: 600; line-height: 1; letter-spacing: -.02em; margin-bottom: 22px; }
.work-lead { font-size: 18px; color: #5b5556; max-width: 340px; margin-bottom: 30px; }
.stripes { flex: 1; display: flex; min-width: 0; }
.stripe {
  --c: var(--gold);
  --t: var(--ink);
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  background: var(--c); color: var(--t);
  transition: flex-grow .8s var(--ease);
  cursor: pointer;
}
.stripe.c-gold { --c: var(--gold); }
.stripe.c-gray { --c: var(--gray); }
.stripe.c-goldl { --c: var(--gold-l); }
.stripe.c-ink { --c: var(--ink); --t: var(--white); }
.stripe-media { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.stripe-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.2s var(--ease-out); }
.stripe-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--c) 0%, color-mix(in srgb, var(--c) 30%, transparent) 38%, rgba(0,0,0,.25) 100%);
}
.stripe-title {
  position: absolute; top: 44px; left: 50%; transform: translateX(-50%);
  writing-mode: vertical-rl; white-space: nowrap;
  font-size: clamp(22px, 2.15vw, 34px); font-weight: 600; line-height: 1; letter-spacing: -.005em;
  transition: color .4s;
  z-index: 1;
}
.stripe-client {
  position: absolute; left: 10px; right: 10px; bottom: 40px; z-index: 1;
  text-align: center; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}
@media (hover: hover) and (min-width: 901px) {
  .stripes:hover .stripe { flex-grow: .62; }
  .stripes .stripe:hover { flex-grow: 3.6; }
  .stripe:hover .stripe-media { opacity: 1; }
  .stripe:hover .stripe-media img { transform: scale(1); }
  .stripe:hover .stripe-title { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
}
@media (max-width: 900px) {
  .work { flex-direction: column; height: auto; }
  .work-intro { padding: 90px var(--gutter) 50px; }
  .work-lead { max-width: 520px; }
  .stripes { flex-direction: column; }
  .stripe { flex: none; height: 150px; }
  .stripe-media { opacity: 1; left: 44%; }
  .stripe-media img { transform: none; }
  .stripe-media::after { background: linear-gradient(to right, var(--c) 0%, color-mix(in srgb, var(--c) 0%, transparent) 60%); }
  .stripe-title { writing-mode: horizontal-tb; left: var(--gutter); top: 30px; transform: none; white-space: normal; max-width: 58%; font-size: 26px; line-height: 1.1; }
  .stripe-client { left: var(--gutter); right: auto; bottom: 26px; text-align: left; font-size: 13px; }
}

/* ---------- Services ---------- */
.services { position: relative; background: var(--ink); padding-block: clamp(100px, 10vw, 160px); overflow: hidden; }
.services-head { margin-bottom: clamp(40px, 5vw, 70px); }
.services-title { font-size: clamp(44px, 7vw, 104px); font-weight: 300; line-height: 1.02; letter-spacing: -.025em; }
.services-title em { font-style: normal; font-weight: 600; color: var(--gold-l); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.svc { border-bottom: 1px solid rgba(255,255,255,.18); }
.svc-row {
  width: 100%; display: grid; grid-template-columns: clamp(50px, 7vw, 110px) 1fr 52px; align-items: center;
  padding: clamp(22px, 2.4vw, 34px) 0; text-align: left;
}
.svc-num { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--gold-l); }
.svc-name { font-size: clamp(26px, 4.1vw, 60px); font-weight: 300; line-height: 1.08; letter-spacing: -.02em; transition: transform .6s var(--ease-out), color .3s; }
.svc-plus { position: relative; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gold-l); transition: transform .5s var(--ease), background-color .3s; }
.svc-plus::before, .svc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--gold-l); transition: background-color .3s; }
.svc-plus::after { transform: rotate(90deg); }
.svc.is-open .svc-plus { transform: rotate(135deg); background: var(--gold-l); }
.svc.is-open .svc-plus::before, .svc.is-open .svc-plus::after { background: var(--ink); }
@media (hover: hover) { .svc-row:hover .svc-name { transform: translateX(18px); color: var(--gold-l); } }
.svc.is-open .svc-name { color: var(--gold-l); }
.svc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc.is-open .svc-panel { grid-template-rows: 1fr; }
.svc-panel-in { overflow: hidden; padding-left: clamp(50px, 7vw, 110px); }
.svc-panel-in > p:first-child { max-width: 680px; font-size: 19px; color: var(--mute); padding-bottom: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 36px; }
.pills span { padding: 7px 18px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--gold-l); font-size: 15px; color: var(--white); }
.svc-img-m { display: none; }
.svc-float {
  position: absolute; left: 0; top: 0; z-index: 3; width: 330px; aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: scale(.6);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) {
  .svc-float { display: none; }
  .svc-img-m { display: block; width: 100%; max-width: 520px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 30px; }
}
@media (max-width: 600px) {
  .svc-row { grid-template-columns: 44px 1fr 44px; }
  .svc-plus { width: 44px; height: 44px; }
  .svc-panel-in { padding-left: 0; }
}

/* ---------- Method ---------- */
.method { background: var(--ink-2); position: relative; }
.method-pin {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  padding: calc(var(--hdr) + 10px) var(--gutter) 60px clamp(24px, 6vw, 90px);
}
.method-title { font-size: clamp(42px, 5.6vw, 86px); font-weight: 300; line-height: 1; letter-spacing: -.025em; margin-bottom: clamp(36px, 4vw, 56px); }
.method-title strong { display: block; font-weight: 600; color: var(--gold-l); }
.steps { display: grid; grid-template-columns: 7px 1fr; gap: clamp(28px, 3vw, 46px); }
.steps-bar { position: relative; border-radius: 7px; background: rgba(255,255,255,.9); overflow: hidden; }
.steps-bar span { position: absolute; left: 0; right: 0; top: 0; height: 20%; border-radius: 7px; background: var(--gold); transition: transform .6s var(--ease); }
.steps ol { list-style: none; margin: 0; padding: 0; }
.step h3 { display: flex; align-items: baseline; gap: 16px; font-size: clamp(22px, 2.2vw, 31px); font-weight: 400; line-height: 1.5; color: rgba(255,255,255,.42); transition: color .4s; }
.step h3 small { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--gold-l); opacity: .6; }
.step p { max-width: 520px; padding-left: 36px; font-size: 18px; color: var(--mute); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .6s var(--ease); }
.step.is-active h3 { color: var(--white); font-weight: 600; }
.step.is-active h3 small { opacity: 1; }
.step.is-active p { max-height: 160px; opacity: 1; margin: 4px 0 16px; }
.method-visual { position: relative; height: min(78vh, 720px); }
.x-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.method-count { position: absolute; right: 0; bottom: 0; font-size: 15px; letter-spacing: .14em; color: var(--mute); }
.mc-cur { color: var(--gold-l); font-weight: 700; }
@media (max-width: 900px) {
  .method-pin { grid-template-columns: 1fr; padding-top: 100px; }
  .method-visual { height: 52vh; order: -1; }
  .step p { max-height: 200px; opacity: 1; margin: 4px 0 18px; }
  .step h3 { color: var(--white); }
  .method-count { display: none; }
}

/* ---------- Clients marquee ---------- */
.clients { background: var(--paper-2); color: var(--ink); padding-block: clamp(70px, 7vw, 110px); overflow: hidden; }
.clients-label { text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6d6768; margin-bottom: 34px; }
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee + .marquee { margin-top: 6px; }
.marquee-track { display: flex; align-items: center; flex: none; will-change: transform; }
.marquee-track span { font-size: clamp(40px, 6vw, 88px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; white-space: nowrap; }
.marquee[data-dir="1"] .marquee-track span { font-weight: 200; }
.marquee-track i {
  width: .9em; height: .9em; margin: 0 .55em; flex: none; font-size: clamp(40px, 6vw, 88px); font-style: normal;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 25%, 86% 14%, 75% 39%, 100% 50%, 75% 61%, 86% 86%, 61% 75%, 50% 100%, 39% 75%, 14% 86%, 25% 61%, 0 50%, 25% 39%, 14% 14%, 39% 25%);
}
.marquee-track i { width: .5em; height: .5em; }
.marquee[data-dir="1"] .marquee-track i { background: var(--gray); }

/* ---------- DNA ---------- */
.dna { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); color: var(--ink); }
.dna-media { position: relative; min-height: 640px; overflow: hidden; }
.dna-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.08); }
.dna-media::after { content: ""; position: absolute; inset: 0; background: var(--gold); mix-blend-mode: multiply; opacity: .9; }
.badge {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: clamp(150px, 15vw, 210px); aspect-ratio: 1;
  margin: calc(clamp(150px, 15vw, 210px) / -2) 0 0 calc(clamp(150px, 15vw, 210px) / -2);
  border-radius: 50%; background: var(--ink); display: grid; place-items: center;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-size: 17px; font-weight: 700; letter-spacing: .14em; fill: var(--white); }
.badge span { font-size: clamp(44px, 4.4vw, 64px); font-weight: 200; color: var(--gold-l); line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.dna-text { padding: clamp(70px, 8vw, 130px) clamp(24px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.dna-light { font-size: clamp(28px, 3.1vw, 48px); font-weight: 300; line-height: 1.25; letter-spacing: -.015em; }
.dna-bold { font-size: clamp(28px, 3.1vw, 48px); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.dna-small { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.45; color: #4d4748; }
.dna-adn { font-size: 18px; color: #4d4748; max-width: 520px; border-top: 1px solid #ddd; padding-top: 26px; }
.dna-adn span { display: inline-block; margin-right: 10px; padding: 3px 14px 4px; border-radius: 999px; background: var(--ink); color: var(--gold-l); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
@media (max-width: 900px) {
  .dna { grid-template-columns: 1fr; }
  .dna-media { min-height: 380px; }
}

/* ---------- Catalogue ---------- */
.catalog {
  background: var(--gold); color: var(--ink);
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px;
  padding: clamp(80px, 8vw, 130px) var(--gutter) clamp(80px, 8vw, 130px) clamp(24px, 6vw, 90px);
  overflow: hidden;
}
.catalog h2 { font-size: clamp(36px, 4.2vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 26px; }
.catalog-text p { font-size: clamp(20px, 1.9vw, 28px); font-weight: 300; line-height: 1.5; max-width: 560px; margin-bottom: 36px; }
.catalog-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.catalog-book { perspective: 1400px; display: grid; place-items: center; }
.book {
  position: relative; width: min(620px, 100%); aspect-ratio: 1.573;
  transform-style: preserve-3d; transform: rotateY(-18deg) rotateX(8deg) rotateZ(-2deg);
  will-change: transform;
}
.book-cover {
  position: absolute; inset: 0; border-radius: 6px 14px 14px 6px; overflow: hidden; background: var(--ink);
  box-shadow: 30px 40px 70px rgba(35,31,32,.45), inset 4px 0 0 rgba(255,255,255,.08);
  transform: translateZ(10px);
}
.book-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(1); }
.book-logo { position: absolute; left: 9%; top: 9%; width: 22%; }
.book-x { position: absolute; top: -10%; right: 22%; width: 9%; height: 130%; background: var(--gold); transform: rotate(-33deg); transform-origin: top; box-shadow: -3px 0 0 #6b501e; }
.book-x2 { right: 2%; top: 20%; width: 5%; height: 100%; transform: rotate(22deg); }
.book-title { position: absolute; left: 9%; bottom: 13%; color: var(--white); font-size: clamp(22px, 3vw, 44px); font-weight: 200; line-height: 1; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.8); width: 62%; }
.book-title span { font-size: .42em; font-weight: 400; color: var(--gold-l); margin-left: .4em; }
.book-spine { position: absolute; top: 2%; bottom: 2%; right: 0; width: 20px; background: repeating-linear-gradient(to bottom, #f3eee4 0 2px, #d9d2c4 2px 3px); transform: translateZ(-10px) translateX(-4px); border-radius: 0 6px 6px 0; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog-book { order: -1; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); padding: clamp(100px, 9vw, 150px) var(--gutter) clamp(70px, 6vw, 100px); }
.contact-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 110px); }
.contact-title { font-size: clamp(56px, 7.4vw, 112px); font-weight: 300; line-height: .98; letter-spacing: -.03em; margin-bottom: 22px; }
.contact-title strong { font-weight: 700; color: var(--gold-l); }
.contact-lead { font-size: 19px; color: var(--mute); max-width: 520px; margin-bottom: 44px; }
.brief { display: grid; gap: 26px; max-width: 720px; }
.brief-needs { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brief-needs legend { padding: 0; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.brief-needs label { position: relative; cursor: pointer; }
.brief-needs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.brief-needs span { display: inline-block; padding: 9px 20px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); font-size: 16px; transition: background-color .25s, color .25s, box-shadow .25s; user-select: none; }
.brief-needs input:checked + span { background: var(--gold-l); color: var(--ink); box-shadow: none; }
.brief-needs input:focus-visible + span { outline: 2px solid var(--gold-l); outline-offset: 3px; }
@media (hover: hover) { .brief-needs label:hover span { box-shadow: inset 0 0 0 1.5px var(--gold-l); } }
.brief-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 4px; }
.field span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.3); border-radius: 0;
  color: var(--white); font: inherit; font-size: 18px; padding: 10px 0; resize: vertical;
  transition: border-color .3s;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-l); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e2725b; }
.brief .btn { justify-self: start; }
.brief-ok { padding: 16px 22px; border-radius: 16px; background: rgba(224,184,103,.14); color: var(--gold-l); font-weight: 600; }
.contact-side { display: flex; flex-direction: column; gap: 40px; }
.stickers { position: relative; height: clamp(360px, 32vw, 460px); }
.sticker {
  position: absolute; left: var(--x); top: var(--y);
  width: clamp(150px, 13.5vw, 200px); aspect-ratio: 1; border-radius: 50%;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.sticker svg { width: 100%; height: 100%; animation: spin 16s linear infinite; pointer-events: none; }
.sticker:nth-child(2) svg { animation-duration: 20s; animation-direction: reverse; }
.sticker text { font-size: 21px; font-weight: 600; letter-spacing: .02em; fill: var(--ink); }
.st-white { background: var(--white); }
.st-gold { background: var(--gold); }
.st-goldl { background: var(--gold-l); }
.sticker::after { content: "↗"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: var(--ink); font-weight: 300; }
.coords { margin: 0; display: grid; gap: 22px; }
.coords dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.coords dd { margin: 2px 0 0; font-size: 20px; line-height: 1.45; }
@media (hover: hover) { .coords a:hover { color: var(--gold-l); } }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brief-row { grid-template-columns: 1fr; }
  .stickers { height: 340px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2); color: var(--mute); text-align: center;
  padding: 60px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
  display: grid; justify-items: center; gap: 18px; font-size: 17px;
}
.site-footer img { width: 160px; }
.foot-legal { font-size: 14px; color: var(--gray); }

/* ---------- Case modal ---------- */
.modal { position: fixed; inset: 0; z-index: 900; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-scrim { position: absolute; inset: 0; background: rgba(25,22,23,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal-scrim { opacity: 1; }
.modal-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; height: 94vh; height: 94svh;
  background: var(--ink); border-radius: 28px 28px 0 0; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(105%); transition: transform .8s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.modal.is-open .modal-sheet { transform: none; }
.modal-close { position: sticky; top: 18px; float: right; margin: 18px 18px 0 0; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: var(--gold-l); display: grid; place-items: center; }
.modal-close span { position: absolute; width: 22px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.modal-close span + span { transform: rotate(-45deg); }
.modal-content { padding: clamp(40px, 5vw, 80px) var(--gutter) 30px; max-width: 1440px; margin: 0 auto; }
.case-kicker { display: inline-block; padding: 5px 16px 6px; border-radius: 999px; background: var(--gold-l); color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.case-title { font-size: clamp(36px, 5.4vw, 80px); font-weight: 300; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 26px; max-width: 1100px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.case-tags span { padding: 7px 18px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--gold-l); font-size: 15px; }
.case-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px 50px; font-size: 19px; color: var(--mute); margin-bottom: 44px; max-width: 1200px; }
.case-body strong { color: var(--white); }
.case-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-flow: dense; gap: 14px; }
.case-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.case-gallery img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 600px) { .case-gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .case-gallery img { border-radius: 12px; } }
.modal-nav { display: flex; justify-content: space-between; gap: 14px; padding: 20px var(--gutter) 50px; max-width: 1440px; margin: 0 auto; }

/* ---------- Reveal helpers ---------- */
.rv { opacity: 0; transform: translateY(40px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
}


/* =========================================================
   ADAPTATION GUTENBERG — même rendu que la maquette, avec le
   DOM des blocs natifs (figure.wp-block-image, div.wp-block-group,
   div.wp-block-button > a…). Classes posées par className.
   ========================================================= */

/* espacement automatique : coupé dans theme.json (blockGap 0px) + filet à spécificité nulle */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks { padding: 0; }
img { height: auto; }
main.wp-block-post-content { margin: 0; }
.wp-block-buttons { gap: 14px; }

/* préchargeur : n'existe que si le JS tourne, et s'efface seul au bout de 5 s quoi qu'il arrive */
.loader { display: none; }
html.js .loader { display: grid; animation: xp-failsafe .4s 5s forwards; }
html.js .loader.is-done { display: none; }
@keyframes xp-failsafe { to { opacity: 0; visibility: hidden; } }

/* barre d'administration */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ---------- Boutons : la classe est sur le conteneur, le style va sur le lien ---------- */
.wp-block-buttons .wp-block-button.btn { display: inline-flex; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.wp-block-button.btn .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-family: inherit;
  font-size: 17px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.wp-block-button.btn-sm .wp-block-button__link { padding: 10px 22px; font-size: 15px; }
.wp-block-button.btn-gold .wp-block-button__link { background: var(--gold); color: var(--ink); }
.wp-block-button.btn-white .wp-block-button__link { background: var(--white); color: var(--ink); }
.wp-block-button.btn-ink .wp-block-button__link { background: var(--ink); color: var(--white); }
.wp-block-button.btn-line .wp-block-button__link { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) {
  .wp-block-button.btn-gold .wp-block-button__link:hover { background: var(--gold-l); }
  .wp-block-button.btn-white .wp-block-button__link:hover { background: var(--ink); color: var(--white); }
  .wp-block-button.btn-ink .wp-block-button__link:hover { background: var(--white); color: var(--ink); }
  .wp-block-button.btn-line .wp-block-button__link:hover { background: var(--white); color: var(--ink); box-shadow: none; }
}

/* ---------- En-tête ---------- */
.site-header .brand figure { margin: 0; }
.site-header .brand a { display: block; }
.nav-inline p { margin: 0; }
.header-cta { flex: none; }
.burger { flex: none; }

/* ---------- Menu ---------- */
.menu-links { counter-reset: m; }
.menu-links p { counter-increment: m; }
.menu-links a::before { content: counter(m, decimal-leading-zero); font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.menu-side p { margin: 0; }

/* ---------- Hero ---------- */
.hero-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-tag em { font-style: normal; font-weight: 400; color: var(--gold-l); }
.hero-hint::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-l); animation: pulse 1.8s infinite; flex: none; }
.hero.no-webgl::before {
  content: "Xperience"; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-4deg);
  background: var(--gold-l); color: var(--ink); font-size: clamp(44px, 7vw, 96px); padding: .12em .78em .16em; border-radius: 999px;
}

/* ---------- Manifeste : les formes sont des pseudo-éléments, le texte reste éditable ---------- */
.st-line em { font-style: normal; display: inline-flex; align-items: center; gap: .22em; }
.st-pill em::before { content: ""; width: 1em; height: .3em; background: var(--gray); border-radius: 999px; flex: none; transform: scaleX(var(--pill, 1)); transform-origin: left; }
.st-star .st-in::after {
  content: ""; width: .8em; height: .8em; flex: none; background: var(--gold-l);
  clip-path: polygon(50% 2%, 61% 25%, 86% 14%, 75% 39%, 98% 50%, 75% 61%, 86% 86%, 61% 75%, 50% 98%, 39% 75%, 14% 86%, 25% 61%, 2% 50%, 25% 39%, 14% 14%, 39% 25%);
  transform: rotate(var(--star, 0deg));
}
.st-arrow .st-in { justify-content: space-between; }
.st-arrow .st-in::before {
  content: ""; width: 1.15em; height: 1.07em; flex: none; background: var(--gold);
  clip-path: polygon(0 31%, 57% 31%, 57% 0, 100% 50%, 57% 100%, 57% 69%, 0 69%);
  transform: translateX(var(--arrow, 0%)); opacity: var(--arrow-o, 1);
}
.st-dots em { flex: 1 1 auto; justify-content: space-between; }
.st-dots em::before {
  content: ""; flex: 1 1 auto; height: .6em; margin: 0 .35em; min-width: 2.2em;
  background: radial-gradient(circle closest-side, var(--gold-l) 96%, transparent 100%) left center / .6em .6em repeat-x;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.22), #000 92%); mask-image: linear-gradient(to right, rgba(0,0,0,.22), #000 92%);
  clip-path: inset(0 calc(100% - var(--dots, 100%)) 0 0);
}
@media (max-width: 700px) {
  .st-dots em::before { height: .5em; background-size: .5em .5em; }
}

/* ---------- Réalisations ---------- */
.stripe > .case { display: none; }
.stripe-media img { height: 100%; }

/* fiche de cas (dans la fenêtre) */
ul.case-tags, ul.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.case-tags { margin-bottom: 34px; }
.case-tags li, .pills li { padding: 7px 18px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--gold-l); font-size: 15px; color: var(--white); }
.case-body p { margin: 0; }
.case-gallery figure { margin: 0; }
.case-gallery img, .case-gallery img:first-child { grid-column: auto; grid-row: auto; }
.case-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.case-gallery figure:first-child img { aspect-ratio: auto; height: 100%; }
.modal-content .case-kicker { display: inline-block; }

/* ---------- Expertises : le titre de rangée est un h3 natif ---------- */
.svc-list { counter-reset: svc; }
.svc { counter-increment: svc; }
h3.svc-row {
  display: grid; grid-template-columns: clamp(50px, 7vw, 110px) 1fr 52px; align-items: center;
  padding: clamp(22px, 2.4vw, 34px) 0; margin: 0; cursor: pointer;
  font-size: clamp(26px, 4.1vw, 60px); font-weight: 300; line-height: 1.08; letter-spacing: -.02em;
  transition: color .3s; user-select: none;
}
h3.svc-row::before { content: counter(svc, decimal-leading-zero); font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--gold-l); }
h3.svc-row::after {
  content: ""; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gold-l);
  background: linear-gradient(var(--gold-l), var(--gold-l)) center / 18px 2px no-repeat, linear-gradient(var(--gold-l), var(--gold-l)) center / 2px 18px no-repeat;
  transition: transform .5s var(--ease), background-color .3s;
}
.svc.is-open h3.svc-row { color: var(--gold-l); }
.svc.is-open h3.svc-row::after {
  transform: rotate(135deg); background-color: var(--gold-l);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
}
@media (hover: hover) { h3.svc-row:hover { color: var(--gold-l); } }
.svc-desc { max-width: 680px; font-size: 19px; color: var(--mute); padding-bottom: 20px; }
ul.pills { padding-bottom: 36px; }
.services-title strong { font-weight: 600; color: var(--gold-l); }
@media (hover: none), (max-width: 900px) {
  .svc-img-m { display: block; max-width: 520px; margin-bottom: 30px; }
  .svc-img-m img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
}
@media (max-width: 600px) {
  h3.svc-row { grid-template-columns: 44px 1fr 44px; }
  h3.svc-row::after { width: 44px; height: 44px; }
}

/* ---------- Méthode : barre de progression en pseudo-éléments ---------- */
.steps { position: relative; display: block; padding-left: calc(7px + clamp(28px, 3vw, 46px)); counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; border-radius: 7px; background: rgba(255,255,255,.9); }
.steps::after {
  content: ""; position: absolute; left: 0; width: 7px; height: 20%; border-radius: 7px; background: var(--gold);
  top: calc(var(--step, 0) * 20%); transition: top .6s var(--ease);
}
.step { counter-increment: step; }
.step h3::before { content: counter(step, decimal-leading-zero); font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--gold-l); opacity: .6; }
.step.is-active h3::before { opacity: 1; }
.step h3 { margin: 0; }

/* ---------- Clients ---------- */
p.marquee { margin: 0; }
.marquee-alt .marquee-track span { font-weight: 200; }
.marquee-alt .marquee-track i { background: var(--gray); }

/* ---------- ADN ---------- */
figure.dna-media { margin: 0; }
.dna-text p { margin: 0; }
.dna-adn strong {
  display: inline-block; margin-right: 10px; padding: 3px 14px 4px; border-radius: 999px; background: var(--ink); color: var(--gold-l);
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px;
}

/* ---------- Catalogue ---------- */
figure.book { margin: 0; }
.catalog-text .catalog-btns { margin-top: 0; }

/* ---------- Contact & Contact Form 7 ---------- */
.contact-title strong { font-weight: 700; color: var(--gold-l); }
form.brief .wpcf7-form-control-wrap { display: block; }
.brief-needs .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.brief-needs .wpcf7-list-item { margin: 0; }
.brief-needs .wpcf7-list-item label { position: relative; cursor: pointer; display: block; }
.brief-needs .wpcf7-list-item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.brief-needs .wpcf7-list-item-label {
  display: inline-block; padding: 9px 20px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
  font-size: 16px; transition: background-color .25s, color .25s, box-shadow .25s; user-select: none;
}
.brief-needs input:checked + .wpcf7-list-item-label { background: var(--gold-l); color: var(--ink); box-shadow: none; }
.brief-needs input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--gold-l); outline-offset: 3px; }
@media (hover: hover) { .brief-needs label:hover .wpcf7-list-item-label { box-shadow: inset 0 0 0 1.5px var(--gold-l); } }
.field .wpcf7-not-valid { border-color: #e2725b; }
.wpcf7-not-valid-tip { color: #e2725b; font-size: 14px; margin-top: 4px; }
.brief .xp-submit {
  justify-self: start; border: 0; cursor: pointer; padding: 15px 30px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font: inherit; font-size: 17px; font-weight: 600; line-height: 1.2;
  transition: background-color .3s; -webkit-appearance: none; appearance: none;
}
@media (hover: hover) { .brief .xp-submit:hover { background: var(--gold-l); } }
.brief .wpcf7-spinner { margin: 0 0 0 12px; background-color: var(--gold-l); }
.brief-submit { display: flex; align-items: center; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 16px 22px; border-radius: 16px; border: 0; background: rgba(224,184,103,.14); color: var(--gold-l); font-weight: 600; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { background: rgba(226,114,91,.14); color: #f0a08f; }
.wpcf7 form .wpcf7-response-output:empty { display: none; }

/* pastilles : paragraphe + lien natifs, le cercle de texte est construit par le script */
p.sticker { margin: 0; }
.stickers p.sticker:nth-child(1) { --x: 4%; --y: 6%; }
.stickers p.sticker:nth-child(2) { --x: 46%; --y: 0%; }
.stickers p.sticker:nth-child(3) { --x: 26%; --y: 44%; }
.sticker a { position: absolute; inset: 0; border-radius: 50%; display: block; color: transparent; font-size: 0; -webkit-user-drag: none; }
.sticker a svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; pointer-events: none; }
.stickers p.sticker:nth-child(2) a svg { animation-duration: 20s; animation-direction: reverse; }
.sticker::after { pointer-events: none; }
.coords { gap: 0; }
.coords p { margin: 0; }
.coord-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.coord-label:not(:first-child) { margin-top: 22px; }
.coord { margin: 2px 0 0; font-size: 20px; line-height: 1.45; }
@media (hover: hover) { .coord a:hover { color: var(--gold-l); } }

/* ---------- Pied de page ---------- */
.site-footer p { margin: 0; }
.site-footer figure { margin: 0; }

/* ---------- Pages simples (404, articles) ---------- */
.page-simple { padding: calc(var(--hdr) + 80px) var(--gutter) 100px; max-width: 900px; margin: 0 auto; }
.page-simple h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 300; margin-bottom: 20px; }
.page-simple a { color: var(--gold-l); }
