/* Páginas de conteúdo da Mofram (serviços e blog), 2026-11-12.
   Mesmo sistema visual da home e do "Sobre nós": creme, tinta, terracota, neon.
   Cartaz Anton, texto Satoshi, serif Gambarino, manuscrito Corinthia.
   Página editorial legível, telemóvel primeiro, com o cabeçalho e o rodapé da marca. */
:root { --creme: #F3ECDE; --terra: #5A3B28; --terracota: #B4532A; --noite: #0D1A3A; --tinta: #1d1712;
  --semente: #7C482A; --neon: #29E3FF;
  --titulo: "Anton", "Arial Narrow", sans-serif; --texto: "Satoshi", system-ui, sans-serif;
  --serif: "Gambarino", Georgia, serif; --manu: "Corinthia", cursive;
  --margem: max(24px, 6vw); --suave: cubic-bezier(.2, .7, .1, 1) }
* { box-sizing: border-box }
html { scroll-behavior: smooth }
html, body { margin: 0; background: var(--creme); color: var(--tinta); overflow-x: clip; font-family: var(--texto);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
h1, h2, h3, p, ul, ol { margin: 0 }
a { color: inherit }
.so-leitor { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }

/* ---- cabeçalho ---- */
#cab { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--margem); color: var(--tinta) }
.marca { display: block; width: 116px; aspect-ratio: 3; color: inherit; background: currentColor;
  -webkit-mask: url(/marca/logo-mofram.webp) left center / contain no-repeat; mask: url(/marca/logo-mofram.webp) left center / contain no-repeat }
.nav { display: flex; align-items: center; gap: 22px }
.link-cab { font: 600 15px/1 var(--texto); text-decoration: none; opacity: .85 }
.link-cab:hover, .link-cab[aria-current="page"] { opacity: 1 }
.botao { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--tinta);
  color: var(--creme); font: 600 15px/1 var(--texto); text-decoration: none; white-space: nowrap;
  transition: transform .45s var(--suave), box-shadow .45s var(--suave) }
.botao .chip { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--terracota); color: #fff; transition: transform .55s var(--suave) }
.botao .chip svg { width: 19px; height: 19px; display: block }
.botao:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .5) } .botao:hover .chip { transform: rotate(-12deg) scale(1.08) }
.botao:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  background: none; color: inherit; cursor: pointer; padding: 0; position: relative }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--suave) }
.menu-btn span:first-child { top: 17px } .menu-btn span:last-child { top: 25px }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg) }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg) }
.menu-movel { position: absolute; top: 100%; right: var(--margem); display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 18px;
  background: var(--creme); color: var(--tinta); box-shadow: 0 20px 50px -20px rgba(29, 23, 18, .45) }
.menu-movel[hidden] { display: none }
.menu-movel a { color: var(--tinta); text-decoration: none; font: 600 16px/1 var(--texto); padding: 14px 18px; border-radius: 12px }
.menu-movel a:hover { background: rgba(29, 23, 18, .06) }
.menu-icones { flex-direction: row; gap: 8px; padding: 10px 8px 4px; margin-top: 4px; border-top: 1px solid rgba(29, 23, 18, .12); list-style: none; display: flex }
.menu-icones a { width: 40px; height: 40px; padding: 0; border-radius: 999px; display: grid; place-items: center; background: var(--tinta); color: var(--creme) }
.menu-icones svg { width: 20px; height: 20px }
@media (max-width: 760px) { .link-cab { display: none } .menu-btn { display: block } #cab .botao { display: none } }

/* ---- corpo editorial ---- */
main { padding: clamp(120px, 20vh, 220px) var(--margem) clamp(80px, 12vh, 140px) }
.coluna { max-width: 760px; margin: 0 auto }
.migalhas { font: 600 13px/1 var(--texto); letter-spacing: .04em; opacity: .55; margin-bottom: clamp(20px, 4vh, 36px) }
.migalhas a { text-decoration: none } .migalhas a:hover { opacity: 1; color: var(--terracota) }
.script { font-family: var(--manu); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: .8; color: var(--terracota); margin-bottom: .1em }
h1.titulo { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: -.01em;
  font-size: clamp(2.5rem, 7vw, 4.6rem); margin-bottom: clamp(18px, 3vh, 30px) }
.entrada { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.22; color: var(--semente); margin-bottom: clamp(36px, 6vh, 60px) }
.artigo h2 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: .95;
  font-size: clamp(1.7rem, 4vw, 2.6rem); margin: clamp(44px, 7vh, 72px) 0 clamp(14px, 2vh, 20px) }
.artigo h3 { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.15; margin: clamp(30px, 4vh, 44px) 0 .4em }
.artigo p { font-size: clamp(1.08rem, 1.7vw, 1.22rem); line-height: 1.65; margin: 0 0 1.1em }
.artigo p.realce { font-family: var(--serif); font-size: clamp(1.4rem, 3.2vw, 1.9rem); line-height: 1.25; color: var(--terracota); margin: clamp(30px, 5vh, 50px) 0 }
.artigo a { color: var(--terracota); text-decoration: underline; text-underline-offset: 3px }
.artigo ul, .artigo ol { margin: 0 0 1.2em; padding-left: 0; list-style: none }
.artigo li { position: relative; padding-left: 28px; margin-bottom: .7em; font-size: clamp(1.06rem, 1.6vw, 1.18rem); line-height: 1.55 }
.artigo ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--terracota) }
.artigo ol { counter-reset: n } .artigo ol li { counter-increment: n }
.artigo ol li::before { content: counter(n); position: absolute; left: 0; top: .05em; font-family: var(--titulo); color: var(--terracota); font-size: 1.1em }
.artigo b, .artigo strong { font-weight: 700 }
.artigo em { font-style: italic }

/* botão/ação dentro do conteúdo */
.acao { margin: clamp(48px, 8vh, 80px) 0 0; display: flex; flex-wrap: wrap; gap: 18px; align-items: center }
.botao.grande { padding: 12px 12px 12px 30px; font-size: 18px } .botao.grande .chip { width: 46px; height: 46px } .botao.grande .chip svg { width: 23px; height: 23px }
.liga-2 { font: 600 16px/1 var(--texto); text-decoration: none; padding: 16px 8px; border-bottom: 1.5px solid currentColor; color: var(--tinta); opacity: .75 }
.liga-2:hover { opacity: 1 }

/* lista de artigos (blog) */
.artigos { list-style: none; padding: 0; margin: clamp(30px, 5vh, 50px) 0 0; border-top: 1px solid rgba(29, 23, 18, .14) }
.artigos li { border-bottom: 1px solid rgba(29, 23, 18, .14) }
.artigos a { display: block; text-decoration: none; padding: clamp(24px, 4vh, 36px) 0; transition: padding-left .4s var(--suave) }
.artigos a:hover { padding-left: 12px }
.artigos h2 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: .98;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); transition: color .3s var(--suave) }
.artigos a:hover h2 { color: var(--terracota) }
.artigos p { margin-top: .5em; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.5; opacity: .82; max-width: 60ch }

/* ---- rodapé ---- */
.rodape { background: var(--tinta); color: var(--creme); padding: clamp(60px, 10vh, 120px) var(--margem) 40px; text-align: center }
.rodape__logo { display: inline-block; width: 150px; aspect-ratio: 3; background: var(--creme);
  -webkit-mask: url(/marca/logo-mofram.webp) center / contain no-repeat; mask: url(/marca/logo-mofram.webp) center / contain no-repeat }
.rodape .slogan { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.9rem); line-height: 1.2; max-width: 22ch; margin: 26px auto 0; opacity: .92 }
.icones { display: flex; gap: 12px; justify-content: center; list-style: none; padding: 0; margin: clamp(34px, 5vh, 56px) 0 0 }
.icones a { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: rgba(243, 236, 222, .1); color: var(--creme); transition: background .3s, transform .3s }
.icones a:hover { background: var(--terracota); transform: translateY(-3px) }
.icones svg { width: 21px; height: 21px }
.rodape__base { margin-top: clamp(40px, 6vh, 64px); font-size: 13px; opacity: .6 }
.rodape__base a { color: inherit; text-decoration: none; margin-left: 16px } .rodape__base a:hover { text-decoration: underline }

/* ---- revelação por scroll ---- */
.js .rev { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--suave), transform .9s var(--suave) }
.js .rev.vis { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } .js .rev { opacity: 1; transform: none; transition: none } }
