/* =====================================================================
   PAGE CONTACT — direction artistique « Comptoir »

   Chargé APRÈS site.css et pages.css (la DA commune des sous-pages :
   couleurs, boutons, bandeau, tampon, champs). Ici, seulement ce qui
   est propre au contact :
     1. Mise en page      2. La fiche (formulaire)
     3. La carte de visite (coordonnées)      4. Mobile
   ===================================================================== */

/* Icône générique (traits) */
.c-ico{ flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.c-ins{ white-space: nowrap; }   /* « question ? » ne se coupe jamais */

/* =====================================================================
   1. MISE EN PAGE — la fiche à gauche, la carte de visite à droite
   ================================================================== */
/* Moins de marge en haut : la ligne de découpe du bandeau fait déjà la séparation */
.c-corps{ padding-top: clamp(40px, 4.5vw, 64px); }
.c-grille{ display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px){ .c-grille{ grid-template-columns: 1.5fr 1fr; gap: 40px; } }

/* =====================================================================
   2. LA FICHE — bordure noire franche, comme un formulaire imprimé
   ================================================================== */
.c-fiche{ background: #fff; border: 2px solid var(--noir); padding: clamp(24px, 3.5vw, 44px); }
.c-fiche-tete{ padding-bottom: 20px; margin-bottom: 28px; border-bottom: 2px solid var(--noir); }
.c-fiche-tete p{ margin: 0; color: var(--texte2); font-size: .95rem; }
.c-alerte{ margin: 0 0 24px; }
.c-alerte .c-ico{ color: var(--rose); margin-top: 1px; }

.c-champs{ display: grid; gap: 22px 28px; }
@media (min-width: 640px){ .c-champs{ grid-template-columns: 1fr 1fr; } }

/* Suggestions d'activité (visibles seulement avec JavaScript) */
.c-puces{ display: none; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.c-js .c-puces{ display: flex; }

.c-champ-message{ margin-top: 26px; }
.c-compteur{ position: absolute; right: 12px; bottom: 10px; font-size: .78rem; font-weight: 600; color: #9A95A1;
  font-variant-numeric: tabular-nums; pointer-events: none; }
.c-compteur.c-proche{ color: var(--rose); }

.c-pied-form{ display: grid; gap: 20px; margin-top: 28px; align-items: center; }
@media (min-width: 720px){ .c-pied-form{ grid-template-columns: 1fr auto; gap: 32px; } }
.c-rgpd{ margin: 0; font-size: .82rem; line-height: 1.55; color: var(--texte2); }
.c-envoyer{ min-height: 56px; padding: 0 28px; }
.c-fleche{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--sortie); }
.c-envoyer:hover .c-fleche{ transform: translateX(4px); }
/* Pendant l'envoi : le bouton passe en noir et la flèche file vers la droite */
.c-envoyer.c-envoi{ pointer-events: none; background: var(--noir); }
.c-envoyer.c-envoi .c-fleche{ animation: c-file .7s ease-in-out infinite; }
@keyframes c-file{ 0%{ transform: translateX(-6px); opacity: 0; } 50%{ opacity: 1; } 100%{ transform: translateX(8px); opacity: 0; } }

/* Message envoyé : le tampon « Reçu » au-dessus du texte */
.c-merci{ text-align: center; padding: 8px 0 4px; }
.c-tampon-recu{ width: 170px; margin: 0 auto 22px; --rot: -12; transform: rotate(-12deg); }
.c-merci p{ max-width: 46ch; margin: 0 auto 28px; color: var(--texte2); line-height: 1.65; }
.c-merci .p-actions{ justify-content: center; }

/* =====================================================================
   3. LA CARTE DE VISITE — aplat noir, ombre portée rose et nette
   ================================================================== */
.c-carte-visite{ background: var(--noir); color: #fff; padding: clamp(24px, 3vw, 36px); box-shadow: 10px 10px 0 var(--rose); }
.c-carte-visite h2{ font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); letter-spacing: -.03em; margin: 0 0 10px; color: #fff; }
.c-cv-lead{ margin: 0 0 18px; color: rgba(255,255,255,.7); line-height: 1.6; font-size: .95rem; }

/* Une ligne par moyen de contact, séparées par un pointillé de découpe */
.c-lignes{ list-style: none; margin: 0; padding: 0; border-top: 1.5px dashed rgba(255,255,255,.22); }
.c-lignes li{ border-bottom: 1.5px dashed rgba(255,255,255,.22); }
.c-ligne{ display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; color: #fff; }
.c-ligne .c-ico{ color: var(--rose); margin-top: 2px; }
.c-ligne span{ flex: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.5; font-size: .95rem; color: rgba(255,255,255,.88); word-break: break-word; }
.c-ligne b{ font-family: var(--display); font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.55); }
.c-ligne-fleche{ width: 18px; height: 18px; margin-top: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  opacity: .35; transition: transform .3s var(--sortie), opacity .3s, color .3s; }
/* Au survol : la ligne se décale, la flèche s'allume en rose */
a.c-ligne:hover{ color: #fff; }
a.c-ligne span{ transition: transform .3s var(--sortie); }
a.c-ligne:hover span{ transform: translateX(4px); }
a.c-ligne:hover .c-ligne-fleche{ opacity: 1; color: var(--rose); transform: translateX(4px); }
.c-cv-note{ margin: 18px 0 0; padding: 14px 16px; background: rgba(27, 114, 184, .22); border-left: 4px solid var(--bleu);
  font-size: .85rem; line-height: 1.6; color: rgba(255,255,255,.85); }

/* =====================================================================
   4. MOBILE
   ================================================================== */
@media (max-width: 959px){
  .p-hero .p-tampon{ position: absolute; right: 16px; top: 38px; width: 104px; opacity: .95; }
  .p-hero .p-titre{ padding-right: 96px; }
}
@media (max-width: 720px){
  .c-carte-visite{ box-shadow: 6px 6px 0 var(--rose); margin-right: 6px; }
  .p-hero .p-btn{ font-size: .9rem; }
}
