/* ============================================================================
   QVRSV : maquette cliquable de la nouvelle navigation (site public)
   Feuille de style partagee. Charte officielle : Montserrat + Inter, plus de
   Separat. Couleurs de marque #377EED / #62D652 / #0F56A5 / #E95722, alignees
   sur les tokens deja utilises par les pages recentes du site (denim #0F56A5,
   azur = bleu officiel #377EED, vert officiel #62D652).
   Cette maquette est un site statique autonome (elle porte son propre header et
   son propre footer, contrairement aux blocs WordPress qui heritent du theme).
   ============================================================================ */

:root {
	--qvrsv-denim:      #0F56A5;
	--qvrsv-bleu:       #377EED;
	--qvrsv-azur:       #377EED;   /* aligne sur le bleu officiel */
	--qvrsv-vert:       #62D652;
	--qvrsv-vert-cta:   #62D652;   /* vert officiel de la charte */
	--qvrsv-vert-fonce: #4CBF3E;   /* survol : le vert officiel assombri */
	--qvrsv-terracotta: #E95722;
	--qvrsv-etain:      #E5E9EB;
	--qvrsv-etain-clair:#F3F6F9;
	--qvrsv-blanc:      #FFFFFF;
	--qvrsv-texte:      #1A1A2E;
	--qvrsv-texte-sec:  #51637A;

	--qvrsv-radius:     18px;
	--qvrsv-radius-sm:  12px;
	--qvrsv-shadow:     0 4px 24px rgba(15, 86, 165, 0.08);
	--qvrsv-shadow-lg:  0 14px 40px rgba(15, 86, 165, 0.16);
	--qvrsv-transition: 0.25s ease;

	--qvrsv-font-titre: 'Montserrat', system-ui, -apple-system, sans-serif;
	--qvrsv-font-corps: 'Inter', system-ui, -apple-system, sans-serif;

	--qvrsv-max: 1200px;
	--qvrsv-nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--qvrsv-font-corps);
	color: var(--qvrsv-texte);
	background: var(--qvrsv-blanc);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
	font-family: var(--qvrsv-font-titre);
	color: var(--qvrsv-denim);
	line-height: 1.12;
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--qvrsv-azur);
	outline-offset: 3px;
	border-radius: 4px;
}

.qvrsv-container { width: min(92%, var(--qvrsv-max)); margin: 0 auto; }

/* ===========================================================================
   BANDEAU MAQUETTE (visible uniquement dans cet aperçu, pas sur le vrai site)
   =========================================================================== */
.mock-flag {
	background: repeating-linear-gradient(45deg, #10233f, #10233f 12px, #143054 12px, #143054 24px);
	color: #fff;
	font-size: 13px;
	text-align: center;
	padding: 7px 14px;
	letter-spacing: 0.02em;
}
.mock-flag b { color: #ffd84d; }

/* ===========================================================================
   HEADER / NAVIGATION
   =========================================================================== */
.nav {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255,255,255,0.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--qvrsv-etain);
}
.nav-inner {
	width: min(94%, 1280px); margin: 0 auto;
	height: var(--qvrsv-nav-h);
	display: flex; align-items: center; gap: 22px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--qvrsv-font-titre); font-weight: 800; color: var(--qvrsv-denim); font-size: 17px; }
.nav-logo .logo-img { height: 44px; width: auto; display: block; flex: none; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 10px;
	font-weight: 600; font-size: 15px; color: var(--qvrsv-texte);
	cursor: pointer; white-space: nowrap;
}
.nav-link:hover { background: var(--qvrsv-etain-clair); color: var(--qvrsv-denim); }
.nav-link.is-current { color: var(--qvrsv-denim); }
.nav-link .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: 0.6; }
.nav-dd {
	position: absolute; top: calc(100% + 6px); right: 0;
	min-width: 288px; background: #fff;
	border: 1px solid var(--qvrsv-etain); border-radius: 14px;
	box-shadow: var(--qvrsv-shadow-lg); padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover .nav-dd, .nav-item:focus-within .nav-dd { opacity: 1; visibility: visible; transform: none; }
.nav-dd a { display: block; padding: 11px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.nav-dd a:hover { background: var(--qvrsv-etain-clair); }
.nav-dd a b { display: block; font-weight: 700; color: var(--qvrsv-denim); font-size: 15px; }
.nav-dd a small { color: var(--qvrsv-texte-sec); font-size: 13px; }
.nav-cta { margin-left: 6px; }

/* pastille : page orpheline aujourd'hui, rattachee ici dans la nouvelle nav */
.tag-orphan {
	display: inline-block; margin-top: 5px;
	background: #FFF3C4; color: #7a5b00; border: 1px solid #F2D675;
	font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
	padding: 1px 8px; border-radius: 40px;
}

/* menu mobile */
.nav-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2.5px; background: var(--qvrsv-denim); border-radius: 2px; margin: 5px 0; transition: var(--qvrsv-transition); }
@media (max-width: 940px) {
	.nav-logo .logo-img { height: 36px; }
	.nav-menu {
		position: fixed; inset: calc(var(--qvrsv-nav-h)) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 2px;
		background: #fff; border-bottom: 1px solid var(--qvrsv-etain);
		padding: 12px 16px 20px; max-height: calc(100vh - var(--qvrsv-nav-h)); overflow-y: auto;
		box-shadow: var(--qvrsv-shadow-lg);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: 0.2s ease;
	}
	.nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav-burger { display: block; }
	.nav-dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--qvrsv-etain); border-radius: 0; margin: 2px 0 8px 12px; padding: 2px 0; min-width: 0; }
	.nav-link .caret { display: none; }
	.nav-cta { margin: 8px 0 0; }
}

/* ===========================================================================
   BOUTONS
   =========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--qvrsv-font-corps); font-weight: 700; font-size: 16px;
	padding: 15px 30px; border-radius: 50px; cursor: pointer;
	border: 2px solid transparent; text-align: center;
	transition: transform var(--qvrsv-transition), box-shadow var(--qvrsv-transition), background var(--qvrsv-transition), color var(--qvrsv-transition);
}
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--primary { background: var(--qvrsv-vert-cta); color: #062b10; }
.btn--primary:hover { background: var(--qvrsv-vert-fonce); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(98,214,82,0.32); }
.btn--ghost { background: transparent; color: var(--qvrsv-denim); border-color: var(--qvrsv-azur); }
.btn--ghost:hover { background: var(--qvrsv-azur); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--qvrsv-denim); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--qvrsv-shadow-lg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===========================================================================
   SECTIONS
   =========================================================================== */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section--etain { background: var(--qvrsv-etain-clair); }
.section--denim { background: linear-gradient(135deg, var(--qvrsv-denim), var(--qvrsv-azur)); color: #fff; }
.section--denim h2, .section--denim h3 { color: #fff; }
.eyebrow { font-weight: 700; font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--qvrsv-azur); margin: 0 0 14px; }
.section--denim .eyebrow { color: #bfe0ff; }
.h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; }
.h2 { font-size: clamp(29px, 3.5vw, 44px); font-weight: 800; }
.lead { font-size: clamp(18px, 2.1vw, 23px); font-weight: 500; color: var(--qvrsv-texte-sec); margin-top: 14px; }
.section--denim .lead { color: rgba(255,255,255,0.92); }
.center { text-align: center; }
.center .section-head { max-width: 780px; margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(28px, 3.4vw, 44px); }

/* ===========================================================================
   HERO
   =========================================================================== */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--qvrsv-denim); padding: clamp(72px, 12vw, 150px) 0 clamp(52px, 8vw, 96px); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,44,0.45) 0%, rgba(6,20,44,0.68) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(32px, 5.6vw, 62px); font-weight: 800; max-width: 20ch; margin: 0 auto 22px; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero p.lead { color: rgba(255,255,255,0.95); max-width: 60ch; margin: 0 auto 30px; }
.hero .cta-row { justify-content: center; }

/* ===========================================================================
   3 PORTES D'ENTREE
   =========================================================================== */
.portes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.porte {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--qvrsv-etain); border-radius: var(--qvrsv-radius);
	overflow: hidden; box-shadow: var(--qvrsv-shadow);
	transition: transform var(--qvrsv-transition), box-shadow var(--qvrsv-transition);
}
.porte:hover { transform: translateY(-6px); box-shadow: var(--qvrsv-shadow-lg); }
.porte-top { padding: 30px 30px 0; }
.porte-ico { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.porte-ico svg { width: 30px; height: 30px; color: #fff; }
.porte-ico--parking { background: linear-gradient(135deg, var(--qvrsv-terracotta), #ff7d4d); }
.porte-ico--collectivite { background: linear-gradient(135deg, var(--qvrsv-denim), var(--qvrsv-azur)); }
.porte-ico--paysagiste { background: linear-gradient(135deg, var(--qvrsv-vert-fonce), var(--qvrsv-vert)); }
.porte h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.porte-kicker { font-weight: 700; color: var(--qvrsv-azur); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.porte-body { padding: 4px 30px 8px; flex: 1; }
.porte-body p { color: var(--qvrsv-texte-sec); margin: 0 0 16px; }
.porte-body ul { margin: 0 0 8px; padding: 0; list-style: none; }
.porte-body li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--qvrsv-texte); font-size: 15.5px; }
.porte-body li::before { content: ''; position: absolute; left: 0; top: 7px; width: 15px; height: 8px; border-left: 2.5px solid var(--qvrsv-vert-fonce); border-bottom: 2.5px solid var(--qvrsv-vert-fonce); transform: rotate(-45deg); }
.porte-foot { padding: 8px 30px 30px; }
.porte-foot .btn { width: 100%; }

/* ===========================================================================
   CARTES / GRILLES GENERIQUES
   =========================================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--qvrsv-etain); border-radius: var(--qvrsv-radius); padding: 30px; box-shadow: var(--qvrsv-shadow); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { margin: 0; color: var(--qvrsv-texte-sec); font-size: 16px; }

/* stat / compteur */
.stat { text-align: center; }
.stat-num { font-family: var(--qvrsv-font-titre); font-weight: 800; font-size: clamp(34px, 4vw, 46px); color: var(--qvrsv-vert-fonce); line-height: 1.05; }
.section--denim .stat-num { color: var(--qvrsv-vert); }
.stat-lbl { font-weight: 700; color: var(--qvrsv-denim); margin: 6px 0 6px; font-size: 16px; }
.section--denim .stat-lbl { color: #fff; }
.stat p { margin: 0; font-size: 15px; color: var(--qvrsv-texte-sec); }
.section--denim .stat p { color: rgba(255,255,255,0.85); }

/* bloc APER en avant */
.aper {
	background: #fff; border: 1px solid var(--qvrsv-etain);
	border-left: 6px solid var(--qvrsv-terracotta);
	border-radius: var(--qvrsv-radius); padding: clamp(28px, 4vw, 44px);
	box-shadow: var(--qvrsv-shadow);
}
.aper h3 { color: var(--qvrsv-terracotta); font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.aper .grid-3 { margin-top: 26px; }
.aper .card { border-top: 4px solid var(--qvrsv-terracotta); }
.aper .card .big { font-family: var(--qvrsv-font-titre); font-weight: 800; font-size: 30px; color: var(--qvrsv-terracotta); }

/* etapes numerotees */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--qvrsv-etain); border-radius: var(--qvrsv-radius-sm); padding: 22px 26px; box-shadow: var(--qvrsv-shadow); }
.step::before { counter-increment: step; content: counter(step); flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--qvrsv-vert-cta); color: #062b10; font-family: var(--qvrsv-font-titre); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.step h4 { font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--qvrsv-texte-sec); font-size: 15.5px; }

/* preuve : etudes digitales en ligne */
.preuves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.preuve { display: block; background: #fff; border: 1px solid var(--qvrsv-etain); border-radius: var(--qvrsv-radius); overflow: hidden; box-shadow: var(--qvrsv-shadow); transition: transform var(--qvrsv-transition), box-shadow var(--qvrsv-transition); }
.preuve:hover { transform: translateY(-4px); box-shadow: var(--qvrsv-shadow-lg); }
.preuve-band { height: 92px; background: linear-gradient(135deg, var(--qvrsv-denim), var(--qvrsv-azur)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--qvrsv-font-titre); font-weight: 800; letter-spacing: 0.04em; }
.preuve-body { padding: 22px 24px; }
.preuve-body h4 { font-size: 18px; margin-bottom: 6px; }
.preuve-body p { margin: 0 0 12px; color: var(--qvrsv-texte-sec); font-size: 15px; }
.preuve-link { color: var(--qvrsv-azur); font-weight: 700; font-size: 15px; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--qvrsv-etain); border-radius: var(--qvrsv-radius-sm); background: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: var(--qvrsv-shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 26px; font-family: var(--qvrsv-font-titre); font-weight: 700; font-size: 17px; color: var(--qvrsv-denim); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq-q::after { content: ''; width: 13px; height: 13px; flex: none; border-right: 2.5px solid var(--qvrsv-azur); border-bottom: 2.5px solid var(--qvrsv-azur); transform: rotate(45deg); transition: transform var(--qvrsv-transition); margin-top: -4px; }
.faq-item.is-open .faq-q::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--qvrsv-texte-sec); font-size: 16.5px; }
.faq-a-inner p { margin: 0 0 10px; }

/* trou signale : donnee manquante a fournir par Swann */
.trou {
	background: #FFF3C4; border: 1px dashed #E0B400; color: #6a5100;
	border-radius: 10px; padding: 3px 10px; font-weight: 600; font-size: 0.92em;
	display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.trou-bloc { display: block; background: #FFF9E3; border: 1px dashed #E0B400; color: #6a5100; border-radius: 12px; padding: 16px 20px; margin: 14px 0; font-size: 15px; }
.trou-bloc b { color: #7a5b00; }

/* ruban / ecosysteme */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--qvrsv-etain); border-radius: 40px; padding: 9px 18px; font-weight: 600; font-size: 14.5px; color: var(--qvrsv-denim); box-shadow: var(--qvrsv-shadow); }

/* bandeau CTA final */
.cta-final { text-align: center; }
.cta-final h2 { color: #fff; margin-bottom: 12px; }
.cta-final p { color: rgba(255,255,255,0.92); max-width: 60ch; margin: 0 auto 26px; }
.cta-final .cta-row { justify-content: center; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.foot { background: #0b1f3a; color: rgba(255,255,255,0.82); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot h4 { color: #fff; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.foot a { display: block; color: rgba(255,255,255,0.78); padding: 5px 0; font-size: 15px; }
.foot a:hover { color: #fff; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-family: var(--qvrsv-font-titre); font-weight: 800; color: #fff; font-size: 18px; margin-bottom: 12px; }
.foot-logo .logo-chip { display: inline-flex; align-items: center; background: #fff;
	border-radius: 12px; padding: 8px 14px; }
.foot-logo .logo-img { height: 30px; width: auto; display: block; }
.foot-note { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 40ch; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 40px; padding-top: 22px; font-size: 13.5px; color: rgba(255,255,255,0.55); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ===========================================================================
   REVEAL AU SCROLL
   =========================================================================== */
/* Progressive enhancement : le contenu reste visible sans JS. La classe .pre
   n'est posee QUE par site.js juste avant l'observation, donc si le JS ne
   tourne pas, rien n'est jamais masque. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.pre { opacity: 0; transform: translateY(22px); }
.reveal.pre.is-visible { opacity: 1; transform: none; }

/* ébauche : bandeau discret sur les pages secondaires non finalisees */
.ebauche { background: #eef4ff; border: 1px solid #cfe0ff; color: var(--qvrsv-denim); border-radius: 12px; padding: 12px 18px; font-size: 14.5px; font-weight: 600; margin-bottom: 26px; }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width: 980px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.portes, .grid-3, .preuves { grid-template-columns: 1fr; }
	.grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.grid-4 { grid-template-columns: 1fr 1fr; }
	.foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
	.reveal { opacity: 1; transform: none; }
}
