/* ============================================================
   Les écrans que voit le CLIENT du commerce (body.cote-client) :
   le formulaire d'ajout (/rejoindre), la carte web (/c/), les
   conditions du programme et la page « carte effacée ».

   Passe unslop (novembre 2026), dans la ligne de l'onboarding : le
   titre porte un mot en italique brun et son point, les boutons sont
   des rectangles doux, les encarts verts menthe deviennent du papier
   avec une pastille verte (le vert reste aux actions et aux
   accomplissements), plus de capitales espacées.

   Toujours aucune police à charger : c'est le téléphone de quelqu'un
   qui n'a rien demandé. L'italique est celui de la serif du système.
   Le pass (la carte elle-même) ne bouge pas : il copie Apple Wallet.
   ============================================================ */

.cote-client{ --brun:#7a4a1f; --r:12px }

/* ── titres ── */
.cote-client .h1{ font-weight:500; letter-spacing:-.02em; font-size:2rem }
.cote-client .h1 em{ font-style:italic; color:var(--brun) }
.cote-client .lede{ font-size:1rem; color:var(--ink-3) }

/* ── boutons : des rectangles doux, en graisse calme ── */
.cote-client .btn{ border-radius:12px; font-weight:500; letter-spacing:0; min-height:52px }
.cote-client .btn--ghost{ border-width:1px; background:var(--card) }
.cote-client .btn--ghost:hover{ border-color:var(--ink-3) }

/* ── champs ── */
.cote-client .field > span{ font-weight:500; font-size:.94rem }
.cote-client .field small{ font-size:.86rem }
.cote-client .input, .cote-client select{ border-radius:12px }

/* ── l'encart « on vous offre un tampon » : du papier, une pastille verte ── */
.cote-client .notice--ok{
  display:flex; align-items:center; gap:10px;
  background:var(--card); color:var(--ink-2); border:1px solid var(--line); border-radius:12px;
}
.cote-client .notice--ok::before{
  content:''; flex:none; width:20px; height:20px; border-radius:50%;
  background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2306331a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.cote-client .notice{ border-radius:12px }

/* ── « ou recevez votre carte par e-mail » : un vrai bouton qui
      déplie, sans le triangle du navigateur ── */
.cote-client details[data-par-email]{ border-radius:12px; padding:0; overflow:hidden }
.cote-client details[data-par-email] > summary{
  list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:52px; padding:0 18px; font-weight:500 !important; cursor:pointer;
}
.cote-client details[data-par-email] > summary::-webkit-details-marker{ display:none }
.cote-client details[data-par-email] > summary::after{
  content:''; flex:none; width:9px; height:9px; margin-top:-4px;
  border-right:1.6px solid var(--ink-3); border-bottom:1.6px solid var(--ink-3);
  transform:rotate(45deg); transition:transform .15s;
}
.cote-client details[data-par-email][open] > summary::after{ transform:rotate(-135deg); margin-top:4px }
.cote-client details[data-par-email] > :not(summary){ margin-inline:18px }
.cote-client details[data-par-email][open]{ padding-bottom:18px }

/* ── la carte web (/c/) ── */
.cote-client.vitrine-carte .qrbloc{ border-radius:16px; box-shadow:none; border:1px solid var(--line) }
.cote-client .qrbloc__texte b{ font-weight:500; letter-spacing:-.015em }
.cote-client.vitrine-carte .carte__etat{
  display:flex; align-items:center; gap:10px;
  background:var(--card); color:var(--ink); border:1px solid var(--line); border-radius:16px;
  font-weight:500;
}
.cote-client.vitrine-carte .carte__etat::before{
  content:''; flex:none; width:10px; height:10px; border-radius:50%; background:var(--green);
  box-shadow:0 0 0 4px var(--green-soft);
}
.cote-client.vitrine-carte .carte__cadeau{ border-radius:16px }
.cote-client .carte__cadeau b{ font-weight:500 }
/* le gâteau en pictogramme au trait, comme au comptoir : l'emoji
   changeait de dessin d'un téléphone à l'autre */
.cote-client .carte__cadeau::before{
  content:''; width:28px; height:28px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1M2 21h20M7 8v3M12 8v3M17 8v3M7 4h.01M12 4h.01M17 4h.01'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1M2 21h20M7 8v3M12 8v3M17 8v3M7 4h.01M12 4h.01M17 4h.01'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cote-client .carte__choix button{ font-weight:500; border-radius:12px }

/* ── les conditions ── */
.cote-client .cdt__eyebrow{ text-transform:none; letter-spacing:0; font-size:.9rem; color:var(--ink-3) }
.cote-client .cdt__bloc h2{ font-weight:500 }
