/* ==========================================================================
   Accueil (FR /, EN /en) : sections et blocs vestibule/home-*.
   Mesures reprises de la capture Framer (bureau 1440, téléphone 390).
   ========================================================================== */

:where(.vw-home-hero, .vw-home-apercu, .vw-home-projets, .vw-home-secteurs, .vw-home-real, .vw-home-ress, .vw-home-contact) p + p { margin-top: 0; }
:where(.vw-home-hero, .vw-home-apercu, .vw-home-projets, .vw-home-secteurs, .vw-home-real, .vw-home-ress, .vw-home-contact) .wp-block-image { margin: 0; }
.vw-home-h2 { font-size: var(--vw-h2); font-weight: 800; line-height: 1.15; letter-spacing: -0.005em; color: var(--vw-ink); }
.vw-home-tout { font-size: 16px; font-weight: 700; line-height: 1; color: var(--vw-blue-700); white-space: nowrap; }
.vw-home-tout a:hover, .vw-home-tous-services a:hover, .vw-home-real-tous a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.vw-home-hero { min-height: 780px; padding: 0 var(--vw-gutter) 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
.vw-home-hero-in { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.vw-home-h1 { color: #FAF7F1; text-wrap: balance; }
.vw-home-lead { max-width: 620px; color: var(--vw-blue-100); text-wrap: balance; }
.vw-home-ctas { justify-content: center; gap: 14px; padding-top: 14px; }
.vw-home-ctas .wp-block-button__link, .vw-home-pill .wp-block-button__link, .vw-home-contact-btn .wp-block-button__link { border: 0; }
.vw-home-ctas .wp-block-button__link { border-radius: 10px; letter-spacing: .01em; }
.vw-home-ctas .is-style-contour-clair .wp-block-button__link { border: 0; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.vw-home-ctas .is-style-contour-clair .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* Carte logo flottante (bloc home-logo) */
.vw-home-logo { position: absolute; left: 0; right: 0; top: calc(100% - 180px); z-index: 3; display: flex; justify-content: center; pointer-events: none; }
.vw-home-logo-card { width: 380px; height: 300px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; pointer-events: auto; }
.vw-home-logo-art { width: 280px; height: 217px; }
.vw-home-logo-svg { display: block; width: 100%; height: 100%; }
.vw-home-logo .lw-px { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease; }
.vw-home-logo .lw-px2 { transition-delay: .14s; }
.vw-home-logo .lw-px3 { transition-delay: .28s; }
.vw-home-logo .lw-draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2s cubic-bezier(.65, 0, .35, 1) .67s, opacity 0s linear .67s; }
.vw-home-logo .lw-fill { transition: opacity .5s ease-out 2.27s; }
.vw-home-logo .lw-word { transform-box: fill-box; transition: opacity .6s cubic-bezier(.65, 0, .35, 1) 2.37s, transform .6s cubic-bezier(.65, 0, .35, 1) 2.37s; }
.vw-home-logo .lw-px { transition-delay: .15s; }
.vw-home-logo .lw-px2 { transition-delay: .29s; }
.vw-home-logo .lw-px3 { transition-delay: .43s; }
html.vw-js .vw-home-logo.is-anim:not(.is-in) .lw-px { transform: scale(0); opacity: 0; }
html.vw-js .vw-home-logo.is-anim:not(.is-in) .lw-draw { stroke-dashoffset: 1; opacity: 0; }
html.vw-js .vw-home-logo.is-anim:not(.is-in) .lw-fill { opacity: 0; }
html.vw-js .vw-home-logo.is-anim:not(.is-in) .lw-word { opacity: 0; transform: translateY(10px); }
html.vw-js .vw-home-logo.is-anim:not(.is-in) * { transition: none; }
@media (prefers-reduced-motion: reduce) {
	.vw-home-logo .lw-px, .vw-home-logo .lw-draw, .vw-home-logo .lw-fill, .vw-home-logo .lw-word { transition: none !important; }
}

/* ---------- Aperçu des services : rangées de familles ---------- */
.vw-home-apercu { padding: 176px var(--vw-gutter) 50px; }
.vw-home-apercu-in { width: 100%; max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.vw-home-rangees { display: flex; flex-direction: column; gap: 24px; }
.vw-home-tous-services { font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .01em; color: var(--vw-ink); }

.vw-home-rangee { position: relative; display: flex; align-items: center; height: 680px; padding: 0; border-radius: 12px; overflow: hidden; --vw-band-c: var(--vw-navy); }
.vw-home-rangee.is-connecter { --vw-band-c: var(--vw-ink); }
.vw-home-rangee.is-attirer { --vw-band-c: var(--vw-kaki-fonce); }
.vw-home-rangee-texte { flex: 0 0 46.03%; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 48px 0 64px; }
.vw-home-rangee-h { font-size: var(--vw-h2); font-weight: 800; line-height: 1.15; letter-spacing: -0.005em; color: var(--vw-ink); }
.vw-home-rangee-p { max-width: 460px; font-size: var(--vw-lead); line-height: 1.45; color: var(--vw-ink); }
.vw-home-rangee-visuel { flex: 1 1 auto; align-self: stretch; position: relative; min-width: 0; }
.vw-home-rangee-visuel > .vw-hc { position: absolute; inset: 0; }

.vw-home-bande { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; padding: 0 32px; background: var(--vw-band-c); display: flex; align-items: center; justify-content: flex-end; z-index: 5; }
.vw-home-onglets { position: absolute; left: 64px; bottom: 0; margin: 0; padding: 0; list-style: none; display: flex; align-items: flex-end; gap: 4px; }
.vw-home-onglets li { display: block; margin: 0; }
.vw-home-onglets a { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px 4px; border-radius: 10px 10px 0 0; background: var(--vw-tab, #DFE9F3); color: var(--vw-ink); font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap; transition: height .4s var(--vw-ease), background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.vw-home-rangee.is-concevoir { --vw-tab: var(--vw-blue-100); }
.vw-home-rangee.is-connecter { --vw-tab: var(--vw-yellow); }
.vw-home-rangee.is-attirer { --vw-tab: var(--vw-kaki); }
.vw-home-onglets a:hover { height: 58px; background: #fff; color: var(--vw-ink); }
.vw-home-onglets a:focus-visible { outline: 3px solid var(--vw-yellow); outline-offset: -3px; }

/* « Voir tous les services » au repos, « Voir le service » quand un onglet est ouvert (bureau) */
.vw-home-tous, .vw-tiroir-cta { display: none; }
.vw-home-tous a, .vw-tiroir-cta { align-items: center; background: var(--vw-yellow); color: var(--vw-ink); font: 800 15px/1 var(--vw-font); padding: 12px 20px; border-radius: 999px; white-space: nowrap; transition: opacity .3s ease, box-shadow .3s ease, transform .3s var(--vw-ease), background-color .25s ease; }
.vw-home-tous { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); margin: 0; line-height: 1; }
.vw-tiroir-cta { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.vw-home-tous a { display: inline-flex; }
.vw-home-tous a:hover, .vw-tiroir-cta:hover { background: #FFD84A; box-shadow: 0 14px 26px -12px rgba(30, 26, 21, .55); transform: translateY(-2px); }
.vw-tiroir-cta:hover { transform: translateY(calc(-50% - 2px)); }
.vw-home-tous .ar, .vw-tiroir-cta .ar, .vw-tiroir .vw-cta .ar { display: inline-block; margin-left: 8px; transition: transform .3s var(--vw-ease); }
.vw-home-tous a:hover .ar, .vw-tiroir-cta:hover .ar, .vw-tiroir .vw-cta:hover .ar { transform: translateX(4px); }
@media (min-width: 1200px) {
	.vw-home-tous { display: block; }
	.vw-tiroir-cta { display: inline-flex; }
	.vw-home-rangee.vw-open .vw-tiroir-cta { opacity: 1; pointer-events: auto; transition-delay: .12s, 0s, 0s, 0s; }
	.vw-home-rangee.vw-open .vw-home-tous { opacity: 0; pointer-events: none; }
}

/* Tiroir (créé par home.js) */
@media (min-width: 810px) {
	.vw-tiroir-wrap { position: absolute; left: 0; right: 0; top: 0; bottom: var(--vw-band, 64px); overflow: hidden; pointer-events: none; z-index: 4; border-radius: 12px 12px 0 0; }
	.vw-tiroir { position: absolute; inset: 0; background: var(--vw-drawer, #0E2A55); color: #fff; padding: 48px 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; transform: translateY(100%); transition: transform .5s var(--vw-ease); font-family: var(--vw-font); }
	.vw-tiroir-wrap.on { pointer-events: auto; }
	.vw-tiroir-wrap.on .vw-tiroir { transform: none; }
	.vw-tiroir .eb { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--vw-tint, #AEC9E1) 60%, #FFFFFF); margin: 0 0 12px; }
	.vw-tiroir h3 { margin: 0 0 12px; font-size: 30px; font-weight: 800; line-height: 1.12; letter-spacing: -.015em; color: #fff; }
	.vw-tiroir p { margin: 0; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
	.vw-tiroir .vw-cta { display: inline-flex; align-items: center; margin-top: 22px; background: var(--vw-yellow); color: var(--vw-ink); font: 800 15px/1 var(--vw-font); padding: 12px 22px; border-radius: 999px; transition: box-shadow .3s ease, transform .3s var(--vw-ease), background-color .25s ease; }
	.vw-tiroir .vw-cta:hover { background: #FFD84A; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .6); transform: translateY(-2px); }
	.vw-tiroir .fiche { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 24px 28px 20px; }
	.vw-tiroir ul { list-style: none; margin: 0; padding: 0; }
	.vw-tiroir li { padding: 10px 0; font-weight: 600; font-size: 15px; line-height: 1.4; border-top: 1px solid rgba(255, 255, 255, .14); }
	.vw-tiroir li:first-child { border-top: 0; }
	.vw-tiroir .dl, .vw-tiroir .fiche { transition: opacity .22s ease; }
	.vw-tiroir.fade .dl, .vw-tiroir.fade .fiche { opacity: 0; }
	.vw-tiroir .x { position: absolute; top: 18px; right: 22px; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff; font: 500 22px/1 var(--vw-font); cursor: pointer; padding: 0; }
	.vw-tiroir .x:hover { background: rgba(255, 255, 255, .1); }
	.vw-home-onglets a.vw-tab-on, .vw-home-onglets a.vw-tab-on:hover { background: var(--vw-drawer, #0E2A55); box-shadow: inset 0 3px 0 var(--vw-yellow); height: 58px; color: #fff; }
}
@media (min-width: 1200px) { .vw-tiroir .vw-cta { display: none; } }
@media (min-width: 810px) and (max-width: 1199.98px) {
	.vw-tiroir { padding: 32px; gap: 24px; grid-template-columns: 1fr 1fr; }
	.vw-tiroir h3 { font-size: 24px; }
	.vw-tiroir p { font-size: 16px; }
	.vw-tiroir li { font-size: 14px; padding: 8px 0; }
}

/* ---------- Visuels animés des familles (bloc home-carrousel) ---------- */
.vw-hc { position: relative; width: 100%; height: 100%; min-height: 260px; overflow: hidden; --s: 1.089; font-family: var(--vw-font); }
.vw-hc-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(8px) scale(.985); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.vw-hc-scene.is-on { opacity: 1; transform: none; }
.vw-hc.is-devices .vw-hc-scene { padding: 6%; }
.vw-hc-stage { position: relative; flex: none; width: 620px; height: 470px; transform: scale(var(--s)); transform-origin: center; line-height: normal; }
.vw-hc-stage div, .vw-hc-stage span, .vw-hc-stage b { line-height: normal; }
.vw-hc-paths { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vw-hc-pulse { offset-rotate: 0deg; offset-distance: 55%; }
.vw-hc-win { position: absolute; background: #17140F; border-radius: 12px; box-shadow: 0 10px 28px rgba(30, 26, 21, .16); overflow: hidden; }
.vw-hc-bar { height: 22px; background: #211D17; display: flex; align-items: center; gap: 4px; padding: 0 9px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.vw-hc-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .16); flex: none; }
.vw-hc-bar span { font-size: 10px; font-weight: 700; color: #fff; margin-left: 5px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.vw-hc-body { padding: 12px; }
.vw-hc-row { display: flex; align-items: center; }
.vw-hc-y { color: #FFCE13; }
.vw-hc-barre { border-radius: 4px; }
.vw-hc-row .vw-hc-barre { flex: 1 1 auto; width: auto !important; min-width: 0; }
.vw-hc-tuile { background: #211D17; border: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; padding: 8px 9px; }
.vw-hc-glyph { width: 19px; height: 19px; border-radius: 5px; background: #2B2620; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.vw-hc-num { border-radius: 50%; color: #1E1A15; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.vw-hc-doc { position: absolute; }
.vw-hc-doc-back { position: absolute; inset: 0; background: rgba(255, 255, 255, .55); border-radius: 14px; transform: rotate(-2deg) translateY(8px); }
.vw-hc-doc-page { position: relative; background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 14px 34px rgba(14, 42, 85, .18); }
.vw-hc-scene.is-run .vw-hc-pop { animation: vwappPop .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
.vw-hc-scene.is-run .vw-hc-pulse { animation: vwappTravel 1.6s linear infinite; }
@keyframes vwappPop { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes vwappTravel { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.vw-hc-dev { display: flex; flex-direction: column; align-items: center; }
.vw-hc-ecran { background: #0E2A55; }
.vw-hc-ecran > div { width: 100%; height: 100%; overflow: hidden; background: #fff; }
.vw-hc-ecran img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; max-width: none; }
.vw-hc-lid { width: 100%; height: 18px; background: linear-gradient(180deg, #F6F3EC, #E3DBCD); border-radius: 10px 10px 4px 4px; border: 1px solid rgba(30, 26, 21, .12); display: flex; align-items: center; justify-content: center; }
.vw-hc-lid div { width: 7px; height: 7px; border-radius: 50%; background: #FFCE13; }
.vw-hc-ombre { height: 14px; margin-top: 18px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(30, 26, 21, .22), rgba(30, 26, 21, 0) 70%); filter: blur(4px); }
@media (prefers-reduced-motion: reduce) {
	.vw-hc-scene { transition: none; }
	.vw-hc-scene.is-run .vw-hc-pop, .vw-hc-scene.is-run .vw-hc-pulse { animation: none; }
}

/* ---------- Projets récents ---------- */
.vw-home-projets { padding: 96px var(--vw-gutter); }
.vw-home-projets-in, .vw-home-ress-in { display: flex; flex-direction: column; gap: 28px; }
.vw-home-entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 0; }
.vw-home-entete .vw-home-h2 { flex: none; }
.vw-home-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vw-home-pcard { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 236px; padding: 22px; border-radius: 14px; overflow: hidden; isolation: isolate; transition: transform .2s ease; }
.vw-home-pcard:hover { transform: translateY(-3px); }
.vw-home-pcard:not(.has-text-color) { color: var(--vw-ink); }
.vw-home-pcard-logo { position: relative; z-index: 2; flex: 0 0 auto; height: 40px; }
.vw-home-pcard-logo img { height: 40px; width: auto; max-width: 170px; object-fit: contain; object-position: left; display: block; }
.vw-home-pcard-meta { text-align: right; min-width: 0; }
.vw-home-pcard-titre { font-size: 17px; font-weight: 700; line-height: 1.25; }
.vw-home-pcard-titre a::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: 14px; }
.vw-home-pcard-titre a:focus-visible { outline: none; }
.vw-home-pcard:focus-within { outline: 3px solid var(--vw-yellow); outline-offset: 2px; }
.vw-home-pcard-secteur { font-size: 13px; font-weight: 600; line-height: 1.4; opacity: .8; margin-top: 3px !important; }
.vw-home-pcard-cov { position: absolute; right: -6%; bottom: -20%; width: 66%; z-index: 1; transform: rotate(-5deg); transition: transform .25s ease; }
.vw-home-pcard-cov img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .45); }
.vw-home-pcard:hover .vw-home-pcard-cov { transform: rotate(-3deg) translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .vw-home-pcard, .vw-home-pcard-cov { transition: none; } }

/* ---------- Secteurs desservis ---------- */
.vw-home-secteurs { padding: 96px var(--vw-gutter); }
.vw-home-secteurs-in { display: flex; flex-direction: column; gap: 40px; }
.vw-home-secteurs-h { max-width: 820px; }

/* Couloir (bloc home-secteurs, port de CouloirSecteurs.tsx) */
.vw-hs { display: flex; gap: 8px; width: 100%; height: var(--vw-hs-h, 520px); font-family: var(--vw-font); }
.vw-hs-door { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 14px; color: #fff; isolation: isolate; outline: none; transition: flex-grow .55s var(--vw-ease), background-color .5s var(--vw-ease); }
.vw-hs-door.is-plein { background: var(--vw-hs-c); }
.vw-hs-door.is-plein:hover, .vw-hs-door.is-plein:focus-visible { background: var(--vw-hs-c2); }
.vw-hs-door:hover, .vw-hs-door:focus-visible { flex-grow: 2.4; }
.vw-hs-door:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #0E2A55; }
.vw-hs-ph { position: absolute; left: 0; right: 0; top: 0; height: 74%; overflow: hidden; }
.vw-hs-ph img, .vw-hs-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; display: block; transform: scale(1.02); transition: transform .8s var(--vw-ease); }
.vw-hs-ph img { -webkit-mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, 0) 100%); }
.vw-hs-mono { filter: grayscale(1) contrast(1.08); mix-blend-mode: luminosity; }
.vw-hs-ph .vw-hs-full { opacity: 0; transition: opacity .6s ease, transform .8s var(--vw-ease); }
.vw-hs-door:hover .vw-hs-full, .vw-hs-door:focus-visible .vw-hs-full { opacity: 1; }
.vw-hs-door:hover img, .vw-hs-door:focus-visible img { transform: scale(1.06); }
.vw-hs-txt { position: relative; z-index: 2; padding: 0 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.vw-hs-nom { font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; transition: transform .5s var(--vw-ease); }
.vw-hs-door:hover .vw-hs-nom, .vw-hs-door:focus-visible .vw-hs-nom { transform: translateY(-2px); }
.vw-hs-lien { font-size: 15px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .4s ease .12s, transform .4s ease .12s; }
.vw-hs-door:hover .vw-hs-lien, .vw-hs-door:focus-visible .vw-hs-lien { opacity: 1; transform: none; }
.vw-hs-seuil { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--vw-yellow); z-index: 3; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--vw-ease); }
.vw-hs-door:hover .vw-hs-seuil, .vw-hs-door:focus-visible .vw-hs-seuil { transform: scaleX(1); }
@media (hover: none) and (min-width: 810px) { .vw-hs-lien { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vw-hs-door, .vw-hs-door img, .vw-hs-lien, .vw-hs-seuil, .vw-hs-nom { transition: none; } .vw-hs-door:hover img { transform: scale(1.02); } }

/* ---------- Réalisations (Verre Jaune) ---------- */
.vw-home-real { padding: 112px var(--vw-gutter); }
.vw-home-real-in { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.vw-home-real-entete { width: 100%; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.vw-home-eyebrow { color: var(--vw-navy); }
.vw-home-real-h { font-size: var(--vw-h1); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; color: var(--vw-ink); }
.vw-home-real-lead { max-width: 820px; color: var(--vw-ink); }
.vw-home-real-in > .vw-hcp { width: 100%; max-width: 900px; height: 580px; }
.vw-home-feats { display: grid; grid-template-columns: repeat(6, 170px); gap: 28px; justify-content: center; width: 100%; }
.vw-home-feat { display: flex; flex-direction: column; gap: 8px; }
.vw-home-feat-h { font-size: 24px; font-weight: 800; line-height: 1.3; color: var(--vw-ink); }
.vw-home-feat-p { font-size: 15px; line-height: 1.5; color: var(--vw-gris); }
.vw-home-real-actions { display: flex; align-items: center; justify-content: center; gap: 24px; }
.vw-home-real-actions .wp-block-buttons { gap: 0; }
.vw-home-pill .wp-block-button__link { border-radius: 999px; padding: 13px 24px; }
.vw-home-real-tous { font-size: 16px; line-height: 1.2; color: var(--vw-blue-700); }

/* Portable du projet vedette (bloc home-carrousel-projet) */
.vw-hcp { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.vw-hcp-device { width: 86%; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.vw-hcp-screen { width: 100%; aspect-ratio: 16 / 10; background: #0E2A55; border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(30, 26, 21, .45); }
.vw-hcp-view { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; }
.vw-hcp-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; display: block; opacity: 0; transform: scale(1.02); transition: opacity .8s ease, transform 1.28s ease; }
.vw-hcp-img.is-on { opacity: 1; transform: none; }
.vw-hcp-base { width: 116%; height: 16px; background: #E3DBCD; border-radius: 3px 3px 16px 16px; margin-top: -2px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 1px 0 rgba(30, 26, 21, .12); display: flex; align-items: flex-start; justify-content: center; }
.vw-hcp-base div { width: 92px; height: 5px; background: rgba(30, 26, 21, .1); border-radius: 0 0 6px 6px; }
.vw-hcp-ombre { width: 84%; height: 16px; margin-top: 14px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(30, 26, 21, .22), rgba(30, 26, 21, 0) 70%); filter: blur(4px); }
.vw-hcp-dots { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.vw-hcp-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(30, 26, 21, .22); transition: width .35s ease, background-color .35s ease; }
.vw-hcp-dot.is-on { width: 22px; background: #194C9A; }
.vw-hcp-leg { margin-top: 8px; font-family: "IBM Plex Sans", sans-serif; font-size: 13px; color: #6F665A; text-align: center; }
@media (prefers-reduced-motion: reduce) { .vw-hcp-img, .vw-hcp-dot { transition: none; } }

/* ---------- Ressources ---------- */
.vw-home-ress { padding: 96px var(--vw-gutter); }
.vw-home-rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; align-items: start; }
.vw-home-rcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 22px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--vw-ligne); transition: box-shadow .45s ease; }
.vw-home-rcard:hover { box-shadow: inset 0 0 0 1px var(--vw-ligne), 0 24px 48px -28px rgba(14, 42, 85, .38); }
.vw-home-rcard-img { position: relative; height: 180px; border-radius: 10px; overflow: hidden; isolation: isolate; }
.vw-home-rcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--vw-ease); }
.vw-home-rcard:hover .vw-home-rcard-img img { transform: scale(1.06); }
.vw-home-rcard-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(14, 42, 85, .42), rgba(14, 42, 85, 0) 62%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.vw-home-rcard:hover .vw-home-rcard-img::after { opacity: 1; }
.vw-home-rcard-h { font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; color: var(--vw-ink); }
.vw-home-rcard-h a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 14px; }
.vw-home-rcard-h a:focus-visible { outline: none; }
.vw-home-rcard:focus-within { outline: 3px solid var(--vw-yellow); outline-offset: 2px; }
.vw-home-rcard-lire { font-size: 16px; font-weight: 700; line-height: 1; color: var(--vw-blue-700); transition: transform .4s var(--vw-ease); }
.vw-home-rcard:hover .vw-home-rcard-lire { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .vw-home-rcard, .vw-home-rcard-img img, .vw-home-rcard-img::after, .vw-home-rcard-lire { transition: none; } }

/* ---------- Contact ---------- */
.vw-home-contact { padding: 120px var(--vw-gutter); }
.vw-home-contact-in { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.vw-home-eyebrow-y { color: var(--vw-yellow); }
.vw-home-contact-h { max-width: 620px; font-size: var(--vw-h2); font-weight: 800; line-height: 1.15; letter-spacing: -0.005em; color: #FAF7F1; }
.vw-home-contact-lead { max-width: 560px; color: var(--vw-blue-100); }
.vw-home-contact-btn .wp-block-button__link { padding: 15px 26px; border-radius: 10px; font-weight: 400; line-height: 19.2px; letter-spacing: 0; }
.vw-home-slogan { font-size: 15px; line-height: 1.5; color: var(--vw-blue-200); }

/* ==========================================================================
   Tablette (810–1199)
   ========================================================================== */
@media (max-width: 1199.98px) {
	.vw-home-h1 { max-width: 640px; }
	.vw-home-rangee { height: 520px; }
	.vw-home-rangee-texte { padding: 0 32px 0 40px; }
	.vw-home-onglets { left: 32px; right: 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
	.vw-home-onglets::-webkit-scrollbar { display: none; }
	.vw-home-onglets a { font-size: 14px; padding: 0 14px 4px; }
	.vw-hs { height: calc(var(--vw-hs-h, 520px) * .8); }
	.vw-hs-nom { font-size: 18px; }
	.vw-hs-txt { padding: 0 16px 20px; }
	.vw-hs-lien { font-size: 14px; }
	.vw-home-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 900px; }
	.vw-home-real-in > .vw-hcp { height: 520px; }
}

/* ==========================================================================
   Téléphone (< 810)
   ========================================================================== */
@media (max-width: 809.98px) {
	.vw-home-hero { padding: 0 24px 142px; }
	.vw-home-ctas { flex-direction: column; align-items: flex-start; }
	.vw-home-logo { top: calc(100% - 142px); }
	.vw-home-logo-card { width: 300px; height: 236px; }
	.vw-home-logo-art { width: 200px; height: 155px; }

	.vw-home-apercu { padding: 140px 32px 50px; }
	.vw-home-rangee { flex-direction: column; align-items: stretch; height: auto; padding-bottom: 72px; }
	.vw-home-rangee-texte { flex: none; padding: 28px 20px 24px; }
	.vw-home-rangee-p { font-size: 17px; line-height: 1.45; }
	.vw-home-rangee-visuel { flex: none; height: 260px; }
	.vw-home-onglets { left: 16px; right: 16px; }
	.vw-home-onglets a { flex: 0 0 auto; font-size: 16px; padding: 0 20px 4px; }

	.vw-home-projets, .vw-home-ress { padding: 96px 32px; }
	.vw-home-pgrid, .vw-home-rgrid { grid-template-columns: minmax(0, 1fr); }
	.vw-home-secteurs { padding: 64px 24px; }
	.vw-hs { flex-direction: column; height: auto; }
	.vw-hs-door { flex: 0 0 auto; height: 118px; transition: none; }
	.vw-hs-door:hover, .vw-hs-door:focus-visible { flex-grow: 0; }
	.vw-hs-ph { height: 100%; }
	.vw-hs-ph img, .vw-hs-img { object-position: center 40%; }
	.vw-hs-txt { padding: 0 18px 16px; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
	.vw-hs-lien { opacity: 1; transform: none; }
	.vw-hs-seuil { transform: scaleX(1); }

	.vw-home-real { padding: 64px 20px; }
	.vw-home-real-in { gap: 32px; }
	.vw-home-real-entete { gap: 18px; }
	.vw-home-real-in > .vw-hcp { height: 300px; }
	.vw-home-feats { grid-template-columns: repeat(2, minmax(0, 165px)); gap: 20px; }
	.vw-home-feat-h { font-size: 20px; line-height: 1.3; }
	.vw-home-real-actions { flex-direction: column; gap: 16px; }

	.vw-home-entete-ress { flex-direction: column; align-items: flex-start; gap: 8px; }
	.vw-home-contact { padding: 120px 32px; }
}
