/*
Theme Name: Valois Emploi
Theme URI: https://valoisemploi.fr
Description: Thème blocs sur mesure pour l'association Valois Emploi (Nanteuil-le-Haudouin).
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: valois-emploi
*/

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { overflow-x: clip; }

:focus-visible { outline: 3px solid var(--wp--preset--color--green); outline-offset: 2px; }

/* Bouton avec flèche : classe « ve-arrow » sur le bloc Bouton. */
.ve-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 1em; height: 1em;
	margin-left: .55em;
	vertical-align: -.15em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s;
}
.ve-arrow .wp-block-button__link:hover::after { transform: translateX(3px); }

.wp-block-button__link { transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(103, 154, 44, .22); }

/* Style de bouton « Blanc » */
.wp-block-button.is-style-blanc .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--navy);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 4px 14px rgba(19, 41, 91, .08);
}
.wp-block-button.is-style-blanc .wp-block-button__link:hover { border-color: var(--wp--preset--color--green); color: var(--wp--preset--color--green-dark); }

/* ---------- Petits titres (surtitres) ---------- */
.ve-eyebrow {
	font-family: var(--wp--preset--font-family--heading);
	font-size: .8125rem !important;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green-dark) !important;
	margin-bottom: .5rem !important;
}
.ve-eyebrow.ve-leaf::before {
	content: "";
	display: inline-block;
	width: 1.05em; height: 1.05em;
	margin-right: .55em;
	vertical-align: -.15em;
	background: url("assets/icons/feuille.svg") center / contain no-repeat;
}
.ve-eyebrow.has-text-align-center::after,
.ve-eyebrow.ve-line::after {
	content: "";
	display: block;
	width: 34px; height: 2px;
	margin: .7rem auto 0;
	background: var(--wp--preset--color--green);
	border-radius: 2px;
}
.ve-eyebrow.ve-line:not(.has-text-align-center)::after { margin-left: 0; }

.ve-accent { color: var(--wp--preset--color--green); }

/* ---------- Icônes rondes (bloc Image avec la classe « ve-icon ») ---------- */
.wp-block-image.ve-icon {
	flex: 0 0 auto;
	width: 64px; height: 64px;
	margin: 0;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--wp--preset--color--green-light);
}
.wp-block-image.ve-icon img { width: 30px !important; height: 30px !important; }
.wp-block-image.ve-icon.ve-icon-sm { width: 48px; height: 48px; }
.wp-block-image.ve-icon.ve-icon-sm img { width: 24px !important; height: 24px !important; }
.wp-block-image.ve-icon.ve-icon-lg { width: 78px; height: 78px; }
.wp-block-image.ve-icon.ve-icon-lg img { width: 36px !important; height: 36px !important; }
.wp-block-image.ve-icon.ve-icon-outline { background: #fff; border: 1.5px solid var(--wp--preset--color--green); }

/* Liste d'atouts (icône + texte, séparés par un filet) */
.ve-feature { padding-block: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.ve-feature:last-child { border-bottom: 0; }
.ve-feature h3, .ve-feature h4 { margin: 0 0 .25rem; font-size: 1.05rem; }
.ve-feature p { margin: 0; color: var(--wp--preset--color--muted); font-size: .95rem; }

/* ---------- Cartes ---------- */
.ve-card,
.wp-block-group.is-style-carte {
	background: #fff;
	border-radius: var(--wp--custom--radius);
	box-shadow: var(--wp--custom--shadow);
	overflow: hidden;
	height: 100%;
}
.wp-block-group.is-style-carte { padding: var(--wp--preset--spacing--30); }
.ve-card { display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.ve-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(19, 41, 91, .13); }
.ve-card > .wp-block-image:first-child { margin: 0; }
.ve-card > .wp-block-image:first-child img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ve-card .ve-card-body { padding: 0 1.4rem 1.5rem; flex: 1; }
.ve-card .ve-card-body > .ve-icon { margin-top: -34px !important; margin-bottom: .9rem; border: 3px solid #fff; background: #fff; box-shadow: 0 0 0 1.5px var(--wp--preset--color--green); }
.ve-card h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
.ve-card h3 a { color: inherit; text-decoration: none; }
.ve-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ve-card { position: relative; }
.ve-card p { margin: 0; color: var(--wp--preset--color--muted); font-size: .95rem; }
.wp-block-column:has(> .ve-card) { display: flex; flex-direction: column; }

/* Grilles de cartes : colonnes égales */
.ve-grid { gap: 1.6rem !important; }

/* ---------- En-tête ---------- */
.ve-header { position: relative; z-index: 50; background: #fff; }
.ve-header .ve-header-inner { min-height: 92px; }
.ve-header .wp-block-image.ve-logo { margin: 0; }
.ve-header .ve-logo img { width: 112px; height: auto; display: block; }
.ve-header .wp-block-navigation a, .ve-header .wp-block-navigation .wp-block-navigation-item__content { color: var(--wp--preset--color--navy); text-decoration: none; }
.ve-header .wp-block-navigation .wp-block-navigation-item__content { padding-block: .35rem; position: relative; }
.ve-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.ve-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--green-dark); }
.ve-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--wp--preset--color--green); border-radius: 2px;
}
.ve-header .wp-block-navigation__submenu-container {
	border: 0 !important;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(19, 41, 91, .14);
	padding: .5rem 0 !important;
	min-width: 230px !important;
}
.ve-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem 1.1rem !important; }
.ve-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--green-light); color: var(--wp--preset--color--green-dark); }

.ve-btn-phone .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 1.05em; height: 1.05em;
	margin-right: .55em;
	vertical-align: -.17em;
	background: currentColor;
	-webkit-mask: url("assets/icons/telephone.svg") center / contain no-repeat;
	        mask: url("assets/icons/telephone.svg") center / contain no-repeat;
}

/* Accueil : l'en-tête se pose sur la photo du héros */
body.home .ve-header-wrap { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
body.admin-bar.home .ve-header-wrap { top: 32px; }
body.home .ve-header { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 60%, rgba(255,255,255,0) 100%); }

/* Menu mobile */
.ve-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.ve-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.15rem; }
.ve-header .is-menu-open .wp-block-navigation__responsive-container-content,
.ve-header .is-menu-open .wp-block-navigation__container,
.ve-header .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.ve-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3rem !important; }
.ve-header .is-menu-open .wp-block-navigation__container { gap: 1.1rem !important; }
.ve-header .is-menu-open .wp-block-navigation__submenu-container {
	box-shadow: none !important; border-radius: 0; min-width: 0 !important;
	padding: .4rem 0 0 1rem !important; border-left: 2px solid var(--wp--preset--color--green-light) !important;
}
.ve-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1rem !important; padding: .3rem .5rem !important; }
@media (max-width: 781px) {
	.ve-header .ve-header-inner { min-height: 74px; }
	.ve-header .ve-logo img { width: 86px; }
	.ve-header .ve-btn-phone .wp-block-button__link { padding: .6rem .9rem; font-size: .85rem; }
	body.admin-bar.home .ve-header-wrap { top: 46px; }
}
@media (max-width: 420px) {
	.ve-header .ve-btn-phone .wp-block-button__link { font-size: 0; padding: .7rem; }
	.ve-header .ve-btn-phone .wp-block-button__link::before { font-size: 1.1rem; margin: 0; }
}

/* ---------- Héros ---------- */
.ve-hero { min-height: min(92vh, 760px) !important; padding-top: 140px !important; }
.ve-hero .wp-block-cover__inner-container { width: 100% !important; max-width: 1180px; margin-inline: auto !important; }
.ve-hero h1 { color: var(--wp--preset--color--navy); font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 600; margin: 0 0 1.4rem; }
.ve-hero .ve-hero-lead { font-size: 1.08rem; color: var(--wp--preset--color--navy); max-width: 30rem; font-weight: 500; }
@media (max-width: 781px) {
	.ve-hero { min-height: 640px !important; padding-top: 120px !important; }
	.ve-hero .wp-block-cover__image-background { object-position: 72% 50% !important; }
	.ve-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.25) 100%) !important; }
}

/* Bandeau de titre des pages intérieures */
.ve-banner { min-height: 330px !important; padding-top: 3rem !important; padding-bottom: 3rem !important; }
.ve-banner h1 { color: #fff; margin: 0; }
.ve-banner p { color: rgba(255, 255, 255, .9); max-width: 40rem; }
.ve-banner .wp-block-cover__inner-container { width: 100% !important; max-width: 1180px; margin-inline: auto !important; }
.ve-banner .wp-block-cover__inner-container > * { margin-left: 0 !important; }
.ve-banner h1 { max-width: 22ch; }
.ve-banner .ve-eyebrow { color: #b9dc8a !important; }

/* ---------- Carte du territoire ---------- */
.ve-map img { width: 100%; height: auto; }
.ve-map-caption { display: flex; gap: .6rem; align-items: center; font-size: .9rem; color: var(--wp--preset--color--muted); }

/* ---------- Avis ---------- */
.ve-review { text-align: center; padding: 2rem 1.6rem 1.6rem !important; position: relative; }
.ve-review::before {
	content: "\201C";
	position: absolute; top: .4rem; left: 1.2rem;
	font-family: Georgia, serif; font-size: 4.2rem; line-height: 1;
	color: var(--wp--preset--color--green);
}
.ve-stars { color: #f5b301 !important; letter-spacing: .15em; font-size: 1.05rem; margin: 0 0 .75rem !important; }
.ve-review blockquote, .ve-review .ve-quote { font-style: italic; color: var(--wp--preset--color--text); margin: 0 0 1rem; }
.ve-review .ve-author { font-size: .9rem; color: var(--wp--preset--color--muted); margin: 0; }

/* ---------- Bandeau contact (pied de page) ---------- */
.ve-cta-wrap { position: relative; z-index: 2; margin-bottom: -70px !important; }
.ve-cta {
	border-radius: 20px;
	box-shadow: 0 18px 40px rgba(19, 41, 91, .22);
	gap: 1.5rem 2.5rem !important;
}
.ve-cta, .ve-cta p, .ve-cta a { color: #fff; }
.ve-cta h2, .ve-cta h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.ve-cta .ve-cta-contacts p { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 1.1rem; font-weight: 500; }
.ve-cta .ve-cta-contacts a { text-decoration: none; }
.ve-cta .ve-cta-contacts a:hover { text-decoration: underline; }
.ve-cta .wp-block-image.ve-icon { background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .55); }
.ve-cta .wp-block-image.ve-icon img { filter: brightness(0) invert(1); }
.ve-ico-inline { display: flex; align-items: center; gap: .65rem; }
.ve-ico-inline::before {
	content: ""; flex: 0 0 1.2em; height: 1.2em; background: currentColor;
	-webkit-mask: var(--ve-ico) center / contain no-repeat; mask: var(--ve-ico) center / contain no-repeat;
}
.ve-ico-phone { --ve-ico: url("assets/icons/telephone.svg"); }
.ve-ico-mail { --ve-ico: url("assets/icons/courriel.svg"); }
.ve-ico-pin { --ve-ico: url("assets/icons/repere.svg"); }
.ve-ico-clock { --ve-ico: url("assets/icons/horloge.svg"); }

/* ---------- Pied de page ---------- */
.ve-footer { padding-top: calc(70px + var(--wp--preset--spacing--50) + 1.5rem) !important; }
.ve-footer, .ve-footer p, .ve-footer li { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.ve-footer h2, .ve-footer h3 {
	color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem;
}
.ve-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.ve-footer a:hover { color: #fff; text-decoration: underline; }
.ve-footer ul { list-style: none; padding: 0; margin: 0; }
.ve-footer li { margin: 0 0 .45rem; }
.ve-footer .ve-logo img { width: 120px; }
.ve-footer .ve-ico-inline { align-items: flex-start; }
.ve-footer .ve-ico-inline::before { color: #9fd05a; margin-top: .2em; }
.ve-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-right: 3.5rem !important; }
.ve-footer-bottom p { font-size: .82rem; margin: 0; }
@media (max-width: 781px) {
	.ve-footer .wp-block-column:first-child p { flex-basis: 100% !important; }
	.ve-footer li { margin-bottom: .1rem; }
	.ve-footer li a, .ve-footer-bottom a { display: inline-block; padding-block: .4rem; }
}
.ve-top {
	position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center;
	background: #fff; color: var(--wp--preset--color--navy);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 6px 18px rgba(19, 41, 91, .18);
	opacity: 0; pointer-events: none; transition: opacity .25s;
}
.ve-top.is-visible { opacity: 1; pointer-events: auto; }
.ve-top svg { width: 20px; height: 20px; }

/* ---------- Listes à coches ---------- */
ul.is-style-coches { list-style: none; padding-left: 0; }
ul.is-style-coches li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
ul.is-style-coches li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem;
	background: url("assets/icons/coche.svg") center / contain no-repeat;
}

/* ---------- Étapes numérotées ---------- */
.ve-step-num {
	width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--wp--custom--vert-bouton); color: #fff !important;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.15rem !important;
	margin: 0 0 1rem !important;
}

/* Encadré mis en avant */
.ve-highlight { border-left: 4px solid var(--wp--preset--color--green); border-radius: 0 var(--wp--custom--radius) var(--wp--custom--radius) 0; }

/* Images arrondies */
.ve-rounded img { border-radius: var(--wp--custom--radius); box-shadow: var(--wp--custom--shadow); }

/* ---------- Formulaire (Contact Form 7) ---------- */
.wpcf7 form { display: grid; gap: 1rem; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 label { display: block; font-weight: 500; color: var(--wp--preset--color--navy); font-size: .95rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: .35rem; padding: .8rem 1rem;
	font: inherit; font-size: 1rem; color: var(--wp--preset--color--text);
	background: #fff; border: 1px solid #d5dbcf; border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 0; border-color: var(--wp--preset--color--green); box-shadow: 0 0 0 3px rgba(103, 154, 44, .18); }
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 .ve-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .wpcf7 .ve-form-row { grid-template-columns: 1fr; } }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; font-size: .88rem; color: var(--wp--preset--color--muted); }
.wpcf7 input[type="submit"] {
	justify-self: start; cursor: pointer; border: 0; border-radius: 999px;
	padding: .9rem 1.8rem; background: var(--wp--custom--vert-bouton); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-size: 1rem; font-weight: 500;
}
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--green-dark); }
.wpcf7-not-valid-tip { font-size: .85rem; }
.wpcf7 form .wpcf7-response-output { margin: 0; border-radius: 10px; }

/* ---------- Divers ---------- */
.ve-muted { color: var(--wp--preset--color--muted); }
.ve-legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ve-card, .ve-card:hover { transition: none; transform: none; }
}

/* ---------- Pages intérieures ---------- */
.is-style-carte > .ve-icon { margin-bottom: .6rem; }
.is-style-carte h3 { margin: 0; font-size: 1.15rem; }
.ve-feature-plain { border-bottom: 0; padding-block: .8rem; }
.ve-highlight { background: var(--wp--preset--color--green-light) !important; box-shadow: none !important; }
.ve-highlight .ve-icon { background: #fff; }
.ve-rounded .wp-element-caption { font-size: .8rem; line-height: 1.45; color: var(--wp--preset--color--muted); margin-top: .6rem; }
.ve-osm { width: 100%; height: 380px; border: 0; border-radius: var(--wp--custom--radius); box-shadow: var(--wp--custom--shadow); display: block; }
@media (max-width: 781px) { .ve-osm { height: 260px; } }
.ve-legal mark { background: #fff3c4; padding: 0 .25em; border-radius: 3px; }
.ve-legal h2:first-child { margin-top: 0; }

/* Titres blancs (bandeau des pages simples) */
h1.has-white-color, h2.has-white-color, .wp-block-post-title.has-white-color, .wp-block-query-title.has-white-color { color: #fff !important; }

/* ---------- Avis clients (bloc valois/avis) ---------- */
.ve-avis { padding-block: var(--wp--preset--spacing--50); }
.ve-avis-inner { max-width: 1000px; margin-inline: auto; padding-inline: var(--wp--style--root--padding-right, 1.25rem); }
.ve-avis h2 { margin: 0 0 var(--wp--preset--spacing--40); }
.ve-avis-track { display: grid; grid-template-columns: repeat(var(--ve-avis-cols, 3), minmax(0, 1fr)); gap: 1.6rem; }
.ve-avis .ve-review { margin: 0; }
.ve-avis .ve-review[hidden] { display: none; }
.ve-avis .ve-quote { margin: 0 0 1rem; padding: 0; border: 0; flex: 1; }
.ve-avis .ve-quote p { margin: 0; font-size: 1rem; color: var(--wp--preset--color--text); }
.ve-stars .ve-stars-off { color: #d6dbe3; }
.ve-review.is-entering { animation: ve-avis-in .5s ease both; }
@keyframes ve-avis-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ve-avis-nav { display: flex; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.ve-avis-nav button {
	width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
	border: 1.5px solid var(--wp--preset--color--green); background: #fff;
	color: var(--wp--preset--color--green-dark); font-size: 1.3rem; line-height: 1;
	display: inline-flex; align-items: center; justify-content: center;
}
.ve-avis-nav .ve-avis-pause { font-size: .75rem; letter-spacing: -.1em; }
.ve-avis-nav button:hover, .ve-avis-nav button:focus-visible { background: var(--wp--custom--vert-bouton); color: #fff; }
@media (max-width: 781px) { .ve-avis-track { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ve-review.is-entering { animation: none; } }

/* ---------- Grille de services (bloc valois/services) ---------- */
.ve-services { padding-block: var(--wp--preset--spacing--50); }
.ve-services-inner { max-width: 1080px; margin-inline: auto; padding-inline: var(--wp--style--root--padding-right, 1.25rem); }
.ve-services h2 { margin: 0 0 var(--wp--preset--spacing--40); }
.ve-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.ve-services-grid .ve-card .ve-card-body { padding-top: 0; }
.ve-card-nophoto { aspect-ratio: 16 / 9; background: var(--wp--preset--color--green-light); }
.ve-services-bouton { margin-top: var(--wp--preset--spacing--40); justify-content: center; }
@media (max-width: 960px) { .ve-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ve-services-grid { grid-template-columns: 1fr; } }

/* ---------- Questions fréquentes (blocs Détails) ---------- */
.wp-block-details.ve-faq {
	background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 12px;
	padding: 0; margin: 0 0 .75rem !important; overflow: hidden;
}
.wp-block-details.ve-faq summary {
	cursor: pointer; list-style: none; position: relative;
	padding: 1rem 3rem 1rem 1.2rem; font-family: var(--wp--preset--font-family--heading);
	font-weight: 600; color: var(--wp--preset--color--navy); font-size: 1.02rem;
}
.wp-block-details.ve-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.ve-faq summary::after {
	content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
	width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wp--preset--color--green-light); color: var(--wp--preset--color--green-dark); font-size: 1.1rem; line-height: 1;
}
.wp-block-details.ve-faq[open] summary::after { content: "−"; }
.wp-block-details.ve-faq summary:focus-visible { outline: 2px solid var(--wp--preset--color--green); outline-offset: -2px; }
.wp-block-details.ve-faq > p, .wp-block-details.ve-faq > :not(summary) { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--wp--preset--color--muted); font-size: .95rem; }
.ve-zone { font-size: .92rem; color: var(--wp--preset--color--muted); margin-top: 1rem; }
.ve-communes { font-size: .9rem; color: var(--wp--preset--color--muted); line-height: 1.7; }

/* ---------- Accueil : un service solidaire ---------- */
.ve-insertion h2 { margin-top: .2rem; }
.ve-insertion .ve-insertion-cle { font-weight: 600; color: var(--wp--preset--color--green-dark); }
.ve-insertion-etapes { padding: .4rem 1.6rem !important; }
.ve-insertion-etapes .ve-step-num { flex: 0 0 46px; margin: 0; }
.ve-hero-badge { margin-bottom: 1rem !important; }

/* En-tête sur petits écrans d'ordinateur : le menu reste sur une ligne */
@media (min-width: 782px) and (max-width: 1180px) {
	.ve-header .wp-block-group:has(> .wp-block-navigation) { gap: 1.2rem !important; }
	.ve-header .wp-block-navigation__container { gap: 1.1rem !important; }
	.ve-header .wp-block-navigation { font-size: .9rem; }
	.ve-header .wp-block-navigation-item__content, .ve-header .ve-btn-phone .wp-block-button__link { white-space: nowrap; }
	.ve-header .ve-btn-phone .wp-block-button__link { padding: .6rem 1rem; font-size: .88rem; }
}
.ve-nowrap { white-space: nowrap; }

/* Menu « hamburger » jusqu'à 960 px (WordPress ne le prévoit que sous 600 px) */
@media (max-width: 960px) {
	.ve-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.ve-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
