/* Versão 2, "Em dia": papel sobre a mesa, boleto, carimbo e marca-texto. */
:root {
  --mesa: #cfdcd5; --papel: #f6f8f4; --branco: #fff; --tinta: #0a3a41; --teal: #0b5a63;
  --lima: #e2d92c; --verm: #bf3b2b; --linha: rgba(10, 58, 65, .22); --mudo: #4f6f73;
  --disp: "Bricolage Grotesque", "Arial Narrow", sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(1.1rem, 5vw, 5rem);
}
html { background: var(--mesa); scrollbar-color: var(--teal) var(--mesa); }
body { background: var(--mesa); color: var(--tinta); font-family: var(--disp); font-stretch: 100%; font-size: 1.0625rem; line-height: 1.55; }
::selection { background: var(--lima); color: var(--tinta); }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
small { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .02em; color: var(--mudo); }
.mono { font-family: var(--mono); font-weight: 500; }
.nota { font-size: .92rem; color: var(--mudo); }
.nota a { color: var(--tinta); font-weight: 600; white-space: nowrap; }

.h2 { font-stretch: 75%; font-weight: 800; font-size: clamp(2.1rem, 5.4vw, 4.6rem); line-height: .94; letter-spacing: -.015em; max-width: 15ch; text-wrap: balance; }

/* marca-texto que risca quando o trecho entra na tela */
.mk { color: inherit; padding: 0 .16em; margin: 0 -.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(100deg, transparent 0 .25em, var(--lima) .25em calc(100% - .2em), transparent calc(100% - .2em)) 0 62% / 0% 66% no-repeat; transition: background-size 1s var(--ease-out) .45s; }
.is-in .mk, html:not(.js) .mk { background-size: 100% 66%; }

/* ---------- botões com sombra dura, que afundam ao clicar ---------- */
.bt { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .7rem 1.35rem; border: 2px solid var(--tinta); border-radius: 7px; font-weight: 700; font-size: 1.02rem; line-height: 1.15; text-decoration: none; text-align: center; box-shadow: 4px 4px 0 var(--tinta); translate: 0 0; transition: translate .18s var(--ease-out), box-shadow .18s var(--ease-out), background .25s, transform .6s var(--ease-out); }
.bt:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--tinta); }
.bt:active { translate: 4px 4px; box-shadow: 0 0 0 var(--tinta); }
.bt--lima { background: var(--lima); color: var(--tinta); }
.bt--lima:hover { background: #efe84a; }
.bt--tinta { background: var(--tinta); color: var(--papel); box-shadow: 4px 4px 0 var(--lima); }
.bt--tinta:hover { box-shadow: 7px 7px 0 var(--lima); }
.bt--tinta:active { box-shadow: 0 0 0 var(--lima); }
.bt--g { min-height: 68px; padding: 1rem 2rem; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.lk { font-weight: 600; color: var(--tinta); text-decoration: none; background: linear-gradient(var(--lima), var(--lima)) 0 100% / 100% 2px no-repeat; transition: background-size .35s var(--ease-out); padding: .1em 0; }
.lk:hover { background-size: 100% 100%; }

/* ---------- régua fixa no topo: a rolagem enche a régua ---------- */
.regua-topo { position: fixed; inset: 0 0 auto 0; z-index: 70; height: 12px; background: var(--papel); border-bottom: 1px solid var(--linha); overflow: hidden; }
.regua-topo::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--tinta) 0 1px, transparent 1px 8px) 0 100% / 100% 4px no-repeat, repeating-linear-gradient(90deg, var(--tinta) 0 1px, transparent 1px 40px) 0 100% / 100% 8px no-repeat; opacity: .55; }
.regua-topo i { position: absolute; inset: 0; background: var(--lima); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); }

.nav { position: sticky; top: 12px; z-index: 60; display: flex; align-items: center; gap: 2rem; padding: .7rem var(--pad); background: rgba(207, 220, 213, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__logo img { width: clamp(100px, 10vw, 132px); }
.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); margin-left: auto; font-weight: 500; font-size: .98rem; }
.nav__links a { text-decoration: none; background: linear-gradient(var(--lima), var(--lima)) 0 80% / 0% 46% no-repeat; transition: background-size .35s var(--ease-out); padding: 0 .15em; }
.nav__links a:hover { background-size: 100% 46%; }
.nav__cta { min-height: 42px; padding: .4rem 1rem; font-size: .94rem; }
@media (max-width: 860px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }

/* ---------- cada seção é uma folha destacável, com picote em cima e embaixo ---------- */
main { display: grid; gap: 12px; padding: 4px clamp(6px, 1.2vw, 16px) 14px; overflow-x: clip; }
.folha { --pic: 8px; position: relative; padding: clamp(3.6rem, 11vh, 7.5rem) var(--pad); background: var(--papel);
  -webkit-mask: radial-gradient(circle var(--pic) at 50% 0, #0000 96%, #000) 50% 0 / 28px 51% repeat-x, radial-gradient(circle var(--pic) at 50% 100%, #0000 96%, #000) 50% 100% / 28px 51% repeat-x;
  mask: radial-gradient(circle var(--pic) at 50% 0, #0000 96%, #000) 50% 0 / 28px 51% repeat-x, radial-gradient(circle var(--pic) at 50% 100%, #0000 96%, #000) 50% 100% / 28px 51% repeat-x; }

/* ---------- abertura ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(3rem, 8vh, 5.5rem); padding-bottom: 0; }
.hero h1 { font-stretch: 75%; font-weight: 800; font-size: clamp(2.9rem, 8.1vw, 7.6rem); line-height: .88; letter-spacing: -.02em; --stagger: 70ms; }
.hero__lead { max-width: 33rem; margin-top: clamp(1.2rem, 3vh, 2rem); font-size: clamp(1.05rem, 1.4vw, 1.25rem); --d: 420ms; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; margin-top: clamp(1.4rem, 4vh, 2.2rem); --d: 560ms; }

.boleto { perspective: 1200px; --d: 300ms; }
.boleto__sheet { position: relative; display: block; width: 100%; padding: 0; text-align: left; background: var(--branco); border: 1.5px solid var(--tinta); border-radius: 10px; box-shadow: 0 1px 0 #fff inset, 14px 18px 0 rgba(10, 58, 65, .1), 0 40px 60px -30px rgba(10, 58, 65, .45); transform: rotateY(calc(var(--rx, 0) * 1deg)) rotateX(calc(var(--ry, 0) * 1deg)) rotate(-2.2deg); transform-style: preserve-3d; transition: transform .7s var(--ease-out); cursor: pointer; }
.boleto.is-tilting .boleto__sheet { transition-duration: .12s; }
.boleto__head { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-bottom: 1.5px solid var(--tinta); }
.boleto__head img { width: 5.2rem; flex: none; }
.boleto__head b { flex: none; white-space: nowrap; padding: 0 .8rem; border-inline: 1.5px solid var(--tinta); font: 600 1.1rem var(--mono); }
.boleto__head i { flex: 1; min-width: 0; font: 500 clamp(.6rem, .95vw, .82rem) var(--mono); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.boleto__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.f { display: flex; flex-direction: column; gap: .1rem; padding: .5rem .8rem .6rem; border-bottom: 1px solid var(--linha); min-width: 0; }
.boleto__grid .f--l { border-right: 1px solid var(--linha); }
.f b { font-weight: 700; font-size: clamp(.98rem, 1.35vw, 1.2rem); line-height: 1.2; }
.inst { font-size: .95rem; line-height: 1.35; }
.venc { color: var(--verm); transition: color .4s; }
.sit { color: var(--verm); transition: color .4s; }
.is-pago .venc { color: var(--mudo); text-decoration: line-through; text-decoration-thickness: 2px; }
.is-pago .sit { color: var(--teal); }
.boleto__bars { position: relative; display: block; height: clamp(40px, 5vw, 60px); margin: .9rem .8rem; overflow: hidden; background: repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 4px, var(--tinta) 4px 5px, transparent 5px 9px, var(--tinta) 9px 12px, transparent 12px 13px, var(--tinta) 13px 14px, transparent 14px 17px, var(--tinta) 17px 21px, transparent 21px 23px, var(--tinta) 23px 24px, transparent 24px 27px); }
.boleto__bars i { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--verm); box-shadow: 0 0 14px 3px rgba(191, 59, 43, .55); animation: leitor 3.6s ease-in-out infinite; }
@keyframes leitor { 50% { left: calc(100% - 3px); } }
.stamp { position: absolute; right: 4%; top: 31%; padding: .12em .5em .16em; border: .13em solid currentColor; border-radius: .2em; color: var(--teal); font-stretch: 75%; font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 3.1rem); line-height: 1; letter-spacing: .03em; text-transform: uppercase; opacity: 0; transform: translateZ(50px) rotate(-11deg) scale(3.2); filter: url(#tinta); mix-blend-mode: multiply; pointer-events: none; }
.is-pago .stamp { animation: carimbo .42s cubic-bezier(.3, 1.5, .5, 1) forwards; }
@keyframes carimbo { 0% { opacity: 0; transform: translateZ(50px) rotate(-11deg) scale(3.2); } 60% { opacity: 1; } 100% { opacity: .9; transform: translateZ(50px) rotate(-11deg) scale(1); } }
.is-hit .boleto__sheet { animation: tranco .45s var(--ease-out); }
@keyframes tranco { 0% { translate: 0 0; } 18% { translate: 3px 9px; } 40% { translate: -2px -4px; } 70% { translate: 1px 2px; } 100% { translate: 0 0; } }
.boleto__nota { margin-top: 1.6rem; text-align: right; font: 400 .78rem var(--mono); color: var(--mudo); }

.canhoto { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(2rem, 6vh, 4rem) calc(var(--pad) * -1) 0; border-top: 2px dashed var(--tinta); --d: 800ms; }
.canhoto > div { display: flex; flex-direction: column; padding: 1.2rem var(--pad) 2.2rem; border-left: 1px solid var(--linha); }
.canhoto > div:first-child { border-left: 0; }
.canhoto dt { font: 500 .78rem var(--mono); color: var(--mudo); }
.canhoto dd { font-stretch: 75%; font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2.2rem); line-height: 1.1; white-space: nowrap; }
.canhoto dd b { font-weight: 800; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .canhoto { grid-template-columns: minmax(0, 1fr); }
  .canhoto > div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .8rem var(--pad); border-left: 0; border-top: 1px solid var(--linha); }
  .canhoto > div:first-child { border-top: 0; }
  .canhoto > div:last-child { padding-bottom: 1.8rem; }
}

/* ---------- lista de sintomas ---------- */
.check { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); }
.check__list { margin-top: clamp(1.6rem, 5vh, 3rem); border-top: 1.5px solid var(--tinta); }
.check__list li { border-bottom: 1px solid var(--linha); }
.check__list label { display: flex; align-items: center; gap: 1rem; padding: 1rem .2rem; cursor: pointer; font-size: clamp(1.1rem, 1.9vw, 1.55rem); font-weight: 500; line-height: 1.25; }
.check__list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cx { flex: none; width: 1.9rem; height: 1.9rem; border: 2px solid var(--tinta); border-radius: 5px; background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3a41' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.500 4.500 4.500L19 7'/%3E%3C/svg%3E") center / 0% no-repeat; transition: background-size .3s var(--ease-back), background-color .3s, rotate .4s var(--ease-back); }
.check__list label:hover .cx { rotate: -8deg; }
.check__list input:focus-visible + .cx { outline: 2.5px solid var(--teal); outline-offset: 3px; }
.check__list input:checked + .cx { background-size: 86%; background-color: var(--lima); }
.tx { padding: 0 .2em; margin: 0 -.2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(var(--lima), var(--lima)) 0 64% / 0% 62% no-repeat; transition: background-size .55s var(--ease-out); }
.check__list input:checked ~ .tx { background-size: 100% 62%; }
.laudo { display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem 1.3rem 1.5rem; border: 2px dashed var(--tinta); border-radius: 10px; background: var(--branco); rotate: 1.2deg; }
.laudo__txt { font-size: 1.12rem; font-weight: 500; line-height: 1.35; min-height: 4.6em; }
.laudo.is-pop { animation: pulo .45s var(--ease-back); }
@keyframes pulo { 40% { scale: 1.04; rotate: -.6deg; } }
@media (max-width: 900px) { .check { grid-template-columns: minmax(0, 1fr); } .laudo { rotate: 0deg; } }

/* ---------- régua de cobrança ---------- */
.regua__dica { margin-top: 1.2rem; max-width: 34rem; }
.regua__trilho { position: relative; margin: clamp(3.4rem, 9vh, 5rem) 1.2rem 0; padding-bottom: 3.4rem; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.regua__trilho.is-drag { cursor: grabbing; }
.regua__ticks { height: 54px; border-bottom: 2px solid var(--tinta); }
.regua__ticks svg { width: 100%; height: 100%; overflow: visible; }
.regua__ticks path { stroke: var(--tinta); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.regua__feito { position: absolute; left: 0; top: 26px; height: 28px; width: calc(var(--v) * 1%); background: var(--lima); mix-blend-mode: multiply; }
.regua__stops li { position: absolute; top: 62px; left: calc(var(--k) * 25%); translate: -50% 0; }
.regua__stops li:first-child { translate: -12% 0; } .regua__stops li:last-child { translate: -88% 0; }
.regua__stops button { padding: .3rem .5rem; font: 500 .84rem var(--mono); color: var(--mudo); border-radius: 4px; white-space: nowrap; transition: color .3s, background .3s; }
.regua__stops button:hover { color: var(--tinta); background: rgba(226, 217, 44, .5); }
.regua__stops li.is-on button { color: var(--tinta); font-weight: 600; background: var(--lima); }
.regua__thumb { position: absolute; left: calc(var(--v) * 1%); top: -30px; width: 0; height: 84px; pointer-events: none; }
.regua__thumb::before { content: ""; position: absolute; left: -1.5px; top: 20px; width: 3px; height: 64px; background: var(--verm); }
.regua__thumb i { position: absolute; left: -19px; top: -10px; width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--verm); border: 2px solid var(--tinta); box-shadow: 3px 3px 0 var(--tinta); transition: scale .3s var(--ease-back); }
.regua__thumb i::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--branco); }
.regua__trilho:hover .regua__thumb i, .regua__trilho.is-drag .regua__thumb i { scale: 1.14; }
.regua__trilho:not(.is-drag) .regua__thumb, .regua__trilho:not(.is-drag) .regua__feito { transition: left .5s var(--ease-out), width .5s var(--ease-out); }
.regua__input { position: absolute; left: 0; top: 0; width: 100%; height: 54px; margin: 0; opacity: 0; pointer-events: none; }
.regua__input:focus-visible ~ .regua__thumb i, .regua__trilho:has(.regua__input:focus-visible) .regua__thumb i { outline: 3px solid var(--teal); outline-offset: 3px; }
.ficha { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) minmax(0, 15rem); margin-top: 1.4rem; border: 1.5px solid var(--tinta); border-radius: 10px; background: var(--branco); box-shadow: 8px 8px 0 rgba(10, 58, 65, .1); overflow: hidden; }
.ficha__campo { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; }
.ficha__campo:first-child { border-right: 1px solid var(--linha); }
.ficha__campo:last-child { border-left: 1px solid var(--linha); background: rgba(226, 217, 44, .22); }
.ficha__campo b { font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.ficha__corpo { padding: 1.1rem 1.4rem 1.4rem; min-height: 9.5rem; }
.ficha__corpo h3 { font-stretch: 75%; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1; }
.ficha__corpo p { margin-top: .7rem; max-width: 38rem; }
.ficha.is-swap [data-f] { animation: troca .44s var(--ease-out); }
@keyframes troca { 0% { opacity: 1; transform: none; } 45% { opacity: 0; transform: translateY(10px); } 55% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .ficha { grid-template-columns: minmax(0, 1fr); }
  .ficha__campo:first-child { border-right: 0; border-bottom: 1px solid var(--linha); }
  .ficha__campo:last-child { border-left: 0; border-top: 1px solid var(--linha); }
  .ficha__corpo { min-height: 12.5rem; }
  .regua__trilho { margin-inline: .8rem; }
  .regua__stops li:not(.is-on) button { width: 30px; height: 30px; padding: 0; font-size: 0; }
  .regua__stops li:not(.is-on) button::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: var(--mudo); }
}

/* ---------- serviços: três vias que "imprimem" mais uma linha ao passar o mouse ---------- */
.vias__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 2.4vw, 2.2rem); margin-top: clamp(2rem, 6vh, 4rem); }
.via { --z: 9px; position: relative; isolation: isolate; padding: 1.5rem 1.4rem calc(var(--z) + 1.6rem); filter: drop-shadow(0 16px 16px rgba(10, 58, 65, .16)); transition: transform .5s var(--ease-out), opacity .9s var(--ease-out) var(--d, 0ms), filter .5s; }
.via::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--branco); border-top: 5px solid var(--tinta); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--z) * 2) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--z) * 2) 100%; }
.via:nth-child(2)::before { border-top-color: var(--teal); } .via:nth-child(3)::before { border-top-color: var(--lima); }
.via h3 { margin: .5rem 0 .8rem; font-stretch: 75%; font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: .98; }
.via p { font-size: 1rem; }
.via__mais { margin-top: 0; padding-top: 0; border-top: 0 dashed var(--tinta); max-height: 0; overflow: hidden; opacity: 0; font-weight: 600; transition: max-height .6s var(--ease-out), opacity .5s, margin-top .6s var(--ease-out), padding-top .6s var(--ease-out); }
.via__mais small { display: block; }
.via.is-in:hover, .via:focus-within { transform: translateY(-10px) rotate(-1.1deg); filter: drop-shadow(0 30px 24px rgba(10, 58, 65, .24)); }
.via:nth-child(2):hover { transform: translateY(-10px) rotate(.8deg); }
.via:hover .via__mais, .via:focus-within .via__mais { max-height: 9rem; opacity: 1; margin-top: 1.1rem; padding-top: .9rem; border-top-width: 1.5px; }
@media (hover: none) { .via__mais { max-height: none; opacity: 1; margin-top: 1.1rem; padding-top: .9rem; border-top-width: 1.5px; } }
@media (max-width: 900px) { .vias__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- extrato ---------- */
.extrato { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); background: var(--teal); color: var(--papel); }
.extrato__papel { padding: clamp(1.2rem, 3vw, 2.2rem); background: var(--branco); color: var(--tinta); border-radius: 4px; rotate: -.8deg; box-shadow: 10px 12px 0 rgba(0, 0, 0, .18); background-image: repeating-linear-gradient(0deg, transparent 0 2.59rem, rgba(10, 58, 65, .06) 2.59rem 2.65rem); }
.extrato__papel header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--tinta); }
.extrato__papel h2 { font-stretch: 75%; font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1; }
.extrato__papel header span { font: 500 .8rem var(--mono); color: var(--mudo); }
.extrato__papel li { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; align-items: baseline; gap: .2rem 1rem; padding: .78rem 0; border-bottom: 1px dotted var(--mudo); font-size: 1rem; line-height: 1.3; }
.extrato__papel time { font: 600 .95rem var(--mono); }
.extrato__papel li b { font: 600 .95rem var(--mono); text-align: right; }
.extrato__papel .total { border-bottom: 2px solid var(--tinta); font-weight: 700; }
.extrato__papel .total b { font-size: clamp(1rem, 1.6vw, 1.25rem); white-space: nowrap; }
.extrato__papel footer { padding-top: 1rem; font-size: .95rem; }
.extrato__frase { font-stretch: 75%; font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.04; }
.extrato__frase .mk { color: var(--tinta); transition-delay: .6s; }
@media (max-width: 900px) { .extrato { grid-template-columns: minmax(0, 1fr); } .extrato__papel li { grid-template-columns: 4.6rem minmax(0, 1fr); } .extrato__papel li b { grid-column: 2; text-align: left; } .extrato__papel li:not(.total) b { display: none; } }

/* ---------- certificado digital ---------- */
.cert { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.cert__txt > p { margin-top: 1.2rem; max-width: 33rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.tabs button { padding: .5rem 1rem; border: 2px solid var(--tinta); border-radius: 999px; font-weight: 600; transition: background .25s, translate .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.tabs button:hover { translate: -1px -2px; box-shadow: 3px 4px 0 var(--tinta); }
.tabs button[aria-selected="true"] { background: var(--lima); box-shadow: 3px 4px 0 var(--tinta); translate: -1px -2px; }
.cert__txt .cert__desc { min-height: 5.2em; margin: 1.2rem 0 1.5rem; font-size: 1.1rem; font-weight: 500; max-width: 31rem; }
.cert__txt .nota { margin-top: 1.1rem; }
.cartao { perspective: 1100px; max-width: 30rem; width: 100%; margin: 0 auto; }
.cartao__in { position: relative; aspect-ratio: 1.586; padding: 7% 7% 6%; border-radius: 4.4% / 7%; background: linear-gradient(135deg, #0f6f7a, var(--tinta) 78%); color: var(--papel); box-shadow: 0 40px 50px -30px rgba(10, 58, 65, .7), 0 0 0 1.5px var(--tinta); overflow: hidden; transform: rotateY(calc(var(--rx, 0) * 1deg + var(--giro, 0deg))) rotateX(calc(var(--ry, 0) * 1deg)) rotate(3deg); transition: transform .8s var(--ease-out); animation: boia 6s ease-in-out infinite; }
.cartao.is-tilting .cartao__in { transition-duration: .12s; animation-play-state: paused; }
@keyframes boia { 50% { translate: 0 -10px; } }
.cartao__holo { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 18%, rgba(226, 217, 44, .55) 36%, rgba(99, 216, 207, .5) 48%, rgba(255, 255, 255, .55) 56%, transparent 74%) var(--gx, 30%) var(--gy, 30%) / 260% 260%; mix-blend-mode: screen; opacity: .35; transition: opacity .4s; }
.cartao.is-tilting .cartao__holo { opacity: 1; }
.cartao__chip { position: absolute; left: 7%; top: 36%; width: 15%; aspect-ratio: 1.25; border-radius: 16%; background: linear-gradient(135deg, #f3ec6c, var(--lima) 55%, #a89f12); box-shadow: inset 0 0 0 1.5px rgba(10, 58, 65, .5); }
.cartao__chip i { position: absolute; inset: 22% 0; border-block: 1.5px solid rgba(10, 58, 65, .5); }
.cartao__chip i::before { content: ""; position: absolute; inset: -40% 32%; border-inline: 1.5px solid rgba(10, 58, 65, .5); }
.cartao__icp { position: absolute; right: 7%; top: 8%; font: 500 clamp(.62rem, 1.1vw, .8rem) var(--mono); opacity: .85; }
.cartao__tipo { display: block; font-stretch: 75%; font-weight: 800; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1; }
.cartao__sub { display: block; margin-top: .2rem; font-size: clamp(.8rem, 1.3vw, 1rem); opacity: .85; }
.cartao__num { position: absolute; left: 7%; bottom: 9%; font: 500 clamp(.74rem, 1.5vw, 1.1rem) var(--mono); letter-spacing: .08em; }
.cartao__in img { position: absolute; right: 6%; bottom: 8%; width: 24%; }
@media (max-width: 900px) { .cert { grid-template-columns: minmax(0, 1fr); } .cartao { order: -1; max-width: 22rem; } }

/* ---------- carta para quem recebeu contato ---------- */
.carta { background: var(--tinta); padding-block: clamp(3.4rem, 9vh, 6rem); }
.carta__papel { position: relative; max-width: 47rem; margin: 0 auto; padding: clamp(1.6rem, 5vw, 3.6rem); background: var(--branco); border-radius: 3px; rotate: -1.1deg; box-shadow: 12px 14px 0 rgba(0, 0, 0, .25); transition: rotate .6s var(--ease-out), opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.carta__papel:hover { rotate: 0deg; }
.carimbo-postal { position: absolute; right: clamp(.6rem, 3vw, 2.2rem); top: clamp(.6rem, 2vw, 1.6rem); width: clamp(120px, 17vw, 200px); color: var(--teal); opacity: .42; rotate: 9deg; filter: url(#tinta); pointer-events: none; }
.carimbo-postal text { font: 600 11px var(--mono); }
.carta h2 { max-width: 12ch; font-stretch: 75%; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: .95; }
.carta__papel > p { margin-top: 1.1rem; max-width: 38rem; font-size: 1.08rem; }
.carta__papel .carta__ass { margin-top: 1.6rem; font-weight: 700; }
.carta__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1.5px dashed var(--tinta); }
.carta__cta .nota { flex: 1 1 16rem; }

/* ---------- quem somos ---------- */
.quem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(2.4rem, 6vw, 6rem); }
.foto { position: relative; padding: clamp(.6rem, 1.2vw, .9rem) clamp(.6rem, 1.2vw, .9rem) 0; background: var(--branco); rotate: -3deg; box-shadow: 0 30px 40px -24px rgba(10, 58, 65, .55), 0 0 0 1px var(--linha); transition: rotate .7s var(--ease-out), scale .7s var(--ease-out), opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.foto:hover { rotate: 0deg; scale: 1.03; }
.foto::before { content: ""; position: absolute; left: 50%; top: -16px; width: 7.5rem; height: 32px; translate: -50% 0; rotate: -4deg; background: rgba(226, 217, 44, .82); box-shadow: 0 2px 4px rgba(0, 0, 0, .12); }
.foto img { width: 100%; filter: saturate(.92) contrast(1.03); }
.foto figcaption { padding: .8rem .2rem 1rem; font: 500 .84rem var(--mono); text-align: center; }
.quem__txt > p { margin-top: 1.2rem; max-width: 36rem; }
.quem__txt .missao { margin-top: 1.6rem; font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1.3; }
.missao small { display: block; margin-bottom: .2rem; }
.selos { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 2rem; }
.selos li { padding: .22rem .7rem .28rem; border: 2.5px solid currentColor; border-radius: 6px; color: var(--teal); font-stretch: 75%; font-weight: 800; font-size: clamp(1.05rem, 1.7vw, 1.4rem); letter-spacing: .04em; text-transform: uppercase; rotate: var(--r, -2deg); filter: url(#tinta); cursor: default; }
.selos li:nth-child(2) { --r: 2.500deg; color: var(--tinta); } .selos li:nth-child(3) { --r: -1deg; color: var(--verm); } .selos li:nth-child(4) { --r: 3deg; } .selos li:nth-child(5) { --r: -3deg; color: var(--tinta); } .selos li:nth-child(6) { --r: 1.500deg; }
.js .selos li { opacity: 0; }
.js .selos.was-inview li { animation: selo .45s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--k, 0) * 130ms + 200ms); }
.selos.was-inview li:hover { animation: selo2 .4s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes selo { 0% { opacity: 0; scale: 2.4; } 100% { opacity: .92; scale: 1; } }
@keyframes selo2 { 0% { opacity: .3; scale: 1.7; } 100% { opacity: .92; scale: 1; } }
@media (max-width: 900px) { .quem { grid-template-columns: minmax(0, 1fr); } .foto { max-width: 30rem; margin-inline: auto; } }

/* ---------- recados ---------- */
.recados__mesa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3rem); margin-top: clamp(2rem, 6vh, 4rem); }
.recado { position: relative; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--lima); rotate: -1.6deg; box-shadow: 0 22px 26px -18px rgba(10, 58, 65, .5); transition: rotate .5s var(--ease-out), translate .5s var(--ease-out), box-shadow .5s, opacity .9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms); }
.recado:nth-child(2) { background: var(--branco); rotate: 1.8deg; margin-top: 2.2rem; box-shadow: 0 22px 26px -18px rgba(10, 58, 65, .5), 0 0 0 1px var(--linha); }
.recado:hover { rotate: 0deg; translate: 0 -8px; box-shadow: 0 36px 34px -20px rgba(10, 58, 65, .55); z-index: 2; }
.recado::before { content: ""; position: absolute; left: 50%; top: -12px; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%; background: var(--verm); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .22), 0 6px 6px rgba(0, 0, 0, .25); }
.recado p { font-size: clamp(1.02rem, 1.35vw, 1.18rem); font-weight: 500; }
.recado footer { margin-top: 1.2rem; font: 600 .9rem var(--mono); }
@media (max-width: 760px) { .recados__mesa { grid-template-columns: minmax(0, 1fr); } .recado:nth-child(2) { margin-top: 0; } }

/* ---------- recibo final ---------- */
.recibo { background: var(--lima); padding-bottom: 2rem; }
.recibo__topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.6rem 3rem; }
.recibo__topo h2 { max-width: 11ch; font-stretch: 75%; font-weight: 800; font-size: clamp(2.8rem, 8.4vw, 7.4rem); line-height: .88; letter-spacing: -.02em; }
.recibo .bt--lima { background: var(--tinta); color: var(--papel); box-shadow: 5px 5px 0 var(--branco); }
.recibo .bt--lima:hover { box-shadow: 9px 9px 0 var(--branco); background: var(--teal); }
.recibo__campos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2.4rem, 8vh, 5rem); border: 1.5px solid var(--tinta); border-radius: 8px; background: rgba(255, 255, 255, .35); }
.recibo__campos .f { gap: .25rem; padding: .9rem 1rem 1.1rem; border-bottom: 1px solid rgba(10, 58, 65, .35); border-right: 1px solid rgba(10, 58, 65, .35); align-items: flex-start; }
.recibo__campos .f--l { grid-column: span 2; }
.recibo__campos small { color: #3c4f1f; }
.recibo__campos .lk { background-image: linear-gradient(var(--tinta), var(--tinta)); }
.recibo__campos .lk:hover { color: var(--lima); }
.recibo__bars { height: 44px; margin-top: 1.6rem; opacity: .85; background: repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 4px, var(--tinta) 4px 5px, transparent 5px 9px, var(--tinta) 9px 12px, transparent 12px 13px, var(--tinta) 13px 14px, transparent 14px 17px, var(--tinta) 17px 21px, transparent 21px 23px); }
.recibo__fim { margin-top: 1rem; font-size: .9rem; }
.recibo__fim a { font-weight: 600; }
@media (max-width: 900px) { .recibo__campos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .recibo__campos { grid-template-columns: minmax(0, 1fr); } .recibo__campos .f--l { grid-column: auto; } }

.fx-wa { background: var(--tinta); color: var(--lima); border: 2px solid var(--tinta); box-shadow: 4px 4px 0 var(--lima); }

@media (prefers-reduced-motion: reduce) {
  .stamp { opacity: .9; transform: rotate(-11deg); }
  .js .selos li { opacity: .92; }
  .mk { background-size: 100% 66%; }
}
