/* JBC · landing conversationnelle V2 (reprise du code Skineli à jour, 19/09/2026) · une définition par composant, jetons en tête, media queries en fin. */
:root {
  --ink: #1A1A1A;
  --ink-2: #2D2D2D;
  --accent: #FFD600;      /* le jaune JBC */
  --accent-dark: #E6C200;
  --accent-2: #B48F00;    /* jaune foncé lisible sur crème (petits textes, kicker) */
  --lavender: #FFF3B8;    /* jaune très pâle : survols */
  --bg: #FFFFFF;          /* le site est sur fond blanc */
  --paper: #FFFFFF;
  --tint: #FFF8D6;        /* bulle de l'assistant : --yellow-light du site */
  --tint-2: #F3F4F6;      /* --gray-light du site */
  --muted: #6B7280;
  --line: #EBE3C4;
  --line-2: #D9CD9A;
  --ok: #2E9E5B;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .1);
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, .06);
  --transition: .18s ease;
  --transition-lent: .5s cubic-bezier(.2, .7, .2, 1);
  /* style de la page Formation IA (Julien, 02/10/2026 : grille, dégradés, noir, matière, icônes) */
  --creme: #FBF7EA;
  --texte-doux: #3F4653;
  --grille-trait: rgba(17, 17, 17, .06);
  --grille-trait-clair: rgba(255, 255, 255, .05);
  --degrade-noir: radial-gradient(ellipse 60% 55% at 12% 8%, rgba(255, 214, 0, .08), transparent 70%), radial-gradient(ellipse 45% 70% at 100% 45%, rgba(64, 120, 255, .10), transparent 70%), radial-gradient(ellipse 55% 60% at 88% 100%, rgba(255, 214, 0, .045), transparent 70%), linear-gradient(160deg, #1d1d1d 0%, #111 45%, #070707 100%);
  --ombre: 0 22px 44px -18px rgba(17, 17, 17, .28);
  --serif: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;   /* le site est 100 % Inter, titres en 800/900 */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { overscroll-behavior: none; overflow-x: hidden; scrollbar-gutter: stable; }
body { margin: 0; overflow-x: clip; background: var(--bg); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
strong { font-weight: 700; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.hp { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; font-size: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.br-mobile { display: none; }
.br-desktop { display: inline; }

/* ---- Page ---- */
.page { height: 100svh; min-height: 680px; max-width: 1248px; margin: auto; padding: 0 24px;  /* = .header-inner du site (1200 px + 2 x 24 px) : le texte s'aligne sur le logo, le chat sur le bouton Parler à Julien (Julien, 19/09, 2e essai avec les elements reduits) */ display: flex; flex-direction: column; }

/* ---- Topbar ---- */
.topbar { position: sticky; top: 0; z-index: 30; height: 72px; flex-shrink: 0; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid rgba(0, 0, 0, .05); background: #fff; }  /* = .header du site (header.css) : blanc opaque, sans flou */
.burger { display: none; }
/* logo : exactement .logo-link du site (header.css) */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; text-decoration: none; color: #111; line-height: 1.2; white-space: nowrap; }
.wordmark img { width: 36px; height: 36px; border-radius: 50%; }
.book { background: var(--ink); color: #fff; border: 0; padding: 14px 22px; border-radius: var(--r); font-size: 15px; font-weight: 600; box-shadow: var(--shadow-sm); transition: background var(--transition), transform var(--transition); }
.book:hover { background: var(--ink-2); }
.book:active { transform: translateY(1px); }
.top-book::before { content: '♡'; margin-right: 10px; font-size: 18px; }

/* ---- Main ---- */
main { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 48px); flex: 1; min-height: 0; padding: 6px 0 22px; }
/* les petits carrés de la Formation IA, fondus sur les bords, derrière l'avatar (pas de stacking context : le bloc du haut mobile doit pouvoir passer devant le header) */
main::before { content: ""; position: absolute; inset: 0 -24px; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--grille-trait) 1px, transparent 1px), linear-gradient(90deg, var(--grille-trait) 1px, transparent 1px); background-size: 44px 44px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 55% 70% at 35% 55%, #000 15%, transparent 80%); mask-image: radial-gradient(ellipse 55% 70% at 35% 55%, #000 15%, transparent 80%); }

/* ---- Intro ---- */
.intro { position: relative; min-height: 0; }
.intro-copy { position: relative; z-index: 1; max-width: 64%; }  /* 64 % : « c'est Julien » tient sur sa ligne jusqu'à 61 px, le titre reste sur 2 lignes ; texte remonté en haut (Julien, 19/09 17 h 05) */  /* le titre descend de 15 % (Julien, 19/09) */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: var(--r-pill); background: #111; color: var(--accent); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; margin: 20px 0 14px 2px; }  /* pastille noire de la Formation IA (Julien, 02/10/2026) */
.eyebrow .ic { width: 14px; height: 14px; padding: 4px; box-sizing: content-box; border-radius: var(--r-pill); background: var(--accent); color: #111; }
h1 { font-family: var(--sans); font-weight: 900; font-size: clamp(38px, 4vw, 61px);  /* -5 % (Julien, 19/09) */ line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; }
h1 em { font-style: normal; background: var(--accent); color: var(--ink); padding: 0 8px; border-radius: 6px; line-height: 1.05; display: inline-block; }  /* bloc jaune réduit (Julien, 19/09 : « trop gros ») */
.lead { font-size: .98rem; line-height: 1.6; margin: 0; color: var(--muted); }
.scene { position: absolute; top: 0; right: 16px; bottom: 0; left: 30%; margin: 0; }  /* personnage décalé de 40 px vers la gauche (Julien, 19/09 17 h 10) */  /* centre décalé à gauche : le personnage agrandi ne passe pas sous le chat */
.halo { position: absolute; left: 50%; bottom: -40px; width: 648px; height: 648px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 0, .38) 0%, rgba(255, 214, 0, .18) 38%, rgba(255, 214, 0, .05) 62%, transparent 76%); }  /* dégradé jaune plus large et fondu derrière l'avatar (Julien, 19/09) */
.perso { position: absolute; bottom: 6px; left: 50%; height: calc(90% + 4px); max-height: 792px;  /* -10 % (Julien, 19/09) */ aspect-ratio: 1092 / 1538;  /* = la vidéo : image fixe et boucle ont le MÊME cadrage, le relais est invisible */ transform: translateX(-50%); animation: breathe 6s ease-in-out infinite; }
.perso.anime { aspect-ratio: 1092 / 1538; bottom: 6px; height: calc(90% + 4px); max-height: 792px; animation: none; }  /* vidéo 02 fond blanc recadrée au personnage (marges 1,5 %) : même cadrage que l'image fixe */
.avatar { display: block; height: 100%; width: auto; filter: drop-shadow(0 18px 24px rgba(26, 26, 26, .18)); }
.avatar-anim, .avatar-video, .avatar-toile { display: none; }
.perso.anime .avatar-toile { display: block; }
/* iPhone/iPad : la vidéo tourne cachée (2 px, presque transparente, jamais display:none) et se dessine dans .avatar-toile */
.perso .avatar-video.cache, .perso.anime .avatar-video.cache { display: block; position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: .01; pointer-events: none; filter: none; }
.avatar-video { object-fit: contain; background: transparent; filter: none; }  /* 🔴 pas de drop-shadow CSS sur la VIDÉO : sur iPhone, un filtre sur un <video> HEVC alpha fait réaplatir la couche en opaque = rectangle blanc (capture Julien, 18/09 21 h 28) */
.perso.anime .avatar-anim, .perso.anime .avatar-video { display: block; }
.perso.anime .avatar-image { display: none; }

/* ---- Chat ---- */
.chat { position: relative; z-index: 1; min-height: 0; width: 100%; max-width: 510px; height: calc(85% - 65px); margin-top: calc(36px + 15%);  /* -15 % et descendu de 15 % (Julien, 19/09) */ justify-self: end; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 2px solid var(--accent); border-radius: var(--r-lg); box-shadow: var(--shadow); }  /* bordure jaune (Julien, 19/09) */
.chat-header { padding: 10px 18px 10px 16px; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.mini-avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--tint); }
.chat-title { min-width: 0; }
.chat-title h2 { font-size: 17px; margin: 0; font-weight: 600; }
.chat-title p { font-size: 12px; margin: 2px 0 0; color: var(--muted); }
.dot { display: inline-block; width: 7px; height: 7px; background: var(--ok); border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.link-button { border: 0; background: none; padding: 8px 4px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color var(--transition); }
.link-button:hover { color: var(--ink); }
.reset { position: relative; margin-left: auto; flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; transition: background var(--transition), color var(--transition); }
.reset svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reset:hover { background: var(--tint); color: var(--ink); }
.reset::after { content: attr(data-tip); position: absolute; right: 0; top: calc(100% + 6px); background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: var(--r-sm); white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity var(--transition), transform var(--transition); z-index: 2; }
.reset:hover::after, .reset:focus-visible::after { opacity: 1; transform: none; }

.messages { flex: 1; min-height: 90px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #D9CD9A transparent; padding: 18px 22px 6px; }
.msg { font-size: 16px; line-height: 1.5; max-width: 86%; margin: 0 0 12px; overflow-wrap: anywhere; text-wrap: pretty; animation: pop .22s ease both; }  /* largeur resserrée sur la ligne la plus longue par app.js (ajusterBulle, 04/10/2026) */
/* la réponse respire : un blanc entre chaque idée, un retrait sous chaque point de liste */
.msg .ligne { margin: 0 0 .8em; }
.msg a { color: var(--ink); text-decoration: none; font-weight: 600; background-image: linear-gradient(var(--accent), var(--accent)); background-position: 0 100%; background-size: 100% 2px; background-repeat: no-repeat; padding: 2px 3px; transition: background-size .25s ease; overflow-wrap: anywhere; }
.msg a:hover { background-size: 100% 100%; }
.msg.user a { color: #fff; }
.msg .ligne:last-child { margin-bottom: 0; }
.msg .puce, .msg .num { margin-bottom: .55em; padding-left: 1.05em; }
.msg .puce { position: relative; }
.msg .puce::before { content: '–'; position: absolute; left: 0; top: 0; color: var(--accent-dark); }
.msg .num { text-indent: -1.05em; }
.msg.user .puce::before { color: var(--lavender); }
.msg.assistant { position: relative; width: fit-content; margin-left: 38px; background: var(--tint); padding: 13px 17px; border-radius: 20px 20px 20px 6px; }
.msg.assistant::before { content: ''; position: absolute; left: -38px; bottom: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tint) url('assets/julien-mini.webp?v=4') center / cover; }
.msg.user { width: fit-content; background: #111; color: #fff; text-align: right; padding: 12px 16px; border-radius: 20px 20px 6px 20px; margin-left: auto; }  /* bulle ajustée au texte, texte à droite (Julien, 25/09) */
.msg.typing { display: flex; gap: 5px; align-items: center; min-height: 44px; padding: 0 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-dark); animation: blink 1.1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .18s; }
.msg.typing i:nth-child(3) { animation-delay: .36s; }
.msg.typing.outil { font-size: 13px; color: var(--muted); font-style: italic; }
.carte-rdv { margin: 2px 0 14px 38px; max-width: 86%; background: #fff; border: 2px solid var(--accent); border-radius: var(--r); padding: 14px 18px; font-size: 15px; line-height: 1.5; box-shadow: var(--shadow-sm); animation: pop .22s ease both; }
.carte-rdv b { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.carte-rdv small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

.chat-bottom { padding: 4px 22px 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; min-height: 0; }
.choice { background: #fff; border: 1px solid #E5E7EB; border-radius: var(--r-pill); padding: 10px 16px; font-size: 14px; font-weight: 500; min-height: 42px; text-align: left; transition: background var(--transition), border-color var(--transition); animation: pop .22s ease both; }
.choice:hover { background: var(--lavender); border-color: var(--accent-dark); }

/* le champ est un textarea qui grandit avec le texte (dictée comprise), jusqu'à 8 lignes : le texte
   passe à la ligne AVANT les boutons, jamais dessous ni coupé (Julien, 18/09). Boutons au milieu du cadre. */
.champ { display: flex; align-items: center; gap: 4px; border: 1px solid #E5E7EB; border-radius: var(--r); padding: 5px; background: #fff; transition: border-color var(--transition), box-shadow var(--transition); }
.champ:focus-within { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(255, 214, 0, .28); }
#question { font: inherit; font-size: 16px; line-height: 1.5; border: 0; min-width: 0; flex: 1; background: transparent; padding: 10px 8px 10px 12px; color: var(--ink); resize: none; overflow-y: auto; height: 44px; max-height: 212px; scrollbar-width: none; }
#question::-webkit-scrollbar { display: none; width: 0; }
#question::placeholder { color: #8A8A8A; }
#question:focus { outline: none; }
.voice-button { display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: var(--tint-2); border-radius: 50%; width: 44px; height: 44px; padding: 0; transition: background var(--transition), width var(--transition); }
body.listening .voice-button { width: auto; min-width: 44px; padding: 0 12px; border-radius: var(--r-pill); }
.voice-button:hover { background: var(--lavender); }
.voice-button svg { width: 20px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.7; stroke-linecap: round; }
.wave { display: none; height: 18px; align-items: center; gap: 3px; }
.wave i { width: 3px; height: 7px; background: var(--ink); border-radius: 3px; }
.wave i:nth-child(2), .wave i:nth-child(4) { height: 12px; }
.wave i:nth-child(3) { height: 17px; }
body.listening .voice-button { background: #FFE766; }
body.listening .wave { display: flex; }
body.listening .wave i { animation: wave .6s ease-in-out infinite alternate; }
body.listening .wave i:nth-child(2n) { animation-delay: .2s; }
#send { border: 0; background: var(--accent); color: var(--ink); width: 44px; height: 44px; flex-shrink: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; transition: background var(--transition); }
#send svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
#send:hover { background: var(--accent-dark); }
.voice-status { color: var(--muted); font-size: 12px; line-height: 1.35; margin: 6px 4px 0; min-height: 0; }
.voice-status:empty { display: none; }
.chat-mention { margin: 6px 4px 0; font-size: 11px; line-height: 1.4; color: var(--muted); text-align: center; }
.chat-mention a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
body.clavier .chat-mention { display: none; }   /* information RGPD + IA sous le chat (26/09/2026) ; masquée clavier ouvert */

/* ---- Footer ---- */
.page > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(0, 0, 0, .05); min-height: 64px; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); flex-shrink: 0; }
.legal-nav { display: flex; gap: 18px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.legal-nav span, .legal-nav a { color: var(--muted); text-decoration: none; transition: color var(--transition); }
.legal-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page > footer i { font-style: normal; margin: 0 12px; color: var(--accent-dark); }
.page > footer .link-button { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.vers-moi { display: inline-flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; transition: transform var(--transition); }
.vers-moi:hover { transform: translateY(-2px); }
.vers-moi-fl { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-pill); background: var(--accent); color: #111; animation: invite 2.4s ease-in-out infinite; }
.vers-moi-fl .ic { width: 17px; height: 17px; }

/* ---- Modales (pattern JBC : croix fixe, scroll intérieur invisible) ---- */
dialog { border: 1px solid #EBE3C4; border-radius: var(--r-lg); color: var(--ink); background: var(--paper); width: min(520px, calc(100vw - 28px)); max-height: 90svh; padding: 0; overflow: hidden; box-shadow: 0 30px 100px rgba(26, 26, 26, .2); text-align: center; }
dialog::backdrop { background: rgba(26, 26, 26, .5); backdrop-filter: blur(6px); }
.modal-scroll { max-height: 90svh; overflow-y: auto; padding: 34px 30px 30px; scrollbar-width: none; -ms-overflow-style: none; }
.modal-scroll::-webkit-scrollbar { display: none; width: 0; }
dialog .icon-button { position: absolute; right: 10px; top: 8px; z-index: 1; }
.icon-button { border: 0; background: none; min-width: 40px; min-height: 40px; font-size: 26px; color: var(--muted); border-radius: 50%; transition: background var(--transition); }
.icon-button:hover { background: var(--tint); }
dialog h2 { font-family: var(--sans); font-size: 28px; font-weight: 800; margin: 12px 0 14px; letter-spacing: -.5px; }
dialog .eyebrow { margin: 0; }
.dialog-text { font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.address { background: var(--tint); padding: 16px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.dialog-note { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }
.primary { border: 0; background: var(--accent); color: var(--ink); padding: 15px; border-radius: var(--r-sm); width: 100%; font-size: 16px; font-weight: 600; transition: background var(--transition); }
.primary:hover { background: var(--accent-dark); }
.planity-link { display: block; text-align: center; color: var(--ink); border: 1px solid var(--line-2); padding: 12px; border-radius: var(--r-sm); margin: 0 0 12px; text-decoration: none; font-size: 15px; transition: background var(--transition); }
.planity-link:hover { background: var(--tint); }

/* ---- Pages intérieures (À propos, Mes prestations) ---- */
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; position: relative; }
.site-nav a { color: #6B7280; text-decoration: none; white-space: nowrap; font-size: .88rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s; }
.site-nav a.nav-membre { background: #111; color: var(--accent); border-radius: 6px; padding: 6px 14px; font-weight: 600; font-size: .82rem; line-height: 1.6; border: 0; }
.site-nav a.nav-membre:hover { background: #333; color: var(--accent); }
.site-nav a:hover, .site-nav a[aria-current] { color: #111; border-color: var(--accent); }
.nav-home, .nav-legal { display: none; }
/* même gabarit que le bouton Espace Membre (Julien, 19/09 : « icône simple, même taille de cadre ») */
.lanceur { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 600; line-height: 1.6; padding: 6px 14px; border-radius: 6px; box-shadow: none; transition: background var(--transition); }
.lanceur svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lanceur:hover { background: var(--accent-dark); }
.inner .page { height: auto; min-height: 100svh; }
/* pages ouvertes par-dessus l'accueil (le chat et l'animation continuent dessous) */
.panneau { position: fixed; left: 0; right: 0; top: 84px; bottom: 0; z-index: 25; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); padding: 0 clamp(16px, 3vw, 44px); }
.panneau[hidden] { display: none; }
.panneau .inner-main { min-height: calc(100% - 66px); padding-top: 10px; }
body.page-ouverte .lanceur { background: var(--ink-2); }
.inner-main { display: block; flex: 1; padding: 10px 0 40px; max-width: 1100px; width: 100%; margin: 0 auto; }
.hero-page { padding: 36px 0 36px; text-align: center; }
.hero-page h1 { margin: 0 auto 18px; }
.hero-page .lead { max-width: 640px; margin: 0 auto; }
.section { padding: 34px 0; border-top: 1px solid #E6DBA8; }
.section-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 48px; align-items: start; }
.section h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.5px; margin: 10px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--lavender); color: var(--ink); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; padding: 8px 14px; border-radius: var(--r-pill); margin: 0; }
.pill .ico { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.pill .ico svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prose { font-size: 17px; line-height: 1.6; }
.prose.institut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.carte-map { display: flex; flex-direction: column; gap: 8px; }
.carte-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); background: var(--tint); }
.carte-map a { font-size: 13px; color: var(--muted); text-align: right; }
.prose p { margin: 0 0 16px; }
.prose .note { font-size: 14px; color: var(--muted); }
.prose .address { display: inline-block; margin-bottom: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ghost { display: inline-flex; align-items: center; color: var(--ink); border: 1px solid var(--line-2); padding: 13px 20px; border-radius: var(--r); text-decoration: none; font-weight: 600; font-size: 15px; transition: background var(--transition); }
.ghost:hover { background: var(--tint); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.cards-3.entree { margin: 0 0 12px; }
.card { background: var(--paper); border: 1px solid #fff; border-radius: var(--r-lg); padding: 20px 20px 18px; box-shadow: var(--shadow-sm); font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
.card b { font-size: 16px; font-weight: 600; }
.card span { color: var(--muted); }
.card.accent { border: 1.5px solid var(--accent); }
.card .mini { margin-top: auto; align-self: flex-start; }
.mini { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: var(--r-pill); transition: background var(--transition); white-space: nowrap; }
.mini:hover { background: var(--ink-2); }
.soon { display: inline-block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.famille { padding: 30px 0 6px; }
.famille-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.famille-head h2 { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.4px; margin: 0; }
.famille-head .ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lavender); flex-shrink: 0; }
.famille-head .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.famille-head p { margin: 0; font-size: 14px; color: var(--muted); max-width: 520px; }
.tarifs { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; font-size: 15px; }
.tarifs th { text-align: left; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 14px 18px 10px; background: var(--tint-2); }
.tarifs td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.tarifs tr:hover td { background: var(--tint-2); }
.tarifs .nom { font-weight: 500; }
.tarifs .duree { color: var(--muted); white-space: nowrap; }
.tarifs .prix { font-weight: 700; white-space: nowrap; }
.tarifs .act { text-align: right; }
.tarifs th:last-child { text-align: right; }
.source { font-size: 13px; color: var(--muted); text-align: center; margin: 30px 0 0; }
.legal { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 34px 0 10px; letter-spacing: -.3px; }
.legal p, .legal li { margin: 0 0 12px; }
.legal .a-valider { background: var(--tint); border-radius: var(--r); padding: 12px 16px; font-size: 14px; color: var(--muted); }
.source a { color: var(--ink); }
.avis-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.avis { background: var(--paper); border: 1px solid #fff; border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg); padding: 22px 22px 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.avis .etoiles { color: var(--accent); letter-spacing: 2px; font-size: 16px; }
.avis p { margin: 0; font-size: 16px; line-height: 1.55; font-family: var(--serif); font-style: italic; }
.avis small { color: var(--muted); font-size: 12px; margin-top: auto; }

/* ---- Accueil de julienbadoil.com : le header du site (css/header.css, 72 px, sticky) est posé AU-DESSUS de .page ---- */
body.site .page { height: calc(100svh - 73px); }  /* 72 px + le trait de 1 px */
body.site.clavier .page { height: calc(var(--vvh, 100svh) - 73px); }


/* pages du site par-dessus l'accueil : styles dans css/header.css sur le site ; ici pour la version de travail (VPS) */
.panneau-site { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: 2000; background: transparent; pointer-events: none; }
.panneau-cadre { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .22s ease; pointer-events: auto; }
.panneau-cadre.prete { opacity: 1; }
body.page-ouverte { overflow: hidden; }

@keyframes breathe { 50% { transform: translate(-50%, -4px); } }
@keyframes wave { to { transform: scaleY(.45); } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }
@keyframes invite { 50% { transform: translateY(3px); } }

/* ---- Accueil : qui je suis (fonds, pastille, boutons et pied : /css/vitrine.css, 02/10/2026) ---- */
.moi { padding: 96px 24px; }
.moi-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.moi-photos { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.moi-photo { margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--ombre); background: #fff; transition: transform var(--transition-lent); }
.moi-photos:hover .moi-photo--main { transform: translate(-14px, 6px) rotate(-2deg); }
.moi-photos:hover .moi-photo--famille { transform: translate(14px, -12px) rotate(2deg); }
.moi-photos:hover .moi-photo--atelier { transform: translate(18px, 12px) rotate(1.5deg); }
.moi-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.moi-photo--main { grid-row: 1 / 3; aspect-ratio: 4 / 5.4; }
.moi-photo--famille { aspect-ratio: 4 / 3.4; }
.moi-photo--atelier { aspect-ratio: 4 / 4.2; }
.moi-photo--atelier img { object-position: center 20%; }
.moi-texte h2 { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.12; font-weight: 900; letter-spacing: -.02em; margin: 14px 0 20px; }
.moi-texte p { font-size: 17.5px; line-height: 1.7; color: var(--texte-doux); margin: 0 0 14px; }
.moi-texte p strong { font-weight: 800; color: #111; }
.moi-texte p em { font-style: italic; font-weight: 600; color: #111; }
.moi-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.moi-tags li { padding: 8px 15px; border: 2px solid var(--accent); border-radius: var(--r-pill); background: #111; color: var(--accent); font-size: 14.5px; font-weight: 700; }
.moi-liens { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.moi-reseaux { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--line); }
.moi-reseaux p { margin-bottom: 16px; font-weight: 700; color: #111; }
.moi-reseaux ul { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; list-style: none; }
.moi-reseaux a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 700; color: #111; text-decoration: none; transition: transform var(--transition); }
.moi-reseaux a:hover { transform: translateY(-2px); }
/* ronds des réseaux */
.rond { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; }
.rond svg { width: 26px; height: 26px; }
.rond--ig { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.rond--yt { background: linear-gradient(135deg, #FF4E45 0%, #FF0000 55%, #C4000A 100%); }
.rond--li { background: linear-gradient(135deg, #2E8BE6 0%, #0A66C2 55%, #004182 100%); }


/* ---- Mode « chat seul » (/?vue=chat) : la page ne montre que la conversation, pour s'ouvrir en modale depuis les autres pages du site (Julien, 19/09 : « le chatbot apparaît en modal, juste le chatbot, pas le petit personnage ») ---- */
body.chat-seul .header, body.chat-seul .topbar, body.chat-seul .intro, body.chat-seul .page > footer, body.chat-seul .panneau-site, body.chat-seul .moi, body.chat-seul .site-pied, body.chat-seul main::before { display: none; }
body.chat-seul .page, body.chat-seul.site .page { height: 100svh; min-height: 0; max-width: none; padding: 0; }
body.chat-seul main { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
body.chat-seul .chat { max-width: none; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
body.chat-seul .reset { margin-right: 52px; }  /* laisse la place à la croix de la modale (Julien, 19/09 : « les deux boutons se mélangent ») */

/* ================= Media queries, un bloc par palier ================= */
@media (min-width: 1181px) and (max-height: 800px) {
  .topbar { height: 72px; }
  h1 { font-size: 44px; }
  .lead { font-size: .86rem; }
  .chat-header { padding: 11px 20px; }
  .messages { padding: 12px 20px 4px; }
  .msg { font-size: 15px; }
  .chat-bottom { padding: 4px 20px 10px; }
  .choice { padding: 8px 13px; font-size: 13px; min-height: 40px; }
}
/* 🔴 mobile ET tablette (Julien, 18/09 23 h 50 : « pour la tablette, vaut mieux très rapidement être comme sur la version mobile ») ; seuil monté à 1180 le 19/09 0 h 05 (« ça bug encore » à ~1 000-1 100 px) */
@media (max-width: 1180px) {
  .br-mobile { display: inline; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 2px solid #F3F4F6; background: #fff; border-radius: 10px; }  /* = .hamburger du site */
  .burger svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  body.menu-ouvert .burger { border-color: var(--accent); }
  .site-nav { display: none; position: absolute; left: -14px; right: -14px; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--paper); border-bottom: 1px solid rgba(0, 0, 0, .05); box-shadow: var(--shadow); z-index: 60; }
  body.menu-ouvert .site-nav { display: flex; }
  .site-nav a { font-size: 17px; font-weight: 500; padding: 15px 20px; border-bottom: 1px solid #F3F4F6; }
  .site-nav a.nav-membre { border-radius: 0; background: #111; padding: 15px 20px; font-size: 17px; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a[aria-current] { border-color: var(--line); background: var(--tint-2); }
  body.clavier .messages { padding-left: 16px; padding-right: 16px; }
  body.clavier .chat-bottom { padding-left: 16px; padding-right: 16px; }
  body.clavier .choices { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .legal { font-size: 15px; }
  .legal h2 { font-size: 22px; }
  .inner .site-nav .nav-home, body.page-ouverte .site-nav .nav-home { display: block; }
  /* les liens légaux vivent dans le menu en haut à droite : plus de pied sur l'accueil */
  /* liens légaux : italique et jaune foncé, sans trait entre eux (Julien, 18/09 : « juste pour les différencier un peu ») */
  .site-nav .nav-legal { display: block; font-size: 14px; font-style: italic; font-weight: 400; color: var(--accent-2); padding: 10px 20px; border-bottom: 0; }
  .site-nav a:not(.nav-legal) + .nav-legal { padding-top: 16px; }
  .site-nav .nav-legal:last-child { padding-bottom: 16px; }
  .lanceur { margin-left: auto; }
  .lanceur:not(.lanceur-accueil) ~ .burger { margin-left: 0; }  /* sur l'accueil le lanceur est masqué : le burger reste à droite */
  .inner-main { padding: 0 0 28px; }
  .hero-page { padding: 12px 0 26px; }
  .inner h1 { font-size: 36px; }
  .section { padding: 24px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 14px; }
  .prose { font-size: 16px; }
  .cards-3 { grid-template-columns: 1fr; }
  .famille-head h2 { font-size: 26px; }
  .tarifs { font-size: 14px; border-radius: var(--r); }
  .tarifs th, .tarifs td { padding: 11px 12px; }
  .tarifs th:nth-child(2), .tarifs td.duree { display: none; }
  .tarifs .act .mini { padding: 7px 11px; font-size: 12px; }
  .inner footer { padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 2px solid #E6DBA8; }
  .panneau { top: 64px; padding: 0 14px; }
  .prose.institut { grid-template-columns: 1fr; }
  .br-desktop { display: none; }
  .page { height: 100svh; min-height: 0; padding: 0 14px; }
  body.site .page { height: calc(100svh - 73px); }  /* 72 px + le trait de 1 px */
  .inner .page { height: auto; min-height: 100svh; }
  .topbar { height: 64px; gap: 12px; }
  .lanceur-accueil { display: inline-flex; margin-left: auto; }  /* bouton demandé aussi sur téléphone et tablette (Julien, 19/09 : « ajouter un bouton dans le header : parler à Julien ») */
  .lanceur-accueil ~ .burger { margin-left: 0; }
  .top-book { margin-left: auto; font-size: 13px; padding: 10px 14px; border-radius: 12px; }
  .top-book::before { display: none; }
  main { display: flex; flex-direction: column; gap: 10px; padding: 0; min-height: 0; flex: 1; }
  /* 🔴 le bloc du haut passe AU-DESSUS du header (z-index 1001) : la tete du personnage
     recouvre le trait gris sous le header, au lieu d'etre arretee par lui (Julien, 19/09 09 h 58 :
     « un peu plus haut, devant la ligne grise avant le header »). Le texte et la scene gardent
     leur ordre a l'interieur de ce bloc (.intro-copy 3 devant .scene 2). */
  .intro { height: 164px; position: relative; flex-shrink: 0; z-index: 1001; }
  .intro-copy { position: relative; z-index: 3; max-width: 60%; padding-top: 12px; }  /* le texte reste devant la scene, qui est passee au-dessus du chat */
  .eyebrow { font-size: clamp(10px, 2.8vw, 11px); letter-spacing: .12em; white-space: nowrap; margin: 0 0 6px 1px; }  /* une seule ligne, même à 320 px */  /* « Ton institut à Challans » revient au-dessus du titre (Julien, 18/09 23 h) */
  body.clavier .eyebrow { display: none; }
  h1 { font-size: 30px; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 10px; }
  h1 em { padding: 0 6px; border-radius: 5px; }
  .lead { font-size: 13px; line-height: 1.4; max-width: 210px; }
  .lead br:not(.br-lead) { display: none; }  /* la coupe de sens du lead reste, la coupe desktop saute */
  /* l'animation prend plus de place et se cale à droite : le perso est ancré sur le bord droit,
     décalé de sa propre marge transparente pour que la main s'arrête à 6 px du bord de l'écran */
  /* 🔴 la scène doit être AU MOINS aussi large que le personnage (hauteur x 1092/1538 = 420 x 0,71 = 299 px),
     sinon overflow:hidden lui coupe la main levée sur la moitié des images de la boucle (Julien, 19/09 08 h 51 : « c'est encore coupé sur mobile mon avatar »). */
  /* 🔴 le personnage passe DERRIERE la ligne jaune du chat (Julien, 19/09 09 h 58 : « ah non derriere
     la ligne jaune, et un peu plus haut, devant la ligne grise avant le header, et decale-le a droite
     meme si sa main se coupe ») : la scene s'arrete 2 px SOUS le trait jaune (bottom: -12px = les 10 px
     d'ecart entre le bloc du haut et le chat + les 2 px du trait), et le chat, pose au-dessus d'elle,
     redessine le trait par-dessus la coupe. Le haut de la scene remonte a -12 px : l'encre de la tete
     commence 5,25 px plus bas (marge transparente de 9 px sur 720 ramenee a 420 px de haut), donc elle
     couvre le trait gris et mord 6,75 px sur le blanc du header.
     🔴 top + bottom, jamais de height : la scene se recale toute seule quand la hauteur du bloc du haut
     change (clavier ouvert, ecran court), et la coupe reste toujours pile sous le trait jaune.
     pointer-events: none, sinon elle avalerait le bouton du haut du chat.
     🔴 decalage a droite : la scene sort maintenant de 16 px du viewport (right -30 = padding 14 + 16),
     soit 10,75 px d'encre coupee au bord droit, la main du coucou comprise : c'est volontaire. */
  .scene { position: absolute; top: -12px; right: -30px; bottom: -12px; left: auto; width: 300px; height: auto; margin: 0; overflow: hidden; z-index: 2; pointer-events: none; }
  .perso { top: 0; bottom: auto; left: auto; right: 0; transform: none; height: 420px; max-height: none; animation: none; }
  .perso.anime { top: 0; right: 0; height: 420px; }
  .avatar { filter: none; }
  .halo { display: none; }  /* le dégradé est pour l'ordinateur : coupé par la scène, il ferait un rectangle sur téléphone */
  /* le chat prend tout le bloc du bas, bord à bord, sans cadre : « comme si c'était plein »,
     avec les deux coins du haut arrondis comme une feuille qui remonte (Julien, 18/09, 19 h 31) */
  .chat { position: relative; z-index: 1002; margin: 0 -14px; width: auto; max-width: none; flex: 1; height: auto; min-height: 0; border: 0; border-top: 2px solid var(--accent); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: none; }
  /* le pied d'écran ne garde que l'invitation à descendre vers « qui je suis » */
  body:not(.inner) > .page > footer { justify-content: center; min-height: 0; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); border: 0; }
  body:not(.inner) > .page > footer .soins { display: none; }
  .vers-moi { font-size: 14px; gap: 8px; }
  .vers-moi-fl { width: 26px; height: 26px; }
  body.clavier .page > footer { display: none; }
  main::before { display: none; }
  .moi { padding: 64px 16px; }
  .moi-wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .moi-photos { max-width: 640px; width: 100%; margin: 0 auto; }
  .moi-texte { max-width: 680px; margin: 0 auto; }
  /* clavier ouvert : JAMAIS de plein écran (demande Julien 18/09, 18 h 36 : « j'aimerais toujours
     qu'il y ait la petite assistante en haut, comme quand on arrive sur l'accueil »).
     La page se contente de tenir dans le viewport visible : l'assistante et le titre restent
     en haut, réduits, et le champ reste juste au-dessus du clavier. */
  body.clavier { overflow: hidden; }
  body.clavier .page { height: var(--vvh, 100svh); min-height: 0; }
  body.clavier .intro { height: var(--intro-h, 84px); overflow: hidden; }
  body.clavier .intro-copy { padding-top: 6px; }
  body.clavier h1 { font-size: 22px; margin-bottom: 0; }
  body.clavier .lead { display: none; }
  body.clavier .perso { height: 210px; right: 0; }
  body.clavier .perso.anime { height: 210px; right: 0; }
  body.clavier .messages { min-height: 60px; }
  body.clavier .chat-bottom { padding-bottom: 8px; }
  /* réponses suggérées : une rangée qui glisse, au lieu d'empiler */
  .choices { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -13px 10px; padding: 2px 13px; scroll-padding: 13px; }
  .choices::-webkit-scrollbar { display: none; }
  .choice { flex: 0 0 auto; white-space: nowrap; }
  .chat-header { padding: 8px 10px 8px 12px; gap: 9px; }
  .mini-avatar { width: 34px; height: 34px; }
  .chat-title h2 { font-size: 16px; white-space: nowrap; }
  .chat-title p { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .messages { padding: 12px 13px 4px; min-height: 128px; }
  .msg { font-size: 15px; line-height: 1.45; max-width: 90%; }
  .msg.assistant { padding: 11px 14px; margin-left: 34px; }
  .msg.assistant::before { left: -34px; width: 26px; height: 26px; }
  .carte-rdv { margin-left: 34px; max-width: 90%; font-size: 14px; }
    .chat-bottom { padding: 4px 13px calc(12px + env(safe-area-inset-bottom)); }
  .choice { font-size: 13px; min-height: 40px; padding: 8px 13px; }
  #question { padding: 9px 4px 9px 10px; }
  #send { padding: 11px 12px; font-size: 13px; }
  .page > footer { flex-direction: column; gap: 8px; min-height: 44px; border: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); font-size: 10px; letter-spacing: 1px; }
  .legal-nav { font-size: 11px; gap: 12px; }
}
/* tablette (701-1024) : la même mise en page que le téléphone, agrandie d'un quart. Les décalages
   du personnage suivent sa marge transparente (15,7 % de la largeur pour l'animation, 6,4 % pour
   l'image fixe) : la main s'arrête toujours à 6 px du bord. */
@media (min-width: 701px) and (max-width: 1180px) {
  .topbar { height: 72px; }
  .intro { height: 210px; }
  .intro-copy { max-width: 62%; padding-top: 16px; }
  .eyebrow { font-size: 12px; margin-bottom: 8px; }
  h1 { font-size: 40px; margin-bottom: 12px; }
  .lead { font-size: 16px; max-width: 320px; }
  .scene { width: 388px; top: -16px; right: -34px; }  /* 540 x 0,71 = 384 px de large : la scene couvre tout le personnage. Meme logique qu'en 420 px, agrandie d'un quart : la tete mord 9,25 px sur le header, la scene sort de 20 px du viewport, et le bas reste cale sous le trait jaune par le bottom: -12px du bloc telephone. */
  .perso { height: 540px; right: 0; }
  .perso.anime { height: 540px; right: 0; }
  .site-nav a { font-size: 18px; }
  .messages { padding: 16px 18px 6px; }
  .msg { font-size: 16px; }
  .choice { font-size: 14px; min-height: 42px; }
}
@media (max-width: 640px) {
  .wordmark span { display: none; }
  .eyebrow { padding: 3px 10px 3px 3px; gap: 6px; }
  .eyebrow .ic { width: 11px; height: 11px; padding: 3px; }
  .moi { padding: 52px 16px; }
  .moi-wrap { gap: 36px; }
  .moi-photos { gap: 10px; max-width: 520px; }
  .moi-texte { text-align: center; }
  .moi-texte p { font-size: 16.5px; }
  .moi-tags, .moi-liens, .moi-reseaux ul { justify-content: center; }
  .moi-reseaux ul { gap: 10px 16px; }
  .moi-reseaux a { flex-direction: column; gap: 6px; font-size: 14.5px; }
}
@media (max-width: 1180px) and (max-height: 740px) {
  body:not(.inner) > .page > footer { display: none; }
  .intro { height: 132px; }
  .lead { display: none; }
  .perso { height: 340px; right: 0; }
  .perso.anime { height: 340px; right: 0; }
  .topbar { height: 60px; }
  h1 { font-size: 27px; }
  body.clavier .intro { height: var(--intro-h, 72px); }
  body.clavier h1 { font-size: 22px; }
  body.clavier .perso { height: 170px; right: 0; }
  body.clavier .perso.anime { height: 170px; right: 0; }
}
/* 🔴 menu du header ouvert : le bloc du haut et le chat repassent SOUS le menu deroulant,
   qui vit dans le header. Sans ca, le personnage et le chat le recouvriraient. */
@media (max-width: 1180px) {
  body.menu-ouvert .intro, body.menu-ouvert .chat { z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
