/* Costa Rodrigues Advocacia — verde-musgo + rosé da logo, linhas duplas do monograma */
:root {
  --musgo: #232a26;
  --musgo-2: #2d3530;
  --musgo-3: #38423c;
  --rose: #b8968b;
  --rose-claro: #d9bfb5;
  --creme: #f4efe9;
  --papel: #faf7f3;
  --tinta: #1b201d;
  --cinza: #6d736f;
  --linha: rgba(184, 150, 139, .35);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --borda: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Tela de carregamento: o "R" se desenha em linha dupla, a barra enche e a tela sobe como cortina */
.carga { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: var(--creme); background: radial-gradient(90% 80% at 50% 40%, var(--musgo-3) 0%, var(--musgo) 60%, #1a201c 100%); clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1); }
.carga.sai { clip-path: inset(0 0 100% 0); pointer-events: none; }
.carga.sai .carga__centro { opacity: 0; transform: translateY(-40px); }
.carga__centro { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; transition: opacity .5s, transform .8s var(--ease); }
/* logo oficial: o anel com o nome gira para o lugar e o R sobe de baixo para cima */
.carga__logo { position: relative; width: clamp(160px, 22vw, 220px); aspect-ratio: 1; margin-bottom: .6rem; }
.carga__anel { position: absolute; inset: 0; width: 100%; height: 100%; animation: carga-gira 1.7s .1s cubic-bezier(.65, 0, .35, 1) backwards; }
.carga__letra { position: absolute; left: 50%; top: 50%; height: 63%; width: auto; max-width: none; translate: -50% -50%; clip-path: inset(100% 0 0 0); animation: carga-letra 1.3s .5s cubic-bezier(.65, 0, .35, 1) forwards; }
.carga__barra { width: min(220px, 50vw); height: 1px; background: rgba(184, 150, 139, .22); overflow: hidden; }
.carga__barra i { display: block; height: 100%; background: var(--rose); transform-origin: left; transform: scaleX(0); transition: transform .45s var(--ease); }
.carga__num { font-size: .7rem; letter-spacing: .3em; color: rgba(244, 239, 233, .55); font-variant-numeric: tabular-nums; }
@keyframes carga-gira { from { opacity: 0; transform: rotate(-140deg) scale(.82); } }
@keyframes carga-letra { to { clip-path: inset(0 0 0 0); } }
html.carregando body { overflow: hidden; }
/* o topo só começa a animar quando a cortina sobe */
html.carregando .hero *, html.carregando .hero *::before, html.carregando .hero *::after { animation-play-state: paused !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--tinta); background: var(--papel); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
em { font-weight: 400; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
em { font-style: italic; color: var(--rose); }
.pequeno { font-size: .85rem; color: var(--cinza); }

.selo { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--rose); display: inline-flex; align-items: center; gap: .8em; margin-bottom: 1.2rem; }
.selo::before { content: ""; width: 26px; height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.selo__br { color: var(--creme); display: inline-flex; align-items: center; gap: .8em; }
.selo__br::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid var(--rose); }
@media (max-width: 560px) { .hero .selo { flex-wrap: wrap; row-gap: .5em; } }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-weight: 600; font-size: .9rem; padding: .95em 1.6em; border-radius: 2px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.botao--cheio { background: var(--rose); color: var(--musgo); }
.botao--cheio:hover { background: var(--rose-claro); transform: translateY(-2px); }
.botao--linha { border: 1px solid var(--linha); color: var(--creme); }
.botao--linha:hover { border-color: var(--rose); color: var(--rose); }
.botao--texto { color: var(--creme); padding-inline: .4em; border-bottom: 1px solid var(--linha); border-radius: 0; }
.botao--texto:hover { color: var(--rose); }
.botao--grande { font-size: 1rem; padding: 1.1em 2em; }
.link { color: var(--rose); font-weight: 600; border-bottom: 1px solid var(--linha); }

/* Topo */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 2rem; padding: 1rem clamp(1.2rem, 4vw, 3.5rem); color: var(--creme); transition: background .4s, padding .4s; }
.topo.rolou { background: rgba(35, 42, 38, .92); backdrop-filter: blur(10px); padding-block: .65rem; box-shadow: 0 1px 0 var(--linha); }
.marca { display: flex; align-items: center; gap: .85rem; }
.marca__r { height: 38px; width: auto; }
.rodape__logo { width: 150px; height: auto; }
.marca span { display: flex; flex-direction: column; line-height: 1.1; }
.marca b { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: .02em; }
.marca small { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--rose); }
.menu { display: flex; gap: 1.8rem; margin-left: auto; font-size: .86rem; }
.menu a { opacity: .8; position: relative; padding-block: .3em; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--rose); transition: right .35s var(--ease); }
.menu a:hover { opacity: 1; }
.menu a:hover::after { right: 0; }
.hamburguer { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 80% 20%, var(--musgo-3) 0%, var(--musgo) 55%, #1a201c 100%); color: var(--creme); display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; padding: 6.5rem clamp(1.2rem, 4vw, 3.5rem) 0; overflow: hidden; }
.hero__texto { padding-bottom: 7.5rem; position: relative; z-index: 2; }
.hero__titulo { font-size: clamp(3rem, 5.6vw, 6rem); margin-bottom: 1.4rem; }
.hero__titulo .linha { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__titulo .linha > span { display: inline-block; transform: translateY(105%); animation: sobe 1.1s var(--ease) forwards; }
.hero__titulo .linha:nth-child(2) > span { animation-delay: .12s; }
.hero__titulo .linha:nth-child(3) > span { animation-delay: .24s; }
.hero__sub { max-width: 34rem; color: rgba(244, 239, 233, .78); font-size: 1.05rem; margin-bottom: 2.2rem; opacity: 0; animation: aparece 1s .55s var(--ease) forwards; }
.hero__acoes { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; opacity: 0; animation: aparece 1s .7s var(--ease) forwards; }
.hero .selo { opacity: 0; animation: aparece 1s .1s forwards; }

/* "clareza" com brilho rosé passando */
.hero__titulo em { padding-right: .08em; background: linear-gradient(100deg, var(--rose) 35%, #f6e2d9 50%, var(--rose) 65%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: brilho 6s 1.6s ease-in-out infinite; }
.hero__texto { translate: 0 calc(var(--sy, 0) * -.12px); }

/* Trio: proporção fixa, então a composição é a mesma em qualquer tela */
.hero__trio { position: relative; align-self: end; justify-self: end; width: min(100%, calc((100svh - 7rem) * .92), 700px); aspect-ratio: 23 / 25; }
.hero__luz { position: absolute; left: 50%; top: 30%; width: 90%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(184, 150, 139, .30) 0%, rgba(184, 150, 139, .08) 40%, transparent 68%); animation: respira 7s ease-in-out infinite; pointer-events: none; }
.hero__aneis { position: absolute; left: 50%; top: 1%; width: 86%; translate: calc(-50% + var(--mx, 0) * -10px) calc(var(--my, 0) * -8px); overflow: visible; pointer-events: none; }
.anel { fill: none; stroke: var(--rose); vector-effect: non-scaling-stroke; transform-origin: 200px 200px; }
.anel--1 { stroke-opacity: .35; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: desenha 2.6s .2s var(--ease) forwards; }
.anel--2 { stroke-opacity: .5; stroke-dasharray: 2 10; animation: gira 60s linear infinite; }
.anel--3 { stroke-opacity: .18; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: desenha 2.6s .5s var(--ease) forwards; }
.hero__marca { position: absolute; left: 50%; top: 13%; height: 44%; width: auto; max-width: none; opacity: .1; translate: calc(-50% + var(--mx, 0) * -14px) calc(var(--my, 0) * -10px); clip-path: inset(100% 0 0 0); animation: carga-letra 2.2s .6s var(--ease) forwards; pointer-events: none; }

.trio { position: absolute; bottom: 0; margin: 0; }
.trio img { display: block; height: 100%; width: auto; max-width: none; translate: calc(var(--mx, 0) * var(--d) * 16px) calc(var(--my, 0) * var(--d) * 8px + var(--sy, 0) * (1.15 - var(--d)) * .35px); transition: filter .5s var(--ease); animation: surge 1.5s var(--ease) backwards; }
.trio--1 { left: 0; height: 79%; }
.trio--1 img { animation-delay: .55s; }
.trio--2 { left: 50%; transform: translateX(-50%); height: 95%; }
.trio--2 img { animation-delay: .3s; }
.trio--3 { right: -3%; height: 81%; }
.trio--3 img { animation-delay: .75s; }
@media (hover: hover) {
  .hero__trio:has(.trio:hover) .trio img { filter: brightness(.6) saturate(.8); }
  .hero__trio .trio:hover img { filter: none; }
  .trio:hover figcaption { border-color: var(--rose); background: rgba(35, 42, 38, .92); }
}
.trio figcaption { position: absolute; z-index: 6; display: flex; flex-direction: column; gap: .1rem; padding: .55rem .8rem .55rem .9rem; border: 1px solid var(--linha); border-left: 3px double var(--rose); background: rgba(35, 42, 38, .72); backdrop-filter: blur(8px); white-space: nowrap; line-height: 1.2; animation: etiqueta 1s var(--ease) backwards; transition: border-color .3s, background .3s; }
.trio figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; color: var(--creme); }
.trio figcaption span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-claro); }
.trio--1 figcaption { left: -2%; bottom: 34%; animation-delay: 1.7s; }
.trio--2 figcaption { left: 50%; bottom: 19%; translate: -50% 0; animation-delay: 1.5s; }
.trio--3 figcaption { right: 4%; bottom: 46%; animation-delay: 1.9s; }
.hero__trio::after { content: ""; position: absolute; inset: auto -10% 0; height: 22%; background: linear-gradient(transparent, rgba(26, 32, 28, .95)); z-index: 4; pointer-events: none; }

/* Faixa das áreas correndo */
.hero__faixa { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; overflow: hidden; padding: 1.15rem 0; border-top: 1px solid var(--linha); background: rgba(26, 32, 28, .7); backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.faixa__trilho { display: flex; width: max-content; list-style: none; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-claro); animation: corre 38s linear infinite; }
.hero__faixa:hover .faixa__trilho { animation-play-state: paused; }
.faixa__trilho li { display: flex; align-items: center; white-space: nowrap; }
.faixa__trilho li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid var(--rose); margin-inline: 1.8rem; }

@keyframes sobe { to { transform: none; } }
@keyframes aparece { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes surge { from { opacity: 0; transform: translateY(70px) scale(.96); filter: blur(10px) brightness(.4); } }
@keyframes etiqueta { from { opacity: 0; transform: translateY(14px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes respira { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
@keyframes brilho { 0% { background-position: 100% 0; } 45%, 100% { background-position: -60% 0; } }
@keyframes corre { to { transform: translateX(-50%); } }

/* Seções */
section { padding: clamp(5rem, 10vw, 8.5rem) clamp(1.2rem, 4vw, 3.5rem); }
.cab { max-width: 46rem; margin-bottom: 3.5rem; }
.cab p:last-child:not(.selo) { color: var(--cinza); margin-top: 1rem; }

.escritorio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; background: var(--papel); }
.escritorio__foto { position: relative; }
.escritorio__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.escritorio__foto::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--rose); z-index: -1; }
.escritorio__texto h2 { margin-bottom: 1.6rem; }
.escritorio__texto > p:not(.selo) { color: #3c423e; margin-bottom: 1rem; max-width: 34rem; }
.numeros { display: flex; gap: 2.5rem; list-style: none; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid #e3dad3; }
.numeros b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--musgo); line-height: 1; }
.numeros span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza); }

/* Atuação */
.atuacao { background: var(--musgo); color: var(--creme); }
.atuacao .cab p:last-child { color: rgba(244, 239, 233, .65); }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); }
.area { position: relative; padding: 2.2rem 2rem 2rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); display: flex; flex-direction: column; gap: .9rem; min-height: 260px; overflow: hidden; isolation: isolate; transition: color .45s; }
.area::before { content: ""; position: absolute; inset: 0; background: var(--rose); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.area__num { font-family: var(--serif); font-size: 1rem; color: var(--rose); transition: color .45s; }
.area h3 { font-size: 1.9rem; }
.area p { color: rgba(244, 239, 233, .7); font-size: .93rem; transition: color .45s; flex: 1; }
.area__zap { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-claro); display: inline-flex; gap: .5em; align-items: center; transition: color .45s, gap .3s; }
.area:hover, .area:focus-within { color: var(--musgo); }
.area:hover::before, .area:focus-within::before { transform: scaleY(1); }
.area:hover p, .area:hover .area__num, .area:hover .area__zap, .area:focus-within p, .area:focus-within .area__zap { color: var(--musgo); }
.area:hover .area__zap { gap: .9em; }

/* Equipe */
.equipe { background: var(--creme); }
.pessoas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.pessoa { background: var(--papel); display: flex; flex-direction: column; }
.pessoa__foto { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--musgo-2); }
.pessoa__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1s var(--ease); }
.pessoa:hover .pessoa__foto img { transform: scale(1.04); }
.pessoa__areas { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.pessoa__areas span { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; background: rgba(35, 42, 38, .82); color: var(--rose-claro); padding: .35em .7em; backdrop-filter: blur(4px); }
.pessoa__info { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.pessoa__info h3 { font-size: 2rem; }
.pessoa__cargo { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.pessoa__info p:not(.pessoa__cargo) { color: #4a504c; font-size: .93rem; flex: 1; }
.pessoa__insta { font-size: .85rem; font-weight: 600; color: var(--musgo); border-top: 1px solid #e3dad3; padding-top: .9rem; }
.pessoa__insta:hover { color: var(--rose); }

/* Como atuamos */
.como { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); background: var(--musgo-2); color: var(--creme); }
.como__fixo { position: sticky; top: 100px; align-self: start; }
.como__fixo h2 { margin-bottom: 2rem; }
.como__fotos { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--musgo); }
.como__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: 0; scale: calc(1.18 - var(--z, 0) * .14); clip-path: inset(0 0 100% 0); transition: opacity .7s var(--ease), clip-path 1s var(--ease); }
.como__fotos img.ativa { opacity: 1; clip-path: inset(0 0 0 0); }
.como__contador { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; font-size: .8rem; letter-spacing: .2em; color: var(--creme); background: rgba(35, 42, 38, .75); padding: .4rem .75rem; backdrop-filter: blur(6px); }
.como__contador b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--rose-claro); }
.etapas { list-style: none; display: flex; flex-direction: column; padding-block: 18vh 30vh; }
.etapa { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1.2rem; padding: 3.2rem 0; border-top: 1px solid var(--linha); opacity: .28; transition: opacity .5s var(--ease); position: relative; }
.etapa::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--rose); transition: width .8s var(--ease); }
.etapa.ativa { opacity: 1; }
.etapa.ativa::before { width: 100%; }
.etapa:last-child { border-bottom: 1px solid var(--linha); }
.etapa span { grid-row: span 2; font-family: var(--serif); font-size: 2.6rem; color: var(--rose); line-height: 1; transition: transform .6s var(--ease); }
.etapa.ativa span { transform: translateX(6px); }
.etapa h3 { font-size: 2rem; margin-bottom: .5rem; }
.etapa p { color: rgba(244, 239, 233, .7); max-width: 30rem; }

/* Contato */
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); background: var(--papel); }
.contato__chamada h2 { margin-bottom: 1.2rem; }
.contato__chamada > p:not(.selo) { color: var(--cinza); margin-bottom: 2rem; max-width: 30rem; }
.contato__dados { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.6rem; }
.contato__dados .dado:first-child { grid-column: 1 / -1; }
.contato__mapa { min-height: 460px; border: 1px solid #e3dad3; position: relative; }
.contato__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.25) contrast(.95); }
.dado { padding: 1.6rem 1.8rem; border: 1px solid #e3dad3; position: relative; }
.dado::after { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; border-left: 1px solid var(--rose); border-right: 1px solid var(--rose); }
.dado h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); font-weight: 700; margin-bottom: .6rem; }
.dado p { margin-bottom: .4rem; }

/* Abertura presa: a foto abre do centro até a tela cheia (--a), depois escurece e o texto entra (--b) */
.abertura { height: 300vh; padding: 0; background: var(--papel); position: relative; }
.abertura__palco { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.abertura__foto { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--a, 0)) * 22%) calc((1 - var(--a, 0)) * 32%) round calc((1 - var(--a, 0)) * 6px)); }
.abertura__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; scale: calc(1.35 - var(--a, 0) * .35 + var(--b, 0) * .06); }
.abertura__veu { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 32, 28, .92) 0%, rgba(26, 32, 28, .55) 55%, rgba(26, 32, 28, .2) 100%); opacity: var(--b, 0); pointer-events: none; }
.abertura__texto { position: absolute; left: clamp(1.2rem, 4vw, 3.5rem); bottom: 12vh; max-width: 36rem; color: var(--creme); opacity: var(--b, 0); translate: 0 calc((1 - var(--b, 0)) * 60px); }
.abertura__texto h2 { margin-bottom: 1.2rem; }
.abertura__texto p:not(.selo) { color: rgba(244, 239, 233, .8); }
.abertura__mini { position: absolute; right: clamp(1.2rem, 6vw, 6rem); bottom: 10vh; width: clamp(150px, 19vw, 280px); aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border: 1px solid var(--linha); opacity: var(--b, 0); translate: 0 calc((1 - var(--b, 0)) * 140px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.abertura__mini img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Revelações de imagem e de título */
.img-revela { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.img-revela > img { scale: 1.25; transition: scale 1.6s var(--ease); }
.img-revela.visto { clip-path: inset(0 0 0 0); }
.img-revela.visto > img { scale: 1; }
.escritorio__foto .img-revela img { aspect-ratio: 4 / 5; }
.titulo-partes .parte { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.titulo-partes .parte > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); }
.titulo-partes.visto .parte > span { transform: none; }
.titulo-partes em .parte > span { padding-right: .06em; }

/* Artigos */
.artigos { background: var(--papel); }
.cab--linha { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.lista-artigos { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e3dad3; }
.artigo { display: flex; flex-direction: column; gap: .9rem; padding: 2rem 1.6rem 1.8rem; border-right: 1px solid #e3dad3; position: relative; transition: background .4s var(--ease); }
.artigo:first-child { padding-left: 0; }
.artigo:last-child { border-right: 0; }
.artigo::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--rose); transition: width .6s var(--ease); }
.artigo:hover::before { width: 100%; }
.artigo__area { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--rose); }
.artigo h3 { font-size: 1.65rem; line-height: 1.12; color: var(--musgo); }
.artigo p { color: #555b57; font-size: .92rem; flex: 1; }
.artigo__pe { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--cinza); padding-top: 1rem; border-top: 1px solid #ece4dd; }
.artigo__pe { flex-wrap: wrap; }
.artigo__pe b { color: var(--musgo); font-weight: 600; transition: color .3s; white-space: nowrap; }
.artigo:hover .artigo__pe b { color: var(--rose); }

/* Rodapé */
.rodape { background: #1a201c; color: rgba(244, 239, 233, .75); text-align: center; padding: 3.5rem 1.2rem 6rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: .9rem; }
.rodape b { font-family: var(--serif); font-size: 1.4rem; color: var(--creme); font-weight: 500; }
.rodape a { color: var(--rose-claro); }

/* WhatsApp flutuante */
.zap-flutuante { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.zap-flutuante svg { width: 30px; height: 30px; fill: #fff; }
.zap-flutuante:hover { transform: scale(1.08); }

/* Revelar ao rolar */
.revela { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revela.visto { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 980px) {
  .menu { position: fixed; inset: 0; background: var(--musgo); flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem; font-family: var(--serif); font-size: 2rem; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .menu.aberto { opacity: 1; pointer-events: auto; }
  .menu a { opacity: 1; }
  .topo__zap { display: none; }
  .hamburguer { display: flex; flex-direction: column; gap: 7px; margin-left: auto; background: none; border: 0; padding: .6rem; cursor: pointer; z-index: 2; }
  .hamburguer i { width: 26px; height: 1.5px; background: var(--creme); transition: transform .3s; }
  .hamburguer[aria-expanded="true"] i:first-child { transform: translateY(4.25px) rotate(45deg); }
  .hamburguer[aria-expanded="true"] i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; padding-top: 6.5rem; align-items: start; }
  .hero__texto { padding-bottom: 0; }
  .hero__trio { justify-self: center; width: min(100%, 560px); margin-top: 1.5rem; }
  .hero__texto { translate: none; }
  .hero__faixa { position: relative; margin-inline: calc(-1 * clamp(1.2rem, 4vw, 3.5rem)); }
  .faixa__trilho { font-size: .66rem; letter-spacing: .18em; animation-duration: 28s; }
  .faixa__trilho li::before { margin-inline: 1.1rem; }
  .escritorio, .como, .contato { grid-template-columns: 1fr; }
  .escritorio__foto { margin-right: 18px; }
  .como__fixo { position: static; }
  .etapas { padding-block: 0 4vh; }
  .etapa { padding: 2.2rem 0; }
  .abertura { height: 240vh; }
  .abertura__veu { background: linear-gradient(0deg, rgba(26, 32, 28, .95) 0%, rgba(26, 32, 28, .6) 55%, rgba(26, 32, 28, .15) 100%); }
  .abertura__texto { right: clamp(1.2rem, 4vw, 3.5rem); bottom: 8vh; }
  .abertura__mini { display: none; }
  .abertura__foto { clip-path: inset(calc((1 - var(--a, 0)) * 26%) calc((1 - var(--a, 0)) * 18%) round calc((1 - var(--a, 0)) * 6px)); }
  .lista-artigos { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .artigo, .artigo:first-child { padding: 1.8rem 1.2rem; border-bottom: 1px solid #e3dad3; }
  .contato__mapa { min-height: 340px; }
  .pessoas { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero__acoes .botao--cheio { width: 100%; }
  .lista-artigos { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .artigo, .artigo:first-child { padding-inline: 0; border-right: 0; }
  .contato__dados { grid-template-columns: 1fr; }
  .trio figcaption { padding: .4rem .55rem .4rem .6rem; }
  .trio figcaption b { font-size: .86rem; }
  .trio figcaption span { font-size: .5rem; letter-spacing: .1em; }
  .trio--1 figcaption { left: 0; bottom: 40%; }
  .trio--2 figcaption { bottom: 13%; }
  .trio--3 figcaption { right: 2%; bottom: 52%; }
  .numeros { gap: 1.4rem; }
  .numeros b { font-size: 2rem; }
  .area { min-height: 0; padding: 1.8rem 1.4rem; }
  .etapa { grid-template-columns: 3.2rem 1fr; }
  .etapa span { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .revela { opacity: 1; transform: none; }
  .anel { stroke-dashoffset: 0 !important; }
  .carga__letra, .hero__marca { clip-path: none !important; }
  .faixa__trilho { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
}
