/* ESTRYO, vitrine statique. Valeurs reprises de l'artefact « Estryo » (Design System), tokens.json v2. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  --surface: #f7f4ef; --surface-raised: #ffffff; --surface-tint: #e8e9f5;
  --ink: #1d1754; --ink-muted: #475676; --brand: #1d1754; --on-brand: #ffffff;
  --accent: #b5502e; --on-accent: #ffffff; --link: #2f5d9e; --hairline: #d9d2c5; --focus: #b5502e;
  --display: "Outfit", "Avenir Next", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 24px; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247,244,239,.94); border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { width: 32px; height: 40px; }
.nav { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a:hover { text-decoration: underline; }
.nav .hide-sm { display: none; }
@media (min-width: 760px) { .nav .hide-sm { display: inline; } }
.btn-brand { display: inline-block; background: var(--brand); color: var(--on-brand) !important; text-decoration: none !important; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 6px; }

/* Haut de page */
.hero .wrap { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding-top: 80px; padding-bottom: 88px; } }
.eyebrow { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.hero h1 { font-size: 36px; line-height: 42px; margin: 0 0 20px; letter-spacing: -0.01em; }
@media (min-width: 760px) { .hero h1 { font-size: 52px; line-height: 58px; } }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.btn-accent { display: inline-block; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 16px; line-height: 24px; padding: 14px 24px; border-radius: 10px; }
.btn-accent:hover { color: var(--on-accent); text-decoration: underline; }
.link-arrow { font-weight: 700; color: var(--ink); }
.reassure { margin: 12px 0 0; font-size: 14px; color: var(--ink-muted); }

/* Écran d'exemple */
.screen { background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px; box-shadow: 0 12px 32px rgba(29,23,84,.08); }
.screen-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.screen-title span { font-size: 12px; font-weight: 400; color: var(--ink-muted); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.row strong { display: block; font-size: 15px; line-height: 22px; }
.row small { font-size: 13px; color: var(--ink-muted); }
.tag { flex: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 4px 8px; }
/* Statuts d'échéance de la charte : mot + glyphe + couleur (danger, warning, caution, success) */
.t-danger { color: #8f1d14; background: #fbe3df; } .t-warning { color: #7a3d00; background: #fde8cf; }
.t-caution { color: #5c4a00; background: #fbf1c0; } .t-success { color: #14532d; background: #dcf2e3; }

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 760px) { .section { padding: 80px 0; } }
.section.tint { background: var(--surface-raised); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section h2 { font-size: 28px; line-height: 34px; margin: 0 0 12px; }
@media (min-width: 760px) { .section h2 { font-size: 36px; line-height: 42px; } }
.section .intro { color: var(--ink-muted); font-size: 18px; line-height: 28px; max-width: 640px; margin-bottom: 32px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 24px; }
.card h3 { font-size: 18px; line-height: 24px; margin: 16px 0 8px; }
.card p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-tint); display: flex; align-items: center; justify-content: center; color: var(--ink); }

/* Qui je suis */
.about { display: grid; gap: 32px; }
@media (min-width: 900px) { .about { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.figures { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 24px; }
.figures div { font-size: 14px; color: var(--ink-muted); max-width: 160px; }
.figures strong { display: block; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 44px; color: var(--ink); }
.figures .fig-pre { display: block; font-size: 18px; line-height: 22px; }
.about p { font-size: 17px; line-height: 27px; }

/* Méthode */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: 16px; padding: 24px; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 44px; color: var(--accent); margin-bottom: 12px; }
.steps h3 { font-size: 18px; line-height: 24px; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; }

/* Posts */
.post { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.post:hover h3 { text-decoration: underline; }
.thumb { aspect-ratio: 16 / 9; background: var(--surface-tint); display: flex; align-items: center; justify-content: center; color: var(--ink-muted); font-size: 13px; }
.post .body { padding: 20px; }
.post h3 { font-size: 18px; line-height: 24px; margin: 0 0 8px; }
.post span { font-size: 14px; font-weight: 700; color: var(--link); }

/* Réserver */
.book { background: var(--brand); color: var(--on-brand); }
.book .wrap { padding-top: 64px; padding-bottom: 64px; text-align: center; }
.book h2 { color: var(--on-brand); font-size: 30px; line-height: 36px; margin: 0 0 12px; }
@media (min-width: 760px) { .book h2 { font-size: 40px; line-height: 46px; } }
.book p { color: #d9dcef; font-size: 18px; line-height: 28px; max-width: 560px; margin: 0 auto 28px; }
.btn-light { display: inline-block; background: var(--on-brand); color: var(--brand); text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 10px; }
.btn-light:hover { text-decoration: underline; color: var(--brand); }
.book .notice { font-size: 13px; line-height: 20px; color: #c9cde6; margin: 20px auto 0; }
.book a:focus-visible { outline-color: #ffffff; }

/* Pied de page */
.site-footer { background: var(--brand); color: #d9dcef; font-size: 13px; line-height: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; padding-bottom: 32px; }
.site-footer img { width: 24px; height: 30px; }
.site-footer p { margin: 0; }
.site-footer a { color: #ffffff; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.site-footer a:focus-visible { outline-color: #ffffff; }
.book .notice a { color: #ffffff; }

/* Accueil animé (repris du bloc Softr « Accueil animé ESTRYO ») */
.eh-wrap{overflow-x:clip;background:#f7f4ef;color:#1d1754;min-height:calc(100vh - 65px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:clamp(40px,10vh,110px) 16px 40px;text-align:center}
.eh-logo{width:min(250px,60vw);height:auto;display:block;overflow:visible}
.eh-logo .bar{opacity:0;animation:eh-bar 1.2s cubic-bezier(.2,.7,.2,1) both}
.eh-logo .b1{animation-delay:.2s}.eh-logo .b2{animation-delay:.5s}.eh-logo .b3{animation-delay:.8s}
.eh-logo .ltr{opacity:0;animation:eh-ltr .9s ease-out both}
.eh-logo .l1{animation-delay:8.3s}.eh-logo .l2{animation-delay:8.4s}.eh-logo .l3{animation-delay:8.5s}.eh-logo .l4{animation-delay:8.6s}.eh-logo .l5{animation-delay:8.7s}.eh-logo .l6{animation-delay:8.8s}
.eh-base{margin:36px 0 0 0;max-width:560px;text-wrap:balance;font-size:clamp(19px,4.4vw,26px);line-height:1.3;font-weight:800;letter-spacing:-.01em;color:#1d1754}
.eh-line{width:72px;height:1px;background:#1d1754;opacity:.35;margin:24px 0 20px 0;transform-origin:center;animation:eh-line .8s ease-out 7s both}
.eh-tag{max-width:540px;font-size:17px;line-height:27px;margin:0 0 20px 0;color:#1d1754}
.eh-w{display:inline-block;opacity:0;animation:eh-word 1.2s cubic-bezier(.2,.7,.2,1) var(--d) both}
.eh-next{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#1d1754;opacity:0;animation:eh-rise .8s ease-out 3.8s both}
@keyframes eh-bar{from{opacity:0;transform:translateX(-48px)}to{opacity:1;transform:none}}
@keyframes eh-ltr{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes eh-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes eh-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes eh-fadein{from{opacity:0}to{opacity:1}}
@keyframes eh-word{0%{opacity:0;transform:translate(calc(var(--wx)*1px),calc(var(--wy)*1px)) rotate(var(--wr)) scale(.9)}35%{opacity:.4}100%{opacity:1;transform:none}}
.eh-scene{position:relative;width:min(520px,92vw);height:520px;margin:8px 0 28px 0;overflow:hidden}
.eh-core{position:absolute;left:50%;top:250px;width:190px;height:190px;margin:-95px 0 0 -95px;border-radius:50%;z-index:0;border:3px solid #1d1754;background:radial-gradient(circle at 50% 50%,#b8b6f2 0 38%,rgba(184,182,242,.35) 39% 100%);animation:eh-fadein .5s ease-out .3s both,eh-core 12s ease-in-out .8s infinite}
.eh-core::before{content:"";position:absolute;inset:20px;border-radius:50%;border:2px dashed rgba(29,23,84,.5)}
.eh-core::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#1d1754}
@keyframes eh-core{0%,40%{transform:scale(1);box-shadow:0 0 0 0 rgba(184,182,242,0)}50%{transform:scale(1.1);box-shadow:0 0 0 12px rgba(184,182,242,.45)}60%{transform:scale(1.18);box-shadow:0 0 0 22px rgba(184,182,242,.35)}72%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(184,182,242,0)}}
.eh-fly{position:absolute;left:50%;top:250px;margin:-16px 0 0 -16px;width:32px;height:32px;border-radius:9px;background:#1d1754;border:1px solid #1d1754;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 0 0 2px #f7f4ef;transform:translate(calc(var(--ex)*1px),calc(var(--ey)*1px));animation:eh-fly 12s cubic-bezier(.4,0,.2,1) .8s infinite both}
@keyframes eh-fly{
0%{opacity:0;background:#f7f4ef;color:rgba(29,23,84,.55);border:1px dashed rgba(29,23,84,.45);transform:translate(calc(var(--sx)*1px),calc(var(--sy)*1px)) rotate(var(--sr)) scale(.9)}
6%{opacity:1;background:#f7f4ef;color:rgba(29,23,84,.55);border:1px dashed rgba(29,23,84,.45)}
24%{opacity:1;background:#f7f4ef;color:rgba(29,23,84,.55);border:1px dashed rgba(29,23,84,.45);transform:translate(calc(var(--ax)*1px),calc(var(--ay)*1px)) rotate(var(--ar)) scale(1)}
42%{opacity:1;background:#f7f4ef;color:rgba(29,23,84,.55);border:1px dashed rgba(29,23,84,.45);transform:translate(calc(var(--bx)*1px),calc(var(--by)*1px)) rotate(var(--br)) scale(1)}
52%{opacity:0;background:#f7f4ef;color:rgba(29,23,84,.55);border:1px dashed rgba(29,23,84,.45);transform:translate(0,0) rotate(0deg) scale(.2)}
60%{opacity:0;background:#1d1754;color:#fff;border:1px solid #1d1754;transform:translate(0,0) rotate(0deg) scale(.2)}
62%{opacity:1;background:#1d1754;color:#fff;border:1px solid #1d1754;transform:translate(0,0) rotate(0deg) scale(.5)}
74%,90%{opacity:1;background:#1d1754;color:#fff;border:1px solid #1d1754;transform:translate(calc(var(--ex)*1px),calc(var(--ey)*1px)) rotate(0deg) scale(1)}
97%{opacity:0;background:#1d1754;color:#fff;border:1px solid #1d1754;transform:translate(calc(var(--ex)*1px),calc(var(--ey)*1px)) rotate(0deg) scale(1)}
100%{opacity:0;background:#f7f4ef;color:rgba(29,23,84,.55);border:1px dashed rgba(29,23,84,.45);transform:translate(calc(var(--sx)*1px),calc(var(--sy)*1px)) rotate(var(--sr)) scale(.9)}}
.eh-sym{position:absolute;left:50%;top:250px;margin:-18px 0 0 -18px;width:36px;height:36px;border-radius:50%;background:#b8b6f2;color:#1d1754;display:flex;align-items:center;justify-content:center;z-index:1;transform:translate(0,248px);animation:eh-sym 12s ease-out .8s infinite both}
@keyframes eh-sym{0%,76%{opacity:0;transform:translate(0,258px)}84%,90%{opacity:1;transform:translate(0,248px)}97%,100%{opacity:0;transform:translate(0,248px)}}
@media (prefers-reduced-motion:reduce){.eh-logo .bar,.eh-logo .ltr,.eh-w,.eh-next{animation-name:eh-fadein}.eh-line{animation:none}.eh-fly,.eh-sym,.eh-core{animation:none}}
.posts { max-width: 760px; }
.post { margin: 0; padding: 0; }
.post video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: var(--surface-tint); }
.post figcaption { padding: 16px 20px; }
.post h3 { margin: 0; }
.small { font-size: 13px; line-height: 20px; } .muted { color: var(--ink-muted); }
section[id] { scroll-margin-top: 72px; }

/* Pages légales */
main.page { padding: 48px 0 64px; }
.display-xl { font-size: 32px; line-height: 38px; margin: 0 0 16px; }
@media (min-width: 760px) { .display-xl { font-size: 40px; line-height: 46px; } }
.prose { max-width: 720px; }
.prose h2, .prose-wide h2 { font-size: 22px; line-height: 28px; margin: 32px 0 8px; border-left: 4px solid #f2b84b; padding-left: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface-raised); margin: 8px 0 16px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; line-height: 20px; }
th { text-align: left; background: var(--surface-tint); font-size: 13px; line-height: 16px; font-weight: 700; padding: 10px 12px; }
td { padding: 10px 12px; border-top: 1px solid var(--hairline); vertical-align: top; }

/* Paragraphes justifiés (demande du 02/12) */
main p:not(.eyebrow):not(.screen-title):not(.eh-base):not(.eh-tag):not(.small),
.prose p, .prose-wide p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* Exceptions : colonnes étroites (cartes, étapes) et encadré centré */
.card p, .steps p, .book p { text-align: inherit; hyphens: manual; -webkit-hyphens: manual; }

/* Pied de page en colonnes (02/12) */
.site-footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: start; gap: 24px 32px; }
.site-footer .foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.site-footer .foot-brand strong { color: #ffffff; letter-spacing: .08em; }
.site-footer .foot-col { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.site-footer nav.foot-col { margin-left: 0; gap: 4px; }
.site-footer .foot-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9aa0c8; margin-bottom: 4px; }
@media (max-width: 760px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } .site-footer .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }

.site-footer .foot-copy { margin: 0 0 24px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; font-size: 12px; color: #9aa0c8; }
.site-footer .foot-grid { padding-bottom: 24px; }
.site-footer .foot-bottom { padding-top: 0; padding-bottom: 0; }
.site-footer .foot-copy { flex: 1 1 100%; }
.site-footer .foot-base { display: inline-block; margin-top: 6px; color: #9aa0c8; }

/* ajout 02/12 : hébergeurs côte à côte, pas de coupure */
.nw{white-space:nowrap}
.hosts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 1em}
.prose .hosts p.host, .hosts .host{text-align:left;hyphens:manual;-webkit-hyphens:manual;margin:0;background:#fff;border:1px solid #d9d2c5;border-radius:8px;padding:14px 16px}
@media (max-width:640px){.hosts{grid-template-columns:1fr}}
