/* ==========================================================================
   Drôme Chasse & Tir — page « Demande de devis »
   (s'appuie sur contact.css : bandeau, cartes, champs, bouton)
   ========================================================================== */

/* Bandeau : un peu plus haut pour laisser les étapes le chevaucher */
.dct-quote-head { padding-bottom: 74px; }

/* Étapes */
.dct-qsteps {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: -44px 0 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--dct-border);
	border-radius: var(--dct-radius);
	background: #fff;
	box-shadow: 0 10px 30px rgba(0,0,0,.08);
	counter-reset: none;
}
.dct-qsteps__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 20px 24px;
}
.dct-qsteps__item + .dct-qsteps__item { border-left: 1px solid var(--dct-border); }
.dct-qsteps__num {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--dct-header);
	font-size: 16px;
	font-weight: 900;
	color: var(--dct-green-hi);
}
.dct-qsteps__item:last-child .dct-qsteps__num { background: var(--dct-green); color: #10140E; }
.dct-qsteps__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.4; }
.dct-qsteps__txt strong { font-size: 15px; font-weight: 800; color: var(--dct-text); }
.dct-qsteps__txt small { font-size: 13px; color: var(--dct-muted); }

/* Mise en page : formulaire à gauche, informations à droite */
.dct-quote { grid-template-columns: minmax(0, 1fr) 340px; padding-top: 32px; }

/* Sections du formulaire */
.dct-qsec { min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
.dct-qsec + .dct-qsec { padding-top: 24px; border-top: 1px dashed var(--dct-border); }
.dct-qsec__title {
	float: left; /* légende hors bordure : espacements identiques dans toutes les sections */
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--dct-text);
}
.dct-qsec__title > span {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(140,179,63,.16);
	font-size: 13px;
	color: #5E7A22;
}
.dct-qsec__title + * { clear: both; }
.dct-qsec__title small { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--dct-muted); }
.dct-qsec > .dct-field + .dct-field,
.dct-qsec > .dct-field + .dct-qrow,
.dct-qsec > .dct-qrow + .dct-field { margin-top: 16px; }

.dct-qrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }

/* Choix (type de demande, réception) — neutralise les styles des libellés de champ */
.dct-field.dct-qchoice label { margin: 0; font-size: inherit; color: inherit; }
.dct-field.dct-qchoice label span { color: inherit; }
.dct-qchoice__label { margin: 0 0 8px; padding: 0; font-size: 13px; font-weight: 700; color: var(--dct-text); }
.dct-qtypes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dct-qtype,
.dct-qpill { position: relative; display: block; margin: 0; cursor: pointer; }
.dct-qtype input,
.dct-qpill input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.dct-qtype__box {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	border: 1px solid #D5D8CF;
	border-radius: var(--dct-radius);
	background: #FAFAF7;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--dct-text);
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.dct-field.dct-qchoice .dct-qtype__ico {
	display: grid;
	place-items: center;
	flex: 0 0 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: #5E7A22;
	transition: background .15s, color .15s;
}
.dct-qtype__ico .dct-ico { width: 20px; height: 20px; }
.dct-qtype:hover .dct-qtype__box { border-color: var(--dct-green); }
.dct-qtype input:checked + .dct-qtype__box {
	border-color: var(--dct-green);
	background: rgba(140,179,63,.10);
	box-shadow: inset 0 0 0 1px var(--dct-green);
}
.dct-field.dct-qchoice .dct-qtype input:checked + .dct-qtype__box .dct-qtype__ico { background: var(--dct-green); color: #10140E; }
.dct-qtype input:focus-visible + .dct-qtype__box,
.dct-qpill input:focus-visible + span { outline: 2px solid var(--dct-text); outline-offset: 2px; }
.dct-field.is-invalid .dct-qtype__box { border-color: #C0533E; }

.dct-qpills { display: flex; flex-wrap: wrap; gap: 10px; }
.dct-qpill span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid #D5D8CF;
	border-radius: 999px;
	background: #FAFAF7;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--dct-text);
	transition: border-color .15s, background .15s;
}
.dct-field.dct-qchoice .dct-qpill .dct-ico { width: 17px; height: 17px; color: #5E7A22; }
.dct-qpill:hover span { border-color: var(--dct-green); }
.dct-qpill input:checked + span { border-color: var(--dct-green); background: rgba(140,179,63,.14); box-shadow: inset 0 0 0 1px var(--dct-green); }

/* Envoi */
.dct-qsubmit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.dct-qsubmit .dct-cform__submit { margin-top: 22px; }
.dct-qsubmit__note { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-size: 13px; color: var(--dct-muted); }
.dct-qsubmit__note .dct-ico { width: 16px; height: 16px; color: #5E7A22; }

/* Colonne d'informations */
.dct-qcard {
	padding: 20px 20px 16px;
	border: 1px solid var(--dct-border);
	border-radius: var(--dct-radius);
	background: #fff;
	box-shadow: var(--dct-shadow);
}
.dct-qcard__title { margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35; color: var(--dct-text); }
.dct-qcard__list { margin: 0; padding: 0; list-style: none; }
.dct-qcard__list li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 6px 0; font-size: 13.5px; line-height: 1.45; color: #4A5046; }
.dct-qcard__list .dct-ico { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; color: var(--dct-green); stroke-width: 2.4; }
.dct-qcard--note { display: flex; gap: 14px; border-color: #E6DDBF; background: #FBF8EE; box-shadow: none; }
.dct-qcard--note .dct-qcard__title { font-size: 13px; text-transform: none; letter-spacing: 0; }
.dct-qcard--note p { margin: 0; padding: 0; font-size: 13px; line-height: 1.55; color: #5C5641; }
.dct-qcard__ico {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(196,154,48,.16);
	color: #9A7414;
}
.dct-qcard__ico .dct-ico { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 1100px) {
	.dct-qtypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.dct-quote { grid-template-columns: 1fr; padding-top: 24px; }
	.dct-qsteps { grid-template-columns: 1fr; }
	.dct-qsteps__item { padding: 14px 18px; }
	.dct-qsteps__item + .dct-qsteps__item { border-left: 0; border-top: 1px solid var(--dct-border); }
}

@media (max-width: 640px) {
	.dct-quote-head { padding-bottom: 62px; }
	.dct-qsteps { margin-top: -38px; }
	.dct-qrow { grid-template-columns: 1fr; gap: 14px; }
	.dct-qtype__box { padding: 11px 10px; gap: 9px; font-size: 13px; }
	.dct-qtype__ico { flex-basis: 30px; height: 30px; }
	.dct-qtype__ico .dct-ico { width: 17px; height: 17px; }
	.dct-qsubmit { flex-direction: column; align-items: stretch; gap: 10px; }
	.dct-qsubmit__note { justify-content: center; margin-top: 0; }
}

@media (max-width: 360px) {
	.dct-qtypes { grid-template-columns: 1fr; }
}
