/* Ritmo vertical padrão do site e correções de sobreposição
   Escala de espaços:  texto 16px · bloco 40px · seção 64px (celular) a 120px (desktop) */
:root{--space-text:16px;--space-block:40px;--space-section:clamp(64px,9vw,120px);--lh-text:1.6}

/* Entrelinha: textos corridos 1,6 · títulos 1,05 / 1,1 / 1,2 */
html body p:not([class]),html body li:not([class]){line-height:var(--lh-text)}
html body h1:not([class]){line-height:1.05}
html body h2:not([class]){line-height:1.1}
html body h3:not([class]){line-height:1.2}

/* Posts e landings: mesma distância entre seções, títulos e parágrafos */
main section{margin-block:var(--space-block)}
main section>h2{margin:0 0 var(--space-text)}
main section>h3,.entry h3{margin:24px 0 8px}
.entry p,.entry ul,.entry ol,main section>p,main section>ul,main section>ol{margin-block:0 var(--space-text)}
.entry li{margin:6px 0}

/* Seções grandes das páginas principais: mesma distância */
html body .ed-h,html body #mapa-alanne,html body #contato.contact,html body .sec-h{padding-top:var(--space-section)}
html body #topo.duo,html body .cta-card{margin-top:var(--space-section)}
html body section.close{margin-top:var(--space-section);margin-bottom:var(--space-block)}
html body section.galeria{margin-top:var(--space-block)}

/* Sem sobreposição de botões */
@media(min-width:761px){
  html body .h2soc{right:max(72px,6vw)}                 /* longe das abas laterais de idioma/tema */
  html body .portfolio-tabs{scroll-margin-bottom:96px}
  html body section.hero{padding-top:clamp(72px,8vw,96px)!important;padding-bottom:24px!important} /* abas do portfólio acima do menu suspenso */
}

/* Menos texto: sem contadores, numeração e legendas repetidas
   (os textos alternativos das imagens continuam no código, para acessibilidade) */
html body .portfolio-panel .sectionbar small,
html body .project .corner,
html body .project .corner-r,
html body .u-mobile-caption,
html body section.hero>p.eyebrow,
html body .hero-bottom .index,
html body .portfolio-gallery-intro,
html body .portfolio-panel figcaption,
html body .entry>p.eyebrow,
html body main>p.eyebrow,
html body main figure>figcaption,
html body .journal-kicker{display:none!important}

/* Título principal (h1) padrão: uma cor, uma linha por palavra, mesmo tamanho e espaçamento.
   A home mantém o título "BRAND & WEB DESIGNER" próprio. */
html body h1:not(.h2t),html body .frame h1:not(.h2t),html body h1.h:not(.h2t),html body #topo h1:not(.h2t){font-size:clamp(36px,6vw,72px)!important;line-height:1.05!important;letter-spacing:.04em!important;color:inherit}
html body .hero h1 span,html body .hero h1 span.end{display:inline!important;padding:0!important;margin:0!important;color:inherit!important}

/* Revisão de design: contraste do botão principal, alinhamento e botões iguais */
html body .svc::before{content:none!important}                                  /* serviços não são uma sequência */
html body .contact .btn.line,html body .contact .studio-cta-secondary{background:#85CED1!important;color:#0A0A0A!important;border:1px solid #85CED1!important;font-weight:400}
html body .contact .btn.line:hover,html body .contact .studio-cta-secondary:hover{background:#F2F0EC!important;border-color:#F2F0EC!important}
@media(min-width:761px){html body #mapa-alanne .stat-card:first-child{padding-left:38px}}  /* alinha com o título */
html body main .cta{display:inline-flex;align-items:center;font-size:12px!important;letter-spacing:.14em;padding:15px 28px;border-radius:999px;background:#85CED1;color:#0A0A0A!important;text-decoration:none}
html body main .cta:hover{background:#F2F0EC}
