/* ============================================================
   FONTES
============================================================ */
@font-face {
  font-family: 'Editorial Today';
  src: url('../fonts/EditorialToday-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url('../fonts/AlteHaasGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url('../fonts/AlteHaasGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   RESET & VARIÁVEIS
============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #fff1b5;
  --blue: #bdd7de;
  --brown: #43302e;
  --bg: #ffffff;

  /* títulos: Alte Haas Grotesk em bold / descrições: Editorial Today regular */
  --font-display: 'Alte Haas Grotesk', Arial, sans-serif;
  --font-body: 'Alte Haas Grotesk', Arial, sans-serif;
  --font-desc: 'Editorial Today', Georgia, serif;

  --max-width: 1180px;
  --radius: 18px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAV
============================================================ */
/* .nav (logo + botão hambúrguer) e .nav__links (menu) são elementos
   fixos IRMÃOS, não um dentro do outro — de propósito. Os dois com
   "position: fixed" têm mix-blend-mode: difference pra sempre
   contrastar com o que está por trás (funciona certinho porque cada
   um É seu próprio elemento fixo, não um descendente de outro). Se
   .nav__links fosse filho de .nav, o navegador trata o <header>
   inteiro como um grupo só de mistura — o painel mobile (que abre por
   cima com fundo marrom sólido, sem precisar misturar com nada) ficava
   "grudado" nesse grupo e virava translúcido mesmo tentando desligar o
   blend-mode só nele. Sendo irmãos, cada um mistura (ou não) do jeito
   que quiser, sem um interferir no outro. */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav__logo span { opacity: 0.6; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

/* botão de fechar (X) do painel mobile — só existe visualmente lá
   dentro (ver @media 720px), fica escondido no desktop */
.nav__close {
  display: none;
}

/* canto direito do cabeçalho: link de Contato (com ícone de carta,
   sem cápsula) + hambúrguer no mobile */
.nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.nav__contact:hover { opacity: 0.6; }

/* o item "Contato" do painel só existe no menu hambúrguer (mobile) */
.nav__link--contact { display: none; }

.nav__contact svg {
  width: 18px;
  height: 14px;
  display: block;
}

/* menu centralizado — fixo por conta própria, flutua por cima do meio
   do cabeçalho (não é filho de .nav, ver comentário acima) */
.nav__links {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 201;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav__links > * { pointer-events: auto; }

/* cápsulas — mesmo estilo da referência (pílula com contorno fino,
   cantos bem arredondados), uma pra cada item do menu, sem distinguir
   um item como "botão CTA" separado dos outros */
.nav__link {
  /* encolhe suavemente conforme a tela estreita, até chegar no
     breakpoint mobile (720px) onde o menu vira o painel hambúrguer —
     em vez de manter o tamanho fixo e as cápsulas apertarem/quebrarem
     de repente */
  font-size: clamp(0.5rem, 0.4vw + 0.32rem, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid #fff;
  padding: clamp(5px, 0.28vw + 3px, 7px) clamp(11px, 0.7vw + 6px, 16px);
  border-radius: 999px;
  transition: opacity var(--transition), background var(--transition);
}

.nav__link:hover { opacity: 0.6; }

/* ============================================================
   HERO — SCROLLYTELLING + ÍCONE 3D
============================================================ */
.hero {
  position: relative;
  /* um pouco menos que a tela cheia, de propósito: sobra menos vão
     entre o texto e o "[ Construindo em público ]" e a faixa azul já
     aparece na primeira dobra, sem precisar rolar */
  height: 86vh;
  background: var(--bg);
}

.hero__pin {
  /* já não é mais "pin" de verdade (o hero rola normal com a página);
     o nome ficou por histórico. z-index 1 de propósito: o ícone que
     "vaza" pra fora do hero fica acima do conteúdo normal das seções
     seguintes, mas abaixo da .hero-dock (z-index 2), que passa por
     CIMA da moeda quando ela cruza a faixa */
  position: relative;
  height: 100%;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}

/* ---- Coluna esquerda ---- */
.hero__left {
  display: flex;
  flex-direction: column;
  /* sem justify-content:center — quem centraliza é o par de
     espaçadores flex (.hero__spacer em cima, .hero__tagline-zone
     embaixo), que repartem a sobra igualmente e deixam a frase
     [ Construindo em público ] equidistante do texto e da faixa */
  padding: 0 6vw;
  color: var(--brown);
  position: relative;
  z-index: 2;
}

.hero__spacer { flex: 1; }

/* a frase fica um pouco ACIMA do meio do vão (pedido): os dois
   pseudo-espaçadores repartem a sobra em ~35%/65% */
.hero__tagline-zone {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__tagline-zone::before { content: ''; flex: 1; }
.hero__tagline-zone::after { content: ''; flex: 1.9; }

.hero__eyebrow {
  font-size: clamp(0.55rem, 0.95vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--brown);
  opacity: 0.6;
  margin-bottom: 18px;
}

.hero__title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.hero__title-note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.45;
  white-space: nowrap;
  margin-top: 14px;
}

.hero__est {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 10px;
  margin-bottom: 28px;
}

.hero__bold-tag {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 400px;
  margin-bottom: 22px;
}

/* sem mais duas "etapas" alternando no scroll — texto e tópicos agora
   ficam juntos, sempre visíveis, um embaixo do outro */
.hero__story {
  position: relative;
  max-width: 480px;
}

/* mesma fonte (Alte Haas) do resto do hero — sem a serifada aqui */
.hero__story-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero__story-text strong { color: var(--brown); }

/* CTA em formato de pílula, estilo "SHOP" da referência */
.hero__cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 30px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--brown);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.hero__cta:hover {
  background: var(--brown);
  color: #fff;
}

/* ---- Coluna direita ---- */
.hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* elemento "vazio" que só existe pra JS deslocar (translate) o ícone da
   posição inicial (aqui, centro da coluna direita) até o centro
   embaixo do hero, conforme o progresso do scroll — ver
   updateHeroScroll em script.js. Fica só com transform (posição); o
   .icon-canvas-wrap de dentro cuida da própria entrada (opacity/scale),
   então os dois não pisam um no transform do outro. */
.hero__icon-track {
  will-change: transform;
  /* posicionado com z-index 1 de propósito: no mobile (hero de coluna
     única, .hero__pin vira static) é isso que deixa a moeda ACIMA dos
     fundos das seções mas ABAIXO dos blocos de texto (que ganham
     z-index 2) enquanto ela desce até o Sobre */
  position: relative;
  z-index: 1;
}

/* ícone 3D girando — WebGL real, tamanho fluido para caber bem tanto
   numa janela cheia quanto num painel/sidebar mais estreito */
.icon-canvas-wrap {
  position: relative;
  width: clamp(200px, 30vw, 380px);
  height: clamp(200px, 30vw, 380px);
}

.icon-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* entrada suave ao carregar a página (a classe is-visible já vem
   junto no HTML — o ícone começa visível na posição atual e só desliza
   depois, com o scroll) */
.icon-canvas-wrap--hero {
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.icon-canvas-wrap--hero.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* versão menor da seção "Sobre" */
.icon-canvas-wrap--static {
  width: clamp(160px, 20vw, 260px);
  height: clamp(160px, 20vw, 260px);
}

/* no desktop, quem faz o papel de "moeda do Sobre" é a moeda do hero,
   que desce/encolhe no scroll e estaciona exatamente aqui (ver
   measureHeroIconDelta em script.js) — a estática fica invisível
   (mas segue ocupando o espaço, pro layout e pra mira do cálculo).
   No mobile a animação desliga e ela volta a aparecer (ver @media). */
body.has-flying-icon .about-block__icon .icon-canvas-wrap--static {
  opacity: 0;
}

.hero__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.line-dash {
  display: inline-block;
  width: clamp(48px, 7vw, 96px);
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
  vertical-align: middle;
  margin: 0 16px 3px;
}

/* faixa azul logo abaixo do hero — não é uma section de conteúdo, é só
   o "pouso" visual do ícone: o scroll do hero termina com o ícone bem
   no meio-embaixo, encostando/sobrepondo essa faixa (ver
   updateHeroScroll em script.js, que mira o alvo exatamente na altura
   do topo dela) */
.hero-dock {
  position: relative;
  z-index: 2;
  height: 60px;
  background: var(--blue);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-dock__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: heroDockScroll 26s linear infinite;
}

.hero-dock__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-dock__item {
  padding: 0 10px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  white-space: nowrap;
}

.hero-dock__star-outline {
  flex-shrink: 0;
  font-size: 0.95rem;
  color: var(--brown);
  padding: 0 34px;
}

.hero-dock__burst {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--brown);
  margin: 0 34px;
}

.hero-dock__gap {
  display: inline-block;
  width: 2.8em;
}

@keyframes heroDockScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dock__track { animation: none; }
}

.gb-mode-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gb-mode-toggle__input { display: none; }

.gb-mode-toggle__track {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  position: relative;
  flex-shrink: 0;
}

.gb-mode-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  transition: transform var(--transition);
}

.gb-mode-toggle__input:checked + .gb-mode-toggle__track .gb-mode-toggle__thumb {
  transform: translateX(16px);
}

/* ligado: o miolo do interruptor fica amarelo (creme da paleta) */
.gb-mode-toggle__input:checked + .gb-mode-toggle__track {
  background: var(--cream);
}

/* (o hero não muda mais de cor com o GB MODE — o easter egg agora só
   existe lá na Giovanaland, ver abaixo) */

/* ---- GB MODE também na Giovanaland: NÃO troca a cor do fundo, em vez
   disso solta os balões 3D flutuando pela seção (ver .gb-balloons
   mais abaixo, perto do bloco .about-banner) ---- */

/* ============================================================
   SEÇÕES GERAIS
============================================================ */
.section { padding: 120px 0; }
.section--alt { background: var(--blue); }

.section__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.6;
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 56px;
  max-width: 600px;
}

/* ============================================================
   SOBRE MIM — banner "GIOVANALAND" (estilo "Karoverse") +
   bloco about com ícone central (estilo "About" da referência)
============================================================ */
.about-banner {
  position: relative;
  padding: 120px 0 120px;
  text-align: center;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.about-banner__eyebrow {
  position: relative;
  z-index: 2;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 22px;
}

.about-banner__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---- conteúdo inline das pills — sem janela/box: o texto abre
   direto na página, logo abaixo da fileira de pills, empurrando o
   resto da seção pra baixo. Textos ainda a definir. ---- */
.role-content {
  position: relative;
  z-index: 3;
  max-width: 880px;
  margin: 44px auto 0;
  padding: 0 24px;
}

.role-content[hidden] { display: none; }

.role-content__body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: rgba(67,48,46,0.85);
}

.role-content__body > p { max-width: 560px; margin: 0 auto 16px; }
.role-content__body > p:last-child { margin-bottom: 0; }
.role-content__body strong { color: var(--brown); }

.role-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 clamp(24px, 4vw, 52px);
  align-items: stretch;
  text-align: center;
}

.role-cols__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.role-cols__divider span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown);
}

.role-cols__divider::after {
  content: '';
  flex: 1;
  width: 1.5px;
  background: rgba(67, 48, 46, 0.3);
}

.role-col__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}

.role-col p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(67, 48, 46, 0.85);
}

.role-col__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.role-col__head .role-col__title { margin-bottom: 0; }

.role-col__avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(67, 48, 46, 0.2);
}

.role-col__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.role-col__read {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.role-col__read:hover { opacity: 1; text-decoration: underline; }

.role-cols--notes {
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.note-pad {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.note-pad__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 6px;
  color: #d5a13e;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
}

.note-pad__back { letter-spacing: 0.01em; }

.note-pad__done {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.note-pad__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
  letter-spacing: 0.5px;
  line-height: 1;
  padding-bottom: 4px;
}

.note-pad__body {
  padding: 18px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.note-pad__body p { flex: 1; }

.mac-note {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  text-align: center;
}

.mac-note__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mac-note__dots {
  display: inline-flex;
  gap: 6px;
  margin-right: 6px;
}

.mac-note__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.mac-note__dot--r { background: #ff5f57; }
.mac-note__dot--y { background: #febc2e; }
.mac-note__dot--g { background: #28c840; }

.mac-note__tools {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8d8d8d;
}

.mac-note__tools svg {
  width: 15px;
  height: 15px;
  display: block;
}

.mac-note__tools svg circle[cx="1.5"] { fill: currentColor; }

.mac-note__tool--active {
  background: #ececec;
  border-radius: 6px;
  padding: 5px 7px;
  display: inline-flex;
}

.mac-note__sep {
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.mac-note__spacer { flex: 1; }

.mac-note__body {
  padding: 30px 30px 34px;
}

.paper-pad {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 34px;
  border-radius: 14px;
  background-color: #ffffff;
  background-image: radial-gradient(rgba(67, 48, 46, 0.16) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.paper-pad p { max-width: 560px; margin: 0 auto; }

.diploma-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 16px;
}

.diploma {
  width: 150px;
  text-align: center;
}

.folder {
  position: relative;
  width: 100px;
  height: 70px;
  margin: 10px auto 14px;
  background: var(--cream);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.folder::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
  width: 42px;
  height: 14px;
  background: #efdd92;
  border-radius: 8px 12px 0 0;
  z-index: -1;
}

.folder__logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.05;
}

.folder__logo--espm {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.folder__logo--ucsd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.folder__logo--ucsd em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: normal;
  font-size: 0.74rem;
  border-bottom: 1.5px solid var(--brown);
  padding-bottom: 2px;
}

.folder__logo--ucsd small {
  font-family: var(--font-body);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.folder__logo--fea {
  font-size: 1rem;
  font-weight: 400;
}

.folder__logo--fea b { font-weight: 700; }

.folder__logo-svg {
  width: 32px;
  height: 32px;
  display: block;
}

.folder__logo-svg--wide { width: 38px; height: 32px; }

.folder__logo--mark {
  display: flex;
  align-items: center;
  gap: 7px;
}

.folder__logo-svg--sm { width: 24px; height: 24px; }
.folder__logo-svg--sm.folder__logo-svg--wide { width: 28px; height: 23px; }

.folder__logo-text-sm {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.5rem;
  line-height: 1.2;
  text-align: left;
  color: var(--brown);
}

.folder__logo-text-sm--caps {
  text-transform: uppercase;
  font-size: 0.52rem;
  letter-spacing: 0.02em;
}

.diploma__date {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(67, 48, 46, 0.55);
  margin-bottom: 6px;
}

.diploma__course {
  font-size: 0.74rem;
  color: rgba(67, 48, 46, 0.8);
  line-height: 1.4;
}

.sticker-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin-bottom: 26px;
}

.sticker {
  height: clamp(44px, 5.5vw, 64px);
  width: auto;
}

.sticker--1 { transform: rotate(-5deg); }
.sticker--2 { transform: rotate(3deg); height: clamp(64px, 8vw, 92px); }
.sticker--3 { transform: rotate(-2deg); }

.role-content__placeholder {
  font-family: var(--font-body);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .role-cols {
    grid-template-columns: 1fr;
    gap: 30px 0;
  }
  .role-cols__divider {
    flex-direction: row;
    width: 100%;
  }
  .role-cols__divider::after {
    height: 1.5px;
    width: auto;
    align-self: center;
  }
  .role-cols--notes { grid-template-columns: 1fr; }
  .diploma { width: calc(50% - 10px); }
}

.about-banner__footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.about-banner__location { font-size: 0.95rem; }

/* nessa faixa intermediária de largura, as 4 pills não cabem mais na
   mesma linha de "Baseada no Brasil" + GB MODE — antes disso o item
   que sobrava (o próprio GB MODE, por ser o último no HTML) descia
   pra linha de baixo sozinho. Agora quem quebra pra linha de baixo
   são as pills (jogadas pro final via order + largura 100%), e o GB
   MODE fica sempre grudado ao lado do "Baseada no Brasil". */
@media (max-width: 1010px) and (min-width: 721px) {
  .about-banner__pills {
    order: 3;
    flex: 1 1 100%;
    margin-top: 4px;
  }
}

.about-banner__pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-banner__pill {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: none;
  color: var(--brown);
  border: 1.5px solid rgba(67,48,46,0.4);
  border-radius: 999px;
  padding: 6px 13px;
  transition: all var(--transition);
}

.about-banner__pill:hover,
.about-banner__pill[aria-expanded="true"] {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}

.about-banner__scroll {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.about-banner__scroll[hidden] { display: none; }

/* ---- GB MODE: balões 3D flutuando pela Giovanaland ----
   Escondidos e parados por padrão; o GB Mode só revela e anima,
   nunca troca a cor do fundo da seção. A POSIÇÃO (top/left) de cada
   balão é controlada via JS (ver gb-balloons no script.js), que faz
   eles ricochetearem nas bordas da seção como uma bolinha de
   protetor de tela — em vez de sumir atrás do recorte da seção. O
   CSS só cuida do fade-in e de um leve balanço de rotação. */
.gb-balloons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* na FRENTE de tudo da seção (título, pills, conteúdo — que ficam
     com z-index 2/3), não mais atrás; pointer-events:none garante que
     mesmo por cima eles não roubam nenhum clique */
  z-index: 20;
  overflow: hidden;
}

.gb-balloons__item {
  position: absolute;
  opacity: 0;
  transition: opacity 0.7s ease;
}

body.gb-mode .gb-balloons__item {
  opacity: 1;
  animation: gb-balloon-wobble var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes gb-balloon-wobble {
  0%, 100% { transform: rotate(var(--rot, 0deg)); }
  50% { transform: rotate(var(--rot-alt, 0deg)); }
}

.gb-balloons__item--dog {
  width: 225px;
  top: 150px;
  left: 6%;
  --rot: -8deg;
  --rot-alt: -3deg;
  --dur: 6.5s;
}

.gb-balloons__item--pen {
  width: 156px;
  top: 130px;
  right: 10%;
  --rot: 10deg;
  --rot-alt: 15deg;
  --dur: 5.5s;
  --delay: 1.2s;
}

.gb-balloons__item--book {
  width: 205px;
  bottom: 4%;
  left: 3%;
  --rot: 6deg;
  --rot-alt: 2deg;
  --dur: 7s;
  --delay: 2.4s;
}

.gb-balloons__item--camera {
  width: 205px;
  bottom: 2%;
  right: 3%;
  --rot: -6deg;
  --rot-alt: -10deg;
  --dur: 6s;
  --delay: 0.6s;
}

.gb-balloons__item--smiley {
  width: 172px;
  top: 46%;
  left: 1%;
  --rot: -4deg;
  --rot-alt: 4deg;
  --dur: 6.8s;
  --delay: 3s;
}

.gb-balloons__item img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 780px) {
  .gb-balloons__item--dog    { width: 138px; top: 96px;  left: 4%; }
  .gb-balloons__item--pen    { width: 96px;  top: 86px;  right: 5%; }
  .gb-balloons__item--book   { width: 126px; bottom: 6%; left: 5%; }
  .gb-balloons__item--camera { width: 126px; bottom: 4%; right: 6%; }
  .gb-balloons__item--smiley { width: 108px; top: 48%;   left: 2%; }
}

.about-block {
  padding: 120px 0 60px;
  background: var(--cream);
}

.about-block__tag {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 56px;
}

.about-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(135px, 14vw, 195px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  position: relative;
  z-index: 2;
}

.about-block__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.45vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.about-block__big--right {
  text-align: right;
  font-size: clamp(1.5rem, 2.5vw, 2.6rem);
  line-height: 1.15;
}

.about-block__left .about-block__big {
  /* o mínimo (2.1rem) é o mesmo de antes — só o crescimento pro
     desktop ficou mais contido, então o mobile não muda nada */
  font-size: clamp(2.1rem, 2.6vw, 2.85rem);
  letter-spacing: -0.03em;
}

.about-block__est {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.5;
  white-space: nowrap;
  margin-top: 16px;
}

.about-block__icon {
  display: flex;
  justify-content: center;
  position: relative;
  top: -44px;
}

.about-block__small {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.85;
  margin-top: 26px;
}

.about-block__small + .about-block__small { margin-top: 14px; }

@media (max-width: 860px) {
  .about-block__inner { grid-template-columns: 1fr; }
  .about-block__big,
  .about-block__big--right,
  .about-block__small { text-align: center; }
  .about-block__icon { order: -1; }
}

/* ============================================================
   LEITURAS — estilo "The Blog" da referência
============================================================ */
.blog-section {
  /* mesmo respiro branco que existe entre o Sobre e a Giovanaland
     (120px = padding-top da .about-banner) */
  padding-top: 120px;
  text-align: center;
}

.blog-section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 22px;
}

.blog-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  line-height: 0.95;
}

.blog-section__sign {
  font-family: var(--font-desc);
  font-style: italic;
  font-size: 1.3rem;
  opacity: 0.6;
  margin-top: 12px;
}

.blog-list {
  max-width: 760px;
  margin: 64px auto 0;
  padding-bottom: 100px;
}

.blog-list__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1.5px solid rgba(67,48,46,0.25);
  text-align: left;
}

.blog-list__item:first-child {
  border-top: 1.5px solid rgba(67,48,46,0.25);
}

.blog-list__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-list__logo img { width: 100%; height: 100%; object-fit: cover; }

.blog-list__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-list__title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.blog-list__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: lowercase;
  color: rgba(67,48,46,0.65);
}

.blog-list__read {
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  flex-shrink: 0;
}

.blog-list__read:hover { background: var(--brown); color: #fff; }

/* no mobile os títulos "Coffee in the Shower" e "What About Mkt"
   quebravam em duas linhas — encolhe um pouco o título e o botão
   "Ler" pra caberem numa linha só sem espremer demais o título */
@media (max-width: 640px) {
  .blog-list__item { gap: 8px; }
  .blog-list__logo { width: 32px; height: 32px; }
  .blog-list__title { font-size: 0.8rem; letter-spacing: 0; line-height: 1.15; }
  .blog-list__read { padding: 6px 10px; font-size: 0.62rem; letter-spacing: 0.02em; }
}

/* faixa animada — cores fixas pedidas: fundo #43302e, texto #fff1b5.
   Mesma grossura (30px) da faixa azul do hero (.hero-dock), por
   pedido — por isso a tipografia também encolheu, senão não cabia. */
.blog-marquee {
  height: 60px;
  overflow: hidden;
  background: #43302e;
  display: flex;
  align-items: center;
}

.blog-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: blogMarquee 30s linear infinite;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff1b5;
  text-transform: lowercase;
}

.blog-marquee__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@keyframes blogMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   MENTORIAS — painel "JOIN KARO WORLD": fundo azul da paleta, texto
   gigante branco atrás, pilha de fotos clicável na frente e o convite
   com seta embaixo (rola até o #formulario no final da página)
============================================================ */
.mentorias-panel {
  position: relative;
  background: var(--blue);
  padding: 110px 0 48px;
  overflow: hidden;
  text-align: center;
}

.mentorias-panel__eyebrow {
  position: relative;
  z-index: 3;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.55;
  margin-bottom: 30px;
}

.mentorias-panel__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 26px;
}

/* o "MENTORIAS PERSONALIZADAS" gigante, branco, correndo em loop
   atrás da pilha de fotos — mesmo papel do "JOIN KARO WORLD" da
   referência, mas em movimento (tipo o "STUDIO KARO" que corre atrás
   das polaroids na outra tela da referência) */
.mentorias-panel__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 10.5vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  user-select: none;
}

.mentorias-panel__bg-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: mentoriasBgScroll 24s linear infinite;
}

.mentorias-panel__bg-item { flex-shrink: 0; }

@keyframes mentoriasBgScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .mentorias-panel__bg-track { animation: none; }
}

/* pilha de fotos — a de cima reta, as de trás levemente giradas
   (tipo o monte de polaroids da referência); clicar manda a da
   frente pro fundo e revela a próxima (ver script.js) */
.mentorias-panel__stack {
  position: relative;
  z-index: 2;
  width: min(460px, 62vw);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.mentorias-panel__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition: transform 0.45s ease;
  border: 10px solid #fff;
}

.mentorias-panel__photo--cream { border-color: var(--cream); }
.mentorias-panel__photo--brown { border-color: var(--brown); }
.mentorias-panel__photo--white { border-color: #ffffff; }
.mentorias-panel__photo--blue { border-color: var(--blue); }

.mentorias-panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mentorias-panel__phrase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4% 5%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.3vw, 2.85rem);
  line-height: 1.12;
  text-transform: lowercase;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(43, 30, 28, 0.6);
}

.mentorias-panel__hint {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.65;
}

/* convite embaixo — papel do "Newsletter →" da referência: texto
   grande, linha embaixo e a seta na ponta; clicar rola (smooth, via
   scroll-behavior do html) até o formulário no fim da página */
.mentorias-panel__cta {
  position: relative;
  z-index: 3;
  max-width: 1300px;
  margin: 70px auto 0;
  padding: 0 32px;
  text-align: left;
}

.mentorias-panel__cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 2px solid #fff;
  color: #fff;
}

.mentorias-panel__cta-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.1vw, 2.8rem);
  line-height: 1.05;
  white-space: nowrap;
}

/* a quebra de linha do CTA só existe no mobile (ver @media 720px) */
.cta-br { display: none; }

.mentorias-panel__cta-arrow {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.mentorias-panel__cta-link:hover .mentorias-panel__cta-arrow {
  transform: translateX(10px);
}

/* ============================================================
   CONTATO — "Vamos conversar" (estilo "Let's talk" da referência)
============================================================ */
.contact-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}

.contact-section__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 44px;
}

.contact-section__hint {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}

/* e-mail grandão clicável (mailto) — papel dos e-mails azuis da
   referência, aqui no marrom da paleta */
.contact-section__email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 56px;
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
}

.contact-section__email:hover {
  border-bottom-color: var(--brown);
  opacity: 0.85;
}

/* botão-pílula que abre o painel do formulário, tipo o
   "[ OR USE FORM HERE → ]" da referência */
.contact-section__open {
  background: none;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  transition: all var(--transition);
}

.contact-section__open:hover {
  background: var(--brown);
  color: #fff;
}

/* ---- painel deslizante do formulário — desliza da direita, fundo
   amarelo/creme da paleta, por cima de tudo (inclusive do menu) ---- */
.form-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  width: min(560px, 100vw);
  background: var(--cream);
  border-left: 1.5px solid var(--brown);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.14);
  padding: 56px 40px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s ease;
}

.form-panel.is-open { transform: translateX(0); }

.form-panel__close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  transition: all var(--transition);
}

.form-panel__close:hover {
  background: var(--brown);
  color: var(--cream);
}

.form-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-panel__hint {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 20px;
}

/* o formulário estica pela altura que sobra no painel: os campos se
   espalham (space-between) e o "Conte mais" cresce pra absorver o
   resto — ocupa a tela toda sem virar scroll */
.form {
  max-width: 640px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.form__field--grow {
  flex: 1;
  min-height: 92px;
}

.form__field--grow textarea {
  flex: 1;
  min-height: 64px;
  resize: none;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* sem isso o display:flex acima "vence" o atributo hidden e o campo
   "Qual?" (da ocupação Outras) apareceria sempre */
.form__field[hidden] { display: none; }

.form__field input[type="text"],
.form__field input[type="email"],
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 9px 14px;
  border: 1.5px solid rgba(67,48,46,0.35);
  border-radius: 10px;
  background: #fff;
  color: var(--brown);
  transition: border-color var(--transition);
}

/* o select nativo vem com seta/aparência do sistema — troca por uma
   setinha própria pra casar com o resto dos campos */
.form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2343302e' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--brown);
}

/* grupo de checkboxes ("Qual a necessidade?") — uma por linha */
.form__field--checks {
  border: none;
  padding: 0;
}

.form__field--checks legend {
  padding: 0;
  margin-bottom: 6px;
}

.form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 4px;
  cursor: pointer;
}

.form__check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--brown);
  cursor: pointer;
}

/* ============================================================
   BOTÕES
============================================================ */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--transition);
  align-self: flex-start;
}

.btn--primary {
  background: var(--brown);
  color: #fff;
}

.btn--primary:hover {
  background: #2c1f1d;
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--brown);
  color: var(--brown);
}

.btn--outline:hover {
  background: var(--brown);
  color: #fff;
}

/* ============================================================
   ARQUIVO — grade estilo o "[ ARCHIVE ]" da referência: fotos coladas
   de ponta a ponta com filetes brancos, [ 2019 ]/[ Até agora ] nas
   pontas, e hover que "apaga" a foto pra revelar a descrição
============================================================ */
.archive-section {
  padding: 120px 0 60px;
  background: var(--cream);
}

.archive-section__title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 40px;
}

.archive-section__range {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
}

/* grade colada nas bordas da tela (sem .container): 2 fileiras de 5
   fotos em pé (4:5), com filete amarelo fininho separando */
.archive-grid {
  display: grid;
  /* desk: 5 por fileira — as 8 fotos + 2 balões decorativos (câmera
     no fim da primeira fileira, livro no centro da segunda) */
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--cream);
}

/* a posição dos balões muda entre desk e mobile, então a ordem visual
   é toda explícita: no desk a câmera fecha a 1ª fileira e o livro fica
   no centro da 2ª (5,6,LIVRO,7,8) */
.archive-grid__item:nth-child(1) { order: 1; }
.archive-grid__item:nth-child(2) { order: 2; }
.archive-grid__item:nth-child(3) { order: 3; }
.archive-grid__item:nth-child(4) { order: 4; }
.archive-grid__item--balloon-camera { order: 5; }
.archive-grid__item:nth-child(5) { order: 6; }
.archive-grid__item:nth-child(6) { order: 7; }
.archive-grid__item--balloon-book { order: 8; }
.archive-grid__item:nth-child(7) { order: 9; }
.archive-grid__item:nth-child(8) { order: 10; }

/* tiles de balão: fundo amarelo da marca com o balão 3D centralizado */
.archive-grid__item--balloon {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* especificidade dobrada de propósito: precisa ganhar da regra
   genérica ".archive-grid__item img" (cover), que vem depois */
.archive-grid__item.archive-grid__item--balloon img {
  width: 68%;
  height: 72%;
  object-fit: contain;
}

.archive-grid__item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0;
}

.archive-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* hover: a foto "some" no amarelo da paleta e a descrição leve
   aparece por cima (no toque/mobile, sem hover, fica sempre foto) */
.archive-grid__caption {
  position: absolute;
  inset: 0;
  background: var(--cream);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 28px;
  text-align: left;
  pointer-events: none;
}

.archive-grid__item:hover .archive-grid__caption,
.archive-grid__item:focus .archive-grid__caption,
.archive-grid__item:focus-within .archive-grid__caption { opacity: 1; }

.archive-grid__item { outline: none; }

/* moeda estática — usada quando o WebGL não está disponível (fallback
   do icon3d.js) ou quando os scripts estão bloqueados (<noscript>) */
.icon-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.archive-grid__caption-title {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown);
}

.archive-grid__caption-date {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(67, 48, 46, 0.65);
}

/* no mobile os cards ficam bem estreitos (4 por fileira), então a
   descrição e a data escalam junto com a largura da tela pra caber
   inteiras dentro do card sem cortar */
@media (max-width: 720px) {
  .archive-grid__caption {
    padding: clamp(8px, 2.8vw, 20px);
    gap: 5px;
  }
  .archive-grid__caption-title {
    font-size: clamp(0.42rem, 2.2vw, 0.8rem);
    letter-spacing: 0.03em;
    line-height: 1.3;
  }
  .archive-grid__caption-date {
    font-size: clamp(0.38rem, 1.9vw, 0.7rem);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}

/* ============================================================
   COMUNIDADE / INSTAGRAM — fundo branco, só o "eyebrow" centralizado
   em cima e a janela Mac no meio, igual à referência
============================================================ */
/* padding-bottom 0 de propósito: o respiro até o formulário fica só
   com o padding-top do #formulario (120px), o mesmo padrão das outras */
/* padding-top maior que o padrão (120px) de propósito: respiro extra
   entre a grade do Arquivo (que agora termina rente, sem margem) e a
   janela do Instagram */
.ig-section { background: var(--bg); padding-top: 170px; padding-bottom: 0; }

.ig-section__eyebrow {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 44px;
}

/* janela estilo Mac com o feed do Instagram — mesma linguagem visual
   que era das pills da Giovanaland (barra com as bolinhas + nome de
   arquivo), agora no formato da referência "Karo.diaries.jpg" */
.ig-window {
  width: min(560px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  /* sombra suave — no fundo branco a janela se separa mais pela
     borda fininha do que pela sombra, igual à referência */
  box-shadow: 0 14px 34px rgba(0,0,0,0.1);
}

.ig-window__titlebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ececec;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ig-window__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.ig-window__dot--red { background: #ff5f57; }
.ig-window__dot--yellow { background: #febc2e; }
.ig-window__dot--green { background: #28c840; }

.ig-window__filename {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.45);
  pointer-events: none;
}

.ig-window__body {
  padding: 34px 60px 32px;
}

.ig-window__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ig-window__item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

/* selinho no canto superior direito de cada post: reels ou carrossel
   (mesma linguagem do feed real, mas sem o número de visualizações) */
.ig-window__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 17px;
  height: 17px;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.ig-window__badge svg { display: block; width: 100%; height: 100%; }

.ig-window__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.ig-window__item:hover img { transform: scale(1.05); }

.ig-window__desc {
  max-width: 460px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(67, 48, 46, 0.85);
}

.ig-window__cta {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  padding: 6px 18px;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  transition: all var(--transition);
}

.ig-window__cta:hover,
.ig-window__cta:active {
  background: var(--brown);
  border-color: var(--brown);
  color: #fdf8ee;
}

/* ============================================================
   FOOTER
============================================================ */
/* estilo a referência: marca gigante à esquerda (borboleta 3D no
   lugar do "GB" + "HUB" enorme), cápsulas de redes embaixo — tudo em
   amarelo/creme sobre o marrom da paleta */
.footer {
  background: var(--brown);
  color: var(--cream);
  padding: 64px 0 40px;
}

.footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__logo-row {
  display: inline-flex;
  align-items: center;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* o "HUB" um pouco apagado, igual ao logo do cabeçalho */
.footer__logo-sub { opacity: 0.6; }

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.footer__social {
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  transition: all var(--transition);
}

.footer__social:hover {
  background: var(--cream);
  color: var(--brown);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--cream);
}

.footer__meta p {
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer__top {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer__top:hover { opacity: 1; }

@media (max-width: 720px) {
  .footer__inner { align-items: flex-start; flex-direction: column; }
  .footer__meta { align-items: flex-start; }
}

/* ============================================================
   RESPONSIVO
============================================================ */
/* Até 900px o layout de duas colunas do hero continua de pé (só fica
   mais compacto, graças aos tamanhos fluidos do ícone/foto/título) —
   isso cobre painéis estreitos como o do preview no Cowork. */
@media (max-width: 900px) {
  .form__row { grid-template-columns: 1fr; }
  .ig-window__body { padding: 24px 18px 22px; }
  .ig-window__grid { gap: 6px; }
}

/* Só empilha de verdade em telas bem estreitas (celular em pé). Aqui
   o scroll-storytelling é desligado e todo o texto aparece de uma vez. */
@media (max-width: 560px) {
  .hero { height: auto; }
  .hero__pin {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 90px; /* espaço pra barra inferior não sobrepor o CTA */
  }
  .hero__right {
    order: -1;
    min-height: 300px;
    padding: 90px 0 40px;
  }
  .hero__left { padding: 48px 6vw 24px; }
  /* no mobile a moeda TAMBÉM desce até o Sobre (mesma animação do
     desktop, ver updateHeroScroll) — aqui ela cruza a coluna única de
     textos, então passa POR TRÁS deles: a moeda fica com z-index 1 e
     os blocos de texto com z-index 2 (ver .hero__icon-track e
     .about-block__inner no CSS base) */
  .about-block__icon { top: 0; }
  .about-block__tag { margin-bottom: 30px; }
  .about-block__inner { gap: 30px; }
  .hero-dock { height: 30px; }
  .hero-dock__item { padding: 0 12px; font-size: 0.58rem; }
  .blog-marquee { height: 30px; }
  .blog-marquee__track { font-size: 0.6rem; gap: 10px; }
  .mentorias-panel { padding: 80px 0 36px; }
  .mentorias-panel__stack { width: min(320px, 78vw); }
  .mentorias-panel__cta { margin-top: 50px; padding: 0 6vw; }
  /* no mobile o hero tem altura automática (sem sobra pros
     espaçadores), então a frase ganha um respiro fixo */
  .hero__tagline-zone { padding: 22px 0 30px; }
  /* frase do hero em uma linha só no mobile: encolhe fonte, letter-
     spacing e o traço central pra caber sem quebrar */
  .hero__tagline {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .line-dash {
    width: clamp(16px, 3.2vw, 28px);
    margin: 0 6px 3px;
  }
}

@media (max-width: 720px) {
  .nav { padding: 18px 22px; }
  .nav__links {
    /* substitui o posicionamento "centralizado flutuando" do desktop
       (left:50%/translateX(-50%)) pelo painel deslizante da direita —
       e desliga o mix-blend-mode: aqui o fundo já é um marrom sólido
       próprio, não precisa (nem deve) misturar com o que tá atrás */
    left: auto;
    right: 0;
    top: 0;
    height: 100vh;
    width: 70%;
    background: var(--brown);
    mix-blend-mode: normal;
    pointer-events: auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 205;
  }
  .nav__links .nav__link {
    /* dentro do painel mobile o fundo já é um marrom sólido só, então
       aqui não tem mais o "atrás vai mudando de cor conforme rola a
       página" que justifica o mix-blend-mode:difference nas cápsulas
       do desktop — cor fixa creme (sólida, sem misturar) garante
       contraste legível sempre, em vez de uma cor "diferença" que
       dependeria só do marrom do painel */
    color: var(--cream);
    border-color: var(--cream);
    mix-blend-mode: normal;
    /* aqui dentro não precisa mais encolher com a largura da tela (isso
       é só pro menu horizontal do desktop) — cápsulas maiores e mais
       confortáveis pro painel vertical */
    font-size: 0.95rem;
    padding: 12px 24px;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 210; }
  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }
  .section { padding: 80px 0; }
}


/* ============================================================
   AJUSTES MOBILE (lote) — espaçamentos, Giovanaland, CTA, contato
============================================================ */
@media (max-width: 720px) {
  /* respiro entre Arquivo e Instagram igual ao do Sobre -> Giovanaland
     (60px de amarelo do arquivo + 120px de branco) */
  .ig-section { padding-top: 120px; }

  /* CTA das mentorias em duas linhas (quebra depois da vírgula) */
  .cta-br { display: inline; }
  .mentorias-panel__cta-link { justify-content: center; }
  .mentorias-panel__cta-text { text-align: center; }

  /* "Vamos conversar" ocupando a largura toda da tela — a margem
     negativa deixa o título "sangrar" um pouco no padding do
     container pra fonte poder ser maior sem quebrar as linhas */
  .contact-section__title {
    font-size: 9.4vw;
    margin-left: -16px;
    margin-right: -16px;
  }

  /* Contato sai do canto do cabeçalho e entra no menu hambúrguer */
  .nav__contact { display: none; }
  .nav__link--contact { display: block; }

  /* Giovanaland: título dentro da tela; footer centralizado com
     "Made in" + GB MODE na mesma linha e as pills (menores, em até
     duas linhas) centralizadas embaixo */
  .about-banner__title { font-size: clamp(2.4rem, 12vw, 8.5rem); }
  .about-banner__footer {
    justify-content: center;
    column-gap: 22px;
    row-gap: 16px;
  }
  .about-banner__location { order: 1; margin: 0; }
  .about-banner__footer .gb-mode-toggle { order: 2; }
  .about-banner__pills {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .about-banner__pill {
    font-size: 0.56rem;
    padding: 5px 10px;
    letter-spacing: 0.04em;
  }

  /* adesivos do "Projetos de estratégia" menores e sempre dentro
     do papel pontilhado */
  .sticker-row {
    gap: 12px;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .sticker { height: 32px; }
  .sticker--2 { height: 46px; }
}


@media (max-width: 720px) {
  /* Arquivo no mobile: 3x3, sem o balão de câmera e com o balão de
     livro exatamente no centro (1,2,3 / 4,LIVRO,5 / 6,7,8) */
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
  .archive-grid__item--balloon-camera { display: none; }
  .archive-grid__item--balloon-book { order: 5; }
  /* linha do centro no mobile: card centro-esquerda e centro-direita
     trocados de posição (imagem + legenda), balão do livro fica fixo
     no meio */
  .archive-grid__item:nth-child(4) { order: 6; }
  .archive-grid__item:nth-child(5) { order: 4; }
  .archive-grid__item:nth-child(6) { order: 7; }
  .archive-grid__item:nth-child(7) { order: 8; }
  .archive-grid__item:nth-child(8) { order: 9; }
}
