/* Contact page "Conversation" (maquette 2): the visitor writes to me as in a chat. */
.ct2 { --o: #ff6a2b; --o2: #e8642d; --line: rgba(170,190,220,.08); --line2: rgba(170,190,220,.17); --mu: rgba(225,232,245,.58); --card: #0f1013; --ease: cubic-bezier(.22,1,.36,1); overflow-x: clip; }
.ct2-wrap { width: min(calc(100% - 56px), 1040px); margin-inline: auto; }
.ct2-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 40px; align-items: start; padding: 56px 0 30px; scroll-margin-top: 90px; }
.ct2-side { position: sticky; top: 110px; }
.ct2-k { margin: 0; color: #ff7a45; font-size: .72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.ct2-side h1 { margin: 12px 0 0; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.ct2-side h1 em { font-style: normal; color: var(--o); }
.ct2-lead { margin: 16px 0 0; color: var(--mu); line-height: 1.6; }
.ct2-who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px; border: 1px solid var(--line2); border-radius: 18px; background: var(--card); }
.ct2-av { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #ff6a2b, #ffb070); color: #160903; font-weight: 800; }
.ct2-who b { display: block; }
.ct2-who small { color: var(--mu); font-size: .8rem; }
.ct2-qt { margin: 24px 0 8px; color: var(--mu); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.ct2-quick { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ct2-quick a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; transition: border-color .2s, background .2s; }
.ct2-quick a:hover { border-color: var(--line2); background: rgba(255,255,255,.02); }
.ct2-quick span { flex: none; color: var(--mu); font-weight: 600; }
.ct2-quick a:hover span { color: #ff8a55; }
.ct2-chat { display: flex; flex-direction: column; height: clamp(520px, calc(100vh - 160px), 720px); padding: 22px; border: 1px solid var(--line2); border-radius: 26px; background: #0e0f12; }
.ct2-log { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.ct2-log::before { content: ""; margin-top: auto; }
.ct2-m { max-width: 82%; margin: 0; padding: 13px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.55; overflow-wrap: anywhere; animation: ct2In .45s var(--ease) both; }
.ct2-m.me { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--o2); color: #fff; }
.ct2-m.en { align-self: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 6px; background: #1a1b1e; }
.ct2-m.en a { color: #ff8a55; font-weight: 700; }
.ct2-m.is-typing { display: flex; gap: 4px; }
.ct2-m.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mu); animation: ct2Dot 1s infinite; }
.ct2-m.is-typing i:nth-child(2) { animation-delay: .15s; }
.ct2-m.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ct2Dot { 50% { opacity: .25; transform: translateY(-3px); } }
@keyframes ct2In { from { opacity: 0; transform: translateY(10px); } }
.ct2-chips { display: flex; flex-wrap: wrap; gap: 8px; animation: ct2In .45s var(--ease) both; }
.ct2-chips button { padding: 9px 14px; border: 1px solid var(--line2); border-radius: 99px; background: none; color: #fff; font: 700 .86rem Manrope, sans-serif; cursor: pointer; transition: border-color .2s, color .2s; }
.ct2-chips button span { color: #ff8a55; }
.ct2-chips button:hover { border-color: var(--o); color: #ff8a55; }
.ct2-in { position: relative; display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; padding: 8px; border: 1px solid var(--line2); border-radius: 18px; background: #121316; transition: opacity .2s, border-color .2s; }
.ct2-in:focus-within { border-color: var(--o); }
.ct2-in.is-off { opacity: .4; pointer-events: none; }
.ct2-in textarea { flex: 1; min-width: 0; padding: 10px; border: 0; background: none; color: #fff; font: inherit; font-size: .95rem; outline: none; resize: none; }
.ct2-in button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--o2); color: #fff; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.ct2-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct2-sum { align-self: stretch; padding: 16px; border: 1px solid var(--line2); border-radius: 16px; background: var(--card); animation: ct2In .45s var(--ease) both; }
.ct2-sum dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin: 0; font-size: .88rem; }
.ct2-sum dt { color: var(--mu); }
.ct2-sum dd { margin: 0; overflow-wrap: anywhere; }
.ct2-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ct2-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--line2); border-radius: 99px; background: none; color: #fff; font: 800 .9rem Manrope, sans-serif; cursor: pointer; }
.ct2-btn.is-o { border-color: var(--o2); background: var(--o2); box-shadow: 0 10px 26px rgba(232,100,45,.35); }
.ct2-btn:disabled { opacity: .6; cursor: wait; }
.ct2-btn i { font-style: normal; }
.ct2-status { margin: 10px 0 0; color: var(--mu); font-size: .86rem; }
.ct2-status:empty { display: none; }
.ct2-status.is-bad { color: #fca5a5; }
.ct2-status a { color: #ff8a55; }
@media (max-width: 860px) {
  .ct2-wrap { width: calc(100% - 32px); }
  .ct2-grid { display: flex; flex-direction: column; gap: 0; padding-top: 36px; }
  /* On a phone the conversation comes right after the introduction, the shortcuts after it. */
  .ct2-side { display: contents; }
  .ct2-side > * { order: 0; }
  .ct2-chat { order: 1; margin-top: 22px; }
  .ct2-qt { order: 2; margin-top: 28px; }
  .ct2-quick { order: 3; }
  .ct2-chat { height: min(600px, calc(100vh - 110px)); padding: 14px; border-radius: 22px; }
  .ct2-m { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) { .ct2-m, .ct2-chips, .ct2-sum { animation: none; } }
