/* 16 Solutions Core : composants de conversion (includes/conversion.php), variables du thème. */

/* Sections de fin de page « Demandez un devis » et « Une panne ? » (grille .rappel-grille du thème). */
.s16-conv { scroll-margin-top: 96px; }
.s16-conv__texte { display: grid; gap: 14px; align-content: start; }
.s16-conv__texte > * { margin: 0; }
.s16-conv__texte strong { color: var(--encre); }
.s16-conv .form-carte { scroll-margin-top: 110px; }
.s16-form__estimation { margin: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--bordure-2); background: var(--fond); color: var(--encre); font-weight: 600; }
.s16-form [hidden] { display: none !important; }

/* Outil « Estimer mon contrat ». */
.s16-estimation { margin-top: 32px; padding: clamp(20px, 4vw, 32px); border-radius: var(--rayon-l); background: #fff; border: 1px solid var(--bordure-2); box-shadow: var(--ombre); display: grid; gap: 18px; }
.s16-estimation > * { margin: 0; }
.s16-estimation__titre { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.s16-estimation__grille { display: grid; gap: 18px; }
.s16-estimation__postes { display: grid; gap: 6px; margin: 0; align-content: start; }
.s16-estimation__postes label, .s16-estimation__formules legend { font-weight: 700; color: var(--encre); }
.s16-estimation__postes input { width: 100%; max-width: 180px; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--bordure); border-radius: 12px; font: inherit; font-size: 1.1rem; color: var(--encre); background: #fff; }
.s16-estimation__postes input:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(30, 30, 30, .15); }
.s16-estimation__aide { font-size: .9rem; color: var(--texte-2); }
.s16-estimation__formules { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.s16-estimation__formules legend { padding: 0; margin-bottom: 6px; }
.s16-estimation__formule { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 12px 14px; border: 1.5px solid var(--bordure-2); border-radius: 12px; cursor: pointer; line-height: 1.4; }
.s16-estimation__formule:hover { border-color: var(--bordure); }
.s16-estimation__formule:has(input:checked) { border-color: var(--orange); background: var(--voile); }
.s16-estimation__formule input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--encre); }
.s16-estimation__formule strong { color: var(--encre); }
.s16-estimation__resultat { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; color: var(--encre); }
.s16-estimation__resultat:empty { display: none; }
.s16-estimation__mention { font-size: .95rem; color: var(--texte-2); max-width: 80ch; }
@media (min-width: 900px) {
	.s16-estimation__grille { grid-template-columns: 220px 1fr; gap: 28px; }
	.s16-estimation__formules { grid-template-columns: repeat(3, 1fr); }
	.s16-estimation__formules legend { grid-column: 1 / -1; }
}

/* Lien vers le test de cybersécurité. */
.s16-lien-cyber { margin-top: 20px !important; font-size: 1rem; color: var(--texte); }
.s16-lien-cyber a { font-weight: 700; color: var(--encre); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.s16-lien-cyber--carte { position: relative; z-index: 2; font-size: .95rem; }

/* Agences : lien « Toutes nos implantations ». */
.ag-toutes { margin-top: 20px; }

/* Dépannage : bouton « Appeler pour une panne : <numéro> » (le thème met les liens tel: en nowrap). Le libellé
   passe à la ligne avant le numéro, insécable, plutôt que de déborder du héros (overflow: hidden) sur mobile. */
.btn-tel a[data-suivi="depannage-tel"] { white-space: normal; max-width: 100%; text-align: left; padding-block: 8px; line-height: 1.25; }
