/* ==========================================================================
   Secteurs : index /secteurs et portes dédiées (construction, OBNL, restauration)
   Repris des captures Framer (bureau 1440, téléphone 390).
   ========================================================================== */

/* ---------- En-tête : boîte bleu pâle ---------- */
.vw-sect-hero { padding: 96px 32px 56px; display: flex; flex-direction: column; align-items: center; }
.vw-sect-hero-box { width: 100%; max-width: var(--vw-max); border-radius: 20px; padding: 56px; display: flex; flex-direction: column; gap: 18px; }
.vw-sect-hero-box > * { margin: 0; }
.vw-sect-eyebrow.is-style-eyebrow { color: var(--vw-amber); }
.vw-sect-h1 { font-size: var(--vw-h1); line-height: 1.08; letter-spacing: -0.01em; color: var(--vw-ink); max-width: 860px; }
.vw-sect-hero-lead { max-width: 700px; color: var(--vw-ink); }
.vw-sect-hero .is-style-lead { line-height: 1.45; }
.wp-block-separator.vw-sect-rule { width: 56px; height: 3px; margin: 0; border: 0; background: var(--vw-yellow); opacity: 1; flex: none; }

/* Index : titre à gauche, filet, paragraphe à droite, alignés en bas */
.vw-sect-hero-split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 0; }
.vw-sect-hero-left { flex: 1 1 0; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 16px; }
.vw-sect-hero-split .vw-sect-hero-lead { flex: 0 1 380px; max-width: 380px; }

/* ---------- Index : grille des cinq portes ---------- */
.vw-sect-cards { padding: 8px 32px 96px; display: flex; flex-direction: column; align-items: center; }
.vw-sect-grid { width: 100%; max-width: var(--vw-max); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.vw-sect-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; background: var(--vw-white); box-shadow: inset 0 0 0 1px var(--vw-ligne); border-radius: 14px; }
.vw-sect-card > * { margin: 0 !important; }
.vw-sect-card .vw-sect-card-img { width: 100%; height: 170px; border-radius: 10px; overflow: hidden; flex: none; }
.vw-sect-card .vw-sect-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.vw-sect-card-title { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; color: var(--vw-ink); }
.vw-sect-card-text { font-size: 15px; line-height: 1.5; color: var(--vw-gris); }
.vw-sect-card-link { font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: 0.01em; color: var(--vw-blue-700); }
.vw-sect-card-link a { color: inherit; }
/* Toute la carte est cliquable (lien étiré), comme la carte-lien de Framer. */
.vw-sect-card-link a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.vw-sect-card-link a:focus-visible { outline: none; }
.vw-sect-card:has(a:focus-visible) { outline: 3px solid var(--vw-yellow); outline-offset: 2px; }

/* ---------- Pages secteur : colonne de lecture ---------- */
.vw-sect-body { padding: 8px 32px 88px; display: flex; flex-direction: column; align-items: center; }
.vw-sect-col { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 40px; }
.vw-sect-col > *, .vw-sect-block > *, .vw-sect-item > * { margin: 0 !important; }
.vw-sect-intro { color: var(--vw-ink); }
.vw-sect-block { display: flex; flex-direction: column; gap: 16px; }
.vw-sect-h2 { font-size: var(--vw-h2); line-height: 1.15; letter-spacing: -0.005em; color: var(--vw-ink); }
.vw-sect-item { display: flex; flex-direction: column; gap: 4px; }
.vw-sect-p { font-size: 17px; line-height: 1.6; color: var(--vw-ink); }
.vw-sect-label, .vw-sect-link { font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--vw-blue-700); }
.vw-sect-link a { color: inherit; }
.vw-sect-q { font-size: 17px; font-weight: 600; line-height: 1.6; letter-spacing: 0; color: var(--vw-ink); }

/* ---------- Appel à l'action (bande marine) ---------- */
.vw-sect-cta { padding: 72px 32px; display: flex; flex-direction: column; align-items: center; }
.vw-sect-cta-in { width: 100%; max-width: 700px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.vw-sect-cta-in > * { margin: 0 !important; }
.vw-sect-cta-title { font-size: var(--vw-h2); line-height: 1.15; letter-spacing: -0.005em; }
.vw-sect-cta-lead { max-width: 520px; }
.vw-sect-cta .is-style-lead { line-height: 1.45; }
.vw-sect-cta-btn .wp-block-button__link { padding: 13px 23px; border-radius: 10px; }

/* ---------- Tablette ---------- */
@media (max-width: 1199.98px) {
	.vw-sect-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vw-sect-hero-split .vw-sect-hero-lead { flex-basis: 340px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 809.98px) {
	.vw-sect-hero-box { padding: 32px 24px; gap: 20px; }
	.vw-sect-hero-split { flex-direction: column; align-items: flex-end; }
	.vw-sect-hero-split .vw-sect-hero-left, .vw-sect-hero-split .vw-sect-hero-lead { flex: none; width: 100%; max-width: none; }
	.vw-sect-grid { grid-template-columns: minmax(0, 1fr); }
}
