/* Adaptation commune : les composants rétrécissent avant de changer de disposition. */
:root { --vosc-gutter: clamp(16px, 3.5vw, 48px); }
.vosc-wrap,.vosc-editorial#primary { width: min(1180px,calc(100% - var(--vosc-gutter)*2)); }
.vosc-header-inner > *,.vosc-about > *,.vosc-story > *,.vosc-home-carnet > .vosc-wrap > *,
.vosc-memory-heading > *,.vosc-memory-card figcaption,.vosc-memory-card figcaption > div,
.vosc-saved-row h3,.vosc-check-item > span,.vosc-trip-card > div { min-width: 0; }
.vosc-btn,.vosc-text-link,.vosc-save,.vosc-footer-links a,.vosc-saved-row h3 { overflow-wrap: anywhere; }
.vosc-btn { max-width: 100%; text-align: center; white-space: normal; }
.vosc-memory-card .vosc-save { max-width: 100%; text-align: left; }
.vosc-memory-card .vosc-save-label { min-width: 0; }
.vosc-footer-inner { flex-wrap: wrap; }
.vosc-footer-links { flex: 1 1 520px; justify-content: flex-end; }
.vosc-footer-brand { max-width: 100%; }
.vosc-footer-bottom { flex-wrap: wrap; }
.vosc-travel-photo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),200px)); }
.vosc-travel-photo-grid > a { width: 100%; }
.vosc-world-map { height: clamp(320px,55svh,520px); }
.vosc-world-map .leaflet-popup-content { max-width: min(280px,calc(100vw - 110px)); overflow-wrap: anywhere; }
.vosc-map-tools button,.vosc-map-tools select,.vosc-trip-focus,.vosc-save,.vosc-photo-controls button { min-height: 44px; }
.vosc-photo-dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto; }
.vosc-photo-controls { flex-wrap: wrap; gap: 10px; }
.vosc-toc { top: 165px; }
.vosc-article-content iframe,.vosc-article-content video { max-width: 100%; }
.vosc-article-content pre { max-width: 100%; overflow-x: auto; }
/* Le menu compact arrive avant que les liens ne manquent de place. */
@media(max-width:1100px) {
    html { scroll-padding-top: 130px; }
    body .vosc-header { width: calc(100% - 28px); top: 10px; }
    body .vosc-header-inner { min-height: 90px; padding: 12px 18px; gap: 16px; }
    body .vosc-brand { width: clamp(140px,25vw,205px); min-width: 0; }
    .vosc-brand small { font-size: 7px; letter-spacing: 1px; }
    html.vosc-js .vosc-menu-toggle:not([hidden]) { display: inline-flex; flex-shrink: 0; min-height: 44px; gap: 12px; }
    html.vosc-js #vosc-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; padding: 12px 20px 20px; background: var(--vosc-cream); border-radius: 0 0 14px 14px; box-shadow: 0 16px 20px #102b2912; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 155px); overflow-y: auto; overscroll-behavior: contain; }
    html.vosc-js #vosc-navigation.is-open { display: flex; }
    #vosc-navigation a { min-height: 44px; padding: 12px 0; font-size: 14px; }
    #vosc-navigation .vosc-nav-story { margin: 0; padding: 12px 16px; text-align: center; }
    #vosc-navigation .vosc-nav-search { gap: 12px; }
    #vosc-navigation .vosc-search-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
    html:not(.vosc-js) .vosc-header-inner { flex-wrap: wrap; }
    html:not(.vosc-js) #vosc-navigation { display: flex; position: static; width: 100%; flex-wrap: wrap; box-shadow: none; }
    body.home .vosc-hero { height: auto; min-height: 760px; }
    body.home .vosc-hero h1 { font-size: clamp(56px,8vw,84px); max-width: 100%; }
    .vosc-hero-postcard { display: none; }
    .vosc-adventure-stamp { top: auto; bottom: 85px; right: 7%; }
    .vosc-memory-heading { gap: 30px; }
    .vosc-memory-grid { gap: 18px; }
    .vosc-memory-grid .vosc-memory-card { gap: 15px; }
    .vosc-memory-number { display: none; }
}
@media(min-width:1101px) {
    html.vosc-js .vosc-menu-toggle { display: none; }
    html.vosc-js #vosc-navigation { display: flex; }
    body.home .vosc-hero-content { width: min(1180px,calc(100% - var(--vosc-gutter)*2)); }
    body.home .vosc-hero h1 { max-width: 65%; font-size: clamp(72px,7vw,106px); }
}
@media(max-width:900px) {
    .vosc-about,.vosc-story { grid-template-columns: minmax(0,1fr); gap: 45px; }
    body.home .vosc-about-picture { width: min(390px,90%); margin-inline: auto; order: 2; }
    .vosc-story figure { width: min(380px,100%); margin-inline: auto; }
    .vosc-topics { grid-template-columns: minmax(0,1fr); }
    body.home .vosc-topics > div { min-height: 260px; padding: 50px 28px 28px; }
    .vosc-memory-heading { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .vosc-memory-heading > div:last-child { max-width: 550px; justify-self: start; }
    .vosc-memory-grid,.vosc-memory-grid.is-filtered { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; }
    .vosc-memory-grid .vosc-memory-featured { grid-row: auto; margin: 8px 0 16px; transform: none; }
    .vosc-memory-grid .vosc-memory-featured img { height: clamp(260px,50vw,420px); }
    .vosc-memory-footer { flex-wrap: wrap; }
    .vosc-reading-layout { flex-direction: column; }
    .vosc-toc { position: static; width: 100%; max-height: none; }
    .vosc-article-content { width: 100%; max-width: 100%; }
    .vosc-home-carnet > .vosc-wrap { grid-template-columns: minmax(0,1fr); gap: 35px; }
    body.home .vosc-carnet-preview { transform: none; box-shadow: none; }
    .vosc-next-travels nav { grid-template-columns: minmax(0,1fr); }
    .vosc-memory-footer .vosc-btn { flex-shrink: 1; }
}
@media(max-width:600px) {
    body .vosc-header-inner { min-height: 80px; padding: 10px 14px; gap: 10px; }
    body .vosc-brand { width: clamp(135px,44vw,180px); }
    .vosc-brand small { font-size: 5.5px; letter-spacing: .7px; margin-top: 6px; }
    .vosc-menu-toggle { padding: 9px 12px; font-size: 12px; }
    .vosc-footer { padding-inline: var(--vosc-gutter); }
    .vosc-footer-inner { flex-direction: column; }
    .vosc-footer-links { flex: auto; justify-content: flex-start; gap: 12px 20px; }
    .vosc-footer-bottom > span:last-child { margin-left: 0; }
    .vosc-footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
    body.home .vosc-hero { min-height: 720px; padding-top: 95px; }
    body.home .vosc-hero-content { padding-block: 55px 220px; }
    body.home .vosc-hero h1 { font-size: clamp(45px,12vw,68px); }
    body.home .vosc-hero-content > p { max-width: 100%; }
    body.home .vosc-hero-actions { gap: 20px; }
    .vosc-hero-postcard { display: block; width: 120px; right: 8%; }
    .vosc-adventure-stamp { left: 25px; right: auto; bottom: 95px; }
    body.home .vosc-hero-bottom { gap: 10px; font-size: 8px; }
    .vosc-hero-bottom > span { max-width: 55%; }
    body.home .vosc-ribbon { gap: 10px; font-size: 8px; }
    .vosc-memory-grid .vosc-memory-card,.vosc-memory-grid.is-filtered .vosc-memory-featured { grid-template-columns: 80px minmax(0,1fr); padding: 12px; gap: 14px; }
    .vosc-memory-grid .vosc-memory-featured { grid-template-columns: minmax(0,1fr); }
    .vosc-memory-grid img,.vosc-memory-grid.is-filtered .vosc-memory-featured img { width: 80px; height: 125px; }
    .vosc-memory-grid .vosc-memory-featured:not([hidden]) img { width: 100%; }
    .vosc-memory-grid.is-filtered .vosc-memory-featured:not([hidden]) img { width: 80px; height: 125px; }
    .vosc-memory-grid figcaption strong { font-size: 24px; }
    .vosc-memory-grid .vosc-memory-year { letter-spacing: .6px; }
    .vosc-memory-grid .vosc-save { padding: 8px; font-size: 10px; }
    .vosc-memory-grid .vosc-save > span:first-child { flex-shrink: 0; }
    .vosc-memory-filters button { padding: 10px 12px; }
    .vosc-explorer-form select,.vosc-explorer-form input[type=search],.vosc-search-form input[type=search],.vosc-map-tools select,.vosc-single input,.vosc-single textarea { font-size: 16px; }
    .vosc-search-form { flex-wrap: wrap; }
    .vosc-search-form input[type=search] { flex-basis: 100%; }
    .vosc-search-form button { width: 100%; min-height: 44px; }
    .vosc-travel-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .vosc-travel-photo-grid > a { padding: 8px; }
    .vosc-travel-photo-grid img { height: clamp(150px,40vw,220px); }
    .vosc-travel-tabs { gap: 8px; }
    .vosc-travel-tabs a { padding: 10px 14px; min-height: 44px; }
    .vosc-map-frame { padding: 7px; }
    .vosc-map-tools { align-items: stretch; }
    .vosc-map-tools select { min-width: 0; }
    .vosc-map-tour-panel { padding: 18px; }
    .vosc-saved-row { flex-wrap: wrap; }
    .vosc-saved-row h3 { flex: 1 1 100%; }
    .vosc-check-item { padding: 15px; }
    .vosc-checklist,.vosc-notebook { padding: 22px 18px; }
    .vosc-article-content blockquote { padding: 18px; margin-inline: 0; font-size: 20px; }
    .post-navigation .nav-links { flex-direction: column; }
    .post-navigation .nav-links > div { max-width: 100%; }
}
@media(max-height:550px) and (min-width:601px) {
    body.home .vosc-hero { min-height: 680px; }
    html.vosc-js #vosc-navigation { max-height: calc(100dvh - 120px); }
}
@media(hover:none) { .vosc-card:hover,.vosc-country:hover,.vosc-hero-postcard:hover { transform: none; } }
/* Le passeport doit aussi tenir en paysage et sur les écrans les plus étroits. */
.vosc-passport-scene { flex-shrink: 0; }
@media(max-width:600px) {
    .vosc-passport-intro { padding: 22px 16px 85px; }
    .vosc-passport-scene { width: min(230px,58vw); height: min(330px,48dvh); }
    .vosc-intro-pages { padding: 20px 14px; }
    .vosc-intro-page-title { font-size: 27px; }
    .vosc-intro-seal { width: min(145px,75%); }
    .vosc-intro-stamper { --vosc-stamp-scale: .8; }
}
@media(max-height:550px) {
    .vosc-passport-intro[open] { flex-direction: row; padding: 16px 20px 70px; gap: clamp(20px,5vw,50px); }
    .vosc-passport-scene { width: min(155px,26vw); height: min(215px,65dvh); }
    .vosc-intro-pages { padding: 12px; }
    .vosc-intro-page-title { font-size: 21px; }
    .vosc-intro-seal { width: 85px; }
    .vosc-intro-edition { font-size: 5px; }
    .vosc-intro-passport-label { font-size: 18px; letter-spacing: 2px; }
    .vosc-intro-brand { font-size: 18px; }
    .vosc-intro-cover-front { padding: 15px; }
    .vosc-intro-stamper { --vosc-stamp-scale: .6; }
}
/* Astra anime tous les attributs des liens : la largeur du logo doit suivre sans retard. */
body .vosc-brand,body .vosc-header,body .vosc-header-inner { transition: none; }
.vosc-menu-toggle { transition: background-color .2s,color .2s,border-color .2s; }
@media(max-width:600px) {
    .is-opening .vosc-intro-book { animation-name: vosc-book-arrive-compact; }
}
@keyframes vosc-book-arrive-compact {
    0% { transform: translateY(15px) rotate(-10deg) scale(.95); }
    12%,18% { transform: rotate(-8deg); }
    46%,64% { transform: translateX(36%) rotate(0) scale(.8); }
    65% { transform: translateX(36%) translateY(5px) rotate(1deg) scale(.785); }
    68%,100% { transform: translateX(36%) rotate(0) scale(.8); }
}
/* Garder le badge « On part ! » accroché à la carte postale à toutes les tailles. */
.vosc-adventure-stamp { aspect-ratio: 1; flex-shrink: 0; text-align: center; line-height: 1.15; }
.vosc-adventure-stamp > span { display: block; color: inherit; line-height: 1.3; }
.vosc-adventure-stamp strong { display: block; white-space: nowrap; line-height: 1.25; }
@media(max-width:1100px) {
    body.home .vosc-hero { max-height: none; }
    body.home .vosc-hero-content { padding-bottom: 390px; }
    .vosc-hero-postcard { display: block; top: auto; bottom: 65px; right: 7%; width: 170px; padding: 10px 10px 15px; }
    .vosc-hero-postcard img { height: 185px; }
    .vosc-hero-postcard > span:last-child { font-size: 15px; margin-top: 10px; }
    .vosc-adventure-stamp { top: auto; left: auto; right: 4%; bottom: 265px; width: 90px; height: 90px; }
    .vosc-adventure-stamp > span { font-size: 8px; letter-spacing: 1.5px; }
    .vosc-adventure-stamp strong { font-size: 23px; }
}
@media(max-width:600px) {
    body.home .vosc-hero-content { padding-bottom: 310px; }
    .vosc-hero-postcard { right: 8%; width: 130px; padding: 7px 7px 10px; }
    .vosc-hero-postcard img { height: 105px; }
    .vosc-hero-postcard > span:last-child { font-size: 12px; margin-top: 8px; }
    .vosc-adventure-stamp { left: auto; right: 4%; bottom: 180px; width: 78px; height: 78px; outline-width: 5px; }
    .vosc-adventure-stamp > span { font-size: 7px; letter-spacing: 1px; }
    .vosc-adventure-stamp strong { font-size: 21px; }
}

/* Menu flottant : apparition en zoom doux, sans déplacement vertical. */
body .vosc-header {
    transform-origin: 50% 0;
    scale: 1;
    opacity: 1;
    transition: scale .38s cubic-bezier(.16,1,.3,1), opacity .24s ease;
}
body .vosc-header.is-scroll-hidden {
    scale: .9;
    opacity: 0;
    pointer-events: none;
    transition: scale .24s cubic-bezier(.4,0,1,1), opacity .18s ease;
}
@media (prefers-reduced-motion: reduce) {
    body .vosc-header,
    body .vosc-header.is-scroll-hidden { transition: none; scale: 1; }
}

/* La loupe recule à gauche pour révéler le champ dans le menu. */
.vosc-header-search { display: contents; }
@media (min-width: 1101px) {
    .vosc-nav { position: relative; min-height: 48px; }
    .vosc-header-search { display: block; flex: 0 0 44px; width: 44px; }
    .vosc-header-search .vosc-nav-search {
        position: absolute; right: 0; top: 50%; transform: translateY(-50%);
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; padding: 0;
        z-index: 2; border-radius: 50%;
        transition: right .4s cubic-bezier(.22,.61,.36,1), background-color .2s;
    }
    .vosc-header-search-form {
        position: absolute; right: 0; top: 50%; transform: translateY(-50%);
        display: flex; align-items: center; width: calc(min(520px, 100%) - 48px);
        height: 48px; border: 1px solid #819387; border-radius: 25px;
        background: #fffdf7; opacity: 0; visibility: hidden;
        clip-path: inset(0 0 0 100% round 25px);
        transition: clip-path .4s cubic-bezier(.22,.61,.36,1), opacity .2s, visibility .4s;
    }
    .vosc-header-search-form input[type=search] {
        min-width: 0; width: 100%; height: 100%; margin: 0; padding: 10px 18px;
        border: 0; border-radius: 25px; background: transparent; color: #173f36;
        font: 400 15px/1.4 Arial,sans-serif; box-shadow: none;
    }
    .vosc-header-search-form button {
        flex: 0 0 38px; height: 38px; padding: 0; margin-right: 4px;
        border: 0; border-radius: 50%; background: var(--vosc-orange);
        color: #173f36; font-size: 23px; line-height: 1; cursor: pointer;
    }
    .vosc-header.is-search-open .vosc-nav > a { visibility: hidden; }
    .vosc-header.is-search-open .vosc-nav-search {
        right: calc(min(520px, 100%) - 44px); background: #e7eddf;
    }
    .vosc-header.is-search-open .vosc-header-search-form {
        opacity: 1; visibility: visible; clip-path: inset(0 round 25px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .vosc-header-search .vosc-nav-search, .vosc-header-search-form { transition: none; }
}

/* Préparation : une ligne du temps verticale, dans l’ordre de lecture. */
.vosc-checklist-items.vosc-preparation-timeline {
    display: block;
    list-style: none;
    counter-reset: preparation;
    margin: 28px 0 0;
    padding: 0;
    max-width: 850px;
}
.vosc-preparation-timeline > li {
    position: relative;
    counter-increment: preparation;
    padding: 0 0 22px 62px;
    margin: 0;
}
.vosc-preparation-timeline > li::before {
    content: counter(preparation, decimal-leading-zero);
    position: absolute; left: 0; top: 18px; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 2px solid #9da990; border-radius: 50%;
    background: #fff8ea; color: #173f36;
    font: 700 13px/1 Arial,sans-serif;
}
.vosc-preparation-timeline > li:not(:last-child)::after {
    content: ''; position: absolute;
    left: 19px; top: 58px; bottom: -18px;
    width: 2px; background: #a6b69f;
}
.vosc-preparation-timeline > li:last-child { padding-bottom: 0; }
.vosc-preparation-timeline .vosc-check-item {
    margin: 0; padding: 22px 24px;
    border: 1px solid #cbd3bf; border-radius: 14px;
    transition: background-color .2s, border-color .2s;
}
.vosc-preparation-timeline .vosc-check-item input { width: 22px; height: 22px; }
.vosc-preparation-timeline .vosc-check-item strong { font-size: 16px; color: #173f36; }
.vosc-preparation-timeline .vosc-check-item small { color: #4c6053; font-size: 13px; }
.vosc-preparation-timeline > li:has(input:checked)::before {
    content: '✓'; background: #173f36; border-color: #173f36; color: #fff8ea; font-size: 20px;
}
.vosc-preparation-timeline > li:has(input:checked)::after { background: #173f36; }
.vosc-preparation-timeline .vosc-check-item:has(input:focus-visible) {
    outline: 3px solid #247b9b; outline-offset: 4px;
}
@media (max-width: 600px) {
    .vosc-preparation-timeline > li { padding-left: 46px; padding-bottom: 16px; }
    .vosc-preparation-timeline > li::before { width: 32px; height: 32px; top: 18px; font-size: 11px; }
    .vosc-preparation-timeline > li:not(:last-child)::after { left: 15px; top: 50px; }
    .vosc-preparation-timeline .vosc-check-item { padding: 18px 14px; gap: 10px; }
    .vosc-preparation-timeline .vosc-check-item strong { font-size: 14px; }
    .vosc-preparation-timeline .vosc-check-item small { font-size: 12px; }
}

/* Parcours horizontal : les points restent visibles, une seule fiche est ouverte. */
.vosc-preparation-points {
    display: grid; grid-template-columns: repeat(7,minmax(90px,1fr));
    overflow-x: auto; list-style: none; margin: 28px 0 24px;
    padding: 6px 4px 16px; scrollbar-width: thin;
}
.vosc-preparation-points > li { position: relative; margin: 0; min-width: 0; }
.vosc-preparation-points > li:not(:last-child)::after {
    content: ''; position: absolute; top: 26px; left: 50%; width: 100%;
    height: 2px; background: #a6b69f;
}
.vosc-preparation-points button {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    align-items: center; gap: 10px; width: 100%; padding: 0 4px;
    background: transparent; border: 0; color: #173f36;
    font: 600 12px/1.4 Arial,sans-serif; cursor: pointer;
}
.vosc-step-number {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border: 2px solid #91a184;
    border-radius: 50%; background: #fff8ea; color: #173f36; font-size: 18px;
}
.vosc-preparation-points button[aria-current=step] .vosc-step-number {
    border-color: #986018; background: #f4b34c; box-shadow: 0 0 0 4px #f4b34c30;
}
.vosc-preparation-points .is-complete .vosc-step-number { background: #173f36; border-color: #173f36; color: #fff8ea; }
.vosc-preparation-points button:disabled { color: #65735e; cursor: default; opacity: 1; }
.vosc-preparation-points button:disabled .vosc-step-number { background: #e8eee1; color: #65735e; border-color: #bac5b0; }
.vosc-checklist-items.vosc-preparation-timeline.is-guided { max-width: none; margin: 0; }
.vosc-preparation-timeline.is-guided > li { padding: 0; }
.vosc-preparation-timeline.is-guided > li::before,
.vosc-preparation-timeline.is-guided > li::after { display: none; }
.vosc-preparation-timeline.is-guided .vosc-check-item { border-radius: 14px 14px 0 0; border-bottom: 0; }
.vosc-preparation-timeline.is-guided .vosc-step-validate {
    display: flex; margin: 0; width: 100%; border: 1px solid #cbd3bf;
    border-radius: 0 0 14px 14px; padding: 15px 20px; box-shadow: none;
}
.vosc-preparation-complete { padding: 18px 22px; background: #173f36; color: #fff8ea; border-radius: 12px; margin: 20px 0 0; }

/* Trois repères utiles par étape, sans ajouter de formulaires. */
.vosc-step-details {
    margin: 0; padding: 0 24px 22px 60px;
    background: #fff8ea; border: 1px solid #cbd3bf; border-top: 0;
    border-radius: 0 0 14px 14px; list-style: disc;
    color: #364f43; font-size: 14px; line-height: 1.7;
}
.vosc-step-details > li { padding: 5px 0; margin: 0; }
.vosc-step-details > li::marker { color: #986018; }
.vosc-preparation-timeline.is-guided .vosc-step-details { border-radius: 0; border-bottom: 0; }
.vosc-preparation-timeline .vosc-check-item { border-bottom: 0; border-radius: 14px 14px 0 0; }
@media (max-width: 600px) {
    .vosc-step-details { padding: 0 18px 18px 45px; font-size: 13px; }
}

/* Enlever les ombres de boutons du thème derrière les points du parcours. */
.vosc-checklist .vosc-preparation-points > li {
    background: transparent; border: 0; box-shadow: none;
}
.vosc-checklist .vosc-preparation-points button,
.vosc-checklist .vosc-preparation-points button:hover,
.vosc-checklist .vosc-preparation-points button:focus,
.vosc-checklist .vosc-preparation-points button:active,
.vosc-checklist .vosc-preparation-points button:disabled {
    background: transparent; background-image: none;
    border: 0; border-radius: 0; box-shadow: none;
}
.vosc-preparation-reset {
    display: block; margin: 20px 0 0 auto; padding: 10px 16px;
    min-height: 44px; border: 1px solid #81937d; border-radius: 24px;
    background: transparent; color: #173f36; box-shadow: none;
    font: 600 13px/1.4 Arial,sans-serif; cursor: pointer;
}
.vosc-preparation-reset:hover { background: #dce6d7; color: #173f36; box-shadow: none; }

/* Recommencer à côté du titre du parcours. */
.vosc-checklist-heading {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.vosc-checklist-heading h2 { margin: 0; min-width: 0; }
.vosc-checklist-heading .vosc-preparation-reset { margin: 0; flex-shrink: 0; }
@media (max-width: 480px) {
    .vosc-checklist-heading { align-items: flex-start; gap: 10px; }
    .vosc-checklist-heading .vosc-preparation-reset { padding: 9px 12px; font-size: 12px; }
}

/* Même espace sous le menu sur toutes les pages intérieures. */
body:not(.home) #content #primary.vosc-editorial {
    margin-block: 0;
    padding-top: 24px;
}
@media (max-width: 680px) {
    body:not(.home) #content #primary.vosc-editorial { padding-top: 16px; }
}

/* Une vraie photo de couple sur Notre histoire, indépendante des logos. */
.vosc-story.vosc-story-text { grid-template-columns: minmax(0,780px); justify-content: center; }
.vosc-story figure.vosc-couple-photo { padding: 0; background: transparent; transform: none; }
.vosc-story .vosc-couple-photo img { display: block; width: 100%; height: auto; border-radius: 18px; }

/* Une photo différente pour chaque raison de partager le journal. */
.vosc-value-photos { gap: 28px; }
.vosc-value-photos > div { min-width: 0; }
.vosc-value-photos .vosc-value-photo {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
    object-fit: cover; border-radius: 14px; margin-bottom: 22px;
}
.vosc-value-photos h3 { margin: 0 0 12px; }
@media (max-width: 680px) {
    .vosc-value-photos { gap: 32px; }
    .vosc-value-photos .vosc-value-photo { margin-bottom: 18px; }
}

/* Les photos deviennent le fond des trois blocs du journal. */
.vosc-value-photos > div {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 26px;
    border-radius: 16px;
    background: #123d36;
}
.vosc-value-photos > div::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 0%, rgba(4,22,20,.04) 30%, rgba(4,22,20,.48) 55%, rgba(4,22,20,.86) 100%);
    pointer-events: none;
}
.vosc-value-photos > div > .vosc-value-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    margin: 0;
    object-fit: cover;
}
.vosc-value-photos > div > h3 { color: #fff8ea; margin: 0 0 14px; }
.vosc-value-photos > div > p { color: #fff8ea; margin: 0; line-height: 1.8; }
@media (max-width: 680px) {
    .vosc-value-photos > div { min-height: 320px; padding: 28px 24px; }
}

/* Plus de place au paysage, contraste localisé sur les textes. */
.vosc-value-photos > div { min-height: 430px; }
.vosc-value-photos > div > h3,
.vosc-value-photos > div > p { text-shadow: 0 1px 5px rgba(0,0,0,.85); }
@media (max-width: 680px) {
    .vosc-value-photos > div { min-height: 380px; }
}

.vosc-footer .vosc-footer-copyright { max-width: 1180px; margin: 24px auto 0; text-align: right; font-size: 12px; color: #d2dcd8; }

/* Chaque carnet s’ouvre sur sa photo, les récits commencent après le premier écran. */
body.vosc-travel-cover-page .vosc-header {
    position: fixed; left: 50%; transform: translateX(-50%); margin: 0;
}
body.vosc-travel-cover-page #content #primary.vosc-travel-page {
    width: 100%; max-width: none; margin: 0; padding: 0;
}
.vosc-travel-cover {
    position: relative; isolation: isolate; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    background: #123d36; color: #fff8ea; padding: 210px 0 80px;
}
.admin-bar .vosc-travel-cover { min-height: calc(100svh - 32px); }
.vosc-travel-cover-photo,
.vosc-travel-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.vosc-travel-cover-photo { z-index: -2; object-fit: cover; object-position: center; }
.vosc-travel-cover::after {
    content: ''; z-index: -1;
    background: linear-gradient(180deg,#071e1926 0%,#071e1955 40%,#071e19b3 100%);
}
.vosc-travel-cover .vosc-page-heading { margin-bottom: 26px; text-align: center; }
.vosc-travel-cover .vosc-page-heading h1 {
    color: #fff8ea; font-size: clamp(64px,8vw,112px);
    text-shadow: 0 3px 20px #071e1955; margin-bottom: 12px;
}
.vosc-travel-cover .vosc-page-heading > p { color: #fff8ea; font-size: 18px; }
.vosc-travel-cover .vosc-travel-save { margin: 24px 0; }
.vosc-travel-cover .vosc-save { color: #fff8ea; border-color: #fff8ea80; background: #102b295c; margin: 0; }
.vosc-travel-cover .vosc-save:hover,
.vosc-travel-cover .vosc-save[aria-pressed=true] { color: #173f36; background: #fff1d8; border-color: #fff1d8; }
.vosc-travel-cover .vosc-travel-tabs { margin: 28px 0 0; gap: 12px; }
.vosc-travel-cover .vosc-travel-tabs a { background: #fff8ea; color: #173f36; border-color: transparent; }
.vosc-travel-body { padding-block: 35px 75px; }
.vosc-travel-body > .vosc-travel-section:first-child { border-top: 0; }
@media (max-width: 680px) {
    .vosc-travel-cover { padding: 155px 0 60px; }
    .vosc-travel-cover .vosc-travel-tabs { gap: 8px; }
    .vosc-travel-cover .vosc-travel-tabs a { padding: 12px 15px; font-size: 12px; }
    .vosc-travel-body { padding-block: 20px 50px; }
}
@media (max-width: 782px) {
    .admin-bar .vosc-travel-cover { min-height: calc(100svh - 46px); }
}

/* Album immersif : une mosaïque photographique, sans cadres ni textes répétés. */
.vosc-travel-photo-grid.vosc-album-grid {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    grid-auto-rows: 245px; gap: 16px;
}
.vosc-album-grid > a.vosc-photo-open {
    position: relative; display: block; min-width: 0;
    width: 100%; height: 100%; padding: 0; margin: 0;
    overflow: hidden; border: 0; border-radius: 16px; background: #dce6dd;
}
.vosc-album-grid[data-photo-count="3"] > a:first-child { grid-row: span 2; }
.vosc-album-grid[data-photo-count="1"] { grid-template-columns: minmax(0,1fr); grid-auto-rows: 500px; }
.vosc-album-grid[data-photo-count="2"] { grid-auto-rows: 420px; }
.vosc-travel-photo-grid.vosc-album-grid img {
    display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0;
    transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .3s;
}
.vosc-album-grid .vosc-photo-open:hover img { transform: scale(1.035); filter: brightness(1.04); }
.vosc-album-grid .vosc-photo-open:focus-visible { outline: 3px solid #247b9b; outline-offset: 5px; }
.vosc-travel-photo-grid.vosc-album-grid .vosc-album-enlarge {
    position: absolute; right: 16px; bottom: 16px; display: flex;
    align-items: center; justify-content: center; margin: 0;
    width: 42px; height: 42px; border-radius: 50%; background: #fff8eaed;
    color: #173f36; font-size: 25px; box-shadow: 0 3px 15px #071e1926;
}
.vosc-photo-dialog .vosc-photo-thumbnails {
    position: relative; display: flex; justify-content: flex-start; gap: 10px;
    overflow-x: auto; max-width: 100%; padding: 8px 4px; margin-top: 14px;
}
.vosc-photo-thumbnails button {
    flex: 0 0 60px; height: 60px; padding: 3px; margin: 0;
    background: transparent; border: 2px solid transparent; border-radius: 9px;
    box-shadow: none; opacity: .65; cursor: pointer;
}
.vosc-photo-thumbnails button[aria-pressed=true] { border-color: #986018; opacity: 1; }
.vosc-photo-thumbnails button:hover { opacity: 1; background: transparent; }
.vosc-photo-thumbnails button img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.vosc-photo-dialog:has(.vosc-photo-thumbnails:not([hidden])) > img { max-height: 54svh; }
@media (max-width: 680px) {
    .vosc-travel-photo-grid.vosc-album-grid { grid-auto-rows: 150px; gap: 10px; }
    .vosc-album-grid[data-photo-count="3"] > a:first-child { grid-column: 1 / -1; grid-row: span 2; }
    .vosc-album-grid[data-photo-count="1"], .vosc-album-grid[data-photo-count="2"] { grid-auto-rows: 300px; }
    .vosc-album-grid .vosc-photo-open { border-radius: 12px; }
    .vosc-travel-photo-grid.vosc-album-grid .vosc-album-enlarge { width: 36px; height: 36px; right: 10px; bottom: 10px; }
    .vosc-photo-dialog { max-width: calc(100vw - 20px); padding: 14px; }
    .vosc-photo-dialog .vosc-photo-controls { gap: 8px; }
}

/* Visionneuse sombre : l’image et les commandes restent proches. */
html.vosc-album-open { overflow: hidden; }
.vosc-photo-dialog.vosc-album-viewer {
    width: min(1320px,96vw); max-width: 96vw;
    height: 94svh; height: 94dvh; max-height: 94dvh;
    padding: 18px 24px; margin: auto; border: 1px solid #ffffff20;
    border-radius: 20px; background: #102722; color: #fff8ea;
    box-shadow: 0 25px 100px #0008; overflow: hidden;
}
.vosc-album-viewer[open] { display: grid; grid-template-rows: 44px minmax(0,1fr) auto auto; gap: 12px; }
.vosc-album-viewer::backdrop { background: #020d0bed; }
.vosc-viewer-toolbar { display: flex; align-items: center; gap: 18px; min-width: 0; }
.vosc-viewer-toolbar > span:first-child { font-weight: 600; font-size: 15px; margin-right: auto; }
.vosc-viewer-toolbar .vosc-photo-count { font-size: 13px; color: #d8e2d7; white-space: nowrap; }
.vosc-album-viewer .vosc-photo-close {
    margin: 0; padding: 9px 15px; min-height: 44px;
    border: 1px solid #fff8ea50; background: #ffffff0d; color: #fff8ea;
    box-shadow: none; border-radius: 24px;
}
.vosc-album-viewer .vosc-photo-close:hover { background: #ffffff20; }
.vosc-photo-stage { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; padding: 0 65px; }
.vosc-album-viewer .vosc-photo-stage > img {
    display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
    object-fit: contain; border-radius: 8px; margin: 0; touch-action: pan-y pinch-zoom;
}
.vosc-album-viewer .vosc-photo-controls { position: static; margin: 0; }
.vosc-album-viewer .vosc-photo-controls button {
    position: absolute; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; border: 1px solid #fff8ea50;
    border-radius: 50%; background: #ffffff12; color: #fff8ea;
    font: 400 36px/1 Arial,sans-serif; box-shadow: none;
}
.vosc-album-viewer .vosc-photo-prev { left: 0; }
.vosc-album-viewer .vosc-photo-next { right: 0; }
.vosc-album-viewer .vosc-photo-controls button:hover { background: #fff8ea; color: #173f36; }
.vosc-album-viewer .vosc-photo-caption { color: #d8e2d7; margin: 0; font-size: 12px; }
.vosc-album-viewer .vosc-photo-thumbnails {
    width: max-content; max-width: 100%; justify-self: center;
    gap: 12px; margin: 0; padding: 4px;
}
.vosc-album-viewer .vosc-photo-thumbnails button { flex-basis: 58px; height: 58px; border-color: transparent; opacity: .55; }
.vosc-album-viewer .vosc-photo-thumbnails button[aria-pressed=true] { border-color: #efae44; opacity: 1; }
.vosc-album-viewer button:focus-visible { outline: 2px solid #efae44; outline-offset: 3px; }
@media (max-width: 680px) {
    .vosc-photo-dialog.vosc-album-viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 12px; border-radius: 0; }
    .vosc-album-viewer[open] { gap: 10px; }
    .vosc-photo-stage { padding: 0; }
    .vosc-album-viewer .vosc-photo-controls button { width: 40px; height: 40px; background: #102722c9; }
    .vosc-album-viewer .vosc-photo-prev { left: 4px; }
    .vosc-album-viewer .vosc-photo-next { right: 4px; }
    .vosc-viewer-toolbar { gap: 12px; }
    .vosc-album-viewer .vosc-photo-thumbnails button { flex-basis: 48px; height: 48px; }
}

/* Safari : dimensionner la scène indépendamment des dimensions natives de l’image. */
.vosc-album-viewer[open] { display: flex; flex-direction: column; }
.vosc-album-viewer .vosc-viewer-toolbar { flex: 0 0 44px; width: 100%; }
.vosc-album-viewer .vosc-photo-stage { flex: 1 1 0; width: 100%; min-height: 0; }
.vosc-album-viewer .vosc-photo-stage > img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    padding-inline: 65px; object-fit: contain; box-sizing: border-box;
}
.vosc-album-viewer .vosc-photo-caption { flex: 0 0 auto; width: 100%; }
.vosc-album-viewer .vosc-photo-thumbnails { flex: 0 0 auto; align-self: center; }
.vosc-album-viewer .vosc-photo-controls { z-index: 1; }
@media (max-width: 680px) {
    .vosc-album-viewer .vosc-photo-stage > img { padding-inline: 0; }
}
.vosc-album-viewer .vosc-photo-thumbnails { margin-inline: auto; justify-content: safe center; }

/* En grand, ne pas inventer des pixels lorsque le fichier source est petit. */
.vosc-album-viewer .vosc-photo-stage > img { object-fit: scale-down; image-rendering: auto; }

/* Album de voyage : tirage central et aperçu des photos voisines. */
.vosc-photo-dialog.vosc-album-viewer {
    isolation: isolate; background: #0e211e;
    width: 96vw; max-width: 1600px; border-color: #fff8ea33;
}
.vosc-album-viewer > .vosc-viewer-ambience {
    position: absolute; z-index: -2; inset: -5%;
    width: 110%; height: 110%; max-width: none; max-height: none;
    object-fit: cover; filter: blur(35px) brightness(.42) saturate(.8);
    opacity: .75; pointer-events: none;
}
.vosc-album-viewer::after {
    content: ''; position: absolute; z-index: -1; inset: 0;
    background: linear-gradient(180deg,#081c1a55,transparent 45%,#081c1ac9);
    pointer-events: none;
}
.vosc-viewer-toolbar > span:first-child { font: 400 clamp(24px,2.5vw,38px)/1.2 var(--vosc-display); }
.vosc-album-viewer .vosc-photo-stage { padding: 0; }
.vosc-viewer-frame {
    position: absolute; inset: 0 190px; display: flex;
    align-items: center; justify-content: center; min-width: 0; min-height: 0;
    pointer-events: none;
}
.vosc-album-viewer .vosc-viewer-frame > img {
    display: block; width: auto; height: auto; max-width: 100%; max-height: 100%;
    object-fit: scale-down; margin: 0; border: 8px solid #fff8ea;
    border-radius: 3px; box-shadow: 0 18px 55px #0007; touch-action: pan-y pinch-zoom;
    pointer-events: auto;
}
.vosc-album-viewer .vosc-photo-controls button {
    width: 150px; height: 220px; border: 6px solid #fff8ea;
    border-bottom-width: 30px; border-radius: 3px;
    background: #fff8ea; opacity: .78; box-shadow: 0 12px 35px #0005;
    transition: opacity .2s, transform .3s;
}
.vosc-album-viewer .vosc-photo-controls button > img {
    display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0;
}
.vosc-album-viewer .vosc-photo-controls button > span {
    position: absolute; bottom: -28px; left: 0; width: 100%;
    height: 25px; font: 400 25px/1 Arial,sans-serif; color: #173f36;
}
.vosc-album-viewer .vosc-photo-prev { left: 22px; transform: translateY(-50%) rotate(-7deg); }
.vosc-album-viewer .vosc-photo-next { right: 22px; transform: translateY(-50%) rotate(7deg); }
.vosc-album-viewer .vosc-photo-controls button:hover { opacity: 1; transform: translateY(-50%) rotate(0); }
.vosc-album-viewer .vosc-photo-caption { font-size: 13px; color: #fff8ea; }
.vosc-album-viewer .vosc-photo-thumbnails button { border-radius: 4px; opacity: .6; }
.vosc-album-viewer .vosc-photo-thumbnails button[aria-pressed=true] { background: #fff8ea; border-color: #fff8ea; opacity: 1; }
@media (max-width: 900px) {
    .vosc-viewer-frame { inset-inline: 115px; }
    .vosc-album-viewer .vosc-photo-controls button { width: 86px; height: 136px; border-width: 4px; border-bottom-width: 26px; }
    .vosc-album-viewer .vosc-photo-prev { left: 8px; }
    .vosc-album-viewer .vosc-photo-next { right: 8px; }
}
@media (max-width: 680px) {
    .vosc-photo-dialog.vosc-album-viewer { width: 100vw; max-width: 100vw; }
    .vosc-viewer-frame { inset: 0 5px; }
    .vosc-album-viewer .vosc-viewer-frame > img { border-width: 5px; }
    .vosc-album-viewer .vosc-photo-controls button,
    .vosc-album-viewer .vosc-photo-controls button:hover {
        width: 40px; height: 44px; border: 1px solid #fff8ea80; border-radius: 50%;
        transform: translateY(-50%); background: #102722d9; opacity: 1;
    }
    .vosc-album-viewer .vosc-photo-controls button > img { display: none; }
    .vosc-album-viewer .vosc-photo-controls button > span { position: static; height: auto; color: #fff8ea; font-size: 30px; }
    .vosc-album-viewer .vosc-photo-prev { left: 0; }
    .vosc-album-viewer .vosc-photo-next { right: 0; }
}
.vosc-album-viewer .vosc-photo-controls .vosc-photo-prev { transform: translateY(-50%) rotate(-7deg); }
.vosc-album-viewer .vosc-photo-controls .vosc-photo-next { transform: translateY(-50%) rotate(7deg); }
.vosc-album-viewer .vosc-photo-controls button:hover { transform: translateY(-50%) rotate(0); }
@media (max-width: 680px) {
    .vosc-album-viewer .vosc-photo-controls .vosc-photo-prev,
    .vosc-album-viewer .vosc-photo-controls .vosc-photo-next { transform: translateY(-50%); }
}

/* Rubriques propres à chaque voyage : seules celles remplies sont présentes. */
.vosc-trip-intro { max-width: 780px; margin: 0 auto 32px; font-size: 17px; line-height: 1.9; }
.vosc-trip-sections { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.vosc-trip-detail { border: 1px solid #cbd6c5; border-radius: 14px; background: #fff9ed; overflow: hidden; }
.vosc-trip-detail > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; font: 400 clamp(23px,2.4vw,30px)/1.35 var(--vosc-display); color: #173f36; }
.vosc-trip-detail > summary::-webkit-details-marker { display: none; }
.vosc-trip-detail > summary > span { flex-shrink: 0; font: 400 25px/1 Arial,sans-serif; }
.vosc-trip-detail[open] > summary > span { transform: rotate(45deg); }
.vosc-trip-detail > summary:focus-visible { outline: 3px solid #247b9b; outline-offset: -4px; }
.vosc-trip-detail-content { padding: 0 26px 24px; font-size: 15px; line-height: 1.85; }
.vosc-trip-detail-content > :last-child { margin-bottom: 0; }
.vosc-trip-detail-content img { max-width: 100%; height: auto; }
@media(max-width:680px) { .vosc-trip-intro { font-size: 15px; } .vosc-trip-detail > summary { padding: 18px; } .vosc-trip-detail-content { padding: 0 18px 20px; } }

.vosc-latest-trip.vosc-latest-without-photo { grid-template-columns: minmax(0,1fr); }

/* Même barre flottante sur l’accueil, les voyages et les articles. */
body .vosc-header{position:fixed;left:50%;transform:translateX(-50%);margin:0;top:16px;}
body.admin-bar .vosc-header{top:48px;}
body:not(.home) #content.site-content{padding-top:160px;}
body.vosc-article-cover-page #content.site-content{padding-top:0;}
@media(max-width:860px){body .vosc-header{top:10px;}body:not(.home) #content.site-content{padding-top:130px;}}
@media(max-width:782px){body.admin-bar .vosc-header{top:62px;}}

/* La visionneuse ne doit pas défiler lorsqu’une commande reçoit le focus. */
.vosc-photo-dialog.vosc-album-viewer{overflow:clip;}
@media(max-width:680px){
    .vosc-photo-dialog.vosc-album-viewer{padding: max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));}
}

/* Safari prolonge le fond du document autour de l’heure et de sa barre d’outils.
   Les fonds propres à #page et aux sections conservent leur présentation. */
html,
html body,
html body.vosc-journey-design { background-color:#103a35; }

/* Navigation commune : liens ouverts et repère doré, sans pastilles. */
body .vosc-header{width:min(1240px,calc(100% - 48px));border-radius:18px;border-color:#fffdf5cc;background:#fff9edf7;box-shadow:0 12px 36px #061b251c,inset 0 1px 0 #fff;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
body .vosc-header-inner{min-height:90px;padding:12px 28px;gap:32px;}
body .vosc-brand{width:215px;flex:0 0 215px;}
body .vosc-brand small{font-size:7px;letter-spacing:1.6px;white-space:nowrap;}
body .vosc-header .vosc-nav{gap:14px;font-size:14px;}
body .vosc-header .vosc-nav>a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 12px;margin:0;border:0;border-radius:0;background:transparent;color:#173f36;box-shadow:none;text-decoration:none;white-space:nowrap;line-height:1.4;transition:color .18s;}
body .vosc-header .vosc-nav>a::after{content:'';position:absolute;left:12px;right:12px;bottom:4px;height:2px;background:#bd832b;transform:scaleX(0);transform-origin:left;transition:transform .2s;}
body .vosc-header .vosc-nav>a:hover{background:transparent;color:#52735e;}
body .vosc-header .vosc-nav>a[aria-current=page]{background:transparent;color:#173f36;border-color:transparent;box-shadow:none;}
body .vosc-header .vosc-nav>a:is(:hover,:focus-visible,[aria-current=page])::after{transform:scaleX(1);}
body .vosc-header .vosc-nav-story span{margin-left:0;font-size:18px;}
body .vosc-header .vosc-nav a:focus-visible,
body .vosc-header button:focus-visible{outline:2px solid #ba7d23;outline-offset:4px;}
body .vosc-header-search .vosc-nav-search{color:#173f36;background:transparent;border:0;border-radius:0;box-shadow:none;}
body .vosc-header-search .vosc-nav-search:hover{background:transparent;color:#91631e;}
body .vosc-menu-toggle{border-radius:6px;background:transparent;color:#173f36;border:0;font-weight:600;box-shadow:none;}
body .vosc-menu-toggle:is(:hover,:focus){background:transparent;color:#173f36;}
body .vosc-menu-toggle>span{display:block;position:relative;width:18px;height:16px;font-size:0;border-block:2px solid currentColor;}
body .vosc-menu-toggle>span::before{content:'';position:absolute;left:0;right:0;top:5px;border-top:2px solid currentColor;}
body .vosc-menu-toggle[aria-expanded=true]>span{border:0;}
body .vosc-menu-toggle[aria-expanded=true]>span::before,
body .vosc-menu-toggle[aria-expanded=true]>span::after{content:'';position:absolute;left:0;right:0;top:7px;border-top:2px solid currentColor;transform:rotate(45deg);}
body .vosc-menu-toggle[aria-expanded=true]>span::after{transform:rotate(-45deg);}
@media(min-width:1101px) and (max-width:1250px){
    body .vosc-header-inner{padding-inline:20px;gap:16px;}
    body .vosc-brand{width:190px;flex-basis:190px;}
    body .vosc-header .vosc-nav{font-size:13px;gap:3px;}
    body .vosc-header .vosc-nav>a{padding-inline:11px;}
}
@media(max-width:1100px){
    body .vosc-header-inner{min-height:78px;padding:11px 18px;gap:16px;}
    body .vosc-brand{width:clamp(140px,25vw,205px);flex:0 1 auto;}
    html.vosc-js body .vosc-header #vosc-navigation{top:calc(100% + 10px);padding:10px 22px 20px;gap:0;border:1px solid #e5dfcf;border-radius:16px;background:#fff9ed;box-shadow:0 18px 35px #102b2920;max-height:calc(100dvh - 155px);}
    body .vosc-header #vosc-navigation>a{justify-content:flex-start;width:100%;min-height:52px;padding:14px 12px;border-radius:0;border-bottom:1px solid #173f3612;}
    body .vosc-header #vosc-navigation>a::after{left:0;right:auto;top:17px;bottom:17px;width:3px;height:auto;transform:none;opacity:0;transition:opacity .18s;}
    body .vosc-header #vosc-navigation>a:is(:hover,:focus-visible,[aria-current=page])::after{opacity:1;}
    body .vosc-header #vosc-navigation .vosc-nav-story span{margin-left:auto;}
    body .vosc-header #vosc-navigation .vosc-nav-search{display:flex;align-items:center;min-height:48px;width:100%;padding:12px 16px;border-radius:12px;}
}
@media(max-width:480px){
    body .vosc-header-inner{min-height:72px;padding:10px 14px;gap:12px;}
    body .vosc-brand{max-width:185px;}
    body .vosc-brand small{font-size:6px;letter-spacing:1px;}
    body .vosc-menu-toggle{padding:10px 13px;font-size:13px;}
}

/* La recherche et le compte prolongent la ligne de navigation. */
@media(min-width:1101px){
    body .vosc-header .vosc-nav{padding:0;background:transparent;border:0;border-radius:0;}
    body .vosc-header .vosc-nav-account{margin-left:12px;}
    body .vosc-header .vosc-nav-account::before{content:'';position:absolute;left:-10px;top:13px;bottom:13px;width:1px;background:#173f3626;}
    body .vosc-header .vosc-header-search{margin-left:2px;}
    body .vosc-header-search .vosc-nav-search{right:0;}
    body .vosc-header.is-search-open .vosc-nav-search{background:transparent;color:#173f36;}
    body .vosc-header-search-form{right:0;border-radius:8px;clip-path:inset(0 0 0 100% round 8px);}
    body .vosc-header.is-search-open .vosc-header-search-form{clip-path:inset(0 round 8px);}
    body .vosc-header-search-form input[type=search]{border-radius:8px;}
    body .vosc-header-search-form button[type=submit]{border-radius:4px;background:transparent;color:#173f36;}
    body .vosc-header-search-form button[type=submit]:hover{background:#e9eddf;}
}
@media(max-width:1100px){
    body .vosc-header{width:calc(100% - 28px);}
    body .vosc-header #vosc-navigation .vosc-header-search{margin-top:14px;padding-top:0;border-top:0;}
}

@media(min-width:1251px){
    body .vosc-header .vosc-nav{gap:18px;}
    body .vosc-header .vosc-nav>a{padding-inline:12px;}
}

@media(min-width:1101px){
    body .vosc-header.is-search-open .vosc-nav-search{left:5px;right:auto;}
    body .vosc-header.is-search-open .vosc-header-search-form{left:59px;right:5px;width:auto;}
    body .vosc-header.is-search-open .vosc-nav-search svg{display:none;}
    body .vosc-header.is-search-open .vosc-nav-search::before,
    body .vosc-header.is-search-open .vosc-nav-search::after{content:'';position:absolute;width:18px;height:2px;background:currentColor;border-radius:2px;transform:rotate(45deg);}
    body .vosc-header.is-search-open .vosc-nav-search::after{transform:rotate(-45deg);}
}

.vosc-header-search-form button[type=submit]{display:inline-flex;align-items:center;justify-content:center;box-shadow:none;}
.vosc-header-search-form button[type=submit] svg{display:block;flex-shrink:0;}

/* Notre Histoire : ouverture personnelle, projet et photos de voyage. */
.vosc-our-story .vosc-story-opening{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(35px,6vw,85px);padding:12px 0 80px;}
.vosc-our-story .vosc-story-opening h1{font:400 26px/1.4 var(--vosc-display);color:#7d653d;margin:0 0 28px;}
.vosc-our-story .vosc-story-opening h1>span{display:block;margin-top:18px;font-size:clamp(40px,4.7vw,66px);line-height:1.18;color:#173f36;}
.vosc-our-story p{font-size:16px;line-height:1.85;color:#51655b;margin:0 0 20px;}
.vosc-our-story p.vosc-story-lead{font-size:20px;line-height:1.7;color:#173f36;}
.vosc-our-story .vosc-story-portrait{margin:0;padding:12px;background:#fffdf7;border:1px solid #ded9c8;border-radius:24px;box-shadow:0 18px 45px #173f3614;}
.vosc-our-story .vosc-story-portrait img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:50% 65%;border-radius:15px;}
.vosc-our-story .vosc-story-portrait figcaption{padding:14px 5px 4px;text-align:center;font-size:13px;color:#715a36;}
.vosc-our-story .vosc-story-project{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(30px,5vw,70px);padding:48px;border:1px solid #d8dfd0;border-radius:24px;background:#eaf0e4;scroll-margin-top:145px;}
.vosc-story-project-heading>span{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#f3dfb5;color:#173f36;font-size:26px;margin-bottom:20px;}
.vosc-our-story h2{font:400 clamp(32px,3.4vw,46px)/1.25 var(--vosc-display);color:#173f36;}
.vosc-our-story .vosc-story-project h2{margin:0;}
.vosc-our-story .vosc-story-project p:last-child{margin-bottom:0;}
.vosc-our-story .vosc-story-values{border:0;padding:75px 0;}
.vosc-our-story .vosc-value-photos>div{min-height:350px;border-radius:20px;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;}
.vosc-our-story .vosc-value-photos>div::after{background:linear-gradient(0deg,#08251bef, #08251b80 45%,transparent 80%);}
.vosc-our-story .vosc-value-photos>div>p{font-size:15px;line-height:1.75;margin:0;color:#fff9ed;}
.vosc-our-story .vosc-story-invitation{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:36px 0;border-top:1px solid #173f3626;}
.vosc-our-story .vosc-story-invitation h2{margin:0 0 12px;}
.vosc-our-story .vosc-story-invitation p{margin:0;}
.vosc-story-invitation-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;flex-shrink:0;}
@media(max-width:860px){
    .vosc-our-story .vosc-story-opening{grid-template-columns:minmax(0,1fr);gap:30px;padding-bottom:45px;}
    .vosc-our-story .vosc-story-portrait{width:min(480px,100%);margin:auto;}
    .vosc-our-story .vosc-story-project{grid-template-columns:minmax(0,1fr);padding:28px;gap:24px;}
    .vosc-our-story .vosc-story-invitation{align-items:flex-start;flex-direction:column;}
}
@media(max-width:600px){
    .vosc-our-story p{font-size:15px;}.vosc-our-story p.vosc-story-lead{font-size:18px;}
    .vosc-our-story .vosc-story-opening h1>span{font-size:clamp(36px,9vw,48px);}
    .vosc-our-story .vosc-story-values{padding-block:45px;}
    .vosc-our-story .vosc-value-photos>div{min-height:310px;padding:24px;}
    .vosc-our-story .vosc-story-project{padding:24px;}
}

/* Le menu reste au-dessus des commandes cartographiques. */
body .vosc-header{z-index:1000;}
.vosc-journey-map-banner{isolation:isolate;}

@media(max-width:1100px){
    body .vosc-header #vosc-navigation .vosc-header-search{display:block;}
    body .vosc-header .vosc-header-search-form:not([hidden]){display:flex;align-items:center;gap:8px;width:100%;margin-top:10px;padding:5px;border:1px solid #819387;border-radius:8px;background:#fffdf7;}
    body .vosc-header-search-form input[type=search]{min-width:0;flex:1;width:100%;height:44px;margin:0;padding:10px 12px;border:0;background:transparent;box-shadow:none;font-size:16px;color:#173f36;}
    body .vosc-header-search-form button[type=submit]{flex:0 0 44px;height:44px;padding:0;border:0;border-radius:4px;background:transparent;color:#173f36;}
    body .vosc-header.is-search-open #vosc-navigation .vosc-nav-search{background:#173f36;color:#fff9ed;}
    body .vosc-header.is-search-open .vosc-search-label{font-size:0;}
    body .vosc-header.is-search-open .vosc-search-label::after{content:'Fermer la recherche';font-size:14px;}
}

/* Mobile : saisie immédiate dans le menu, sans étape intermédiaire. */
@media(max-width:1100px){
    body .vosc-header #vosc-navigation .vosc-header-search>.vosc-nav-search{display:none;}
    body .vosc-header #vosc-navigation .vosc-header-search-form:not([hidden]){margin-top:0;}
}

/* Petit écran : le médaillon occupe sa place, jamais celle du texte. */
@media(max-width:760px){
    body.home .vosc-hero{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;height:auto;min-height:100svh;padding-top:130px;padding-bottom:90px;}
    body.home .vosc-hero .vosc-hero-content{padding-block:26px 0;flex:none;}
    body.home .vosc-hero .vosc-hero-postcard.vosc-hero-illustration,
    body.home .vosc-hero .vosc-hero-postcard.vosc-hero-illustration:hover{position:relative;inset:auto;translate:none;transform:none;display:grid;flex:none;align-self:center;width:clamp(180px,42vw,290px);margin:38px auto 0;}
    body.home .vosc-hero .vosc-hero-actions{gap:18px 24px;}
    body.home .vosc-hero .vosc-hero-bottom{bottom:26px;}
}
/* Le logo seul est centré sur la hauteur du bandeau. */
body .vosc-header-inner{align-items:center;}
body .vosc-header .vosc-brand{align-self:center;justify-content:center;line-height:0;padding-block:0;margin-block:0;}
body .vosc-header .vosc-brand img{display:block;margin:0;vertical-align:middle;}

/* Écran intermédiaire : conserver la composition de bureau. */
@media(min-width:761px) and (max-width:1100px){
    body.home .vosc-hero{display:flex;flex-direction:row;align-items:center;height:auto;min-height:max(760px,100svh);padding-top:120px;padding-bottom:0;}
    body.home .vosc-hero .vosc-hero-content{padding-block:55px 105px;}
    body.home .vosc-hero .vosc-hero-content h1{max-width:62%;font-size:clamp(54px,6.5vw,74px);}
    body.home .vosc-hero .vosc-hero-content>p{max-width:55%;}
    body.home .vosc-hero .vosc-hero-actions{max-width:58%;gap:18px;}
    body.home .vosc-hero .vosc-hero-postcard.vosc-hero-illustration,
    body.home .vosc-hero .vosc-hero-postcard.vosc-hero-illustration:hover{display:grid;position:absolute;width:clamp(240px,31vw,340px);right:4%;left:auto;top:50%;bottom:auto;margin:0;translate:0 -40%;transform:none;}
}

@media(max-width:760px){
    body.home .vosc-hero .vosc-hero-postcard.vosc-hero-illustration,
    body.home .vosc-hero .vosc-hero-postcard.vosc-hero-illustration:hover{margin-top:58px;}
}

/* Le compte commun reste accessible sans serrer les liens du menu. */
@media(min-width:1101px) and (max-width:1250px){body .vosc-header .vosc-nav{gap:2px;}body .vosc-header .vosc-nav>a{padding-inline:9px;}}
