/* Titres en DIN fournie par le système : Bahnschrift (Windows), DIN Alternate (Apple) */
:root {
  --v-bg: #ffffff;
  --v-surface: #ffffff;
  --v-surface-2: #f3f5f7;
  --v-panel: #f3f5f7;
  --v-text: #101418;
  --v-muted: #5a626b;
  --v-line: #e3e6ea;
  --v-logo-bg: #ffffff;
  --v-tint: color-mix(in srgb, var(--v-accent) 8%, var(--v-surface));
  --v-shadow: 0 1px 2px rgb(16 20 24 / 0.05), 0 18px 40px -20px rgb(16 20 24 / 0.28);
  --v-r: 10px;
  --v-r-sm: 6px;
  --v-r-lg: 14px;
  --v-r-btn: 6px;
  --v-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --v-font:
    "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --v-display:
    Bahnschrift, "DIN Alternate", "DIN Next", "D-DIN", "Roboto Condensed",
    sans-serif-condensed, "Arial Narrow", sans-serif;
  --v-display-weight: 600;
  --v-display-stretch: semi-condensed;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="clair"]) {
    --v-bg: #121619;
    --v-surface: #1a1f23;
    --v-surface-2: #232a2f;
    --v-panel: #232a2f;
    --v-text: #eceeeb;
    --v-muted: #a3abb1;
    --v-line: #2e363c;
    --v-logo-bg: #e9ebe8;
    --v-tint: color-mix(in srgb, var(--v-accent) 16%, var(--v-surface));
    --v-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -16px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

:root[data-theme="sombre"] {
  --v-bg: #121619;
  --v-surface: #1a1f23;
  --v-surface-2: #232a2f;
  --v-panel: #232a2f;
  --v-text: #eceeeb;
  --v-muted: #a3abb1;
  --v-line: #2e363c;
  --v-logo-bg: #e9ebe8;
  --v-tint: color-mix(in srgb, var(--v-accent) 16%, var(--v-surface));
  --v-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -16px rgb(0 0 0 / 0.6);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body.vitrine {
  margin: 0;
  overflow-x: clip;
  background: var(--v-bg);
  color: var(--v-text);
  font: 400 17px/1.6 var(--v-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.vitrine img {
  max-width: 100%;
  height: auto;
}

.vitrine a {
  color: inherit;
}

.vitrine h1,
.vitrine h2,
.vitrine h3 {
  margin: 0;
  text-wrap: balance;
}

.vitrine h1,
.vitrine h2,
.vitrine h3,
.v_stat strong,
.v_brand_name,
.v_sheet_name,
.v_contact_main span {
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-weight: var(--v-display-weight);
  letter-spacing: -0.01em;
}

.vitrine p {
  margin: 0;
}

.v_ico {
  flex: none;
  overflow: visible;
}

.v_wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.vitrine :focus-visible {
  outline: 2px solid var(--v-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Boutons */
.v_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--v-r-btn);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--v-ease),
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.v_btn:hover {
  transform: translateY(-1px);
}

.v_btn:active {
  transform: translateY(0) scale(0.98);
}

.v_btn .v_ico {
  transition: transform 0.3s var(--v-ease);
}

.v_btn:hover .v_ico:last-child:not(:first-child) {
  transform: translateX(3px);
}

.v_btn_sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.95rem;
}

.v_btn_accent {
  background: var(--v-accent);
  color: var(--v-on-accent) !important;
}

.v_btn_accent:hover {
  background: color-mix(in srgb, var(--v-accent) 86%, #000);
}

.v_btn_ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--v-text) 28%, transparent);
  color: var(--v-text);
}

.v_btn_ghost:hover {
  border-color: var(--v-text);
}

.v_btn_on_accent {
  background: var(--v-on-accent);
  color: var(--v-accent) !important;
}

.v_btn_line {
  border-color: color-mix(in srgb, var(--v-on-accent) 50%, transparent);
  color: var(--v-on-accent) !important;
}

.v_btn_line:hover {
  border-color: var(--v-on-accent);
}

/* En-tête */
.v_header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--v-bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--v-line);
}

.v_header_in {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  min-height: 76px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.v_brand {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.v_brand img {
  display: block;
  max-height: 40px;
  width: auto;
}

.v_brand_name {
  font-size: 1.45rem;
}

.v_nav {
  margin-left: auto;
}

.v_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v_nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.v_nav a,
.v_nav summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--v-r-sm);
  color: var(--v-text);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s;
}

.v_nav > ul > li > a::after,
.v_nav > ul > li > details > summary::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--v-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--v-ease);
}

.v_nav > ul > li > a:hover::after,
.v_nav > ul > li > details > summary:hover::after,
.v_nav details[open] > summary::after {
  transform: scaleX(1);
}

.v_nav summary {
  list-style: none;
}

.v_nav summary::-webkit-details-marker {
  display: none;
}

.v_nav summary .v_ico {
  transition: transform 0.3s var(--v-ease);
}

.v_nav details[open] summary .v_ico {
  transform: rotate(180deg);
}

.v_nav_group {
  position: relative;
}

.v_nav_group ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 6px;
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-r-lg);
  box-shadow: var(--v-shadow);
  animation: v_pop 0.2s var(--v-ease);
}

.v_nav_group ul a:hover {
  background: var(--v-surface-2);
}

.v_header_end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.v_nav + .v_header_end {
  margin-left: 0;
}

.v_menu_toggle {
  display: none;
}

/* Haut de page */
.v_hero {
  position: relative;
  isolation: isolate;
}

.v_hero_in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.v_hero_in.v_hero_solo {
  grid-template-columns: minmax(0, 1fr);
}

/* Avec photo : mosaïque à droite du texte */
.v_hero_photo {
  padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
}

.v_hero_photo .v_hero_in {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: min(calc(100svh - 77px - 144px), 680px);
}

.v_hero_photo .v_hero_text {
  color: var(--v-muted);
}

.v_hero_media {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: clamp(380px, 44vw, 620px);
}

.v_hero_media figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--v-r-lg);
  background: var(--v-surface-2);
}

.v_hero_media figure:first-child {
  grid-row: span 2;
}

.v_hero_media_1 {
  grid-template-columns: minmax(0, 1fr);
}

.v_hero_media_2 {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.v_hero_media_2 figure {
  grid-row: span 2;
}

.v_hero_media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sans photo : fiche de coordonnées à droite */
.v_hero_bare {
  padding: clamp(64px, 9vw, 128px) 0 clamp(64px, 8vw, 112px);
}

/* Fond à la couleur principale, au choix dans l'éditeur */
.v_hero_color {
  padding-bottom: clamp(96px, 10vw, 152px);
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--v-on-accent) 14%, transparent), transparent 60%),
    var(--v-accent);
  color: var(--v-on-accent);
}

.v_hero_color .v_eyebrow,
.v_hero_color .v_hero_text {
  color: color-mix(in srgb, var(--v-on-accent) 86%, transparent);
}

.v_hero_color .v_eyebrow::before {
  background: var(--v-on-accent);
}

.v_hero_color .v_btn_accent {
  background: var(--v-on-accent);
  color: var(--v-accent) !important;
}

.v_hero_color .v_btn_accent:hover {
  background: color-mix(in srgb, var(--v-on-accent) 88%, var(--v-accent));
}

.v_hero_color .v_btn_ghost {
  border-color: color-mix(in srgb, var(--v-on-accent) 55%, transparent);
  background: transparent;
  color: var(--v-on-accent);
}

.v_hero_color .v_btn_ghost:hover {
  border-color: var(--v-on-accent);
}

.v_hero_color .v_sheet {
  color: var(--v-text);
  border: 0;
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.45);
}

.v_eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px !important;
  color: var(--v-muted);
  font-size: 1rem;
  font-weight: 600;
}

.v_eyebrow::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--v-accent);
}

.v_hero h1 {
  max-width: 14ch;
  font-size: clamp(2.9rem, 6.2vw, 6rem);
  line-height: 0.96;
}

.v_hero_solo h1 {
  max-width: 18ch;
  font-size: clamp(3rem, 7.4vw, 7rem);
}

.v_hero_text {
  max-width: 46ch;
  margin-top: 26px;
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.v_hero_text p + p {
  margin-top: 0.8em;
}

.v_hero_btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Fiche de coordonnées */
.v_sheet {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--v-line);
  border-radius: 12px;
  background: var(--v-surface);
  box-shadow: var(--v-shadow);
}

.v_sheet_name {
  padding: 18px 22px;
  border-bottom: 1px solid var(--v-line);
  font-size: 1.4rem;
  line-height: 1.1;
}

.v_sheet_row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
}

.v_sheet_row + .v_sheet_row {
  border-top: 1px solid var(--v-line);
}

.v_sheet dt,
.v_sheet dd {
  margin: 0;
  padding: 14px 22px;
}

.v_sheet dt {
  border-right: 1px solid var(--v-line);
  color: var(--v-muted);
  font-size: 0.9rem;
}

.v_sheet dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.v_sheet a {
  text-decoration: none;
}

.v_sheet a:hover {
  color: var(--v-accent);
}

/* Sections */
.v_section {
  padding: clamp(64px, 8vw, 120px) 0;
}

.v_section:not(.v_band_accent) + .v_section:not(.v_band_accent, .v_section_chiffres) {
  border-top: 1px solid var(--v-line);
}

.v_section_chiffres + .v_section {
  border-top: 0 !important;
}

.v_title {
  max-width: 20ch;
  margin-bottom: clamp(32px, 4vw, 56px) !important;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.02;
}

.v_prose {
  max-width: 60ch;
  color: var(--v-muted);
  font-size: 1.08rem;
}

.v_prose p + p {
  margin-top: 0.9em;
}

.v_split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.v_split .v_title {
  margin-bottom: 20px !important;
}

/* Chiffres clés : carte posée à cheval sur le haut de page */
.v_section_chiffres {
  padding: clamp(48px, 6vw, 80px) 0;
}

.v_hero_color + .v_section_chiffres:not(:has(.v_title)) {
  position: relative;
  z-index: 2;
  margin-top: clamp(-104px, -7vw, -56px);
  padding-top: 0;
}

.v_stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px 0;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px);
  border: 1px solid var(--v-line);
  border-radius: var(--v-r-lg);
  background: var(--v-surface);
  box-shadow: var(--v-shadow);
}

.v_stat {
  padding: 4px 20px;
  border-left: 1px solid var(--v-line);
  text-align: center;
}

.v_stat:first-child {
  border-left: 0;
}

.v_stat strong {
  display: block;
  color: color-mix(in srgb, var(--v-accent) 85%, var(--v-text));
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.v_stat span {
  display: block;
  max-width: 22ch;
  margin: 12px auto 0;
  color: var(--v-muted);
  line-height: 1.4;
}

/* Métiers */
.v_jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
}

.v_jobs_1 {
  grid-template-columns: minmax(0, 1fr);
}

.v_jobs_2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v_job_img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--v-r);
  background: var(--v-surface-2);
}

.v_jobs_1 .v_job_img {
  aspect-ratio: 21 / 9;
}

.v_job_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v_job h3 {
  margin-top: 20px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.v_job p,
.v_job_row p {
  max-width: 46ch;
  margin-top: 8px;
  color: var(--v-muted);
}

.v_job_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v_jobs + .v_job_list {
  margin-top: clamp(48px, 6vw, 72px);
}

.v_job_row {
  padding-top: 20px;
  border-top: 1px solid var(--v-line);
}

.v_job_row h3 {
  font-size: 1.4rem;
  line-height: 1.15;
}

/* Actualités */
.v_news_list {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 0 clamp(32px, 5vw, 72px);
}

.v_news time {
  display: block;
  margin-bottom: 10px;
  color: var(--v-muted);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.v_news h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.v_news h3 a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.4s var(--v-ease);
}

.v_news h3 a:hover {
  background-size: 100% 2px;
}

.v_news p {
  margin-top: 8px;
  color: var(--v-muted);
}

.v_news:not(.v_news_main) {
  padding: 22px 0;
  border-bottom: 1px solid var(--v-line);
}

.v_news:not(.v_news_main):nth-child(2) {
  padding-top: 0;
}

.v_news_main {
  grid-row: span 3;
  padding-top: 24px;
  border-top: 1px solid var(--v-line);
}

.v_news_main h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.v_news_main p {
  max-width: 56ch;
  margin-top: 16px;
  font-size: 1.08rem;
}

/* Zone d'intervention */
.v_places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--v-line);
}

.v_places li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--v-line);
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}

.v_places .v_ico {
  color: var(--v-accent);
}

/* Références */
.v_refs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--v-line);
  border-left: 1px solid var(--v-line);
}

.v_ref {
  display: grid;
  place-items: center;
  height: 116px;
  padding: 20px;
  border-right: 1px solid var(--v-line);
  border-bottom: 1px solid var(--v-line);
  background: var(--v-logo-bg);
}

.v_ref img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition:
    filter 0.3s,
    opacity 0.3s;
}

.v_ref:hover img {
  filter: none;
  opacity: 1;
}

.v_ref span {
  color: #2b3135;
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
}

/* Bandeau couleur : recrutement et appel en bas des pages */
.v_band_accent {
  padding: clamp(56px, 7vw, 104px) 0;
  background: var(--v-accent);
  color: var(--v-on-accent);
}

.v_panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px clamp(32px, 6vw, 96px);
}

.v_panel h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1;
}

.v_panel p {
  max-width: 54ch;
  margin-top: 18px;
  opacity: 0.9;
  font-size: 1.1rem;
}

.v_section_cta .v_panel {
  align-items: center;
}

.v_section_cta .v_hero_btns {
  margin-top: 0;
}

/* Contact */
.v_contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.v_contact_row {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--v-line);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.v_contact_row small {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--v-muted);
  font-size: 0.92rem;
}

.v_contact_row small .v_ico {
  color: var(--v-accent);
}

.v_contact_row span {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.v_contact_row:hover span {
  color: var(--v-accent);
}

.v_contact_main {
  grid-column: 1 / -1;
  padding: 0 0 28px;
  border-top: 0;
}

.v_contact_main span {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}

.v_contact_main.v_contact_mail span {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

/* Pages du site */
.v_page_index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 32px;
}

.v_page_card_link {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--v-line);
  color: var(--v-text);
  text-decoration: none;
}

.v_page_card_link h3 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.v_page_card_link h3 .v_ico {
  margin-top: 4px;
  color: var(--v-accent);
  transition: transform 0.3s var(--v-ease);
}

.v_page_card_link:hover h3 .v_ico {
  transform: translateX(4px);
}

.v_page_card_link p {
  max-width: 48ch;
  color: var(--v-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.v_libre {
  overflow-x: auto;
}

.v_empty_note {
  max-width: 560px;
  padding: 28px 24px;
  border: 1px dashed var(--v-line);
  border-radius: var(--v-r);
  color: var(--v-muted);
}

/* Pied de page */
.v_footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--v-line);
  color: var(--v-muted);
  font-size: 0.92rem;
}

.v_band_accent + .v_footer,
main:has(> :last-child.v_band_accent) + .v_footer {
  border-top: 0;
}

.v_footer_in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
}

.v_footer_id img {
  display: block;
  max-height: 32px;
  width: auto;
  margin-bottom: 14px;
}

.v_footer_id strong {
  display: block;
  margin-bottom: 10px;
  color: var(--v-text);
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-size: 1.3rem;
}

.v_footer_meta {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.v_footer_legal,
.v_footer_links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.v_footer a {
  color: var(--v-text);
  text-underline-offset: 3px;
}

/* Connexion */
.v_login {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: hidden auto;
  padding: 0;
  border: 1px solid var(--v-line);
  border-radius: 12px;
  background: var(--v-surface);
  color: var(--v-text);
  box-shadow: 0 32px 80px -24px rgb(0 0 0 / 0.45);
}

.v_login[open] {
  animation: v_pop 0.25s var(--v-ease);
}

.v_login::backdrop {
  background: rgb(12 14 16 / 0.55);
  backdrop-filter: blur(3px);
}

.v_login form {
  display: grid;
  gap: 18px;
  padding-bottom: 24px;
}

.v_login .v_sheet_name {
  margin: 0;
  font-size: 1.6rem;
}

.v_login label,
.v_login_error,
.v_login_btns {
  margin-inline: 24px;
}

.v_login label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.v_login input:not([type="checkbox"]) {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--v-text) 30%, transparent);
  border-radius: var(--v-r-sm);
  background: var(--v-surface);
  color: var(--v-text);
  font: inherit;
}

.v_login input:focus {
  outline: 2px solid var(--v-accent);
  outline-offset: 0;
  border-color: var(--v-accent);
}

.v_pass {
  position: relative;
  display: grid;
}

.v_pass input {
  padding-right: 52px !important;
}

.v_pass_toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--v-r-sm);
  background: transparent;
  color: var(--v-muted);
  cursor: pointer;
  translate: 0 -50%;
}

.v_pass_toggle:hover {
  color: var(--v-text);
}

.v_pass_toggle .v_ico_off,
.v_pass_toggle[aria-pressed="true"] .v_ico:not(.v_ico_off) {
  display: none;
}

.v_pass_toggle[aria-pressed="true"] .v_ico_off {
  display: block;
}

.v_login .v_check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.v_login .v_check input {
  width: 18px;
  height: 18px;
  accent-color: var(--v-accent);
}

.v_login .v_login_error {
  margin: 0 24px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, #c62828 30%, transparent);
  border-radius: var(--v-r-sm);
  background: color-mix(in srgb, #c62828 7%, var(--v-surface));
  color: #b3261e;
  font-size: 0.94rem;
  line-height: 1.45;
}

.v_login .v_login_error:empty {
  display: none;
}

.v_login_btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

/* Mouvement : une seule entrée, celle du haut de page */
@keyframes v_pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}

@keyframes v_rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes v_unveil {
  from {
    clip-path: inset(0 0 100% 0);
  }
}



@media (prefers-reduced-motion: no-preference) {
  .v_hero_copy > * {
    animation: v_rise 0.8s var(--v-ease) both;
  }

  .v_hero_copy > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .v_hero_copy > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .v_hero_copy > :nth-child(4) {
    animation-delay: 0.18s;
  }

  .v_hero_media figure,
  .v_hero .v_sheet {
    animation: v_unveil 1.1s var(--v-ease) both;
    animation-delay: 0.15s;
  }

  .v_hero_media figure:nth-child(2) {
    animation-delay: 0.28s;
  }

  .v_hero_media figure:nth-child(3) {
    animation-delay: 0.4s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .vitrine *,
  .vitrine *::before,
  .vitrine *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1080px) {
  .v_nav a,
  .v_nav summary {
    padding: 0 9px;
    font-size: 0.94rem;
  }

  .v_header_in {
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .v_hero_in,
  .v_hero_photo .v_hero_in,
  .v_split,
  .v_news_list,
  .v_panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .v_hero h1 {
    max-width: 16ch;
  }

  .v_hero_photo .v_hero_in {
    min-height: 0;
  }

  .v_hero_media {
    height: clamp(280px, 62vw, 480px);
  }

  .v_jobs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v_news_main {
    grid-row: auto;
    margin-bottom: 28px;
  }

  .v_panel {
    align-items: start;
  }

  .v_footer_in {
    grid-template-columns: minmax(0, 1fr);
  }

  .v_footer_meta {
    justify-items: start;
  }

  .v_menu_toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--v-text) 28%, transparent);
    border-radius: var(--v-r-btn);
    background: transparent;
    color: var(--v-text);
    cursor: pointer;
  }

  .v_nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 8px clamp(16px, 4vw, 48px) 24px;
    background: var(--v-bg);
    border-bottom: 1px solid var(--v-line);
    box-shadow: var(--v-shadow);
  }

  .v_header.is_open .v_nav {
    display: block;
    animation: v_pop 0.2s var(--v-ease);
  }

  .v_nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .v_nav > ul > li + li {
    border-top: 1px solid var(--v-line);
  }

  .v_nav a,
  .v_nav summary {
    min-height: 52px;
    padding: 0 4px;
    font-size: 1.05rem;
  }

  .v_nav > ul > li > a::after,
  .v_nav > ul > li > details > summary::after {
    content: none;
  }

  .v_nav summary {
    justify-content: space-between;
  }

  .v_nav_group ul {
    position: static;
    min-width: 0;
    padding: 0 0 8px 16px;
    border: 0;
    box-shadow: none;
    background: transparent;
    animation: none;
  }

  .v_nav + .v_header_end {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  body.vitrine {
    font-size: 16px;
  }

  .v_header_in {
    min-height: 64px;
  }

  .v_brand img {
    max-height: 32px;
  }

  .v_btn_label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .v_btn_compact {
    width: 44px;
    padding: 0;
  }

  .v_hero_btns .v_btn {
    flex: 1 1 100%;
  }

  .v_hero_media {
    gap: 8px;
    height: 300px;
  }

  .v_hero_media_3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 3fr) minmax(0, 2fr);
    height: 380px;
  }

  .v_hero_media_3 figure:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .v_sheet_row {
    grid-template-columns: minmax(0, 1fr);
  }

  .v_sheet dt {
    padding-bottom: 0;
    border-right: 0;
  }

  .v_sheet dd {
    padding-top: 4px;
  }

  .v_stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .v_stat {
    padding: 2px 16px;
  }

  .v_stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .v_stat strong {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .v_stat span {
    font-size: 0.92rem;
  }

  .v_jobs,
  .v_jobs_2,
  .v_places,
  .v_contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .v_refs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v_ref {
    height: 96px;
    padding: 16px;
  }

  .v_ref img {
    max-height: 48px;
  }

  .v_footer {
    padding: 40px 0 calc(32px + env(safe-area-inset-bottom));
  }

  .v_footer_legal {
    flex-direction: column;
    gap: 4px;
    font-size: 0.84rem;
  }
}

/* Aperçu de l'éditeur */
.v_editing main > * {
  position: relative;
  cursor: pointer;
}

.v_editing main > *:hover {
  outline: 2px solid var(--v-accent);
  outline-offset: -2px;
}

/* Pages du site */
.v_page_head {
  padding: clamp(48px, 8vw, 104px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--v-line);
  background:
    radial-gradient(
      70% 120% at 100% 0%,
      color-mix(in srgb, var(--v-accent) 10%, transparent),
      transparent 70%
    ),
    var(--v-bg);
}

.v_page_head h1 {
  max-width: 20ch;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.v_page_lead {
  max-width: 60ch;
  margin-top: 20px !important;
  color: var(--v-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.v_crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--v-muted);
  font-size: 0.92rem;
}

.v_crumb a {
  color: var(--v-muted);
  text-decoration: none;
}

.v_crumb a:hover {
  color: var(--v-text);
}

.v_crumb > * + *::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.v_page {
  padding-block: clamp(40px, 6vw, 80px);
}

.v_page_body {
  max-width: 860px;
  font-size: 1.08rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.v_page_body > :first-child {
  margin-top: 0 !important;
}

.v_page_body h1,
.v_page_body h2,
.v_page_body h3,
.v_page_body h4 {
  margin: 1.8em 0 0.6em !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.v_page_body h1,
.v_page_body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.v_page_body h3 {
  font-size: 1.35rem;
}

.v_page_body p,
.v_page_body ul,
.v_page_body ol,
.v_page_body table,
.v_page_body figure {
  margin: 0 0 1.1em !important;
}

.v_page_body ul,
.v_page_body ol {
  padding-left: 1.3em;
}

.v_page_body li + li {
  margin-top: 0.35em;
}

.v_page_body li::marker {
  color: var(--v-accent);
}

.v_page_body a {
  color: var(--v-accent);
  text-underline-offset: 3px;
}

.v_page_body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--v-r-sm);
}

.v_page_body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.v_page_body td,
.v_page_body th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--v-line);
  text-align: left;
  vertical-align: top;
}

.v_page_body blockquote {
  margin: 1.4em 0 !important;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--v-accent);
  color: var(--v-muted);
  font-size: 1.15rem;
}

.v_page_body hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--v-line);
}

/* Anciennes pages (importées) : polices et alignements forcés, mises en forme devinées */
.v_legacy :is(p, span, li, div, td, th, font, strong, em, b, i, a) {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.v_legacy :is(p, div, li, td) {
  text-align: left !important;
}

.v_legacy :is(p, span, li, div, font):not([class]) {
  color: inherit !important;
}

.v_page_head {
  text-align: center;
}

.v_page_head h1,
.v_page_lead {
  margin-inline: auto;
}

.v_crumb {
  justify-content: center;
}

.v_page_body {
  max-width: 760px;
  margin-inline: auto;
}

.v_legacy > p:first-child,
.v_legacy > p:first-of-type:not(:has(strong:first-child)) {
  color: var(--v-text);
  font-size: 1.22rem;
  line-height: 1.6;
}

.v_legacy > p:has(> strong:first-child) {
  position: relative;
  margin: 0 !important;
  padding: 0 0 26px 30px;
  border-left: 2px solid var(--v-line);
}

.v_legacy > p:has(> strong:first-child)::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--v-accent);
  box-shadow: 0 0 0 4px var(--v-bg);
}

.v_legacy > p:has(> strong:first-child) > strong:first-child {
  display: block;
  margin-bottom: 4px;
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-size: 1.3rem !important;
  font-weight: var(--v-display-weight);
  color: var(--v-text);
}

.v_legacy > p:has(> strong:first-child) + :not(p:has(> strong:first-child)) {
  margin-top: 1.4em !important;
}

.v_page_body img {
  display: block;
  margin: 1.6em 0;
}

.v_page_body p > img:only-child {
  margin: 0;
}

.v_page_body img.v_float_right,
.v_page_body img.v_float_left {
  width: min(34%, 220px);
  margin: 0.3em 0 1em 1.6em;
  float: right;
  border-radius: var(--v-r);
}

.v_page_body img.v_float_left {
  margin: 0.3em 1.6em 1em 0;
  float: left;
}

.v_page_body::after {
  content: "";
  display: block;
  clear: both;
}

.v_page_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 1.6em 0;
}

.v_page_gallery img {
  width: 100%;
  height: 96px !important;
  margin: 0;
  padding: 16px;
  object-fit: contain;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r-sm);
  background: #fbfbfb;
  box-shadow: none;
}

.v_page_head {
  background: var(--v-bg);
  border-bottom: 0;
}

.v_page_head .v_page_lead {
  margin-inline: auto !important;
}

.v_page_body .v_page_intro {
  margin: 0 0 1.4em !important;
  color: var(--v-text);
  font-size: 1.22rem !important;
  line-height: 1.6 !important;
}

.v_page_links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 1.6em 0;
}

.v_page_body .v_page_link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  background: var(--v-surface);
  color: var(--v-text);
  text-decoration: none;
  transition:
    border-color 0.3s var(--v-ease),
    translate 0.3s var(--v-ease);
}

.v_page_body .v_page_link:hover {
  border-color: color-mix(in srgb, var(--v-accent) 45%, var(--v-line));
  translate: 0 -2px;
}

.v_page_link > .v_ico:first-child {
  box-sizing: content-box;
  padding: 11px;
  border-radius: 999px;
  background: var(--v-tint);
  color: var(--v-accent);
}

.v_page_link > .v_ico:last-child {
  margin-left: auto;
  color: var(--v-muted);
  transition: translate 0.3s var(--v-ease);
}

.v_page_link:hover > .v_ico:last-child {
  translate: 3px 0;
}

.v_page_link > span {
  min-width: 0;
}

.v_page_body .v_page_link strong {
  display: block;
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1.35 !important;
}

.v_page_body .v_page_link small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--v-muted);
  font-size: 0.85rem !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v_page_cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 1.6em 0;
}

.v_page_body .v_page_card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  background: var(--v-surface);
}

.v_page_card > .v_ico {
  box-sizing: content-box;
  margin-bottom: 10px;
  padding: 11px;
  border-radius: 999px;
  background: var(--v-tint);
  color: var(--v-accent);
}

.v_page_body .v_page_card h2 {
  margin: 0 0 6px !important;
  padding: 0;
  font-size: 1.15rem;
}

.v_page_body .v_page_card h2::after {
  content: none;
}

.v_page_body .v_page_card h3 {
  margin: 12px 0 4px !important;
  color: var(--v-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v_page_body .v_page_card p {
  margin: 0 !important;
}

.v_page_body .v_page_card a:not(.v_page_map) {
  color: var(--v-text);
  font-size: 1.15rem !important;
  font-weight: 600;
  text-decoration: none;
}

.v_page_body .v_page_card a:not(.v_page_map):hover {
  color: var(--v-accent);
}

.v_page_card:has(.v_page_row) {
  grid-column: 1 / -1;
}

.v_page_body .v_page_row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-self: stretch;
  padding: 8px 0;
  border-bottom: 1px solid var(--v-line);
}

.v_page_body .v_page_row strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.v_page_body .v_page_map {
  margin-top: 12px;
  font-weight: 600;
}

.v_page_photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 1.2em 0 1.6em;
}

.v_page_body .v_page_photos figure {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  overflow: hidden;
  border-radius: var(--v-r-sm);
  background: var(--v-surface-2);
}

.v_page_body .v_page_photos img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.v_page_body .v_page_photos figcaption {
  padding: 10px 12px 12px;
  color: var(--v-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.v_page_body .v_page_photos figcaption::first-line {
  color: var(--v-text);
  font-weight: 600;
}

@media (max-width: 600px) {
  .v_page_body .v_page_row {
    flex-direction: column;
    gap: 2px;
  }

  .v_page_body .v_page_row strong {
    text-align: left;
  }
}

/* Page réservée et page introuvable */
.v_nowrap {
  white-space: nowrap;
}

.v_denied {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 77px - 160px);
  padding: clamp(40px, 8vw, 104px) 0;
}

.v_notice {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.v_notice_label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-inline: clamp(28px, 5vw, 56px);
  font-size: 1.15rem;
}

.v_notice_label::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--v-accent);
}

.v_notice_body {
  padding: clamp(28px, 5vw, 56px);
}

.v_notice h1 {
  max-width: 16ch;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
}

.v_denied_text {
  max-width: 48ch;
  margin-top: 20px !important;
  color: var(--v-muted);
  font-size: 1.1rem;
}

.v_notice .v_hero_btns {
  margin-top: 32px;
}

.v_notice_foot {
  padding: 16px clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--v-line);
  background: var(--v-bg);
  color: var(--v-muted);
  font-size: 0.95rem;
}

.v_notice_foot a {
  color: var(--v-text);
  font-weight: 600;
  white-space: nowrap;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .v_notice .v_hero_btns .v_btn {
    flex: 1 1 100%;
  }
}

.v_preview_bar {
  position: relative;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 20px;
  padding: 9px 16px;
  background: #18181b;
  color: #f4f4f5;
  font-size: 0.86rem;
}

.v_preview_bar span,
.v_preview_bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v_preview_bar a {
  color: #fff;
  font-weight: 600;
  text-underline-offset: 3px;
}

.v_embed {
  background: #fff;
}

.v_embed .v_page_head {
  padding-top: 32px;
}

.v_embed .v_page {
  padding-bottom: 40px;
}

/* Blocs du menu « Blocs » de l'éditeur de pages : seules mises en forme propres aux pages */
.v_page_body > .v_blk_wide {
  --v-blk-w: min(1120px, calc(100vw - 2 * clamp(16px, 4vw, 48px)));
  width: var(--v-blk-w);
  margin: 2.4em 0 2.4em calc((100% - var(--v-blk-w)) / 2) !important;
}

.v_page_body .v_blk_lead {
  color: var(--v-text);
  font-size: 1.3rem;
  line-height: 1.55;
}

/* Photo et texte côte à côte */
.v_page_body .v_blk_media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.v_page_body .v_blk_media > :first-child {
  margin: 0 !important;
}

.v_page_body .v_blk_media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  object-fit: cover;
  border-radius: var(--v-r-lg);
}

.v_page_body .v_blk_media_right > :first-child {
  order: 2;
}

.v_page_body .v_blk_media h2 {
  margin-top: 0 !important;
}

/* Galerie */
.v_page_body .v_blk_gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v_page_body .v_blk_gallery > * {
  margin: 0 !important;
}

.v_page_body .v_blk_gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  object-fit: cover;
  border-radius: var(--v-r);
}

/* Cartes, avec ou sans photo en tête */
.v_page_body .v_blk_cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.v_page_body .v_blk_cards > div {
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r-lg);
  background: var(--v-surface);
}

.v_page_body .v_blk_cards > div > :first-child:is(img, p:has(> img:only-child)) {
  margin: -24px -24px 20px !important;
}

.v_page_body .v_blk_cards > div img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
}

.v_page_body .v_blk_cards h3,
.v_page_body .v_blk_cols h3,
.v_page_body .v_blk_box h3 {
  margin: 0 0 0.4em !important;
  font-size: 1.3rem;
}

.v_page_body .v_blk_cards p {
  color: var(--v-muted);
  font-size: 1rem;
}

.v_page_body :is(.v_blk_cards > div, .v_blk_cols > div, .v_blk_box) > :last-child {
  margin-bottom: 0 !important;
}

/* Deux colonnes */
.v_page_body .v_blk_cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

/* Encadré */
.v_page_body .v_blk_box {
  margin: 1.8em 0;
  padding: 24px 28px;
  border-radius: var(--v-r-lg);
  background: var(--v-tint);
}

.v_page_body .v_blk_box h3 {
  color: color-mix(in srgb, var(--v-accent) 80%, var(--v-text));
}

/* Chiffres clés, comme sur l'accueil */
.v_page_body .v_blk_figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px 0;
  padding: clamp(24px, 3.5vw, 40px) 16px;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r-lg);
  background: var(--v-surface);
  box-shadow: var(--v-shadow);
  text-align: center;
}

.v_page_body .v_blk_figures > div {
  padding: 0 16px;
}

.v_page_body .v_blk_figures > div + div {
  border-left: 1px solid var(--v-line);
}

.v_page_body .v_blk_figures strong {
  display: block;
  color: color-mix(in srgb, var(--v-accent) 85%, var(--v-text));
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.v_page_body .v_blk_figures span {
  display: block;
  margin-top: 10px;
  color: var(--v-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Étapes */
.v_page_body .v_blk_steps {
  display: grid;
  gap: 20px;
  margin: 1.8em 0;
  padding: 0;
  list-style: none;
  counter-reset: v_step;
}

.v_page_body .v_blk_steps li {
  position: relative;
  margin: 0;
  padding-left: 60px;
  counter-increment: v_step;
}

.v_page_body .v_blk_steps li::before {
  content: counter(v_step);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--v-r);
  background: var(--v-accent);
  color: var(--v-on-accent);
  font-family: var(--v-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.v_page_body .v_blk_steps strong,
.v_page_body .v_blk_timeline strong {
  display: block;
  color: var(--v-text);
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Frise chronologique */
.v_page_body .v_blk_timeline {
  margin: 1.8em 0;
  padding: 0;
  list-style: none;
}

.v_page_body .v_blk_timeline li {
  position: relative;
  margin: 0;
  padding: 0 0 28px 32px;
  border-left: 2px solid var(--v-line);
}

.v_page_body .v_blk_timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.v_page_body .v_blk_timeline li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--v-accent);
  box-shadow: 0 0 0 4px var(--v-bg);
}

/* Citation */
.v_page_body .v_blk_quote {
  margin: 2.2em 0;
  padding: 0;
  border: 0;
  color: var(--v-text);
}

.v_page_body .v_blk_quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 20px;
  background: var(--v-accent);
}

.v_page_body .v_blk_quote p:first-child {
  margin: 0 !important;
  font-family: var(--v-display);
  font-stretch: var(--v-display-stretch);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.v_page_body .v_blk_quote p + p {
  margin: 14px 0 0 !important;
  color: var(--v-muted);
  font-size: 0.95rem;
}

/* Questions fréquentes */
.v_page_body .v_blk_faq {
  margin: 0;
  border-bottom: 1px solid var(--v-line);
}

.v_page_body :not(.v_blk_faq) + .v_blk_faq {
  margin-top: 1.6em;
  border-top: 1px solid var(--v-line);
}

.v_page_body .v_blk_faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  color: var(--v-text);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.v_page_body .v_blk_faq summary::-webkit-details-marker {
  display: none;
}

.v_page_body .v_blk_faq summary::after {
  content: "+";
  flex: none;
  color: var(--v-accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--v-ease);
}

.v_page_body .v_blk_faq[open] summary::after {
  transform: rotate(45deg);
}

.v_page_body .v_blk_faq > :not(summary) {
  margin: 0 0 18px !important;
  color: var(--v-muted);
}

/* Appel à l'action */
.v_page_body .v_blk_cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 40px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--v-r-lg);
  background: var(--v-accent);
  color: var(--v-on-accent);
}

.v_page_body .v_blk_cta > * {
  grid-column: 1;
  margin: 0 !important;
}

.v_page_body .v_blk_cta h2 {
  color: inherit;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.05;
}

.v_page_body .v_blk_cta p {
  opacity: 0.9;
}

.v_page_body .v_blk_cta > :last-child:has(a) {
  grid-column: 2;
  grid-row: 1 / span 2;
  opacity: 1;
}

.v_page_body .v_blk_cta a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--v-r-btn);
  background: var(--v-on-accent);
  color: var(--v-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Bouton seul */
.v_page_body .v_blk_btn {
  margin: 1.6em 0;
}

.v_page_body .v_blk_btn a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--v-r-btn);
  background: var(--v-accent);
  color: var(--v-on-accent);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.v_page_body .v_blk_btn a:hover {
  background: color-mix(in srgb, var(--v-accent) 86%, #000);
}

@media (max-width: 760px) {
  .v_page_body .v_blk_media,
  .v_page_body .v_blk_cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .v_page_body .v_blk_media_right > :first-child {
    order: 0;
  }

  .v_page_body .v_blk_cta > :last-child:has(a) {
    grid-column: 1;
    grid-row: auto;
    margin-top: 16px !important;
  }

  .v_page_body .v_blk_gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v_page_body .v_blk_figures > div + div {
    border-left: 0;
  }
}
