/* OLYVENS CONFECTION — direction : le fil, les arches de Jacmel, le papier d'atelier. */
:root {
  --encre: #0b1d33;
  --bleu: #0a6cc0;
  --bleu-clair: #dcebf8;
  --papier: #f4efe6;
  --papier-2: #ebe3d4;
  --fil: #e8a33d;
  --texte: #1d2533;
  --gris: #5f6878;
  --ligne: #d9d0bf;      /* décor seulement */
  --bord: #8c826f;       /* contour des champs et boutons : contraste 3:1 minimum */
  --serif: Fraunces, Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --arche: 999px 999px 18px 18px;
  /* fond « toile » : trame de tissu croisée, très fine (dégradés CSS, rien à télécharger) */
  --toile: repeating-linear-gradient(0deg, rgba(11,29,51,.05) 0 1px, transparent 1px 4px),
           repeating-linear-gradient(90deg, rgba(11,29,51,.035) 0 1px, transparent 1px 4px);
  --toile-sombre: repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 4px),
                  repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--texte); background: var(--toile) var(--papier); line-height: 1.6; position: relative; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--encre); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); margin: 0 0 .6rem; max-width: 18ch; }
em { font-style: italic; color: var(--bleu); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); margin: 0 0 .8rem; }
.sub { color: var(--gris); font-size: 1.05rem; max-width: 46ch; margin: 0 0 2rem; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--encre); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--fil); outline-offset: 3px; }

/* Boutons */
.btn { position: relative; display: inline-flex; align-items: center; gap: .4rem; font: 700 .95rem var(--sans); background: var(--encre); color: var(--papier); text-decoration: none; padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid var(--encre); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); background: var(--bleu); border-color: var(--bleu); }
.btn::after { content: ""; position: absolute; inset: 4px; border-radius: inherit; border: 1.5px dashed var(--fil); opacity: 0; transform: scale(.94); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; transform: none; }
.btn-plein::after { border-color: var(--encre); }
.btn-line:hover::after, .btn-line:focus-visible::after { border-color: var(--fil); }
.btn-line { background: transparent; color: var(--encre); }
.btn-line:hover { color: #fff; }
.btn-plein { background: var(--fil); border-color: var(--fil); color: var(--encre); }
.btn-plein:hover { background: #fff; border-color: #fff; color: var(--encre); }
.btn-sm { padding: .5rem 1.1rem; font-size: .88rem; }
.btn-xl { font-size: 1.1rem; padding: 1.1rem 1.8rem; flex-wrap: wrap; justify-content: center; column-gap: .35rem; }
.nw { white-space: nowrap; }

/* Arche : la forme des portes et galeries de Jacmel */
.arch { margin: 0; border-radius: var(--arche); overflow: hidden; background: var(--papier-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* attente des photos : le cadre « respire » doucement tant que l'image n'est pas arrivée (connexion lente) */
.arch:not(:has(img.pret)), .m-photo:not(:has(img.pret)) { animation: attente 1.1s ease-in-out infinite alternate; }
@keyframes attente { to { background-color: var(--papier); } }

/* Le fil */
.fil { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 6; }
#fil-pt { stroke: var(--fil); stroke-width: 2.5; stroke-dasharray: 9 7; stroke-linecap: round; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--papier) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px dashed var(--ligne); }
.top-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--encre); margin-right: auto; }
.brand img { height: 52px; width: auto; }
nav { display: flex; gap: 1.6rem; }
nav a { color: var(--texte); text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; border-bottom: 2px dashed var(--fil); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
nav a:hover::after { transform: scaleX(1); }
.top-act { display: flex; align-items: center; gap: .7rem; }
.lang { display: flex; border: 2px solid var(--encre); border-radius: 999px; overflow: hidden; }
.lang button { font: 700 .8rem var(--sans); min-width: 44px; min-height: 44px; padding: 0 .6rem; border: 0; background: transparent; color: var(--encre); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--encre); color: var(--papier); }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--encre); transition: transform .25s; }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 24px; }
.menu-ouvert .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-ouvert .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Accueil */
.hero { display: flex; flex-direction: column; min-height: min(calc(100svh - 68px), 900px); padding-top: 32px; overflow: hidden; background: var(--toile-sombre) var(--encre); color: #c9d3e0; }
.hero-in { width: 100%; }
.hero-txt { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); column-gap: 40px; align-items: end; }
.hero-txt h1 { grid-row: 1 / span 2; }
.hero-txt .cta { margin-top: 1rem; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 800; margin: 0; color: var(--papier); }
.hero h1 em { position: relative; display: inline-block; font-weight: 400; color: var(--fil); padding-bottom: .12em; }
/* la couture se coud sous le titre à l'ouverture */
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 3px dashed var(--fil); animation: coud 1.6s .5s cubic-bezier(.3,.7,.2,1) both; }
@keyframes coud { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero .lead { color: #c9d3e0; }
.btn-clair { background: transparent; border-color: var(--papier); color: var(--papier); }
.btn-clair:hover { background: var(--papier); border-color: var(--papier); color: var(--encre); }
.btn-clair::after { border-color: var(--encre); }
/* l'arcade : les arches se dressent depuis le sol et s'élargissent à la demande */
.arcade { flex: 1; display: flex; gap: 12px; width: 100%; max-width: 1500px; min-height: 360px; margin: 0 auto; padding: 28px 16px 0; }
.arc { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 999px 999px 0 0; background: var(--papier-2); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: flex-grow .6s cubic-bezier(.2,.8,.2,1); }
.arc:nth-child(even) { margin-top: 34px; }
.arc.on { flex-grow: 3; }
.arcade:not([data-vu]) .arc { animation: leve .9s calc(var(--i) * 90ms) cubic-bezier(.2,.8,.2,1) both; }
@keyframes leve { from { transform: translateY(100%); } }
.arc:focus-visible { outline: 3px solid var(--fil); outline-offset: -6px; }
.arc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .3s ease-out; }
.arc.zoom img { transform: scale(2); transition-delay: .35s; }
.arc-txt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 3.4rem 14px 14px; background: linear-gradient(transparent, rgba(11,29,51,.9) 45%, rgba(11,29,51,.97)); }
.arc-nom { font: 600 1.1rem/1.1 var(--serif); color: var(--papier); }
.arc-prix { font-weight: 700; font-size: .9rem; color: var(--fil); white-space: nowrap; }
.arc-voir { display: none; font-size: .85rem; font-weight: 600; margin-top: .2rem; }
.arc.on .arc-voir { display: block; }
.arc.on .arc-nom { font-size: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--gris); max-width: 36ch; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }


/* Sections */
.section { padding: 104px 0; position: relative; }
.sombre { background: var(--toile-sombre) var(--encre); color: #c9d3e0; }
.sombre h2, .sombre h3 { color: var(--papier); }
.sombre .sub { color: #9fb0c6; }
.sombre .eyebrow { color: var(--fil); }

/* Collection */
.tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.fleches { display: flex; gap: .5rem; margin-bottom: 2rem; }
.fl { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--encre); background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--encre); transition: background .2s, color .2s; }
.fl:hover { background: var(--encre); color: var(--papier); }
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(16px, calc((100vw - 1120px) / 2 + 16px)) 24px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.carte { flex: 0 0 clamp(250px, 27vw, 320px); scroll-snap-align: start; font: inherit; text-align: left; background: #fffaf2; border: 0; border-radius: 22px; padding: 18px 18px 20px; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: .2rem; color: var(--texte); transition: transform .3s, box-shadow .3s; }
.carte::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--ligne); border-radius: 17px; pointer-events: none; transition: border-color .3s; }
.carte:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 40px -18px rgba(11,29,51,.35); }
.carte:hover::after { border-color: var(--fil); }
.c-num { font: italic 600 1rem var(--serif); color: var(--bleu); }
.c-img { aspect-ratio: 3 / 4; margin: .4rem 0 .9rem; }
.c-img img { transition: transform .6s; }
.carte:hover .c-img img { transform: scale(1.05); }
.c-cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.c-nom { font: 600 1.55rem var(--serif); color: var(--encre); line-height: 1.1; }
.c-bas { display: flex; justify-content: space-between; align-items: baseline; margin-top: .6rem; }
.c-prix { font-weight: 800; color: var(--encre); }
.c-voir { font-size: .82rem; font-weight: 700; color: var(--bleu); }

/* Atelier */
.sombre .wrap { display: grid; grid-template-columns: 1.35fr .65fr; column-gap: 56px; }
.sombre .wrap > * { grid-column: 1; }
.atelier-img { grid-column: 2 !important; grid-row: 1 / span 4; align-self: center; aspect-ratio: 3 / 4; border: 2px dashed var(--fil); padding: 8px; background: transparent; }
.atelier-img img { border-radius: 999px 999px 12px 12px; }
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.etapes .num { font: 800 3.6rem var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--fil); line-height: 1; }
.etapes h3 { font-size: 1.4rem; margin: .5rem 0 .3rem; }
.etapes p { margin: 0; }

/* Composez le vôtre */
.compo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.compo-f fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
legend, .champ > span { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); margin-bottom: .7rem; display: block; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt > span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--bord); background: #fffaf2; font-weight: 600; font-size: .92rem; transition: all .2s; }
.opt:hover > span { border-color: var(--encre); }
.opt:has(input:checked) > span { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.opt:has(input:focus-visible) > span { outline: 3px solid var(--fil); outline-offset: 2px; }
.pastilles i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.champ { display: block; margin-bottom: 1.4rem; }
.champ input { width: 100%; font: 500 1rem var(--sans); padding: .85rem 1rem; border: 1.5px solid var(--bord); border-radius: 14px; background: #fffaf2; color: var(--texte); }
.champ input:focus { border-color: var(--encre); outline: none; box-shadow: 0 0 0 3px var(--bleu-clair); }
.qte { display: inline-flex; align-items: center; border: 1.5px solid var(--bord); border-radius: 14px; background: #fffaf2; }
.qte button { width: 46px; height: 48px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--encre); }
.qte input { width: 70px; text-align: center; border: 0; padding: .8rem 0; background: transparent; box-shadow: none !important; -moz-appearance: textfield; }
.qte input::-webkit-inner-spin-button { -webkit-appearance: none; }

.etiquette { position: sticky; top: 96px; background: #fffaf2; border-radius: 18px 18px 18px 18px; padding: 44px 24px 24px; transform: rotate(1.5deg); box-shadow: 0 30px 50px -24px rgba(11,29,51,.4); }
.etiquette::before { content: ""; position: absolute; inset: 9px; border: 1.5px dashed var(--fil); border-radius: 12px; pointer-events: none; }
.trou { position: absolute; top: 14px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--papier); box-shadow: inset 0 2px 3px rgba(0,0,0,.2); }
.et-tete { display: flex; justify-content: space-between; font: italic 600 1.15rem var(--serif); color: var(--encre); margin: 0 0 .8rem; border-bottom: 1px solid var(--ligne); padding-bottom: .6rem; }
.et-tete span:last-child { font: 700 .78rem var(--sans); letter-spacing: .1em; color: var(--gris); align-self: center; }
.et-img { margin: 0 auto .8rem; width: 120px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--papier-2); }
.et-img img { width: 100%; height: 100%; object-fit: cover; }
#e-liste { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0 0 1rem; font-size: .92rem; }
#e-liste dt { color: var(--gris); }
#e-liste dd { margin: 0; font-weight: 700; text-align: right; word-break: break-word; }
.et-prix { display: flex; flex-wrap: wrap; gap: .2rem .8rem; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--ligne); padding-top: .8rem; margin: 0 0 1.2rem; font-size: .85rem; color: var(--gris); }
.et-prix strong { font: 800 1.7rem var(--serif); color: var(--encre); white-space: nowrap; }
.etiquette .btn { width: 100%; justify-content: center; }

/* Manifeste */
.manifeste { background: var(--bleu); color: #fff; padding: 96px 0; border-block: 3px dashed var(--fil); }
.manifeste blockquote { margin: 0; }
.manifeste p { font: italic 500 clamp(1.8rem, 4.6vw, 3.5rem) var(--serif); line-height: 1.15; margin: 0 0 1.4rem; max-width: 22ch; }
.manifeste footer { color: #fff; max-width: 52ch; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }
.membre { text-align: left; }
.m-photo { aspect-ratio: 4 / 5; border-radius: var(--arche); overflow: hidden; background: var(--papier-2); margin-bottom: 1rem; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .4s; }
.membre:hover .m-photo img { filter: none; }
.avatar { display: grid; place-items: center; width: 100%; height: 100%; font: italic 600 3.4rem var(--serif); color: var(--bleu); background: var(--bleu-clair); }
.membre h3 { font-size: 1.25rem; margin: 0; }
.role { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu); margin: .2rem 0 .5rem; }
.bio { font-size: .9rem; color: var(--gris); margin: 0; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; margin-top: 56px; }
.service { border-top: 2px dashed var(--fil); padding-top: .8rem; }
.service h3 { font: 700 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .3rem; }
.service p { margin: 0; color: var(--gris); font-size: .92rem; }

/* Contact */
.contact { background: var(--toile-sombre) var(--encre); color: #c9d3e0; }
.contact h2 { color: var(--papier); font-size: clamp(2.6rem, 7vw, 5rem); }
.contact .eyebrow { color: var(--fil); }
.contact .sub { color: #9fb0c6; }
.contact-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.coord { list-style: none; margin: 0; padding: 0; }
.coord li { border-bottom: 1px dashed rgba(232,163,61,.5); padding: 1rem 0; display: flex; flex-direction: column; }
.coord span { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fil); }
.coord a { color: var(--papier); font: 500 1.25rem var(--serif); text-decoration: none; word-break: break-word; }
.coord a:hover { color: var(--fil); }
.foot { background: #06111f; color: #8496ad; padding: 22px 0; font-size: .88rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.foot a { color: #c9d3e0; display: inline-block; padding: .6rem 0; }

/* Bouton WhatsApp flottant */
.wa-flot { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: .6rem; height: 60px; padding: 0 18px; border-radius: 999px; background: #25d366; color: var(--encre); text-decoration: none; font-weight: 700; font-size: .95rem; box-shadow: 0 12px 28px -8px rgba(11,29,51,.45); transition: transform .3s, opacity .3s, background .2s; }
.wa-flot svg { width: 28px; height: 28px; flex: none; }
.wa-flot::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px dashed #25d366; animation: pouls 2.6s ease-out 3; pointer-events: none; }
.wa-flot:hover { background: #3ee07d; transform: translateY(-3px); }
.wa-flot.cache { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
@keyframes pouls { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18); } }
@media (max-width: 700px) {
  .wa-flot { right: 16px; bottom: 16px; width: 60px; padding: 0; justify-content: center; }
  .wa-flot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Fiche produit */
dialog { border: 0; border-radius: 26px; padding: 0; max-width: 940px; width: calc(100% - 32px); max-height: calc(100% - 32px); background: var(--papier); color: var(--texte); }
dialog::backdrop { background: rgba(11,29,51,.7); backdrop-filter: blur(3px); }
dialog[open] { animation: monte .35s ease-out; }
@keyframes monte { from { opacity: 0; transform: translateY(24px); } }
.fiche { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 32px; }
.gal .arch { aspect-ratio: 3 / 4; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { width: 64px; aspect-ratio: 1; border-radius: 12px; border: 2px solid var(--bord); padding: 0; overflow: hidden; cursor: pointer; background: #fff; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.f-txt h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; max-width: none; }
.price { font: 800 1.6rem var(--serif); color: var(--bleu); margin: .3rem 0 1rem; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; margin: 1.2rem 0; padding: 1rem 0; border-block: 1px dashed var(--ligne); font-size: .95rem; }
.specs dt { color: var(--gris); }
.specs dd { margin: 0; font-weight: 600; }
.close { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--encre); color: var(--papier); font-size: 1.6rem; cursor: pointer; z-index: 2; }

/* Faire offrir / partager */
.offrir { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 16px; border: 1.5px dashed var(--fil); background: #fffaf2; text-decoration: none; color: var(--encre); transition: background .2s, transform .2s; }
.offrir:hover { background: #fff3dc; transform: translateY(-2px); }
.offrir-ic { font-size: 1.6rem; }
.offrir strong { display: block; font: 600 1.05rem var(--serif); }
.offrir small { color: var(--gris); font-size: .82rem; }
.partager { margin-top: .4rem; min-height: 44px; background: none; border: 0; padding: .3rem 0; font: 600 .85rem var(--sans); color: var(--bleu); cursor: pointer; text-decoration: underline dashed; text-underline-offset: 4px; word-break: break-all; text-align: left; }

/* Échelle réelle */
.echelle { margin: 0 32px 32px; padding: 22px; border-radius: 20px; background: #fffaf2; border: 1.5px dashed var(--ligne); }
.ech-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.echelle h3 { margin: 0; font: 600 1.4rem var(--serif); color: var(--encre); }
.ech-corps { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
#ech-svg { width: 100%; height: auto; }
.ech-q { margin: 0 0 .5rem; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.ech-choix { display: flex; flex-wrap: wrap; gap: .4rem; }
.ech-choix button { font: 600 .85rem var(--sans); min-height: 44px; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--bord); background: #fff; color: var(--texte); cursor: pointer; }
.ech-choix button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.ech-leg { margin: 1rem 0 .4rem; font-size: .9rem; line-height: 1.8; }
.ech-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .5rem; vertical-align: -1px; }
.pt-sac { background: var(--bleu-clair); border: 1.5px solid var(--bleu); }
.pt-obj { background: rgba(232,163,61,.25); border: 1.5px solid var(--fil); }
.ech-note { font-size: .78rem; color: var(--gris); margin: 0; }
.e-sol { stroke: var(--ligne); stroke-width: 1.5; }
.e-sac { fill: var(--bleu-clair); stroke: var(--bleu); stroke-width: 2; }
.e-pique { fill: none; stroke: var(--bleu); stroke-width: 1; stroke-dasharray: 4 3; opacity: .6; }
.e-obj { fill: rgba(232,163,61,.22); stroke: var(--fil); stroke-width: 2; }
.e-ecran { fill: rgba(11,29,51,.08); stroke: none; }
.e-trait { stroke: var(--fil); stroke-width: 1.5; opacity: .7; }
.e-cote { font: 700 11px var(--sans); fill: var(--gris); text-anchor: middle; }
.e-v { text-anchor: start; }
@media (max-width: 900px) {
  .echelle { margin: 0 20px 20px; padding: 16px; }
  .ech-corps { grid-template-columns: 1fr; gap: 12px; }
}

/* Loupe : au survol à la souris, la photo s'agrandit à l'endroit pointé et suit le pointeur */
.arch.loupe { cursor: zoom-in; }
.arch.loupe img { transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .3s ease-out; }
.arch.loupe.zoom img { transform: scale(2.2); }

/* Transition « déplier le sac » */
::view-transition-group(sac) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
::view-transition-image-pair(sac) { isolation: auto; }
::view-transition-old(sac), ::view-transition-new(sac) { height: 100%; object-fit: cover; overflow: clip; border-radius: 120px 120px 18px 18px; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* Pages légales */
.legal { max-width: 760px; padding: 56px 16px 88px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }

/* Apparition */
.apparait { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.apparait.vu { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { display: none; position: fixed; inset: 68px 0 0; background: var(--papier); flex-direction: column; gap: 0; padding: 16px 24px; z-index: 19; }
  .menu-ouvert nav { display: flex; overflow-y: auto; }
  /* le flou de l'en-tête enfermerait le menu dans ses 68 px : on le retire quand le menu est ouvert */
  .menu-ouvert .top { backdrop-filter: none; background: var(--papier); }
  .menu-ouvert { overflow: hidden; }
  .menu-ouvert .wa-flot { opacity: 0; pointer-events: none; }
  nav a { font: 600 2rem var(--serif); padding: .6rem 0; border-bottom: 1px dashed var(--ligne); }
  nav a::after { display: none; }
  .menu-btn { display: block; }
  .hide-s { display: none; }
  .hero-in, .compo, .contact-in, .fiche { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 28px; }
  .hero-txt { display: block; }
  .hero-txt h1 { margin-bottom: 1rem; }
  .arcade { flex: none; height: min(56vh, 440px); min-height: 320px; padding-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .arcade::-webkit-scrollbar { display: none; }
  .arc, .arc.on { flex: 0 0 min(70vw, 320px); scroll-snap-align: center; }
  .arc:nth-child(even) { margin-top: 0; }
  .arc .arc-voir { display: block; }
  .arc .arc-nom { font-size: 1.3rem; }
  .sombre .wrap { grid-template-columns: 1fr; }
  .atelier-img { grid-column: 1 !important; grid-row: auto; max-width: 320px; margin-top: 48px; }
  .etiquette { position: static; transform: none; }
  .section { padding: 76px 0; }
  .fiche { padding: 20px; gap: 18px; }
  .gal .arch { aspect-ratio: 4 / 3; border-radius: 120px 120px 16px 16px; }
}
@media (max-width: 520px) {
  .etapes { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
  /* équipe : une ligne par personne, petite photo à gauche */
  .team { grid-template-columns: 1fr; gap: 22px; }
  .membre { display: grid; grid-template-columns: 92px 1fr; column-gap: 14px; align-items: start; }
  .m-photo { grid-row: 1 / span 3; margin: 0; }
  .avatar { font-size: 1.8rem; }
  .membre h3 { font-size: 1.1rem; }
  .services { margin-top: 40px; }
  .tete .fleches { display: none; }
  .carte { flex-basis: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .apparait { opacity: 1; transform: none; }
}
