/* ===========================================================
   Gabriel Vidal — portfólio
   Layout: página clara em papel off-white; os projetos ficam
   numa faixa preta de ponta a ponta e o contato num bloco azul
   com cantos arredondados. Azul itálico marca as palavras-chave.
   =========================================================== */

:root {
  color-scheme: light;

  /* — cor — */
  --paper:      #f6f6f4;
  --white:      #ffffff;
  --ink:        #0a0a0a;
  --ink-soft:   #6b6c70;
  --ink-faint:  #9a9ba0;
  --line:       #e3e3df;

  --black:      #0d0d0d;
  --black-card: #151515;
  --black-line: #272727;
  --black-line-2: #3a3a3a; /* borda do botão fantasma */
  --black-soft: #8e8e8e;
  --black-fg:   #e4e4e4;   /* texto sobre o preto */
  --tag-line:   #2f2f2f;
  --tag-fg:     #b2b2b2;

  --ink-hover:  #2b2b2b;   /* botão escuro no hover */

  --blue:       #1e3cf0;
  --lime:       #c9f53f;
  --lime-hover: #d8fa6e;
  --blue-claro: #7f95ff;  /* azul legível sobre o preto */

  /* véus brancos sobre o bloco azul */
  --on-blue-dim:  #ffffffa6;
  --on-blue-soft: #ffffffb8;
  --on-blue-line: #ffffff2e;
  --on-blue-edge: #ffffff47;
  --on-blue-wash: #ffffff26;
  --on-blue-ring: #ffffff14;

  /* — tipografia — */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* — ritmo — */
  --gutter:   max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faixa pintada atrás da barra de status do celular */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--white);
  z-index: 60;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* rótulos miúdos em caixa alta, usados em toda a página */
.label, .eyebrow, .status, .scroll-label, .photo-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1;
}

/* ───────────── cabeçalho ───────────── */

.head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(12px);
}
.head-in {
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand-sep { color: var(--ink-faint); }

.nav {
  justify-self: center;
  display: flex;
  gap: 30px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.nav a { transition: color .16s ease; }
.nav a:hover { color: var(--ink); }

.head-end { display: flex; align-items: center; gap: 12px; }

/* ───────────── botões e ações ───────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 16px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.pill-dark  { background: var(--ink); color: var(--white); }
.pill-dark:hover { background: var(--ink-hover); }
.pill-light { background: var(--white); color: var(--ink); font-size: 11.5px; padding: 9px 14px; }
.pill-light:hover { background: var(--lime-hover); }
.pill-ghost { border-color: var(--black-line-2); color: var(--black-fg); font-size: 11.5px; padding: 9px 14px; }
.pill-ghost:hover { border-color: var(--lime); color: var(--lime); }

.action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.circ {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: transform .2s ease;
}
.action:hover .circ { transform: translateX(3px); }
.circ-light { background: var(--white); color: var(--blue); }

/* ───────────── herói ───────────── */

.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -260px;
  right: -120px;
  width: 760px;
  height: 560px;
  max-width: 120vw;
  border-radius: 50%;
  background: radial-gradient(circle, #c9f53f5c, #c9f53f00 66%);
  pointer-events: none;
}

.hero-in {
  position: relative;
  padding-block: clamp(46px, 6.5vw, 84px) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-left { min-width: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #44454a;                 /* texto pequeno em caixa alta pede contraste */
  margin-bottom: 26px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67c23a;
  box-shadow: 0 0 0 3px #67c23a2e;
  animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 0 7px #67c23a00; } }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--blue);
}

.rule {
  height: 1px;
  background: var(--line);
  margin: clamp(26px, 3.4vw, 40px) 0 clamp(18px, 2.4vw, 26px);
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 32px;
}
.hero-lede {
  max-width: 40ch;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* cartão da foto */
.photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 26px 60px -30px #00000066;
}
.photo picture, .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 13px;
  letter-spacing: 0.1em;
  box-shadow: 0 3px 12px #00000038;
}

.scroll-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: clamp(32px, 4.5vw, 54px);
}
.scroll-label { color: var(--ink-faint); white-space: nowrap; }
.scroll-line { flex: 1; height: 1px; background: var(--line); }

/* ───────────── projetos (faixa preta) ───────────── */

.work {
  background: var(--black);
  color: var(--white);
}
.work .wrap { padding-block: clamp(56px, 7vw, 96px); }

.eyebrow { color: var(--lime); margin-bottom: 16px; }

.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}
.work-head h2 {
  font-size: clamp(2rem, 3.9vw, 3.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.work-head h2 em { font-style: italic; color: var(--blue-claro); }
.work-intro {
  max-width: 38ch;
  min-width: 0;
  text-align: right;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--black-soft);
}

/* ── grupos: sites e aplicativos ── */

.grupo + .grupo { margin-top: clamp(52px, 6.5vw, 86px); }
.grupo-cab {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--black-line);
  margin-top: clamp(34px, 4.5vw, 52px);
}
.grupo-cab h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.grupo-cab p { font-size: 12.5px; color: var(--black-soft); }

/* ── a janela de navegador ── */

.desktop {
  position: relative;
  width: clamp(292px, calc(50vw - 46px), 560px);
  border-radius: 11px;
  overflow: hidden;
  background: #2b2d31;
  border: 1px solid #2d2d31;
  box-shadow: 0 30px 56px -28px #000000cc;
}
.desk-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #26282c;
}
.desk-bar i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.desk-bar .r { background: #ff5f57; }
.desk-bar .y { background: #febc2e; }
.desk-bar .g { background: #28c840; }
.desk-url {
  flex: 1;
  height: 16px;
  margin-left: 8px;
  border-radius: 5px;
  background: #1b1d20;
  box-shadow: inset 0 1px 1px #0006;
}
.desk-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.desk-screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  will-change: transform;
  animation: rolar var(--dur, 22s) ease-in-out infinite;
}


/* ── trilho arrastável ── */

.rail-wrap { margin-top: clamp(24px, 3vw, 34px); }

.rail {
  display: flex;
  gap: clamp(20px, 2.6vw, 34px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.arrastando { cursor: grabbing; scroll-snap-type: none; }
.rail.arrastando .slide-btn { pointer-events: none; }
.rail:focus-visible { outline-offset: 8px; }

.slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.slide-btn {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}
.slide-btn:hover { transform: translateY(-8px); }
.slide-btn:focus-visible { outline: none; }
.slide-btn:focus-visible .phone,
.slide-btn:focus-visible .desktop { outline: 2px solid var(--lime); outline-offset: 7px; }

.slide-cap {
  display: grid;
  gap: 5px;
  text-align: center;
  max-width: 28ch;
}
.slide-cap b { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.slide-cap span { font-size: 11.5px; color: var(--black-soft); line-height: 1.5; }

/* ── a moldura do celular ── */

.phone {
  position: relative;
  width: clamp(224px, 24vw, 258px);
  aspect-ratio: 9 / 19.5;
  padding: 2.8%;                       /* borda fina, como a do aparelho */
  border-radius: 15% / 6.9%;
  background: #16161a;
  box-shadow: 0 26px 48px -22px #000000cc;
}

.island {
  position: absolute;
  top: 2.4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 26%;
  height: 3.9%;
  min-height: 16px;
  border-radius: 99px;
  background: #000;
}
/* a câmera, bem discreta */
.island::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 22%;
  max-width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #243244, #07090d 68%);
}

.barra-ios {
  position: absolute;
  top: 2.4%;
  left: 0;
  right: 0;
  height: 3.9%;
  min-height: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 6.5%;               /* a mesma margem do iOS */
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.barra-escura { color: #1d231f; }
.barra-ios b { font-weight: 600; }
/* ícones da barra, desenhados com as formas do iOS */
.barra-ios svg {
  display: block;
  flex: 0 0 auto;
  height: auto;
  fill: currentColor;
}
.barra-ios .sig  { width: 4.4%; margin-left: auto; }
.barra-ios .wifi { width: 4.8%; margin-left: 1.3%; }
.barra-ios .bat  { width: 7.2%; margin-left: 1.3%; }

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12.9% / 5.8%;        /* raio da moldura menos a borda */
  overflow: hidden;
  background: #000;
}
/* barra fosca no alto: o conteúdo rola por baixo dela, como no iOS */
.screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7.7%;
  z-index: 2;
  background: var(--banda, #0a0a0ad9);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}



/* a barra de abas do app fica presa no rodapé, como no aparelho */
.screen img.barra-app {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 3;
  animation: none;          /* a barra não rola junto com o conteúdo */
  transform: none;
}

/* a tela agora é uma captura real do projeto */
.screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  will-change: transform;
  animation: rolar var(--dur, 20s) ease-in-out infinite;
}
/* a tela desce devagar até o fim do app e volta, em laço */
@keyframes rolar {
  0%, 6%    { transform: translateY(0); }
  47%, 56%  { transform: translateY(var(--rolagem, 0%)); }
  97%, 100% { transform: translateY(0); }
}
/* passar o mouse congela, para dar tempo de ler */
.slide-btn:hover .screen img,
.slide-btn:focus-visible .screen img { animation-play-state: paused; }
/* a faixa da barra de status já vem embutida na captura, na cor do app */


/* ── convite final: o fecho da seção ── */

.convite {
  position: relative;
  overflow: hidden;
  margin-top: clamp(52px, 6.5vw, 86px);
  padding: clamp(28px, 4.4vw, 58px);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--blue), #142da8 92%);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 36px;
}
.convite-anel {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 300px;
  height: 300px;
  max-width: 62%;
  border-radius: 50%;
  border: 42px solid var(--on-blue-ring);
  pointer-events: none;
}
.convite-txt { position: relative; min-width: 0; }
.convite h3 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.convite h3 em { font-style: italic; color: #c9d4ff; }
.convite-lede {
  margin-top: 16px;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-blue-soft);
}
.convite-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 9px 9px 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.convite-btn:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.convite-seta {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 17px;
  transition: background .18s ease, transform .2s ease;
}
.convite-btn:hover .convite-seta { background: var(--ink); transform: translateX(2px); }
.convite-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

/* ── controles do trilho ── */

.rail-wrap[data-sem-rolagem] .rail-ctl { display: none; }

.rail-ctl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(28px, 3.4vw, 40px);
}
.rail-btn {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--black-line-2);
  border-radius: 50%;
  color: var(--white);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, opacity .18s ease;
}
.rail-btn:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-prog { flex: 1; height: 2px; background: var(--black-line); border-radius: 2px; overflow: hidden; }
.rail-prog i { display: block; height: 100%; width: 22%; background: var(--lime); border-radius: 2px; transition: width .15s linear, margin-left .15s linear; }

/* ───────────── modal do projeto ───────────── */

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: clamp(10px, 3vw, 34px); }
.modal[hidden] { display: none; }
.modal-fundo { position: absolute; inset: 0; background: #05070699; backdrop-filter: blur(5px); animation: surge .2s ease; }

.modal-caixa {
  position: relative;
  width: min(1060px, 100%);
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  animation: surge .26s cubic-bezier(.2, .7, .3, 1);
}
@keyframes surge { from { opacity: 0; transform: translateY(14px); } }

.modal-x {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 5;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease;
}
.modal-x:hover { background: var(--lime); }

.modal-esq {
  background: var(--black);
  border-radius: 20px 0 0 20px;
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 32px);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
}
.modal-esq .phone { width: clamp(200px, 20vw, 244px); }
.modal-esq .desktop { width: 100%; max-width: 430px; }
.modal-thumbs .thumb-desk { width: 72px; aspect-ratio: 16 / 10; border-radius: 5px; }
.modal-thumbs { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.modal-thumbs button {
  width: 42px;
  aspect-ratio: 9 / 19.5;
  padding: 0;
  border: 0;
  box-shadow: 0 0 0 1px #ffffff1f;
  border-radius: 7px;
  background-size: cover;
  background-position: top center;
  cursor: pointer;
  opacity: .55;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}
.modal-thumbs button:hover { opacity: .85; transform: translateY(-2px); }
.modal-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--lime); }

.modal-cap { font-size: 11px; color: var(--black-soft); letter-spacing: .06em; text-transform: uppercase; }

.modal-dir { padding: clamp(28px, 3.4vw, 46px) clamp(22px, 3vw, 42px); min-width: 0; }
.modal-dir .eyebrow { color: var(--ink-faint); margin-bottom: 12px; }
.modal-dir h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.modal-sub { margin-top: 8px; font-style: italic; font-size: 1.0625rem; color: var(--blue); }
.modal-desc { margin-top: 18px; }
.modal-desc p { max-width: 54ch; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.modal-h4 { margin-top: 26px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }

.check { margin-top: 12px; display: grid; gap: 9px; }
.check li {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.check li::before {
  content: "";
  width: 11px; height: 6px;
  margin-top: 6px;
  border-left: 2px solid #2e9e52;
  border-bottom: 2px solid #2e9e52;
  transform: rotate(-45deg);
}
.modal-chips { margin-top: 22px; }

.modal-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.pill-blue { background: var(--blue); color: #fff; font-size: 13px; padding: 13px 19px; }
.pill-blue:hover { background: #1733cf; }
.modal-acoes .link { font-size: 13px; }

body.travado { overflow: hidden; }

/* ───────────── sobre ───────────── */

.about { background: linear-gradient(104deg, #e8eaf2, var(--paper) 46%); }
.about-in {
  padding-block: clamp(58px, 7.5vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
}
.about-side .label { color: var(--ink-faint); margin-bottom: 14px; }
.about-motto {
  max-width: 30ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.about-main { min-width: 0; }
.about-main h2 {
  max-width: 19ch;
  font-size: clamp(1.75rem, 3.3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.about-main h2 em { font-style: italic; color: var(--blue); }

.about-cols {
  margin-top: clamp(26px, 3.4vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 44px;
}
.about-cols p {
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.chips {
  margin-top: clamp(24px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  color: #43454a;
}

/* ───────────── contato (bloco azul) ───────────── */

.contact { padding-bottom: clamp(18px, 3vw, 34px); }
.blue {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  border-radius: 26px;
  padding: clamp(30px, 4.6vw, 62px);
}
.blue-ring {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 330px;
  height: 330px;
  max-width: 70%;
  border-radius: 50%;
  border: 46px solid var(--on-blue-ring);
  pointer-events: none;
}

.blue-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px 36px;
}
.label-on-blue { color: var(--on-blue-dim); margin-bottom: 18px; }
.blue h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.action-on-blue { color: var(--white); }

.blue-foot {
  position: relative;
  margin-top: clamp(34px, 5vw, 70px);
  padding-top: 20px;
  border-top: 1px solid var(--on-blue-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
.blue-foot p {
  font-size: 11.5px;
  color: var(--on-blue-soft);
  font-variant-numeric: tabular-nums;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--on-blue-edge);
  display: grid;
  place-items: center;
  transition: background .18s ease;
}
.socials a:hover { background: var(--on-blue-wash); }
.socials svg { width: 14px; height: 14px; fill: var(--white); }

/* ───────────── menu mobile ───────────── */

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.burger span {
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ───────────── responsivo ───────────── */

@media (max-width: 920px) {
  .burger { display: flex; }
  .head-in { grid-template-columns: auto 1fr; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px var(--gutter-r) 20px var(--gutter);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 2px; }
  .head-end .pill-dark { display: none; }

  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .photo { max-width: 320px; }

  .work-head { display: block; }
  .work-intro { text-align: left; margin-top: 18px; }

  /* modal: as duas colunas viram uma */
  .modal-caixa { grid-template-columns: minmax(0, 1fr); }
  .modal-esq { border-radius: 20px 20px 0 0; padding-block: 30px; }
  .modal-dir { padding-top: 28px; }

  .about-in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .about-main h2 { max-width: none; }
}

@media (max-width: 600px) {
  .brand-name { font-size: 13px; }
  .hero-foot { gap: 20px; }
  .about-cols { grid-template-columns: minmax(0, 1fr); }
  .blue { border-radius: 20px; }
  .blue-foot { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .convite-btn { width: 100%; justify-content: space-between; }
  .modal { padding: 0; }
  .modal-caixa { border-radius: 0; min-height: 100%; }
  .modal-esq { border-radius: 0; }
  .modal-acoes { flex-direction: column; align-items: stretch; }
  .modal-acoes .pill-blue { justify-content: center; }
  .modal-acoes .link { align-self: flex-start; }
}

@media (max-width: 400px) {
  .brand-name { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen img { animation: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
