/* Page /tarif : grilles de saisie des prix. */

.acd-t { max-width: 1000px; }
.acd-t-rubrique { border-top: 3px solid var(--wp--preset--color--azur); margin-block: 1.5rem; padding-top: 0.5rem; }
.acd-t-rubrique > summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--titre);
	font-stretch: 125%;
	text-transform: uppercase;
	font-size: 1.3rem;
	color: var(--wp--preset--color--azur);
	padding-block: 0.4rem;
}
.acd-t-groupe { border: 0; background: var(--wp--preset--color--ciel); padding: 1rem; margin: 1rem 0; }
.acd-t-groupe legend { float: left; width: 100%; padding: 0; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.acd-t-groupe legend + * { clear: both; }
.acd .acd-t .acd-t-titre, .acd-t input.acd-t-titre { font-weight: 700; max-width: 26rem; }
.acd-t-code { font-weight: 700; color: var(--wp--preset--color--rose); white-space: nowrap; }

.acd-t-ligne { display: grid; gap: 0.4rem; align-items: center; margin-bottom: 0.4rem; }
.acd-t-table[data-type="table"] .acd-t-ligne { grid-template-columns: 3fr 3fr 6rem 7rem 2rem; }
.acd-t-table[data-type="aeronefs"] .acd-t-ligne { grid-template-columns: 2.4fr 3.2rem 3fr 4.2rem 5.5rem 6rem 2rem; }
.acd-t-table[data-type="passeports"] .acd-t-ligne { grid-template-columns: 2fr 4.5rem 4fr 6rem 2rem; }
.acd-t-entete span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wp--preset--color--acier); }
.acd-t .acd-t-ligne input { padding: 0.45rem 0.55rem; }
.acd-t .acd-t-ligne input[class*="acd-t-montant"] { text-align: right; font-weight: 700; color: var(--wp--preset--color--azur); }
.acd-t-suppr { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--wp--preset--color--acier); cursor: pointer; }
.acd-t-suppr:hover { color: var(--wp--preset--color--rose); }
.acd-t-prix-seul input { max-width: 8rem; text-align: right; font-weight: 700; margin-left: 0.6rem; }
.acd-t-prix-seul label { display: flex; align-items: center; }

.acd-t-envoi {
	position: sticky;
	bottom: 0;
	z-index: 5;
	background: var(--wp--preset--color--blanc);
	padding: 0.8rem 0;
	border-top: 1px solid #d5dfe9;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

/* Sur mobile : champs empilés, l'entête cède la place aux textes d'aide dans les cases. */
@media (max-width: 760px) {
	.acd-t-entete { display: none; }
	.acd-t-table .acd-t-ligne { grid-template-columns: 1fr 1fr !important; background: var(--wp--preset--color--blanc); padding: 0.5rem; }
	.acd-t-ligne input.acd-t-libelle, .acd-t-ligne input.acd-t-texte, .acd-t-ligne input.acd-t-usage { grid-column: 1 / -1; }
}

