/* sebastienagius.com — version 10
   A personal-brand site in the manner of jayroberts.com: one deep-navy surface from top to bottom, a warm
   golden light behind the portrait in the opening, a bold high-contrast serif for the name and the
   titles, a quiet grotesque for the text, small yellow capitals for the labels, and one yellow pill
   button everywhere a decision is asked for. Photographs are square-cornered and generous. */

@font-face{font-family:"Playfair Display";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/playfair-700.woff2) format("woff2")}
@font-face{font-family:"Playfair Display";font-style:italic;font-weight:900;font-display:swap;src:url(fonts/playfair-900-italic.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:200;font-display:swap;src:url(fonts/manrope-200.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/manrope-400.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/manrope-500.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:200;font-display:swap;src:url(fonts/inter-200.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-400.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-500.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-600.woff2) format("woff2")}

:root{
  --bg:#0f1620; --bg2:#161e2a; --bg3:#1c2634; --ink:#ffffff; --text:#c9c9c9; --muted:#8f8f8f; --line:rgba(255,255,255,.12); --line2:rgba(255,255,255,.2);
  --yellow:#e9c24d; --yellow-2:#f0cd63; --on-yellow:#111111;
  --display:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  --gap:clamp(72px,9vw,128px);
  --pad:clamp(20px,3.4vw,48px);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--bg)}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
p,h1,h2,h3,h4,ul,ol,dl,dd,figure{margin:0}
::selection{background:var(--yellow);color:var(--on-yellow)}
:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.wrap{max-width:1360px;margin-inline:auto;padding-inline:var(--pad)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:40;background:var(--yellow);color:var(--on-yellow);padding:10px 14px}

/* Type */
h1,h2,h3{font-family:var(--display);font-weight:700;color:var(--ink);text-wrap:balance;line-height:1.12;letter-spacing:-.005em}
h1{font-size:clamp(2.4rem,4.6vw,3.9rem);line-height:1.06}
h2{font-size:clamp(2rem,3.6vw,3rem);line-height:1.1}
h3{font-size:1.45rem;line-height:1.25}
h1 em,h2 em{font-style:italic;font-weight:900;color:var(--yellow-2)}
.label{display:inline-block;font-family:var(--sans);font-size:.6875rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--yellow)}
.mono{font-family:var(--sans)}
.br{font-size:.8125rem;color:var(--muted)}
.sq{display:flex;align-items:baseline;gap:8px;color:var(--muted);font-size:.8125rem}
.prose{display:flex;flex-direction:column;gap:18px;max-width:36em}
.prose p{color:var(--text)}
.lead{font-size:clamp(1rem,1.25vw,1.125rem);line-height:1.75;color:var(--text);max-width:34em}
.serif{font-family:var(--display);font-size:1.5rem;line-height:1.4;color:var(--ink)}

/* Links and buttons */
.more{display:inline-flex;align-items:center;gap:10px;font-size:.75rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--yellow);text-decoration:none}
.more::after{content:"→";font-size:1rem;letter-spacing:0;transition:transform .25s}
.more:hover::after{transform:translateX(4px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;font-family:var(--sans);font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;padding:17px 28px;border:1px solid var(--yellow);border-radius:999px;background:var(--yellow);color:var(--on-yellow);cursor:pointer;transition:background .25s,border-color .25s,transform .25s;white-space:nowrap}
.btn::after{content:"→";font-size:1.05rem;letter-spacing:0;line-height:1}
.btn:hover{background:var(--yellow-2);border-color:var(--yellow-2);transform:translateY(-1px)}
.btn.fill{background:var(--yellow);color:var(--on-yellow)}
.btn.ghost,.btn:not(.fill):not(.small){background:transparent;color:var(--ink);border-color:var(--line2)}
.btn.ghost:hover,.btn:not(.fill):not(.small):hover{background:rgba(255,255,255,.06);border-color:var(--ink)}
.btn.small{font-family:"Manrope",var(--sans);padding:12px 22px;font-size:.875rem;font-weight:500;letter-spacing:0;text-transform:none;background:transparent;color:var(--yellow);border-color:rgba(233,194,77,.75)}
.btn.small:hover{background:rgba(233,194,77,.1);border-color:var(--yellow)}
.btn.small::after{content:"↗";font-size:.95em}
.cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.after{margin-top:clamp(36px,4vw,56px)}

/* Header: transparent over the opening, dark and blurred once the page scrolls */
header.site{position:fixed;inset:0 0 auto 0;z-index:30;padding-top:env(safe-area-inset-top,0px);color:var(--ink);transition:background .35s,border-color .35s}
header.site.solid{background:rgba(15,22,32,.88);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
header.site .wrap{display:flex;align-items:center;gap:28px;height:72px;max-width:none}
.brand{font-family:var(--display);font-size:1.35rem;font-weight:700;letter-spacing:-.01em;text-decoration:none;color:var(--ink);white-space:nowrap;display:flex;align-items:baseline;gap:12px;line-height:1}
.hright{display:flex;align-items:center;gap:26px;margin-left:auto}
.brand span{display:none}
nav.main{display:flex;gap:30px;align-items:center;margin-left:auto}
nav.main .has-sub{position:relative;display:flex;align-items:center}
nav.main .navbtn{font-family:"Manrope",var(--sans);font-size:.95rem;font-weight:500;letter-spacing:0;text-transform:none;color:#d6d6d6;background:none;border:0;border-bottom:2px solid transparent;padding:8px 0;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:color .2s,border-color .2s}
nav.main .navbtn:hover,nav.main .has-sub.open .navbtn,nav.main .has-sub:hover .navbtn{color:var(--ink);border-bottom-color:var(--yellow)}
nav.main .has-sub.current .navbtn{color:var(--ink);border-bottom-color:var(--yellow)}
nav.main .navbtn svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
nav.main .has-sub.open .navbtn svg,nav.main .has-sub:hover .navbtn svg{transform:rotate(180deg)}
nav.main .sub{position:absolute;top:calc(100% + 8px);right:-14px;min-width:230px;display:none;flex-direction:column;background:rgba(15,22,32,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line2);padding:8px;z-index:40}
nav.main .sub::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
nav.main .has-sub:hover .sub,nav.main .has-sub.open .sub,nav.main .has-sub:focus-within .sub{display:flex}
nav.main .sub a{padding:12px 14px;border-bottom:0;font-size:.6875rem;letter-spacing:.18em;white-space:nowrap}
nav.main .sub a:hover,nav.main .sub a[aria-current="page"]{color:var(--ink);background:rgba(255,255,255,.06);border-bottom:0}
nav.main .sub a.ext{margin-top:6px;border-top:1px solid var(--line);padding-top:14px;color:var(--yellow)}
nav.main .sub a.ext::after{content:" ↗";font-size:.8em}
nav.main a{font-family:"Manrope",var(--sans);font-size:.95rem;font-weight:500;letter-spacing:0;text-transform:none;text-decoration:none;color:#d6d6d6;padding-block:8px;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
nav.main a:hover,nav.main a:focus-visible{color:var(--ink);border-bottom-color:var(--yellow)}
nav.main a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--yellow)}
.lang{font-size:.6875rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;text-decoration:none;color:var(--text)}
.lang:hover{color:var(--ink)}
.menu{display:none;width:40px;height:40px;border:0;background:transparent;color:inherit;cursor:pointer;padding:0;align-items:center;justify-content:center}
.menu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
@media (max-width:1180px){
  header.site .wrap{gap:18px}
  nav.main{gap:18px}
  nav.main a,nav.main .navbtn{letter-spacing:.14em}
  .btn.small{padding:10px 14px}
}
@media (max-width:900px){
  .menu{display:inline-flex}
  header.site .wrap{flex-wrap:wrap;height:auto;min-height:66px;gap:14px}
  header.site .btn{display:none}
  nav.main{display:none;order:5;flex-basis:100%;flex-direction:column;align-items:stretch;gap:0;padding:6px 0 18px}
  nav.main.open{display:flex}
  nav.main a{padding:14px 0;font-size:1rem;border-bottom:1px solid var(--line)}
  nav.main a[aria-current="page"]{border-bottom-color:var(--yellow)}
  nav.main{align-items:stretch}
  nav.main .has-sub{flex-direction:column;align-items:stretch}
  nav.main .navbtn{display:none}
  nav.main .sub{display:flex;position:static;min-width:0;background:none;border:0;padding:0;-webkit-backdrop-filter:none;backdrop-filter:none}
  nav.main .sub a{padding:14px 0;font-size:.8125rem;letter-spacing:.2em;border-bottom:1px solid var(--line);background:none}
  nav.main .sub a[aria-current="page"]{border-bottom-color:var(--yellow);background:none}
  nav.main .sub a.ext{margin-top:0;border-top:0;padding-top:14px}
}

/* Opening (home): one photograph, the subject in a warm studio light melting into the black of the page;
   the name, one sentence and one button sit on the dark left side */
.hero{position:relative;background:var(--bg);color:var(--text);overflow:hidden;isolation:isolate}
.hero.home{min-height:min(100svh,1000px);display:flex;flex-direction:column}
.hero.home .media{position:absolute;inset:0;z-index:-2;background:#0f1620}
.hero.home .media img{width:100%;height:100%;object-fit:cover;object-position:72% top}
.hero.home::after{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,rgba(15,22,32,.92) 0%,rgba(15,22,32,.62) 26%,rgba(15,22,32,.12) 50%,rgba(15,22,32,0) 62%),
  linear-gradient(180deg,rgba(15,22,32,.55) 0%,rgba(15,22,32,0) 22%,rgba(15,22,32,0) 66%,rgba(15,22,32,.7) 88%,#0f1620 100%)}
.hero.home .grid{position:relative;z-index:1;flex:1;width:100%;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;padding-top:72px}
/* a faint compass rose behind the opening text, and another in the footer */
.compass{position:absolute;z-index:0;pointer-events:none;color:#fff;opacity:.11;height:auto}
.hero.home .compass{left:-9%;bottom:-24%;width:min(60vw,820px)}
footer.site .compass{right:-5%;bottom:-32%;width:min(38vw,520px);opacity:.07}
@media (prefers-reduced-motion: no-preference){.hero.home .compass{animation:turn 240s linear infinite}}
@keyframes turn{to{transform:rotate(360deg)}}

.hero.home .over{display:flex;flex-direction:column;align-items:flex-start;gap:22px;max-width:720px;padding-block:clamp(40px,7vh,88px)}
.hero.home h1{margin-top:10px}
.hero.home .name{font-family:var(--display);font-style:italic;font-weight:900;font-size:clamp(3.6rem,8.6vw,8rem);line-height:.95;letter-spacing:-.02em;color:var(--ink)}
.hero.home .name span{color:var(--ink);font-style:normal;font-size:.55em;margin-left:.06em}
.hero.home .role{display:flex;align-items:center;gap:16px;font-family:var(--sans);font-size:.8125rem;font-weight:600;letter-spacing:.32em;text-transform:uppercase;color:var(--yellow);margin-top:-6px}
.hero.home .role::before{content:"";width:36px;height:1px;background:var(--yellow);flex:none}
.hero.home h1{font-family:"Manrope",var(--sans);font-weight:200;font-size:clamp(1.9rem,3.2vw,2.9rem);line-height:1.05;color:var(--ink);max-width:640px;letter-spacing:-.035em;margin-top:0}
.hero.home h1 .grey{color:#7c8392}
.hero.home .lead{color:#d6d6d6;max-width:30em}
.hero.home .cta{gap:28px}
@media (prefers-reduced-motion: no-preference){
  .hero .over>*{animation:rise 1s cubic-bezier(.2,.7,.2,1) both}
  .hero .over>:nth-child(2){animation-delay:.1s}.hero .over>:nth-child(3){animation-delay:.2s}.hero .over>:nth-child(4){animation-delay:.3s}.hero .over>:nth-child(5){animation-delay:.4s}
  .hero.home .media{animation:fade 1.6s both}
  .hero.page .media{animation:fade 1.2s .2s both}
}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@media (max-width:900px){
  .hero.home{min-height:0;display:block}
  .hero.home .media{position:relative;inset:auto;height:min(64svh,540px);margin-top:66px}
  .hero.home .media img{object-position:84% top}
  .hero.home::after{background:linear-gradient(180deg,rgba(15,22,32,.35) 0%,rgba(15,22,32,0) 18%,rgba(15,22,32,0) 44%,rgba(15,22,32,.2) 56%,#0f1620 64%)}
  .hero.home .grid{padding-top:0;margin-top:-16px}
  .hero.home .over{padding-block:0 32px;max-width:none}
  .hero.home .role{font-size:.75rem;letter-spacing:.22em;gap:12px}
  .hero.home .role::before{width:26px}
  .hero.home .compass{left:auto;right:-30%;bottom:-10%;width:min(90vw,420px);opacity:.09}
}

/* Opening (other pages): title on the left, photograph on the right */
.hero.page .grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(28px,5vw,80px);align-items:center;padding-top:72px}
.hero.page .over{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding-block:clamp(56px,8vw,112px) clamp(40px,6vw,88px)}
.hero.page h1{max-width:14em}
.hero.page .media{align-self:center;padding-block:clamp(0px,4vw,56px) clamp(40px,6vw,88px)}
.hero.page .media img{width:100%;aspect-ratio:5/4;object-fit:cover}
.hero.page .media.fade{padding-block:0 clamp(24px,4vw,56px);align-self:end;max-width:520px;justify-self:center;width:100%}
.hero.page .media.fade img{aspect-ratio:4/5}
.hero.plain .grid{grid-template-columns:1fr}
.hero.slim .over{padding-block:clamp(40px,6vw,80px) clamp(24px,4vw,48px)}
.hero.slim h1{font-size:clamp(2rem,3.4vw,2.9rem);max-width:18em}
.hero.plain .over{padding-bottom:clamp(32px,5vw,64px)}
.crumbs{display:flex;gap:12px;flex-wrap:wrap;list-style:none;padding:0;font-size:.6875rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--yellow)}
.crumbs a{text-decoration:none;color:var(--muted)}
.crumbs a:hover{color:var(--ink)}
.crumbs li+li::before{content:"/";margin-right:12px;color:var(--muted)}
@media (max-width:860px){
  .hero.page .grid{grid-template-columns:1fr;gap:0}
  .hero.page .over{padding-block:clamp(40px,8vw,72px) 28px}
  .hero.page .media{padding:0 0 40px}
  .hero.page .media img{aspect-ratio:3/2}
  .hero.page .media.fade{width:min(84%,420px);margin-inline:auto;padding-bottom:0}
  .hero.page .media.fade img{aspect-ratio:4/5}
}
/* facts rail at the foot of an opening */
.rail{display:flex;flex-wrap:wrap;gap:16px 0;border-top:1px solid var(--line);padding:clamp(22px,2.8vw,34px) var(--pad);width:100%;max-width:1360px;margin-inline:auto}
#parcours .rail{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:8px 0 6px;padding:20px 0;max-width:none}#parcours .rail b{font-size:1.15rem}#parcours .rail div{flex:1 1 120px;padding-right:16px}#parcours .rail .br{font-size:.75rem}#parcours .rail div+div{padding-left:18px}
.rail div{flex:1 1 220px;display:flex;flex-direction:column;gap:4px;padding:0 28px 0 0;min-width:0}
.rail div+div{border-left:1px solid var(--line);padding-left:28px}
.rail b{font-family:var(--display);font-weight:700;font-size:1.3rem;line-height:1.2;color:var(--ink)}
.rail .br{color:var(--muted)}
@media (max-width:760px){.rail{flex-direction:column;gap:14px}.rail div{flex:none;padding:0}.rail div+div{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:14px}}

/* Statement */
.statement{padding-block:var(--gap);text-align:center}
.statement .wrap{display:flex;flex-direction:column;align-items:center;gap:18px}
.statement .big{font-family:var(--display);font-weight:700;font-size:clamp(1.6rem,2.6vw,2.3rem);line-height:1.35;color:var(--ink);max-width:26em}

/* Sections */
section{padding-block:var(--gap);border-top:1px solid var(--line)}
section.flush{padding-top:0;border-top:0}
section.soft,section.band{background:var(--bg)}
.head{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:clamp(36px,4.5vw,60px);max-width:40em}
.head h2{max-width:14em}
.head p:not(.label){max-width:32em;color:var(--text)}
.head.center{align-items:flex-start;text-align:left;margin-inline:0}
.head.row{max-width:none;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:32px}
.head.row>div{display:flex;flex-direction:column;gap:18px;max-width:40em}
@media (max-width:760px){.head.row{flex-direction:column;align-items:flex-start}}

/* Photograph tiles with a serif caption */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(28px,3.5vw,48px) clamp(16px,2vw,28px);counter-reset:t}
.tiles.three{grid-template-columns:repeat(3,1fr)}
.tile{text-decoration:none;display:flex;flex-direction:column;gap:12px;min-width:0;counter-increment:t}
.tile .ph{position:relative;overflow:hidden;background:var(--bg2);aspect-ratio:4/5}
.tiles.three .tile .ph{aspect-ratio:3/2}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.4s cubic-bezier(.2,.7,.2,1),opacity .4s}
.tile:hover img{transform:scale(1.04)}
.tile .tag{font-size:.6875rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--yellow);margin-top:6px}
.tile .tag::before{content:counter(t,decimal-leading-zero) "  —  "}
.tile h3{font-size:1.4rem;color:var(--ink)}
.tile p{font-size:.9375rem;color:var(--text)}
.tile .more{margin-top:auto;padding-top:4px}
@media (prefers-reduced-motion: reduce){.tile img{transition:none}}
@media (max-width:1100px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.tiles.three{grid-template-columns:1fr}}
@media (max-width:560px){.tiles{grid-template-columns:1fr}.tile .ph{aspect-ratio:3/2}}

/* Feature: photograph on one side, text on the other */
.split{display:grid;grid-template-columns:5fr 7fr;gap:clamp(36px,6vw,100px);align-items:center}
.split.rev{grid-template-columns:7fr 5fr}
.split.even{grid-template-columns:1fr 1fr}
.split.top{align-items:start}
.split>*{min-width:0}
.split .text{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.split .text>p:not(.label){max-width:32em;color:var(--text)}
.split .text h2{max-width:13em}
.shot{overflow:hidden;background:var(--bg2)}
.shot img{width:100%;object-fit:cover}
.shot.tall img{aspect-ratio:4/5}
.shot.wide img{aspect-ratio:4/3}
.shot figcaption{padding:12px 0 0}
@media (max-width:860px){.split,.split.rev,.split.even{grid-template-columns:1fr}.shot.tall{max-width:520px}}
.rows{width:100%}
.rows div{display:flex;justify-content:space-between;gap:24px;padding:14px 0;border-top:1px solid var(--line);font-size:.9375rem}
.rows div:last-child{border-bottom:1px solid var(--line)}
.rows dt{font-weight:600;color:var(--ink);flex:none}
.rows dd{text-align:right;color:var(--muted)}

/* Stats list (figures with their caption on the right) */
.stats{display:grid;grid-template-columns:5fr 7fr;gap:clamp(36px,6vw,100px);align-items:start}
.stats>*{min-width:0}
.stats .text{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.stats .figs{display:flex;flex-direction:column;gap:0}
.stats .figs>div{display:grid;grid-template-columns:1fr auto;grid-template-areas:"num what" "num src";column-gap:24px;row-gap:2px;align-items:center;padding:22px 0;border-top:1px solid var(--line)}
.stats .figs>div:last-child{border-bottom:1px solid var(--line)}
.stats .figs .num{grid-area:num;font-family:var(--sans);font-weight:600;font-size:clamp(2rem,3.4vw,3rem);line-height:1;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.stats .figs .what{grid-area:what;text-align:right;color:var(--text);font-size:.9375rem;max-width:22em}
.stats .figs .sq{grid-area:src;justify-content:flex-end;font-size:.75rem}
@media (max-width:860px){.stats{grid-template-columns:1fr;gap:36px}}

/* Trio */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:40px clamp(24px,4vw,64px);counter-reset:v}
.trio div{display:flex;flex-direction:column;gap:12px;min-width:0;border-top:1px solid var(--line2);padding-top:22px;counter-increment:v}
.trio div::before{content:counter(v,decimal-leading-zero);font-size:.6875rem;font-weight:600;letter-spacing:.22em;color:var(--yellow)}
.trio h3{font-size:1.5rem}
.trio p{max-width:26em;font-size:.9375rem}
@media (max-width:860px){.trio{grid-template-columns:1fr}}

/* Steps */
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:40px clamp(18px,2.4vw,36px);counter-reset:s}
.steps.six,.steps.three{grid-template-columns:repeat(3,1fr)}
.steps.five{grid-template-columns:repeat(5,1fr)}
.steps li{counter-increment:s;border-top:1px solid var(--line2);padding:20px 12px 0 0;display:flex;flex-direction:column;gap:8px;min-width:0}
.steps li::before{content:counter(s,decimal-leading-zero);font-size:.6875rem;font-weight:600;letter-spacing:.22em;color:var(--yellow);margin-bottom:4px}
.steps h3{font-size:1.3rem}
.steps p{font-size:.9375rem;color:var(--text)}
@media (max-width:1100px){.steps.five{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.steps,.steps.six,.steps.five{grid-template-columns:repeat(2,1fr)}}
@media (max-width:540px){.steps,.steps.six,.steps.five,.steps.three{grid-template-columns:1fr;gap:28px}}

/* Intro + key facts */
.intro{display:grid;grid-template-columns:7fr 5fr;gap:clamp(36px,7vw,120px);align-items:start}
.intro>*{min-width:0}
.prose p:first-child{font-family:var(--display);font-weight:700;font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.35;color:var(--ink)}
.keys{border:1px solid var(--line);padding:clamp(24px,3vw,40px);background:var(--bg2)}
.keys h2{font-family:var(--sans);font-size:.6875rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--yellow);margin-bottom:12px}
.keys .rows dd{max-width:17em}
@media (max-width:860px){.intro{grid-template-columns:1fr}}

/* Scope grid */
.scope{display:grid;grid-template-columns:repeat(3,1fr);gap:40px clamp(18px,2.4vw,36px)}
.scope div{display:flex;flex-direction:column;gap:8px;min-width:0;border-top:1px solid var(--line2);padding:20px 16px 0 0}
.scope h3{font-size:1.3rem}
.scope p{font-size:.9375rem;color:var(--text)}
.scope a{color:var(--yellow);text-underline-offset:4px}
@media (max-width:900px){.scope{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.scope{grid-template-columns:1fr;gap:28px}}

/* FAQ */
.faq{max-width:52em;border-top:1px solid var(--line2)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:22px 48px 22px 0;position:relative;font-family:var(--display);font-size:1.3rem;font-weight:700;line-height:1.3;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before,.faq summary::after{content:"";position:absolute;right:6px;top:50%;width:16px;height:2px;background:var(--yellow);transition:transform .35s}
.faq summary::after{transform:rotate(90deg)}
.faq details[open] summary::after{transform:rotate(0)}
.faq details p{color:var(--text);padding-bottom:24px;max-width:40em;font-size:.9375rem}

/* Contact */
.panel{display:grid;grid-template-columns:5fr 7fr;gap:clamp(32px,5vw,96px)}
.panel>*{min-width:0}
.panel .side{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.panel .side>p:not(.label):not(.br){font-size:1.0625rem;max-width:26em}
.mail{font-size:1rem;color:var(--ink);text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--yellow);overflow-wrap:anywhere}
form.req,form.est{display:grid;grid-template-columns:1fr 1fr;gap:22px 22px}
form.req .full,form.est .full{grid-column:1/-1}
form.req label,form.req legend,form.est label,form.est legend{display:block;font-size:.6875rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;padding:0}
fieldset{border:0;margin:0;padding:0;min-width:0}
form.req legend,form.est legend{margin-bottom:12px}
.pf{display:none;grid-template-columns:1fr 1fr;gap:22px}
.pf.on{display:grid}
.pf>.full,.pf>.wide{grid-column:1/-1}
form.req .q.miss legend,form.req .q.miss label:not(.chips label),form.est .q.miss legend,form.est .q.miss label:not(.chips label){color:var(--yellow)}
form.req .q.miss .chips label,form.est .q.miss .chips label{border-color:var(--yellow)}
form.req .q.miss input[type=text],form.est .q.miss input[type=text]{border-color:var(--yellow)}
@media (max-width:560px){.pf{grid-template-columns:1fr}}
input[type=text],input[type=email],input[type=tel],input[type=number],textarea{width:100%;font:inherit;font-size:1rem;color:var(--ink);background:var(--bg2);border:1px solid var(--line2);border-radius:3px;padding:14px 16px;transition:border-color .2s}
input::placeholder,textarea::placeholder{color:var(--muted)}
input:focus,textarea:focus{outline:0;border-color:var(--yellow)}
textarea{min-height:120px;resize:vertical}
.chips{display:flex;flex-wrap:wrap;gap:8px}
form.req .chips label,form.est .chips label{margin:0;font-size:.6875rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);background:var(--bg2);border:1px solid var(--line2);border-radius:999px;padding:11px 16px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
form.req .chips label:hover,form.est .chips label:hover{border-color:var(--ink)}
.chips input{position:absolute;opacity:0;pointer-events:none}
form.req .chips label:has(input:checked),form.est .chips label:has(input:checked){background:var(--yellow);color:var(--on-yellow);border-color:var(--yellow)}
.chips label:has(input:focus-visible){outline:2px solid var(--yellow);outline-offset:2px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.note{font-size:.8125rem;color:var(--muted);line-height:1.6}
.send{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.status{border-left:2px solid var(--yellow);padding:4px 0 4px 14px;font-size:.9375rem;color:var(--ink)}
@media (max-width:960px){.panel{grid-template-columns:1fr}}
@media (max-width:560px){form.req{grid-template-columns:1fr}}

/* Legal */
.legal{max-width:40em;display:flex;flex-direction:column;gap:16px}
.legal h2{font-size:1.6rem;margin-top:28px}
.legal p{color:var(--text);font-size:.9375rem}
/* Lexique : mêmes réglages que les mentions légales, chaque terme dans sa propre section ancrée (#terme) */
.glossary{max-width:44em}.glossary .lede{font-size:1.0625rem;color:var(--ink)}.glossary .term{padding:0;border:0;margin:0}
.glossary .term h2{font-size:1.35rem;margin-top:22px;scroll-margin-top:90px}.glossary .term p a{color:var(--ink)}

/* Footer */
footer.site{position:relative;background:var(--bg);color:var(--text);font-size:.9375rem;line-height:1.75;border-top:1px solid var(--line);overflow:hidden}
footer.site .wrap{position:relative;z-index:1}
footer.site .sign{font-family:var(--display);font-weight:700;font-size:clamp(1.4rem,2.2vw,1.9rem);line-height:1.35;color:var(--ink);max-width:24em;padding-top:clamp(48px,6vw,80px);padding-bottom:clamp(32px,4vw,56px)}
footer.site .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:32px 24px;padding-block:8px 48px}
footer.site .cols>div{display:flex;flex-direction:column;gap:8px;min-width:0}
footer.site h2{font-family:var(--sans);font-size:.6875rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
footer.site a{text-decoration:none;color:var(--text)}
footer.site a:hover{color:var(--ink)}
footer.site .brand{color:var(--ink);font-size:1.2rem;margin:0 0 10px}
footer.site .cols p{max-width:28em;color:var(--muted)}
footer.site .base{display:flex;flex-wrap:wrap;gap:8px 28px;padding-block:22px 40px;border-top:1px solid var(--line);font-size:.75rem;color:var(--muted)}
@media (max-width:860px){footer.site .cols{grid-template-columns:1fr 1fr}}
@media (max-width:480px){footer.site .cols{grid-template-columns:1fr}}

/* Video cards (advice) */
.vcards{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(28px,3.5vw,48px) clamp(16px,2vw,28px)}
.vcards.five{grid-template-columns:repeat(5,1fr)}
.vcard{text-decoration:none;display:flex;flex-direction:column;gap:10px;min-width:0}
.vcard .ph,.article aside .ph,.ycard .ph{position:relative;display:block;overflow:hidden;background:var(--bg2)}
.vcard .ph{margin-bottom:4px}
.vcard img,.article aside img{width:100%;aspect-ratio:9/16;object-fit:cover;transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.vcard:hover img,.ycard .ph:hover img,.article aside .ph:hover img{transform:scale(1.04)}
.play{position:absolute;left:14px;bottom:14px;width:42px;height:42px;border-radius:50%;background:var(--yellow);display:flex;align-items:center;justify-content:center}
.play::before{content:"";border-left:11px solid #111;border-top:7px solid transparent;border-bottom:7px solid transparent;margin-left:4px}
.vcard .br{font-size:.6875rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--yellow)}
.vcard h3{font-size:1.2rem;line-height:1.3}
.vcard .more{margin-top:auto}
@media (max-width:1200px){.vcards.five{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.vcards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){.vcards.five{grid-template-columns:repeat(2,1fr)}.vcard h3{font-size:1.05rem}}

/* Yacht cards */
.ycards{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(36px,5vw,64px) clamp(20px,3vw,40px)}
.ycard{position:relative;min-width:0;display:flex;flex-direction:column;gap:14px}
.ycard img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.ycard .text{display:flex;flex-direction:column;gap:8px;min-width:0}
.ycard .meta{display:flex;justify-content:space-between;gap:4px 16px;align-items:baseline;flex-wrap:wrap}
.ycard .meta b{font-size:.6875rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--yellow)}
.ycard .meta span{font-size:.8125rem;color:var(--muted)}
.ycard h3{font-size:1.7rem;line-height:1.15}
.ycard .model{font-size:.9375rem;color:var(--text)}
.ycard .specs{display:flex;align-items:center;gap:12px;font-size:.875rem;color:var(--muted);text-decoration:none;margin-top:4px}
.ycard .specs::after{content:"→";color:var(--yellow);font-size:1.1rem;margin-left:auto}
.fine{font-size:.8125rem;color:var(--muted);max-width:50em;margin-top:clamp(24px,3vw,40px)}
@media (max-width:860px){.ycards{grid-template-columns:1fr}}

/* Article and yacht detail */
.article{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:clamp(36px,7vw,120px);align-items:start}
.article aside{display:flex;flex-direction:column;gap:16px;align-items:stretch;position:sticky;top:calc(92px + env(safe-area-inset-top,0px))}
.article aside .ph{width:100%}.article aside .when{margin-top:-6px;text-align:center}
.article aside .btn{min-width:0}
.prose.long{max-width:38em;gap:20px}
.prose.long .lede{font-family:var(--display);font-weight:700;font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.35;color:var(--ink)}
.prose.long p:first-child:not(.lede){font:inherit;color:inherit}
.prose.long h2{font-size:1.7rem;margin-top:14px}
.prose.long ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.prose.long li{position:relative;padding-left:28px}
.prose.long li::before{content:"—";position:absolute;left:0;top:0;color:var(--yellow)}
.prose.long a:not(.btn):not(.more){color:var(--ink);text-underline-offset:4px;text-decoration-color:var(--yellow)}
.takeaway{border-top:1px solid var(--yellow);border-bottom:1px solid var(--line);padding:22px 0;margin-top:10px;display:flex;flex-direction:column;gap:10px}
.takeaway p:last-child{font-family:var(--display);font-weight:700;font-size:1.35rem;line-height:1.4;color:var(--ink)}
.prose.long .cta{gap:20px;margin-top:6px}
.prose.long .rows{margin-top:-4px}
@media (max-width:860px){.article{grid-template-columns:1fr}.article aside{position:static;max-width:300px}}

/* Market figures (grid version, on the intelligence page) */
.figs{display:grid;grid-template-columns:repeat(3,1fr);gap:44px clamp(18px,2.4vw,36px)}
.figs.four{grid-template-columns:repeat(4,1fr)}
.figs.two{grid-template-columns:repeat(2,1fr)}
.figs>div{border-top:1px solid var(--line2);padding:24px 12px 0 0;display:flex;flex-direction:column;gap:12px;min-width:0}
.figs .num{font-family:var(--sans);font-weight:600;font-size:clamp(2.4rem,4vw,3.6rem);line-height:1;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.figs .what{max-width:19em;color:var(--text);font-size:.9375rem;line-height:1.5}
.figs .sq{margin-top:auto;padding-top:6px;font-size:.75rem}
@media (max-width:1000px){.figs.four{grid-template-columns:repeat(2,1fr)}}
@media (max-width:820px){.figs{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.figs,.figs.four,.figs.two{grid-template-columns:1fr;gap:28px}}

/* Single-series bars */
.chart{width:100%;min-width:0}
.chart figcaption{padding-top:16px}
.bars{width:100%;border-collapse:collapse}
.bars caption{caption-side:top;text-align:left;font-size:.6875rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--yellow);padding-bottom:16px}
.bars tr{border-top:1px solid var(--line)}
.bars tr:last-child{border-bottom:1px solid var(--line)}
.bars th{font-size:.9375rem;font-weight:400;text-align:left;color:var(--text);padding:13px 16px 13px 0;width:34%}
.bars .track{padding:0;width:auto}
.bars .track span{display:block;height:6px;min-width:6px;background:rgba(255,255,255,.55)}
.bars tr.hi .track span{background:var(--yellow)}
.bars .val{font-size:.875rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);text-align:right;padding-left:16px;white-space:nowrap;width:1%}
.bars tr.hi th,.bars tr.hi .val{color:var(--ink)}
.bars tr:hover .track span{opacity:.8}
@media (max-width:520px){.bars th{width:44%;padding-right:10px}}

/* Sources */
.sources{list-style:none;padding:0;max-width:62em;border-top:1px solid var(--line2)}
.sources li{display:flex;justify-content:space-between;align-items:center;gap:16px 36px;padding:18px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.sources div{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 20em}
.sources b{font-family:var(--display);font-weight:700;font-size:1.2rem;color:var(--ink)}
.sources span{font-size:.8125rem;color:var(--muted)}

/* Scroll reveal */
html.js .rv{opacity:0;transform:translateY(22px);transition:opacity 1s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1)}
html.js .rv.in{opacity:1;transform:none}

/* 03/11 : police du menu et du titre d'ouverture comme jayroberts.com (Montserrat fin, capitales espacées) ; nom un peu plus petit */
@font-face{font-family:"Montserrat";font-weight:100 900;font-display:swap;src:url(fonts/montserrat-latin.woff2) format("woff2")}
nav.main a,nav.main .navbtn{font-family:"Montserrat",var(--sans);font-weight:300;font-size:.8125rem;letter-spacing:.22em;text-transform:uppercase;color:#e6e6e6}
.btn.small{font-family:"Montserrat",var(--sans);font-weight:400;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase}
.hero.home h1{font-family:"Montserrat",var(--sans);font-weight:200;font-size:clamp(1.5rem,2.3vw,2.1rem);letter-spacing:.02em;line-height:1.25}
.hero.home .name{font-size:clamp(3.2rem,7.4vw,6.9rem)}
@media (max-width:900px){nav.main a{font-size:.9rem;letter-spacing:.2em}}

/* 03/11 : photo du Lamborghini 63 en arrière-plan de l'ouverture (essai v2 validé) */
.hero.home .media img{object-position:50% 50%}
.hero.home::after{background:linear-gradient(90deg,rgba(15,22,32,.92) 0%,rgba(15,22,32,.7) 24%,rgba(15,22,32,.25) 42%,rgba(15,22,32,0) 55%),linear-gradient(180deg,rgba(15,22,32,.45) 0%,rgba(15,22,32,0) 22%,rgba(15,22,32,0) 62%,rgba(15,22,32,.7) 86%,#0f1620 100%)}
@media (max-width:900px){.hero.home .media img{object-position:46% 50%}.hero.home::after{background:linear-gradient(180deg,rgba(15,22,32,.35) 0%,rgba(15,22,32,0) 20%)}.hero.home .grid{margin-top:0;padding-top:22px}}

form.est input[type=number]{-moz-appearance:textfield}form.est input::-webkit-outer-spin-button,form.est input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* 03/11 : page Estimation — une question par écran, résultat puis rappel */
/* Estimation : cinq écrans, question à gauche, saisie à droite (structure smartyachts.com) */
.acc{font-style:italic;font-weight:900;color:var(--yellow)}
.wizard{border-bottom:1px solid var(--line);padding:0 0 clamp(28px,5vw,64px);min-height:300px}
.wizard .step,.wizard .result{display:grid;grid-template-columns:5fr 6fr;gap:clamp(32px,6vw,96px);align-items:start}
.wizard .step[hidden],.wizard .result[hidden],.wizard form[hidden],.wizard [hidden]{display:none}
.wizard .ask .sq{display:flex;align-items:center;gap:18px;margin:0 0 18px}
.wizard .seg{display:flex;gap:6px;flex:1;max-width:260px}.wizard .seg i{display:block;height:2px;flex:1;background:var(--line2)}.wizard .seg i.done{background:rgba(233,194,77,.45)}.wizard .seg i.on{background:var(--yellow)}
.wizard .ask h2{font-size:clamp(2.1rem,4.4vw,3.6rem);line-height:1.05;letter-spacing:-.01em;margin:0 0 18px;color:var(--ink)}
.wizard .hint{color:var(--text);font-size:1.0625rem;line-height:1.65;margin:0;max-width:34ch}
.wizard .input{display:flex;flex-direction:column;gap:22px;padding-top:6px}
.wizard .vh{position:absolute;left:-9999px}
.wizard input.line{background:none;border:0;border-bottom:1px solid var(--yellow);border-radius:0;padding:10px 0 14px;font-family:var(--display);font-size:clamp(1.6rem,3.4vw,2.6rem);font-weight:400;color:var(--ink)}
.wizard input.line::placeholder{color:rgba(255,255,255,.32)}
.wizard .try{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}.wizard .try .br{margin-right:8px}
.wizard .eg{font:inherit;font-size:.875rem;color:var(--ink);background:var(--bg2);border:1px solid var(--line2);border-radius:999px;padding:8px 16px;cursor:pointer;transition:border-color .2s}.wizard .eg:hover{border-color:var(--yellow)}
.wizard .nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:8px}
.wizard .nav .more,.wizard .back{cursor:pointer;background:none;border:0;padding:0;font:inherit}
.wizard .btn:disabled{opacity:.35;cursor:not-allowed}
.wizard .found{margin:0;font-size:.9375rem;color:var(--text);padding-left:16px;position:relative}.wizard .found::before{content:"";position:absolute;left:0;top:.5em;width:7px;height:7px;border-radius:50%;background:var(--yellow)}
.wizard .big{display:flex;align-items:baseline;gap:12px}.wizard .big output{font-family:var(--display);font-size:clamp(4rem,9vw,7.5rem);font-weight:700;line-height:1;color:var(--ink);letter-spacing:-.02em}
.wizard .big .unit{font-family:var(--display);font-size:1.6rem;color:var(--yellow)}.wizard .big .ft{margin-left:auto;font-size:.875rem;color:var(--muted)}
.wizard input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:2px;background:linear-gradient(90deg,var(--yellow) var(--p,30%),var(--line2) var(--p,30%));border:0;margin:10px 0 0;cursor:pointer}
.wizard input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:var(--yellow);border:4px solid var(--bg);box-shadow:0 0 0 1px var(--yellow)}
.wizard input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--yellow);border:4px solid var(--bg);box-shadow:0 0 0 1px var(--yellow)}
.wizard .scale{display:flex;justify-content:space-between;margin:0;font-size:.6875rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.wizard .year{display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(28px,4vw,44px) 24px;border:1px solid var(--yellow);background:rgba(233,194,77,.06)}
.wizard .year input{width:5ch;text-align:center;background:none;border:0;border-bottom:1px solid rgba(233,194,77,.5);border-radius:0;padding:0 0 6px;font-family:var(--display);font-size:clamp(3.4rem,7vw,5.6rem);font-weight:700;color:var(--ink);letter-spacing:.02em}
.wizard .year input::placeholder{color:rgba(255,255,255,.22);font-weight:400}
.wizard .refit{display:flex;flex-direction:column;gap:14px}.wizard .refit .q{margin:0;color:var(--ink);font-size:1.0625rem}
.wizard .chips.big label,.wizard .chips.cab label{font-size:.75rem;padding:16px 22px}
.wizard .chips.cab{gap:10px}.wizard .chips.cab label{min-width:64px;text-align:center;font-family:var(--display);font-size:1.4rem;font-weight:400;letter-spacing:0;padding:16px 0;border-radius:3px}
.wizard .refit-year{max-width:200px}
.wizard .field{display:flex;flex-direction:column}.wizard .field label i{font-style:normal;text-transform:none;letter-spacing:0;color:var(--muted)}
.wizard .field.miss label{color:var(--yellow)}.wizard .field.miss input{border-color:var(--yellow)}
.wizard .consent{margin:0}
.wizard .result .figs{gap:18px 24px}.wizard .result .num{font-size:clamp(1.8rem,3vw,2.6rem)}
.wizard .result .est-ask{font-family:var(--display);font-size:1.3rem;color:var(--ink);margin:0}
.wizard .result .est-why{display:flex;flex-direction:column;gap:6px;font-size:.9375rem;color:var(--text)}.wizard .result .est-why p{margin:0 0 4px;color:var(--muted);font-size:.6875rem;letter-spacing:.16em;text-transform:uppercase}.wizard .result .est-why b{color:var(--ink);font-weight:600}
.wizard .result .est-sent{margin:0;padding:18px 20px;border-left:2px solid var(--yellow);background:rgba(233,194,77,.06);color:var(--ink)}
#est-restart{cursor:pointer;background:none;border:0;padding:0;align-self:flex-start;font:inherit}
.wizard form.est{display:block}.wizard form.est[hidden]{display:none}
.wizard .step .ask h2 .acc{font-family:var(--display)}
.hero.page .cta .note{align-self:center}
@media (max-width:900px){.wizard .step,.wizard .result{grid-template-columns:1fr;gap:28px}.wizard .hint{max-width:none}.wizard .big .ft{margin-left:12px}}
@media (max-width:560px){.wizard .nav{flex-wrap:wrap}.wizard .chips.cab label{min-width:52px}}
.wizard .back::after{content:none}.wizard .back{color:var(--muted)}.wizard .back:hover{color:var(--ink)}
/* Tableau de bord du marché (accueil) */
.stats{grid-template-columns:4fr 8fr}@media (max-width:860px){.stats{grid-template-columns:1fr}}
.board{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bcard{background:var(--bg2);border:1px solid var(--line);border-radius:10px;padding:22px 24px;display:flex;flex-direction:column;gap:6px;min-width:0}
.bcard.wide{grid-column:1/-1}
.bhead{display:flex;align-items:center;gap:10px;font-size:.6875rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.bhead .ico{width:30px;height:30px;padding:6px;border-radius:8px;background:rgba(233,194,77,.1);stroke:var(--yellow);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.bnum{font-family:var(--sans);font-weight:600;font-size:clamp(2rem,3.2vw,2.8rem);line-height:1;color:var(--ink);margin:0;font-variant-numeric:tabular-nums;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.bnum .delta{font-size:.8125rem;font-weight:600;color:var(--yellow);background:rgba(233,194,77,.12);border-radius:999px;padding:5px 10px;letter-spacing:.02em}
.bsub{margin:0;color:var(--text);font-size:.9rem}.bsub b{color:var(--ink);font-weight:600}
.bk{margin:14px 0 0;font-size:.6875rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.bsplit{display:flex;gap:3px;height:12px;border-radius:6px;overflow:hidden;margin-top:4px}
.bsplit span{display:block;background:var(--yellow)}.bsplit span:nth-child(2){opacity:.7}.bsplit span:nth-child(3){opacity:.5}.bsplit span:nth-child(4){opacity:.34}.bsplit span:nth-child(5){opacity:.2}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.8125rem;color:var(--text);margin-top:6px}
.legend span{display:inline-flex;align-items:center;gap:7px}.legend b{color:var(--ink);font-weight:600}
.legend i{width:9px;height:9px;border-radius:2px;background:var(--yellow)}.legend span:nth-child(2) i{opacity:.7}.legend span:nth-child(3) i{opacity:.5}.legend span:nth-child(4) i{opacity:.34}.legend span:nth-child(5) i{opacity:.2}
.mini{display:flex;gap:18px;align-items:flex-end;height:96px;margin-top:14px}.mini>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;width:56px;gap:6px}.mini b{font-size:.8125rem;color:var(--ink);font-weight:600}.mini span{display:block;width:100%;border-radius:4px 4px 0 0;background:var(--yellow)}.mini span.g{background:rgba(255,255,255,.14)}.mini i{font-style:normal;font-size:.75rem;color:var(--muted)}
.bcard .row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ring{flex:none;color:var(--ink)}
.bfoot{grid-column:1/-1;display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin:4px 0 0;font-size:.75rem;color:var(--muted)}
@media (max-width:560px){.board{grid-template-columns:1fr}.bcard.wide{grid-column:auto}}
.chart{width:100%;height:auto;margin-top:10px;color:var(--ink);display:block}.bcard .bnum .bsub{font-size:.9rem;font-weight:400}.bcard .note{font-size:.75rem;color:var(--muted);margin-top:4px}
.bsplit.two{margin-top:10px}.bsplit.two span:nth-child(2){opacity:.45}.bcard .legend.two span:nth-child(2) i{opacity:.45}
.bgroup{grid-column:1/-1;display:flex;align-items:center;gap:14px;margin:14px 0 0;font-size:.6875rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--yellow)}.bgroup::after{content:"";flex:1;height:1px;background:var(--line)}.bgroup:first-child{margin-top:0}
.bcard .note{margin-top:auto;padding-top:8px}
.bgroup em{font-style:normal;color:var(--muted);letter-spacing:.1em;font-weight:500}.bgroup em::before{content:"";display:inline-block;width:1px;height:12px;background:var(--line2);margin:0 4px -2px 0}
@media (max-width:560px){.bgroup{flex-wrap:wrap}.bgroup em{flex-basis:100%;order:3}.bgroup em::before{display:none}.bnum{font-size:2rem}.bfoot{flex-direction:column}}
@media (max-width:760px){#parcours .rail{flex-direction:column;gap:12px;padding:16px 0}#parcours .rail div,#parcours .rail div+div{padding:0;border-left:0}#parcours .rail div+div{border-top:1px solid var(--line);padding-top:12px}}
@media (max-width:900px){.wizard{min-height:0}.wizard .nav{margin-top:4px}}
/* Mobile : accueil raccourci et appel à l'action permanent */
.m-only{display:none}
.hero.home .over .hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.hero.home .over .hero-cta .btn{padding:16px 28px}
.stickycta{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;align-items:center;justify-content:center;gap:18px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:rgba(15,22,32,.82);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid rgba(233,194,77,.35);transform:translateY(110%);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.stickycta.on{transform:none}
.stickycta .btn.fill{flex:1;max-width:300px;justify-content:center;padding:15px 22px;box-shadow:0 10px 30px rgba(233,194,77,.25)}
.stickycta .est{font-size:.6875rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);text-decoration:none;white-space:nowrap;border-bottom:1px solid var(--yellow);padding-bottom:2px}
@media (min-width:901px){.stickycta{display:none}}
@media (max-width:900px){
  .m-only{display:flex}
  .hero.home .over .cta{margin-top:22px;gap:12px;flex-wrap:wrap}.hero.home .over .hero-cta .btn{padding:14px 22px}.hero.home .over .cta .btn{padding:14px 22px}
  body.sticky-on{padding-bottom:84px}
  /* services : liste au lieu de quatre cartes photo */
  #projet .tiles{display:block;border-top:1px solid var(--line)}
  #projet .tile{display:grid;grid-template-columns:1fr auto;grid-template-areas:"tag arrow" "h3 arrow" "p arrow";column-gap:16px;row-gap:4px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}
  #projet .tile .ph{display:none}#projet .tile .tag{grid-area:tag;margin:0}#projet .tile h3{grid-area:h3;font-size:1.25rem}#projet .tile p{grid-area:p;font-size:.875rem;margin:0}
  #projet .tile .more{grid-area:arrow;font-size:0;margin:0;padding:0}#projet .tile .more::after{font-size:1.4rem;color:var(--yellow)}
  #projet .head p:last-child{display:none}
  /* parcours : sans le tableau des compétences */
  #parcours .rows{display:none}
  /* marché : le premier groupe seulement, le reste sur la page Intelligence */
  .board>:nth-child(n+5):not(.bfoot){display:none}
}
@media (max-width:900px){
  .hero.home .media{height:min(46svh,400px)}
  .hero.home .name{font-size:clamp(2.6rem,13vw,3.6rem)}
  .hero.home .over{padding-bottom:28px}
  .stickycta{gap:14px;padding-left:14px;padding-right:14px}
  .stickycta .btn.fill{flex:1 1 auto;min-width:0;max-width:none;padding:14px 16px;letter-spacing:.14em}
  .stickycta .btn.fill::after{display:none}
  .stickycta .est{flex:none;font-size:.625rem}
}
.intro.narrow{display:block;max-width:46em}.intro.narrow p{color:var(--text);font-size:1.0625rem;line-height:1.8;margin:0 0 18px}.intro.narrow p.lead{font-family:var(--display);font-size:clamp(1.4rem,2.2vw,1.9rem);line-height:1.35;color:var(--ink);margin-bottom:22px}

/* ───────── Thème clair (03/11, validé) : pages intérieures et accueil hors ouverture ; ouverture et pied de page sombres ───────── */
/* Essai : pages intérieures claires, accueil et pied de page sombres */
body.light{--bg:#f7f9fc;--bg2:#ffffff;--bg3:#eceff5;--ink:#0f1620;--text:#0f1620;--muted:#5b6473;--line:rgba(15,22,32,.1);--line2:rgba(15,22,32,.2);--yellow:#e9c24d;--yellow-2:#f0cd63;--on-yellow:#111111}
html:has(body.light){background:#f7f9fc}
body.light header.site.solid{background:rgba(247,249,252,.9);border-bottom-color:var(--line)}
body.light nav.main .navbtn,body.light nav.main a{color:var(--text)}
body.light nav.main a:hover,body.light nav.main a[aria-current="page"]{color:var(--ink)}
body.light .btn.ghost:hover,body.light .btn:not(.fill):not(.small):hover{background:rgba(15,22,32,.04)}
body.light nav.main .sub a:hover,body.light nav.main .sub a[aria-current="page"]{background:rgba(15,22,32,.04)}
body.light .bars .track span{background:rgba(15,22,32,.45)}
body.light .wizard input.line::placeholder{color:rgba(15,22,32,.3)}
body.light .wizard .year input::placeholder{color:rgba(15,22,32,.22)}
body.light .btn.fill{color:#111}
body.light .label,body.light .tile .tag,body.light .more,body.light .crumbs a:last-child,body.light .bgroup,body.light .vcard .tag{color:#b8902a}
body.light .btn:not(.fill){border-color:rgba(15,22,32,.25);color:#0f1620}
body.light .btn.small{border-color:#e9c24d;color:#0f1620}
body.light .hero.page{background:#f7f9fc}
body.light .hero.page .media.fade img{-webkit-mask-image:none;mask-image:none}
body.light footer.site{--bg:#0f1620;--bg2:#161e2a;--ink:#ffffff;--text:#c9c9c9;--muted:#8f8f8f;--line:rgba(255,255,255,.12);--line2:rgba(255,255,255,.2);--yellow:#e9c24d;background:#0f1620;color:#c9c9c9}
body.light .contact-dark{--bg:#0f1620}
body.light .shot img,body.light .tile img,body.light .vcard img,body.light .ycard img{filter:none}
body.light .ring circle:first-child{stroke:rgba(15,22,32,.1)}
body.light .mini span.g{background:rgba(15,22,32,.12)}body.light .legend i.g{background:rgba(15,22,32,.12)}
body.light .chart line{stroke:rgba(15,22,32,.08)}
/* Essai : tableau de bord coloré (bleu, turquoise, or) */
body.light{--blue:#2457d6;--teal:#14b8a6;--violet:#7c5cff}
body.light .bhead .ico{background:rgba(36,87,214,.1);stroke:var(--blue)}
body.light .bgroup{color:var(--blue)}
body.light .chart path[stroke]{stroke:var(--blue)}
body.light .chart stop:first-child{stop-color:var(--blue)}body.light .chart stop:last-child{stop-color:var(--blue)}
body.light .chart circle{stroke:var(--blue)}body.light .chart circle[fill="var(--yellow)"]{fill:var(--yellow);stroke:var(--blue)}
body.light .chart text{fill:#0f1620}
body.light .bsplit span:nth-child(1){background:#0f1620;opacity:1}body.light .bsplit span:nth-child(2){background:var(--blue);opacity:1}body.light .bsplit span:nth-child(3){background:var(--teal);opacity:1}body.light .bsplit span:nth-child(4){background:var(--yellow);opacity:1}body.light .bsplit span:nth-child(5){background:#c7cdd8;opacity:1}
body.light .legend span:nth-child(1) i{background:#0f1620;opacity:1}body.light .legend span:nth-child(2) i{background:var(--blue);opacity:1}body.light .legend span:nth-child(3) i{background:var(--teal);opacity:1}body.light .legend span:nth-child(4) i{background:var(--yellow);opacity:1}body.light .legend span:nth-child(5) i{background:#c7cdd8;opacity:1}
body.light .bsplit.two span:nth-child(1){background:var(--blue)}body.light .bsplit.two span:nth-child(2){background:var(--yellow)}
body.light .bcard:has(.bsplit.two) .legend span:nth-child(1) i{background:var(--blue)}body.light .bcard:has(.bsplit.two) .legend span:nth-child(2) i{background:var(--yellow)}
body.light .mini span{background:var(--blue)}body.light .mini span.g{background:#c7cdd8}
body.light .bcard:has(.bhead .ico) .ring circle:nth-child(2){stroke:var(--blue)}
body.light .board .bgroup:nth-of-type(2) ~ .bcard .bhead .ico{background:rgba(124,92,255,.12);stroke:var(--violet)}
body.light .board .bgroup:nth-of-type(2){color:var(--violet)}
body.light .board .bgroup:nth-of-type(2) ~ .bcard .mini span:not(.g){background:var(--violet)}
body.light .board .bgroup:nth-of-type(2) ~ .bcard .ring circle:nth-child(2){stroke:var(--violet)}
body.light .bnum .delta{color:var(--blue);background:rgba(36,87,214,.1)}
body.light .bcard{border-color:rgba(15,22,32,.06)}
body.light .bcard.chart1{background:linear-gradient(180deg,#ffffff,#f3f6fd)}

body.light .board .bgroup:nth-of-type(3) ~ .bcard .ring circle:nth-child(2){stroke:var(--teal)}
body.light .board .bgroup:nth-of-type(3) ~ .bcard .bhead .ico{background:rgba(20,184,166,.12);stroke:var(--teal)}
body.light .board .bgroup:nth-of-type(3){color:var(--teal)}

/* images arrondies */
.shot,.shot img,.tile .ph,.tile .ph img,.vcard .ph,.vcard .ph img,.vcard img,.ycard .ph,.ycard .ph img,.ycard img,.hero.page .media img,.hero.page .media,.card .ph,.card .ph img,.intro figure img,.article img,.split figure img,.fade img,.article aside .ph{border-radius:16px}
.vcard .play{border-radius:50%}
body.light .bcard{box-shadow:0 1px 2px rgba(15,22,32,.04),0 8px 24px rgba(15,22,32,.05)}
/* accueil : l'ouverture reste sombre, l'en-tête transparent dessus garde ses textes clairs */
body.light .hero.home{--bg:#0f1620;--bg2:#161e2a;--bg3:#1c2634;--ink:#ffffff;--text:#c9c9c9;--muted:#8f8f8f;--line:rgba(255,255,255,.12);--line2:rgba(255,255,255,.2);--yellow:#e9c24d;--yellow-2:#f0cd63;--on-yellow:#111111;background:#0f1620;color:#c9c9c9}
body.light .hero.home .grey{color:#8f8f8f}
body.light.home header.site:not(.solid){color:#fff}
body.light.home header.site:not(.solid) nav.main a,body.light.home header.site:not(.solid) nav.main .navbtn,body.light.home header.site:not(.solid) .lang{color:#d6d6d6}
body.light.home header.site:not(.solid) nav.main a:hover,body.light.home header.site:not(.solid) nav.main a[aria-current="page"],body.light.home header.site:not(.solid) .navbtn:hover{color:#fff}
body.light.home header.site:not(.solid) .btn.small{color:#fff;border-color:#e9c24d}
body.light.home header.site:not(.solid) .brand{color:#fff}
body.light nav.main .sub{background:rgba(255,255,255,.98);border-color:rgba(15,22,32,.12);box-shadow:0 12px 32px rgba(15,22,32,.12)}
body.light nav.main .sub a{color:#0f1620}body.light nav.main .sub a.ext{color:#b8902a}
body.light .hero.home .cta .btn:not(.fill){color:#fff;border-color:rgba(255,255,255,.35)}
body.light .stickycta{background:rgba(15,22,32,.9)}body.light .stickycta .est{color:#fff}
body.light .band{background:var(--bg2)}
