/* Tokens extraídos do Figma (node 2014:5) */
:root {
  --bg: #1d1812;
  --bg-deep: #14100c;
  --card: #2c251c;
  --line: #47423e;
  --muted: #a49a91;
  --text: #fbf5ef;
  --gold-a: #b06222;
  --gold-b: #f4bc8b;
  --gold-grad: linear-gradient(90deg, #b06222 8%, #f4bc8b 46%, #b06222 100%);
  /* Área segura de 1140px centralizada. Abaixo de 1172px de tela, usa 16px de cada lado. */
  --gutter: max(16px, calc(50% - 570px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Barra de rolagem dourada, quadrada, com degradê da paleta (Chrome, Edge e Safari).
   Não usar scrollbar-color junto: o Chrome ignora o estilo ::-webkit-scrollbar quando ele existe. */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-deep); border-radius: 0; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-a), var(--gold-b), var(--gold-a));
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold-b), var(--gold-a), var(--gold-b)); }
/* Firefox: não aceita degradê na barra, então usa dourado sólido */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--gold-a) var(--bg-deep); }
}
body {
  font-family: 'Sora', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: 'Michroma', sans-serif; font-weight: 400; line-height: 1.25; }
h1 { font-size: 40px; }
h2 { font-size: 36px; margin-bottom: 20px; }
h3 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 20px; margin-bottom: 10px; }
p { color: var(--muted); font-size: 16px; }

/* Destaque em degradê dourado (sempre começa em linha nova, quebrado no HTML) */
h2 em, .counter strong {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: table;
  font-size: 13px; color: var(--muted);
  border: 1px solid var(--muted); border-radius: 60px;
  padding: 10px 20px; margin: 0 auto 24px;
}
.lead { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section h2, .section .lead { text-align: center; margin-left: auto; margin-right: auto; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px var(--gutter);
  background: rgba(20, 16, 12, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--muted);
}
.logo img { height: 80px; width: auto; }
.site-nav { display: flex; gap: 40px; font-size: 16px; color: var(--muted); }
.site-nav a { position: relative; padding: 6px 0; transition: color .3s; }
.site-nav a:hover, .site-nav a.active { color: var(--text); }
/* traço dourado embaixo do item do menu, com leve brilho */
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 3px; background: var(--gold-grad);
  box-shadow: 0 0 10px rgba(244, 188, 139, .55);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }

/* BOTÃO CTA com degradê em movimento e brilho */
.btn-cta {
  position: relative; overflow: hidden; display: inline-flex;
  align-items: center; justify-content: center;
  width: 390px; max-width: 100%; height: 70px;
  padding: 25px 30px;
  border: 1px solid var(--text); border-radius: 60px;
  color: var(--bg); font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: 16px; text-transform: uppercase; text-align: center;
  background: linear-gradient(90deg, var(--gold-a), var(--gold-b), var(--gold-a), var(--gold-b), var(--gold-a));
  background-size: 300% 100%;
  animation: gold 6s linear infinite;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(244, 188, 139, .35);
}
.btn-cta::after {
  content: ""; position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
}
@keyframes gold { to { background-position: 300% 0; } }
@keyframes shine {
  0%, 60%, 100% { left: -75%; }
  30% { left: 125%; }
}

/* HERO */
.hero {
  position: relative; min-height: 600px;
  display: flex; align-items: center;
  padding: 0 var(--gutter); overflow: hidden;
  background: var(--bg) url('assets/hero-bg.webp') center / cover no-repeat;
}
.hero-text { max-width: 565px; }
.hero-text h1 { margin-bottom: 24px; }
.hero-text p { font-size: 16px; margin-bottom: 36px; max-width: 565px; }

/* FAIXA DE LOGOS: loop contínuo sem salto.
   Cada logo tem a mesma margem à direita e o track anda exatamente
   uma cópia completa, então o reinício fica invisível. */
.marquee { overflow: hidden; padding: 16px 0; background: var(--bg-deep); }
.marquee-track {
  display: flex; width: max-content; align-items: center;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  flex-shrink: 0; object-fit: contain;
  margin-right: 94px; opacity: .5; transition: opacity .3s;
}
/* Tamanhos exatos do Figma (logo 1 a 8). A faixa repete a sequência,
   então o seletor nth-child(8n+N) pega a logo original e a cópia do loop. */
.marquee-track img:nth-child(8n+1) { width: 165px; height: 73px; }
.marquee-track img:nth-child(8n+2) { width: 124px; height: 72px; }
.marquee-track img:nth-child(8n+3) { width: 217px; height: 39px; }
.marquee-track img:nth-child(8n+4) { width: 188px; height: 60px; }
.marquee-track img:nth-child(8n+5) { width: 140px; height: 64px; }
.marquee-track img:nth-child(8n+6) { width: 159px; height: 83px; }
.marquee-track img:nth-child(8n+7) { width: 179px; height: 82px; }
.marquee-track img:nth-child(8n+8) { width: 168px; height: 56px; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SEÇÕES */
.section { padding: 100px var(--gutter); background: var(--bg); }
.section.dark { background: var(--bg-deep); }

/* PORTFÓLIO: caixa escura com borda, como no Figma */
#portfolio {
  max-width: 1140px; margin: 100px auto; padding: 70px 40px;
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: 15px;
}

/* FILTROS E PORTFÓLIO */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 32px 0 48px; }
.filter-btn {
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  padding: 10px 20px; border-radius: 60px; cursor: pointer;
  font-family: 'Sora', sans-serif; font-size: 13px;
  transition: border-color .25s, color .25s;
}
.filter-btn:hover { border-color: var(--gold-b); }
.filter-btn.active {
  background: linear-gradient(90deg, var(--gold-a), var(--gold-b), var(--gold-a));
  border-color: transparent; color: var(--bg); font-weight: 600;
}

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1000px; margin: 0 auto; }
.card {
  display: flex; flex-direction: column; gap: 16px; padding: 34px;
  width: calc(50% - 12px); min-width: 300px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 15px;
  transition: transform .3s, border-color .3s;
}
.card[hidden] { display: none; }
.card:hover { transform: translateY(-4px); border-color: var(--gold-b); }
.card img { width: 100%; height: 329px; object-fit: cover; border-radius: 15px; }
.card h3 { font-size: 16px; margin: 0; color: var(--text); }
.card-tag { font-size: 16px; color: var(--muted); }
.card-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 25px 20px; margin-top: 8px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 60px;
  color: var(--text); font-size: 16px; text-transform: uppercase;
}
.card-btn::before { content: "+"; font-size: 18px; color: var(--gold-b); transition: color .3s; }
.card-btn { transition: background .3s, color .3s, border-color .3s; }
.card-btn:hover {
  background: linear-gradient(90deg, var(--gold-a), var(--gold-b)) padding-box;
  border-color: transparent; color: var(--bg);
  box-shadow: none;
}
.card-btn:hover::before { color: var(--bg); }
.card.reveal.in:hover { transform: translateY(-4px); }

/* SERVIÇOS */
.services { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0 auto 48px; max-width: 1140px; }
.service {
  width: 355px; min-height: 375px; padding: 40px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 15px;
  display: flex; flex-direction: column; gap: 0;
}
.service img { width: 68px; height: 68px; margin-bottom: 24px; }
.service h3 { font-size: 16px; margin: 0 0 12px; }
.service { transition: border-color .3s; }
.service.reveal.in:hover {
  transform: translateY(-8px);
  border-color: var(--gold-b);
}

/* PROCESSO
   A linha começa no centro do número 1 e termina no centro do número 5.
   Cada linha da grade tem um eixo central; o número fica no centro vertical
   da linha, que é o centro da caixa, e o conector liga uma linha à próxima. */
.timeline { position: relative; max-width: 1140px; margin: 0 auto; }
.timeline-fill {
  position: absolute; left: 50%; width: 2px; margin-left: -1px;
  top: 0; height: 0; z-index: 1;
  transform-origin: top; transform: scaleY(0);
  background: linear-gradient(var(--gold-b), var(--gold-a));
}
.row {
  display: grid; grid-template-columns: 1fr 80px 1fr;
  align-items: center; margin-bottom: 40px;
}
.row.last { margin-bottom: 0; }
.cell { min-width: 0; }
.axis {
  position: relative; align-self: stretch;
  display: flex; justify-content: center; align-items: center;
}
.axis::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; margin-left: -0.5px; background: var(--line);
}
.axis::after {
  content: ""; position: absolute; left: 50%; top: 100%; height: 40px;
  width: 1px; margin-left: -0.5px; background: var(--line);
}
.row.first .axis::before { top: 50%; }
.row.last .axis::before { bottom: 50%; }
.row.last .axis::after { display: none; }
.step {
  width: 100%; min-height: 204px; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: 15px;
}
.step h3 { font-size: 16px; color: var(--text); margin-bottom: 12px; }
.step p { font-size: 16px; }
.step-num {
  position: relative; z-index: 2;
  display: inline-grid; place-items: center;
  width: 41px; height: 46px; border-radius: 5px;
  background: var(--gold-grad);
  font-family: 'Michroma', sans-serif; font-size: 24px; color: var(--bg);
}

/* SOBRE: texto à esquerda; foto + contadores embaixo; selo girando sobre a foto */
.about {
  display: flex; gap: 36px; justify-content: center; align-items: center;
  background: var(--bg-deep);
}
.about-photo { position: relative; width: 552px; max-width: 100%; flex-shrink: 0; }
.about-photo img.main { width: 100%; height: 500px; object-fit: cover; border-radius: 15px; }
.counters { display: flex; gap: 10px; margin-top: 16px; }
.counter {
  flex: 1; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 15px;
}
.counter strong { display: block; font-family: 'Michroma', sans-serif; font-size: 36px; font-weight: 400; line-height: 50px; height: 50px; }
.counter > span { font-size: 16px; color: var(--text); }

.about-text { max-width: 552px; text-align: left; }
.about-text .eyebrow { margin: 0 0 24px; }
.about-text h2 { text-align: left; margin-left: 0; margin-right: 0; }
.about-text p { margin-bottom: 16px; text-align: left; }

/* Selo: texto girando + logo com respiração, sobre a foto */
.ring {
  position: absolute; top: 180px; right: 24px;
  width: 160px; height: 160px; pointer-events: none;
}
.ring .selo {
  position: absolute; inset: 18%; width: 64%; height: 64%;
  animation: float 4s ease-in-out infinite;
}
.ring svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 18s linear infinite;
}
.ring text { font-family: 'Sora', sans-serif; font-size: 11px; letter-spacing: 3px; fill: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}

/* CONTATO: caixa escura com borda (index e páginas de projeto) */
.cta-final, .project-cta {
  max-width: 1140px; margin: 100px auto; padding: 60px 40px;
  text-align: center;
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: 15px;
}
.cta-final .lead, .project-cta .lead { margin-bottom: 40px; }

/* FOOTER (tudo em 10px) */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px var(--gutter); background: var(--bg-deep); border-top: 1px solid var(--line);
  font-size: 10px; color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 24px; flex: 1 1 auto; }
.footer-brand p { flex: 1 1 auto; text-align: center; }
.br-m { display: none; } /* quebra de linha só no celular */
.footer-brand > img { height: 54px; }
.site-footer li img { width: 18px; height: 18px; }
.site-footer p { font-size: 10px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
.site-footer li { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.site-footer a:hover { color: var(--text); }

/* BOTÃO FLUTUANTE DO WHATSAPP (criado pelo script.js em todas as páginas) */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }
@media (max-width: 480px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* PÁGINA DE PROJETO */
/* Sem capa: o topo da página de projeto só tem o botão, a tag e o título */
.project-hero {
  display: block; min-height: 0;
  padding: 32px var(--gutter) 0;
  background: var(--bg);
}
.project-hero .project-title { width: 100%; }
.project-hero h1 { font-size: 40px; }
/* Botão "Voltar ao portfólio": branco, mesmo tamanho do selo "Identidade Visual" */
.project-title .back-link {
  display: table; margin: 0;
  font-size: 13px; padding: 10px 20px; border-radius: 60px;
  background: var(--text); border: 1px solid var(--text); color: var(--bg);
  transition: background .3s, border-color .3s;
}
.project-title .back-link:hover { background: var(--gold-grad); border-color: transparent; }
/* botão "Voltar ao portfólio" e a tag ficam lado a lado; o título ocupa a linha de baixo */
.project-title { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.project-title .eyebrow { margin: 0; }
.project-title h1 { width: 100%; margin-top: 32px; }

.gallery { max-width: 1140px; margin: 0 auto; display: grid; gap: 24px; }
.gallery.tiles { grid-template-columns: 1fr 1fr; }
.gallery img {
  width: 100%; height: auto; border-radius: 15px; border: 1px solid var(--line);
}

/* ANIMAÇÕES DE ENTRADA (aplicadas pelo script.js) */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVO */
@media (max-width: 1200px) {
  .about { flex-direction: column; align-items: flex-start; gap: 48px; }
  .about-text { max-width: 100%; }
}

@media (max-width: 900px) {
  h1 { font-size: 24px; }
  h2 { font-size: 24px; }
  .menu-toggle { display: flex; }
  .site-header { padding: 24px var(--gutter); }
  /* o cabeçalho com blur criaria um contexto para o menu fixo; no celular ele não usa blur */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { position: relative; z-index: 70; }
  .site-nav {
    position: fixed; inset: 0; z-index: 60;
    flex-direction: column; justify-content: center; align-items: center; gap: 24px;
    background: rgba(20, 16, 12, .72);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; pointer-events: none; transform: scale(1.04);
    transition: opacity .35s ease, transform .35s ease;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: scale(1); }
  .site-nav a { font-size: 14px; font-family: 'Sora', sans-serif; color: var(--text); }
  .hero { min-height: auto; padding: 40px var(--gutter); }
  .hero-text { margin-left: 0; }
  .section { padding: 40px var(--gutter); }
  #portfolio { margin: 40px var(--gutter) 0; padding: 40px 20px; }
  .card { width: 100%; }
  .service { width: 100%; }
  .cta-final, .project-cta { margin: 40px var(--gutter); padding: 48px 24px; }

  /* processo em coluna única: número à esquerda, caixa à direita */
  .row { grid-template-columns: 60px 1fr; margin-bottom: 24px; }
  .row.last { margin-bottom: 0; }
  .cell.left, .cell.right { grid-column: 2; grid-row: 1; }
  .axis { grid-column: 1; grid-row: 1; }
  .cell:empty { display: none; }
  .timeline-fill { left: 30px; }

  .project-hero { padding: 24px var(--gutter) 0; }
  .project-hero h1 { font-size: 24px; }
  .gallery.tiles { grid-template-columns: 1fr; }

  /* Tipografia do celular: títulos 24px, subtítulos (eyebrow) 12px, textos e botões 14px */
  .eyebrow { font-size: 10px; }
  .br-m { display: inline; }
  /* boxes de serviço no celular: altura pelo conteúdo, com o mesmo padding das etapas */
  .service { min-height: 0; padding: 28px; }
  .service img { width: 48px; height: 48px; }
  .br-d { display: none; }
  .marquee-track img { margin-right: 40px; }
  /* títulos no celular: ocupam toda a largura da caixa, sem quebras forçadas (só a do contato) */
  h2 { width: 100%; }
  h2 br:not(.br-m) { display: none; }
  h2 em::before { content: " "; }
  .step-num { width: 36px; height: 40px; font-size: 18px; }
  .card img { height: auto; aspect-ratio: 5 / 4; }

  /* faixa de logos no celular: 60% do tamanho do Figma, mantendo a proporção de cada logo */
  .marquee-track img:nth-child(8n+1) { width: 99px; height: 44px; }
  .marquee-track img:nth-child(8n+2) { width: 74px; height: 43px; }
  .marquee-track img:nth-child(8n+3) { width: 130px; height: 23px; }
  .marquee-track img:nth-child(8n+4) { width: 113px; height: 36px; }
  .marquee-track img:nth-child(8n+5) { width: 84px; height: 38px; }
  .marquee-track img:nth-child(8n+6) { width: 95px; height: 50px; }
  .marquee-track img:nth-child(8n+7) { width: 107px; height: 49px; }
  .marquee-track img:nth-child(8n+8) { width: 101px; height: 34px; }
  p, .hero-text p, .step p, .counter > span, .card h3, .service h3, .step h3, .card-tag,
  .btn-cta, .card-btn { font-size: 14px; }
  .lead br { display: none; }
  .lead br.br-m { display: none; }
}

@media (max-width: 480px) {
  :root { --gutter: 24px; }
  .logo img { height: 52px; }
  .card { padding: 20px; }
  .card-btn { padding: 20px 12px; }
  .about-photo img.main { height: 360px; }
  .ring { width: 110px; height: 110px; top: 130px; right: 12px; }
  .step { padding: 28px; }
  .site-footer { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-brand p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* CARROSSEL (páginas de Social Media): ao passar o mouse, avança da peça 1 até a última e para; ao sair, volta sozinho ao início */
.carrossel { overflow: hidden; max-width: 1140px; margin: 0 auto; }
.carrossel + .carrossel { margin-top: 40px; }
.carrossel-track {
  display: flex; width: max-content;
  transition: transform .4s linear;
}
/* mesmo tamanho das peças estáticas (quadradas, 560 px no máximo) e sem espaço entre elas */
.carrossel-track img {
  flex-shrink: 0; display: block;
  width: min(560px, calc(100vw - 48px)); height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; margin: 0; border-radius: 0;
}

/* carrossel abaixo das peças estáticas (páginas de Social Media) */
.gallery + .carrossel { margin-top: 24px; }

/* dupla de peças coladas, sem espaço entre elas (Queiroz) */
.dupla { display: flex; max-width: 1140px; margin: 24px auto 0; }
.dupla img { flex: 0 0 50%; width: 50%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 0; border-radius: 0; }
.dupla img:first-child { border-radius: 15px 0 0 15px; }
.dupla img:last-child { border-radius: 0 15px 15px 0; }

/* ESPAÇAMENTOS DAS PÁGINAS DE PROJETO (mesmos valores do rodapé: 100px no desktop, 40px no celular) */
.project-hero { padding: 100px var(--gutter) 0; }
.project-cta { margin-top: 0; }
.dupla + .carrossel { margin-top: 24px; }
@media (max-width: 900px) {
  .project-hero { padding: 40px var(--gutter) 0; }
}

/* AJUSTES DO CELULAR: margem embaixo do portfólio e botões/textos do topo que cabem na tela */
@media (max-width: 900px) {
  #portfolio { margin: 40px var(--gutter); }
  .hero { display: block; }
  .hero-text { width: 100%; min-width: 0; }
  .btn-cta { width: 100%; max-width: 390px; }
}

/* TOPO NO CELULAR: fundo sólido da página e a foto abaixo do texto (hero-mobile.webp), com 500px reservados */
.hero-foto { display: none; }
@media (max-width: 900px) {
  .hero { position: relative; background: var(--bg); padding-bottom: 540px; overflow: hidden; }
  .hero-foto {
    display: block; position: absolute; left: 0; right: 0; bottom: 0;
    width: 100%; height: 500px; object-fit: cover; object-position: center top;
  }
}

/* CELULAR: a foto encosta no botão, sem espaço entre os dois */
@media (max-width: 900px) {
  .hero { padding-bottom: 0; }
  .hero .btn-cta { display: flex; }
  .hero-foto { position: static; margin: 0; height: 500px; }
}

/* CELULAR: títulos ocupam a largura toda da caixa (linhas justificadas, última linha centralizada) */
@media (max-width: 900px) {
  .about-text h2 { text-align: left; text-align-last: auto; }
  .hero-text h1 { text-align: left; text-align-last: auto; }
}

/* CELULAR: blur na barra do menu. O blur fica num pseudo-elemento, para o menu aberto
   continuar cobrindo a tela inteira. */
@media (max-width: 900px) {
  .site-header { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(20, 16, 12, .72);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
}

/* DESTAQUES DOURADOS: só nas palavras marcadas (<span class="gold-m">) e no título do contato, do portfólio e demais <em> sem classe */
.gold-m {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
h2 em.m-solo { background: none; color: var(--text); }

/* DESKTOP: o texto de contato das páginas de projeto fica em uma linha só (no celular, quebra normal) */
@media (min-width: 901px) {
  .project-cta .lead { max-width: none; white-space: nowrap; }
}

/* CELULAR: o botão do menu vira um X quando está aberto, e toque no fundo também fecha */
@media (max-width: 900px) {
  .menu-toggle span { transition: transform .3s ease, opacity .3s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
