/* contato.css — estilos só da página de contato */

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.ct-title { max-width: 14ch; }

/* ---------- Bloco principal ---------- */
.ct-main { padding-top: clamp(.5rem, 2vw, 1.5rem); }
.ct-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start; }
.ct-col { min-width: 0; }
.ct-col-title { margin: .9rem 0 clamp(1.3rem, 3vw, 2rem); }
@media (max-width: 960px) { .ct-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cartões de canal ---------- */
.ct-channels { display: grid; gap: .85rem; }
.ct-channel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.85rem, 2vw, 1.25rem); padding: clamp(1.1rem, 2.2vw, 1.5rem); }
.js .ct-channel.card.lift.in:hover { transform: translateY(-4px); }
.ct-ico { width: 48px; height: 48px; display: grid; place-items: center; flex: none; border-radius: 12px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); transition: background .35s, color .35s, transform .5s var(--ease-out); }
.ct-ico svg { width: 21px; height: 21px; }
.ct-channel:hover .ct-ico { background: var(--accent); color: #14110A; transform: rotate(-6deg) scale(1.04); }

.ct-channel-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.ct-channel-link { display: flex; flex-direction: column; gap: .2rem; max-width: 100%; }
/* link "esticado": o cartão inteiro é clicável, o botão de copiar fica por cima */
.ct-channel-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.ct-channel-link:focus-visible { outline: none; }
.ct-channel-link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -3px; }
.ct-channel-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.ct-channel-value { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.02rem, 1.9vw, 1.4rem); line-height: 1.2; letter-spacing: -.015em; color: var(--text); overflow-wrap: anywhere; transition: color .3s; }
.ct-channel:hover .ct-channel-value { color: var(--accent-strong); }
.ct-channel-hint { font-size: .84rem; color: var(--text-secondary); }

.ct-arrow { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--text-secondary); overflow: hidden; transition: border-color .3s, color .3s, background .3s; }
.ct-arrow svg { width: 16px; height: 16px; }
.ct-channel:hover .ct-arrow { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ct-channel:hover .ct-arrow svg { animation: ct-arrow .55s var(--ease-out); }
@keyframes ct-arrow {
  0% { transform: none; }
  45% { transform: translate(18px, -18px); }
  46% { transform: translate(-18px, 18px); }
  100% { transform: none; }
}
@media (max-width: 420px) {
  .ct-ico { width: 42px; height: 42px; border-radius: 10px; }
  .ct-arrow { width: 34px; height: 34px; }
}

/* Botão copiar */
.ct-copy {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .4rem .85rem; margin-top: .25rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-secondary); border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(11,11,14,.5);
  transition: color .25s, border-color .25s, background .25s, transform .2s var(--ease);
}
.ct-copy:hover { color: var(--accent); border-color: var(--accent); }
.ct-copy:active { transform: scale(.96); }
.ct-copy svg { width: 15px; height: 15px; flex: none; }
.ct-copy .i-ok { display: none; }
.ct-copy.done { color: var(--ok); border-color: rgba(127,209,160,.45); background: rgba(127,209,160,.08); }
.ct-copy.done .i-copy { display: none; }
.ct-copy.done .i-ok { display: block; animation: ct-pop .4s var(--ease-out); }
.ct-copy.fail { color: var(--text); border-color: var(--border-strong); }
@keyframes ct-pop { from { transform: scale(.3); opacity: 0; } }
.ct-copy-sm { margin: 0; border-color: transparent; background: none; padding-inline: .6rem; }

/* Currículo */
.ct-cv { margin-top: .85rem; padding: clamp(1.1rem, 2.2vw, 1.5rem); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.ct-cv-text { flex: 1 1 210px; min-width: 0; }
.ct-cv-text p { margin-top: .35rem; font-size: .92rem; color: var(--text-secondary); }
.ct-cv .btn { min-height: 46px; }
@media (max-width: 420px) { .ct-cv .btn-row { width: 100%; } .ct-cv .btn { flex: 1 1 100%; } }

/* ---------- Compositor ---------- */
.ct-composer {
  position: relative; padding: clamp(1.1rem, 2.6vw, 1.9rem);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.ct-composer::before { content: ''; position: absolute; top: -1px; left: 1.5rem; right: 1.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }

.ct-step { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .7rem; margin-bottom: .8rem; }
.ct-step-n { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1; color: var(--accent); }
.ct-step-t { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.ct-step-opt { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; color: var(--text-muted); }

.ct-composer .tablist { margin-bottom: 1.3rem; }
.ct-composer .tablist [role="tab"] { flex: 1 1 0; justify-content: center; padding-inline: .5rem; }

.ct-picks { gap: .5rem; margin-bottom: 1.6rem; }
.ct-pick { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .95rem; font-size: .74rem; white-space: normal; text-align: left; cursor: pointer; }
.ct-pick::before {
  content: ''; flex: none; width: 0; height: 9px; margin-right: 0; opacity: 0;
  background: no-repeat center / 11px 9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9' fill='none' stroke='%2314110A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4.6l3 3L10 1.2'/%3E%3C/svg%3E");
  transition: width .3s var(--ease-out), margin .3s var(--ease-out), opacity .2s;
}
.ct-pick[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #14110A; }
.ct-pick[aria-pressed="true"]::before { width: 11px; margin-right: .45rem; opacity: 1; }
.ct-pick[aria-pressed="true"]:hover { color: #14110A; background: var(--accent-strong); border-color: var(--accent-strong); }
.ct-pick:active { transform: scale(.96); }

.ct-fields { display: grid; gap: .9rem; margin-bottom: 1.4rem; }
.ct-field { display: grid; gap: .4rem; min-width: 0; }
.ct-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.ct-count { color: var(--text-muted); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ct-field input, .ct-field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem;
  font: inherit; font-size: 1rem; line-height: 1.5; color: var(--text);
  background: rgba(11,11,14,.6); border: 1px solid var(--border-strong); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.ct-field textarea { resize: vertical; min-height: 96px; max-height: 260px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--text-muted); }
.ct-field input:hover, .ct-field textarea:hover { border-color: #3a3a48; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: rgba(11,11,14,.85); }

/* Prévia */
.ct-preview { border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(11,11,14,.55); overflow: hidden; transition: border-color .5s; }
.ct-preview.flash { border-color: var(--accent-line); }
.ct-preview-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .15rem .3rem .15rem .9rem; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; color: var(--text-secondary); }
.ct-preview-head > span { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; }
.ct-preview-body { padding: 1rem; min-height: 6.5rem; font-size: .97rem; line-height: 1.6; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-preview-body mark { background: none; color: var(--accent-strong); }
.ct-preview-body .ct-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: text-bottom; background: var(--accent); animation: ct-blink 1.1s steps(1) infinite; }
@keyframes ct-blink { 50% { opacity: 0; } }

.ct-send { margin-top: 1.1rem; }
.ct-send .btn { flex: 1 1 210px; min-height: 50px; }
.ct-privacy { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; font-size: .8rem; line-height: 1.5; color: var(--text-muted); }
.ct-privacy svg { width: 14px; height: 14px; flex: none; margin-top: .2rem; color: var(--text-secondary); }

/* ---------- Relógio ---------- */
.ct-clock-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.ct-clock { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.2rem, 4vw, 3rem); }
.ct-dial { width: clamp(84px, 11vw, 124px); height: auto; flex: none; overflow: visible; }
.ct-dial-ring { fill: rgba(255,255,255,.012); stroke: var(--border-strong); stroke-width: 1; }
.ct-dial-ticks { fill: none; stroke: var(--text-muted); stroke-width: 4; }
.ct-hand { stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; }
.ct-hand.m { stroke-width: 1.3; stroke: var(--text-secondary); }
.ct-hand.s { stroke: var(--accent); stroke-width: .8; }
.ct-dial-pin { fill: var(--accent); }

.ct-clock-main { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.ct-time { display: flex; align-items: baseline; flex-wrap: wrap; font-family: var(--font-mono); font-weight: 400; font-size: clamp(2.1rem, 6.4vw, 4.2rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.ct-time i { font-style: normal; color: var(--text-muted); margin: 0 .04em; }
.ct-time .s { color: var(--accent); }
.ct-time small { margin-left: .9rem; font-size: .72rem; letter-spacing: .1em; color: var(--accent); padding: .3rem .55rem; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); align-self: center; }
.ct-date { font-size: .92rem; color: var(--text-secondary); }
.ct-date::first-letter { text-transform: uppercase; }

.ct-facts { display: grid; gap: .7rem; min-width: min(250px, 100%); padding-left: clamp(1.2rem, 3vw, 2.2rem); border-left: 1px solid var(--border); }
.ct-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; }
.ct-facts dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.ct-facts dd { font-size: .9rem; color: var(--text); text-align: right; }
@media (max-width: 860px) {
  .ct-clock { grid-template-columns: auto minmax(0, 1fr); }
  .ct-facts { grid-column: 1 / -1; padding: 1.2rem 0 0; border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 420px) {
  .ct-dial { width: 68px; }
  .ct-time small { margin-left: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-channel:hover .ct-ico { transform: none; }
  .ct-preview-body .ct-caret { animation: none; }
}

/* valores longos (e-mail, handle) */
.ct-channel-value.ct-long { font-size: clamp(.98rem, 1.45vw, 1.22rem); }
