/* scarch.fr : le portfolio de David Scarchilli.
   « Maquis et mimosa » (choix de David du 01/12/2026) : le vert pin des collines du Var en grands aplats, le jaune
   mimosa de Bormes-les-Mimosas pour surligner et agir, fond blanc franc. Archivo seule : condensée très grasse pour les
   titres (étiquette d'atelier), normale pour le texte. Téléphone d'abord. */

@font-face { font-family: "Archivo Titre"; src: url("../fonts/archivo-titre.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --blanc: #fff;
  --encre: oklch(0.21 0.025 165);
  --encre-2: oklch(0.42 0.03 165);
  --pin: oklch(0.33 0.068 163);
  --pin-fonce: oklch(0.27 0.058 163);
  --pin-vif: oklch(0.47 0.1 160);
  --mimosa: oklch(0.885 0.165 98);
  --mimosa-fond: oklch(0.905 0.15 99);
  --mimosa-fonce: oklch(0.83 0.16 92);
  --brume: oklch(0.965 0.012 160);
  --trait: oklch(0.89 0.016 160);
  --noir: oklch(0.17 0.012 165);
  --titre: "Archivo Titre", "Archivo", "Arial Narrow", system-ui, sans-serif;
  --texte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --large: 1240px;
  --bord: clamp(16px, 4.2vw, 40px);
  --r: 12px;
  --doux: cubic-bezier(.16, 1, .3, 1);
  --z-son: 2;
  --z-tete: 20;
  --z-saut: 30;
  --pas: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
html.calme { scroll-behavior: auto; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 800; line-height: .98; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.35rem + 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.25rem, 1.3rem + 3.9vw, 4rem); }
h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pin-vif); outline-offset: 3px; border-radius: 4px; }
.avis :focus-visible, .contact :focus-visible, .com :focus-visible, .pied :focus-visible { outline-color: var(--mimosa); }
.perso :focus-visible { outline-color: var(--encre); }

.saut { position: absolute; left: 12px; top: -60px; z-index: var(--z-saut); background: var(--encre); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.saut:focus { top: 12px; }

/* ------------------------------------------------------------------ les pictogrammes et les boutons */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.plein { fill: currentColor; stroke: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.35em; border: 2px solid transparent; border-radius: 999px;
  font: 600 1.0625rem/1.15 var(--texte); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--doux); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-pin { background: var(--pin); color: #fff; }
.btn-pin:hover { background: var(--pin-fonce); }
.btn-ligne { border-color: var(--pin); color: var(--pin); background: transparent; }
.btn-ligne:hover { background: var(--brume); }
.btn-mimosa { background: var(--mimosa); color: var(--encre); }
.btn-mimosa:hover { background: var(--mimosa-fonce); }
.btn-clair { border-color: oklch(1 0 0 / .55); color: #fff; background: transparent; }
.btn-clair:hover { background: oklch(1 0 0 / .1); border-color: #fff; }
.btn-petit { min-height: 44px; padding: 0 1.05em; font-size: .98rem; }
.btn-rond { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--trait); color: var(--pin); transition: border-color .2s, background-color .2s; }
.btn-rond:hover { border-color: var(--pin); background: var(--brume); }

/* ------------------------------------------------------------------ l'en-tête */
.tete { position: sticky; top: 0; z-index: var(--z-tete); display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 var(--bord); background: var(--blanc); border-bottom: 1px solid transparent; transition: border-color .25s; }
.tete.defile { border-bottom-color: var(--trait); }
.tete-nom { display: inline-flex; align-items: center; gap: 10px; font: 800 1.45rem/1 var(--titre); text-decoration: none; white-space: nowrap; }
.tete-pastille { position: relative; width: 14px; height: 14px; margin-right: 6px; border-radius: 50%; background: var(--mimosa); box-shadow: 9px -5px 0 -2px var(--mimosa-fonce), 7px 7px 0 -3px var(--mimosa); }
.tete-nav { display: none; gap: 4px; margin-left: auto; }
.tete-nav a { padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--encre-2); transition: color .2s, background-color .2s; }
.tete-nav a:hover { color: var(--encre); background: var(--brume); }
.tete-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1000px) { .tete-nav { display: flex; } .tete-actions { margin-left: 12px; } }
@media (max-width: 380px) { .tete-nom { font-size: 1.2rem; } .tete-pastille { display: none; } .btn-petit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .btn-petit { width: 44px; padding: 0; } }

/* ------------------------------------------------------------------ le héros */
.heros { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "texte" "vitrine" "voix"; gap: 30px; max-width: var(--large); margin: 0 auto; padding: clamp(20px, 5vw, 72px) var(--bord) clamp(44px, 7vw, 96px); }
.heros-texte { grid-area: texte; }
.heros-bonjour { margin-bottom: 14px; font-size: 1.1rem; color: var(--encre-2); }
.heros h1 { max-width: 14ch; }
.surligne { background: linear-gradient(var(--mimosa), var(--mimosa)) no-repeat 0 86% / 100% .44em; padding: 0 .06em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.heros-chapo { max-width: 46ch; margin: 22px 0 0; font-size: clamp(1.125rem, 1rem + .45vw, 1.32rem); line-height: 1.5; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dispo { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 1rem; color: var(--encre-2); }
.dispo i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--pin-vif); box-shadow: 0 0 0 4px oklch(0.47 0.1 160 / .2); }
.dispo[data-etat="ferme"] i { background: var(--mimosa-fonce); box-shadow: 0 0 0 4px oklch(0.83 0.16 92 / .3); }
.heros-voix { grid-area: voix; }
.heros-voix p { margin: 0 0 12px; font-size: 1rem; color: var(--encre-2); }
.heros-voix p b { color: var(--encre); }
.heros-voix ul { display: grid; grid-template-columns: repeat(5, minmax(0, 76px)); gap: clamp(6px, 2vw, 12px); }
.heros-voix a { display: block; text-decoration: none; font-weight: 600; font-size: .875rem; text-align: center; }
.heros-voix img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 3px var(--blanc), 0 0 0 4px var(--trait); transition: transform .3s var(--doux), box-shadow .2s; }
.heros-voix a span { display: block; margin-top: 8px; line-height: 1.2; hyphens: manual; }
.heros-voix a:hover img, .heros-voix a:focus-visible img { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--blanc), 0 0 0 6px var(--mimosa); }
@media (min-width: 980px) {
  .heros { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "texte vitrine" "voix vitrine"; gap: 40px clamp(36px, 5vw, 72px); align-items: start; }
  .heros-voix { align-self: end; }
}

/* ------------------------------------------------------------------ la vitrine : métier par métier, la vraie page qui défile */
.vitrine { grid-area: vitrine; min-width: 0; --vt-duree: 6.5s; }
.vt-scene { position: relative; aspect-ratio: 16 / 11.6; overflow: hidden; border-radius: var(--r); background: var(--pin); transition: background-color .7s var(--doux); }
.vt-scene[data-teinte="1"] { background: var(--mimosa-fond); }
.vt-scene[data-teinte="2"] { background: var(--brume); }
.vt { position: absolute; inset: 0; display: block; color: inherit; }
.vitrine.pret .vt { opacity: 0; visibility: hidden; transition: opacity .55s var(--doux), visibility 0s .55s; }
.vitrine.pret .vt[data-actif] { opacity: 1; visibility: visible; transition: opacity .55s var(--doux), visibility 0s; }
.vt-ecran { position: absolute; left: 6.5%; top: 8%; width: 78%; bottom: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px 8px 0 0; background: var(--blanc);
  box-shadow: 0 1px 2px oklch(0 0 0 / .16), 0 16px 34px -18px oklch(0 0 0 / .55); }
.vt-barre { display: flex; align-items: center; gap: 5px; flex: none; height: 26px; padding: 0 10px; background: oklch(0.95 0.01 160); }
.vt-barre i { width: 8px; height: 8px; border-radius: 50%; background: var(--trait); }
.vt-barre b { margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--blanc); font-size: .72rem; font-weight: 600; color: var(--encre-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-page { position: relative; flex: 1; overflow: hidden; }
.vt-page img { width: 100%; will-change: transform; }
.vt-tel { position: absolute; right: 5%; bottom: 7%; width: 23%; box-shadow: 0 14px 30px -10px oklch(0 0 0 / .55); }
.vt-tel video { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.vt-reel { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--mimosa); color: var(--encre); font: 600 .7rem/1.4 var(--texte); font-style: normal; }
.vitrine.pret .vt[data-actif] .vt-ecran { animation: vt-monte .7s var(--doux) both; }
.vitrine.pret .vt[data-actif] .vt-tel { animation: vt-glisse .8s .08s var(--doux) both; }
@keyframes vt-monte { from { transform: translateY(14px); } }
@keyframes vt-glisse { from { transform: translate(14px, 10px); opacity: 0; } }
.vt:focus-visible { outline: 3px solid var(--mimosa); outline-offset: -3px; border-radius: var(--r); }

.vt-onglets { display: flex; gap: 2px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--trait); }
.vt-onglets::-webkit-scrollbar { display: none; }
.vt-onglets button { position: relative; flex: none; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--encre-2); font-weight: 600; font-size: .95rem; cursor: pointer; transition: color .2s; }
.vt-onglets button:hover { color: var(--encre); }
.vt-onglets button[aria-selected="true"] { color: var(--encre); }
.vt-onglets i { position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; background: var(--pin); }
.vt-onglets [aria-selected="true"] i { width: 100%; }
.vitrine.pret:not(.vt-choisi) [aria-selected="true"] i { width: 0; animation: vt-jauge var(--vt-duree) linear forwards; }
.vitrine.vt-pause [aria-selected="true"] i { animation-play-state: paused; }
@keyframes vt-jauge { to { width: 100%; } }
.vt-legendes { margin-top: 16px; min-height: 9.5rem; }
.vt-qui { margin: 0 0 6px; }
.vt-qui b { font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1 var(--titre); margin-right: 8px; }
.vt-qui span { font-size: .95rem; font-weight: 600; color: var(--encre-2); }
.vt-quoi { max-width: 52ch; margin: 0 0 12px; font-size: 1.05rem; }
.vt-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0; }
.vt-voir { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--pin); text-decoration: none; }
.vt-voir .ico { width: 20px; height: 20px; transition: transform .3s var(--doux); }
.vt-voir:hover .ico { transform: translateX(4px); }
.vt-ecouter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.vt-ecouter img { width: 26px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 2px var(--mimosa); }
.vt-ecouter:hover span { text-decoration: underline; text-underline-offset: 3px; }
html:not(.calme) .vitrine { animation: apparait 1s .2s var(--doux) both; }

/* l'arrivée : le texte monte, le jaune passe, la vitrine apparaît */
@keyframes monte { from { opacity: 0; transform: translateY(18px); } }
@keyframes surligner { from { background-size: 0% .44em; } }
@keyframes apparait { from { opacity: 0; transform: scale(.97); } }
html:not(.calme) .heros-bonjour { animation: monte .7s var(--doux) both; }
html:not(.calme) .heros h1 { animation: monte .8s .08s var(--doux) both; }
html:not(.calme) .heros .surligne { animation: surligner .9s .55s var(--doux) both; }
html:not(.calme) .heros-chapo { animation: monte .8s .18s var(--doux) both; }
html:not(.calme) .heros-actions, html:not(.calme) .heros .dispo { animation: monte .8s .26s var(--doux) both; }
html:not(.calme) .heros-voix li { animation: monte .7s var(--doux) both; }
html:not(.calme) .heros-voix li:nth-child(1) { animation-delay: .4s; }
html:not(.calme) .heros-voix li:nth-child(2) { animation-delay: .46s; }
html:not(.calme) .heros-voix li:nth-child(3) { animation-delay: .52s; }
html:not(.calme) .heros-voix li:nth-child(4) { animation-delay: .58s; }
html:not(.calme) .heros-voix li:nth-child(5) { animation-delay: .64s; }
@keyframes pouls { 50% { box-shadow: 0 0 0 7px oklch(0.47 0.1 160 / 0); } }
html:not(.calme) .dispo:not([data-etat="ferme"]) i { animation: pouls 2.4s ease-in-out infinite; }

/* ------------------------------------------------------------------ les sections : largeur et rythme */
.avis, .real, .com, .perso, .methode, .moi, .contact { padding: var(--pas) var(--bord); }
.avis > *, .real > *, .com > *, .perso > *, .methode > *, .moi-dedans, .contact-dedans { max-width: var(--large); margin-left: auto; margin-right: auto; }
.avis-tete p, .real-tete p, .com-tete p, .perso-tete p { max-width: 58ch; margin-top: 18px; font-size: 1.15rem; }

/* ------------------------------------------------------------------ les avis (vert pin, plein cadre) */
.avis { background: var(--pin); color: #fff; }
.avis-tete { margin-bottom: clamp(36px, 5vw, 64px); }
.avis-tete p { color: oklch(1 0 0 / .84); }
.lecteur { display: grid; gap: 28px; align-items: start; }
.lecteur-cadre { position: relative; width: min(100%, 320px); justify-self: center; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--r); background: var(--noir); }
.lecteur-cadre video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.lecteur-jouer { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px;
  background: var(--mimosa); color: var(--encre); font-weight: 600; white-space: nowrap; cursor: pointer; transition: transform .25s var(--doux), background-color .2s; }
.lecteur-jouer:hover { background: var(--mimosa-fonce); }
.lecteur-jouer:active { transform: scale(.97); }
.lecteur-jouer b { font-weight: 800; }
.lecteur-jouer small { font-size: .9rem; opacity: .75; }
.lecteur[data-joue] .lecteur-jouer { opacity: 0; pointer-events: none; transform: translateY(8px); }
.lecteur-son { position: absolute; top: 12px; right: 12px; z-index: var(--z-son); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: oklch(0 0 0 / .55); color: #fff; cursor: pointer; }
.lecteur-mots { position: absolute; left: 7%; right: 7%; bottom: 13%; margin: 0; text-align: center; font: 800 clamp(1.05rem, .9rem + .6vw, 1.3rem)/1.3 var(--texte); pointer-events: none; }
.lecteur-mots:empty { display: none; }
.lecteur-mots .mot { color: oklch(1 0 0 / .6); text-shadow: 0 1px 3px oklch(0 0 0 / .9), 0 0 14px oklch(0 0 0 / .7); transition: color .12s; }
.lecteur-mots .mot.dit { color: #fff; }
.lecteur-mots .mot.ici { color: var(--mimosa); }
.lecteur-barre { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: oklch(1 0 0 / .22); }
.lecteur-barre i { display: block; width: 0; height: 100%; background: var(--mimosa); }
.avis-liste li + li { border-top: 1px solid oklch(1 0 0 / .18); }
.avis-choix { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 4px 18px; align-items: start; width: 100%; padding: 18px 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
.avis-choix img { grid-row: span 2; width: 50px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; transition: box-shadow .2s; }
.avis-texte q { display: block; font: 800 clamp(1.3rem, 1rem + 1.1vw, 1.9rem)/1.12 var(--titre); quotes: "«\00a0" "\00a0»"; transition: color .2s; }
.avis-qui { display: block; margin-top: 8px; font-size: .98rem; color: oklch(1 0 0 / .8); }
.avis-qui b { color: #fff; }
.avis-duree { display: inline-flex; align-items: center; gap: 6px; grid-column: 2; font-size: .9rem; font-weight: 600; color: oklch(1 0 0 / .8); }
.avis-duree .ico { width: 14px; height: 14px; }
.avis-choix:hover q { color: var(--mimosa-fond); }
.avis-choix[aria-pressed="true"] q { color: var(--mimosa); }
.avis-choix[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--mimosa); }
.avis-choix[aria-pressed="true"] .avis-duree { color: var(--mimosa); }
.transcriptions { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid oklch(1 0 0 / .18); padding-top: 18px; }
.transcriptions summary { display: inline-flex; min-height: 44px; align-items: center; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.transcriptions div { max-width: 72ch; margin-top: 22px; }
.transcriptions h3 { font: 600 1rem/1.4 var(--texte); color: var(--mimosa); margin-bottom: 6px; }
.transcriptions p { color: oklch(1 0 0 / .86); }
@media (min-width: 900px) {
  .lecteur:not(.lecteur-seul) { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
  .lecteur:not(.lecteur-seul) .lecteur-cadre { width: 100%; position: sticky; top: 96px; }
  .avis-choix { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 24px; padding: 22px 0; }
  .avis-choix img { width: 64px; }
  .avis-duree { grid-column: 3; grid-row: 1; align-self: start; margin-top: 6px; }
}

/* ------------------------------------------------------------------ les réalisations */
.real-tete { margin-bottom: 28px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.filtres button { min-height: 44px; padding: 0 16px; border: 2px solid var(--trait); border-radius: 999px; background: var(--blanc); font-weight: 600; font-size: .98rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filtres button:hover { border-color: var(--encre-2); }
.filtres button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.real-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.tuile > a { display: block; text-decoration: none; height: 100%; }
.tuile-visuel { position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: var(--r); background: var(--brume); padding: 7% 0 0 7%; }
.tuile:nth-child(3n+2) .tuile-visuel { background: var(--mimosa-fond); }
.tuile:nth-child(3n) .tuile-visuel { background: var(--pin); }
.ecran { display: block; overflow: hidden; border-radius: 8px 0 0 0; background: var(--blanc); box-shadow: 0 1px 2px oklch(0 0 0 / .14), 0 10px 26px -14px oklch(0 0 0 / .45); }
.ecran img { width: 100%; }
.tuile-visuel .ecran { transition: transform .5s var(--doux); }
.tel { display: block; overflow: hidden; aspect-ratio: 9 / 19.5; border: 4px solid var(--noir); border-radius: 18px; background: var(--noir); }
.tel img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 13px; }
.tuile-visuel .tel { position: absolute; right: 6%; bottom: -14%; width: 23%; box-shadow: 0 12px 28px -10px oklch(0 0 0 / .5); transition: transform .5s var(--doux); }
.tuile > a:hover .ecran { transform: translateY(-6px); }
.tuile > a:hover .tel { transform: translateY(-14px); }
.tuile-texte { display: block; padding-top: 20px; }
.tuile-metier, .perso-metier, .cas-metier, .facette-type { display: block; font-size: .95rem; font-weight: 600; color: var(--encre-2); }
.tuile-texte h3 { margin: 6px 0 10px; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); }
.tuile-resume { display: block; max-width: 52ch; }
.tuile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tuile-tags li { padding: 5px 11px; border-radius: 999px; background: var(--brume); color: var(--pin); font-size: .85rem; font-weight: 600; }
.tuile-voix { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: .98rem; }
.tuile-voix img { width: 30px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 2px var(--mimosa); }
.tuile-voir { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--pin); }
.tuile-voir .ico { width: 20px; height: 20px; transition: transform .3s var(--doux); }
a:hover .tuile-voir .ico { transform: translateX(4px); }
.real-vide { margin-top: 12px; color: var(--encre-2); }
@media (min-width: 700px) { .real-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tuile-grande { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .real-grille { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tuile { grid-column: span 2; }
  .tuile-grande { grid-column: 1 / -1; }
  .tuile-grande > a { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .tuile-grande:nth-child(even) > a { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
  .tuile-grande:nth-child(even) .tuile-visuel { order: 2; }
  .tuile-grande .tuile-texte { padding-top: 0; }
  .tuile-grande .tuile-texte h3 { font-size: clamp(2.6rem, 1.6rem + 2vw, 3.6rem); }
  .tuile-grande .tuile-resume { font-size: 1.15rem; }
}

/* ------------------------------------------------------------------ la com (la salle noire) */
.com { background: var(--noir); color: #fff; }
.com-tete { margin-bottom: clamp(32px, 4vw, 52px); }
.com-tete p { color: oklch(1 0 0 / .8); }
.com-rang { display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 250px); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bord); padding: 4px var(--bord) 18px; margin: 0 calc(-1 * var(--bord)); scrollbar-color: oklch(1 0 0 / .35) transparent; }
.com-piece { scroll-snap-align: start; }
.com-piece figure { margin: 0; }
.com-tel, .com-affiche { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; }
.com-tel { border: 5px solid oklch(0.32 0.012 165); background: #000; }
.com-tel video { width: 100%; height: 100%; object-fit: cover; }
.com-affiche { display: grid; place-items: center; padding: 14px; background: oklch(0.28 0.02 165); }
.com-affiche img { max-height: 100%; width: auto; box-shadow: 0 10px 30px -8px oklch(0 0 0 / .6); }
.com-son { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: oklch(0 0 0 / .6); color: #fff; font-size: .875rem; font-weight: 600; cursor: pointer; }
.com-son .ico { width: 18px; height: 18px; }
.com-son[aria-pressed="true"] { background: var(--mimosa); color: var(--encre); }
.com figcaption { margin-top: 14px; font-size: .98rem; line-height: 1.45; }
.com figcaption b { display: block; color: var(--mimosa); }
.com figcaption small { display: block; margin-top: 6px; font-size: .875rem; color: oklch(1 0 0 / .7); }
.com figcaption a { color: #fff; font-weight: 600; white-space: nowrap; }
.com figcaption a .ico { display: inline; width: 14px; height: 14px; vertical-align: -1px; }
@media (min-width: 1180px) { .com-rang { grid-auto-columns: calc((100% - 5 * 18px) / 6); overflow: visible; margin: 0 auto; padding: 4px 0 0; } }

/* ------------------------------------------------------------------ mes projets à moi (jaune mimosa, plein cadre) */
.perso { background: var(--mimosa-fond); }
.perso-tete { margin-bottom: clamp(32px, 4vw, 52px); }
.perso a { text-decoration: none; }
.perso .ecran { border-radius: 8px; }
.perso-une { display: grid; gap: 24px; align-items: center; }
.perso-une h3 { margin: 6px 0 12px; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); }
.perso-une-texte > span:not(.tuile-voir) { display: block; }
.perso-chiffre { margin-top: 20px; padding-top: 14px; border-top: 2px solid var(--encre); font-size: 1.1rem; }
.perso-metier { color: oklch(0.36 0.04 120); }
.perso .tuile-voir { color: var(--encre); }
.perso-une:hover .ecran, .perso-site a:hover .ecran { transform: translateY(-5px); }
.perso .ecran { transition: transform .5s var(--doux); }
.perso-sites { display: grid; gap: 36px 28px; margin-top: clamp(48px, 6vw, 80px); }
.perso-site h4 { margin: 4px 0 8px; font-size: 1.6rem; display: flex; align-items: center; gap: 8px; }
.perso-site h4 .ico { width: 20px; height: 20px; }
.perso-site .ecran { margin-bottom: 16px; }
.perso-site span:last-child { display: block; }
.perso-plaisir { display: grid; gap: 40px; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--encre); }
.perso-plaisir h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); margin-bottom: 12px; }
.perso-plaisir p { max-width: 52ch; }
.perso-fil ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.perso-fil a { display: block; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.perso-fil img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 10px; transition: transform .4s var(--doux); }
.perso-fil a:hover img { transform: translateY(-4px); }
.perso-fil a .ico { display: inline; width: 14px; height: 14px; vertical-align: -1px; }
.perso-jeu { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 20px; align-items: end; margin: 0; }
.perso-jeu img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); }
.perso-jeu p { margin: 0; }
@media (min-width: 760px) { .perso-sites { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .perso-une { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
  .perso-plaisir { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; }
  .perso-jeu { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ la méthode */
.methode h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.etapes { display: grid; gap: 32px 28px; counter-reset: etape; }
.etapes li { padding-top: 18px; border-top: 3px solid var(--encre); }
.etape-n { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--mimosa); font: 800 1.5rem/1 var(--titre); }
.etapes h3 { margin-bottom: 10px; }
.etapes p { margin: 0; }
.anecdote { display: grid; gap: 18px; margin: clamp(48px, 6vw, 80px) auto 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--brume); }
.anecdote p { margin: 0; max-width: 60ch; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.5; font-weight: 600; }
.anecdote::before { content: "Un souvenir"; font: 800 1.1rem/1 var(--titre); color: var(--pin); }
@media (min-width: 700px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ qui je suis */
.moi { background: var(--brume); }
.moi-dedans { display: grid; gap: 40px; }
.moi h2 { margin-bottom: 24px; }
.moi-texte p { max-width: 62ch; }
.moi-chapo { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.45; }
.moi-photo { position: relative; margin: 0; max-width: 380px; }
.moi-photo img { border-radius: var(--r); box-shadow: 12px 12px 0 var(--mimosa); }
.moi-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--blanc); font-size: .85rem; font-weight: 600; }
.moi-cotes > div { padding-top: 16px; border-top: 2px solid var(--encre); }
.moi-cotes > div + div { margin-top: 30px; }
.moi-cotes h3 { font-size: 1.6rem; margin-bottom: 10px; }
.moi-cotes p { margin: 0; }
@media (min-width: 900px) {
  .moi-dedans { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "texte photo" "texte cotes"; gap: 40px clamp(48px, 7vw, 104px); align-items: start; }
  .moi-texte { grid-area: texte; } .moi-photo { grid-area: photo; } .moi-cotes { grid-area: cotes; }
}

/* ------------------------------------------------------------------ le contact (vert pin) */
.contact { background: var(--pin); color: #fff; }
.contact-dedans { display: grid; gap: 40px; align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact-joindre > p { max-width: 46ch; font-size: 1.15rem; color: oklch(1 0 0 / .86); }
.contact-tel { display: inline-block; margin: 8px 0 20px; font: 800 clamp(2.9rem, 2rem + 4.2vw, 5rem)/1 var(--titre); color: var(--mimosa); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.contact-tel:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .btn-clair span { overflow-wrap: anywhere; }
.dispo-clair { color: oklch(1 0 0 / .86); }
.dispo-clair i { background: var(--mimosa); box-shadow: 0 0 0 4px oklch(0.885 0.165 98 / .25); }
.mot { display: grid; gap: 10px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--pin-fonce); }
.mot h3 { font-size: 1.6rem; margin-bottom: 8px; }
.mot label, .mot legend { font-weight: 600; }
.mot label small { font-weight: 400; color: oklch(1 0 0 / .75); }
.mot input, .mot textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid transparent; border-radius: 8px; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.4 var(--texte); }
.mot input::placeholder, .mot textarea::placeholder { color: var(--encre-2); }
.mot input:focus-visible, .mot textarea:focus-visible { outline: none; border-color: var(--mimosa); box-shadow: 0 0 0 3px oklch(0.885 0.165 98 / .45); }
.mot textarea { resize: vertical; }
.mot fieldset { margin: 6px 0; padding: 0; border: 0; }
.mot legend { margin-bottom: 10px; padding: 0; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; }
.puce input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.puce span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border: 2px solid oklch(1 0 0 / .45); border-radius: 999px; font-weight: 600; font-size: .95rem; transition: background-color .15s, color .15s, border-color .15s; }
.puce input:checked + span { background: var(--mimosa); border-color: var(--mimosa); color: var(--encre); }
.puce input:focus-visible + span { outline: 3px solid var(--mimosa); outline-offset: 3px; }
.mot-envoi { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.mot-note { margin: 6px 0 0; font-size: .9rem; color: oklch(1 0 0 / .78); }
.mot-erreur { margin: 0; font-weight: 600; color: var(--mimosa); }
@media (min-width: 980px) { .contact-dedans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); } }

/* ------------------------------------------------------------------ le pied */
.pied { padding: clamp(48px, 6vw, 72px) var(--bord) 36px; background: var(--noir); color: oklch(1 0 0 / .78); font-size: .95rem; }
.pied > div { max-width: var(--large); margin: 0 auto; }
.pied a { color: #fff; text-underline-offset: 3px; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid oklch(1 0 0 / .16); }
.pied-nom { margin: 0; font: 800 2rem/1 var(--titre); color: #fff; }
.pied-nom span { display: block; margin-top: 8px; font: 400 1rem/1.4 var(--texte); color: oklch(1 0 0 / .78); }
.pied-joindre { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; align-self: end; }
.pied-joindre a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; }
.pied-bas p { margin: 0; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pied-liens a { display: inline-flex; min-height: 44px; align-items: center; }
.pied-signature { width: 100%; color: oklch(1 0 0 / .6); }

/* ------------------------------------------------------------------ une page de projet */
.cas-tete { max-width: var(--large); margin: 0 auto; padding: clamp(20px, 4vw, 48px) var(--bord) clamp(40px, 5vw, 64px); }
.cas-retour { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: clamp(20px, 3vw, 36px); font-weight: 600; color: var(--encre-2); text-decoration: none; }
.cas-retour:hover { color: var(--encre); }
.cas-tete h1 { margin: 8px 0 18px; }
.cas-resume { max-width: 48ch; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.45; }
.cas-lien { margin: 24px 0 0; }
.cas-avec, .cas-com { margin: 18px 0 0; color: var(--encre-2); }
.cas-avec a, .cas-com a { color: var(--pin); font-weight: 600; }
.cas-voix { padding: var(--pas) var(--bord); background: var(--pin); color: #fff; }
.cas-voix > * { max-width: var(--large); margin: 0 auto; }
.cas-voix > div:first-child { margin-bottom: 32px; }
.cas-voix > div:first-child p { margin-top: 12px; color: oklch(1 0 0 / .84); }
.cas-voix .lecteur:not(.lecteur-seul) .lecteur-cadre { position: relative; top: 0; }
.cas-facettes { max-width: var(--large); margin: 0 auto; padding: 0 var(--bord); }
.facette { display: grid; gap: 28px; align-items: start; padding: clamp(48px, 7vw, 96px) 0; }
.facette + .facette { border-top: 1px solid var(--trait); }
.facette h2 { margin: 6px 0 18px; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.facette ul { display: grid; gap: 12px; }
.facette li { position: relative; padding-left: 26px; max-width: 54ch; }
.facette li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--mimosa); box-shadow: 0 0 0 2px var(--mimosa-fonce); }
.facette-note { margin: 20px 0 0; padding: 12px 16px; border-radius: 8px; background: var(--brume); color: var(--encre-2); font-size: .98rem; max-width: 54ch; }
.facette-lien { margin: 18px 0 0; }
.facette-lien a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--pin); }
.facette-lien .ico { width: 18px; height: 18px; }
.navigateur { overflow: hidden; border-radius: 10px; background: var(--blanc); box-shadow: 0 0 0 1px var(--trait), 0 18px 40px -22px oklch(0 0 0 / .45); }
.navigateur-barre { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; background: var(--brume); }
.navigateur-barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--trait); }
.navigateur-page { max-height: min(68vh, 560px); overflow-y: auto; overscroll-behavior: contain; }
.navigateur-page img { width: 100%; }
.tel-seul { width: min(260px, 70vw); justify-self: center; }
.cas-apres { max-width: var(--large); margin: 0 auto; padding: 0 var(--bord) clamp(40px, 5vw, 64px); font-size: 1.2rem; font-weight: 600; }
.cas-suite { display: flex; justify-content: space-between; gap: 16px; max-width: var(--large); margin: 0 auto; padding: 32px var(--bord) var(--pas); border-top: 1px solid var(--trait); }
.cas-suite a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 800 1.4rem/1.1 var(--titre); }
.cas-suite a:last-child { text-align: right; }
.cas-suite small { display: block; font: 600 .9rem/1.3 var(--texte); color: var(--encre-2); }
@media (min-width: 900px) {
  .facette:not(.facette-sans) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); }
  .facette:not(.facette-sans) .facette-texte { position: sticky; top: 96px; }
  .lecteur-seul { grid-template-columns: minmax(0, 320px); }
}

/* ------------------------------------------------------------------ les pages légales */
.legal { max-width: 72ch; margin: 0 auto; padding: clamp(32px, 6vw, 80px) var(--bord) var(--pas); }
.legal h1 { margin-bottom: 28px; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.legal h2 { margin: 36px 0 10px; font-size: 1.7rem; }
.legal-chapo { font-size: 1.25rem; font-weight: 600; }

/* ------------------------------------------------------------------ apparitions au défilement (là où le navigateur sait le faire seul) */
@supports (animation-timeline: view()) {
  html:not(.calme) .tuile, html:not(.calme) .etapes li, html:not(.calme) .perso-site, html:not(.calme) .facette {
    animation: monte linear both; animation-timeline: view(); animation-range: entry 0% entry 32%;
  }
}

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

/* le premier écran d'un petit téléphone (375 × 553, 320 × 568 avec les barres de Safari) : « Appeler » doit y tenir */
@media (max-width: 420px) {
  .heros { padding-top: 12px; gap: 26px; }
  .heros-bonjour { margin-bottom: 10px; font-size: 1rem; }
  .heros h1 { font-size: clamp(2.45rem, 1.2rem + 6.2vw, 2.75rem); }
  .heros-chapo { margin-top: 14px; font-size: 1.05rem; }
  .heros-actions { margin-top: 18px; }
}

/* la vitrine à droite : le titre se resserre pour que les boutons et les visages tiennent dans le premier écran */
@media (min-width: 980px) {
  .heros h1 { max-width: none; font-size: clamp(2.9rem, 1.1rem + 3.7vw, 4.4rem); }
}
/* les métiers qui ne tiennent pas sur la ligne : un fondu au bord dit qu'il y en a d'autres */
.vt-onglets[data-suite="1"] { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
