/* Page Contact : composition propre, sur le socle de l'accueil (couleurs, polices, en-tête, boutons, pied de page).
   À gauche la conversation, à droite la demande : un panneau nuit, comme le bloc de contact de l'accueil. */

.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(40px, 6vw, 112px); align-items: start; padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(72px, 8vw, 128px); }

/* ---------- La conversation ---------- */
.ct-conversation { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.ct-conversation h1 { font-size: clamp(48px, 6.4vw, 104px); max-width: 9ch; }
.ct-intro { max-width: 40ch; font-size: 20px; line-height: 1.5; color: var(--ardoise); }
.ct-points { margin-top: 12px; max-width: 460px; border-top: 1px solid var(--filet); }
.ct-points li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.ct-points strong { font-family: var(--f-titre); font-stretch: 108%; font-weight: 600; font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
.ct-points span { font-size: 16px; color: var(--ardoise); }
.ct-points .ct-avec { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
.ct-portrait { display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--ivoire); }
.ct-portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.6); transform-origin: 44% 15%; }
.ct-avec div { display: grid; gap: 2px; }
.ct-direct { font-size: 15px; color: var(--ardoise); }
.ct-direct a { color: var(--marine); font-weight: 600; text-decoration: none; background: linear-gradient(var(--soleil), var(--soleil)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }

/* ---------- La demande ---------- */
.ct-panneau { position: relative; background: var(--nuit); color: var(--ivoire); border-radius: 4px; padding: clamp(28px, 3.4vw, 48px); scroll-margin-top: 0; box-shadow: 0 30px 60px -40px rgba(15,27,46,0.55); }
.ct-panneau::before { content: ""; position: absolute; left: clamp(28px, 3.4vw, 48px); top: 0; width: 56px; height: 3px; background: var(--soleil); }
.ct-panneau:focus { outline: none; }
.ct-titre-panneau { font-family: var(--f-titre); font-stretch: 110%; font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 24px; }
.ct-form { display: grid; gap: 20px; }
.ct-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ct-champ { display: grid; gap: 8px; align-content: start; }
.ct-champ label { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.ct-requis { color: var(--soleil); }
.ct-facultatif { margin-left: 4px; font-weight: 400; color: rgba(246,243,236,0.55); }
.ct-champ input, .ct-champ textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid rgba(246,243,236,0.22); border-radius: 3px; background: rgba(246,243,236,0.06); color: #FFFFFF; font: inherit; font-size: 16px; line-height: 1.45; transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; }
.ct-champ textarea { min-height: 140px; resize: vertical; }
.ct-champ input::placeholder { color: rgba(246,243,236,0.38); }
.ct-champ input:hover, .ct-champ textarea:hover { border-color: rgba(246,243,236,0.4); }
.ct-champ input:focus, .ct-champ textarea:focus { outline: none; border-color: var(--soleil); background: rgba(246,243,236,0.09); box-shadow: 0 0 0 3px rgba(244,197,66,0.22); }
.ct-champ.invalide input, .ct-champ.invalide textarea { border-color: var(--soleil); border-width: 2px; padding: 12px 13px; }
.ct-aide { font-size: 13.5px; color: rgba(246,243,236,0.65); }
.ct-err { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; font-weight: 600; color: var(--soleil); }
.ct-err::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--soleil); color: var(--nuit); font-size: 11px; font-weight: 700; transform: translateY(2px); }
.ct-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-situation { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-left: 3px solid var(--soleil); background: rgba(246,243,236,0.06); border-radius: 0 3px 3px 0; animation: ct-apparait 0.5s var(--ease); }
.ct-situation p { display: grid; gap: 2px; font-size: 14px; }
.ct-situation span { font-size: 12.5px; color: rgba(246,243,236,0.65); }
.ct-situation b { font-weight: 600; }
.ct-situation button { flex: none; min-height: 36px; padding: 0 12px; border: 1px solid rgba(246,243,236,0.35); border-radius: 2px; background: none; color: var(--ivoire); font-size: 13px; cursor: pointer; }
.ct-situation button:hover { border-color: var(--ivoire); }

.ct-envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.ct-envoi .bouton { min-height: 56px; padding: 0 28px; font-size: 15.5px; }
.ct-suite { flex: 1 1 200px; font-size: 14px; color: rgba(246,243,236,0.72); }
.ct-rgpd { padding-top: 18px; border-top: 1px solid rgba(246,243,236,0.12); font-size: 12.5px; line-height: 1.5; color: rgba(246,243,236,0.55); }
.ct-rgpd a, .ct-note a, .ct-alerte a { color: var(--ivoire); }
.ct-panneau :focus-visible { outline: 2px solid var(--soleil); outline-offset: 3px; }

.ct-alerte { margin-bottom: 2px; padding: 14px 16px; border-left: 3px solid var(--soleil); background: rgba(244,197,66,0.1); font-size: 15px; line-height: 1.45; }
.ct-alerte:focus { outline: none; }

.ct-merci { display: grid; gap: 16px; justify-items: start; padding: 8px 0; }
.ct-merci .ct-titre-panneau { margin-bottom: 0; font-size: clamp(28px, 2.8vw, 38px); max-width: 16ch; }
.ct-merci p { max-width: 40ch; font-size: 17px; color: rgba(246,243,236,0.85); }
.ct-merci .ct-note { font-size: 14.5px; color: rgba(246,243,236,0.65); }
.ct-merci .lien { color: var(--ivoire); }
.ct-coche { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--soleil); animation: ct-apparait 0.6s var(--ease); }
.ct-coche::after { content: ""; position: absolute; left: 50%; top: 46%; width: 9px; height: 17px; border: solid var(--nuit); border-width: 0 3px 3px 0; transform: translate(-50%, -50%) rotate(45deg); }
@keyframes ct-apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Pied de page ---------- */
.ct-pied { background: var(--nuit); padding-top: 8px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.ct-pied .pied { margin-top: 0; border-top: 0; padding-top: 32px; }
.ct-legal { margin-top: 18px; font-size: 13px; color: rgba(246,243,236,0.55); }
.ct-legal a { color: inherit; }
.ct-legal a:hover { color: var(--soleil); }

/* ---------- Écrans moyens et mobile ---------- */
@media (max-width: 1100px) {
  .ct { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
  .ct-ligne { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ct { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
  .ct-conversation { gap: 18px; padding-top: 0; }
  .ct-conversation h1 { font-size: clamp(40px, 11vw, 60px); max-width: none; }
  .ct-intro { font-size: 17px; }
  .ct-points { margin-top: 4px; }
  .ct-points li { padding: 10px 0; }
  .ct-points strong { font-size: 16.5px; }
  .ct-points span:not(.ct-portrait) { display: none; }
  .ct-points .ct-avec { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .ct-portrait { width: 36px; height: 36px; }
  .ct-direct { display: none; }
  .ct-panneau { margin: 0 calc(-1 * var(--cote-d)) 0 calc(-1 * var(--cote-g)); border-radius: 0; padding: 32px var(--cote-d) 36px var(--cote-g); }
  .ct-panneau::before { left: var(--cote-g); }
  .ct-envoi .bouton { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-situation, .ct-coche { animation: none; }
}

/* ---------- Fonds (17/10/2026) ---------- */
.ct-portrait { background: var(--brume); }
