/* ==================================================================
 * Vosges Essentia — effets au défilement (16/11/2026)
 * Repris, en version sobre, de ce qui a été fait sur le site Confiserie
 * Géromoise (direction-a.fx) : barre de progression, en-tête fixe,
 * apparition des cartes, chiffres qui comptent, bonbon animé.
 *
 * .ve-fx       posée très tôt (petit script du layout) : animations d'ouverture
 * .ve-fx-live  posée par ve.fx.js : tout ce qui dépend du script
 * Rien de tout cela ne s'active si le visiteur a demandé « réduire les animations ».
 * ================================================================== */
:root { --ve-header-h: 66px; }

/* ---------- Barre de progression de lecture ---------- */
.ve-fx-progress {
    position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 3px;
    transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
    background: linear-gradient(90deg, var(--ve-gold), var(--ve-sage));
}

/* ---------- En-tête : se fixe en haut quand on descend ---------- */
.ve-site-header.is-stuck {
    position: fixed; z-index: 40;
    padding-top: 12px; padding-bottom: 12px;
    background: rgba(31, 53, 32, .95);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7);
}
.ve-fx .ve-site-header.is-stuck { animation: ve-fx-drop .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes ve-fx-drop { from { transform: translate3d(0, -100%, 0); } to { transform: none; } }
body.ve-menu-open .ve-site-header.is-stuck { z-index: 60; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 720px) {
    :root { --ve-header-h: 60px; }
    .ve-site-header.is-stuck { padding-top: 8px; padding-bottom: 8px; }
}

/* ---------- Ouverture des pages : le titre et son texte montent en douceur ---------- */
@keyframes ve-fx-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
.ve-fx .ve-hero-eyebrow,
.ve-fx .ve-hero-wordmark,
.ve-fx .ve-hero-tagline,
.ve-fx .ve-hero-bottombar,
.ve-fx .ve-page-hero-content > * { animation: ve-fx-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.ve-fx .ve-hero-eyebrow { animation-delay: .15s; }
.ve-fx .ve-hero-wordmark { animation-delay: .3s; }
.ve-fx .ve-hero-tagline { animation-delay: .55s; }
.ve-fx .ve-hero-bottombar { animation-delay: .85s; }
.ve-fx .ve-page-hero-content > *:nth-child(1) { animation-delay: .15s; }
.ve-fx .ve-page-hero-content > *:nth-child(2) { animation-delay: .3s; }
.ve-fx .ve-page-hero-content > *:nth-child(3) { animation-delay: .5s; }
.ve-fx .ve-page-hero-content > *:nth-child(4) { animation-delay: .7s; }

/* Accueil : le texte du paysage s'efface un peu quand on commence à descendre */
.ve-fx-live .ve-scene-hero .ve-hero-content { opacity: var(--ve-co, 1); }

/* ---------- Apparition des cartes (jamais des paragraphes de texte) ---------- */
.ve-fx-live .ve-fx-r {
    opacity: 0; transform: translate3d(0, 26px, 0);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--ve-d, 0ms);
}
.ve-fx-live .ve-fx-r.is-in { opacity: 1; transform: none; }

/* Chiffres clés : largeur stable pendant le comptage */
.ve-stat-num { font-variant-numeric: tabular-nums; }

/* ==================================================================
   Le bonbon des Vosges : il sort, s'ouvre, et les sapins apparaissent
   (mêmes images que sur le site Confiserie Géromoise)
   ================================================================== */
.ve-bb { position: relative; background: var(--ve-cream-warm); }
.ve-bb__sticky { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 28px 16px 40px; overflow: hidden; }
.ve-bb__text { text-align: center; max-width: 700px; position: relative; z-index: 2; }
.ve-bb__kicker { color: var(--ve-gold); margin: 0 0 12px; }
.ve-bb__title { margin: 0; font-family: var(--ve-font-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; color: var(--ve-forest-deep); }
.ve-bb__track { width: 100%; display: flex; justify-content: center; }
.ve-bb__stage { position: relative; width: min(460px, 78vw, 50vh); aspect-ratio: 1033 / 973; transform: scale(var(--bb-pop, 1)); }
.ve-bb__stage img { position: absolute; display: block; height: auto; max-width: none; }
.ve-bb__right { left: 44.05%; top: 26.10%; width: 49.37%; }
.ve-bb__left { left: 5.81%; top: 26.10%; width: 49.37%; }
.ve-bb__center { left: 24.59%; top: 0; width: 49.76%; }
.ve-bb__drop { left: 57.41%; top: 68.76%; width: 14.13%; }
.ve-bb__leaf-l { left: 0; top: 55.91%; width: 49.95%; }
.ve-bb__leaf-r { left: 49.95%; top: 55.91%; width: 50.05%; }
.ve-bb__forest { position: absolute; left: 24.59%; top: 0; width: 49.76%; aspect-ratio: 411 / 630; pointer-events: none; background: url(/images/direction-a/bb-forest.webp) center / 100% 100% no-repeat; }

/* le bloc principal coupe ce qui dépasse en largeur : on garde la coupe mais sans bloquer l'épinglage */
.ve-has-bb main#content { overflow: visible; }
@supports (overflow: clip) { .ve-has-bb main#content { overflow-x: clip; } }
.ve-fx-live .ve-bb { height: 205vh; }
.ve-fx-live .ve-bb__sticky { position: -webkit-sticky; position: sticky; top: var(--ve-header-h); height: calc(100vh - var(--ve-header-h)); box-sizing: border-box; }
.ve-fx-live .ve-bb__track { margin-top: -70vh; padding-top: 70vh; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.ve-fx-live .ve-bb__stage img { will-change: transform, opacity; transform-origin: 50% 50%; }
.ve-fx-live .ve-bb__text { will-change: transform; }
.ve-fx-live .ve-bb__kicker { opacity: 0; }
.ve-fx-live .ve-bb__w { display: inline-block; opacity: 0; will-change: transform, opacity, filter; transform-origin: 0 100%; }
.ve-fx-live .ve-bb__title { transition: text-shadow .3s ease; }
.ve-fx-live .ve-bb__text.is-over .ve-bb__title { text-shadow: 0 0 10px var(--ve-cream-warm), 0 0 18px var(--ve-cream-warm), 0 0 3px var(--ve-cream-warm); }
.ve-fx-live .ve-bb__text.is-over .ve-bb__kicker { opacity: 0 !important; transition: opacity .3s ease; }
.ve-fx-live .ve-bb__forest { opacity: 0; will-change: transform, opacity; }
/* voile crème en haut de la zone : le bonbon sort en douceur */
.ve-fx-live .ve-bb::before { content: ''; position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 220px; pointer-events: none; background: linear-gradient(to bottom, rgba(251, 249, 240, 1) 0%, rgba(251, 249, 240, 1) 10%, rgba(251, 249, 240, .72) 45%, rgba(251, 249, 240, 0) 100%); }
@media (max-width: 1100px) { .ve-fx-live .ve-bb { height: 190vh; } }
@media (max-width: 720px) {
    .ve-fx-live .ve-bb__track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
    .ve-fx-live .ve-bb::before { height: 170px; }
}

/* ==================================================================
   Habillage (16/11/2026) : pictos au trait fin et photos de l'atelier
   Les pictos sont des dessins vectoriels inscrits ici même : aucun fichier à charger.
   ================================================================== */
.ve-pillars[aria-labelledby="ve-pillars-heading"] .ve-pillar::before,
[aria-labelledby="ve-dp-canaux-h2"] .ve-cap-card::before,
[aria-labelledby="ve-dp-labels-h2"] .ve-cap-card::before {
    content: ''; display: block; width: 46px; height: 46px; margin-bottom: 18px; flex: none;
    background: var(--ve-moss);
    -webkit-mask: var(--ve-ico) center / contain no-repeat; mask: var(--ve-ico) center / contain no-repeat;
}
.ve-pillars[aria-labelledby="ve-pillars-heading"] .ve-pillar:nth-child(1) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 5l-9 12h5l-8 11h6l-7 10h26l-7-10h6l-8-11h5z%22/%3E%3Cpath d=%22M24 38v6%22/%3E%3C/svg%3E"); }
.ve-pillars[aria-labelledby="ve-pillars-heading"] .ve-pillar:nth-child(2) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 42V22%22/%3E%3Cpath d=%22M24 26c0-8-5-13-14-13 0 8 5 13 14 13z%22/%3E%3Cpath d=%22M24 22c0-7 5-12 14-12 0 8-5 12-14 12z%22/%3E%3Cpath d=%22M14 42h20%22/%3E%3C/svg%3E"); }
.ve-pillars[aria-labelledby="ve-pillars-heading"] .ve-pillar:nth-child(3) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 43S10 29.500 10 19a14 14 0 0128 0c0 10.500-14 24-14 24z%22/%3E%3Cpath d=%22M16 23l5-7 3 4 2-2.500 5 5.500z%22/%3E%3C/svg%3E"); }
.ve-pillars[aria-labelledby="ve-pillars-heading"] .ve-pillar:nth-child(4) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 20h32%22/%3E%3Cpath d=%22M11 20c0 12 4 19 13 19s13-7 13-19%22/%3E%3Cpath d=%22M8 20c-2 0-3-1.500-3-3M40 20c2 0 3-1.500 3-3%22/%3E%3Cpath d=%22M19 13c0-2 2-2.500 2-5M27 13c0-2 2-2.500 2-5%22/%3E%3Cpath d=%22M17 39l-2 4M31 39l2 4%22/%3E%3C/svg%3E"); }
[aria-labelledby="ve-dp-canaux-h2"] .ve-cap-card:nth-child(1) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 20l3-11h26l3 11%22/%3E%3Cpath d=%22M8 20c0 3 2 5 5.3 5s5.4-2 5.4-5c0 3 2 5 5.3 5s5.3-2 5.3-5c0 3 2 5 5.4 5S40 23 40 20%22/%3E%3Cpath d=%22M11 25v15h26V25%22/%3E%3Cpath d=%22M20 40V31h8v9%22/%3E%3C/svg%3E"); }
[aria-labelledby="ve-dp-canaux-h2"] .ve-cap-card:nth-child(2) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 21h34l-3.5 18h-27z%22/%3E%3Cpath d=%22M15 21l7-12M33 21l-7-12%22/%3E%3Cpath d=%22M18 27v7M24 27v7M30 27v7%22/%3E%3C/svg%3E"); }
[aria-labelledby="ve-dp-canaux-h2"] .ve-cap-card:nth-child(3) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 8h10v11h11v10H29v11H19V29H8V19h11z%22/%3E%3Cpath d=%22M19 29c0-6 4-10 10-10 0 6-4 10-10 10z%22/%3E%3C/svg%3E"); }
[aria-labelledby="ve-dp-labels-h2"] .ve-cap-card:nth-child(1) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 39C9 21 21 9 40 8c0 19-11 31-31 31z%22/%3E%3Cpath d=%22M9 39L29 19%22/%3E%3Cpath d=%22M17 31h8M23 25h7%22/%3E%3C/svg%3E"); }
[aria-labelledby="ve-dp-labels-h2"] .ve-cap-card:nth-child(2) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 38l12-20 7 11 5-8 14 17z%22/%3E%3Cpath d=%22M13.5 24l3.5 3 3.5-3%22/%3E%3Ccircle cx=%2235%22 cy=%2212%22 r=%224%22/%3E%3C/svg%3E"); }
[aria-labelledby="ve-dp-labels-h2"] .ve-cap-card:nth-child(3) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 6l8 4.600v9.200L24 24.400l-8-4.600v-9.200z%22/%3E%3Cpath d=%22M15 21.500l8 4.600v9.200L15 39.900l-8-4.600v-9.200z%22/%3E%3Cpath d=%22M33 21.500l8 4.600v9.200l-8 4.600-8-4.600v-9.200z%22/%3E%3C/svg%3E"); }
[aria-labelledby="ve-dp-labels-h2"] .ve-cap-card:nth-child(4) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2224%22 cy=%2219%22 r=%2211%22/%3E%3Cpath d=%22M24 13.500l1.800 3.600 4 .600-2.900 2.800.700 4-3.600-1.900-3.600 1.900.700-4-2.900-2.800 4-.600z%22/%3E%3Cpath d=%22M17 28l-4 14 7-3.500M31 28l4 14-7-3.500%22/%3E%3C/svg%3E"); }
.ve-sf-ingredients li:nth-child(1) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 6l8 4.600v9.200L24 24.400l-8-4.600v-9.200z%22/%3E%3Cpath d=%22M15 21.500l8 4.600v9.200L15 39.900l-8-4.600v-9.200z%22/%3E%3Cpath d=%22M33 21.500l8 4.600v9.200l-8 4.600-8-4.600v-9.200z%22/%3E%3C/svg%3E"); }
.ve-sf-ingredients li:nth-child(2) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 5l-9 12h5l-8 11h6l-7 10h26l-7-10h6l-8-11h5z%22/%3E%3Cpath d=%22M24 38v6%22/%3E%3C/svg%3E"); }
.ve-sf-ingredients li:nth-child(3) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2216%22 cy=%2231%22 r=%227%22/%3E%3Ccircle cx=%2232%22 cy=%2231%22 r=%227%22/%3E%3Ccircle cx=%2224%22 cy=%2218%22 r=%227%22/%3E%3Cpath d=%22M24 11V6M24 6c2-2 5-2 7 0%22/%3E%3C/svg%3E"); }
.ve-sf-ingredients li:nth-child(4) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 44V26%22/%3E%3Cpath d=%22M24 26c-7 0-10-6-8-16 3 1 6 4 8 8 2-4 5-7 8-8 2 10-1 16-8 16z%22/%3E%3Cpath d=%22M24 38c-4 0-7-2-9-6M24 34c4 0 7-2 9-6%22/%3E%3C/svg%3E"); }
.ve-sf-ingredients li:nth-child(5) { --ve-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 6S11 20 11 30a13 13 0 0026 0C37 20 24 6 24 6z%22/%3E%3Cpath d=%22M18 31a6 6 0 006 6%22/%3E%3C/svg%3E"); }
.ve-sf-ingredients li { position: relative; padding-left: 62px; }
.ve-sf-ingredients li::before {
    content: ''; position: absolute; left: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
    background: var(--ve-moss);
    -webkit-mask: var(--ve-ico) center / contain no-repeat; mask: var(--ve-ico) center / contain no-repeat;
}
@media (max-width: 720px) { .ve-sf-ingredients li { padding-left: 54px; } .ve-sf-ingredients li::before { left: 14px; } }

/* Photos dans les pages de texte */
.ve-figure { max-width: 820px; margin: 40px auto 0; }
.ve-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--ve-cream); }
.ve-figure figcaption { margin-top: 12px; font-family: var(--ve-font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ve-moss); text-align: center; }
.ve-figure--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ve-figure--duo img { aspect-ratio: 4 / 3; }
.ve-figure--duo figcaption { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 720px) { .ve-figure { margin-top: 28px; } .ve-figure--duo { gap: 8px; } .ve-figure figcaption { font-size: 10px; letter-spacing: .14em; } }

/* Grilles de cartes dont le nombre de colonnes est fixé dans la page : on repasse à 2 puis 1 colonne sur petit écran */
@media (max-width: 1100px) { .ve-cap-grid[style*="repeat(4"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
@media (max-width: 720px) { .ve-cap-grid[style] { grid-template-columns: 1fr !important; } }

/* Menu : la rubrique en cours est soulignée d'un trait vert clair */
.ve-main-nav a[aria-current="page"]::after { transform: scaleX(1); height: 2px; bottom: -5px; background: var(--ve-sage); border-radius: 2px; }
.ve-mobile-nav-list a[aria-current="page"] { color: var(--ve-sage); box-shadow: 0 2px 0 var(--ve-sage); }

/* ==================================================================
 * Accueil VE — 18/11/2026
 * 1) Mobile : paysage « dézoomé » (on voit toute la largeur de l'image),
 *    ciel prolongé vers le haut avec la couleur exacte du haut de l'image (#34A0E0).
 * 2) Effet relief : le JS (ve.tilt.js) pose --ve-tx / --ve-ty (-1 à 1) selon
 *    l'inclinaison du téléphone (ou la souris sur ordinateur) ; nuages, paysage
 *    et texte bougent d'amplitudes différentes, ce qui donne la profondeur.
 * ================================================================== */
.ve-scene-hero { --ve-tx: 0; --ve-ty: 0; }
/* (effet d'inclinaison retiré le 18/11 au soir : nuages et texte ne suivent plus le téléphone ni la souris) */
@media (max-width: 720px) {
    .ve-scene-hero {
        background-color: #34A0E0;
        background-size: 171% auto;   /* 190 % le 18/11, dézoomé de 10 % le même jour */
        /* !important : prime sur le décalage au défilement posé en ligne par ve.fx.js,
           sinon l'image remonte et laisse une bande bleue en bas */
        background-position: calc(50% + var(--ve-tx) * 18px) 100% !important;
    }
}
.ve-tilt-btn {
    -webkit-appearance: none; appearance: none;
    position: absolute; left: 50%; bottom: 14px; z-index: 3;
    transform: translateX(-50%);
    margin: 0; padding: 6px 4px; border: 0; border-radius: 0;
    background: none; box-shadow: none; outline-offset: 4px;
    color: #fff; white-space: nowrap;
    font-family: var(--ve-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(31,53,32,.75), 0 0 10px rgba(31,53,32,.45);
    -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.ve-tilt-btn::before { content: "\2726\00a0"; }
@media (max-width: 720px) {
    .ve-scene-hero .ve-cloud { scale: 1.1; }   /* nuages 10 % plus gros sur téléphone */
}
@media (prefers-reduced-motion: reduce) {
    .ve-scene-hero .ve-cloud, .ve-scene-hero .ve-hero-content { translate: none; }
}

/* ==================================================================
 * 18/11/2026 (après-midi) — lisibilité du haut de page et espacements
 * ================================================================== */
/* Phrase du haut de page : plus grande, ombre plus marquée */
.ve-hero-tagline {
    font-size: clamp(21px, 2.3vw, 30px);
    text-shadow: 0 1px 3px rgba(31, 53, 32, .75), 0 2px 16px rgba(31, 53, 32, .55);
}
/* Sections éditoriales : moins de vide entre les blocs */
.ve-manifesto { padding: 96px 56px; }
/* une citation qui suit un paragraphe ne doit pas lui être collée */
.ve-manifesto-text + .ve-manifesto-quote { margin-top: 40px; }
@media (max-width: 720px) {
    .ve-hero-tagline { font-size: 21px; line-height: 1.4; }
    .ve-manifesto,
    .ve-capabilities { padding: 56px 22px; }
    .ve-manifesto-eyebrow { margin-bottom: 22px; }
    .ve-manifesto-divider { margin: 28px auto; }
    .ve-manifesto-text + .ve-manifesto-quote { margin-top: 30px; }
}
/* Boutons sur téléphone : le libellé revient à la ligne au lieu de sortir du cadre ou d'être coupé */
@media (max-width: 720px) {
    .ve-btn { white-space: normal; max-width: 100%; box-sizing: border-box; letter-spacing: .1em; line-height: 1.45; padding: 13px 22px; }
}

/* ==================================================================
 * 18/11/2026 (soir) — Accueil VE : paysage en relief « livre animé »
 * Le paysage est découpé en 5 plans (exports de fond-v3-simply.psd,
 * dans /images/ve/relief/). Le ciel est un dégradé CSS, les nuages passent
 * derrière les montagnes. Trois effets, tous pilotés par des variables :
 *   --ve-tx / --ve-ty : inclinaison du téléphone ou souris (ve.tilt.js)
 *   --ve-sy           : défilement de la page (0 à 1)
 *   à l'arrivée, les plans se déplient l'un après l'autre comme un livre animé.
 * Sans JavaScript, le paysage s'affiche simplement à plat.
 * ================================================================== */
.ve-scene-hero.ve-has-relief {
    --ve-sy: 0; --ve-amp: 1;
    background-color: #8DD3F7;
    /* fond derrière les plans : du bleu ciel en haut vers le blanc en bas (18/11 au soir) */
    background-image: linear-gradient(180deg, #2F9ADB 0%, #42A9DE 30%, #8DD3F7 58%, #FFFFFF 100%) !important;
    background-size: 100% 100% !important;
    background-position: 0 0 !important;
}
.ve-relief {
    position: absolute; left: 50%; bottom: -16px; z-index: 0;
    width: max(108%, 1625px); aspect-ratio: 2098 / 624;
    transform: translateX(-50%);
    perspective: 1500px; perspective-origin: 50% 100%;
    pointer-events: none;
}
.ve-relief .ve-pl {
    position: absolute; left: -2.86%; top: 0; width: 110.49%; height: 100%; max-width: none;
    transform-origin: 50% 100%;
    -webkit-user-select: none; user-select: none;
}
/* Léger relief après le dépliage (remis le 18/11 au soir, très discret) : seul le premier plan bouge
   vraiment, à l'inclinaison du téléphone et au défilement ; les plans de derrière, lointains, presque pas. */
.ve-relief .ve-pl {
    /* max(…, 0) : à l'inclinaison, les plans arrière ne font que descendre, jamais remonter au-delà de leur position de repos
       (sinon on découvre ce qui est caché derrière le premier plan) */
    transform: translate3d(calc(var(--ve-tx) * var(--px)), calc(var(--by, 0%) + max(var(--ve-ty), 0) * var(--py) + var(--ve-sy) * var(--sy)), 0);
}
/* réglage du 18/11 au soir :
   --by  = décalage fixe vers le haut (en % de la hauteur du paysage) : plus le plan est loin, plus il est remonté ;
   --py  = mouvement à l'inclinaison haut/bas, --sy = enfoncement au défilement : un peu plus forts pour les plans lointains
          (sur téléphone, valeurs en pixels fixées plus bas : le lac disparaît entièrement derrière le premier plan, c'est voulu) ;
   le lac et ses collines (plans 3 et 4) restent solidaires ; le premier plan ne bouge qu'un peu de côté. */
.ve-relief .ve-pl-1 { --by: -7.3%; --px: 0px;  --py: 23px; --sy: 52px; }   /* sommets : à peine plus que le bloc */
/* 19/11 : profondeur de champ — les sommets passent entre vert et bleu ; une ligne de montagnes en plus tout au fond,
   bleutée, qui réutilise l'image des sommets en symétrie horizontale (aucune image en plus à charger) */
.ve-relief .ve-pl-1 { filter: hue-rotate(34deg) saturate(.9) brightness(1.04); }   /* un peu plus bleu le 20/11 */
.ve-relief .ve-pl-6 { --by: -12%;  --px: 0px;  --py: 25px; --sy: 57px;
    scale: -1.07 1; filter: hue-rotate(88deg) saturate(1.35) brightness(1.12); opacity: .92; }   /* franchement bleu le 20/11, neige blanche */
.ve-relief-go .ve-pl-6 { animation-name: ve-pl-up-6; }
.ve-relief .ve-pl-2 { --by: -4.9%; --px: 0px;  --py: 20px; --sy: 46px; }   /* montagnes : même mouvement que le lac */
.ve-relief .ve-pl-3,
.ve-relief .ve-pl-4 { --by: -2.3%; --px: 0px;  --py: 20px; --sy: 46px; }
.ve-relief .ve-pl-5 { --by: 0%;    --px: -6px; --py: 0px;  --sy: 0px; }
/* eau sous le lac : comble le bas du chenal entre les deux collines quand le lac est remonté ; elle suit le lac */
.ve-relief::before {
    content: ""; position: absolute; left: 36%; right: 40%; bottom: 0; height: 22%;
    background: linear-gradient(180deg, #82CEF2 0%, #A1DAF4 100%);
    transform: translate3d(0, calc(max(var(--ve-ty), 0) * var(--wpy, 20px) + var(--ve-sy) * var(--wsy, 46px)), 0);
}
.ve-relief-wait::before { opacity: 0; }
.ve-relief-go::before { opacity: 0; animation: ve-pl-show .01s 1.1s forwards; }
/* les nuages et le texte restent devant/derrière comme il faut */
.ve-scene-hero.ve-has-relief .ve-cloud { z-index: 0; }

/* Dépliage à l'arrivée : chaque plan se relève depuis le bas, du plus proche au plus lointain */
@keyframes ve-pl-up {
    0%   { rotate: x 86deg; opacity: 0; }
    12%  { opacity: 1; }
    50%  { rotate: x -12.65deg; }
    68%  { rotate: x 6.9deg; }
    82%  { rotate: x -2.9deg; }
    92%  { rotate: x 1.15deg; }
    100% { rotate: x 0deg; opacity: 1; }
}
@keyframes ve-pl-show { to { opacity: 1; } }
@keyframes ve-pl-up-6 {
    0%   { rotate: x 86deg; opacity: 0; }
    12%  { opacity: .82; }
    50%  { rotate: x -12.65deg; }
    68%  { rotate: x 6.9deg; }
    82%  { rotate: x -2.9deg; }
    92%  { rotate: x 1.15deg; }
    100% { rotate: x 0deg; opacity: .82; }
}
.ve-relief-wait .ve-pl { opacity: 0; animation: ve-pl-show 0s 4s forwards; }   /* filet de sécurité */
/* ordre du 18/11 au soir : le premier plan d'abord (avec rebond), puis les plans de derrière */
.ve-relief-go .ve-pl { animation: ve-pl-up 1.35s cubic-bezier(.3, .7, .35, 1) both; }
.ve-relief-go .ve-pl-5 { animation-delay: .1s; }
.ve-relief-go .ve-pl-3,
.ve-relief-go .ve-pl-4 { animation-delay: .49s; }
.ve-relief-go .ve-pl-2 { animation-delay: .83s; }
.ve-relief-go .ve-pl-1 { animation-delay: 1.17s; }
.ve-relief-go .ve-pl-6 { animation-delay: 1.51s; }   /* écarts allongés de 13 % le 19/11 */

/* très grands écrans : le haut de page grandit avec le paysage pour garder du ciel au-dessus */
@media (min-width: 721px) {
    .ve-scene-hero.ve-has-relief { height: clamp(780px, 41vw, 1100px); }
}
@media (max-width: 720px) {
    /* téléphone : on cadre sur le lac et les sapins, et l'inclinaison balaie le panorama */
    .ve-scene-hero.ve-has-relief { --ve-amp: 1.3; }
    .ve-relief { width: 150vw; transform: translateX(-48%); bottom: -16px; --wsy: 50px; }
    /* la remontée des plans arrière reste proportionnelle (2,3 / 4,9 / 7,3 % : 14, 30 et 45 px sur un écran d'ordinateur) ;
       l'enfoncement au défilement est un peu augmenté pour que le lac disparaisse entièrement */
    .ve-relief .ve-pl-3,
    .ve-relief .ve-pl-4 { --sy: 50px; }
    .ve-relief .ve-pl-2 { --sy: 50px; }
    .ve-relief .ve-pl-1 { --sy: 56px; }
    .ve-relief .ve-pl-6 { --sy: 62px; }   /* dézoomé le 18/11 au soir : les sapins des deux côtés sont visibles */
}
/* Le voile sombre du bas de l'image est retiré : le fond se termine sur un vrai blanc (18/11 au soir) */
.ve-scene-hero.ve-has-relief::after { background: linear-gradient(180deg, rgba(31, 53, 32, .05) 0%, transparent 30%); }
/* Deux nuages plus bas et plus gros (donc plus proches), ajoutés le 18/11 au soir */
.ve-scene-hero .ve-cloud-low-1 { top: 25%; width: 17%; }
.ve-scene-hero .ve-cloud-low-2 { top: 31%; width: 15%; }
@media (max-width: 720px) {
    .ve-scene-hero .ve-cloud-low-1 { top: 41%; width: 27%; }
    .ve-scene-hero .ve-cloud-low-2 { top: 49%; width: 24%; }
}
/* Téléphone : la phrase est sur un fond clair, elle passe en vert foncé avec un halo blanc (18/11 au soir) */
@media (max-width: 720px) {
    .ve-scene-hero.ve-has-relief .ve-hero-tagline {
        color: #1F3520;
        position: relative; top: -20px;   /* remontée de 20 px le 18/11 au soir */
        text-shadow: 0 1px 2px rgba(255, 255, 255, .75), 0 0 14px rgba(255, 255, 255, .65);
    }
    .ve-scene-hero.ve-has-relief .ve-hero-tagline strong { color: inherit; }
}
/* La phrase du haut de page n'apparaît qu'une fois le paysage déplié (18/11 au soir) */
.ve-scene-hero .ve-relief-wait ~ .ve-scene-content .ve-hero-tagline { animation: none; opacity: 0; }
.ve-scene-hero .ve-relief-go ~ .ve-scene-content .ve-hero-tagline { animation: ve-fx-rise .9s cubic-bezier(.2, .8, .2, 1) 2.9s both; }
/* Tablettes (iPad…), 19/11 : le paysage y est grand, l'enfoncement au défilement est augmenté
   pour retrouver l'effet du téléphone (l'arrière-plan disparaît derrière le premier plan) */
@media (min-width: 721px) and (max-width: 1199px) {
    .ve-relief { --wsy: 130px; }
    .ve-relief .ve-pl-3,
    .ve-relief .ve-pl-4 { --sy: 130px; }
    .ve-relief .ve-pl-2 { --sy: 140px; }
    .ve-relief .ve-pl-1 { --sy: 150px; }
    .ve-relief .ve-pl-6 { --sy: 160px; }
}
/* Ordinateurs, 23/11 : même enfoncement au défilement que sur iPad, proportionnel à la largeur du paysage
   (avant : 46 à 57 px, presque invisible sur un grand écran) */
@media (min-width: 1200px) {
    .ve-relief { --rw: max(108vw, 1625px); --wsy: calc(var(--rw) * .080); }
    .ve-relief .ve-pl-3,
    .ve-relief .ve-pl-4 { --sy: calc(var(--rw) * .080); }
    .ve-relief .ve-pl-2 { --sy: calc(var(--rw) * .086); }
    .ve-relief .ve-pl-1 { --sy: calc(var(--rw) * .092); }
    .ve-relief .ve-pl-6 { --sy: calc(var(--rw) * .098); }
}
@media (prefers-reduced-motion: reduce) {
    .ve-relief .ve-pl { transform: none; animation: none !important; opacity: 1 !important; }
    .ve-scene-hero .ve-relief ~ .ve-scene-content .ve-hero-tagline { animation: none !important; opacity: 1 !important; }
}

/* ==================================================================
 * Pages intérieures VE (18/11 au soir) : pas d'animation du paysage, mais sur téléphone
 * l'image est dézoomée pour montrer les sapins des deux côtés ; le ciel est prolongé vers
 * le haut avec la couleur du haut de l'image. !important : prime sur le décalage au
 * défilement posé en ligne par ve.fx.js (sinon une bande vide apparaît en bas).
 * ================================================================== */
@media (max-width: 720px) {
    .ve-scene-hero-page {
        background-color: #34A0E0;
        background-size: 116% auto !important;
        background-position: 48% 100% !important;
    }
}
/* Sous-titre des pages intérieures : ombre plus marquée pour la lisibilité (même traitement que l'accueil, 18/11 au soir) */
.ve-scene-hero-page .ve-page-hero-sub {
    text-shadow: 0 1px 3px rgba(31, 53, 32, .75), 0 2px 16px rgba(31, 53, 32, .55);
}
