/* Rcarré — site statique.
   Charte graphique 2023 : violets (#040225 → #73389D), rose #BF30B5, Neue Montreal, cube magenta, hachures,
   et la règle des bords : trois coins arrondis, un coin vif (en haut à gauche). Elle s'applique à tous les blocs. */

@font-face { font-family: 'Neue Montreal'; src: url('/assets/fonts/NeueMontreal-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Neue Montreal'; src: url('/assets/fonts/NeueMontreal-Medium.woff') format('woff'); font-weight: 500 800; font-display: swap; }

:root {
  --night: #040225; --plum: #28164E; --violet: #462671; --lilac: #73389D; --pink: #BF30B5; --blush: #D0A7CF;
  --soft: #f7f3fa; --mist: #efe6f4; --line: #e4d9eb; --ink: #12092b; --muted: #5a4d6e; --white: #fff;
  --r-sm: 12px; --r: 22px; --r-lg: 32px;
  --cut-sm: 0 var(--r-sm) var(--r-sm) var(--r-sm);
  --cut: 0 var(--r) var(--r) var(--r);
  --cut-lg: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  --gut: clamp(1rem, 3.2vw, 2.25rem);
  --sec: clamp(4.5rem, 9vw, 8rem);
  --font: 'Neue Montreal', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sh: 0 1px 2px rgba(18,9,43,.06), 0 16px 36px -16px rgba(40,22,78,.28);
  --sh-lg: 0 2px 4px rgba(18,9,43,.08), 0 36px 72px -28px rgba(40,22,78,.55);
  --ease: cubic-bezier(.2,.7,.2,1);
  --hd: 78px;
  --hatch: repeating-linear-gradient(135deg, rgba(255,255,255,.055) 0 1px, transparent 1px 9px);
  --night-bg: radial-gradient(70% 90% at 100% 0%, rgba(191,48,181,.55) 0%, rgba(191,48,181,0) 60%), linear-gradient(140deg, var(--night) 0%, var(--plum) 55%, var(--violet) 100%);
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); line-height: 1; letter-spacing: -.04em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.95rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.25; }
p { text-wrap: pretty; }
address { font-style: normal; }
a { color: var(--lilac); text-decoration: none; }
a:hover { color: var(--pink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--blush); color: var(--night); }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 860px; }
.i { width: 1.4em; height: 1.4em; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--night); color: #fff; border-radius: var(--cut-sm); }
.skip:focus { top: 1rem; color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-size: .95rem; font-weight: 500; color: var(--pink); }
.eyebrow::before { content: ''; width: .7rem; height: .7rem; background: var(--pink); border-radius: 0 3px 3px 3px; }
.eyebrow--light { color: var(--blush); }
.eyebrow--light::before { background: var(--blush); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.26rem); line-height: 1.55; }
.lead + .lead { margin-top: .9rem; }
.lead--dark { color: var(--muted); margin-top: 1.2rem; }

/* ---------------------------------------------------------------- Boutons : coin vif en haut à gauche */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: var(--cut-sm); border: 1px solid transparent;
  background: var(--plum); color: #fff; font-weight: 500; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s, transform .2s;
}
.btn .i { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn:hover { background: var(--night); color: #fff; box-shadow: var(--sh); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .65rem 1.15rem; font-size: .95rem; }
.btn--pink { background: var(--pink); }
.btn--pink:hover { background: #a3249a; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--plum); }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--blush); color: var(--night); }
.btn--line { background: transparent; color: var(--plum); border-color: var(--line); }
.btn--line:hover { background: var(--soft); color: var(--night); box-shadow: none; }
.sec--night .btn--line, .hero .btn--line { color: #fff; border-color: rgba(255,255,255,.4); }
.sec--night .btn--line:hover, .hero .btn--line:hover { background: #fff; color: var(--plum); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.tlink { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: var(--plum); border-bottom: 1px solid var(--blush); padding-bottom: .15rem; }
.tlink .i { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.tlink:hover .i { transform: translateX(4px); }

/* ---------------------------------------------------------------- En-tête */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; view-transition-name: hd; }
.hd.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 28px -22px rgba(40,22,78,.55); }
.hd__in { display: flex; align-items: center; gap: 2rem; height: var(--hd); }
.hd__logo { color: var(--night); }
.hd__svg { width: 134px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: .15rem; }
.nav__it { position: relative; }
.nav__btn, .nav__a {
  display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .85rem; border: 0; border-radius: var(--cut-sm); background: none;
  color: var(--ink); font-weight: 500; font-size: .97rem; transition: background-color .2s;
}
.nav__btn svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__btn:hover, .nav__btn[aria-expanded='true'], .nav__a:hover { background: var(--soft); color: var(--ink); }
.nav__btn.is-on { color: var(--lilac); }
.nav__btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; padding: .6rem; border-radius: var(--cut); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav__btn[aria-expanded='true'] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .6rem .8rem; border-radius: var(--cut-sm); color: var(--ink); font-size: .96rem; }
.nav__sub a:hover { background: var(--soft); color: var(--lilac); }
.nav__sub a[aria-current] { color: var(--pink); background: var(--soft); }
.nav__it--m, .nav__meta { display: none; }
.hd__act { display: flex; align-items: center; gap: .9rem; }
.hd__sup { display: inline-flex; align-items: center; gap: .4rem; color: var(--plum); font-weight: 500; font-size: .95rem; }
.hd__sup .i { width: 1.25em; height: 1.25em; color: var(--pink); }
.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: var(--cut-sm); border: 1px solid var(--line); background: #fff; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded='true'] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .hd__act { margin-left: auto; }
  .hd__act .btn, .hd__sup span { display: none; }
  .nav {
    position: fixed; inset: var(--hd) 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow-y: auto;
    padding: 1.25rem var(--gut) calc(2rem + env(safe-area-inset-bottom)); background: var(--night-bg); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__btn, .nav__a { width: 100%; justify-content: space-between; padding: 1rem 0; border-radius: 0; color: #fff; font-size: 1.6rem; border-bottom: 1px solid rgba(255,255,255,.16); }
  .nav__btn:hover, .nav__btn[aria-expanded='true'], .nav__a:hover { background: none; color: var(--blush); }
  .nav__btn svg { width: 16px; height: 16px; }
  .nav__sub { position: static; display: none; min-width: 0; padding: .4rem 0 .8rem; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__btn[aria-expanded='true'] + .nav__sub { display: block; }
  .nav__sub a { color: rgba(255,255,255,.85); padding: .5rem 0; font-size: 1.05rem; }
  .nav__sub a:hover, .nav__sub a[aria-current] { background: none; color: #fff; }
  .nav__it--m { display: block; }
  .nav__meta { display: flex; flex-direction: column; gap: .6rem; }
  .nav__meta a { display: inline-flex; align-items: center; gap: .6rem; color: var(--blush); font-size: 1.05rem; }
}

/* ---------------------------------------------------------------- Héros : panneau nuit de la charte (dégradé, lueur rose, hachures) */
.hero { padding: 12px clamp(8px, 1.3vw, 16px) 0; }
.hero__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--cut-lg); color: #fff; background: var(--night-bg); padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero__panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hatch); -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 85%); mask-image: linear-gradient(110deg, transparent 30%, #000 85%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__text .lead { color: rgba(255,255,255,.86); margin-top: 1.5rem; max-width: 620px; }
.hero h1 em { font-style: normal; color: var(--blush); }
.hero--page h1 { font-size: clamp(2.1rem, 3.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; }
.sec--intro { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.narrow-l { max-width: 1040px; }
.intro-txt { columns: 2 340px; column-gap: 3rem; }
.intro-txt p { break-inside: avoid; margin-bottom: 1rem; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }
.intro-txt p:first-child::first-line { color: var(--plum); }
.hero__pic { position: relative; margin: 0; }
.hero__pic::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(208,167,207,.55); border-radius: var(--cut-lg); }
.hero__pic img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--cut-lg); box-shadow: var(--sh-lg); }
.hero__pic--home img { aspect-ratio: 5 / 4.4; object-position: 62% 50%; }
.hero__pic figcaption {
  position: absolute; left: -1.75rem; bottom: 2rem; display: flex; align-items: center; gap: .85rem; padding: .85rem 1.15rem .85rem .85rem;
  border-radius: var(--cut); background: #fff; color: var(--muted); font-size: .88rem; box-shadow: var(--sh-lg);
}
.hero__pic figcaption b { display: block; color: var(--night); font-size: 1.02rem; font-weight: 500; }
.hero__badge-ic { width: 44px; height: 44px; color: var(--plum); }
.hero__cube { display: grid; place-items: center; min-height: 260px; }
.hero__cube img { width: clamp(170px, 20vw, 290px); filter: drop-shadow(0 34px 40px rgba(4,2,37,.6)); transition: transform .25s linear; }
.pill { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.6rem; padding: .45rem .95rem .45rem .7rem; border-radius: var(--cut-sm); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .88rem; font-weight: 500; }
.pill__dot { width: .5rem; height: .5rem; background: var(--pink); border-radius: 0 2px 2px 2px; box-shadow: 0 0 0 4px rgba(191,48,181,.3); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.2); }
.facts dt { font-size: .86rem; color: rgba(255,255,255,.65); }
.facts dd { margin-top: .2rem; font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 500; letter-spacing: -.01em; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.65); }
.crumbs a { color: rgba(255,255,255,.88); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs--dark { color: var(--muted); }
.crumbs--dark a { color: var(--lilac); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; }
.chips a { display: inline-block; padding: .45rem .9rem; border-radius: var(--cut-sm); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: .9rem; transition: background-color .2s, color .2s, border-color .2s; }
.chips a:hover { background: #fff; color: var(--plum); border-color: #fff; }

/* ---------------------------------------------------------------- Sections */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(1.25rem, 3vw, 2.5rem); }
.sec--soft { background: var(--soft); }
.sec--night { position: relative; isolation: isolate; color: #fff; background: var(--night-bg); }
.sec--night::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hatch); opacity: .8; }
.head { max-width: 800px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.head h2 { margin-bottom: 1rem; }
.head > p:not(.eyebrow) { color: var(--muted); }
.head > p + p { margin-top: .8rem; }
.head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; }
.head--row > p { color: var(--muted); font-size: 1.08rem; }
.head--row > .tlink { justify-self: end; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.5rem clamp(3rem, 7vw, 7rem); align-items: start; }
.sticky { position: sticky; top: calc(var(--hd) + 32px); }
.media { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: center; }
.media--rev > :first-child { order: 2; }
.prose h2 { margin-bottom: 1.25rem; }
.prose > p:not(.eyebrow):not(.lab), .prose .actions + p { color: var(--muted); }
.prose p + p, .prose p + ul, .prose ul + p, .prose .point + p { margin-top: .9rem; }
.prose .lab { margin-top: 1.4rem; color: var(--plum); font-weight: 500; }
.prose--light > p:not(.eyebrow):not(.lab), .prose--light p { color: rgba(255,255,255,.82); }
.prose--light .lab { color: var(--blush); }
.point { position: relative; margin-top: 1.75rem; padding-left: 1.4rem; font-size: 1.15rem; color: var(--plum); }
.point::before { content: ''; position: absolute; left: 0; top: .45rem; width: .7rem; height: .7rem; background: var(--pink); border-radius: 0 3px 3px 3px; }
.ticks { margin-top: 1rem; }
.ticks li { position: relative; padding: .8rem 0 .8rem 2.3rem; border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .95rem; width: 1.45rem; height: 1.45rem; border-radius: 0 7px 7px 7px;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 68% no-repeat;
}
.ticks li b { display: block; font-weight: 500; color: var(--ink); }
.ticks li span { display: block; color: var(--muted); font-size: .98rem; }
.sec--night .ticks li { border-color: rgba(255,255,255,.14); }
.sec--night .ticks li b { color: #fff; }
.sec--night .ticks li span { color: rgba(255,255,255,.75); }
.shot { position: relative; margin: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--cut-lg); box-shadow: var(--sh); }
.shot::after { content: ''; position: absolute; top: -14px; left: -14px; width: 80px; height: 80px; border-top: 2px solid var(--pink); border-left: 2px solid var(--pink); }
.shot--tall img { aspect-ratio: 4 / 4.6; }
.shot--map img { aspect-ratio: auto; background: transparent; box-shadow: none; border-radius: 0; }
.shot--map::after { display: none; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; padding: 2rem 1.75rem 1.75rem; border-radius: var(--cut); background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.sec--soft .card { border-color: transparent; box-shadow: var(--sh); }
.card:hover { border-color: var(--blush); transform: translateY(-3px); box-shadow: var(--sh-lg); }
.card__n { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 1.1rem; border-radius: 0 10px 10px 10px; background: var(--plum); color: #fff; font-size: .85rem; font-weight: 500; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card p + p { margin-top: .7rem; }
.card .ticks li { padding-block: .55rem; font-size: .97rem; }
.card .ticks li::before { top: .65rem; }

/* ---------------------------------------------------------------- Profils + constellation des métiers */
.pf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: center; }
.pf__tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: var(--cut-sm); background: var(--soft); border: 1px solid var(--line); }
.pf__tabs button { position: relative; z-index: 1; padding: .7rem .5rem; border: 0; background: none; color: var(--muted); font-weight: 500; font-size: .95rem; line-height: 1.2; transition: color .3s; }
.pf__tabs button[aria-selected='true'] { color: #fff; }
.pf__ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 0 9px 9px 9px; background: var(--plum); box-shadow: 0 8px 18px -8px rgba(40,22,78,.7); transition: transform .5s var(--ease); }
.pf[data-active='ge'] .pf__ind { transform: translateX(100%); }
.pf[data-active='psf'] .pf__ind { transform: translateX(200%); }
.pf__panel { padding-top: 1.75rem; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.pf__intro { color: var(--muted); font-size: 1.08rem; }
.pf__list { counter-reset: p; margin: 1.25rem 0 1.75rem; }
.pf__list li { counter-increment: p; border-bottom: 1px solid var(--line); }
.pf__list a { display: flex; gap: 1rem; align-items: baseline; padding: .7rem 0; color: var(--ink); font-weight: 500; transition: color .2s, padding .3s var(--ease); }
.pf__list a::before { content: counter(p, decimal-leading-zero); color: var(--pink); font-size: .8rem; }
.pf__list a:hover { color: var(--lilac); padding-left: .35rem; }
.cn { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; border-radius: 50%; }
.cn::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(191,48,181,.14), rgba(191,48,181,0) 65%); }
.cn__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cn__lines line { stroke: var(--line); stroke-width: .35; transition: stroke .5s, stroke-width .5s; }
.cn__lines line.is-on { stroke: var(--pink); stroke-width: .5; stroke-dasharray: 1.2 1.6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -5.6; } }
.cn__orbit { fill: none; stroke: var(--line); stroke-width: .3; stroke-dasharray: .6 1.4; }
.cn__core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: var(--cut); background: var(--night-bg); box-shadow: var(--sh-lg); }
.cn__logo { width: 62%; height: auto; color: #fff; }
.cn__node {
  position: absolute; left: var(--x); top: var(--y); display: flex; flex-direction: column; align-items: center; gap: .4rem; width: 22%;
  transform: translate(-50%, -50%); color: var(--muted); text-align: center; transition: color .4s;
}
.cn__ic { display: grid; place-items: center; width: 64%; aspect-ratio: 1; border-radius: var(--cut-sm); background: #fff; border: 1px solid var(--line); color: var(--blush); box-shadow: var(--sh); transition: background-color .45s, color .45s, border-color .45s, transform .45s var(--ease); }
.cn__ic .bi { width: 58%; height: auto; }
.cn__lab { font-size: clamp(.72rem, 1.1vw, .86rem); font-weight: 500; line-height: 1.2; }
.cn__node.is-on { color: var(--ink); }
.cn__node.is-on .cn__ic { background: var(--plum); border-color: var(--plum); color: var(--blush); transform: scale(1.06); }
.cn__node:hover .cn__ic { background: var(--pink); border-color: var(--pink); color: #fff; }
.cn__node:hover { color: var(--pink); }

/* Gamme de services */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.svc { position: relative; display: flex; flex-direction: column; gap: .5rem; min-height: 260px; padding: 1.6rem; border-radius: var(--cut); background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .35s, border-color .35s; }
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--night-bg); opacity: 0; transition: opacity .45s var(--ease); }
.svc:hover { color: #fff; transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.svc:hover::before { opacity: 1; }
.svc__ic { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: auto; border-radius: var(--cut-sm); background: var(--soft); color: var(--lilac); transition: background-color .35s, color .35s; }
.svc:hover .svc__ic { background: rgba(255,255,255,.1); color: var(--blush); }
.svc__ic .bi { width: 40px; height: auto; }
.svc__t { margin-top: 1.5rem; font-size: 1.28rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.svc__l { color: var(--muted); font-size: .95rem; transition: color .35s; }
.svc:hover .svc__l { color: rgba(255,255,255,.8); }
.svc__go { position: absolute; top: 1.4rem; right: 1.4rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 0 10px 10px 10px; border: 1px solid var(--line); color: var(--plum); transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease); }
.svc__go .i { width: 18px; height: 18px; }
.svc:hover .svc__go { background: var(--pink); border-color: var(--pink); color: #fff; transform: rotate(45deg); }
.sec--soft .svc { border-color: transparent; box-shadow: var(--sh); }

/* Parcours d'accompagnement */
.journey { margin-top: 1.5rem; counter-reset: j; }
.journey li { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: padding .3s var(--ease), color .25s; }
.journey li:hover { padding-left: .4rem; color: var(--lilac); }
.journey span { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none; border-radius: 0 9px 9px 9px; background: var(--soft); color: var(--pink); font-size: .8rem; }

/* Défilé de logos */
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; flex: none; align-items: center; gap: 1rem; padding-right: 1rem; animation: scroll 60s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { display: grid; place-items: center; width: 170px; height: 92px; padding: 1rem 1.4rem; border-radius: var(--cut); background: #fff; border: 1px solid var(--line); }
.marquee img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee li:hover img { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-100%); } }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.logos li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; min-height: 150px; padding: 1.4rem; border-radius: var(--cut); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.logos li:hover { border-color: var(--blush); box-shadow: var(--sh); }
.logos img { max-height: 56px; max-width: 140px; width: auto; object-fit: contain; }
.logos span { font-size: .82rem; color: var(--muted); }

/* Bandeau contact */
.cta { position: relative; isolation: isolate; padding: clamp(2.2rem, 5vw, 4.2rem); border-radius: var(--cut-lg); color: #fff; background: var(--night-bg); }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hatch); }
.cta__cube { position: absolute; z-index: 2; top: -52px; right: 6%; width: 130px; filter: drop-shadow(0 22px 26px rgba(4,2,37,.5)); transition: transform .2s linear; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem 4rem; align-items: end; }
.cta h2 { margin-bottom: 1rem; max-width: 760px; }
.cta__in > div > p:not(.eyebrow) { color: rgba(255,255,255,.8); max-width: 680px; }
.cta__act { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta__l { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 500; }
.cta__l .i { width: 1.2em; height: 1.2em; color: var(--blush); }
.cta__l:hover { color: var(--blush); }

/* ---------------------------------------------------------------- Le groupe */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem 1.1rem; }
.team figure { margin-bottom: .9rem; overflow: hidden; border-radius: var(--cut); background: var(--mist); }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; filter: grayscale(.25); transition: filter .4s, transform .6s var(--ease); }
.team li:hover img { filter: none; transform: scale(1.04); }
.person__n { font-weight: 500; font-size: 1.08rem; }
.person__r { color: var(--muted); font-size: .93rem; }

/* ---------------------------------------------------------------- Contact */
.contact { padding-top: clamp(2.5rem, 5vw, 4.5rem); background: linear-gradient(180deg, var(--soft), #fff 75%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: start; }
.support { margin-top: 2.25rem; padding: 1.75rem; border-radius: var(--cut); color: #fff; background: var(--night-bg); }
.support__t { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-weight: 500; font-size: 1.1rem; }
.support__t .i { color: var(--blush); }
.support p { color: rgba(255,255,255,.85); }
.support a:not(.btn) { color: #fff; font-weight: 500; border-bottom: 1px solid var(--pink); }
.support .btn { margin-top: 1.25rem; color: #fff; border-color: rgba(255,255,255,.4); }
.support .btn:hover { background: #fff; color: var(--plum); }
.contact__card { padding: clamp(1.5rem, 3.6vw, 2.75rem); border-radius: var(--cut-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.contact__card h2 { margin-bottom: 1.5rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.form { display: flex; flex-wrap: wrap; gap: 1.1rem 1rem; }
.fld { width: 100%; }
.fld--half { width: calc(50% - .5rem); }
.fld label { display: block; margin-bottom: .4rem; font-size: .93rem; font-weight: 500; color: var(--plum); }
.fld label span { color: var(--pink); }
.fld input, .fld textarea { width: 100%; padding: .9rem 1rem; border-radius: var(--cut-sm); border: 1px solid #d9cce2; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 150px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(191,48,181,.14); }
.fld [aria-invalid='true'] { border-color: #b4233a; box-shadow: 0 0 0 4px rgba(180,35,58,.1); }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.seg button { padding: .42rem .85rem; border-radius: var(--cut-sm); border: 1px solid var(--line); background: #fff; color: var(--plum); font-size: .88rem; transition: background-color .2s, border-color .2s, color .2s; }
.seg button:hover { border-color: var(--blush); }
.seg button[aria-pressed='true'] { background: var(--plum); border-color: var(--plum); color: #fff; }
.form__note { width: 100%; font-size: .85rem; color: var(--muted); }
.form__err { width: 100%; color: #b4233a; font-weight: 500; }
.ents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.ent { display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--cut); background: #fff; border: 1px solid var(--line); }
.ent--main { color: #fff; background: var(--night-bg); border: 0; }
.ent__tag { font-size: .85rem; color: var(--pink); margin-bottom: .4rem; }
.ent--main .ent__tag { color: var(--blush); }
.ent h3 { margin-bottom: .8rem; }
.ent address { color: var(--muted); font-size: .97rem; }
.ent--main address { color: rgba(255,255,255,.8); }
.ent__l { display: flex; flex-direction: column; gap: .35rem; margin: 1rem 0; }
.ent__l a { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 500; font-size: .95rem; }
.ent__l .i { width: 1.1em; height: 1.1em; color: var(--pink); }
.ent--main .ent__l a { color: #fff; }
.ent__maps { display: flex; gap: .9rem; margin-top: auto; font-size: .88rem; }
.ent__maps a { color: var(--lilac); border-bottom: 1px solid var(--blush); }
.ent--main .ent__maps a { color: var(--blush); }
.map { position: relative; overflow: hidden; border-radius: var(--cut-lg); border: 1px solid var(--line); }
.map__img { width: 100%; height: 420px; object-fit: cover; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -100%); filter: drop-shadow(0 10px 18px rgba(4,2,37,.45)); }
.map__ic { width: 56px; height: 56px; padding: 4px; background: #fff; border-radius: 0 14px 14px 14px; color: var(--plum); }
.map__pin::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 6px rgba(191,48,181,.25); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(191,48,181,.5); } 80%, 100% { box-shadow: 0 0 0 14px rgba(191,48,181,0); } }
.map__credit { position: absolute; right: .6rem; bottom: .5rem; padding: .15rem .5rem; border-radius: 6px; background: rgba(255,255,255,.88); font-size: .72rem; color: var(--muted); }

/* ---------------------------------------------------------------- Ressources */
.docs + .docs { margin-top: 3rem; }
.docs h2 { margin-bottom: 1.2rem; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.docs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.docs a { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border-radius: var(--cut-sm); border: 1px solid var(--line); color: var(--ink); font-weight: 500; transition: border-color .25s, background-color .25s; }
.docs a:hover { border-color: var(--blush); background: var(--soft); color: var(--ink); }
.docs a > .i:first-child { color: var(--pink); }
.docs a span { flex: 1; }
.docs em { font-style: normal; font-size: .75rem; color: var(--muted); }
.docs a > .i:last-child { width: 1.1em; height: 1.1em; color: var(--lilac); }
.glossary div { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); gap: .5rem 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 500; font-size: 1.1rem; color: var(--plum); }
.glossary dd { color: var(--muted); }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-size: clamp(6rem, 18vw, 12rem); line-height: .9; font-weight: 500; letter-spacing: -.06em; color: var(--mist); }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); }
.notfound .actions { justify-content: center; }

/* ---------------------------------------------------------------- Pied de page */
.ft { margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem; color: rgba(255,255,255,.72); background: var(--night); font-size: .96rem; }
.ft a { color: rgba(255,255,255,.72); }
.ft a:hover { color: #fff; }
.ft__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem 4rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.ft__logo { width: 180px; height: auto; color: #fff; margin-bottom: 1.2rem; }
.ft__brand p { max-width: 460px; }
.ft__soc { display: flex; gap: .6rem; margin-top: 1.2rem; }
.ft__soc a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0 10px 10px 10px; border: 1px solid rgba(255,255,255,.18); }
.ft__soc a:hover { background: var(--pink); border-color: var(--pink); }
.ft__soc .i { width: 20px; height: 20px; }
.ft__c { display: flex; flex-direction: column; gap: .45rem; }
.ft__t { margin-bottom: .9rem; color: #fff; font-weight: 500; }
.ft__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-top: 2.5rem; }
.ft__grid li { margin-bottom: .5rem; }
.ft__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.ft__bot ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1199.98px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .hero__grid, .split, .media, .pf, .contact__grid, .head--row, .cta__in, .ft__top { grid-template-columns: minmax(0, 1fr); }
  .head--row > .tlink { justify-self: start; }
  .media--rev > :first-child { order: 0; }
  .sticky { position: static; }
  .hero__pic { max-width: 560px; }
  .hero__pic figcaption { left: 1rem; }
  .hero__cube { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn { max-width: 480px; }
}
@media (max-width: 640px) {
  :root { --hd: 68px; }
  h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .hd__svg { width: 116px; }
  .cards, .cards--3, .svc-grid, .ents, .docs ul, .ft__grid { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; }
  .fld--half { width: 100%; }
  .glossary div { grid-template-columns: minmax(0, 1fr); }
  .pf__tabs button { font-size: .82rem; padding: .65rem .3rem; }
  .cn__lab { display: none; }
  .cn__ic { width: 78%; }
  .cta__cube { width: 84px; top: -34px; }
  .map__img { height: 320px; }
  .hero__pic::before { inset: 12px -10px -12px 10px; }
}

/* ---------------------------------------------------------------- Blog */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1.2rem; }
.pc { display: flex; flex-direction: column; color: var(--ink); border-radius: var(--cut); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.sec--soft .pc { border-color: transparent; box-shadow: var(--sh); }
.pc:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.pc__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc__body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.pc__cats { display: flex; flex-wrap: wrap; gap: .35rem; }
.pc__cats li { padding: .2rem .6rem; border-radius: 0 7px 7px 7px; background: var(--soft); color: var(--lilac); font-size: .78rem; font-weight: 500; }
.pc__t { font-size: 1.15rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; transition: color .25s; }
.pc:hover .pc__t { color: var(--lilac); }
.pc__d { color: var(--muted); }
.pc__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: auto; padding-top: .4rem; font-size: .85rem; color: var(--muted); }
.pc__meta span::before { content: '·'; margin-right: .9rem; }
.pc--big { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.pc--big .pc__img { aspect-ratio: auto; min-height: 340px; }
.pc--big .pc__body { justify-content: center; padding: clamp(1.5rem, 3.5vw, 3rem); gap: 1rem; }
.pc--big .pc__t { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.025em; }
.pc--big .pc__d { font-size: 1.05rem; }
.bf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.bf__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.bf__chips button { padding: .45rem .9rem; border-radius: var(--cut-sm); border: 1px solid var(--line); background: #fff; color: var(--plum); font-size: .9rem; transition: background-color .2s, border-color .2s, color .2s; }
.bf__chips button:hover { border-color: var(--blush); }
.bf__chips button[aria-pressed='true'] { background: var(--plum); border-color: var(--plum); color: #fff; }
.bf__search input { width: min(320px, 80vw); padding: .7rem 1rem; border-radius: var(--cut-sm); border: 1px solid #d9cce2; font: inherit; font-size: .95rem; }
.bf__search input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(191,48,181,.14); }
.bf__count { margin-bottom: 1.5rem; color: var(--muted); font-size: .9rem; }
.bf__empty { padding: 3rem 0; text-align: center; color: var(--muted); }
.pc[hidden] { display: none; }
.news__links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }

/* Article */
.ah { padding: clamp(2.5rem, 5vw, 4.5rem) 0 2rem; background: linear-gradient(180deg, var(--soft), #fff); }
.ah h1 { margin: 1.1rem 0 1.2rem; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; }
.ah__meta { color: var(--muted); font-size: .95rem; }
.ah__a { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.3rem; font-size: .9rem; color: var(--muted); }
.ah__a img { width: 46px; height: 46px; border-radius: 0 12px 12px 12px; object-fit: cover; }
.ah__a b { display: block; color: var(--ink); font-weight: 500; }
.ah__img { margin: 0 auto clamp(2rem, 4vw, 3.5rem); max-width: 1160px; }
.ah__img img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--cut-lg); box-shadow: var(--sh); }
.article { font-size: 1.12rem; line-height: 1.72; color: #2b2142; }
.article > * + * { margin-top: 1.15rem; }
.article h2 { margin-top: 2.6rem; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--night); }
.article h3 { margin-top: 2rem; font-size: 1.3rem; color: var(--plum); }
.article h4 { margin-top: 1.6rem; font-size: 1.12rem; color: var(--plum); }
.article a { color: var(--lilac); text-decoration: underline; text-decoration-color: var(--blush); text-underline-offset: 3px; }
.article a:hover { color: var(--pink); }
.article ul, .article ol { padding-left: 1.3rem; }
.article ul { list-style: none; padding-left: 0; }
.article ul li { position: relative; padding-left: 1.5rem; }
.article ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; background: var(--pink); border-radius: 0 2px 2px 2px; }
.article ol { list-style: decimal; }
.article li + li { margin-top: .5rem; }
.article strong, .article b { font-weight: 500; color: var(--night); }
.article blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; border-radius: var(--cut); background: var(--soft); border-left: 3px solid var(--pink); font-size: 1.2rem; color: var(--plum); }
.article img { margin: 1rem 0; border-radius: var(--cut); }
.article figure { margin: 2rem 0; }
.article figcaption { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.article mark { background: var(--mist); color: inherit; padding: 0 .2em; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.article table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.article td, .article th { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.article .video a { display: inline-flex; padding: .8rem 1.2rem; border-radius: var(--cut-sm); background: var(--plum); color: #fff; text-decoration: none; }
.author { display: flex; align-items: center; gap: 1.2rem; margin-top: 3rem; padding: 1.5rem; border-radius: var(--cut); background: var(--night-bg); color: #fff; }
.author img { width: 84px; height: 84px; border-radius: 0 18px 18px 18px; object-fit: cover; }
.author__k { font-size: .82rem; color: var(--blush); }
.author__n { font-size: 1.2rem; font-weight: 500; }
.author__r { color: rgba(255,255,255,.75); font-size: .95rem; }
.art__back { margin: 2.5rem 0 clamp(3rem, 6vw, 5rem); }

/* Événements */
.evs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ev { display: grid; grid-template-columns: 86px 150px minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: 1rem; border-radius: var(--cut); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.ev:hover { border-color: var(--blush); box-shadow: var(--sh); }
.ev--next { grid-column: 1 / -1; grid-template-columns: 110px 260px minmax(0, 1fr); padding: 1.4rem; color: #fff; border: 0; background: var(--night-bg); }
.ev__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .7rem .3rem; border-radius: 0 14px 14px 14px; background: var(--soft); color: var(--plum); line-height: 1; }
.ev--next .ev__date { background: var(--pink); color: #fff; }
.ev__d { font-size: 2rem; font-weight: 500; letter-spacing: -.03em; }
.ev__m { margin-top: .3rem; font-size: .85rem; text-transform: capitalize; }
.ev__y { margin-top: .25rem; font-size: .75rem; opacity: .7; }
.ev__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 12px 12px 12px; }
.ev__when { font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.ev--next .ev__when { color: var(--blush); }
.ev h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: .7rem; }
.ev--next h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.ev .btn { margin-top: .2rem; }
.memo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.memo__c { position: relative; display: block; overflow: hidden; border-radius: var(--cut-lg); aspect-ratio: 16 / 9; color: #fff; }
.memo__c img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.memo__c::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,2,37,0) 35%, rgba(4,2,37,.85)); }
.memo__c span { position: absolute; z-index: 1; left: 1.6rem; right: 1.6rem; bottom: 1.4rem; color: rgba(255,255,255,.85); }
.memo__c b { display: block; margin-bottom: .2rem; color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: -.02em; }
.memo__c:hover img { transform: scale(1.05); }
.memo__c:hover { color: #fff; }

/* Galeries */
.gal + .gal { margin-top: 3.5rem; }
.gal__t { margin-bottom: 1.2rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.gal__t span { font-size: .95rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.gal__count { margin-bottom: 2rem; color: var(--muted); }
.gal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.gal__grid a { display: block; overflow: hidden; border-radius: 0 12px 12px 12px; background: var(--mist); }
.gal__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gal__grid a:hover img { transform: scale(1.06); }
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4,2,37,.94); color: #fff; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(4,2,37,.94); }
.lb img { max-width: min(92vw, 1500px); max-height: 84vh; width: auto; height: auto; border-radius: 0 16px 16px 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 0 14px 14px 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.8rem; line-height: 1; }
.lb button:hover { background: var(--pink); border-color: var(--pink); }
.lb__x { top: 1.2rem; right: 1.2rem; }
.lb__p { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb__n { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb__c { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); font-size: .9rem; color: rgba(255,255,255,.7); }
.nl__lab { margin-top: 2rem; font-weight: 500; color: var(--plum); }

@media (max-width: 991.98px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc--big { grid-template-columns: minmax(0, 1fr); }
  .pc--big .pc__img { min-height: 0; aspect-ratio: 16 / 9; }
  .evs { grid-template-columns: minmax(0, 1fr); }
  .ev--next { grid-template-columns: 90px minmax(0, 1fr); }
  .ev--next .ev__img { display: none; }
}
@media (max-width: 640px) {
  .pc-grid, .memo { grid-template-columns: minmax(0, 1fr); }
  .ev { grid-template-columns: 72px minmax(0, 1fr); }
  .ev__img { display: none; }
  .gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf__search, .bf__search input { width: 100%; }
  .lb__p, .lb__n { top: auto; bottom: 1rem; transform: none; }
}
