/* ==========================================================================
   MARAH'S WORLD — CSS commun
   Charte : 4 couleurs (crème, rose poudré, bleu électrique, brun chocolat).
   Bleu = chutes, boutons, liens uniquement. Chocolat = texte + pied de page.
   ========================================================================== */

:root {
  --creme: #F6EDE2;
  --creme-fonce: #E6DCCB;
  --rose: #F9C2C2;
  --bleu: #08299B;
  --chocolat: #2E2019;
  /* teintes d'objets décoratifs (jamais en fond de section) */
  --postit: #F2DA86;
  --kraft: #CBB38F;

  --titre: 'Anton', 'Impact', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --texte: 'Inter', system-ui, sans-serif;

  --marge: clamp(16px, 4vw, 48px);
  --hauteur-entete: 72px;

  /* Mouvement commun du site (deux courbes, trois durées) : toute nouvelle animation les utilise.
     --ease-out : entrées et ouvertures (démarre vite, se pose doucement) · --ease-in-out : allers-retours.
     --d-1 : réactions (survol, appui) · --d-2 : petits changements d'état · --d-3 : ouvertures et révélations. */
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --d-1: .2s;
  --d-2: .45s;
  --d-3: .75s;
  --d-4: 1.2s;   /* grands moments : rideau entre les pages, entrées de scène */
}

/* Étiquette du site (langage v2) : Inter, capitales, 12 px, espacement large. Entre crochets pour un index : [01] */
.etiq { font: 500 12px/1.3 var(--texte); letter-spacing: .16em; text-transform: uppercase; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--chocolat);
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Grain de papier : léger, par-dessus tout, sans gêner les clics */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .18  0 0 0 0 .13  0 0 0 0 .10  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  margin: 0;
  color: var(--chocolat);
}

a { color: var(--bleu); }
img { max-width: 100%; display: block; }
/* Photos : pas de glisser-déposer ni de menu « enregistrer » au toucher long (dissuasion, pas une protection absolue) */
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* Chute : toujours bleu électrique, serif italique */
em, .chute { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--bleu); text-transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .8rem/1 var(--texte);
  letter-spacing: .08em; text-transform: uppercase;
  padding: .85em 1.3em;
  border: 2px solid var(--bleu);
  border-radius: 999px;
  background: transparent; color: var(--bleu);
  cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, transform .15s ease-out;
}
.bouton:focus-visible { background: var(--bleu); color: var(--creme); } @media (hover: hover) and (pointer: fine) { .bouton:hover { background: var(--bleu); color: var(--creme); } }
.bouton--plein { background: var(--bleu); color: var(--creme); }
.bouton--plein:focus-visible { background: transparent; color: var(--bleu); } @media (hover: hover) and (pointer: fine) { .bouton--plein:hover { background: transparent; color: var(--bleu); } }

/* ---------- En-tête ---------- */
#entete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--hauteur-entete);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--marge);
}
#entete { transition: transform .45s cubic-bezier(.22, .8, .24, 1), opacity .3s; }
#entete.cachee { transform: translateY(-115%); opacity: 0; pointer-events: none; }     /* se range seulement quand elle chevauche du texte ou un bouton */
@media (prefers-reduced-motion: reduce) { #entete { transition: none; } }
/* Rideau crème entre les pages (choix de Marah, 05/11) : la nouvelle page se déploie du bas vers le haut par-dessus l'ancienne,
   qui recule d'un cran en s'assombrissant. Les navigateurs qui ne savent pas le faire changent de page comme avant. */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .9s; animation-timing-function: var(--ease-out); }
::view-transition-old(root) { animation: rideau-ancienne .9s var(--ease-out) both; }
::view-transition-new(root) { animation: rideau-nouvelle .9s var(--ease-out) both; }
@keyframes rideau-ancienne { from { transform: none; filter: none; } to { transform: translateY(-6%); filter: brightness(.82); } }
@keyframes rideau-nouvelle { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.marque {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--chocolat);
  font-family: var(--titre); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
}
.marque img { height: 36px; width: auto; }
.entete-droite { display: flex; align-items: center; gap: 10px; }
#entete .bouton { padding: .7em 1.1em; }

/* ---------- Fenêtre « Quel CV ? » ---------- */
#choix-cv { border: none; padding: clamp(22px, 4vw, 40px); background: var(--creme); color: var(--chocolat); width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 14px; box-shadow: 0 24px 60px rgba(46, 32, 25, .35); }
#choix-cv::backdrop { background: rgba(46, 32, 25, .5); }
#choix-cv[open] { animation: choix-cv-entree .35s cubic-bezier(.22, .8, .24, 1); }
@keyframes choix-cv-entree { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
#choix-cv h2 { margin: 0; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; padding-right: 90px; }
#choix-cv h2 em { font-size: 1.06em; }
.choix-cv-fermer { position: absolute; top: 14px; right: 14px; padding: .6em 1em; }
.choix-cv-intro { margin: 10px 0 20px; opacity: .75; }
.choix-cv-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.choix-cv-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--chocolat); border-radius: 12px; text-decoration: none; color: inherit; transition: background .25s, transform .25s; }
.choix-cv-option:focus-visible { background: var(--rose); transform: translateX(4px); } @media (hover: hover) and (pointer: fine) { .choix-cv-option:hover { background: var(--rose); transform: translateX(4px); } }
.choix-cv-texte { display: grid; gap: 2px; }
.choix-cv-nom { font-family: var(--titre); text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.choix-cv-phrase { font-size: .9rem; opacity: .7; }
.choix-cv-bouton { flex: none; color: var(--bleu); font-weight: 600; font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { #choix-cv[open] { animation: none; } .choix-cv-option { transition: none; } }

/* ---------- Menu plein écran ---------- */
#menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--rose);
  display: flex; flex-direction: column;
  padding: 0 var(--marge) var(--marge);
  visibility: hidden; transform: translateX(100%);
  transition: transform .6s cubic-bezier(.22, .8, .24, 1), visibility 0s .6s;
  overflow-y: auto;
}
#menu.ouvert { visibility: visible; transform: none; transition: transform .6s cubic-bezier(.22, .8, .24, 1); }
@media (prefers-reduced-motion: reduce) { #menu, #menu.ouvert { transition: none; } }
.menu-haut { height: var(--hauteur-entete); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu-liste { list-style: none; margin: auto 0; padding: 0; display: grid; gap: clamp(8px, 2vh, 20px); }
.menu-liste a { text-decoration: none; display: block; }
.menu-liste .menu-nom { display: block; font-family: var(--titre); text-transform: uppercase; font-size: clamp(2.6rem, 9vw, 6.5rem); line-height: 1; color: var(--chocolat); transition: color .2s; }
.menu-liste a:focus-visible .menu-nom, .menu-liste a[aria-current="page"] .menu-nom { color: var(--bleu); } @media (hover: hover) and (pointer: fine) { .menu-liste a:hover .menu-nom { color: var(--bleu); } }
.menu-liste .menu-sous { display: block; font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
body.menu-ouvert { overflow: hidden; }

/* ---------- Contenu des pages ---------- */
main { flex: 1; padding: calc(var(--hauteur-entete) + clamp(40px, 8vw, 100px)) var(--marge) clamp(60px, 10vw, 140px); }
main.plein { padding: 0; overflow-x: clip; }
.page-titre { max-width: 1200px; margin: 0 auto; }
.page-titre h1 { font-size: clamp(3rem, 11vw, 9rem); }
.page-titre .phrase { font-family: var(--serif); font-style: italic; color: var(--bleu); font-size: clamp(1.5rem, 3.5vw, 2.6rem); margin: .4em 0 0; }

/* ---------- Emplacements d'images (bloc de couleur tant que l'image manque) ---------- */
.image { position: relative; overflow: hidden; background: var(--rose); }
.image[data-couleur="creme-fonce"] { background: var(--creme-fonce); }
.image[data-couleur="creme"] { background: var(--creme); }
.image[data-couleur="kraft"] { background: var(--kraft); }
.image[data-couleur="postit"] { background: var(--postit); }
.image img { width: 100%; height: 100%; object-fit: cover; }
.image .image-nom {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 1em; text-align: center;
  font: 500 .7rem/1.3 var(--texte); letter-spacing: .06em; color: var(--chocolat); opacity: .55; word-break: break-all;
}
.image.charge .image-nom { display: none; }
.image.charge { background: none; }

/* ---------- Pied de page ---------- */
#pied { background: var(--chocolat); color: var(--creme); padding: clamp(40px, 6vw, 72px) var(--marge) 32px; }
.pied-haut { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.pied-haut img { height: 56px; width: auto; }
.pied-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; }
#pied a { color: var(--creme); text-decoration: none; font-weight: 500; }
#pied a:focus-visible { text-decoration: underline; text-underline-offset: 4px; } @media (hover: hover) and (pointer: fine) { #pied a:hover { text-decoration: underline; text-underline-offset: 4px; } }
#pied :focus-visible { outline-color: var(--creme); }
.pied-bas { max-width: 1200px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--creme) 25%, transparent); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; opacity: .85; }

@media (max-width: 560px) {
  :root { --hauteur-entete: 64px; }
  .marque { font-size: .9rem; gap: 8px; }
  .marque img { height: 24px; }
  #entete .bouton { padding: .6em .85em; font-size: .7rem; }
  .entete-droite { gap: 6px; }
}

/* Téléphone (≤ 700 px) : zones tactiles confortables (≥ 44 px) pour tous les boutons du site */
@media (max-width: 700px) {
  .bouton { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
/* Téléphone : pied de page aux liens faciles à toucher (≥ 44 px) et aux mentions en 14 px */
@media (max-width: 700px) {
  footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
  footer nav a { margin-right: 4px; }
  footer span, footer .legal a { font-size: .875rem; }
}

/* Téléphone : logo de l'en-tête facile à toucher, titre de page à 32 px (404 comprise) */
@media (max-width: 700px) {
  .marque { min-height: 44px; display: inline-flex; align-items: center; }
  .page-titre h1 { font-size: 2rem; }
}

/* Téléphone : pied de page, une mention par ligne */
@media (max-width: 700px) {
  .pied-bas { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .pied-bas > span > span { display: block; }
}

/* Pied de page (téléphone, demande de Marah du 03/11) : grand monogramme, liens regroupés en petites capitales, bouton rond « Haut de page » */
.haut-de-page { display: none; }
@media (max-width: 700px) {
  .pied-haut { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .pied-haut > a:first-child { display: block; min-height: 0; padding: 0; }
  .pied-haut > a:first-child img { display: block; width: 78%; max-width: 300px; height: auto; }
  .pied-nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 0; list-style: none; }
  .pied-nav a { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 0; }
  .haut-de-page { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 0; background: none; border: 0; color: var(--creme); font: 600 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; min-height: 44px; }
  .haut-de-page i { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid currentColor; border-radius: 50%; font-style: normal; font-size: 1.2rem; }
}
@media (max-width: 700px) { .pied-bas a { padding-left: 0; } }   /* « Politique de confidentialité » aligné avec les autres mentions */
/* Pied de page (téléphone) : le monogramme MS prend toute la largeur, en transparence, DERRIÈRE les liens et les mentions */
@media (max-width: 700px) {
  #pied { position: relative; overflow: hidden; }
  .pied-haut { position: static; }
  .pied-haut > a:first-child { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; }
  .pied-haut > a:first-child img { width: 100%; max-width: none; opacity: .13; }
  .pied-nav, .haut-de-page, .pied-bas { position: relative; z-index: 1; }
  .pied-haut { padding-top: 6px; }
}
/* Pied de page (téléphone) : le monogramme MS reste dans la partie du haut (liens + bouton), il ne descend plus sur les mentions « © 2026 Marah Simon… » */
@media (max-width: 700px) {
  .pied-haut { position: relative; overflow: hidden; }
}

/* Bouton de langue FR / EN (en-tête sur ordinateur, menu partout) */
.langue { appearance: none; background: none; border: 0; padding: 0 6px; font: 600 .8rem/1 var(--texte); letter-spacing: .14em; color: var(--chocolat); cursor: pointer; min-height: 44px; min-width: 44px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--chocolat) 35%, transparent); transition: color .2s; }
.langue:focus-visible { color: var(--bleu); text-decoration-color: var(--bleu); } @media (hover: hover) and (pointer: fine) { .langue:hover { color: var(--bleu); text-decoration-color: var(--bleu); } }
.menu-haut-droite { display: flex; align-items: center; gap: 10px; }
@media (max-width: 700px) { .bouton.langue--entete { min-width: 52px; height: 44px; padding: 0 12px; } }   /* FR / EN à côté de MENU, aussi sur téléphone */
.bouton.langue--entete { color: var(--bleu); text-decoration: none; padding: 0 14px; letter-spacing: .1em; }
.bouton.langue--entete:focus-visible { background: var(--bleu); color: var(--creme); } @media (hover: hover) and (pointer: fine) { .bouton.langue--entete:hover { background: var(--bleu); color: var(--creme); } }
.bouton.langue--entete { border: 1.5px solid var(--bleu); min-width: 0; }

/* Bouton FR / EN de l'en-tête : ovale, même taille que « CV » et « MENU » */
.bouton.langue--entete { min-height: 0; min-width: 70px; padding: .7em 1.1em; letter-spacing: .08em; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.bouton.langue--entete { height: 35px; }

/* Bouton FR / EN : plus dans l'en-tête ; dans le menu et en bas de page (pied chocolat : texte crème) */
.langue--pied { color: var(--creme); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 0; text-decoration-color: color-mix(in srgb, var(--creme) 45%, transparent); }
.langue--pied:focus-visible { color: var(--rose); text-decoration-color: var(--rose); } @media (hover: hover) and (pointer: fine) { .langue--pied:hover { color: var(--rose); text-decoration-color: var(--rose); } }

/* ===== Bases téléphone (04/11/2026) : sensation « appli » =====
   Pas de flash gris au toucher, pas d'attente avant le clic, pas de texte de bouton sélectionné au toucher long. */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
a, button, [role="button"], summary, label, .bouton { touch-action: manipulation; }
button, [role="button"], .bouton, .onglets button, .pays-btn { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* encoche / barre du bas des iPhone (actif grâce à viewport-fit=cover) */
#pied { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }

/* Image de secours : fichier manquant = pas d'icône « image cassée » (voir js/main.js) */
img.img-absente { visibility: hidden; }

/* ===== Apparitions douces au défilement (js/main.js) : fondu + montée de 24 px, 0,9 s ===== */
html .apparait { opacity: 0; transform: translateY(24px); }   /* caché sans transition : pas de fondu parasite au chargement */
html .apparait.apparu { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.22, .8, .24, 1), transform .9s cubic-bezier(.22, .8, .24, 1); }
@media (prefers-reduced-motion: reduce) { html .apparait { opacity: 1; transform: none; transition: none; } }

/* ===== Retour au toucher : le bouton ou la carte s'enfonce un peu quand on appuie ===== */
.tuile { transition: transform .15s ease-out; }
.bouton:active, .tuile:active, .np-card:active { transform: scale(.97); }

/* ===== Lien d'évitement (accessibilité) : caché tant qu'il n'a pas le focus clavier ===== */
.lien-evitement { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--bleu); color: var(--creme); padding: 12px 18px; border-radius: 999px; font: 600 .8rem/1 var(--texte); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: top .2s ease-out; }
.lien-evitement:focus, .lien-evitement:focus-visible { top: 12px; outline-offset: 3px; }
main:focus { outline: none; }

/* ===== En-tête : le métier sous le nom (ordinateur et tablette) ===== */
.marque-texte { display: flex; flex-direction: column; justify-content: space-between; height: 36px; line-height: 12px; }   /* 3 mots = 3 × 12 px = la hauteur du logo */
.metier { font-family: var(--texte); font-size: 10px; line-height: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--chocolat); }
@media (max-width: 700px) { .marque img { height: 30px; } .marque-texte { height: 30px; line-height: 10px; } .metier { font-size: 8.5px; line-height: 10px; letter-spacing: .1em; } }   /* téléphone : logo 30 px, 3 × 10 px */
@media (max-width: 340px) { .marque-texte { display: none; } }

/* ===== Barre de progression de l'accueil ===== */
.progression { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progression i { display: block; height: 100%; background: var(--chocolat); transform: scaleX(0); transform-origin: left center; will-change: transform; }

/* ===== Curseur sur mesure (js/main.js ; ordinateur avec souris seulement) ===== */
html.curseur-actif, html.curseur-actif * { cursor: none !important; }
html.curseur-actif input, html.curseur-actif textarea { cursor: text !important; }
.curseur-etoile, .curseur-rond, .curseur-trace { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s; }
.curseur-etoile.visible, .curseur-rond.visible { opacity: 1; }
.curseur-trace.visible { opacity: var(--o, .4); }
/* petite étoile : chocolat, liseré crème pour qu'elle se voie aussi sur le pied de page chocolat */
.curseur-etoile svg { display: block; width: 28px; height: 28px; margin: -14px 0 0 -14px; fill: var(--chocolat); stroke: var(--creme); stroke-width: 1.4; stroke-linejoin: round; paint-order: stroke; transition: transform .3s cubic-bezier(.22, .8, .24, 1); animation: curseur-tourne 7s linear infinite; }
.curseur-etoile[data-mode="lien"] svg { transform: scale(1.35); }
.curseur-etoile.appuye svg { transform: scale(.8); }
@keyframes curseur-tourne { to { transform: rotate(360deg); } }
.curseur-trace { border-radius: 50%; background: var(--chocolat); box-shadow: 0 0 0 1px rgba(246, 237, 226, .55); }
/* disque d'information (Voir / Glisser / Agrandir) : seulement sur ces zones */
.curseur-rond::before { content: ""; display: block; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--bleu); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s cubic-bezier(.22, .8, .24, 1); }
.curseur-rond[data-mode="voir"]::before, .curseur-rond[data-mode="glisser"]::before, .curseur-rond[data-mode="agrandir"]::before { opacity: 1; transform: none; }
.curseur-rond[data-mode="cliquez"]::before, .curseur-rond[data-mode="lancez"]::before { width: 66px; height: 66px; margin: -33px 0 0 -33px; opacity: 1; transform: none; }   /* un peu plus grand sur une compétence, avec « Cliquez » au milieu */
.curseur-rond.appuye::before { transform: scale(.88); }
.curseur-rond span { position: absolute; left: -42px; top: -42px; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; color: var(--creme); font: 600 .68rem/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.curseur-rond:not([data-mode=""]):not([data-mode="lien"]) span { opacity: 1; }
@media print { .curseur-etoile, .curseur-rond, .curseur-trace { display: none; } }

/* ===== Tuiles de projets : inclinaison 3D + reflet (js/main.js) ===== */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tuile { transition: transform .3s cubic-bezier(.22, .8, .24, 1); will-change: transform; }
  .tuile.incline { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.015); transition-duration: .12s; }
  .tuile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(246, 237, 226, .28), rgba(246, 237, 226, 0) 55%); }
  .tuile.incline::after { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) { .tuile.incline:active { transform: perspective(900px) scale(.97); } }


/* ---------- Nouveau pied de page (06/11/2026, demande de Marah) ---------- */
#pied { position: relative; overflow: hidden; min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(56px, 9vh, 110px) var(--marge) 0; }
#pied .pied-haut { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px clamp(40px, 8vw, 140px); align-items: start; max-width: none; margin: 0; padding: 0 clamp(0px, 4vw, 70px); }
.pied-gauche { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 34px); }
.pied-titre { margin: 0; font-family: var(--titre); text-transform: uppercase; font-size: clamp(2.8rem, 6.4vw, 6.4rem); line-height: .95; letter-spacing: -.005em; }
.pied-contact { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; padding: 0; }
.pied-contact a { font-size: clamp(1rem, 1.5vw, 1.35rem); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pied-droite { justify-self: center; padding-top: .6em; }
#pied .pied-nav { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
#pied .pied-nav a { font-family: var(--texte); font-size: clamp(.9rem, 1.2vw, 1.05rem); letter-spacing: .14em; text-transform: uppercase; }
#pied .pied-bas { position: relative; z-index: 1; max-width: none; width: 100%; margin: clamp(36px, 8vh, 90px) 0 0; }
@media (max-width: 800px) {
  #pied { min-height: 0; padding-top: 56px; }
  #pied .pied-haut { grid-template-columns: 1fr; padding: 0; }
  .pied-titre { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .pied-droite { padding-top: 0; }
  #pied .pied-nav { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  #pied .pied-nav a { font-size: .75rem; }
}

/* Souris sur l'affiche d'un projet (accueil) : l'étoile se transforme en « open ↗ », sans fond (07/11/2026) */
.curseur-etoile[data-mode="ouvrir"] svg, .curseur-etoile[data-mode="point"] svg { opacity: 0; }
/* Globes : sur un point, pas de disque (le point reste visible) ; « Cliquez » s'écrit à côté, en bas à droite */
.curseur-rond[data-mode="point"] span { left: 16px; top: 12px; width: auto; height: auto; justify-content: flex-start; white-space: nowrap; font: 700 .8rem/1 var(--texte); letter-spacing: .1em; color: var(--chocolat); text-shadow: 0 0 6px var(--creme), 0 0 12px var(--creme); }
.curseur-rond[data-mode="ouvrir"] span { left: -60px; top: -14px; width: 120px; height: 28px; font: 700 20px/1 var(--texte); letter-spacing: .02em; text-transform: lowercase; color: var(--creme); text-shadow: 0 0 5px rgba(46, 32, 25, .7), 0 1px 3px rgba(46, 32, 25, .8), 0 0 14px rgba(46, 32, 25, .45); }
/* pied de page : phrase sous Mail / LinkedIn / Message ; nom sur toute la largeur au-dessus des mentions */
.pied-lieu { margin: 0; font-size: clamp(.9rem, 1.2vw, 1.05rem); opacity: .85; max-width: 34em; }
.pied-nom { display: block; margin: clamp(30px, 6vh, 70px) calc(14px - var(--marge)) 0; text-align: left; white-space: nowrap; line-height: .8; opacity: .2; overflow: visible; }
.pied-nom span { display: inline-block; font-family: var(--titre); text-transform: uppercase; letter-spacing: 0; line-height: .8; color: var(--creme); }
#pied .pied-bas { margin-top: clamp(20px, 4vh, 40px); padding-bottom: 28px; justify-content: space-between; }
@media (max-width: 800px) { .pied-nom { margin-top: 36px; } }
