/* =========================================================
   CONTATO: Correio do Reino do Cogumelo
   ========================================================= */
.ct { overflow-x: clip; background: var(--mbr-cream); }
.ct [hidden] { display: none !important; }
.ct h1, .ct h2 { font-family: var(--mbr-font-display); font-weight: 400; line-height: 1.05; }

/* ---------- Topo ---------- */
.ct-hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 56px 16px 110px;
  background: linear-gradient(#4a86f7, #6fa4ff 60%, #a9c9ff);
}
.ct-cloud {
  position: absolute; width: 150px; height: 46px; background: #fff; border-radius: 46px; z-index: -1;
  box-shadow: 0 6px 0 rgba(0, 40, 120, .12); animation: ctDrift linear infinite;
}
.ct-cloud::before, .ct-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.ct-cloud::before { width: 70px; height: 70px; left: 22px; top: -36px; }
.ct-cloud::after { width: 54px; height: 54px; left: 74px; top: -24px; }
.ct-cloud--1 { top: 18%; animation-duration: 80s; animation-delay: -20s; }
.ct-cloud--2 { top: 48%; transform: scale(.7); animation-duration: 100s; animation-delay: -60s; }
.ct-cloud--3 { top: 10%; transform: scale(1.15); animation-duration: 120s; animation-delay: -95s; }
@keyframes ctDrift { from { left: -220px; } to { left: 110%; } }
.ct-hero__in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.ct-kicker {
  display: inline-block; margin: 0 0 14px; font-family: var(--mbr-font-pixel); font-size: 11px; line-height: 1.6;
  color: var(--mbr-yellow); background: #000; padding: 8px 12px; border-radius: 6px;
}
.ct-title {
  margin: 0 0 16px; font-size: clamp(56px, 9vw, 112px); color: #fff; letter-spacing: .5px;
  text-shadow: 0 5px 0 #1b1b1f, 3px 0 0 #1b1b1f, -3px 0 0 #1b1b1f, 0 -3px 0 #1b1b1f, 3px 5px 0 #1b1b1f, -3px 5px 0 #1b1b1f, 0 12px 0 rgba(0, 0, 0, .18);
}
.ct-lead {
  margin: 0; max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: #0b1d4d;
  background: rgba(255, 255, 255, .75); padding: 14px 18px; border-radius: 16px;
}
.ct-hero__toad { position: relative; justify-self: center; }
.ct-hero__toad img { width: min(260px, 60vw); height: auto; filter: drop-shadow(0 14px 16px rgba(0, 30, 90, .3)); animation: ctBob 3.6s ease-in-out infinite; }
@keyframes ctBob { 50% { transform: translateY(-10px) rotate(-2deg); } }
.ct-bubble {
  position: absolute; right: 70%; top: 4%; width: 190px; margin: 0; padding: 12px 14px; z-index: 1;
  font-weight: 900; font-size: 15px; line-height: 1.35; color: var(--mbr-ink); background: #fff; border-radius: 18px;
  box-shadow: 0 6px 0 rgba(0, 40, 120, .18);
}
.ct-bubble::after { content: ""; position: absolute; right: -12px; top: 30px; border: 10px solid transparent; border-left: 16px solid #fff; border-right: 0; }
.ct-ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background:
    linear-gradient(#0000 22px, #00000059 22px 24px, #0000 24px) 0 0 / 48px 48px,
    linear-gradient(90deg, #0000 46px, #00000059 46px) 0 0 / 48px 24px,
    linear-gradient(90deg, #0000 22px, #00000059 22px 24px, #0000 24px) 0 24px / 48px 48px,
    #c84c0c;
  box-shadow: inset 0 4px 0 #fca044;
}
@media (max-width: 820px) {
  .ct-hero { padding: 40px 16px 100px; }
  .ct-hero__in { grid-template-columns: 1fr; text-align: center; }
  .ct-lead { margin: 0 auto; }
  .ct-hero__toad { order: -1; }
  .ct-hero__toad img { width: 150px; }
  .ct-bubble { right: 82%; width: 150px; font-size: 13px; top: 0; }
}

/* ---------- Formulário ---------- */
.ct-main { padding: 70px 16px 100px; }
.ct-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ct-card { position: relative; background: #fff; border-radius: 28px; padding: 36px 38px 30px; box-shadow: 0 10px 0 #ead9c3, 0 24px 40px -20px rgba(80, 50, 10, .3); }
.ct-h2 { font-size: clamp(30px, 3.6vw, 40px); margin: 0 0 6px; color: var(--mbr-ink); }
.ct-req { margin: 0 0 24px; color: var(--mbr-muted); font-weight: 700; font-size: 14px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.ct-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 900; font-size: 15px; color: var(--mbr-ink); }
.ct-label small { font-weight: 800; font-size: 12px; color: var(--mbr-muted); }
.ct-label small.is-near { color: var(--mbr-red); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: var(--mbr-ink);
  background: #fbf6ec; border: 3px solid #eadbc4; border-radius: 14px; padding: 12px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.ct-field textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.ct-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mbr-red) 50%), linear-gradient(135deg, var(--mbr-red) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #a8998a; font-weight: 600; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--mbr-blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 79, 191, .15); }
.ct-field.is-invalid input, .ct-field.is-invalid select, .ct-field.is-invalid textarea { border-color: var(--mbr-red); background: #fff5f5; }
.ct-err { min-height: 0; font-size: 13.5px; font-weight: 800; color: var(--mbr-red); }
.ct-err:empty { display: none; }
.ct-honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-turnstile { margin: 0 0 14px; }
.ct-turnstile:empty { display: none; }
.ct-send { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 6px; }
.ct-btn { font-size: 20px; padding: 14px 26px; }
.ct-btn[disabled] { opacity: .75; cursor: progress; }
.ct-btn.is-loading svg { animation: ctFly .8s ease-in-out infinite; }
@keyframes ctFly { 50% { transform: translateX(5px) rotate(-10deg); } }
.ct-pipe {
  position: relative; width: 70px; height: 54px; margin-right: 8px;
  background: linear-gradient(90deg, #0a5a14, #36c447 30%, #8ef09a 42%, #27a83a 60%, #0a5a14); border: 4px solid #062e0a; border-bottom: 0;
}
.ct-pipe__lip { position: absolute; left: -12px; right: -12px; top: -26px; height: 28px; background: inherit; border: 4px solid #062e0a; border-radius: 5px; }
.ct-pipe.is-gulp { animation: ctGulp .4s ease; }
@keyframes ctGulp { 40% { transform: scaleY(.88) scaleX(1.08); } }
.ct-envelope {
  position: fixed; z-index: 9000; width: 46px; height: 32px; pointer-events: none;
  background: #fff; border: 3px solid var(--mbr-ink); border-radius: 4px;
  transition: left .7s cubic-bezier(.4, 0, .2, 1), top .7s cubic-bezier(.5, -0.6, .7, 1), transform .7s, opacity .2s .65s;
}
.ct-envelope::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent 49%, var(--mbr-ink) 49% 52%, transparent 52%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49%, var(--mbr-ink) 49% 52%, transparent 52%) right / 50% 100% no-repeat; }
.ct-envelope::after { content: ""; position: absolute; right: 4px; top: 3px; width: 9px; height: 10px; background: var(--mbr-red); }
.ct-privacy { margin: 22px 0 0; font-size: 14px; font-weight: 700; color: var(--mbr-muted); }

/* Estados */
.ct-state { text-align: center; padding: 20px 6px 10px; }
.ct-state:focus { outline: none; }
.ct-state__icon { width: 120px; height: auto; margin: 0 auto 12px; animation: ctBob 3s ease-in-out infinite; }
.ct-state p { font-size: 17px; font-weight: 700; color: var(--mbr-muted); max-width: 520px; margin: 0 auto 20px; }
.ct-state__coin { display: block; margin: 0 auto 22px; transform: scale(1.3); }
.ct-state__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Lateral ---------- */
.ct-side { display: grid; gap: 18px; }
.ct-box { display: block; background: #fff; border-radius: 22px; padding: 22px 22px 20px; box-shadow: 0 6px 0 #ead9c3; color: var(--mbr-ink); text-decoration: none; }
.ct-h3 { font-size: 24px; margin: 0 0 8px; }
.ct-box p { margin: 0 0 8px; font-weight: 700; color: var(--mbr-muted); }
.ct-mail { font-size: 18px; word-break: break-all; }
.ct-mail a { color: var(--mbr-red); font-weight: 900; }
.ct-copy {
  margin-top: 6px; border: 2px solid #e3cfb0; background: #fff8ec; border-radius: 999px; padding: 7px 14px; font-weight: 900; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.ct-copy:hover { border-color: var(--mbr-red); }
.ct-copy.is-done { background: #e6f7ea; border-color: var(--br-green); color: #006627; }
.ct-topics { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.ct-topics li { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 15px; line-height: 1.35; }
.ct-q {
  flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px;
  font-family: var(--mbr-font-pixel); font-size: 12px; color: #fff; background: #f2a400; box-shadow: inset 0 -3px 0 #b36b00, inset 0 2px 0 #ffd36b; text-shadow: 1px 1px 0 #7a4400;
}
.ct-box--letter { background: var(--br-green); color: #fff; box-shadow: 0 6px 0 #006627; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.ct-box--letter:hover, .ct-box--letter:focus-visible { transform: translateY(-4px) rotate(-1deg); }
.ct-box__kicker { display: inline-block; font-family: var(--mbr-font-pixel); font-size: 10px; background: var(--br-yellow); color: #3b2a00; padding: 6px 8px; border-radius: 5px; margin-bottom: 10px; }
.ct-box--letter strong { display: block; font-family: var(--mbr-font-display); font-weight: 400; font-size: 24px; margin-bottom: 4px; }
.ct-box--letter span:last-child { font-weight: 800; font-size: 14.5px; color: #e4ffe9; }

@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ct-card { padding: 26px 18px 22px; border-radius: 22px; }
  .ct-row { grid-template-columns: 1fr; gap: 0; }
  .ct-send { flex-direction: column; align-items: stretch; }
  .ct-btn { justify-content: center; }
  .ct-pipe { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-cloud { animation: none; }
}
