/* ══════════════════════════════════════════════════════════
   site-entreprises.css — « للشركات والشخصيات » : formulaire /entreprises et remerciement /entreprises/merci
   (public/site/entreprises.html, entreprises-merci.html — propriétaire, 12/11/2026)

   Chargé APRÈS ui.css et site.css, par ces deux pages seulement. Maquette approuvée : docs du propriétaire
   (maquette-formulaire-entreprises). Couleurs : celles du site (--brand pour ce que le visiteur fait, --biz pour ce qui
   désigne l'agence InfoDesigns MARKETING — jetons de site.css). Police : celle du site (fonts.css).
   Téléphone : UNE colonne, dans l'ordre de la maquette (titre, 2 faits, 4 questions, consentement, bouton, lien des petits
   budgets). À partir de 900 px : 2 colonnes (présentation, formulaire dans une carte) — tout tient dans un écran de 1280 × 800.
   Sens d'écriture : propriétés logiques seulement (la page est servie en arabe RTL et en français LTR).
   ══════════════════════════════════════════════════════════ */
.biz-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.biz-page .biz-main { flex: 1; }

/* En-tête : marque + « InfoDesigns MARKETING » (l'agence, en or) + langue. Le mot « Sponsi » reste visible sur téléphone. */
.biz-page .hdr .brand [data-brand] { display: inline; }
.biz-partner { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1.5px solid var(--biz); border-radius: var(--r-pill);
  background: var(--biz-soft); color: var(--biz-ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; direction: ltr; }
@media (max-width: 350px) { .biz-page .hdr .brand [data-brand] { display: none; } .biz-partner { font-size: 12px; padding: 0 8px; } }

/* ── Présentation de l'agence sous le formulaire (plan SEO « sponsoring Tunisie », 22/11/2026) : h2, texte, étapes, FAQ ── */
.biz-more { max-width: 760px; margin-top: var(--space-6); }
.biz-more h2 { font-size: 1.08rem; font-weight: 700; line-height: 1.4; margin: var(--space-5) 0 var(--space-2); }
.biz-more p, .biz-more li { color: var(--ink-2); font-size: .92rem; line-height: 1.75; }
.biz-more p { margin: 0 0 var(--space-2); }
.biz-more ul, .biz-more ol { padding-inline-start: 22px; margin: 0 0 var(--space-2); }
.biz-more li + li { margin-top: 4px; }

/* ── Grille ── */
.biz-main { padding: var(--space-2) 0 var(--space-6); }
.biz-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); max-width: 480px; }
.biz-intro h1 { font-size: 1.32rem; font-weight: 700; line-height: 1.35; margin: 6px 0 4px; }
.biz-sub { margin: 0 0 10px; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.biz-info { list-style: none; margin: 0; padding: 10px 12px; border-radius: var(--r-lg); background: var(--brand-soft); color: var(--biz-info-ink);
  font-size: .86rem; font-weight: 600; line-height: 1.75; display: grid; gap: 2px; }
.biz-page { --biz-info-ink: var(--if-light, #12357a) var(--if-dark, #cfe0ff); }
.biz-info li { position: relative; padding-inline-start: 16px; }
.biz-info li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ── Formulaire ── */
.biz-form { display: grid; gap: 14px; min-width: 0; }
.biz-f { min-width: 0; margin: 0; }
.biz-set { border: 0; padding: 0; }
.biz-form legend, .biz-form .f-label { display: block; padding: 0; margin: 0 0 6px; font-size: .93rem; font-weight: 700; color: var(--ink); }
.biz-form .input { min-height: 48px; border-color: var(--line); background: var(--surface); }
.biz-form .input:focus { border-color: var(--brand); }
.biz-form .input[aria-invalid="true"] { border-color: var(--bad); }
/* Téléphone : « +216 » puis les 8 chiffres, lus de gauche à droite dans les deux langues */
.biz-tel { direction: ltr; border-color: var(--line); }
.biz-tel .addon { padding: 0 12px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.biz-tel .input, html[dir="rtl"] .biz-tel .input { text-align: left; letter-spacing: .03em; min-height: 46px; }
.biz-tel.invalid { border-color: var(--bad); }

/* Choix (boutons radio) : sélection = contour et fond bleus, comme la maquette */
.biz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-chips.biz-col { flex-direction: column; flex-wrap: nowrap; gap: 7px; }
.biz-chip { position: relative; display: flex; flex: 1 1 0; min-width: 0; }
.biz-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.biz-chip span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 46px; padding: 8px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: .93rem; font-weight: 600; text-align: center;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.biz-chip bdi { font-variant-numeric: tabular-nums; white-space: nowrap; }
.biz-chip:hover span { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.biz-chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.biz-chip input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.biz-set.invalid .biz-chip span { border-color: var(--bad); }
.biz-note { margin: 8px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
/* Adresse : écrite de gauche à droite (dir="ltr"), alignée à droite sur la page arabe comme la maquette 2 */
html[dir="rtl"] .biz-form #page { text-align: right; }

/* Consentement : case VIDE par défaut, cochée par la personne seulement */
.biz-consent .check { gap: 10px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.biz-consent .check input { width: 22px; height: 22px; margin-top: 2px; }
.biz-consent .check > span { flex: 1 1 0; min-width: 0; }
.biz-f .f-err { margin-top: 6px; }
.biz-submit { min-height: 52px; font-size: 1.05rem; font-weight: 700; border-radius: var(--r-lg); }
.biz-form .alert { font-size: .9rem; }

/* Petits budgets : vers l'inscription Sponsi normale */
.biz-alt { margin: 2px 0 0; text-align: center; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.biz-alt a { display: inline-block; padding-block: 10px; color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.biz-alt a .ico { width: 1em; height: 1em; vertical-align: -.15em; }
@media (max-width: 899px) { .biz-alt a { display: block; } }

/* ── Pied réduit ── */
.biz-ftr { border-top: 1px solid var(--line); padding: 14px 0 18px; }
.biz-ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.biz-ftr a { color: var(--ink-2); font-weight: 500; }

/* ── Ordinateur : présentation à côté du formulaire, un seul écran ── */
@media (min-width: 900px) {
  .biz-main { display: flex; align-items: center; padding: var(--space-5) 0 var(--space-6); }
  .biz-grid { width: 100%; max-width: 1040px; grid-template-columns: minmax(0, 1fr) minmax(0, 450px); grid-template-areas: "intro form" "alt form"; column-gap: var(--space-7); row-gap: var(--space-3); align-items: start; }
  .biz-intro { grid-area: intro; align-self: end; padding-top: var(--space-5); }
  .biz-form { grid-area: form; padding: var(--space-5); border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
  .biz-alt { grid-area: alt; align-self: start; text-align: start; }
  .biz-intro h1 { font-size: clamp(1.9rem, 2.9vw, 2.4rem); line-height: 1.3; margin: 0 0 var(--space-3); letter-spacing: var(--track-tight); }
  .biz-sub { font-size: 1.05rem; color: var(--ink-2); margin-bottom: var(--space-4); max-width: 30em; }
  .biz-info { font-size: .98rem; padding: var(--space-3) var(--space-4); }
  .biz-info li::before { top: .78em; }
  .biz-chips.biz-col { flex-direction: row; }
  .biz-chips.biz-col .biz-chip span { padding-inline: 8px; font-size: .88rem; }
}

/* ══ Remerciement ══ */
.biz-done { max-width: 440px; text-align: center; padding-top: clamp(24px, 9vh, 96px); padding-bottom: var(--space-5); }
.biz-done-ic { width: 74px; height: 74px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.biz-done-ic .ico { width: 38px; height: 38px; stroke-width: 2.4; }
.biz-done h1 { font-size: 1.45rem; font-weight: 700; line-height: 1.35; margin: 8px 0; }
.biz-done-p { margin: 8px auto; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.biz-next { list-style: none; counter-reset: biz-step; margin: var(--space-4) 0 0; padding: var(--space-4); border-radius: var(--r-lg); background: var(--surface);
  text-align: start; font-size: .95rem; line-height: 1.6; display: grid; gap: var(--space-3); }
.biz-next li { counter-increment: biz-step; display: flex; align-items: flex-start; gap: 10px; }
.biz-next li::before { content: counter(biz-step); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: .84rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.btn.biz-home { margin-top: 18px; min-height: 48px; background: var(--surface); border-color: var(--line); font-weight: 600; }
.btn.biz-home:hover { background: var(--surface-2); }
.biz-done-page .biz-main { display: block; }

@media (prefers-reduced-motion: reduce) { .biz-chip span { transition: none; } }
@media print { .biz-ftr, .biz-page .hdr { display: none; } }
