/* ═══════════════════════════════════════════════════════════════════
   CINEMATIK STUDIOS — Contact (página)
   Sobe em cima de cinematik.css + site.css. Só estilos desta página.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.ck-hero { padding-bottom: var(--s-6); border-bottom: 1px solid var(--ink); }
.ck-hero .eyebrow { display: block; margin-bottom: var(--s-5); }
.ck-hero h1 { font-family: var(--sans); font-weight: var(--wt-display); font-size: var(--t-3xl); line-height: 0.98; letter-spacing: var(--trk-display); color: var(--ink); text-wrap: balance; max-width: 14ch; }
.ck-hero .lede { font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); max-width: 46ch; margin-top: var(--s-5); text-wrap: pretty; }
.ck-hero .lede b { color: var(--ink); font-weight: 600; }

/* ── Grid: caminhos (esq.) + briefing (dir.) ── */
.contact-grid.ck-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); margin-top: var(--s-7); align-items: start; }
@media (max-width: 900px) { .contact-grid.ck-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }
.ck-aside { display: flex; flex-direction: column; gap: var(--s-6); }
@media (min-width: 901px) { .ck-aside { position: sticky; top: 96px; } }

.ck-step { display: block; font-family: var(--tech); font-size: var(--t-2xs); letter-spacing: var(--trk-tech); text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-3); }

/* ── Card "Conversar agora" (dois estados: chat ligado / e-mail) ── */
.ck-chat { background: var(--ink); color: var(--paper-hi); border-radius: 4px; padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.ck-chat .ck-step { color: rgba(251, 250, 247, 0.6); margin-bottom: 0; display: flex; align-items: center; gap: 10px; }
.ck-chat .dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5); animation: ck-pulse 2.4s var(--ease) infinite; }
@keyframes ck-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.45); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.ck-chat h2 { font-family: var(--sans); font-weight: var(--wt-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: var(--trk-display); color: var(--paper-hi); }
.ck-chat p { font-size: var(--t-sm); line-height: 1.6; color: rgba(251, 250, 247, 0.78); max-width: 40ch; }
.ck-chat .btn-light { align-self: flex-start; background: var(--paper-hi); color: var(--ink); border-color: var(--paper-hi); margin-top: var(--s-2); }
.ck-chat .btn-light:hover { background: #fff; }
.ck-chat .fine { font-family: var(--tech); font-size: 10px; letter-spacing: var(--trk-tech-sm); text-transform: uppercase; color: rgba(251, 250, 247, 0.5); }
/* estado padrão = e-mail; JS liga .is-on quando o chat está disponível */
.ck-chat .when-on { display: none; }
.ck-chat.is-on .when-on { display: flex; }
.ck-chat.is-on .when-off { display: none; }
.ck-chat .when-on, .ck-chat .when-off { flex-direction: column; gap: var(--s-4); }
.ck-chat .when-off { display: flex; }
.ck-chat.is-on .when-on { animation: ck-in var(--d-base) var(--ease); }
@keyframes ck-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ck-chat .mail-big { font-family: var(--sans); font-weight: 700; font-size: clamp(17px, 2vw, 22px); letter-spacing: var(--trk-tight); color: var(--paper-hi); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }

/* ── Contato direto ── */
.ck-direct { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.ck-direct .blk { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ck-direct .blk.wide { grid-column: 1 / -1; }
.ck-direct h3 { font-family: var(--tech); font-size: 10px; letter-spacing: var(--trk-tech); text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.ck-direct a, .ck-direct span { font-family: var(--sans); font-weight: 600; font-size: var(--t-base); letter-spacing: var(--trk-snug); color: var(--ink); overflow-wrap: anywhere; }
.ck-direct a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color var(--d-fast) var(--ease); }
.ck-direct a:hover { text-decoration-color: var(--ink); }
.ck-direct .sub { font-family: var(--tech); font-weight: 400; font-size: 10px; letter-spacing: var(--trk-tech-sm); text-transform: uppercase; color: var(--ink-3); }

/* ── Briefing ── */
.ck-brief-head { margin-bottom: var(--s-6); }
.ck-brief-head h2 { font-family: var(--sans); font-weight: var(--wt-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: var(--trk-display); color: var(--ink); }
.ck-brief-head p { font-size: var(--t-sm); line-height: 1.6; color: var(--ink-2); margin-top: var(--s-3); }
.ck-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
@media (max-width: 600px) { .ck-pair { grid-template-columns: 1fr; } }
.form-row .opt { color: var(--ink-4); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12px; }
.form-row .hint { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

/* chips = radios reais */
.chips { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
.chips legend { padding: 0; margin-bottom: var(--s-3); font-family: var(--tech); font-size: 10px; letter-spacing: var(--trk-tech-sm); text-transform: uppercase; color: var(--ink-3); }
.chips .opts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-hi); font-family: var(--sans); font-weight: 500; font-size: var(--t-sm); letter-spacing: var(--trk-snug); line-height: 1.2; color: var(--ink-2); transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper-hi); }
.chip input:checked + span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; flex: none; }
.chip input:focus-visible + span { outline: 2px solid var(--paper-hi); outline-offset: 1px; box-shadow: 0 0 0 4px var(--cobalt); }
@media (forced-colors: active) { .chip input:checked + span { outline: 2px solid CanvasText; } }

/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* envio */
.ck-submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-2); }
.contact-form button[type="submit"][disabled] { opacity: .55; cursor: progress; }
.ck-lgpd { font-size: 12px; line-height: 1.5; color: var(--ink-3); margin-top: var(--s-3); }
@media (max-width: 600px) { .ck-submit .btn { width: 100%; justify-content: center; padding-top: 16px; padding-bottom: 16px; } }
.form-sent { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: var(--t-sm); line-height: 1.55; }
.form-sent.error { color: #B23A2E; }
.form-sent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* sucesso */
.ck-done { border: 1px solid var(--ink); border-radius: 4px; padding: var(--s-6); background: var(--paper-hi); }
.ck-done h2 { font-family: var(--sans); font-weight: var(--wt-display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1; letter-spacing: var(--trk-display); color: var(--ink); outline: none; overflow-wrap: anywhere; }
.ck-done > p { font-size: var(--t-base); line-height: 1.6; color: var(--ink-2); margin-top: var(--s-4); max-width: 44ch; }
.ck-done > p b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.ck-done ol { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-direction: column; }
.ck-done li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.ck-done li .no { font-family: var(--tech); font-weight: 500; font-size: var(--t-xs); letter-spacing: var(--trk-tech); color: var(--accent); padding-top: 3px; }
.ck-done li b { display: block; font-weight: 700; font-size: var(--t-base); letter-spacing: var(--trk-snug); color: var(--ink); }
.ck-done li span:not(.no) { font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); }
.ck-done .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* ── Como funciona ── */
.ck-how { margin-top: var(--s-8); }
.ck-how-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--ink); }
.ck-how-head h2 { font-family: var(--sans); font-weight: var(--wt-display); font-size: clamp(26px, 3vw, 40px); letter-spacing: var(--trk-display); line-height: 1; color: var(--ink); }
.ck-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); margin-top: var(--s-6); }
@media (max-width: 760px) { .ck-how ol { grid-template-columns: 1fr; gap: var(--s-5); } }
.ck-how li { display: flex; flex-direction: column; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.ck-how .no { font-family: var(--tech); font-weight: 500; font-size: var(--t-xs); letter-spacing: var(--trk-tech); color: var(--accent); }
.ck-how h3 { font-family: var(--sans); font-weight: 700; font-size: var(--t-lg); letter-spacing: var(--trk-tight); color: var(--ink); }
.ck-how p { font-size: var(--t-sm); line-height: 1.6; color: var(--ink-2); max-width: 36ch; }

@media (max-width: 600px) {
  .ck-chat, .ck-done { padding: var(--s-5); }
  .ck-direct { grid-template-columns: 1fr; gap: var(--s-4); }
  .ck-how-head .tech { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-chat .dot, .ck-chat.is-on .when-on { animation: none; }
  .chip span { transition: none; }
}
