/* Nuences Studio : feuille de style du site.
   Palette : blanc #FFFFFF, orange #FF6F00, rouge orangé #F05429, noir #11100E.
   Parti pris : le texte, les logos et les images sont posés directement sur le fond, sans carte.
   Un tapis de découpe à l'orange de la marque pour l'accueil, assombri en haut et en bas ; le texte et les éléments blancs portent une ombre.
   Les repères sont forts au bord, discrets au centre.
   Aucun texte en dégradé, aucun liseré, aucun filet autour des blocs, pas de violet. */

@font-face { font-family: "Northura"; font-weight: 400; font-display: swap; src: url("/assets/polices/Northura-400.woff2") format("woff2"); }
@font-face { font-family: "Northura"; font-weight: 500; font-display: swap; src: url("/assets/polices/Northura-500.woff2") format("woff2"); }
@font-face { font-family: "Northura"; font-weight: 700; font-display: swap; src: url("/assets/polices/Northura-700.woff2") format("woff2"); }
/* Le « Ō » de NŌRI n'existe pas dans Northura : il vient d'une police du système (Helvetica Neue, Arial ou Roboto), dont les capitales
   sont plus hautes (0,73 du corps contre 0,625). Cette famille ne sert que pour ce signe et le réduit à 86 % : son O s'aligne sur N, R et I.
   Mesuré à 200 px : O de Northura 125 px, O de Helvetica Neue 146 px, d'Arial 146 px. */
@font-face { font-family: "Northura O barre"; font-weight: 400; unicode-range: U+014C-014D; size-adjust: 86%;
  src: local("Helvetica Neue"), local("HelveticaNeue"), local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular"); }
@font-face { font-family: "Northura O barre"; font-weight: 500; unicode-range: U+014C-014D; size-adjust: 86%;
  src: local("Helvetica Neue Medium"), local("HelveticaNeue-Medium"), local("Arial"), local("ArialMT"), local("Roboto Medium"), local("Roboto-Medium"), local("Roboto"); }
@font-face { font-family: "Northura O barre"; font-weight: 700; unicode-range: U+014C-014D; size-adjust: 86%;
  src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"), local("Roboto"); }

:root {
  --fond: #11100E;
  --carte: #211f1c;
  --blanc: #ffffff;
  --clair: #ECE8E2;
  --encre: #11100E;
  --doux: rgba(255, 255, 255, .76);
  --discret: rgba(255, 255, 255, .54);
  --orange: #FF6F00;
  --rouge: #F05429;
  --police: "Northura", "Northura O barre", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --marge: clamp(20px, 5vw, 72px);
  --bandeau: 104px;
  /* les ombres portées de l'accueil : un brun chaud (l'orange assombri), jamais du noir, pour ne pas ternir le fond */
  --ombre: 58 16 0;
  --ombre-texte: 0 .03em .05em rgb(var(--ombre) / .5), 0 .09em .4em rgb(var(--ombre) / .42);
  --ombre-petit: 0 1px 2px rgb(var(--ombre) / .62), 0 2px 10px rgb(var(--ombre) / .46);
  --ombre-bouton: 0 2px 4px rgb(var(--ombre) / .3), 0 10px 24px rgb(var(--ombre) / .36);
  --ombre-image: drop-shadow(0 1px 2px rgb(var(--ombre) / .55)) drop-shadow(0 3px 8px rgb(var(--ombre) / .36));
}

* { box-sizing: border-box; }
html { background: var(--fond); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--blanc); font-family: var(--police); font-weight: 400; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.evitement { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--blanc); color: #000; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.evitement:focus { top: 12px; }
.hors-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.repere { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--orange); }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); color: var(--blanc); font-size: 15px; font-weight: 500; line-height: 1.15; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s ease, color .2s ease; }
.bouton:hover { background: rgba(255, 255, 255, .26); }
.bouton-plein { background: var(--orange); color: var(--encre); }
.bouton-plein:hover { background: #ff8a2e; }
.bouton-clair { background: var(--blanc); color: var(--encre); }
.bouton-clair:hover { background: var(--clair); }
.bouton-noir { background: var(--encre); color: var(--blanc); }
.bouton-noir:hover { background: #2a2622; }
.bouton-grand { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.bouton-texte { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 4px; border: 0; background: none; color: var(--doux); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: color .2s ease; }
.bouton-texte:hover { color: var(--blanc); }
.rond { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--encre); transition: transform .3s ease; }
.avec-rond { padding-right: 5px; gap: 12px; }
.avec-rond.bouton-grand { padding-right: 8px; gap: 14px; }
.bouton-grand .rond { width: 40px; height: 40px; }
.rond-sombre { background: var(--encre); color: var(--blanc); }
a:hover > .rond, .bouton:hover > .rond { transform: rotate(45deg); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 3px; }
.lien-fleche:hover { color: var(--orange); }
/* la carte noire : fond noir, texte blanc, et de l'orange à l'intérieur */
.carte-noire { background: #0c0b0a; color: var(--blanc); border-radius: 34px; }

/* ---------- Le tapis de découpe : l'orange de la marque et des repères blancs ----------
   Fond #FF6F00, assombri par un dégradé brun en haut (derrière l'en-tête) et en bas (derrière les logos et les images).
   Le blanc ne fait que 2,8 de contraste sur cet orange : tout ce qui est blanc porte donc une ombre brune,
   et les petits textes sont placés là où le dégradé assombrit le fond (liens de l'en-tête : 6,3 ; libellé des logos : 4,9).

   Les repères (tapis.svg) servent de masque. Ils sont à pleine force sur les bords et tombent à 7 % dans la bande du texte,
   pour qu'aucune croix ne tombe entre deux mots. Le masque croise le dessin avec la somme de :
   - la règle de gauche (--bord), le bord droit (--bord-droit) et la règle du bas, toujours visibles ;
   - une bande horizontale, calme de --calme-haut à --calme-bas (la hauteur du bloc de texte), percée de trois zones douces
     autour de ce qui est posé dans les bandes sombres : liens et bouton de l'en-tête, logo, libellés du bas à gauche.
   ::before est l'ombre des repères, ::after leur trait blanc. */
.tapis { position: relative; --tapis: #FF6F00;
  --pg: clamp(18px, 4.4vw, 62px); --dx: 0px; --calme-haut: 112px; --calme-bas: 232px; --bord: 40px; --bord-droit: 6%;
  --trou-nav: 480px 70px at right calc(var(--marge) + 250px) top 44px; --trou-logo: 160px 70px at left calc(var(--marge) + 54px) top 44px;
  --trou-libelles: 250px 160px at left calc(var(--pg) + 100px) bottom 135px;
  --masque: url("/assets/img/tapis.svg") var(--dx) bottom / auto no-repeat,
    linear-gradient(90deg, #000 0, #000 var(--bord), transparent calc(var(--bord) * 1.6)) center / 100% 100% no-repeat,
    linear-gradient(270deg, #000 0, transparent var(--bord-droit)) center / 100% 100% no-repeat,
    linear-gradient(to top, #000 0, #000 46px, transparent 60px) center / 100% 100% no-repeat,
    radial-gradient(ellipse var(--trou-nav), transparent 0, transparent 56%, #000 100%) center / 100% 100% no-repeat,
    radial-gradient(ellipse var(--trou-logo), transparent 0, transparent 56%, #000 100%) center / 100% 100% no-repeat,
    radial-gradient(ellipse var(--trou-libelles), transparent 0, transparent 58%, #000 100%) center / 100% 100% no-repeat,
    linear-gradient(to bottom, #000 0, #000 calc(var(--calme-haut) - 28px), rgba(0, 0, 0, .07) var(--calme-haut), rgba(0, 0, 0, .07) calc(100% - var(--calme-bas)), #000 calc(100% - var(--calme-bas) + 36px)) center / 100% 100% no-repeat;
  background:
    linear-gradient(to bottom, rgb(var(--ombre) / .6) 0, rgb(var(--ombre) / .46) 48px, rgb(var(--ombre) / .2) 96px, rgb(var(--ombre) / 0) 150px),
    linear-gradient(to top, rgb(var(--ombre) / .56) 0, rgb(var(--ombre) / .34) 22%, rgb(var(--ombre) / 0) 40%),
    var(--tapis); }
.tapis::before, .tapis::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: opacity .4s ease;
  -webkit-mask: var(--masque);
  -webkit-mask-composite: source-in, source-over, source-over, source-over, source-in, source-in, source-in;
  mask: var(--masque);
  mask-composite: intersect, add, add, add, intersect, intersect, intersect; }
.tapis::before { background-color: rgb(var(--ombre)); opacity: .42; transform: translate(1px, 1.5px); }
.tapis::after { background-color: var(--blanc); }
.tapis.roue-ouverte::before { opacity: .08; }      /* liste déployée : les repères s'effacent le temps de la lecture */
.tapis.roue-ouverte::after { opacity: .2; }
.tapis > * { position: relative; z-index: 2; }

/* ---------- En-tête : le logo, trois liens, un bouton. Il ne suit pas le défilement. ---------- */
.entete { position: absolute; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 30px calc(var(--marge) - 6px) 0; }
.entete-logo { margin-right: auto; }
.entete-logo img { height: 48px; width: auto; }
.entete-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.entete-nav a { font-size: 16px; font-weight: 500; text-decoration: none; transition: opacity .2s ease; }
.entete-nav a:hover { opacity: .65; }
/* sur le tapis de l'accueil : logo et liens blancs, bouton blanc à texte noir, chacun avec son ombre */
.page-accueil .entete-logo img { filter: var(--ombre-image); }
.page-accueil .entete-nav a { text-shadow: var(--ombre-petit); }
.page-accueil .entete .bouton-noir { background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-bouton); }
.page-accueil .entete .bouton-noir:hover { background: var(--clair); }
.page-accueil .entete .bouton-noir .rond { background: var(--encre); color: var(--blanc); }
.page-texte .entete .bouton-noir { background: var(--orange); color: var(--encre); }
.page-texte .entete .bouton-noir .rond { background: var(--encre); color: var(--blanc); }
html.mode-canvas .entete { display: none; }
@media (max-width: 700px) {
  .entete { padding: 26px 26px 0; }
  .entete-nav { display: none; }
  .entete-logo img { height: 38px; }
  .entete .bouton { min-height: 42px; padding-left: 16px; font-size: 14px; }
}

/* ---------- Écran 1 : accueil ---------- */
.hero { padding: 10px; }
/* --s : la taille commune au titre et à la roue, qui forment une seule phrase.
   C'est la plus grande taille qui tienne à la fois :
   en largeur, les deux colonnes côte à côte font 24,35 em (titre 8,9 + écart 2,6 + « Avec » et le mot le plus long 12,85) ;
   en hauteur, les 12 mots déployés font 15,6 em et doivent tenir sous l'en-tête. */
.hero-cadre { position: relative; display: flex; flex-direction: column; min-height: calc(100vh - 20px); min-height: calc(100svh - 20px); border-radius: 36px; overflow: hidden; padding: 112px clamp(18px, 4.4vw, 62px) 0; color: var(--blanc);
  --s: clamp(26px, min(3.6vw, calc((100vh - 140px) / 15.6)), 60px); }
.hero-corps { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 8.9em) minmax(0, 1fr); grid-template-areas: "texte roue" "actions roue"; column-gap: 2.6em; align-content: center; align-items: center; padding: 1vh 0 3vh; font-size: var(--s); }
.hero-texte { grid-area: texte; }
.hero-texte .repere { color: var(--blanc); font-size: 17px; font-weight: 700; text-shadow: var(--ombre-petit); }
.hero-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 4vh, 40px); }
/* sur le tapis : le bouton principal est blanc à texte noir, le second noir à texte blanc ; les deux portent une ombre */
.hero-actions .bouton { box-shadow: var(--ombre-bouton); }
.hero-actions .bouton-noir { background: var(--blanc); color: var(--encre); }
.hero-actions .bouton-noir:hover { background: var(--clair); }
.hero-actions .bouton-noir .rond { background: var(--encre); color: var(--blanc); }
.hero-actions .bouton-clair { background: var(--encre); color: var(--blanc); }
.hero-actions .bouton-clair:hover { background: #2a2622; }
.accroche { margin-top: .34em; font-weight: 700; font-size: 1em; line-height: 1.12; letter-spacing: 0; text-shadow: var(--ombre-texte); }      /* gras et ombré : des traits épais, détachés de l'orange */
.accroche .ligne { display: block; text-wrap: balance; }
.accroche .ligne + .ligne { margin-top: .32em; }

/* La roue de mots, en texte. Une animation, pas un menu : les mots tournent cran par cran devant le repère ;
   au survol, toute la liste se déploie. Même taille que le titre, dont elle termine la phrase. */
.hero-roue { grid-area: roue; position: relative; display: flex; align-items: center; gap: .4em; height: calc(5 * var(--pas)); font-weight: 500; line-height: 1; letter-spacing: 0; text-shadow: var(--ombre-texte); --pas: 1.3em; -webkit-tap-highlight-color: transparent; }
.avec { flex: none; font-weight: 700; transition: transform .6s cubic-bezier(.3, .8, .25, 1); }
.cran { flex: none; width: 0; height: 0; border-left: .32em solid var(--blanc); border-top: .2em solid transparent; border-bottom: .2em solid transparent; filter: var(--ombre-image); transition: opacity .3s ease; }
.hero-roue.ouverte .cran { opacity: 0; }
.hero-roue.ouverte .avec { transform: translateY(calc(-5.5 * var(--pas) + var(--dy, 0px))); }
.roue { position: relative; flex: 1; min-width: 0; height: 100%; perspective: 900px; --angle: -14deg; }
.roue.ouverte { --angle: 0deg; }
.roue-piste { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(var(--dy, 0px)); transition: transform .6s cubic-bezier(.3, .8, .25, 1); }
.roue li { position: absolute; left: 0; top: 50%; height: var(--pas); margin-top: calc(var(--pas) / -2); line-height: var(--pas); white-space: nowrap;
  transform-origin: 0 50%; transform: translateY(calc(var(--d, 0) * var(--pas))) rotateX(calc(var(--d, 0) * var(--angle))) scale(var(--e, 1));
  /* Les mots voisins s'estompent avec leur ombre. --a = distance au mot en cours, --t = opacité.
     Voisin direct : 74 % ; le suivant : 37 % ; au-delà, masqué. */
  --a: max(var(--d, 0), calc(var(--d, 0) * -1)); --t: clamp(0, calc(1.11 - .37 * var(--a)), 1);
  opacity: var(--t);
  transition: transform .7s cubic-bezier(.3, .8, .25, 1), opacity .5s ease; }
.roue.ouverte li { --t: var(--o, 1); }
.roue li.actif { font-weight: 700; }
/* Avant le script, ou sans lui : la roue est déjà posée sur son premier cran, « du contenu » devant le repère, ses voisins autour.
   --d est la distance de chaque mot au cran ; site.js la réécrit ensuite, mot par mot, pour faire tourner la roue. */
.roue li { --d: 6; }
.roue li:nth-child(1) { --d: 0; }
.roue li:nth-child(2) { --d: 1; }
.roue li:nth-child(3) { --d: 2; }
.roue li:nth-last-child(1) { --d: -1; }
.roue li:nth-last-child(2) { --d: -2; }
.roue:not(.prete) li:first-child { font-weight: 700; }

/* les logos, posés sur le tapis, en blanc */
.hero-logos { display: flex; align-items: center; gap: 28px; margin: 6px 0 14px; transition: opacity .4s ease; }
.hero-logos p { flex: none; font-size: 16px; font-weight: 700; }
.defile { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.defile-piste { display: flex; align-items: center; gap: clamp(34px, 4.6vw, 70px); width: max-content; animation: defile 48s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile-piste li { flex: none; }
.defile-piste img { height: 27px; width: auto; max-width: 132px; object-fit: contain; filter: var(--ombre-image); }
@keyframes defile { to { transform: translateX(-50%); } }

/* Le canvas se montre déjà dans l'accueil : une nappe d'images de tailles différentes, reliées par des nœuds,
   qui dérive et dépasse du cadre par le bas. Pas de bloc par projet, pas de légende. */
.apercu { display: flex; align-items: flex-start; gap: 30px; margin-bottom: -34px; transition: opacity .4s ease; }
.apercu-tete { flex: none; display: flex; align-items: center; gap: 14px; width: 216px; padding-top: 54px; color: var(--blanc); text-decoration: none; font-size: 16px; line-height: 1.3; }
.apercu-tete strong { display: block; font-weight: 700; font-size: 20px; }
.apercu-tete .rond-sombre { background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-bouton); }
/* petits textes posés sur le tapis : la même ombre brune que le reste */
.hero-logos p, .apercu-tete { text-shadow: var(--ombre-petit); }
.apercu-tete .rond { width: 50px; height: 50px; animation: rebond 1.9s ease-in-out infinite; }
.apercu-fenetre { flex: 1; min-width: 0; height: 200px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.apercu-piste { display: flex; align-items: flex-start; width: max-content; animation: derive 120s linear infinite; }
.apercu:hover .apercu-piste { animation-play-state: paused; }
@keyframes derive { to { transform: translateX(-50%); } }
.noeud { flex: none; display: block; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, .25); cursor: pointer; }
.noeud img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .3s ease; }
.noeud:hover img { transform: scale(1.06); }
.lien-n { flex: none; width: 44px; height: 200px; overflow: visible; color: var(--blanc); filter: drop-shadow(0 1px 1.5px rgb(var(--ombre) / .5)); }
.hero-cadre.roue-ouverte .hero-logos, .hero-cadre.roue-ouverte .apercu { opacity: .1; }
@keyframes rebond { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .defile-piste, .apercu-piste, .apercu-tete .rond { animation: none; } .defile-piste li[aria-hidden] { display: none; } }      /* bandeau à l'arrêt : la copie des logos ne sert plus */

@media (max-width: 900px) {
  /* sur téléphone : « Avec » sur sa ligne, le mot dessous ; la taille tient au mot le plus long (10,5 em) */
  .hero-cadre { border-radius: 28px; padding: 104px 18px 0; --s: clamp(24px, 7.6vw, 44px);
    /* le texte occupe toute la largeur : plus de bords latéraux, la règle graduée sort du cadre, l'en-tête est dégagé sur toute sa ligne */
    --pg: 18px; --dx: -44px; --calme-haut: 100px; --calme-bas: 330px; --bord: 0px; --bord-droit: 0%;
    --trou-nav: 200% 70px at 50% 44px; --trou-libelles: 250px 130px at left calc(var(--pg) + 100px) bottom 242px; }
  .hero-corps { grid-template-columns: minmax(0, 1fr); grid-template-areas: "texte" "roue" "actions"; align-content: start; padding: 1vh 2px 2vh; }
  .hero-roue { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "avec avec" "cran roue"; column-gap: .35em; height: auto; margin-top: .32em; }
  .avec { grid-area: avec; }
  .hero-roue.ouverte .avec { transform: none; }
  .cran { grid-area: cran; }
  .roue { grid-area: roue; height: calc(3 * var(--pas)); transition: height .6s cubic-bezier(.3, .8, .25, 1); }
  .roue:not(.ouverte) li { --t: clamp(0, calc(1.48 - .74 * var(--a)), 1); }      /* trois mots visibles : le voisin à 74 %, rien au-delà */
  .roue.ouverte { height: calc(12 * var(--pas)); }
  .roue-piste { transform: none; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .bouton { flex: 1 1 100%; }
  .hero-logos { flex-direction: column; align-items: flex-start; gap: 12px; margin: 26px 0 16px; }
  .defile { width: 100%; }
  .apercu { flex-direction: column; gap: 14px; }
  .apercu-tete { width: auto; padding-top: 0; }
  .apercu-tete .rond { width: 42px; height: 42px; }
  .apercu-fenetre { width: 100%; }
  .hero-cadre.roue-ouverte .hero-logos, .hero-cadre.roue-ouverte .apercu { opacity: 1; }
}

/* ---------- Écran 2 : concrètement. Du texte sur le fond, une image, un chiffre. ---------- */
.concret { padding: clamp(70px, 13vh, 150px) var(--marge) clamp(40px, 7vh, 80px); }
.concret-corps { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 7vw, 120px); align-items: start; max-width: 1320px; margin: 0 auto; }
.concret h2 { margin-top: 16px; max-width: 16ch; font-weight: 500; font-size: clamp(29px, 3.3vw, 52px); line-height: 1.08; letter-spacing: -.012em; }
.promesses li { position: relative; padding-left: clamp(34px, 3.4vw, 52px); }
.promesses li + li { margin-top: clamp(28px, 5vh, 50px); }
/* le repère de chaque ligne : une croix de tapis de découpe */
.promesses li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; background: linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat; }
.promesses h3 { font-weight: 500; font-size: clamp(25px, 2.7vw, 42px); line-height: 1.1; letter-spacing: -.008em; }
.promesses p { margin-top: 10px; max-width: 46ch; color: var(--doux); font-size: clamp(16.5px, 1.35vw, 20px); line-height: 1.5; }
.concret-resultats { max-width: 1320px; margin: clamp(80px, 16vh, 170px) auto 0; }
.concret-millions { margin-top: 14px; max-width: 21ch; font-weight: 500; font-size: clamp(29px, 3.3vw, 52px); line-height: 1.08; letter-spacing: -.012em; }
.concret-preuve { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 80px); align-items: end; max-width: 1320px; margin: clamp(34px, 6vh, 64px) auto 0; }
.concret-preuve .repere { margin-bottom: 12px; }
.concret-preuve img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.concret-preuve strong { display: block; font-weight: 500; font-size: clamp(64px, 8.4vw, 132px); line-height: .92; letter-spacing: -.03em; color: var(--orange); }
.concret-preuve figcaption p { margin: 16px 0 26px; max-width: 24ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; }
.liens-bas { max-width: 1320px; margin: clamp(46px, 8vh, 80px) auto 0; font-size: 13.5px; color: var(--discret); }
.liens-bas a { color: var(--doux); text-decoration: none; }
.liens-bas a:hover { color: var(--blanc); text-decoration: underline; }
@media (max-width: 900px) {
  .concret-corps, .concret-preuve { grid-template-columns: minmax(0, 1fr); }
  .concret h2 { max-width: none; }
  .concret-preuve { gap: 22px; }
}

/* ---------- Écran 3 : le canvas ---------- */
.canvas { position: relative; height: 100vh; height: 100dvh; overflow: hidden; background: #0c0b0a; }
html.mode-canvas, html.mode-canvas body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.mode-canvas .canvas { position: fixed; inset: 0; z-index: 50; height: auto; }

/* le bandeau : une barre sobre, des liens en texte */
.bandeau { position: absolute; inset: 0 0 auto 0; z-index: 20; height: var(--bandeau); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 22px; background: #0c0b0a; }
.bandeau-haut { display: flex; align-items: center; gap: 18px; }
.bandeau-haut .bouton { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.bandeau-logo img { height: 32px; width: auto; }
.espace { flex: 1; }
.bandeau-nav { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -22px; padding: 0 22px; }
.bandeau-nav::-webkit-scrollbar { display: none; }
.groupe { display: flex; align-items: center; gap: 2px; flex: none; }
.groupe + .groupe { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .18); }
.puce { flex: none; border: 0; background: none; border-radius: 8px; padding: 6px 9px; font-size: 14px; line-height: 1.2; color: var(--doux); cursor: pointer; white-space: nowrap; transition: color .2s ease; }
.puce:hover { color: var(--blanc); }
.puce.territoire { padding-left: 0; font-size: 13.5px; color: var(--discret); }
.puce.actif, #b-global.actif { color: var(--orange); }
.puce.territoire.actif { color: var(--blanc); }

#vue { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; pointer-events: none; }
html.mode-canvas #vue { touch-action: none; pointer-events: auto; cursor: grab; }
html.mode-canvas #vue.glisse { cursor: grabbing; }
#grille { position: absolute; inset: 0; pointer-events: none; background-image: url("/assets/img/croix-canvas.svg"); }
#monde { position: absolute; left: 0; top: 0; transform-origin: 0 0; --k-terr: 1; --k-zone: 1; }
#monde.bouge { will-change: transform; }
#liens { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }

/* Éléments du monde : les tailles sont en unités du monde, pas en pixels d'écran. */
.terr-entete { position: absolute; white-space: nowrap; }
.terr-titre { display: inline-block; font-weight: 700; font-size: 900px; line-height: 1; transform: scale(var(--k-terr)); transform-origin: 0 100%; }
.terr-titre[data-clic] { cursor: pointer; }
.terr-entete.petit .terr-titre { font-size: 560px; font-weight: 500; }
.terr-promesse { margin: 60px 0 0 8px; font-size: 150px; line-height: 1.25; color: var(--doux); }
.terr-filet { display: none; }

.zone-entete { position: absolute; }
.zone-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 44px 70px; }
.zone-titre { max-width: 100%; font-weight: 500; font-size: 300px; line-height: 1.02; cursor: pointer; transform: scale(var(--k-zone)); transform-origin: 0 100%; }
.zone-titre .court { display: none; }
#monde.loin .zone-titre { white-space: nowrap; }
#monde.loin .zone-titre .long { display: none; }
#monde.loin .zone-titre .court { display: inline; }
.cta-monde { flex: none; display: inline-flex; align-items: center; border: 0; border-radius: 999px; background: var(--orange); color: var(--encre); font-weight: 500; font-size: 62px; line-height: 1; padding: 36px 64px; white-space: nowrap; cursor: pointer; transition: opacity .2s ease; }
.cta-monde.petit { font-size: 46px; padding: 26px 46px; }
#monde.loin .cta-monde { opacity: 0; pointer-events: none; }
.zone-meta { margin-top: 48px; font-size: 56px; line-height: 1.35; color: var(--doux); }
.zone-meta b { font-weight: 500; color: var(--blanc); }
.zone-texte { margin-top: 40px; max-width: 2350px; font-size: 68px; line-height: 1.42; color: rgba(255, 255, 255, .88); }
/* le résultat : du texte, précédé de son mot en orange */
.zone-resultat { margin-top: 56px; max-width: 2350px; font-size: 72px; line-height: 1.3; font-weight: 500; }
.zone-resultat small { display: block; margin-bottom: 10px; font-size: 48px; font-weight: 500; color: var(--orange); }
.zone-entete.marque .zone-titre { font-size: 380px; }
.zone-sous { margin-top: 30px; font-size: 76px; color: var(--doux); }

.prod-entete { position: absolute; white-space: nowrap; }
.prod-ligne { display: flex; align-items: center; gap: 50px; }
.prod-titre { font-weight: 500; font-size: 140px; line-height: 1.05; cursor: pointer; }
.prod-sous { margin: 26px 0 0 4px; font-size: 56px; color: var(--doux); }
.titre-ligne { position: absolute; font-size: 50px; color: var(--doux); white-space: nowrap; }

.carte { position: absolute; border-radius: 22px; overflow: hidden; background: var(--carte); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); cursor: zoom-in; }
.carte img, .carte video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; -webkit-user-drag: none; pointer-events: none; }
.carte.manquant { background: #1b1917; display: flex; align-items: center; justify-content: center; cursor: default; }
.carte.manquant span { font-size: 44px; color: var(--doux); }
.carte.video, .carte.youtube { cursor: pointer; }
.son { position: absolute; right: 22px; top: 22px; height: 64px; padding: 0 22px; border-radius: 999px; display: flex; align-items: center; gap: 12px; font-size: 26px; background: rgba(17, 16, 14, .78); z-index: 3; }
.son svg { width: 30px; height: 30px; }
.son .actif-txt { display: none; }
.carte.sonore .son { background: var(--blanc); color: var(--encre); }
.carte.sonore .son .actif-txt { display: inline; }
.carte.sonore .son .muet-txt { display: none; }
.carte.centre .son { right: 34px; top: 34px; height: 92px; padding: 0 34px; font-size: 38px; gap: 16px; }
.carte.centre .son svg { width: 44px; height: 44px; }
.carte.youtube:not(.lance) .son { display: none; }
.lecture { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blanc); color: var(--encre); z-index: 2; transition: transform .25s ease, background .25s ease; }
.lecture svg { width: 96px; height: 96px; margin-left: 12px; }
.carte.youtube:hover .lecture { transform: scale(1.06); background: var(--orange); }
.carte.youtube.lance .lecture { display: none; }
.cadre-yt { position: absolute; left: 0; top: 0; transform-origin: 0 0; z-index: 1; pointer-events: none; background: #000; }
.cadre-yt iframe { display: block; border: 0; pointer-events: none; }
.repere-gp { position: absolute; border: 4px solid rgba(255, 255, 255, .9); border-radius: 10px; pointer-events: none; }
.legende { position: absolute; white-space: normal; overflow-wrap: break-word; }
.legende b { display: block; font-size: 52px; font-weight: 500; line-height: 1.22; }
.legende span { display: block; font-size: 38px; color: var(--doux); line-height: 1.35; margin-top: 4px; }
.legende a { color: var(--blanc); text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }
.loupe { position: absolute; left: 18px; top: 18px; padding: 8px 18px; border-radius: 999px; font-size: 26px; font-weight: 700; background: rgba(17, 16, 14, .78); }

/* Variante étroite du monde, pour les écrans de téléphone tenus à la verticale */
#monde.etroit .zone-ligne { flex-direction: column; align-items: flex-start; gap: 44px; }
#monde.etroit .zone-titre { font-size: 190px; }
#monde.etroit .zone-entete.marque .zone-titre { font-size: 230px; }
#monde.etroit .zone-texte, #monde.etroit .zone-resultat { max-width: none; }
#monde.etroit .zone-meta { font-size: 48px; }
#monde.etroit .prod-entete { white-space: normal; }
#monde.etroit .prod-ligne { flex-direction: column; align-items: flex-start; gap: 30px; }
#monde.etroit .prod-titre { font-size: 112px; }
#monde.etroit .terr-entete { white-space: normal; }
#monde.etroit .terr-titre { font-size: 230px; }
#monde.etroit .terr-entete.petit .terr-titre { font-size: 200px; }
#monde.etroit .terr-promesse { margin-top: 36px; font-size: 80px; line-height: 1.3; }

/* Commandes, invitation et aide */
.commandes { position: absolute; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(30, 28, 25, .96); }
.commandes button { width: 38px; height: 38px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }
.commandes button:hover { background: rgba(255, 255, 255, .12); }
.commandes .pct { min-width: 54px; text-align: center; font-size: 12.5px; color: var(--doux); font-variant-numeric: tabular-nums; }
.separateur { width: 1px; height: 20px; background: rgba(255, 255, 255, .18); margin: 0 4px; }
.aide { position: absolute; left: 22px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 20; font-size: 12px; color: var(--discret); }
.aide kbd { font-family: inherit; border-radius: 6px; padding: 2px 7px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .82); }
.aide a { color: inherit; }
.invite { position: absolute; left: 50%; top: calc(var(--bandeau) + 18px); z-index: 19; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; max-width: calc(100% - 32px); padding: 11px 20px; border-radius: 999px; font-size: 14px; text-align: center; background: rgba(30, 28, 25, .96); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.invite strong { font-weight: 500; color: var(--orange); }
.invite span { color: var(--doux); }
.invite-doigt { display: none; }
.invite.cache { opacity: 0; transform: translate(-50%, -10px); }
html:not(.mode-canvas) .invite, html:not(.mode-canvas) .commandes, html:not(.mode-canvas) .aide { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 820px) {
  .aide { display: none; }
  .invite-souris { display: none; }
  .invite-doigt { display: inline; }
  .invite { border-radius: 22px; }
  .commandes button { width: 46px; height: 46px; font-size: 24px; }
}
@media (max-width: 620px) {
  :root { --bandeau: 100px; }
  .bandeau { padding: 0 14px; }
  .bandeau-nav { margin: 0 -14px; padding: 0 14px; }
  .bandeau-haut { gap: 12px; }
  .bandeau-haut .bouton { padding: 7px 13px; font-size: 13.5px; }
  .bandeau-logo, #b-global { display: none; }
  .commandes { right: 50%; transform: translateX(50%); }
}

/* ---------- Pages de texte ---------- */
.page-texte main { display: block; min-height: 100vh; padding: clamp(130px, 19vh, 190px) var(--marge) 40px; }
.texte { max-width: 900px; margin: 0 auto; }
.texte.apropos { max-width: 1240px; }
.texte-entete h1 { margin-top: 16px; max-width: 18ch; font-weight: 500; font-size: clamp(32px, 4.6vw, 66px); line-height: 1.05; letter-spacing: -.012em; }
.chapeau { margin-top: 22px; max-width: 60ch; font-size: clamp(18px, 1.6vw, 22px); color: rgba(255, 255, 255, .86); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.legal h2 { margin-top: 44px; font-weight: 500; font-size: 22px; }
.legal p, .legal ul { margin-top: 12px; color: rgba(255, 255, 255, .84); max-width: 70ch; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--blanc); text-underline-offset: 4px; }
.apropos-offres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); margin-top: clamp(50px, 10vh, 110px); }
.apropos-offres h2 { font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; color: var(--orange); }
.apropos-offres p { margin-top: 12px; color: var(--doux); font-size: 16.5px; line-height: 1.5; }
.apropos-equipe { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; margin-top: clamp(60px, 12vh, 130px); }
.fondateur img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--carte); }
.fondateur figcaption { margin-top: 12px; font-size: 15px; color: var(--doux); }
.fondateur strong { font-weight: 500; color: var(--blanc); }
.apropos-texte h2 { font-weight: 500; font-size: clamp(26px, 2.9vw, 44px); line-height: 1.08; }
.apropos-texte > p { margin-top: 16px; max-width: 58ch; color: rgba(255, 255, 255, .86); font-size: 18px; }
.citation { margin-top: clamp(30px, 6vh, 60px); max-width: 26ch; font-weight: 500; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.24; color: var(--blanc); }
.pied { max-width: 1240px; margin: clamp(60px, 12vh, 120px) auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--discret); }
.pied a { color: var(--doux); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
@media (max-width: 980px) { .apropos-offres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .apropos-offres { grid-template-columns: 1fr; }
  .apropos-equipe { grid-template-columns: 1fr; }
  .fondateur { max-width: 340px; }
  .actions .bouton { flex: 1 1 100%; }
}

/* ---------- Formulaire « Travailler avec nous » ---------- */
.contact { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end; }
.contact-fond { position: absolute; inset: 0; background: rgba(8, 7, 6, .72); animation: fondu .25s ease; }
.contact-panneau { position: relative; width: min(580px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(30px, 6vh, 54px) clamp(22px, 4vw, 44px) 40px; background: #0c0b0a; animation: glisse .35s cubic-bezier(.3, .8, .25, 1); outline: none; }
@keyframes fondu { from { opacity: 0; } }
@keyframes glisse { from { transform: translateX(40px); opacity: 0; } }
.contact-fermer { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.contact-fermer:hover { background: rgba(255, 255, 255, .22); }
.contact-panneau h2 { padding-right: 50px; font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.contact-intro { margin-top: 12px; color: var(--doux); }
.contact-projet { margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--orange); }
.contact-directs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.contact-directs .bouton { flex: 1 1 0; }
.contact-numero { margin-top: 14px; font-size: 15px; color: var(--doux); }
.contact-numero a { color: var(--blanc); text-decoration: none; }
.contact-numero a:hover { text-decoration: underline; }
.contact-formulaire { margin-top: 28px; }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.champs label { display: block; font-size: 14px; color: var(--doux); }
.champs label.large { grid-column: 1 / -1; }
.champs label span { color: var(--orange); }
.champs small { margin-left: 6px; font-size: 12px; color: var(--discret); }
.champs input, .champs textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 16px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .09); color: var(--blanc); font-size: 16px; line-height: 1.3; transition: background .2s ease, box-shadow .2s ease; }
.champs textarea { resize: vertical; min-height: 104px; }
.champs input:focus, .champs textarea:focus { outline: none; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 2px var(--orange); }
.champs .invalide { box-shadow: inset 0 0 0 2px #ff6b5e; }
.contact-erreur { margin-top: 14px; color: #ff9b91; font-size: 14px; }
.contact-formulaire .bouton-plein { width: 100%; min-height: 54px; margin-top: 18px; font-size: 16px; }
.contact-note { margin-top: 14px; font-size: 12.5px; color: var(--discret); }
.contact-note a { color: var(--doux); }
.contact-merci { margin-top: 6px; font-size: 17px; color: var(--blanc); }
.contact-tally { width: 100%; min-height: 560px; border: 0; }
.contact-ici { margin-top: 30px; max-width: 620px; }
@media (max-width: 520px) { .champs { grid-template-columns: 1fr; } .contact-directs .bouton { flex: 1 1 30%; padding: 9px 10px; } }

/* ---------- Sans JavaScript : voir la fin de themes.css ---------- */
