/* CredInternacional — institutional site.
   Dark / white / light-grey bands with large type; navy and lime identity, a
   marker highlight and rounded cards. */

:root {
  --ink: #101828;
  --muted: #566074;
  --muted-2: #a7afbd;
  --line: rgba(16, 24, 40, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --paper: #ffffff;
  --paper-2: #f2f4f8;
  --deep: #14294a;
  --deep-2: #0e1f3a;
  --accent: #b5e655;          /* marker / CTA */
  --accent-ink: #14294a;
  --brand-tile: #eef7e2;       /* behind the brand logo in the mosaic */
  --brand-shot: #14294a;
  --col: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 20px;
  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
::selection { background: var(--accent); color: var(--accent-ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
mark { background: none; color: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: #fff; padding: 8px 12px; }

/* ---- bands & column --------------------------------------------------- */
.band { position: relative; }
.band--dark { background: var(--deep); color: #fff; }
.band--light { background: var(--paper-2); }
.col { max-width: var(--col); margin: 0 auto; padding: 0 var(--pad); }

/* ---- header ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(20, 41, 74, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.bar { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.wordmark .logo { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav a { text-decoration: none; color: rgba(255, 255, 255, 0.78); transition: color 0.15s; }
.nav a:hover { color: #fff; }
.nav-cta { appearance: none; border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; font: 600 15px var(--font-body); padding: 9px 18px; border-radius: 99px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.nav-cta:hover { background: #fff; color: var(--deep); border-color: #fff; }

/* ---- buttons & links -------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; text-decoration: none; font: 600 17px var(--font-body); padding: 15px 22px; border-radius: 99px; transition: background 0.2s, gap 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn:hover { gap: 18px; }
.btn svg { flex: none; }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: #e8edf5; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #c8ef7a; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.link-arrow:hover::after { transform: translateX(4px); }
.btn:focus-visible, .nav-cta:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- hero ------------------------------------------------------------- */
.hero { overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(181, 230, 85, 0.22), transparent 70%); pointer-events: none; }
.hero .col { position: relative; min-height: clamp(560px, calc(100svh - 80px), 780px); display: flex; flex-direction: column; justify-content: center; gap: 64px; padding-top: 72px; padding-bottom: 40px; }
.hero-main { max-width: 860px; margin-top: auto; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 6.6vw, 88px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.hero h1 mark, .c-title mark, .notfound h1 mark { background: var(--accent); color: var(--accent-ink); padding: 0 0.12em; border-radius: 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero h1 { line-height: 1.1; }
.hero h1 mark { background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 100% 85%; }
.hero-lead { margin-top: 24px; max-width: 600px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-ctas .link-arrow { color: #fff; }

.partners { margin-top: auto; display: flex; align-items: center; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.65); }
.partners-label { flex: none; font-size: 15px; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.partner { height: 32px; width: auto; flex: none; filter: brightness(0) invert(1); opacity: 0.6; }

/* ---- placeholder marker (remove before launch) ------------------------ */
.ph { outline: 1px dashed #e0a100; outline-offset: 2px; background: rgba(224, 161, 0, 0.08); }

/* ---- generic section ------------------------------------------------- */
.section .col { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.band--dark .kicker { color: var(--accent); }
.h2 { margin-top: 14px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); }
.lead + .lead { margin-top: 1em; }
.band--dark .lead { color: rgba(255, 255, 255, 0.75); }
.section-head { max-width: 720px; }
.section-head .lead { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ---- brands ----------------------------------------------------------- */
.brand { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); box-shadow: 0 1px 0 var(--line); }
.brand > div:last-child { padding: 8px clamp(4px, 2vw, 24px) 8px 0; }
.mosaic { display: grid; grid-template-columns: 1fr 2fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 3 / 2; }
.mosaic > * { border-radius: 14px; overflow: hidden; min-height: 0; }
.mosaic .m-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.mosaic .m-mark { background: var(--brand-tile); display: grid; place-items: center; padding: 16%; }
.mosaic .m-mark img { width: 100%; height: auto; }
.mosaic .m-shot { grid-column: 2; grid-row: 1 / span 2; background: var(--brand-shot); padding: 7% 0 0 7%; }
.mosaic .m-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 8px 0 0 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.brand h3 { font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -0.02em; }
.brand p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { background: var(--paper-2); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.brand .link-arrow { margin-top: 24px; }

/* ---- how we work ------------------------------------------------------ */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--paper-2); border-radius: var(--radius); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; }
.step-n { font-family: var(--font-display); font-weight: 600; font-size: 15px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--accent); }
.step h3 { margin-top: 8px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---- what guides us (dark band, 3 cards) ----------------------------- */
.stats { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--deep-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px 28px 32px; }
.stat svg { width: 26px; height: 26px; color: var(--accent); }
.stat h3 { margin: 22px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.01em; color: #fff; }
.stat p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }

/* ---- people ---------------------------------------------------------- */
.people .col { padding-bottom: clamp(40px, 6vw, 64px); }
/* columns of stacked photos, each column split differently.
   padding-right = gap so translateX(-50%) lands exactly on the duplicated set. */
.photo-strip { --g: 8px; --h: 490px; overflow: hidden; padding: 0 0 clamp(64px, 8vw, 104px); }
.photo-track { display: flex; gap: var(--g); padding-right: var(--g); width: max-content; animation: scroll-x 80s linear infinite; }
.photo-strip:hover .photo-track { animation-play-state: paused; }
.pcol { flex: none; width: calc(var(--h) * 0.68); height: var(--h); display: flex; flex-direction: column; gap: var(--g); }
.pcol figure { flex: 1 1 0; min-height: 0; margin: 0; overflow: hidden; border-radius: 10px; background: #e6eaf1; }
.pcol img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcol--a figure:first-child { flex: 0 0 30%; }
.pcol--b figure:first-child { flex: 0 0 13%; }
.pcol--b figure:last-child { flex: 0 0 15%; }
.pcol--c figure:last-child { flex: 0 0 33%; }
.pcol--d figure:first-child { flex: 0 0 36%; }

/* ---- contact band ---------------------------------------------------- */
.cta .col { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.cta-card { background: var(--deep); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title btn" "text btn"; gap: 14px 48px; align-items: center; position: relative; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(181, 230, 85, 0.25), transparent 70%); pointer-events: none; }
.cta-card .h2 { grid-area: title; margin: 0; }
.cta-card .lead { grid-area: text; color: rgba(255, 255, 255, 0.75); max-width: 560px; }
.cta-card .btn { grid-area: btn; position: relative; z-index: 1; }

/* ---- footer ---------------------------------------------------------- */
.site-footer .col { padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 0.8fr; gap: 40px; }
.footer-tag { margin-top: 16px; max-width: 280px; color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.footer-legal { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, 0.65); }
.footer-legal strong { color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.footer-legal a { color: #fff; }
.footer-nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-nav a, .footer-contact { color: rgba(255, 255, 255, 0.8); text-decoration: none; justify-self: start; }
.footer-nav a:hover, .footer-contact:hover { color: #fff; text-decoration: underline; }
.footer-contact { appearance: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.footer-links a { color: #fff; }

/* ---- legal pages ----------------------------------------------------- */
.legal-head .col { height: 80px; display: flex; align-items: center; }
.legal-head .wordmark .logo { height: 30px; }
.legal .col { padding-top: 64px; padding-bottom: 96px; }
.prose { max-width: 760px; margin: 0 auto; color: #1f2a3d; font-size: 17px; line-height: 1.7; }
.prose h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.02em; line-height: 1.1; }
.prose .updated { margin-top: 10px; color: var(--muted); font-size: 15px; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.01em; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p { margin: 12px 0; }
.prose ul { margin: 12px 0; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose a { color: var(--deep); }
.back { display: inline-block; margin-bottom: 32px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--ink); }

/* ---- 404 ------------------------------------------------------------- */
.notfound .col { min-height: calc(100svh - 80px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; }
.notfound h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 6vw, 80px); line-height: 1.05; letter-spacing: -0.025em; }

/* ---- responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .split, .brand { grid-template-columns: 1fr; }
  .brand > div:last-child { padding: 0 8px 12px; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .cta-card { grid-template-columns: 1fr; grid-template-areas: "title" "text" "btn"; }
  .cta-card .btn { justify-self: start; margin-top: 14px; }
}
@media (max-width: 760px) {
  .nav a { display: none; }
}
@media (max-width: 640px) {
  .bar { height: 68px; gap: 12px; }
  /* logo encolhe antes do botão quebrar linha (wordmarks longos nos sites derivados) */
  .wordmark { min-width: 0; flex: 0 1 auto; }
  .wordmark .logo { height: auto; max-height: 26px; max-width: 100%; }
  .nav-cta { white-space: nowrap; padding: 8px 14px; font-size: 14px; }
  html { scroll-padding-top: 76px; }
  .hero .col { min-height: clamp(520px, calc(100svh - 68px), 720px); gap: 48px; padding-top: 48px; }
  .partners { flex-direction: column; align-items: flex-start; gap: 16px; }
  .marquee { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .mosaic { aspect-ratio: 4 / 3; }
  .photo-strip { --h: 333px; }
  .stat { padding: 24px 22px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .photo-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- entrance animations -------------------------------------------
   Spring {stiffness 100, damping 10, mass 1} drawn as a linear() curve,
   plus a critically damped one for quick moves. Hidden states hang off
   html.motion, so the page is fully visible without JS or with reduced motion. */
:root {
  --spring: linear(0, 0.0287, 0.1044, 0.2127, 0.3403, 0.476, 0.6105, 0.7367, 0.8494, 0.9455, 1.0234, 1.0827, 1.1244, 1.15, 1.1616, 1.1619, 1.1531, 1.1379, 1.1184, 1.0968, 1.0746, 1.0532, 1.0336, 1.0165, 1.0023, 0.9911, 0.9828, 0.9774, 0.9744, 0.9734, 0.9742, 0.9761, 0.979, 0.9824, 0.986, 0.9896, 0.9929, 0.9959, 0.9985, 1.0006, 1.0022, 1.0033, 1.004, 1.0043, 1);
  --spring-dur: 1.1s;
  --crit: linear(0, 0.0656, 0.202, 0.3536, 0.4942, 0.6139, 0.7106, 0.7862, 0.8438, 0.887, 0.9188, 0.9421, 0.9589, 0.971, 0.9796, 0.9857, 0.99, 0.993, 1);
  --crit-dur: 0.45s;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.motion .fx .w { display: inline-block; white-space: nowrap; }
.motion .fx .tk {
  display: inline-block; opacity: 0.001; transform: translateY(10px); filter: blur(var(--blur, 0px));
  transition-property: opacity, transform, filter;
  transition-duration: var(--dur, var(--spring-dur));
  transition-timing-function: var(--ease, var(--spring));
  transition-delay: calc(var(--start, 0ms) + var(--i, 0) * var(--step, 50ms));
}
.motion .fx.is-in .tk { opacity: 1; transform: none; filter: blur(0); }
.motion [data-appear] {
  opacity: 0.001; transform: translateY(var(--y, 0px)) scale(var(--s, 1));
  transition: opacity var(--spring-dur) var(--spring), transform var(--spring-dur) var(--spring);
  transition-delay: var(--delay, 0ms);
}
.motion [data-appear].is-in { opacity: 1; transform: none; }
/* Buttons keep their own hover transitions next to the entrance. */
.motion .hero-ctas[data-appear] .btn, .motion .cta-card .btn[data-appear] { transition: opacity var(--spring-dur) var(--spring), transform var(--spring-dur) var(--spring), background 0.2s, gap 0.3s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--delay, 0ms), var(--delay, 0ms), 0s, 0s; }
/* Hero highlight: the marker paints left to right once the letters are in. */
.motion .hero h1.fx mark { color: #fff; background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 0% 85%; transition: background-size 0.7s cubic-bezier(0.65, 0, 0.35, 1), color 0.35s ease; transition-delay: calc(var(--start, 0ms) + var(--chars, 20) * var(--step, 50ms) * 0.55), calc(var(--start, 0ms) + var(--chars, 20) * var(--step, 50ms) * 0.55 + 250ms); }
.motion .hero h1.fx.is-in mark { color: var(--accent-ink); background-size: 100% 85%; }

/* ---- contact panel (Contact us) -------------------------------------
   Dark green column sliding in from the right. */
.contact-open { overflow: hidden; }
#contact { position: fixed; inset: 0; z-index: 50; overflow: hidden; }
#contact[hidden] { display: none; }
.c-backdrop { position: absolute; inset: 0; background: rgba(6, 14, 28, 0.6); opacity: 0; transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.c-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 100%);
  background: var(--deep); color: #fff; border-left: 1px solid var(--line-dark);
  display: flex; flex-direction: column; overflow: auto;
  transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-color: #24406e transparent; box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
}
#contact.is-open .c-backdrop { opacity: 1; }
#contact.is-open .c-panel { transform: none; }
.c-panel ::selection { background: #fff; color: var(--deep); }
.c-head { height: 80px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 48px); border-bottom: 1px solid var(--line-dark); }
.c-head img { height: 28px; width: auto; }
.c-x { appearance: none; border: 1px solid var(--line-dark); background: none; color: #fff; height: 40px; padding: 0 14px 0 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--font-body); cursor: pointer; transition: border-color 0.2s; }
.c-x:hover { border-color: rgba(255, 255, 255, 0.6); }
.c-x:focus-visible, .c-send:focus-visible, .c-back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.c-body { padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 48px) clamp(28px, 5vw, 48px); flex: 1; display: flex; flex-direction: column; }
.c-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.025em; }
.c-panel form { margin-top: clamp(36px, 6vw, 56px); display: grid; gap: 30px; flex: 1; align-content: start; }
.c-field { display: grid; gap: 8px; }
.c-field label { font-size: 14px; color: rgba(255, 255, 255, 0.68); }
.c-panel input, .c-panel textarea {
  font: 400 20px var(--font-body); color: #fff; background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.45); border-radius: 0; padding: 6px 0 12px;
  caret-color: var(--accent); transition: border-color 0.2s;
}
.c-panel textarea { min-height: 136px; resize: vertical; line-height: 1.5; }
.c-panel input::placeholder, .c-panel textarea::placeholder { color: rgba(255, 255, 255, 0.6); }
.c-panel input:focus, .c-panel textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.c-panel [aria-invalid="true"], .c-panel [aria-invalid="true"]:focus { border-bottom-color: #ff9a8a; }
.c-panel [aria-invalid="true"]:focus { box-shadow: 0 1px 0 #ff9a8a; }
.c-sent [data-sent-msg]:focus { outline: none; }
.c-err { color: #ff9a8a; font-size: 14px; }
.c-err:empty { display: none; }
.c-send, .c-back { appearance: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--accent); color: var(--accent-ink); font: 600 17px var(--font-body); padding: 18px 24px; border-radius: 99px; transition: background 0.2s; }
.c-send { margin-top: 8px; }
.c-send:hover, .c-back:hover { background: #c8ef7a; }
.c-send svg { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.c-send:hover svg { transform: translateX(4px); }
.c-sent { margin-top: clamp(36px, 6vw, 56px); }
.c-sent p { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, 0.75); max-width: 40ch; }
.c-sent .c-back { margin-top: 32px; justify-content: center; }
@media (max-width: 640px) { .c-head { height: 68px; } .c-head img { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .c-panel, .c-backdrop { transition: none; } }
