/**
 * Virutex Construct — homepage sections below the hero (inc/52-home-lots.php, templates/front-page.html).
 * Palette 2 + 1: Os (page), Sable (band), Bleu pétrole (impact). Thin rules, serif titles, no textures.
 */

.vc-hsec { padding-block: 64px; background: var(--vc-os); }
.vc-hsec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--vc-ink); }
.vc-hsec__head .vc-kicker { margin-bottom: 12px; }
.vc-hsec__title { margin: 0; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); font-weight: 350; line-height: 1.08; max-width: 22ch; color: var(--vc-ink); }
.vc-hsec__title em { font-style: italic; color: var(--vc-corail-text); font-variation-settings: "SOFT" 100, "WONK" 1; }
.vc-hsec__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--vc-ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.vc-hsec__link:hover { color: var(--vc-corail-text); }
.vc-hsec__link span { transition: transform .2s ease; }
.vc-hsec__link:hover span { transform: translateX(3px); }
@media (min-width: 900px) { .vc-hsec { padding-block: 96px; } }

/* ── À la une ─────────────────────────────────────── */
.vc-une__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .vc-une__grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.vc-une__media { text-decoration: none; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--vc-sable); }
.vc-une__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vc-une__lead:hover .vc-une__img { transform: scale(1.03); }
.vc-une__num { font-family: var(--vc-serif); font-size: clamp(6rem, 4rem + 8vw, 11rem); font-weight: 200; font-style: italic; line-height: 1; color: var(--vc-ink); font-variation-settings: "SOFT" 100, "WONK" 1; }
.vc-une__lot { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--vc-a4); }
.vc-une__lead .vc-une__lot { margin-top: 22px; }
.vc-une__title { margin: 10px 0 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 400; line-height: 1.12; }
.vc-une__title a { color: var(--vc-ink); text-decoration: none; }
.vc-une__title a:hover { color: var(--vc-corail-text); }
.vc-une__excerpt { margin: 12px 0 0; color: var(--vc-a4); max-width: 56ch; }
.vc-une__time { margin: 12px 0 0; font-size: .82rem; font-weight: 700; color: var(--vc-ink); }
.vc-une__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--vc-line); }
.vc-une__row { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--vc-line); color: var(--vc-ink); text-decoration: none; transition: background-color .2s ease, padding .2s ease; }
.vc-une__row:hover { background: #fff; padding-inline: 14px; }
.vc-une__rownum { font-family: var(--vc-serif); font-size: 2.2rem; font-weight: 200; font-style: italic; line-height: 1; color: var(--vc-corail-text); font-variation-settings: "SOFT" 100, "WONK" 1; }
.vc-une__rowtext { display: grid; gap: 4px; min-width: 0; }
.vc-une__rowtitle { font-family: var(--vc-serif); font-size: 1.15rem; font-weight: 450; line-height: 1.25; }
.vc-une__rowtime { font-size: .8rem; color: var(--vc-a4); white-space: nowrap; }

/* ── Le bon artisan (sand band) ───────────────────── */
.vc-artisans { background: var(--vc-sable); }
.vc-artisans__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .vc-artisans__grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.vc-artisans .vc-kicker, .vc-artisans .vc-kicker__line { color: var(--vc-ink); }
.vc-artisans .vc-kicker__line { background: var(--vc-ink); }
.vc-artisans__lead { margin: 18px 0 0; max-width: 46ch; font-size: 1.1rem; color: var(--vc-ink); }
.vc-artisans .vc-hsec__title em { color: var(--vc-ink); }
.vc-steps3 { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--vc-ink); }
.vc-steps3__item { display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "n title" "n text"; gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid rgba(43, 41, 38, .25); }
.vc-steps3__n { grid-area: n; font-family: var(--vc-serif); font-size: 2.6rem; font-weight: 200; font-style: italic; line-height: 1; color: var(--vc-ink); font-variation-settings: "SOFT" 100, "WONK" 1; }
.vc-steps3__title { grid-area: title; margin: 0; font-size: 1.3rem; font-weight: 450; }
.vc-steps3__item p { grid-area: text; margin: 0; color: var(--vc-ink); }

/* ── Calculateurs ─────────────────────────────────── */
.vc-outils__grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
@media (min-width: 760px) { .vc-outils__grid { grid-template-columns: repeat(3, 1fr); } }
.vc-outil { display: grid; gap: 14px; align-content: start; height: 100%; box-sizing: border-box; padding: 26px 24px 24px; border: 1px solid var(--vc-line); border-radius: 6px; background: #fff; color: var(--vc-ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.vc-outil:hover { border-color: var(--vc-ink); transform: translateY(-2px); }
.vc-outil__n { font-family: var(--vc-serif); font-size: 2.4rem; font-weight: 200; font-style: italic; line-height: 1; color: var(--vc-corail-text); font-variation-settings: "SOFT" 100, "WONK" 1; }
.vc-outil__title { font-family: var(--vc-serif); font-size: 1.3rem; font-weight: 450; line-height: 1.2; }
.vc-outil__out { font-size: .95rem; color: var(--vc-a4); }
.vc-outil__out span { display: block; margin-bottom: 2px; font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--vc-ink); }
.vc-outil__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--vc-corail-text); }
.vc-outil:hover .vc-outil__go span { transform: translateX(3px); }
.vc-outil__go span { transition: transform .2s ease; }

/* ── FAQ ──────────────────────────────────────────── */
.vc-faq2 { border-top: 1px solid var(--vc-line); }
.vc-faq2__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .vc-faq2__grid { grid-template-columns: 1fr 1.6fr; gap: 72px; } }
.vc-faq2__lead { margin: 16px 0 0; color: var(--vc-a4); }
.vc-faq2__list { border-top: 1px solid var(--vc-ink); }
.vc-faq2__item { border-bottom: 1px solid var(--vc-line); padding: 0; margin: 0; }
.vc-faq2__item summary { position: relative; display: block; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; font-family: var(--vc-serif); font-size: 1.2rem; font-weight: 450; color: var(--vc-ink); }
.vc-faq2__item summary::-webkit-details-marker { display: none; }
.vc-faq2__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--vc-ink); border-radius: 50%; font-family: var(--vc-body); font-size: 1.2rem; font-weight: 400; line-height: 1; transition: transform .2s ease, background-color .2s ease; }
.vc-faq2__item[open] summary::after { content: "−"; background: var(--vc-ink); color: var(--vc-os); }
.vc-faq2__item summary:hover { color: var(--vc-corail-text); }
.vc-faq2__item p { margin: 0 0 22px; max-width: 64ch; color: var(--vc-a4); }
.vc-faq2 .vc-kicker::before { content: ""; width: 28px; height: 2px; flex: none; background: var(--vc-corail); border-radius: 2px; }

/* ── L'ordre d'un chantier: timeline of five phases ── */
.vc-ordre { background: #fff; }
.vc-ordre__list { position: relative; display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1000px) {
	.vc-ordre__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
	.vc-ordre__list::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--vc-ink); }
}
.vc-ordre__step { position: relative; display: grid; align-content: start; gap: 8px; padding-left: 40px; }
@media (min-width: 1000px) { .vc-ordre__step { padding: 40px 0 0; } }
.vc-ordre__dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(var(--vc-sable), var(--vc-sable)) 50% 0 / 3px 8px no-repeat, var(--vc-corail); box-shadow: 0 0 0 6px #fff; }
.vc-ordre__step:first-child .vc-ordre__dot { background: linear-gradient(var(--vc-corail), var(--vc-corail)) 50% 0 / 3px 8px no-repeat, var(--vc-sable); }
@media (max-width: 999px) { .vc-ordre__list::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--vc-ink); } }
.vc-ordre__n { margin: 0; font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--vc-a4); }
.vc-ordre__title { margin: 0; font-size: 1.35rem; font-weight: 400; line-height: 1.2; }
.vc-ordre__text { margin: 0; font-size: .92rem; color: var(--vc-a4); }
.vc-ordre__lots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vc-ordre__lot { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 4px; border: 1px solid var(--vc-line); border-radius: var(--vc-r); color: var(--vc-ink); font-size: .82rem; font-weight: 700; text-decoration: none; }
.vc-ordre__lot span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--vc-sable); font-family: var(--vc-serif); font-style: italic; font-weight: 400; }
.vc-ordre__lot:hover { border-color: var(--vc-ink); }
.vc-ordre__lot--devis { padding: 0 12px; background: var(--vc-corail); border-color: var(--vc-corail); color: #fff; }
.vc-ordre__lot--devis:hover { background: var(--vc-ink); border-color: var(--vc-ink); }

/* ── Les artisans du chantier: eight trades ── */
.vc-metiers__grid { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--vc-ink); }
@media (min-width: 600px) { .vc-metiers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vc-metiers__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vc-metier { display: grid; align-content: start; gap: 8px; padding: 24px 22px 26px; border-bottom: 1px solid var(--vc-line); border-right: 1px solid var(--vc-line); }
@media (min-width: 1000px) { .vc-metier:nth-child(4n) { border-right: 0; } }
@media (min-width: 600px) and (max-width: 999px) { .vc-metier:nth-child(2n) { border-right: 0; } }
@media (max-width: 599px) { .vc-metier { border-right: 0; padding-inline: 0; } }
.vc-metier__lot { margin: 0; }
.vc-metier__lot a { display: inline-flex; align-items: center; gap: 8px; color: var(--vc-a4); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.vc-metier__lot span { font-family: var(--vc-serif); font-size: 1.5rem; font-weight: 200; font-style: italic; letter-spacing: 0; color: var(--vc-corail-text); }
.vc-metier__name { margin: 4px 0 0; font-size: 1.35rem; font-weight: 400; line-height: 1.2; }
.vc-metier__text { margin: 0; color: var(--vc-a4); font-size: .92rem; }
.vc-metier__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--vc-corail-text); font-weight: 700; text-decoration: none; }
.vc-metier__go span { transition: transform .2s ease; }
.vc-metier__go:hover span { transform: translateX(3px); }
