/* Link pages: bio.cgrabbit.com.br (PT) and cgrabbitstudio.com/links/ (EN).
   A copy of the old WordPress/Elementor bio (2026): same background (radial gradient, blue glow at the top left,
   grid image at 10% and the 2x2 texture at 20% over everything), same blocks in the same order, same sizes and radii.
   Font: Aspekta (WordPress) -> Instrument Sans 400, our closest; Aspekta 300 has no match, 400 is the lightest we ship.
   Breakpoints are the Elementor ones: 1366, 1024, 767. Values in comments = the WordPress source. */
.bio { --bio-blue: #1c58f8; --bio-line: rgba(255, 255, 255, .1); position: relative; font-weight: 400; }
.bio::after { /* WordPress body::after: texture over the whole viewport */
  content: ""; position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .2;
  background-image: url("../img/bio-texture.webp"); }

/* stage: the Elementor container 75d625c */
.bio-wrap { position: relative; overflow: hidden; min-height: 100vh; padding: 0 20px 60px;
  background: radial-gradient(circle, #2e2e2e 0%, #0a0a0a 100%); }
.bio-wrap::before { content: ""; position: absolute; top: -350px; left: -500px; width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(circle, var(--bio-blue) 5%, rgba(0, 0, 0, 0) 60%); pointer-events: none; }
.bio-wrap::after { content: ""; position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background: url("../img/bio-bg-grid.webp") no-repeat center center; background-size: cover; }
.bio-wrap > * { position: relative; z-index: 1; max-width: 1280px; margin-left: auto; margin-right: auto; }

/* header: icon box, socials, headline, pill, proof */
.bio-head { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 80px; text-align: center; }
.bio-mark { display: grid; place-items: center; width: 137px; height: 137px; border-radius: 10px; border: 1px solid var(--bio-line);
  background: linear-gradient(180deg, #0d0d0d 0%, rgba(28, 28, 28, 0) 100%); box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(10px) brightness(1.2); backdrop-filter: blur(10px) brightness(1.2); }
.bio-mark img { width: 114px; height: 114px; } /* glyph 50px wide, as in WordPress */
.bio-social { display: flex; justify-content: center; align-items: center; gap: 6px; }
.bio-social a { display: grid; place-items: center; width: 28px; height: 28px; margin: -5px 0; color: #fff; border-radius: 6px; transition: opacity .3s; }
.bio-social a:hover { opacity: .75; }
.bio-social svg { width: 18px; height: 18px; }
.bio-title { max-width: 620px; font-size: 48px; line-height: 1.2; font-weight: 400; letter-spacing: 0; color: #fff; text-wrap: balance; }
.bio-title.is-wide { max-width: 1000px; } /* EN /links/: 2 lines on desktop */
.bio-pill { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 334px; max-width: 100%; height: 66px;
  padding: 10px 16px 10px 50px; border-radius: 999px; border: 1px solid var(--bio-line); background: rgba(0, 0, 0, .1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16); -webkit-backdrop-filter: blur(10px) brightness(1.3); backdrop-filter: blur(10px) brightness(1.3);
  color: #fff; transition: background .5s; }
.bio-pill .txt { flex: 1; text-align: center; font-size: 16px; white-space: nowrap; }
.bio-pill .go, .shot-primary .go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bio-blue); border: 1px solid rgba(255, 255, 255, .11); transition: background .5s; }
.bio-pill .go svg, .shot-primary .go svg { width: 18px; height: 18px; fill: #fff; transition: fill .5s; }
.bio-pill:hover, .shot-primary:hover { background: var(--bio-blue); }
.bio-pill:hover .go, .shot-primary:hover .go { background: #fff; }
.bio-pill:hover .go svg, .shot-primary:hover .go svg { fill: var(--bio-blue); }

.bio-proof { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 73%; margin-top: 48px; }
.bio-cap { font-size: 14px; line-height: 1.2; text-transform: uppercase; color: #fff; }
.bio-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 40px; width: 100%; }
.bio-logos img { width: 100%; max-width: 215px; height: auto; max-height: 72px; object-fit: contain; }
.bio-badge { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--bio-line); background: rgba(255, 255, 255, .05);
  font-size: 16px; line-height: 1.2; color: #fff; text-wrap: balance; }

/* the two cards (17a274a, 600bdca) */
.bio-cards { display: flex; gap: 20px; margin-top: 120px; }
.bio-card { position: relative; flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  min-height: 197px; padding: 20px; border-radius: 10px; border: 1px solid var(--bio-line); overflow: hidden; color: #fff;
  background: #0f0f0f url("../img/bio-bg-card-1.webp") no-repeat right center; background-size: cover;
  transition: transform .8s ease-in-out; }
.bio-card.is-site { background-image: url("../img/bio-bg-card-2.webp"); }
.bio-card:hover { transform: translateY(-3px) scale(1.02); }
.bio-card .ico { display: grid; place-items: center; width: 95px; height: 95px; border-radius: 16px; }
.bio-card.is-wa .ico, .bio-card.is-blue .ico { background: #0053f7; }
.bio-card.is-wa .ico svg, .bio-card.is-blue .ico svg { width: 50px; height: 50px; }
.bio-card.is-site .ico { background: rgba(255, 255, 255, .04); box-shadow: inset 2px 2px 6px rgba(255, 255, 255, .15), 0 3px 6px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bio-card.is-site .ico svg { width: 51px; height: 48px; }
.bio-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 20px; }
.bio-card .t { font-size: 32px; line-height: 1.2; font-weight: 400; }
.bio-card .arr { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .11); background: rgba(0, 0, 0, .53); transition: background .5s; }
.bio-card .arr svg { width: 12px; height: 12px; fill: #fff; }
.bio-card:hover .arr { background: #0053f7; }

/* Dribbble feed (aaf7fae, .dribbble-grid): 3 columns, 1 on the phone, 8px radius */
.bio-feed { margin-top: 120px; }
.bio-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bio-shot { display: block; border-radius: 8px; overflow: hidden; background: #141414; cursor: zoom-in; }
button.bio-shot { width: 100%; margin: 0; padding: 0; border: 0; font: inherit; color: inherit; text-align: inherit; -webkit-appearance: none; appearance: none; }
.bio-shot[data-direct] { cursor: pointer; } /* EN /links/: plain link to the case */
/* EN /links/: o bloco de restaurante (o que vem antes de "More work") em 2 colunas, cards maiores e sem card sozinho na linha */
@media (min-width: 769px) { .bio-groups > .bio-shots:has(+ .bio-more) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bio-more { margin: 56px 0 20px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: #aebfeb; }
.bio-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: transform .6s ease, opacity .3s; }
.bio-shot:hover img { transform: scale(1.03); }

/* "Explore CGRabbit" band (.cgr-seo) */
.bio-explore { position: relative; z-index: 1; padding: 42px 20px 52px; background: #161616; border-top: 1px solid #353535; color: #f5f5f5; }
.bio-explore-in { max-width: 920px; margin: 0 auto; }
.bio-eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: #aebfeb; }
.bio-explore h2 { margin-bottom: 25px; font-size: clamp(24px, 4vw, 35px); line-height: 1.16; font-weight: 500; letter-spacing: -.04em; }
.bio-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bio-links a { display: block; padding: 18px; border-radius: 13px; border: 1px solid #3b3b3b; background: #1e1e1e; color: #fff; transition: border-color .2s; }
.bio-links a:hover { border-color: #7f9cfc; }
.bio-links b { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; }
.bio-links span { display: block; font-size: 13px; line-height: 1.45; color: #bfbfbf; }
.bio-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; font-size: 13px; color: #9a9a9a; }
.bio-foot a { color: #f5f5f5; border-bottom: 1px solid #3b3b3b; }
.bio-foot-r { display: flex; gap: 18px; align-items: baseline; }
.bio-foot button[data-consent-open] { font: inherit; color: #9a9a9a; background: none; border: 0; padding: 0; cursor: pointer; }
.bio-foot button[data-consent-open]:hover { color: #f5f5f5; }

/* popup of a shot */
html.shot-lock { overflow: hidden; }
.shot-modal { width: min(880px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0;
  border: 0; background: transparent; color: #fff; overflow: visible; }
.shot-modal::backdrop { background: rgba(5, 5, 5, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.shot-modal[open] { animation: shot-in .22s ease-out; }
@keyframes shot-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.shot-panel { position: relative; max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; padding: 12px;
  border-radius: 10px; border: 1px solid var(--bio-line); background: #0f0f0f; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.shot-media { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #141414 center / cover no-repeat; }
.shot-media img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.shot-media.is-loaded img { opacity: 1; }
.shot-close { position: absolute; top: 20px; right: 20px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16) !important; background: rgba(0, 0, 0, .62); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.shot-close svg { width: 18px; height: 18px; }
.shot-close:hover { background: #0053f7; }
.shot-body { padding: 16px 8px 8px; }
.shot-t { font-size: 20px; line-height: 1.3; font-weight: 400; letter-spacing: 0; color: #fff; }
.shot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.shot-primary { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 6px 6px 24px; border-radius: 999px;
  border: 1px solid var(--bio-line); background: rgba(255, 255, 255, .04); color: #fff; font-size: 16px; transition: background .5s; }
.shot-dribbble { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-size: 15px; color: #d4d4d8;
  border-bottom: 1px solid transparent; }
.shot-dribbble:hover { color: #fff; }
.shot-dribbble[hidden] { display: none; }
.bio a:focus-visible, .bio button:focus-visible, .shot-modal a:focus-visible, .shot-close:focus-visible { outline: 2px solid #5a8dff; outline-offset: 3px; }

@media (max-width: 1366px) {
  .bio-wrap::before { left: -600px; }
  .bio-title { font-size: 32px; }
}
@media (max-width: 1024px) {
  .bio-mark { width: 100px; height: 100px; }
  .bio-mark img { width: 92px; height: 92px; }
  .bio-title { font-size: 24px; }
  .bio-proof { width: 100%; }
  .bio-cards { margin-top: 100px; }
  .bio-card { min-height: 170px; }
  .bio-card .ico { width: 60px; height: 60px; }
  .bio-card.is-wa .ico svg, .bio-card.is-blue .ico svg, .bio-card.is-site .ico svg { width: 30px; height: 30px; }
  .bio-card .t { font-size: 24px; }
  .bio-feed { margin-top: 100px; }
}
@media (max-width: 768px) {
  .bio-shots { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .bio-wrap { padding-top: 60px; }
  .bio-head { padding-top: 0; }
  .bio-pill { width: 100%; }
  .bio-pill .go { width: 32px; height: 32px; }
  .bio-pill .go svg { width: 14px; height: 14px; }
  .bio-proof { margin-top: 24px; }
  .bio-cap { line-height: 1.4; }
  .bio-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
  .bio-cards { flex-direction: column; margin-top: 60px; }
  .bio-card { flex: none; }
  .bio-card .t { font-size: 20px; }
  .bio-feed { margin-top: 60px; }
  .bio-more { margin-top: 40px; }
  .shot-modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .shot-panel { max-height: calc(100dvh - 16px); padding: 8px; }
  .shot-close { top: 14px; right: 14px; }
  .shot-body { padding: 14px 6px 6px; }
  .shot-t { font-size: 18px; }
  .shot-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .shot-primary { justify-content: space-between; }
  .shot-dribbble { justify-content: center; }
}
@media (max-width: 700px) {
  .bio-links { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .bio-pill { padding-left: 24px; }
  .bio-pill .txt { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .bio-card, .bio-shot img, .shot-media img, .bio-pill, .bio-pill .go { transition: none; }
  .bio-card:hover { transform: none; }
  .bio-shot:hover img { transform: none; }
  .shot-modal[open] { animation: none; }
}

/* v2: popup centered on phones with a safe margin; the panel scrolls inside and the close button sticks to its top */
.shot-modal { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.shot-panel { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch; }
.shot-close { position: sticky; top: 8px; margin: 8px 8px -48px auto; }
@media (max-width: 560px) {
  .shot-modal { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .shot-panel { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .shot-close { top: 6px; margin: 6px 6px -46px auto; }
}

/* ======================================================================================================
   v2 claro · 23/10/2026 · a bio sai do fundo escuro (decisão de 21/10: sites EN, BR e bio em fundo claro com pontos).
   Mesma estrutura e mesmo JS; aqui só cor: tokens claros na página (clareia também o pop-up de avaliação do site.css),
   cards brancos, texto quase preto, azul só de destaque, logos dos clientes nas cores das marcas.
   ====================================================================================================== */
body:has(.bio) { color-scheme: light; --bg: #F4F5F7; --bg-2: #ECEDF0; --panel: #fff; --card: #fff; --raised: #F4F5F7; --chip: #ECEDF0; --line-3: #D6D9E0;
  --faint: #6B7079; --muted: #5B5B66; --text: #0E0F12; --paper: #0E0F12; --paper-2: #1A1B20; --paper-3: #2A2B31; --blue-ink: #0053F7;
  --border: #E3E6EC; --border-strong: #D6D9E0; --shadow-card: 0 1px 2px rgba(14, 15, 18, .05), 0 24px 48px -24px rgba(14, 15, 18, .18);
  --shadow-float: 0 32px 64px -24px rgba(14, 15, 18, .3); background: #F4F5F7; color: #0E0F12; }
.bio { --bio-line: #E3E6EC; }
.bio::after { display: none; }
.bio-wrap { background: #F4F5F7 radial-gradient(circle, rgba(14, 15, 18, .07) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.bio-wrap::before { top: -420px; left: -420px; background: radial-gradient(circle, rgba(0, 83, 247, .16) 5%, rgba(0, 83, 247, 0) 62%); }
.bio-wrap::after { display: none; }
.bio-mark { background: #fff; border-color: #E3E6EC; box-shadow: 0 1px 2px rgba(14, 15, 18, .05), 0 18px 36px -22px rgba(14, 15, 18, .3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bio-mark img { filter: invert(1); }
.bio-social a { color: #0E0F12; }
.bio-title { color: #0E0F12; letter-spacing: -.025em; font-weight: 500; }
.bio-pill { background: #fff; color: #0E0F12; border-color: #E3E6EC; box-shadow: 0 1px 2px rgba(14, 15, 18, .05), 0 14px 28px -18px rgba(14, 15, 18, .3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bio-pill .go, .shot-primary .go { border-color: transparent; }
.bio-pill:hover, .shot-primary:hover { color: #fff; }
.bio-cap { color: #5B5B66; letter-spacing: .06em; }
.bio-badge { background: #fff; color: #0E0F12; border-color: #E3E6EC; }
.bio-card { color: #0E0F12; background: #fff; border-color: #E3E6EC; box-shadow: 0 1px 2px rgba(14, 15, 18, .04), 0 18px 36px -26px rgba(14, 15, 18, .3); }
.bio-card.is-site { background-image: none; }
.bio-card.is-site .ico { background: #ECEDF0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #0E0F12; }
.bio-card.is-site .ico svg { fill: #0E0F12; color: #0E0F12; }
.bio-card .arr { border-color: #E3E6EC; background: #F4F5F7; }
.bio-card .arr svg { fill: #0E0F12; }
.bio-card:hover .arr { background: #0053F7; border-color: transparent; }
.bio-card:hover .arr svg { fill: #fff; }
.bio-shot { background: #ECEDF0; box-shadow: 0 1px 2px rgba(14, 15, 18, .05); }
.bio-more, .bio-eyebrow { color: #5B5B66; }
.bio-explore { background: #ECEDF0; border-top-color: #E3E6EC; color: #0E0F12; }
.bio-links a { background: #fff; border-color: #E3E6EC; color: #0E0F12; }
.bio-links a:hover { border-color: #0053F7; }
.bio-links span { color: #5B5B66; }
.bio-foot { color: #5B5B66; }
.bio-foot a { color: #0E0F12; border-bottom-color: #D6D9E0; }
.bio-foot button[data-consent-open] { color: #5B5B66; }
.bio-foot button[data-consent-open]:hover { color: #0E0F12; }
.shot-modal { color: #0E0F12; }
.shot-modal::backdrop { background: rgba(14, 15, 18, .55); }
.shot-panel { background: #fff; border-color: #E3E6EC; box-shadow: 0 30px 80px -20px rgba(14, 15, 18, .45); }
.shot-media { background-color: #ECEDF0; }
.shot-t { color: #0E0F12; }
.shot-primary { background: #F4F5F7; border-color: #E3E6EC; color: #0E0F12; }
.shot-dribbble { color: #5B5B66; } .shot-dribbble:hover { color: #0E0F12; }
.bio a:focus-visible, .bio button:focus-visible, .shot-modal a:focus-visible, .shot-close:focus-visible { outline-color: #0053F7; }
