/* ==========================================================================
   CELESTA - TUNNEL DE DEVIS  (kit .cvq-)
   Zero border-radius, bleu de production, boutons a 47px comme tout le site.
   Aucun filet d accent colore sur un seul bord : les cartes se distinguent
   par leur FOND et leur bordure complete.
   ========================================================================== */

.cvq {
	--cvq-bleu: #0C67DE;
	--cvq-ciel: #56B5EB;
	--cvq-nuit: #070C3D;
	--cvq-encre: #00021E;
	--cvq-clair: #DCDDEF;
	--cvq-trait: rgba(86, 181, 235, 0.24);
	color: var(--cvq-clair);
}

.cvq-form { margin: 0; }

/* ---------- les jalons ---------- */
.cvq-jalons {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.cvq-jalon {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: rgba(12, 103, 222, 0.07);
	border: 1px solid rgba(86, 181, 235, 0.16);
	opacity: 0.55;
	transition: opacity 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.cvq-jalon.est-actif,
.cvq-jalon.est-fait { opacity: 1; }
.cvq-jalon.est-actif {
	background: rgba(12, 103, 222, 0.18);
	border-color: var(--cvq-ciel);
}
.cvq-jalon__n {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
}
.cvq-jalon.est-actif .cvq-jalon__n { background: linear-gradient(90deg, #0C67DE, #56B5EB); border-color: transparent; }
.cvq-jalon.est-fait .cvq-jalon__n { background: rgba(86, 181, 235, 0.32); }
.cvq-jalon__lab { font-size: 14px; line-height: 1.3; }

.cvq-compteur {
	margin: 0 0 22px;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cvq-ciel);
}

/* ---------- les etapes ---------- */
.cvq-etape {
	margin: 0;
	padding: 0;
	border: 0;
}
.cvq-etape[hidden] { display: none; }
.cvq-legende {
	margin: 0 0 16px;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	color: #FFFFFF;
}
.cvq-sous {
	margin: 26px 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: #FFFFFF;
}
.cvq-aide {
	font-size: 13px;
	font-weight: 400;
	color: rgba(220, 221, 239, 0.66);
}
.cvq-obl { color: var(--cvq-ciel); }

/* ---------- les cartes de profil ---------- */
.cvq-cartes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
}
.cvq-carte__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.cvq-carte {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 15px 16px;
	background: rgba(12, 103, 222, 0.07);
	border: 1px solid var(--cvq-trait);
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.cvq-carte:hover { background: rgba(12, 103, 222, 0.16); border-color: rgba(86, 181, 235, 0.5); }
.cvq-carte__radio:checked + .cvq-carte {
	background: rgba(12, 103, 222, 0.26);
	border-color: var(--cvq-ciel);
}
.cvq-carte__radio:focus-visible + .cvq-carte { outline: 2px solid var(--cvq-ciel); outline-offset: 2px; }
.cvq-carte__t { font-size: 15px; font-weight: 700; color: #FFFFFF; }
.cvq-carte__a { font-size: 13px; color: rgba(220, 221, 239, 0.7); }

/* ---------- les cases de discipline ---------- */
.cvq-cases { display: flex; flex-wrap: wrap; gap: 10px; }
.cvq-case__box {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}
.cvq-case {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	font-size: 14px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--cvq-trait);
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.cvq-case:hover { background: rgba(255, 255, 255, 0.10); }
.cvq-case__box:checked + .cvq-case {
	background: rgba(12, 103, 222, 0.30);
	border-color: var(--cvq-ciel);
	color: #FFFFFF;
}
.cvq-case__box:focus-visible + .cvq-case { outline: 2px solid var(--cvq-ciel); outline-offset: 2px; }

/* ---------- les champs ---------- */
.cvq-grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px 18px;
	margin-top: 22px;
}
.cvq-champ { margin: 0; display: flex; flex-direction: column; gap: 7px; position: relative; }
.cvq-champ--large { grid-column: 1 / -1; margin-top: 22px; }
.cvq-champ label { font-size: 14px; font-weight: 600; color: #FFFFFF; }
.cvq-champ input[type="text"],
.cvq-champ input[type="email"],
.cvq-champ input[type="tel"],
.cvq-champ input[type="date"],
.cvq-champ select,
.cvq-champ textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	color: #FFFFFF;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--cvq-trait);
	border-radius: 0;
	transition: border-color 0.3s ease, background 0.3s ease;
}
.cvq-champ textarea { resize: vertical; min-height: 96px; }
.cvq-champ select option { color: #0B0F30; background: #FFFFFF; }
.cvq-champ input:focus,
.cvq-champ select:focus,
.cvq-champ textarea:focus {
	outline: none;
	border-color: var(--cvq-ciel);
	background: rgba(255, 255, 255, 0.10);
}
.cvq-champ input.est-fautif,
.cvq-champ select.est-fautif,
.cvq-champ textarea.est-fautif { border-color: #FF6B6B; }

.cvq-reste {
	position: absolute;
	right: 2px;
	bottom: -19px;
	font-size: 12px;
	color: rgba(220, 221, 239, 0.55);
}

.cvq-fichier input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--cvq-clair);
	background: rgba(255, 255, 255, 0.06);
	border: 1px dashed rgba(86, 181, 235, 0.42);
	cursor: pointer;
}

.cvq-budget { margin-top: 22px; }
.cvq-budget[hidden] { display: none; }
.cvq-note {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(220, 221, 239, 0.7);
}

.cvq-optin {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 26px;
}
.cvq-optin input { margin-top: 4px; flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--cvq-bleu); }
.cvq-optin label { font-size: 13px; line-height: 1.65; color: rgba(220, 221, 239, 0.82); }
.cvq-optin a { color: var(--cvq-ciel); }

/* ---------- navigation ---------- */
.cvq-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 30px;
}
.cvq-bouton {
	box-sizing: border-box;
	min-height: 47px;
	padding: 0 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #FFFFFF;
	background: linear-gradient(90deg, #0C67DE 0%, #56B5EB 100%);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: filter 0.3s ease, opacity 0.3s ease;
}
.cvq-bouton:hover { filter: brightness(1.12); }
.cvq-bouton:focus-visible { outline: 2px solid var(--cvq-ciel); outline-offset: 3px; }
.cvq-bouton[hidden] { display: none; }
.cvq-bouton[disabled] { opacity: 0.5; cursor: default; }
.cvq-bouton--fant {
	background: transparent;
	border: 1px solid rgba(86, 181, 235, 0.45);
	color: var(--cvq-clair);
	margin-right: auto;
}
.cvq-bouton--fant:hover { background: rgba(12, 103, 222, 0.16); }

.cvq-erreur {
	margin: 18px 0 0;
	padding: 13px 16px;
	font-size: 14px;
	line-height: 1.6;
	color: #FFD9D9;
	background: rgba(255, 107, 107, 0.12);
	border: 1px solid rgba(255, 107, 107, 0.42);
}
.cvq-erreur[hidden] { display: none; }

.cvq-fin { padding: 8px 0; }
.cvq-fin[hidden] { display: none; }
.cvq-fin__t { margin: 0 0 10px; font-size: 22px; font-weight: 700; color: #FFFFFF; }
.cvq-fin__x { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(220, 221, 239, 0.85); }

.cvq-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   LA FENETRE MODALE
   ========================================================================== */
dialog.cvq-modale {
	width: min(880px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	color: var(--cvq-clair, #DCDDEF);
	background: #070C3D;
	border: 1px solid rgba(86, 181, 235, 0.3);
	border-radius: 0;
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
	overflow: clip;
}
dialog.cvq-modale::backdrop {
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.cvq-modale__boite {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	padding: 38px 40px 0;
	overflow-y: auto;
}
.cvq-modale__fermer {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: var(--cvq-clair, #DCDDEF);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(86, 181, 235, 0.3);
	border-radius: 0;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
}
.cvq-modale__fermer:hover { background: rgba(12, 103, 222, 0.3); color: #FFFFFF; }
.cvq-modale__fermer:focus-visible { outline: 2px solid #56B5EB; outline-offset: 2px; }
.cvq-modale__fermer svg { width: 17px; height: 17px; }
.cvq-modale__sur {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #56B5EB;
}
.cvq-modale__chapo {
	margin: 0 0 26px;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(220, 221, 239, 0.82);
}

body.cvq-fige { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 780px) {
	.cvq-jalons { gap: 6px; }
	.cvq-jalon { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 11px; }
	.cvq-jalon__lab { font-size: 12px; }
	.cvq-modale__boite { padding: 30px 20px 0; }
	.cvq-nav { flex-wrap: wrap; }
	.cvq-bouton { width: 100%; min-height: 44px; }
	.cvq-bouton--fant { margin-right: 0; order: 2; }
}

@media (prefers-reduced-motion: reduce) {
	.cvq-jalon,
	.cvq-carte,
	.cvq-case,
	.cvq-bouton,
	.cvq-champ input,
	.cvq-champ select,
	.cvq-champ textarea { transition: none; }
}

/* ---------- la barre de navigation reste VISIBLE dans la modale ----------
   Mesure du 27/08 : modale de 745px pour une fenetre de 791px, le bouton
   Suivant tombait sous la ligne de flottaison et le tunnel paraissait bloque.
   Le sticky s appuie sur .cvq-modale__boite, seul ancetre defilant : c est
   pour cela que dialog passe en overflow clip et non hidden. */
.cvq-modale__boite { scrollbar-color: rgba(86, 181, 235, 0.45) rgba(0, 2, 30, 0.6); scrollbar-width: thin; }
.cvq-modale__boite::-webkit-scrollbar { width: 10px; }
.cvq-modale__boite::-webkit-scrollbar-track { background: rgba(0, 2, 30, 0.6); }
.cvq-modale__boite::-webkit-scrollbar-thumb { background: rgba(86, 181, 235, 0.45); }
.cvq-modale__boite::-webkit-scrollbar-thumb:hover { background: rgba(86, 181, 235, 0.7); }

.cvq-modale .cvq-nav {
	position: sticky;
	bottom: 0;
	z-index: 3;
	margin-top: 30px;
	padding: 18px 0 34px;
	background: #070C3D;
	box-shadow: none;
}
.cvq-modale .cvq-erreur { position: relative; z-index: 3; }
.cvq-modale .cvq-fin { padding-bottom: 40px; }

/* le dialog devient la colonne qui contraint : sans cela la boite prenait sa
   propre hauteur et depassait la fenetre de 37px, rognant le bas de la nav.
   Le [open] est indispensable : sans lui, display flex rendrait la modale
   visible en permanence. */
dialog.cvq-modale[open] { display: flex; flex-direction: column; }

/* ==========================================================================
   RAFFINEMENT (client, 27/08) - « je souhaite un formulaire plus raffiné »
   Le parti : moins de caissons, des traits plus fins, une hierarchie qui
   respire. Les jalons deviennent une FRISE et non trois boites ; les cartes
   perdent leur cadre lourd au profit du fond et d une coche ; les champs
   s allegent. Zero rayon, aucun filet d accent sur un seul bord.
   ========================================================================== */

/* ---------- 1. la frise d etapes remplace les trois caissons ---------- */
.cvq-jalons {
	gap: 0;
	margin: 0 0 34px;
	counter-reset: none;
}
.cvq-jalon {
	position: relative;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
	padding: 0 16px 0 0;
	background: none;
	border: 0;
	opacity: 1;
}
/* le filet de liaison, tire du numero jusqu au jalon suivant */
.cvq-jalon::before {
	content: "";
	position: absolute;
	top: 13px;
	left: 34px;
	right: 6px;
	height: 1px;
	background: rgba(255, 255, 255, 0.14);
	transition: background 0.45s ease;
}
.cvq-jalon:last-child::before { display: none; }
.cvq-jalon.est-fait::before { background: rgba(86, 181, 235, 0.55); }

.cvq-jalon__n {
	width: 27px;
	height: 27px;
	font-size: 12px;
	font-weight: 700;
	color: rgba(220, 221, 239, 0.5);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.cvq-jalon.est-actif .cvq-jalon__n {
	color: #FFFFFF;
	background: linear-gradient(90deg, #0C67DE, #56B5EB);
	border-color: transparent;
}
/* etape franchie : le numero cede la place a une coche dessinee */
.cvq-jalon.est-fait .cvq-jalon__n {
	color: transparent;
	background: transparent;
	border-color: rgba(86, 181, 235, 0.6);
}
.cvq-jalon.est-fait .cvq-jalon__n::after {
	content: "";
	position: absolute;
	top: 9px;
	left: 9px;
	width: 6px;
	height: 11px;
	border: solid #56B5EB;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}
.cvq-jalon__lab {
	font-size: 13px;
	line-height: 1.35;
	letter-spacing: 0.02em;
	color: rgba(220, 221, 239, 0.5);
	transition: color 0.35s ease;
}
.cvq-jalon.est-actif .cvq-jalon__lab { color: #FFFFFF; font-weight: 600; }
.cvq-jalon.est-fait .cvq-jalon__lab { color: rgba(220, 221, 239, 0.78); }

/* le caisson bleu de la regle d origine est plus specifique : on le retire,
   la frise dit deja l etape a l oeil */
.cvq-jalon.est-actif, .cvq-jalon.est-fait { background: none; border: 0; }

/* le compteur reste pour les lecteurs d ecran, la frise le dit deja a l oeil */
.cvq-compteur {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- 2. les intitules prennent la voix des surtitres du site ---------- */
.cvq-legende,
.cvq-sous {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #56B5EB;
}
.cvq-legende { margin-bottom: 18px; }
.cvq-sous { margin: 34px 0 14px; }
.cvq-aide {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(220, 221, 239, 0.5);
}

/* ---------- 3. les cartes : le fond porte la selection, pas le cadre ---------- */
.cvq-cartes { gap: 10px; }
.cvq-carte {
	position: relative;
	gap: 4px;
	padding: 16px 40px 16px 17px;
	background: rgba(255, 255, 255, 0.028);
	border: 1px solid rgba(255, 255, 255, 0.075);
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.cvq-carte:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(86, 181, 235, 0.34);
	transform: translateY(-1px);
}
.cvq-carte__radio:checked + .cvq-carte {
	background: rgba(12, 103, 222, 0.2);
	border-color: rgba(86, 181, 235, 0.62);
}
/* la coche, dessinee : ni image, ni caractere */
.cvq-carte::after {
	content: "";
	position: absolute;
	top: 20px;
	right: 18px;
	width: 6px;
	height: 11px;
	border: solid #56B5EB;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg) scale(0.6);
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.cvq-carte__radio:checked + .cvq-carte::after { opacity: 1; transform: rotate(45deg) scale(1); }
.cvq-carte__t { font-size: 14.5px; font-weight: 600; letter-spacing: 0.005em; }
.cvq-carte__a { font-size: 12.5px; line-height: 1.5; color: rgba(220, 221, 239, 0.52); }

/* ---------- 4. les cases de discipline ---------- */
.cvq-cases { gap: 8px; }
.cvq-case {
	padding: 9px 15px;
	font-size: 13.5px;
	background: rgba(255, 255, 255, 0.028);
	border: 1px solid rgba(255, 255, 255, 0.075);
	color: rgba(220, 221, 239, 0.82);
}
.cvq-case:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(86, 181, 235, 0.34); }
.cvq-case__box:checked + .cvq-case {
	background: rgba(12, 103, 222, 0.24);
	border-color: rgba(86, 181, 235, 0.62);
	color: #FFFFFF;
}

/* ---------- 5. les champs s allegent ---------- */
.cvq-grille { gap: 20px 20px; margin-top: 26px; }
.cvq-champ label {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: rgba(220, 221, 239, 0.78);
}
.cvq-champ input[type="text"],
.cvq-champ input[type="email"],
.cvq-champ input[type="tel"],
.cvq-champ input[type="date"],
.cvq-champ select,
.cvq-champ textarea {
	padding: 12px 14px;
	font-size: 14.5px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}
.cvq-champ input::placeholder,
.cvq-champ textarea::placeholder { color: rgba(220, 221, 239, 0.34); }
.cvq-champ input:hover,
.cvq-champ select:hover,
.cvq-champ textarea:hover { border-color: rgba(255, 255, 255, 0.2); }
.cvq-champ input:focus,
.cvq-champ select:focus,
.cvq-champ textarea:focus {
	background: rgba(255, 255, 255, 0.07);
	border-color: #56B5EB;
	box-shadow: 0 0 0 3px rgba(86, 181, 235, 0.14);
}
.cvq-fichier input[type="file"] {
	padding: 13px 15px;
	font-size: 13px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px dashed rgba(86, 181, 235, 0.3);
	transition: border-color 0.28s ease, background 0.28s ease;
}
.cvq-fichier input[type="file"]:hover { border-color: rgba(86, 181, 235, 0.6); background: rgba(255, 255, 255, 0.05); }

/* ---------- 6. consentement, notes, boutons ---------- */
.cvq-optin { margin-top: 30px; gap: 13px; }
.cvq-optin label { font-size: 12.5px; line-height: 1.7; color: rgba(220, 221, 239, 0.72); }
.cvq-optin a { color: #56B5EB; text-underline-offset: 3px; }
.cvq-note { font-size: 12.5px; color: rgba(220, 221, 239, 0.55); }
.cvq-reste { font-size: 11.5px; color: rgba(220, 221, 239, 0.42); }

.cvq-bouton {
	padding: 0 30px;
	font-size: 13px;
	letter-spacing: 0.1em;
}
.cvq-bouton--fant {
	border-color: rgba(255, 255, 255, 0.18);
	color: rgba(220, 221, 239, 0.82);
}
.cvq-bouton--fant:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(86, 181, 235, 0.5);
	color: #FFFFFF;
}

/* ---------- 7. l en-tete de la fenetre ---------- */
dialog.cvq-modale { border-color: rgba(86, 181, 235, 0.2); }
.cvq-modale__sur {
	margin-bottom: 10px;
	font-size: 12px;
	letter-spacing: 0.2em;
}
.cvq-modale__chapo {
	margin-bottom: 32px;
	padding-bottom: 26px;
	font-size: 14.5px;
	line-height: 1.75;
	color: rgba(220, 221, 239, 0.7);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cvq-modale__fermer {
	width: 38px;
	height: 38px;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.14);
}
.cvq-modale__fermer:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(86, 181, 235, 0.5); }

/* ---------- 8. le message de fin ---------- */
.cvq-fin__t { font-size: 21px; letter-spacing: -0.01em; }
.cvq-fin__x { font-size: 14.5px; color: rgba(220, 221, 239, 0.75); }

/* ---------- 9. mobile : la frise reste lisible ---------- */
@media (max-width: 780px) {
	.cvq-jalon { padding-right: 10px; gap: 9px; }
	.cvq-jalon::before { left: 32px; right: 4px; }
	.cvq-jalon__lab { font-size: 11.5px; }
	.cvq-carte { padding: 14px 36px 14px 15px; }
	.cvq-modale__chapo { margin-bottom: 26px; padding-bottom: 22px; }
}

/* un fondu franc au-dessus de la barre : l ombre hachait le texte qui passe
   dessous au lieu de le faire disparaitre proprement */
.cvq-modale .cvq-nav::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 38px;
	background: linear-gradient(180deg, rgba(7, 12, 61, 0) 0%, rgba(7, 12, 61, 0.82) 58%, #070C3D 100%);
	pointer-events: none;
}

/* la case de consentement : le carre plein du navigateur jurait avec le reste */
.cvq-optin input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 3px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 0;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease;
}
.cvq-optin input[type="checkbox"]:hover { border-color: rgba(86, 181, 235, 0.55); }
.cvq-optin input[type="checkbox"]:checked { background: rgba(12, 103, 222, 0.34); border-color: #56B5EB; }
.cvq-optin input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 5px;
	width: 4px;
	height: 9px;
	border: solid #56B5EB;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}
.cvq-optin input[type="checkbox"]:focus-visible { outline: 2px solid #56B5EB; outline-offset: 2px; }

/* date ou fenetre : le champ ecarte reste lisible mais visiblement inactif */
.cvq-champ.est-neutralise label { opacity: 0.4; }
.cvq-champ.est-neutralise input,
.cvq-champ.est-neutralise select {
	opacity: 0.34;
	cursor: not-allowed;
	background: rgba(255, 255, 255, 0.015);
	border-color: rgba(255, 255, 255, 0.07);
}
.cvq-champ.est-neutralise input:hover,
.cvq-champ.est-neutralise select:hover { border-color: rgba(255, 255, 255, 0.07); }

/* une discipline ecartee reste lisible mais visiblement inactive */
.cvq-case.est-neutralise {
	opacity: 0.3;
	cursor: not-allowed;
	background: rgba(255, 255, 255, 0.015);
	border-color: rgba(255, 255, 255, 0.06);
}
.cvq-case.est-neutralise:hover { background: rgba(255, 255, 255, 0.015); border-color: rgba(255, 255, 255, 0.06); }

