/*
 * Moulin de Latreille : formulaire de contact, modèle A « tout sur un écran » (choisi par Vincent le 08/11/2026 ;
 * maquettes A et B gardées pour d'autres sites : savoir web/formulaires-modeles.md).
 * Séjour à gauche (tuiles à icône, nombre de personnes en barre, dates, souplesse), coordonnées à droite ; une seule
 * colonne sur téléphone. Sans cadre, à l'échelle du site. Chargé après formulaire.css (copie du moteur debergh.immo).
 */
.db-form.mdl-a { max-width: 1040px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; font-size: 17px; --db-trait-case: #DADADA; }
.mdl-a .mdl-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mdl-a .db-progression { display: none; }
.mdl-a .mdl-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .mdl-a .mdl-colonnes { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.mdl-a .mdl-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mdl-a .mdl-col > .db-champ, .mdl-a .mdl-col > .db-ligne { margin: 0; }
.mdl-a .mdl-titre { margin: 0; font-size: 26px; line-height: 1.2; color: #262626; }
.mdl-a .db-champ > label, .mdl-a .db-libelle { margin: 0 0 8px; font-size: 16px; font-weight: 400; color: #555; }
.mdl-a .mdl-sous { margin: 0 0 -10px; }

/* Champs */
.mdl-a input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), .mdl-a textarea { min-height: 52px; padding: 0 14px; border-color: #DADADA; border-radius: 6px; font-size: 18px; }
.mdl-a textarea { padding: 12px 14px; min-height: 104px; }
.db-form.mdl-a input[type="date"] { display: block; width: 100%; box-sizing: border-box; min-height: 56px; padding: 0 14px; border: 1px solid #DADADA; border-radius: 6px; background: #fff; font: inherit; font-size: 18px; color: #262626; -webkit-appearance: none; appearance: none; }
.db-form.mdl-a input[type="date"]:focus { outline: none; border-color: #008776; box-shadow: 0 0 0 3px rgba(0, 135, 118, .16); }
.db-form.mdl-a input[type="date"]::-webkit-calendar-picker-indicator { width: 22px; height: 22px; padding: 0; opacity: 1; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23008776' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat center / 22px 22px; }
.mdl-a .db-ligne { gap: 12px; }

/* Tuiles du projet : deux par ligne, icône au trait, pas de rond de choix */
.mdl-a .mdl-tuiles .wpcf7-radio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.mdl-a .mdl-tuiles .wpcf7-list-item-label { min-height: 64px; padding: 12px 16px; gap: 12px; border-radius: 6px; font-size: 18px; font-weight: 400; }
.mdl-a .mdl-tuiles .wpcf7-list-item-label::before { display: none; }
.mdl-a .mdl-tuiles .db-picto { width: 26px; height: 26px; color: #008776; stroke-width: 1.6; }
.mdl-a .mdl-tuiles input:checked + .wpcf7-list-item-label { background: #E6F3F1; border-color: #008776; box-shadow: inset 0 0 0 1px #008776; color: #004F45; font-weight: 400; }
/* Le moteur passe les choix à icône en petites tuiles verticales sur 5 colonnes (!important) : ici, tuiles horizontales 2 × 2. */
.db-form.mdl-a .mdl-tuiles .wpcf7-radio:has(.db-avec-ico) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
.db-form.mdl-a .mdl-tuiles .db-avec-ico .wpcf7-list-item-label { flex-direction: row !important; justify-content: flex-start !important; align-items: center !important; gap: 12px !important; min-height: 64px !important; padding: 12px 16px !important; text-align: left !important; font-size: 18px !important; line-height: 1.3 !important; }
@media (max-width: 600px) { .db-form.mdl-a .mdl-tuiles .wpcf7-radio:has(.db-avec-ico) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 420px) { .db-form.mdl-a .mdl-tuiles .wpcf7-radio:has(.db-avec-ico) { grid-template-columns: minmax(0, 1fr) !important; } }

/* Nombre de personnes : barre de cinq choix */
.mdl-a .mdl-segments .wpcf7-checkbox { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid #DADADA; border-radius: 6px; overflow: hidden; }
.mdl-a .mdl-segments .wpcf7-list-item-label { justify-content: center; min-height: 48px; padding: 6px 4px; border: 0; border-right: 1px solid #DADADA; border-radius: 0; font-size: 17px; font-weight: 400; }
.mdl-a .mdl-segments .wpcf7-list-item:last-child .wpcf7-list-item-label { border-right: 0; }
.mdl-a .mdl-segments .wpcf7-list-item-label::before { display: none; }
.mdl-a .mdl-segments input:checked + .wpcf7-list-item-label { background: #008776; color: #fff; box-shadow: none; font-weight: 400; }

/* Souplesse des dates : petites puces */
.mdl-a .mdl-puces .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.mdl-a .mdl-puces .wpcf7-list-item-label { min-height: 36px; padding: 6px 14px; border: 0; border-radius: 6px; background: #F2F2F2; font-size: 16px; font-weight: 400; color: #444; }
.mdl-a .mdl-puces .wpcf7-list-item-label::before { display: none; }
.mdl-a .mdl-puces input:checked + .wpcf7-list-item-label { background: #E6F3F1; color: #004F45; box-shadow: inset 0 0 0 1px #008776; font-weight: 400; }

/* Aide, mention, envoi */
.mdl-a .db-aide { margin: -10px 0 0; font-size: 15px; color: #6B6B6B; }
.mdl-a .db-mention { margin: 0; font-size: 14px; color: #6B6B6B; }
.mdl-a .db-nav { margin: 4px 0 0; padding: 0; border: 0; }
.mdl-a .db-nav .db-precedent, .mdl-a .db-nav .db-suivant { display: none; }
.mdl-a .db-envoi { width: 100%; }
.mdl-a .db-envoi input[type="submit"] { width: 100%; min-height: 58px; border-radius: 6px; font-size: 20px; font-weight: 400; letter-spacing: .02em; }
.mdl-a .db-a-renseigner, .mdl-a .wpcf7-not-valid-tip { font-size: 14px; }
.mdl-a .db-merci h3 { font-size: 30px; }
.mdl-a .db-merci p { max-width: 560px; font-size: 17px; }
.wpcf7 form:has(.mdl-a) > .wpcf7-response-output { max-width: 1040px; font-size: 16px; }

/* Réglages après rendu (08/11/2026) : tuiles de même hauteur, choix bien marqués, lignes de champs resserrées. */
.db-form.mdl-a .mdl-tuiles .wpcf7-list-item, .db-form.mdl-a .mdl-tuiles .wpcf7-list-item label { height: 100%; }
.db-form.mdl-a .mdl-tuiles .wpcf7-list-item-label { height: 100% !important; box-sizing: border-box; }
.db-form.mdl-a .mdl-tuiles .wpcf7-list-item input:checked + .wpcf7-list-item-label { background: #E6F3F1 !important; border-color: #008776 !important; box-shadow: inset 0 0 0 1px #008776 !important; color: #004F45 !important; }
.db-form.mdl-a .mdl-segments .wpcf7-list-item input:checked + .wpcf7-list-item-label { background: #008776 !important; color: #fff !important; box-shadow: none !important; }
.db-form.mdl-a .mdl-segments .wpcf7-list-item input:checked + .wpcf7-list-item-label::after { display: none !important; }
.db-form.mdl-a .mdl-puces .wpcf7-list-item input:checked + .wpcf7-list-item-label { background: #E6F3F1 !important; color: #004F45 !important; box-shadow: inset 0 0 0 1px #008776 !important; }
.db-form.mdl-a .mdl-puces .wpcf7-list-item input:checked + .wpcf7-list-item-label::after { display: none !important; }
.db-form.mdl-a .db-ligne .db-champ { margin-bottom: 0; }
/* Retour de Vincent (08/11/2026) : tuiles toutes de la même hauteur, libellés Arrivée / Départ visibles. */
.db-form.mdl-a .mdl-tuiles .wpcf7-radio:has(.db-avec-ico) { grid-auto-rows: 1fr !important; }
.db-form.mdl-a .mdl-sous { display: none; }
.db-form.mdl-a [data-zone="arrivee"] > label.mdl-cache, .db-form.mdl-a [data-zone="depart"] > label.mdl-cache { position: static !important; display: block; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
