/* STUDIO REVO — V62 : palette affirmée, photographie, compositions éditoriales */
:root{--r-teal:#1E4F4C;--r-teal-2:#163B39;--r-teal-soft:#E4EEEC;--r-amber:#C98A2B;--r-amber-soft:#F7ECD8;--r-sand:#E9E2D6}
/* ---- Hero éditorial : texte sur surface + photographie pleine hauteur ---- */
.x62-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:min(78vh,720px);background:var(--r-teal-2);color:#F3F0EA}
.x62-hero-copy{padding:clamp(40px,6vw,96px) var(--r-gutter) clamp(40px,6vw,80px) max(var(--r-gutter),calc((100vw - var(--r-max))/2))}
.x62-hero-copy .eyebrow{font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#9FC9C3;margin:0 0 22px}
.x62-hero-copy h1{font-size:clamp(36px,4.2vw,58px);line-height:1.04;letter-spacing:-.03em;max-width:15ch;margin:0 0 20px;color:#FBF9F5}
.x62-hero-copy p{font-size:clamp(16.5px,1.3vw,19px);line-height:1.55;color:rgba(243,240,234,.78);max-width:46ch;margin:0 0 28px}
.x62-hero-copy .btn-ghost{border-color:rgba(255,255,255,.35)!important;color:#fff!important}
.x62-hero-photo{position:relative;overflow:hidden;min-height:360px}
.x62-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.x62-hero-photo figcaption{position:absolute;left:16px;bottom:14px;font-size:12px;color:#fff;background:rgba(20,19,23,.55);padding:5px 10px;border-radius:999px}
.x62-hero-voies{display:flex;gap:22px;flex-wrap:wrap;margin-top:34px;padding-top:22px;border-top:1px solid rgba(255,255,255,.18)}
.x62-hero-voies span{font-size:14px;color:#D7E6E3}.x62-hero-voies b{display:block;color:#fff;font-size:15px;margin-bottom:2px}
@media (max-width:900px){.x62-hero{grid-template-columns:1fr;min-height:0}.x62-hero-photo{min-height:260px;order:-1}.x62-hero-copy{padding:32px var(--r-gutter) 40px}}
/* ---- Bande de couleur « système complet » ---- */
.x62-sys{background:var(--r-teal);color:#F3F0EA;padding:var(--sec) 0}
.x62-sys .kicker{color:#9FC9C3!important}.x62-sys h2{color:#FBF9F5}.x62-sys .intro{color:rgba(243,240,234,.78)!important}
.x62-sys-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(28px,5vw,72px);align-items:start}
.x62-arch{background:#fff;border-radius:var(--r-radius);padding:clamp(14px,2vw,24px);color:var(--r-ink)}
.x62-arch svg{width:100%;height:auto;display:block;font-family:Inter,system-ui,sans-serif}
.x62-arch figcaption{font-size:13px;color:var(--r-mute);margin-top:10px}
.x62-steps{list-style:none;margin:0;padding:0;counter-reset:z}
.x62-steps li{counter-increment:z;display:grid;grid-template-columns:34px 1fr;gap:12px;padding:12px 0;border-top:1px solid rgba(255,255,255,.16);font-size:15.5px;line-height:1.5}
.x62-steps li::before{content:counter(z,decimal-leading-zero);font-size:12px;font-weight:600;color:var(--r-amber);padding-top:4px}
.x62-steps b{display:block;color:#fff}
.x62-steps span{color:rgba(243,240,234,.75);font-size:14.5px}
@media (max-width:900px){.x62-sys-grid{grid-template-columns:1fr}}
/* ---- Enjeux : liste éditoriale + photographie ---- */
.x62-enj{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center}
.x62-enj ol{list-style:none;margin:0;padding:0;counter-reset:e}
.x62-enj li{counter-increment:e;display:grid;grid-template-columns:40px 1fr;gap:12px;padding:16px 0;border-top:1px solid var(--r-line)}
.x62-enj li:last-child{border-bottom:1px solid var(--r-line)}
.x62-enj li::before{content:counter(e,decimal-leading-zero);font-size:12px;font-weight:600;color:var(--r-amber);padding-top:5px}
.x62-enj b{display:block;font-size:17px;letter-spacing:-.01em}.x62-enj span{font-size:15px;color:var(--r-mute);display:block;margin-top:3px}
.x62-enj a{font-size:14px;font-weight:600;color:var(--r-teal);display:inline-block;margin-top:6px}
.x62-photo{margin:0;position:relative}
.x62-photo img{width:100%;height:auto;display:block;border-radius:4px}
.x62-photo figcaption{font-size:13px;color:var(--r-mute);margin-top:10px}
.x62-photo.tall img{aspect-ratio:4/5;object-fit:cover}
@media (max-width:900px){.x62-enj{grid-template-columns:1fr}}
/* ---- Bande photographique pleine largeur avec annotation ---- */
.x62-band{position:relative;overflow:hidden;background:var(--r-sand)}
.x62-band img{width:100%;height:min(56vh,560px);object-fit:cover;display:block}
.x62-band .wrap{position:relative}
.x62-band-note{position:absolute;right:var(--r-gutter);bottom:28px;max-width:360px;background:#fff;border-radius:var(--r-radius);padding:18px 20px;box-shadow:var(--r-shadow);font-size:15px;line-height:1.5}
.x62-band-note b{display:block;margin-bottom:4px}
@media (max-width:700px){.x62-band img{height:260px}.x62-band-note{position:static;max-width:none;margin:0;border-radius:0;box-shadow:none;border-top:1px solid var(--r-line)}}
/* ---- Accents de couleur dans les composants existants ---- */
.x59-levels>div:nth-child(2){background:var(--r-teal-soft)!important;border-color:transparent!important}
.x59-levels>div:nth-child(3){background:var(--r-teal)!important;border-color:transparent!important;color:#F3F0EA}
.x59-levels>div:nth-child(3) h3{color:#fff}.x59-levels>div:nth-child(3) p{color:rgba(243,240,234,.78)!important}.x59-levels>div:nth-child(3) .kicker{color:#9FC9C3!important}
.x57-xp .n{color:var(--r-amber)!important}
.x60-ex .n{color:var(--r-amber)}
.x60-ex:nth-child(even){background:var(--r-teal-soft)!important}
.x56-two article:last-child{background:var(--r-teal)!important}
.x57-tl li:last-child::before{background:var(--r-amber)!important;border-color:var(--r-amber)!important}
.sv-hero.x62-tint{background:var(--r-teal-soft)!important}
.ab-hero{background:var(--r-teal-soft)!important}
.x61-top{background:var(--r-teal-2)}
.sr-cta{background:radial-gradient(900px 400px at 15% 100%,rgba(30,79,76,.55),transparent 60%),var(--r-ink)!important}
.nav-links a[aria-current=page],.nav-links a.is-active{background:var(--r-teal)!important}
/* ---- Section démos sous le hero ---- */
.x62-demos .x57-stage{max-width:none!important;justify-self:stretch;box-shadow:none!important;border:1px solid var(--r-line)}
.x62-demos .x57-face{padding:clamp(14px,2vw,24px)}
.x62-demos .x61{font-size:.9rem}
.x62-hero-photo picture{display:block;height:100%}
.x62-photo picture{display:block}
.x62-enj li span,.x62-enj li a{grid-column:2}
.x62-steps li span{grid-column:2}
.x62-hero-photo{margin:0}
.x62-hero-copy .eyebrow::before{display:none}
.x62-hero{padding:0!important}
.x62-hero-copy h1{font-size:clamp(34px,3.8vw,52px)!important;line-height:1.05!important}
.x62-hero-copy{padding-top:clamp(36px,5vw,72px);padding-bottom:clamp(36px,5vw,64px)}
.x62-hero{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important}
.x62-hero-photo img{object-position:58% 50%}
.x62-hero-copy h1{max-width:13ch}
@media (max-width:900px){.x62-hero{grid-template-columns:1fr!important}.x62-hero-photo img{aspect-ratio:16/10;height:auto}}
.x62-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important}
.x62-hero-copy h1{max-width:15ch}
.x62-hero-voies{margin-top:26px;padding-top:18px;gap:14px 26px}
@media (min-width:901px){.x62-hero-photo{min-height:0}.x62-hero-photo img{position:absolute;inset:0}}
@media (max-width:900px){.x62-hero{grid-template-columns:minmax(0,1fr)!important}.x62-hero-photo{min-height:0}.x62-hero-photo img{position:static;width:100%;aspect-ratio:16/10;height:auto;object-position:58% 50%}}
