.crumb{font-size:13px;color:var(--soft);letter-spacing:.04em}
.crumb b{font-weight:400;color:var(--ink)}

/* ---------- P8-1 hero ---------- */
.hero{position:relative;height:1080px;overflow:hidden}
.hero .cover{object-position:60% 45%}
.hero .sh{position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgb(var(--bg-rgb) / .55),rgb(var(--bg-rgb) / 0) 22%),linear-gradient(to top,rgb(var(--bg-rgb) / .6),rgb(var(--bg-rgb) / 0) 40%)}
.hero .panel{position:absolute;z-index:3;left:var(--edge);bottom:64px;width:820px;padding:48px 52px 44px;border-radius:28px;background:rgb(var(--bg-rgb) / .72);backdrop-filter:blur(14px);border:1px solid var(--hair)}
.hero h1{font-size:200px;line-height:.86;letter-spacing:-.03em;margin:22px 0 28px}
.hero .panel p{font-size:19px;line-height:1.55;color:var(--soft);max-width:600px}
.hero .meta{display:grid;grid-template-columns:1fr 1fr auto;gap:28px;align-items:center;margin-top:32px;padding-top:28px;border-top:1px solid var(--hair);font-size:15px}
.hero .meta span{color:var(--soft)}
.hero .meta b{display:block;font-weight:400;color:var(--ink);margin-top:4px}
.hero .meta .open::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:8px;vertical-align:2px}
.hero .tour{position:absolute;z-index:3;right:var(--edge);bottom:64px;display:flex;gap:10px}
.hero .tour div{width:170px;height:116px;border-radius:12px;overflow:hidden;position:relative;border:1px solid var(--hair)}
.hero .tour img{width:100%;height:100%;object-fit:cover}
.hero .tour span{position:absolute;left:10px;bottom:8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.hero .tour div.on{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- P8-2 approche ---------- */
.appr{background:var(--bg2);padding:120px var(--edge) 104px}
.appr .st{font-size:140px;line-height:.95;letter-spacing:-.03em}
.appr .row{display:grid;grid-template-columns:1fr 1fr;gap:96px;margin-top:56px;align-items:end}
.appr .row p{font-size:19px;line-height:1.6;color:var(--soft);max-width:640px}
.appr .row .sig{display:flex;align-items:center;gap:20px;justify-self:end}
.appr .row .sig div{width:120px;height:120px;border-radius:50%;overflow:hidden}
.appr .row .sig .mono{display:grid;place-items:center;background:var(--card);border:1px solid rgb(var(--accent-rgb) / .4);font-family:"Fraunces";font-style:italic;font-weight:300;font-size:60px;color:var(--accent)}
.appr .row .sig span{font-size:14px;color:var(--soft);line-height:1.5}
.appr .row .sig b{display:block;font-family:"Fraunces";font-weight:300;font-style:italic;font-size:26px;color:var(--ink)}
.prin{display:grid;grid-template-columns:repeat(3,1fr);margin-top:80px;border-top:1px solid var(--hair)}
.prin div{padding:44px 48px 0 0}
.prin div+div{padding-left:48px;border-left:1px solid var(--hair)}
.prin b{display:block;font-family:"Fraunces";font-weight:300;font-size:150px;line-height:.85;letter-spacing:-.03em;font-variation-settings:"SOFT" 100}
.prin b em{font-size:.36em;margin-left:10px;letter-spacing:0}
.prin h4{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:400;margin:28px 0 10px}
.prin p{font-size:17px;line-height:1.55;color:var(--soft);max-width:420px}

/* ---------- P8-3 équipe ---------- */
.team{padding:72px var(--edge) 104px;background:var(--bg)}
.team .head{display:flex;justify-content:space-between;align-items:end;margin-bottom:48px}
.team h2{font-size:96px;line-height:.98;letter-spacing:-.02em;margin-top:18px}
.team .head p{width:480px;font-size:17px;line-height:1.55;color:var(--soft)}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.pc{position:relative;height:620px;border-radius:300px 300px 24px 24px;overflow:hidden;border:1px solid var(--hair);background:linear-gradient(180deg,var(--arch-a) 0%,var(--arch-b) 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:36px 32px}
.pc .mono{position:absolute;top:120px;left:0;right:0;text-align:center;font-family:"Fraunces";font-weight:300;font-style:italic;font-size:220px;line-height:1;color:rgb(var(--accent-rgb) / .22)}
.pc .ph{position:absolute;top:44px;left:0;right:0;text-align:center;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--soft)}
.pc h3{font-family:"Fraunces";font-weight:300;font-size:38px;line-height:1;font-variation-settings:"SOFT" 100;position:relative}
.pc .role{font-size:14px;color:var(--soft);margin-top:8px;position:relative}
.pc .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:20px;position:relative}
.pc .tags span{border:1px solid rgb(var(--ink-rgb) / .25);border-radius:999px;padding:6px 12px;font-size:12px}
.pc .turn{position:absolute;right:28px;bottom:36px;width:44px;height:44px;border-radius:50%;border:1px solid rgb(var(--ink-rgb) / .35);display:grid;place-items:center;font-size:16px}
.pc.back{background:var(--btn-bg);color:var(--btn-fg);border-color:var(--btn-bg);justify-content:flex-start;padding:96px 32px 32px}
.pc.back small{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--label)}
.pc.back h3{font-size:40px;margin:10px 0 24px}
.pc.back dl{display:grid;grid-template-columns:auto 1fr;border-top:1px solid rgb(var(--inv-ink-rgb) / .15)}
.pc.back dt,.pc.back dd{padding:12px 0;border-bottom:1px solid rgb(var(--inv-ink-rgb) / .15);font-size:14px}
.pc.back dt{color:rgb(var(--inv-ink-rgb) / .6);padding-right:16px}
.pc.back dd{text-align:right}
.pc.back .bk{margin-top:auto;display:flex;justify-content:center;align-items:center;gap:10px;background:var(--bg);color:var(--ink);border-radius:999px;padding:18px;font-size:15px;font-weight:500}
.pc.more{display:none}
.team .note{margin-top:24px;font-size:13px;color:var(--soft)}

/* ---------- P8-4 hygiène ---------- */
.hyg{position:relative;background:var(--bg2);padding:80px var(--edge) 96px;overflow:hidden}
.hyg .bg{position:absolute;right:0;top:0;width:900px;height:100%;object-fit:cover;opacity:.18;-webkit-mask-image:linear-gradient(to left,#000,transparent);mask-image:linear-gradient(to left,#000,transparent)}
.hyg>*{position:relative}
.hyg h2{font-size:96px;line-height:.98;letter-spacing:-.02em;margin:18px 0 18px}
.hyg .lead{font-size:18px;line-height:1.55;color:var(--soft);max-width:640px}
.line{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:72px}
.line::before{content:"";position:absolute;left:0;right:0;top:44px;height:1px;background:rgb(var(--ink-rgb) / .2)}
.line::after{content:"";position:absolute;left:0;width:62%;top:43px;height:3px;background:var(--accent)}
.tstep{position:relative}
.tstep .ic{width:88px;height:88px;border-radius:50%;background:var(--card);border:1px solid rgb(var(--ink-rgb) / .3);display:grid;place-items:center;position:relative;z-index:2}
.tstep .ic svg{width:36px;height:36px}
.tstep.done .ic{border-color:var(--accent)}
.tstep small{display:block;margin-top:28px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.tstep h4{font-family:"Fraunces";font-weight:300;font-size:40px;font-variation-settings:"SOFT" 100;margin:8px 0 10px}
.tstep p{font-size:16px;line-height:1.55;color:var(--soft);max-width:340px}
.certs{display:grid;grid-template-columns:auto repeat(4,1fr);gap:16px;align-items:stretch;margin-top:80px;padding-top:40px;border-top:1px solid var(--hair)}
.certs>span{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--soft);align-self:center;padding-right:24px}
.cert{border:1px dashed rgb(var(--ink-rgb) / .3);border-radius:16px;padding:22px 24px;display:flex;align-items:center;gap:16px}
.cert i{flex:none;width:48px;height:48px;border-radius:50%;border:1px solid rgb(var(--accent-rgb) / .5);display:grid;place-items:center;font-style:normal;font-family:"Fraunces";font-size:18px;color:var(--accent)}
.cert b{display:block;font-weight:500;font-size:15px}
.cert span{font-size:13px;color:var(--soft)}

/* ---------- P8-5 journal + closer ---------- */
.jour{padding:72px var(--edge) 0;background:var(--bg)}
.jour .head{display:flex;justify-content:space-between;align-items:end;margin-bottom:44px}
.jour h2{font-size:96px;line-height:.98;letter-spacing:-.02em;margin-top:18px}
.arts{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:24px}
.art .im{position:relative;height:560px;border-radius:24px;overflow:hidden}
.art:not(:first-child) .im{height:440px}
.art .im .cover{object-position:50% 50%}
.art .im span{position:absolute;z-index:3;left:20px;top:20px;background:rgb(var(--bg-rgb) / .7);backdrop-filter:blur(6px);border-radius:999px;padding:8px 14px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.art h3{font-family:"Fraunces";font-weight:300;font-size:36px;line-height:1.1;font-variation-settings:"SOFT" 100;margin:24px 0 12px}
.art:first-child h3{font-size:46px}
.art p{font-size:15px;color:var(--soft);line-height:1.55}
.art .meta{display:flex;justify-content:space-between;margin-top:18px;padding-top:16px;border-top:1px solid var(--hair);font-size:13px;color:var(--soft)}
.art .meta b{font-weight:400;color:var(--ink)}
.close{position:relative;margin:96px var(--edge) 96px;height:520px;border-radius:28px;overflow:hidden}
.close .cover{object-position:50% 55%}
.close .sh{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgb(var(--bg-rgb) / .92) 0,rgb(var(--bg-rgb) / .5) 45%,rgb(var(--bg-rgb) / .1))}
.close .in{position:absolute;z-index:3;left:64px;top:0;bottom:0;display:flex;flex-direction:column;justify-content:center;max-width:820px}
.close h3{font-size:100px;line-height:.96;letter-spacing:-.025em;margin:18px 0 32px}
.close .acts{display:flex;gap:14px}
.close .addr{position:absolute;z-index:3;right:56px;bottom:48px;text-align:right;font-size:15px;color:var(--soft);line-height:1.7}
.close .addr b{display:block;font-family:"Fraunces";font-weight:300;font-size:30px;color:var(--ink)}

@media (max-width:1099.98px){
  .hero{height:844px}
  .hero .cover{object-position:70% 45%}
  .hero .panel{left:12px;right:12px;width:auto;bottom:12px;padding:28px 22px 24px;border-radius:20px}
  .hero h1{font-size:84px;margin:14px 0 16px}
  .hero .panel p{font-size:15px}
  .hero .meta{grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;padding-top:18px;font-size:13px}
  .hero .meta a{grid-column:1/-1;justify-content:center}
  .hero .tour{display:none}

  .appr{padding:64px var(--edge) 56px}
  .appr .st{font-size:54px}
  .appr .row{grid-template-columns:1fr;gap:28px;margin-top:28px}
  .appr .row p{font-size:16px}
  .appr .row .sig{justify-self:start}
  .appr .row .sig div{width:72px;height:72px}
  .prin{grid-template-columns:1fr;margin-top:40px}
  .prin div,.prin div+div{padding:28px 0;border-left:0;border-bottom:1px solid var(--hair)}
  .prin b{font-size:96px}
  .prin h4{margin:16px 0 8px}
  .prin p{font-size:15px}

  .team{padding:40px var(--edge) 56px}
  .team .head{display:block;margin-bottom:28px}
  .team h2{font-size:46px}
  .team .head p{width:auto;font-size:16px;margin-top:16px}
  .cards{grid-template-columns:1fr 1fr;gap:10px}
  .pc{height:330px;padding:18px 14px;border-radius:200px 200px 16px 16px}
  .pc .mono{top:58px;font-size:110px}
  .pc .ph{top:26px;font-size:9px}
  .pc h3{font-size:22px}
  .pc .role{font-size:12px;margin-top:4px}
  .pc .tags,.pc .ph,.pc .turn{display:none}
  .pc h3{font-size:19px}
  .cards .pc:nth-child(3),.cards .pc:nth-child(4){display:none}
  .pc.more{display:flex!important;justify-content:center;align-items:center;flex-direction:column;gap:8px;text-align:center;border-style:dashed}
  .pc.more b{font-family:"Fraunces";font-weight:300;font-size:56px;color:var(--accent)}
  .pc.more span{font-size:13px;color:var(--soft)}
  .pc .turn{width:32px;height:32px;right:12px;bottom:18px;font-size:13px}
  .pc.back{grid-column:1/-1;height:auto;border-radius:20px;padding:28px 22px 22px;order:-1}
  .pc.back h3{font-size:30px;margin:8px 0 16px}
  .pc.back .bk{margin-top:22px}

  .hyg{padding:48px var(--edge) 56px}
  .hyg .bg{width:100%;opacity:.12}
  .hyg h2{font-size:46px}
  .hyg .lead{font-size:16px}
  .line{grid-template-columns:1fr;gap:28px;margin-top:40px;padding-left:0}
  .line::before{left:32px;right:auto;top:0;bottom:0;width:1px;height:auto}
  .line::after{left:31px;top:0;width:3px;height:55%}
  .tstep{display:grid;grid-template-columns:64px 1fr;gap:0 18px}
  .tstep .ic{width:64px;height:64px;grid-row:1/4}
  .tstep .ic svg{width:28px;height:28px}
  .tstep small{margin-top:4px}
  .tstep h4{font-size:28px;margin:4px 0 6px}
  .tstep p{font-size:15px}
  .certs{grid-template-columns:1fr;margin-top:48px;padding-top:28px;gap:10px}
  .certs>span{padding:0 0 6px}

  .jour{padding:40px var(--edge) 0}
  .jour .head{display:block;margin-bottom:28px}
  .jour .head a{margin-top:20px}
  .jour h2{font-size:46px}
  .arts{grid-template-columns:1fr;gap:40px}
  .art .im,.art:not(:first-child) .im{height:300px;border-radius:18px}
  .art h3,.art:first-child h3{font-size:28px;margin:18px 0 10px}
  .close{margin:56px 12px 48px;height:560px;border-radius:20px}
  .close .sh{background:linear-gradient(to top,rgb(var(--bg-rgb) / .95) 0,rgb(var(--bg-rgb) / .4) 60%,rgb(var(--bg-rgb) / .2))}
  .close .in{left:20px;right:20px;top:auto;bottom:24px;max-width:none}
  .close h3{font-size:48px;margin-bottom:22px}
  .close .acts{flex-direction:column;align-items:stretch}
  .close .acts a{justify-content:center}
  .close .addr{left:20px;right:auto;top:24px;bottom:auto;text-align:left;font-size:13px}
  .close .addr b{font-size:22px}
}

/* ---------- light palettes: the flipped team card stays dark, so its accent uses the on-dark tone ---------- */
html:not([data-theme="matiere"]) .pc.back em{color:var(--inv-accent)}

/* ---------- interactions (clinique.js) ---------- */
.hero>img.cover{transition:opacity .26s}
.hero>img.cover.swap{opacity:.35}
.hero .tour div[role]{cursor:pointer;transition:transform .2s}
.hero .tour div[role]:not(.on):hover{transform:translateY(-3px)}
.pc[role]{cursor:pointer;transition:transform .2s cubic-bezier(.4,0,.2,1),opacity .2s}
.pc.flip{transform:perspective(1200px) rotateY(90deg);opacity:.4}
.pc[role]:not(.back):hover .turn{background:var(--ink);color:var(--bg)}
.pc .turn{transition:background .2s,color .2s}
.pc[role]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.pc.back .bk:hover{opacity:.9}
.line.live::after{width:var(--pw);transition:width .45s cubic-bezier(.2,.7,.2,1)}
.tstep[role]{cursor:pointer}
.tstep .ic{transition:border-color .25s,background .25s}
.tstep.now .ic{background:rgb(var(--accent-rgb) / .12)}
.tstep[role]:not(.now):hover h4{color:var(--accent)}
@media (max-width:1099.98px){
  .cards.all .pc:nth-child(3),.cards.all .pc:nth-child(4){display:flex}
  .cards.all .pc.more{display:none!important}
  .line.live::after{width:3px;height:var(--ph);transition:height .45s cubic-bezier(.2,.7,.2,1)}
}
@media (prefers-reduced-motion:reduce){.hero>img.cover,.pc[role],.line.live::after{transition:none}}

/* narrower desktops: the arch is narrower, so the portrait label wraps inside it */
@media (min-width:1100px) and (max-width:1599.98px){
  .pc .ph{left:18%;right:18%;line-height:1.5}
}

/* generated by build.py: fluid desktop between the tablet layout and 1920 */
@media (min-width:1100px) and (max-width:1919.98px){
.hero .panel{width:42.708vw}
.hero h1{font-size:max(124px, 10.417vw)}
.hero .panel p{max-width:31.25vw}
.hero .tour div{width:8.854vw}
.appr{padding:6.25vw var(--edge) 5.417vw}
.appr .st{font-size:max(86.8px, 7.292vw)}
.appr .row{gap:5vw}
.appr .row p{max-width:33.333vw}
.appr .row .sig .mono{font-size:max(37.2px, 3.125vw)}
.prin{margin-top:4.167vw}
.prin b{font-size:max(93px, 7.812vw)}
.prin p{max-width:21.875vw}
.team{padding:3.75vw var(--edge) 5.417vw}
.team h2{font-size:max(59.52px, 5vw)}
.team .head p{width:25vw}
.pc .mono{font-size:max(136.4px, 11.458vw)}
.pc.back{padding:5vw 32px 32px}
.hyg{padding:4.167vw var(--edge) 5vw}
.hyg .bg{width:46.875vw}
.hyg h2{font-size:max(59.52px, 5vw)}
.hyg .lead{max-width:33.333vw}
.line{margin-top:3.75vw}
.tstep p{max-width:17.708vw}
.certs{margin-top:4.167vw}
.jour{padding:3.75vw var(--edge) 0}
.jour h2{font-size:max(59.52px, 5vw)}
.close .in{max-width:42.708vw}
.close h3{font-size:max(62px, 5.208vw)}
}

/* generated by build.py: tablet display type */
@media (min-width: 768px) and (max-width:1099.98px){
.hero h1{font-size:calc(84px + (100vw - 768px) * 0.1313)}
.appr .st{font-size:calc(54px + (100vw - 768px) * 0.0844)}
.prin b{font-size:calc(96px + (100vw - 768px) * 0.1500)}
.team h2{font-size:calc(46px + (100vw - 768px) * 0.0719)}
.pc .mono{font-size:calc(110px + (100vw - 768px) * 0.1719)}
.pc.more b{font-size:calc(56px + (100vw - 768px) * 0.0875)}
.pc.back h3{font-size:calc(30px + (100vw - 768px) * 0.0469)}
.hyg h2{font-size:calc(46px + (100vw - 768px) * 0.0719)}
.tstep h4{font-size:calc(28px + (100vw - 768px) * 0.0437)}
.jour h2{font-size:calc(46px + (100vw - 768px) * 0.0719)}
.art h3,.art:first-child h3{font-size:calc(28px + (100vw - 768px) * 0.0437)}
.close h3{font-size:calc(48px + (100vw - 768px) * 0.0750)}
}
