/* JuMed-B229 — Creative Studio · Feuille de style du site public (étape 4) */

:root {
  --brun: #302D28;
  --beige: #E9E1D3;
  --creme: #F4EEE3;
  --blanc: #FFFFFF;
  --terre: #A17B5B;
  --terre-profonde: #7E5A3E;
  --taupe: #B5A18B;
  --terre-claire: #E3CDB8;
  --accent: #D9A57C;

  --texte: var(--brun);
  --texte-doux: #5E564C;
  --police-titre: "Sora", system-ui, sans-serif;
  --police-texte: "Manrope", system-ui, sans-serif;

  --largeur: 1240px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --rayon: 18px;
  --rayon-petit: 12px;
  --ombre: 0 18px 40px -24px rgba(48, 45, 40, .45);
  --courbe: cubic-bezier(.2, .7, .2, 1);
  --entete: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terre-profonde); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.bande-blanche { background: var(--blanc); height: clamp(40px, 7vw, 96px); }
.surtitre {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--terre-profonde); margin-bottom: 14px;
}
.intro-section { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.intro-section h2 { margin: 0; max-width: 16ch; }
.intro-section p { max-width: 46ch; color: var(--texte-doux); margin: 0; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--police-texte); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--courbe), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
}
.bouton:hover { transform: translateY(-2px); }
.bouton-plein { background: var(--terre-profonde); color: var(--beige); }
.bouton-plein:hover { background: #6C4C33; box-shadow: var(--ombre); }
.bouton-contour { border-color: currentColor; color: var(--brun); background: transparent; }
.bouton-contour:hover { background: var(--brun); color: var(--beige); border-color: var(--brun); }
.sur-sombre .bouton-contour { color: var(--beige); }
.sur-sombre .bouton-contour:hover { background: var(--beige); color: var(--brun); border-color: var(--beige); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--taupe); padding-bottom: 2px; transition: gap .3s var(--courbe), border-color .3s; }
.lien-fleche:hover { gap: 14px; border-color: var(--terre-profonde); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--entete);
  transition: background-color .4s, box-shadow .4s, color .4s, transform .4s var(--courbe);
  color: var(--brun);
}
.entete .conteneur { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.entete.est-transparente { color: var(--beige); }
.entete.est-solide { background: rgba(233, 225, 211, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(48, 45, 40, .08); color: var(--brun); }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marque svg { width: 52px; height: auto; }
.marque-texte { display: flex; flex-direction: column; line-height: 1; }
.marque-nom { font: 700 19px/1 var(--police-titre); letter-spacing: -.01em; }
.marque-mention { font-size: 9.5px; font-weight: 600; letter-spacing: .32em; margin-top: 5px; opacity: .8; }
.marque .j { stroke: currentColor; }
.nav-principale ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-principale a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px;
  position: relative; transition: background-color .25s;
}
.nav-principale a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--courbe);
}
.nav-principale a:hover::after, .nav-principale a[aria-current="page"]::after { transform: scaleX(1); }
.entete-actions { display: flex; align-items: center; gap: 10px; }
.entete .bouton { min-height: 44px; padding: 0 20px; font-size: 15px; }
.entete.est-transparente .bouton-plein { background: var(--beige); color: var(--brun); }
.bouton-menu {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor;
  background: transparent; color: inherit; cursor: pointer; position: relative;
}
.bouton-menu span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--courbe), opacity .2s; }
.bouton-menu span:nth-child(1) { top: 17px; }
.bouton-menu span:nth-child(2) { top: 22px; }
.bouton-menu span:nth-child(3) { top: 27px; }
.menu-ouvert .bouton-menu span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-ouvert .bouton-menu span:nth-child(2) { opacity: 0; }
.menu-ouvert .bouton-menu span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 45; background: var(--brun); color: var(--beige);
  padding: calc(var(--entete) + 24px) var(--gouttiere) 32px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--courbe), visibility 0s .6s;
}
.menu-ouvert .menu-mobile { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--courbe), visibility 0s; }
.menu-ouvert .entete { color: var(--beige); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile li a {
  display: block; font: 700 clamp(32px, 9vw, 44px)/1.2 var(--police-titre); text-decoration: none; padding: 8px 0;
  opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--courbe), color .2s;
}
.menu-mobile li a[aria-current="page"] { color: var(--accent); }
.menu-ouvert .menu-mobile li a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .04s); }
.menu-mobile-bas { display: grid; gap: 12px; font-size: 15px; }
.menu-mobile-bas a { color: var(--beige); }

/* ---------- Bannière d'accueil ---------- */
.banniere {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--beige); overflow: hidden; background: var(--brun); isolation: isolate;
}
.banniere-image { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.banniere-image svg { width: 100%; height: 100%; }
.banniere::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(48, 45, 40, .88) 0%, rgba(48, 45, 40, .62) 42%, rgba(48, 45, 40, .12) 100%),
              linear-gradient(0deg, rgba(48, 45, 40, .55) 0%, rgba(48, 45, 40, 0) 40%);
}
.banniere-contenu { padding-top: calc(var(--entete) + 48px); padding-bottom: clamp(48px, 9vh, 104px); width: 100%; }
.banniere h1 { font-size: clamp(46px, 9.4vw, 136px); line-height: .98; letter-spacing: -.045em; max-width: 11ch; margin-bottom: 28px; }
.banniere h1 .accent { color: var(--accent); display: block; }
.banniere h1 .mot { display: inline-block; opacity: 0; transform: translateY(.35em); animation: monter 1s var(--courbe) forwards; animation-delay: calc(.15s + var(--i) * .09s); }
.banniere-texte { max-width: 44ch; font-size: clamp(17px, 1.5vw, 19px); opacity: .9; margin-bottom: 32px; }
.banniere-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.banniere-apparition { opacity: 0; animation: fondu 1.1s var(--courbe) .55s forwards; }
.etiquette-demo {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(48, 45, 40, .72); color: var(--beige);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.banniere .etiquette-demo { position: absolute; right: var(--gouttiere); top: calc(var(--entete) + 12px); }
.cercle-tournant {
  position: absolute; right: clamp(-120px, -4vw, -40px); top: 50%; width: clamp(280px, 42vw, 620px); aspect-ratio: 1;
  translate: 0 -50%; z-index: -1; pointer-events: none; color: var(--beige);
}
.cercle-tournant svg { width: 100%; height: 100%; animation: tourner 60s linear infinite; }
.indice-defilement {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 1.5px; height: 46px; background: rgba(233, 225, 211, .3); overflow: hidden;
}
.indice-defilement::after { content: ""; position: absolute; inset: 0; background: var(--beige); animation: glisser 2.2s var(--courbe) infinite; }

@keyframes monter { to { opacity: 1; transform: none; } }
@keyframes fondu { to { opacity: 1; } }
@keyframes tourner { to { transform: rotate(360deg); } }
@keyframes glisser { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- En-tête de page intérieure ---------- */
.page-titre { padding: calc(var(--entete) + clamp(48px, 8vw, 104px)) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-titre h1 { font-size: clamp(42px, 7vw, 92px); letter-spacing: -.04em; max-width: 14ch; margin-bottom: 18px; }
.page-titre h1 .accent { color: var(--terre); }
.page-titre p { max-width: 54ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--texte-doux); margin: 0; }
.page-titre .cercle-tournant { color: var(--terre); opacity: .5; right: -160px; width: clamp(260px, 36vw, 480px); }

/* ---------- Tuiles « Ce que fait le studio » ---------- */
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tuile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px;
  padding: 28px; border-radius: var(--rayon); text-decoration: none; background: var(--creme); overflow: hidden;
  transition: transform .5s var(--courbe), box-shadow .5s var(--courbe), background-color .3s;
}
.tuile:nth-child(even) { background: var(--terre-claire); }
.tuile:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.tuile-icone { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; }
.tuile-icone svg { width: 100%; height: 100%; }
.tuile h3 { margin: 28px 0 6px; }
.tuile p { margin: 0; color: var(--texte-doux); font-size: 15.5px; }
.tuile-fleche { position: absolute; top: 26px; right: 26px; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--taupe); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .5s var(--courbe), border-color .3s; }
.tuile:hover .tuile-fleche { background: var(--brun); border-color: var(--brun); color: var(--beige); transform: rotate(-45deg); }

/* ---------- Cartes de projets ---------- */
.grille-projets { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.carte-projet { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.carte-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; background: var(--terre-claire); }
.carte-media svg { width: 100%; height: 100%; transition: transform .9s var(--courbe); }
.carte-projet:hover .carte-media svg { transform: scale(1.06); }
.carte-media .etiquette-demo { position: absolute; left: 12px; top: 12px; }
.carte-corps { padding: 14px 4px 0; }
.carte-cats { font-size: 13px; color: var(--texte-doux); margin-bottom: 4px; }
.carte-projet h3 { font-size: 18px; margin: 0; transition: color .3s; }
.carte-projet:hover h3 { color: var(--terre-profonde); }
.grille-projets.est-alternee .carte-projet:nth-child(even) { margin-top: 48px; }
.grille-projets.est-alternee { padding-bottom: 48px; }

/* ---------- Filtres ---------- */
.filtres { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 18px; margin: 0 calc(var(--gouttiere) * -1); padding-left: var(--gouttiere); padding-right: var(--gouttiere); scroll-snap-type: x proximity; }
.filtres::-webkit-scrollbar { display: none; }
@media (min-width: 921px) { .filtres { flex-wrap: wrap; overflow: visible; margin: 0; padding: 4px 0 18px; } }
.pastille {
  flex: none; scroll-snap-align: start; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--taupe);
  background: transparent; color: var(--brun); font: 600 14.5px/1 var(--police-texte); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--courbe);
}
.pastille:hover { border-color: var(--brun); }
.pastille[aria-pressed="true"] { background: var(--brun); color: var(--beige); border-color: var(--brun); }
.pastille .nb { opacity: .6; margin-left: 6px; font-weight: 400; }
.compteur-resultats { font-size: 14px; color: var(--texte-doux); margin: 4px 0 24px; }
.carte-projet.est-cachee { display: none; }
.carte-projet.apparait { animation: apparaitre .55s var(--courbe) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Étapes « Comment ça marche » ---------- */
.sombre { background: var(--brun); color: var(--beige); }
.sombre .surtitre { color: var(--accent); }
.sombre .intro-section p { color: rgba(233, 225, 211, .75); }
.etapes { display: grid; grid-template-columns: repeat(var(--nb-etapes, 5), 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etape { position: relative; padding: 28px 0 0; border-top: 1.5px solid rgba(233, 225, 211, .25); }
.etape::before {
  counter-increment: etape; content: "0" counter(etape); display: block; font: 700 15px/1 var(--police-titre);
  color: var(--accent); margin-bottom: 40px;
}
.etape::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--terre); }
.etape h3 { color: var(--beige); }
.etape p { color: rgba(233, 225, 211, .72); font-size: 15.5px; margin: 0; padding-right: 12px; }

/* ---------- Histoire ---------- */
.histoire { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.histoire-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; }
.histoire-media svg { width: 100%; height: 100%; }
.histoire-media .etiquette-demo { position: absolute; left: 14px; bottom: 14px; }
.histoire-texte p { color: var(--texte-doux); max-width: 52ch; }
.histoire-texte .grand { font: 700 clamp(22px, 2.4vw, 30px)/1.3 var(--police-titre); color: var(--brun); letter-spacing: -.02em; }

/* ---------- Appel à l'action ---------- */
.appel { background: var(--terre-claire); border-radius: calc(var(--rayon) * 1.6); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); position: relative; overflow: hidden; }
.appel h2 { max-width: 14ch; }
.appel p { max-width: 46ch; color: var(--texte-doux); margin-bottom: 28px; }
.appel-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.appel .cercle-tournant { color: var(--terre); opacity: .45; right: -120px; width: clamp(240px, 34vw, 440px); }

/* ---------- Services ---------- */
.ancres-services { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.ancres-services a { text-decoration: none; }
.famille { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 7vw, 88px) 0; border-top: 1.5px solid rgba(48, 45, 40, .12); scroll-margin-top: calc(var(--entete) + 16px); }
.famille:first-child { border-top: 0; padding-top: 0; }
.famille-media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--rayon); overflow: hidden; position: sticky; top: calc(var(--entete) + 24px); align-self: start; }
.famille-media svg { width: 100%; height: 100%; }
.famille-media .etiquette-demo { position: absolute; left: 12px; top: 12px; }
.famille-numero { font: 700 14px/1 var(--police-titre); color: var(--terre-profonde); margin-bottom: 14px; display: block; }
.famille h2 { font-size: clamp(28px, 3.4vw, 42px); }
.famille-besoin { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.famille-desc { color: var(--texte-doux); }
.liste-prestations { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.liste-prestations li { padding: 12px 0 12px 22px; border-bottom: 1px solid rgba(48, 45, 40, .12); position: relative; font-size: 15.5px; }
.liste-prestations li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--terre); }
.famille-langues { font-size: 15px; color: var(--texte-doux); }
.famille-langues strong { color: var(--brun); }

/* ---------- À propos ---------- */
.nom-decompose { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.nom-morceau { background: var(--creme); border-radius: var(--rayon); padding: 28px 24px; }
.nom-morceau:nth-child(even) { background: var(--terre-claire); }
.nom-morceau strong { display: block; font: 700 clamp(30px, 3.4vw, 44px)/1 var(--police-titre); letter-spacing: -.03em; margin-bottom: 14px; color: var(--terre-profonde); }
.nom-morceau p { margin: 0; color: var(--texte-doux); font-size: 15.5px; }

/* ---------- Fiche projet ---------- */
.fiche-entete { padding: calc(var(--entete) + clamp(32px, 6vw, 72px)) 0 32px; }
.fil-ariane { font-size: 14px; color: var(--texte-doux); margin-bottom: 20px; }
.fil-ariane a { text-decoration: none; border-bottom: 1px solid var(--taupe); }
.fiche-entete h1 { font-size: clamp(36px, 6vw, 76px); letter-spacing: -.04em; max-width: 16ch; }
.puces-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.puces-cats a { text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--creme); transition: background-color .25s; }
.puces-cats a:hover { background: var(--terre-claire); }
.fiche-couverture { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--rayon) * 1.3); overflow: hidden; }
.fiche-couverture svg { width: 100%; height: 100%; }
.fiche-couverture .etiquette-demo, .fiche-galerie .etiquette-demo { position: absolute; left: 14px; top: 14px; }
.fiche-resume { font: 600 clamp(20px, 2vw, 26px)/1.45 var(--police-titre); letter-spacing: -.01em; max-width: 36ch; margin: clamp(40px, 6vw, 72px) 0 0; }
.fiche-rubriques { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 72px); margin-top: 40px; }
.rubrique { padding: 24px 0; border-top: 1.5px solid rgba(48, 45, 40, .12); }
.rubrique h2 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--terre-profonde); margin-bottom: 10px; }
.rubrique p { color: var(--texte-doux); margin: 0; }
.rubrique ul { margin: 0; padding-left: 18px; color: var(--texte-doux); }
.fiche-galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.fiche-galerie figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; }
.fiche-galerie figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.fiche-galerie svg { width: 100%; height: 100%; }
.fiche-navigation { display: flex; justify-content: space-between; gap: 16px; padding: 32px 0; border-top: 1.5px solid rgba(48, 45, 40, .12); margin-top: clamp(48px, 7vw, 88px); }
.fiche-navigation a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; max-width: 48%; }
.fiche-navigation a span { font-size: 13px; color: var(--texte-doux); }
.fiche-navigation a strong { font-family: var(--police-titre); font-size: clamp(17px, 2vw, 22px); }
.fiche-navigation a:last-child { text-align: right; margin-left: auto; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.canaux { display: grid; gap: 12px; position: sticky; top: calc(var(--entete) + 24px); }
.canal { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--rayon); background: var(--creme); text-decoration: none; transition: transform .4s var(--courbe), box-shadow .4s; }
.canal:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.canal:nth-child(even) { background: var(--terre-claire); }
.canal-icone { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--brun); color: var(--beige); display: grid; place-items: center; }
.canal small { display: block; font-size: 13px; color: var(--texte-doux); }
.canal strong { font-size: 16px; word-break: break-word; }

.formulaire { background: var(--blanc); border-radius: calc(var(--rayon) * 1.3); padding: clamp(24px, 4vw, 48px); box-shadow: 0 1px 0 rgba(48, 45, 40, .06); }
.type-demande { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--beige); margin-bottom: 28px; }
.type-demande button { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; font: 600 15px/1 var(--police-texte); color: var(--brun); cursor: pointer; transition: background-color .3s, color .3s; }
.type-demande button[aria-pressed="true"] { background: var(--brun); color: var(--beige); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label, fieldset legend { font-weight: 600; font-size: 14.5px; }
.champ .aide { font-weight: 400; color: var(--texte-doux); font-size: 13px; }
.champ input, .champ textarea, .champ select {
  font: 400 16px/1.4 var(--police-texte); color: var(--brun); background: var(--creme); border: 1.5px solid transparent;
  border-radius: var(--rayon-petit); padding: 13px 15px; transition: border-color .25s, background-color .25s; width: 100%;
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--terre-profonde); background: var(--blanc); }
.champ.erreur input, .champ.erreur textarea { border-color: #A3412E; }
.message-erreur { color: #A3412E; font-size: 13.5px; min-height: 0; }
fieldset { border: 0; padding: 0; margin: 0; grid-column: 1 / -1; }
fieldset legend { margin-bottom: 10px; padding: 0; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--taupe);
  font-size: 14.5px; font-weight: 600; transition: background-color .25s, color .25s, border-color .25s;
}
.choix span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; transition: background-color .2s; }
.choix input:checked + span { background: var(--brun); color: var(--beige); border-color: var(--brun); }
.choix input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.choix input:focus-visible + span { outline: 3px solid var(--terre-profonde); outline-offset: 2px; }
.est-masque { display: none !important; }
.choix-prix { font-style: normal; font-weight: 400; font-size: 13px; opacity: .75; }
.aide-prix { font-size: 13px; color: var(--texte-doux); margin: 10px 0 0; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire { position: relative; }
.bouton:disabled { opacity: .6; cursor: progress; }
.recapitulatif.reussi { border-left: 4px solid var(--vif-fonce, #1D5C66); }
.recapitulatif.echec { border-left: 4px solid var(--terre-profonde); }
.formulaire-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.note-demo { font-size: 13.5px; color: var(--texte-doux); background: var(--creme); border-radius: var(--rayon-petit); padding: 12px 14px; margin-top: 20px; }
.recapitulatif { margin-top: 24px; padding: 24px; border-radius: var(--rayon); background: var(--beige); animation: apparaitre .5s var(--courbe) both; }
.recapitulatif h3 { margin-bottom: 8px; }
.recapitulatif pre { white-space: pre-wrap; font: 400 14.5px/1.6 var(--police-texte); background: var(--creme); padding: 14px; border-radius: var(--rayon-petit); margin: 12px 0 18px; }

/* ---------- Vraies images et vidéos ---------- */
.carte-media img, .fiche-couverture img, .fiche-galerie img, .fiche-galerie video {
  display: block; width: 100%; height: 100%; object-fit: cover; background: var(--terre-claire);
}
.carte-media img { transition: transform .9s var(--courbe); }
.carte-projet:hover .carte-media img { transform: scale(1.06); }
.fiche-galerie figure { display: flex; flex-direction: column; }
.fiche-galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 14px; color: var(--beige); background: linear-gradient(0deg, rgba(48,45,40,.75), rgba(48,45,40,0)); }

/* ---------- Prix, packs, témoignages (sections facultatives) ---------- */
.prix { font: 700 20px/1.3 var(--police-titre); color: var(--terre-profonde); margin: 4px 0 20px; font-variant-numeric: tabular-nums; }
.mention-tarifs { font-size: 14px; color: var(--texte-doux); padding-bottom: 32px; margin: 0 auto; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pack { background: var(--creme); border-radius: var(--rayon); padding: 28px; }
.pack:nth-child(even) { background: var(--terre-claire); }
.pack p { color: var(--texte-doux); }
.temoignages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.temoignage { margin: 0; background: var(--creme); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.temoignage:nth-child(even) { background: var(--terre-claire); }
.temoignage blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.temoignage blockquote::before { content: "« "; color: var(--terre); }
.temoignage blockquote::after { content: " »"; color: var(--terre); }
.temoignage figcaption strong { display: block; }
.temoignage figcaption span { font-size: 14px; color: var(--texte-doux); }
.vide { text-align: center; max-width: 52ch; margin: 0 auto; }

/* ---------- Pied de page ---------- */
.pied { background: var(--brun); color: var(--beige); padding: clamp(56px, 8vw, 96px) 0 calc(32px + 72px); margin-top: 0; }
.pied-haut { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(233, 225, 211, .16); }
.pied .marque svg { width: 60px; }
.pied-slogan { margin-top: 20px; color: rgba(233, 225, 211, .7); max-width: 34ch; }
.pied h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; color: rgba(233, 225, 211, .85); transition: color .2s; }
.pied a:hover { color: var(--beige); text-decoration: underline; text-underline-offset: 4px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; color: rgba(233, 225, 211, .6); }

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-flottant {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%;
  background: var(--terre-profonde); color: var(--beige); display: grid; place-items: center; box-shadow: var(--ombre);
  transition: transform .4s var(--courbe), opacity .4s, background-color .25s;
}
.whatsapp-flottant:hover { transform: scale(1.08); background: #6C4C33; }
.whatsapp-flottant.est-discret { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
.menu-ouvert .whatsapp-flottant { opacity: 0; pointer-events: none; }

/* ---------- Apparition au défilement ---------- */
.js [data-apparition] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--courbe), transform .8s var(--courbe); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-apparition].est-visible { opacity: 1; transform: none; }

.vide { padding: 48px 0; color: var(--texte-doux); }

/* ---------- Adaptations écrans ---------- */
@media (max-width: 1100px) {
  .grille-projets { grid-template-columns: repeat(2, 1fr); }
  .grille-projets.est-alternee .carte-projet:nth-child(even) { margin-top: 0; }
  .grille-projets.est-alternee { padding-bottom: 0; }
  .etapes { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .nom-decompose { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-principale, .entete-actions .bouton { display: none; }
  .bouton-menu { display: block; }
  .tuiles { grid-template-columns: repeat(2, 1fr); }
  .histoire, .famille, .contact-grille { grid-template-columns: 1fr; }
  .famille-media, .canaux { position: relative; top: 0; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied-haut > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --entete: 66px; }
  .marque svg { width: 44px; }
  .marque-nom { font-size: 17px; }
  .grille-projets, .tuiles, .etapes, .fiche-rubriques, .champs, .liste-prestations { grid-template-columns: 1fr; }
  .tuile { min-height: 0; }
  .tuile h3 { margin-top: 20px; }
  .etape::before { margin-bottom: 16px; }
  .carte-media { aspect-ratio: 4 / 3; }
  .fiche-galerie { grid-template-columns: 1fr; }
  .fiche-galerie figure:first-child:nth-last-child(odd) { aspect-ratio: 4 / 3; }
  .pied-haut { grid-template-columns: 1fr; }
  .banniere-boutons .bouton, .appel-boutons .bouton { flex: 1 1 100%; }
  .cercle-tournant { width: 340px; right: -170px; top: 34%; }
  .whatsapp-flottant { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* ---------- Moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; animation-delay: 0s !important; }
  .js [data-apparition] { opacity: 1; transform: none; }
  .banniere-image { transform: none !important; }
}

/* =====================================================================
   Couleurs vives et animations interactives (validé par Junior le 13/11/2026)
   Bleu nuit pour les fonds sombres, cyan en petites touches sur fond sombre,
   bleu canard sur fond clair. Palette terre conservée.
   ===================================================================== */
:root { --nuit: #1F2A3D; --nuit-rgb: 31, 42, 61; --vif: #2FC6D8; --vif-rgb: 47, 198, 216; --vif-fonce: #1D5C66; }

/* --- Couleurs --- */
.banniere, .sombre, .pied, .menu-mobile { background: var(--nuit); }
.banniere::after {
  background: radial-gradient(circle at 84% 20%, rgba(var(--vif-rgb), .32), rgba(var(--vif-rgb), 0) 45%),
              linear-gradient(100deg, rgba(var(--nuit-rgb), .93) 0%, rgba(var(--nuit-rgb), .7) 45%, rgba(var(--nuit-rgb), .25) 100%),
              linear-gradient(0deg, rgba(var(--nuit-rgb), .7) 0%, rgba(var(--nuit-rgb), 0) 40%);
}
.sombre { background-image: radial-gradient(circle at 12% 0%, rgba(var(--vif-rgb), .22), transparent 40%), radial-gradient(circle at 95% 100%, rgba(217, 165, 124, .14), transparent 40%); }
.page-titre { background: radial-gradient(circle at 88% 10%, rgba(var(--vif-rgb), .28), transparent 38%); }
.page-titre h1 .accent { color: var(--vif-fonce); }
.surtitre { color: var(--vif-fonce); }
.sombre .surtitre, .pied h2 { color: var(--vif); }
.banniere .surtitre { color: var(--vif) !important; }
.etiquette-demo { background: rgba(var(--nuit-rgb), .78); z-index: 3; }
.cercle-tournant { color: var(--vif); opacity: .5; }
.indice-defilement { z-index: 3; }
.indice-defilement::after { background: var(--vif); }
.banniere h1 .accent::after { content: "."; color: var(--vif); }
.sombre .etape::before { color: var(--vif); }
.pied a:hover { color: var(--vif); }
.nav-principale a::after { background: var(--vif); height: 2px; }
.entete.est-solide .nav-principale a::after { background: var(--vif-fonce); }
.tuile:hover .tuile-fleche, .pastille[aria-pressed="true"], .type-demande button[aria-pressed="true"], .choix input:checked + span, .canal-icone { background: var(--nuit); border-color: var(--nuit); color: var(--beige); }
.choix input:checked + span::before { background: var(--vif); border-color: var(--vif); }
.lien-fleche:hover { border-color: var(--vif-fonce); color: var(--vif-fonce); }
:focus-visible { outline-color: var(--vif-fonce); }
::selection { background: var(--vif); color: var(--nuit); }

/* --- Champ de particules de la bannière --- */
.champ-particules { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.banniere-contenu { position: relative; z-index: 2; pointer-events: none; }
.banniere-contenu a, .banniere-contenu h1 { pointer-events: auto; }
.lettre { display: inline-block; transition: color .3s; will-change: transform; }
.lettre:hover { color: var(--vif); }

/* --- Barre de lecture --- */
.barre-lecture { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--vif), #D9A57C); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* --- Curseur créatif (ordinateur) --- */
.curseur, .curseur-anneau { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 70; border-radius: 50%; }
.curseur { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--vif); }
.curseur-anneau { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--vif); display: grid; place-items: center; font: 700 11px/1 var(--police-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--nuit); transition: width .35s var(--courbe), height .35s var(--courbe), margin .35s var(--courbe), background-color .3s, opacity .3s; }
.curseur-anneau.sur-lien { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(var(--vif-rgb), .18); }
.curseur-anneau.sur-carte { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--vif); }
.curseur-anneau.appui { width: 28px; height: 28px; margin: -14px 0 0 -14px; }

/* --- Boutons : remplissage, texte qui roule, aimant --- */
.bouton { position: relative; overflow: hidden; isolation: isolate; transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform .5s cubic-bezier(.2, 1.4, .4, 1), scale .2s, color .35s, border-color .35s, box-shadow .35s; }
.bouton:hover { transform: translate(var(--mx, 0px), var(--my, 0px)); }
.bouton:active { scale: .92; }
.bouton::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--nuit); transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .55s var(--courbe), border-radius .55s var(--courbe); }
.bouton:hover::before { transform: none; border-radius: 0; }
.bouton-plein:hover { background: var(--terre-profonde); box-shadow: 0 16px 34px -14px rgba(var(--vif-rgb), .7); }
.bouton-contour:hover { background: transparent; color: var(--beige); border-color: var(--nuit); }
.sur-sombre .bouton::before, .entete.est-transparente .bouton::before { background: var(--vif); }
.sur-sombre .bouton:hover, .entete.est-transparente .bouton-plein:hover { color: var(--nuit) !important; border-color: var(--vif); background: transparent; }
.banniere .bouton-plein:hover { background: #E9E1D3 !important; }
.roule { display: inline-grid; overflow: hidden; line-height: 1.2; }
.roule > span { grid-area: 1 / 1; transition: transform .45s var(--courbe); }
.roule > span + span { transform: translateY(110%); }
.bouton:hover .roule > span:first-child { transform: translateY(-110%); }
.bouton:hover .roule > span + span { transform: none; }

/* --- Éclats au toucher --- */
.eclat { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 69; border-radius: 2px; }
.eclat-anneau { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 69; border-radius: 50%; border: 2px solid var(--vif); }

/* --- Inclinaison 3D + projecteur --- */
.tuile, .carte-media, .histoire-media, .famille-media { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .6s var(--courbe), box-shadow .5s var(--courbe), background-color .3s; }
.tuile:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px); box-shadow: 0 26px 50px -26px rgba(var(--nuit-rgb), .6); }
.tuile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), rgba(var(--vif-rgb), .38), transparent 55%); }
.tuile:hover::before { opacity: 1; }
.tuile > *:not(.tuile-fleche) { position: relative; z-index: 1; }
.tuile-fleche { z-index: 1; }
.tuile-icone { transition: transform .6s cubic-bezier(.2, 1.6, .4, 1); }
.tuile:hover .tuile-icone { transform: scale(1.18) rotate(-8deg); }
.tuile::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, var(--vif-fonce), var(--vif)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--courbe); z-index: 1; }
.tuile:hover::after { transform: scaleX(1); }
.carte-projet:hover .carte-media { box-shadow: 0 24px 44px -22px rgba(var(--vif-rgb), .6); }

/* --- Flèches --- */
.lien-fleche span[aria-hidden] { display: inline-block; }
.lien-fleche:hover span[aria-hidden] { animation: fleche .6s var(--courbe); }
.tuile:hover .tuile-fleche svg { animation: fleche .6s var(--courbe); }
@keyframes fleche { 45% { transform: translateX(120%); opacity: 0; } 46% { transform: translateX(-120%); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* --- Titres qui montent mot par mot --- */
.mh { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.mh > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform .9s var(--courbe); transition-delay: calc(var(--k, 0) * 55ms + .1s); }
.est-visible .mh > span, .mh-direct .mh > span { transform: none; }

/* --- Défilement vivant --- */
.tuiles, .grille-projets, .histoire-media, .etapes { transform: skewY(var(--skew, 0deg)); }

/* --- Étapes --- */
.etapes { position: relative; }
@media (min-width: 921px) {
  .etapes::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--vif), #D9A57C); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--courbe) .2s; z-index: 1; }
  .etapes.est-relie::before { transform: scaleX(1); }
}
.sombre .etape::after { background: var(--vif); z-index: 2; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.8, .5, 1); transition-delay: calc(.3s + var(--i, 0) * .32s); box-shadow: 0 0 0 6px rgba(var(--vif-rgb), .2); }
.etapes.est-relie .etape::after { transform: scale(1); }
.etape { transition: transform .5s var(--courbe); }
.etape:hover { transform: translateY(-6px); }

@media (hover: none) { .curseur, .curseur-anneau { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .barre-lecture, .curseur, .curseur-anneau, .champ-particules { display: none; }
  .bouton, .tuile, .carte-media, .histoire-media, .famille-media, .tuiles, .grille-projets, .etapes { transform: none !important; }
  .mh > span { transform: none !important; }
  .etapes::before, .sombre .etape::after { transform: none !important; }
}

/* ---------- Petit assistant des visiteurs (IA) ---------- */
.assistant-bouton {
  position: fixed; right: 18px; bottom: 84px; z-index: 41; display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--nuit, #1F2A3D); color: var(--beige); font: 600 14.5px/1 var(--police-texte); box-shadow: var(--ombre);
  transition: transform .4s var(--courbe), background-color .25s;
}
.assistant-bouton svg { color: var(--vif, #2FC6D8); flex: none; }
.assistant-bouton:hover { transform: translateY(-2px); }
.assistant-bouton.est-ouvert { background: var(--vif-fonce, #1D5C66); }
.menu-ouvert .assistant-bouton { opacity: 0; pointer-events: none; }
.assistant-fenetre {
  position: fixed; right: 18px; bottom: 140px; z-index: 42; width: min(380px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 180px));
  display: flex; flex-direction: column; background: var(--blanc); color: var(--brun); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(31, 42, 61, .55); animation: apparaitre .35s var(--courbe) both;
}
.assistant-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; background: var(--nuit, #1F2A3D); color: var(--beige); }
.assistant-tete strong { font: 700 15px/1.2 var(--police-titre); }
.assistant-fermer { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(233, 225, 211, .35); background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.assistant-fil { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; background: var(--creme); }
.assistant-bulle { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.assistant-bulle.ia { background: var(--blanc); border-bottom-left-radius: 4px; justify-self: start; }
.assistant-bulle.moi { background: var(--nuit, #1F2A3D); color: var(--beige); border-bottom-right-radius: 4px; justify-self: end; }
.assistant-bulle.attente { color: var(--texte-doux); animation: respirer 1s ease-in-out infinite alternate; }
@keyframes respirer { from { opacity: .4; } to { opacity: 1; } }
.assistant-puces { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; background: var(--creme); }
.assistant-puce { border: 1.5px solid var(--taupe); background: var(--blanc); color: var(--brun); border-radius: 999px; padding: 7px 12px; font: 600 13px/1.2 var(--police-texte); cursor: pointer; }
.assistant-puce:hover { border-color: var(--nuit, #1F2A3D); }
.assistant-form { display: flex; gap: 8px; padding: 12px 14px; background: var(--creme); border-top: 1px solid rgba(48, 45, 40, .08); }
.assistant-form input { flex: 1; min-width: 0; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--taupe); font: 400 15px/1.3 var(--police-texte); background: var(--blanc); color: var(--brun); }
.assistant-envoi { border: 0; border-radius: 12px; padding: 0 14px; background: var(--terre-profonde); color: var(--beige); font: 600 14px/1 var(--police-texte); cursor: pointer; }
.assistant-envoi:disabled { opacity: .6; cursor: progress; }
.assistant-note { margin: 0; padding: 0 14px 12px; font-size: 12px; color: var(--texte-doux); background: var(--creme); }
@media (max-width: 640px) {
  .assistant-bouton { right: 14px; bottom: 74px; padding: 0 12px; }
  .assistant-bouton span { display: none; }
  .assistant-fenetre { right: 10px; left: 10px; width: auto; bottom: 128px; max-height: calc(100vh - 150px); }
}

/* ---------- Images du site (étape 8) ---------- */
.image-site { width: 100%; height: 100%; object-fit: cover; display: block; }
.banniere-image .image-site { position: absolute; inset: 0; }
.famille-media, .histoire-media { position: relative; overflow: hidden; }
.famille-media .etiquette-demo, .histoire-media .etiquette-demo { position: absolute; left: 12px; top: 12px; }
.credits-images { font-size: 12.5px; opacity: .7; margin: 18px 0 0; }

/* ---------- Mockups : cadres autour des vraies réalisations ---------- */
.fiche-galerie figure.avec-cadre { background: var(--creme); border-radius: var(--rayon); padding: clamp(18px, 4vw, 40px); display: grid; justify-items: center; gap: 12px; overflow: visible; }
.fiche-galerie figure.avec-cadre figcaption { position: static; background: none; color: var(--texte-doux); padding: 0; text-align: center; }
.cadre { position: relative; max-width: 100%; }
.cadre-ecran-interieur { overflow: hidden; background: #000; }
.cadre-ecran-interieur img, .cadre-ecran-interieur video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cadre-telephone { width: min(300px, 78vw); aspect-ratio: 9 / 19; padding: 12px; border-radius: 44px; background: #15171c; box-shadow: 0 30px 60px -28px rgba(31, 42, 61, .7), inset 0 0 0 2px #2b2f38; }
.cadre-telephone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 18px; translate: -50% 0; border-radius: 12px; background: #15171c; z-index: 2; }
.cadre-telephone .cadre-ecran-interieur { width: 100%; height: 100%; border-radius: 34px; }
.cadre-ordinateur { width: min(760px, 100%); border-radius: 14px; background: #1b1e25; padding: 0 10px 10px; box-shadow: 0 34px 60px -30px rgba(31, 42, 61, .7); }
.cadre-barre { display: flex; gap: 6px; padding: 10px 4px; }
.cadre-barre i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f4b; }
.cadre-barre i:first-child { background: #D9A57C; }
.cadre-ordinateur .cadre-ecran-interieur { aspect-ratio: 16 / 10; border-radius: 6px; }
.cadre-affiche { width: min(520px, 100%); padding: clamp(14px, 3vw, 26px); background: #fff; border: 10px solid #2a2622; box-shadow: 0 30px 50px -28px rgba(48, 45, 40, .6); }
.cadre-affiche .cadre-ecran-interieur { background: #fff; }
.cadre-affiche .cadre-ecran-interieur img { height: auto; object-fit: contain; }

.assistant-fenetre[hidden], .assistant-puces[hidden] { display: none !important; }

.fiche-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fiche-galerie figure.avec-cadre { aspect-ratio: auto; min-width: 0; }
.avec-cadre .cadre-ordinateur, .avec-cadre .cadre-affiche { width: min(760px, 100%); }
.avec-cadre .cadre-affiche { width: min(520px, 100%); }
@media (max-width: 640px) { .fiche-galerie { grid-template-columns: minmax(0, 1fr); } }

.fiche-galerie figure.avec-cadre { align-content: center; }
.avec-cadre .cadre { align-self: center; }

.assistant-titre { display: grid; gap: 2px; }
.assistant-titre small { font-size: 12px; opacity: .75; font-weight: 600; }
