/* Double portail vertical — contenu Gutenberg réel, contrôlé par portal.js. */
.vd-home__sr-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vd-home .vd-home__content { margin-block-start: 0; }
.vd-world-switch { display: grid; grid-template-columns: 1fr 1fr; margin: 0 !important; position: sticky; top: var(--vd-sticky-header-height, 0px); z-index: 55; box-shadow: 0 7px 24px rgb(0 0 0 / .14); transition: grid-template-columns .38s cubic-bezier(.2,.78,.2,1); }
.vd-world-switch p { margin: 0; min-width: 0; }
.vd-world-switch a { display: flex; align-items: center; min-height: 3.75rem; padding: .65rem clamp(1rem,3vw,2.5rem); color: #fff; text-decoration: none; font-size: .84rem; letter-spacing: .035em; }
.vd-world-switch a strong { font-size: 1rem; letter-spacing: 0; }
.vd-world-switch__citizen { background: var(--vd-marine); }
.vd-world-switch__discover { background: var(--vd-forest); text-align: right; }
.vd-world-switch__discover a { justify-content: flex-end; }
.vd-world-switch a:hover, .vd-world-switch a[aria-current="true"] { background: rgb(255 255 255 / .14); }
.vd-world-switch a:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 6px #111; }

.vd-dual-portal { display: flex; align-items: stretch; min-height: max(650px, calc(100svh - 190px)); margin: 0 !important; background: #132b35; }
.vd-world { min-width: 0; flex: 1 1 0; position: relative; margin: 0; transition: flex-grow .38s cubic-bezier(.2,.78,.2,1); }
.vd-world + .vd-world { border-left: 1px solid rgb(255 255 255 / .45); }
.vd-world__cover { min-height: max(650px, calc(100svh - 190px)); display: flex; flex-direction: column; position: relative; isolation: isolate; overflow: hidden; padding: 1.5rem clamp(1.5rem,3.5vw,4rem) 2rem; margin: 0; }
.vd-world__cover > *:not(.vd-world__image) { position: relative; z-index: 2; }
.vd-world--citizen .vd-world__cover { color: #073353; background: #e9f2f7; }
.vd-world--citizen .vd-world__cover::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(145deg, rgb(255 255 255 / .97), rgb(233 242 247 / .93)); }
.vd-world--discover .vd-world__cover { color: #fff; background: #0d4138; }
.vd-world--discover .vd-world__cover::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgb(5 31 27 / .67), rgb(5 31 27 / .92)); }
.vd-world__image, .vd-world__image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0 !important; }
.vd-world__image img { object-fit: cover; }
.vd-world--citizen .vd-world__image img { object-position: center; }
.vd-world--discover .vd-world__image img { object-position: 50% 42%; }
.vd-world__label { margin: 0; padding: 0 0 .85rem; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.vd-world__copy { margin-block: auto; padding-block: 2rem; }
.vd-world__kicker { margin: 0 0 1rem; font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.vd-world__copy h2 { margin: 0; max-width: 11ch; color: inherit; font-family: var(--wp--preset--font-family--titres); font-size: clamp(3.45rem,5.7vw,6.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .85; text-wrap: balance; }
.vd-world__summary { max-width: 32rem; margin: 1.35rem 0 0; font-size: clamp(1rem,1.3vw,1.18rem); line-height: 1.5; }
.vd-world__direct { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.vd-world__direct li { margin: 0; }
.vd-world__direct a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem .8rem; border: 1px solid currentColor; color: inherit; font-size: .88rem; font-weight: 750; text-decoration: none; }
.vd-world__direct a:hover { background: var(--vd-marine); color: #fff; }
.vd-world__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 0; }
.vd-world__actions a { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: .75rem 1rem; border: 1px solid currentColor; color: inherit; font-size: .9rem; font-weight: 750; text-align: center; text-decoration: none; line-height: 1.25; }
.vd-world__actions a:hover { text-decoration: underline; text-underline-offset: .2em; }
.vd-world__actions .vd-world__toggle { grid-column: 1 / -1; justify-content: space-between; background: var(--vd-marine); border-color: var(--vd-marine); color: #fff; }
.vd-world--discover .vd-world__toggle { background: #f3c845; border-color: #f3c845; color: #082e29; }
.vd-world__toggle span { font-size: 1.4rem; }

.vd-world__content { min-width: 0; padding: clamp(2rem,4vw,4rem); margin: 0; background: #f8fafb; }
.vd-world--discover .vd-world__content { background: #f1f2e9; color: #082e29; }
.vd-world__content-title { max-width: 13ch; margin: 0; scroll-margin-top: calc(var(--vd-sticky-header-height, 0px) + 4.5rem); font-family: var(--wp--preset--font-family--titres); font-size: clamp(2.7rem,4.4vw,5rem); font-weight: 400; line-height: .97; letter-spacing: -.04em; color: inherit; }
.vd-world__content-lead { max-width: 48ch; margin: 1rem 0 2rem; font-size: 1.08rem; }
.vd-world__editorial { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(1.25rem,3vw,2.5rem); align-items: center; margin: 0 0 2.5rem; }
.vd-world__editorial-image { margin: 0 !important; }
.vd-world__editorial-image img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.vd-world__editorial-copy > * { margin-block: 0; }
.vd-world__editorial-copy > * + * { margin-block-start: 1rem; }
.vd-world__editorial-copy h3 { color: #0d4138; font-family: var(--wp--preset--font-family--titres); font-size: clamp(2rem,3vw,3.6rem); font-weight: 400; line-height: 1; }
.vd-world__editorial-copy a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #0d4138; font-weight: 750; text-underline-offset: .25em; }
.vd-world__search { padding: 1.2rem; margin: 0 0 2rem; background: #e9f2f7; border-left: 4px solid var(--vd-marine); }
.vd-world__search .wp-block-search__label { display: block; margin-bottom: .5rem; font-weight: 750; }
.vd-world__search .wp-block-search__inside-wrapper { display: flex; }
.vd-world__search .wp-block-search__input { min-width: 0; min-height: 3.2rem; border: 1px solid #9bb0bb; padding: .7rem 1rem; font: inherit; }
.vd-world__search .wp-block-search__button { margin: 0; min-height: 3.2rem; background: var(--vd-marine); color: #fff; border: 0; font-weight: 750; }
.vd-world__content .vd-quick { margin: 0; padding: 0; }
.vd-world__content .vd-quick h2 { margin: 0 0 1rem; color: inherit; font-size: 1.45rem; }
.vd-world__content .vd-quick__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.vd-world__content .vd-quick__list a { min-height: 4.2rem; border-radius: 0; }
.vd-world__categories, .vd-world__stories, .vd-world__practical { list-style: none; padding: 0; }
.vd-world__categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 2.5rem 0 0; border-top: 1px solid var(--vd-line); border-left: 1px solid var(--vd-line); }
.vd-world__categories li, .vd-world__stories li { margin: 0; }
.vd-world__categories a { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; padding: 1rem; border-right: 1px solid var(--vd-line); border-bottom: 1px solid var(--vd-line); background: #fff; color: #112836; font-weight: 750; text-decoration: none; }
.vd-world__categories a::after, .vd-world__stories a::after { content: "↗"; margin-left: 1rem; }
.vd-world__categories a:hover, .vd-world__stories a:hover { text-decoration: underline; text-underline-offset: .2em; }
.vd-world__stories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin: 0 0 3rem; }
.vd-world__stories a { display: flex; align-items: flex-end; justify-content: space-between; min-height: 9rem; padding: 1.2rem; border: 1px solid #aac3b9; background: #fff; color: #0d4138; font-family: var(--wp--preset--font-family--titres); font-size: 1.55rem; font-weight: 500; line-height: 1.1; text-decoration: none; }
.vd-world__plan { margin: 0; padding: clamp(1.5rem,3vw,2.5rem); background: #0d4138; color: #fff; }
.vd-world__plan h3 { margin: 0 0 1.5rem; color: #fff; font-family: var(--wp--preset--font-family--titres); font-size: clamp(2rem,3vw,3.4rem); font-weight: 400; }
.vd-world__practical { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; border-top: 1px solid rgb(255 255 255 / .4); border-left: 1px solid rgb(255 255 255 / .4); }
.vd-world__practical li { margin: 0; }
.vd-world__practical a { display: flex; align-items: end; min-height: 7rem; padding: 1rem; border-right: 1px solid rgb(255 255 255 / .4); border-bottom: 1px solid rgb(255 255 255 / .4); color: #fff; font-weight: 750; text-decoration: none; }
.vd-world__practical a:hover { background: #f3c845; color: #082e29; }
.vd-world__balance-row { margin: 2rem 0 0; }
.vd-world__balance { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .6rem .85rem; border: 1px solid currentColor; color: inherit; font-weight: 750; text-decoration: none; }
.vd-world__balance:hover { text-decoration: underline; text-underline-offset: .2em; }

.vd-portal-js .vd-world__content { display: none; }
.vd-portal-js [data-vd-open="citizen"] .vd-world--citizen .vd-world__content,
.vd-portal-js [data-vd-open="discover"] .vd-world--discover .vd-world__content { display: block; }
.vd-portal-js [data-vd-open="citizen"] .vd-world--citizen,
.vd-portal-js [data-vd-open="discover"] .vd-world--discover { flex: 72 1 0; }
.vd-portal-js [data-vd-open="citizen"] .vd-world--discover,
.vd-portal-js [data-vd-open="discover"] .vd-world--citizen { flex: 28 1 0; }
.vd-portal-js .vd-world-switch[data-vd-open="citizen"] { grid-template-columns: 72fr 28fr; }
.vd-portal-js .vd-world-switch[data-vd-open="discover"] { grid-template-columns: 28fr 72fr; }
.vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__cover,
.vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__cover { position: sticky; top: calc(var(--vd-sticky-header-height, 0px) + 3.75rem); min-height: max(560px,calc(100svh - 190px)); height: max(560px,calc(100svh - 190px)); padding-inline: clamp(1rem,2vw,2rem); }
.vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__copy h2,
.vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__copy h2 { font-size: clamp(2.3rem,3.3vw,3.6rem); }
.vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__summary,
.vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__summary,
.vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__direct,
.vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__full,
.vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__full { display: none; }
.vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__actions,
.vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__actions { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  .vd-world-switch, .vd-portal-js .vd-world-switch[data-vd-open] { grid-template-columns: 1fr 1fr; }
  .vd-dual-portal { display: block; min-height: 0; }
  .vd-world + .vd-world { border-left: 0; border-top: 1px solid rgb(255 255 255 / .45); }
  .vd-world__cover, .vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__cover,
  .vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__cover { position: relative; top: auto; height: auto; min-height: 20rem; padding: 1.25rem clamp(1rem,4vw,2rem) 1.5rem; }
  .vd-world__copy { padding-block: 2.5rem; }
  .vd-world__copy h2, .vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__copy h2,
  .vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__copy h2 { font-size: clamp(2.7rem,7vw,4.8rem); }
  .vd-world__content { padding: clamp(1.25rem,4vw,2.5rem); }
  .vd-world__editorial { grid-template-columns: 1fr; }
  .vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__direct { display: flex; }
  .vd-portal-js [data-vd-open="citizen"] .vd-world--discover .vd-world__summary,
  .vd-portal-js [data-vd-open="discover"] .vd-world--citizen .vd-world__summary { display: block; }
}
@media (max-width: 600px) {
  .vd-world-switch a { min-height: 3.5rem; padding: .5rem .7rem; font-size: .7rem; }
  .vd-world-switch a strong { display: block; font-size: .8rem; line-height: 1.1; }
  .vd-world__label { font-size: .62rem; }
  .vd-world__cover { min-height: 0; }
  .vd-world__copy { padding-block: 2rem; }
  .vd-world__copy h2 { font-size: clamp(2.6rem,11vw,4rem); }
  .vd-world__summary { font-size: 1rem; }
  .vd-world__actions { grid-template-columns: 1fr; }
  .vd-world__actions .vd-world__toggle { grid-column: 1; }
  .vd-world__content .vd-quick__list, .vd-world__categories, .vd-world__stories, .vd-world__practical { grid-template-columns: 1fr; }
  .vd-world__direct { gap: .35rem; }
  .vd-world__direct a { font-size: .8rem; }
  .vd-world__search .wp-block-search__inside-wrapper { display: grid; gap: .5rem; }
  .vd-world__stories a { min-height: 6rem; }
  .vd-world__practical a { min-height: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) { .vd-world-switch, .vd-world { transition: none; } }
