/* ==========================================================================
   LINDEN MADEIRAS — landing page
   --------------------------------------------------------------------------
   Os tokens (cores/fontes) ficam no <style type="text/tailwindcss"> do head
   (@theme static) e aqui são usados via var(--color-*).
   Declaração das camadas ANTES do Tailwind, para os componentes ficarem
   abaixo das utilitárias.
   ========================================================================== */
@layer theme, base, components, utilities;

@font-face { font-family: 'Lustra'; src: url('../fonts/lustra-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Altform'; src: url('../fonts/altform-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Altform'; src: url('../fonts/altform-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Altform'; src: url('../fonts/altform-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Altform'; src: url('../fonts/altform-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Altform'; src: url('../fonts/altform-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

html { scroll-behavior: smooth; scroll-padding-top: 4rem; }   /* = altura do cabeçalho fixo: 64px no celular/tablet, 60px de 1024px em diante */
@media (min-width: 1024px) { html { scroll-padding-top: 3.75rem; } }
/* o Tailwind 4 zera o cursor dos botões (cursor: default): todo elemento clicável mostra a mãozinha */
button:not(:disabled), [role="button"], select, summary { cursor: pointer; }
body { font-family: 'Altform', ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: #121212; background: #F2EDE0; -webkit-font-smoothing: antialiased; overflow-x: clip; }
[x-cloak] { display: none !important; }

/* barra de rolagem igual à do quantix (6px, reta, trilho escuro + detalhe na cor da marca).
   As propriedades padrão (scrollbar-width/color) ficam só no Firefox: no Chrome/Edge elas anulariam o ::-webkit-scrollbar. */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #121212; }
::-webkit-scrollbar-thumb { background-color: #FFDD00; }
@-moz-document url-prefix() { html, body { scrollbar-width: thin; scrollbar-color: #FFDD00 #121212; } }

@layer components {

    /* ---------- tipografia ---------- */
    .titulo { font-family: 'Lustra', 'Arial Black', Impact, sans-serif; font-weight: 700; font-synthesis: none; text-transform: uppercase; line-height: 1.05; letter-spacing: .005em; word-spacing: .08em; }
    .h-xl { font-size: clamp(2.3rem, 5.6vw, 5.2rem); }
    .h-lg { font-size: clamp(1.7rem, 3.5vw, 3.1rem); }
    .h-md { font-size: clamp(1.4rem, 2.4vw, 2rem); }
    .eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; }
    .eyebrow::before { content: ''; width: 2.25rem; height: 2px; background: currentColor; }
    /* variação centralizada: travessão antes e depois do texto */
    .eyebrow-duplo::after { content: ''; width: 2.25rem; height: 2px; background: currentColor; }
    /* travessão dos dois lados só no tablet/mobile (onde o bloco é centralizado); no desktop segue alinhado à esquerda */
    @media (max-width: 1023px) { .eyebrow-duplo-menor::after { content: ''; width: 2.25rem; height: 2px; background: currentColor; } }

    /* ---------- cantos arredondados (mesmo padrão dos botões; o recorte por clip-path evita falhas com vídeo/transform) ---------- */
    .cantos { --r: 1rem; border-radius: var(--r); clip-path: inset(0 round var(--r)); }
    .cantos-sm { --r: .625rem; }
    .cantos-lg { --r: 1.5rem; }

    /* prego/parafuso decorativo (usar em poucos cards, dentro do canto arredondado) */
    .parafuso { position: absolute; z-index: 2; width: .75rem; height: .75rem; border-radius: 999px; background: radial-gradient(circle at 35% 30%, #d9d4c2, #7a7667 70%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.35); }
    .parafuso::after { content: ''; position: absolute; left: 15%; right: 15%; top: 46%; height: 8%; background: rgba(0,0,0,.55); transform: rotate(35deg); }

    /* costura (borda tracejada tipo couro) */
    .costura { outline: 2px dashed currentColor; outline-offset: -9px; border-radius: 1rem; }

    /* grão de papel/madeira por cima das superfícies escuras */
    .grao { position: relative; isolation: isolate; }
    .grao::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
    .fundo-verde { background: #3C593D url('../img/fotos/bkg-verde.webp') center / cover; }
    .fundo-floresta { background: #16231A; }

    /* ---------- botões CTA (4 cantos arredondados; o botão não se move) ----------
       Estrutura: <a class="btn btn-amarelo"><span>Texto</span><span class="btn-seta"><i data-ic="setaDiag" class="sd"></i></span></a>
       Sem selo: só a seta nordeste. No hover um círculo nasce atrás da seta e cresce até preencher o botão (troca de cor)
       enquanto a seta sai pelo canto e volta pelo outro, parando no mesmo lugar. */
    .btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: .9rem; --r-btn: .75rem; --chip: 1.5rem; --pad-r: 1.4rem;
        min-height: 3.75rem; padding: .5rem var(--pad-r) .5rem 1.6rem; clip-path: inset(0 round var(--r-btn));
        font-weight: 700; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; text-align: left; cursor: pointer;
        transition: color .4s ease; }
    .btn::before { content: ''; position: absolute; z-index: -1; right: var(--pad-r); top: 50%; width: var(--chip); height: var(--chip); margin-top: calc(var(--chip) / -2); border-radius: 999px;
        transform: scale(0); transition: transform .7s cubic-bezier(.2,.7,.1,1); }
    .btn:hover::before, .btn:focus-visible::before { transform: scale(46); }
    .btn:focus-visible { outline: 2px solid currentColor; outline-offset: -6px; }
    .btn-seta { display: grid; place-items: center; width: var(--chip); height: var(--chip); flex: none; overflow: hidden; }
    .btn-seta svg { width: 1.25rem; height: 1.25rem; }
    .btn:hover .btn-seta svg.sd, .btn:focus-visible .btn-seta svg.sd { animation: seta-passa .6s cubic-bezier(.2,.7,.1,1); }
    .btn:hover .btn-seta svg.sd-h, .btn:focus-visible .btn-seta svg.sd-h { animation: seta-passa-h .6s cubic-bezier(.2,.7,.1,1); }   /* seta para a direita: sai pela direita e volta pela esquerda */
    @keyframes seta-passa-h { 0% { transform: translateX(0); } 45% { transform: translateX(170%); } 46% { transform: translateX(-170%); } 100% { transform: translateX(0); } }
    @keyframes seta-passa { 0% { transform: translate(0,0); } 45% { transform: translate(170%,-170%); } 46% { transform: translate(-170%,170%); } 100% { transform: translate(0,0); } }

    /* amarelo da marca com degradê: claro (derivado) -> #FFDD00 -> escuro */
    /* o amarelo fica numa camada própria (::after) 1px para dentro da borda: o verde do hover cobre a borda sozinho e não sobra fio amarelo nos cantos arredondados */
    .btn-amarelo { color: #121212; }
    .btn-amarelo::after { content: ''; position: absolute; inset: 1px; z-index: -2; border-radius: calc(var(--r-btn) - 1px); background: linear-gradient(135deg, #FFEB5C 0%, #FFDD00 48%, #E6C700 100%); }
    /* hover: o círculo que cresce é o verde da marca sólido (o mesmo da faixa de números) */
    .btn-amarelo::before { background: #3C593D; }
    .btn-amarelo:hover { color: #F2EDE0; }

    /* sobre fundo claro (creme): verde da marca com degradê (folha -> mata); no hover o círculo é amarelo e o texto escurece */
    .btn-verde { color: #F2EDE0; }
    .btn-verde::after { content: ''; position: absolute; inset: 1px; z-index: -2; border-radius: calc(var(--r-btn) - 1px); background: linear-gradient(135deg, #597135 0%, #3C593D 100%); }
    .btn-verde::before { background: #FFDD00; }
    .btn-verde:hover { color: #121212; }

    .btn-sm { --r-btn: .625rem; --chip: 1.25rem; --pad-r: 1.1rem; min-height: 3rem; padding-left: 1.2rem; font-size: .8125rem; gap: .7rem; }
    .btn-sm .btn-seta svg { width: 1.1rem; height: 1.1rem; }
    .btn-bloco { display: flex; width: 100%; justify-content: space-between; }

    /* CTA secundário em formato de link: no hover aparece o sublinhado e uma seta para baixo */
    .link-cta { display: inline-flex; align-items: center; gap: .65rem; min-height: 3.75rem; padding: 0 .25rem; color: #F2EDE0; cursor: pointer;
        font-weight: 700; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
    .link-cta-txt { position: relative; }
    .link-cta-txt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.4rem; height: 2px; background: #FFDD00; transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.1,1); }
    .link-cta-ico { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; overflow: hidden; flex: none; }
    .link-cta svg { width: 1.25rem; height: 1.25rem; }
    .link-cta:hover .link-cta-txt::after, .link-cta:focus-visible .link-cta-txt::after { transform: scaleX(1); }
    /* a seta sai por baixo e volta por cima, parando no mesmo lugar (efeito de "volta") */
    .link-cta:hover svg, .link-cta:focus-visible svg { animation: seta-volta .6s cubic-bezier(.2,.7,.1,1); }
    .link-cta-ne:hover svg, .link-cta-ne:focus-visible svg { animation: seta-passa .6s cubic-bezier(.2,.7,.1,1); }   /* variação com seta nordeste à direita: a seta sai pelo canto e volta pelo outro, igual à dos botões */
    .link-cta-wa:hover svg, .link-cta-wa:focus-visible svg { animation: none; }   /* variação com ícone do WhatsApp à esquerda: o ícone fica parado, só o sublinhado aparece */
    @keyframes seta-volta { 0% { transform: translateY(0); } 45% { transform: translateY(170%); } 46% { transform: translateY(-170%); } 100% { transform: translateY(0); } }
    .link-cta:focus-visible { outline: 2px solid #FFDD00; outline-offset: 4px; border-radius: .25rem; }

    .link-seta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 900; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: .15rem; }
    .link-seta svg { width: 1rem; height: 1rem; transition: transform .3s ease; }
    .link-seta:hover svg { transform: translateX(4px); }

    /* ---------- cabeçalho (padrão somamangueiras: 1º absoluto na hero; 2º fixo que desce após rolar) ---------- */
    .nav-link { position: relative; font-weight: 600; font-size: .9375rem; letter-spacing: .04em; text-transform: uppercase; padding: .35rem 0; color: #F2EDE0; transition: color .25s; }
    .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #FFDD00; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
    .nav-link:hover { color: #FFDD00; }
    .nav-link:hover::after, .nav-link.ativo::after { transform: scaleX(1); }
    .nav-link.ativo { color: #FFDD00; }

    /* ---------- HERO ---------- */
    .hero { position: relative; display: flex; flex-direction: column; background: #0f1a12; color: #F2EDE0; overflow: hidden; isolation: isolate; }
    .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
    .hero-veu { position: absolute; inset: 0; z-index: -2;
        background:
            linear-gradient(90deg, rgba(15,26,18,.94) 0%, rgba(15,26,18,.72) 38%, rgba(15,26,18,.18) 78%, rgba(15,26,18,.34) 100%),
            linear-gradient(0deg, rgba(15,26,18,.9) 0%, rgba(15,26,18,0) 34%),
            linear-gradient(180deg, rgba(15,26,18,.7) 0%, rgba(15,26,18,0) 22%); }
    .hero-tint { position: absolute; inset: 0; z-index: -2; background: #3C593D; mix-blend-mode: soft-light; opacity: .55; }
    .hero .grao::after, .hero-grao { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .2; mix-blend-mode: overlay;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

    /* luz verde suave atrás do pica-pau (no lugar do painel): acompanha o mascote em qualquer tela */
    .mascote-luz { position: absolute; z-index: -1; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 999px;
        background: radial-gradient(circle, rgba(105,135,58,.7) 0%, rgba(89,113,53,.42) 34%, rgba(60,89,61,.14) 58%, rgba(60,89,61,0) 72%); }

    /* palavra que gira (carimbo) */
    .palavra-slot { position: relative; display: block; height: 1.12em; overflow: hidden; }
    .palavra { position: absolute; left: 0; top: 0; display: inline-block; color: #FFDD00; white-space: nowrap; will-change: transform; }

    /* selo "ferro de marcar" */
    .carimbo { position: relative; width: clamp(6.25rem, 13vw, 11rem); aspect-ratio: 1; }
    @media (min-width: 768px) and (max-width: 1279px) { .carimbo { width: clamp(7.5rem, 16vw, 10rem); } }
    .carimbo svg { width: 100%; height: 100%; overflow: visible; }
    .carimbo .brasa { position: absolute; inset: -18%; border-radius: 999px; background: radial-gradient(circle, rgba(255,120,20,.65) 0%, rgba(255,120,20,0) 62%); opacity: 0; pointer-events: none; }
    .gira-lento { animation: gira 38s linear infinite; transform-origin: 50% 50%; }
    @keyframes gira { to { transform: rotate(360deg); } }

    /* faixa corrida (marquee) */
    .fita { overflow: hidden; white-space: nowrap; }
    .fita-trilho { display: inline-flex; gap: 0; animation: fita 38s linear infinite; will-change: transform; }
    .fita-item { display: inline-flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; }
    .fita-item svg { color: #FFDD00; }
    /* o deslocamento (largura de UMA cópia do conteúdo, negativa) e a duração vêm do app.js, que repete o conteúdo até cobrir a tela: a faixa nunca fica vazia */
    @keyframes fita { to { transform: translateX(var(--fita-desloc, -50%)); } }

    /* faixa de números (reta) */
    .faixa-num { background: #3C593D; color: #F2EDE0; }
    .num-grande { font-family: 'Lustra', 'Arial Black', sans-serif; font-weight: 700; line-height: 1; }

    /* ---------- cards flip ---------- */
    .flip { perspective: 1400px; }
    .flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
    .flip:hover .flip-in, .flip:focus-within .flip-in, .flip.virado .flip-in { transform: rotateY(180deg); }
    .flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
    .flip-verso { transform: rotateY(180deg); }
    .flip-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
    .flip:hover .flip-foto { transform: scale(1.06); }
    @media (hover: none) { .flip:hover .flip-in, .flip:focus-within .flip-in { transform: none; } .flip.virado .flip-in { transform: rotateY(180deg); } }

    /* ---------- processo: passos que acendem com a rolagem ---------- */
    .passo { position: relative; padding: 2rem 0 2rem 4.5rem; border-top: 1px solid rgba(242,237,224,.18); opacity: .5; transition: opacity .5s ease; }
    .passo.ativo { opacity: 1; }
    .passo-n { position: absolute; left: 0; top: 1.6rem; font-family: 'Lustra', sans-serif; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px #FFDD00; transition: color .4s ease; }
    .passo.ativo .passo-n { color: #FFDD00; }
    .proc-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.4s ease; }
    .proc-foto.ativo { opacity: 1; transform: scale(1); }

    /* ---------- painéis que expandem (Para quem trabalhamos) ---------- */
    .paineis { display: flex; gap: .75rem; }
    .painel { position: relative; flex: 1 1 0; min-height: 28rem; overflow: hidden; transition: flex-grow .7s cubic-bezier(.2,.7,.2,1); cursor: pointer; isolation: isolate; color: #F2EDE0; }
    .painel:hover, .painel.aberto { flex-grow: 2.6; }
    .painel > img, .painel > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s ease; }
    .painel:hover > img, .painel:hover > video { transform: scale(1.05); }
    .painel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,26,18,.95) 0%, rgba(15,26,18,.25) 60%, rgba(15,26,18,.2) 100%); }
    .painel-extra { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s ease, opacity .5s ease .1s; }
    .painel:hover .painel-extra, .painel.aberto .painel-extra { max-height: 16rem; opacity: 1; }
    @media (max-width: 1023px) { .paineis { flex-direction: column; } .painel { min-height: 22rem; flex-grow: 1 !important; } .painel-extra { max-height: none; opacity: 1; } }

    /* ---------- bento (Estrutura) ---------- */
    .bento > * { position: relative; overflow: hidden; }
    .bento img, .bento video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
    .bento > *:hover img, .bento > *:hover video { transform: scale(1.06); }

    /* ---------- cartões de depoimento / etapas ---------- */
    .cartao { background: #F2EDE0; color: #121212; }
    .etapa { position: relative; background: #F2EDE0; transition: background-color .4s ease, color .4s ease; }
    .etapa:hover { background: #FFDD00; }   /* hover: amarelo da marca, texto preto (o texto já é preto) */
    .etapa .etapa-n { color: #FFDD00; -webkit-text-stroke: 1.5px #121212; font-family: 'Lustra', sans-serif; font-size: 3.5rem; line-height: 1; transition: color .4s ease; }
    .etapa:hover .etapa-n { color: #121212; }

    /* ---------- sliders (Swiper) ---------- */
    .swiper-pagination-bullet { width: .75rem !important; height: .75rem !important; border-radius: 999px !important; background: color-mix(in srgb, currentColor 35%, transparent) !important; opacity: 1 !important; transition: width .3s, background-color .3s; }
    .swiper-pagination-bullet-active { width: 1.75rem !important; background: #FFDD00 !important; box-shadow: inset 0 0 0 1.5px #121212; }
    .nav-slide { display: grid; place-items: center; width: 3rem; height: 3rem; background: #FFDD00; color: #121212; cursor: pointer; border-radius: .625rem; transition: background-color .25s, color .25s; }
    .nav-slide:hover:not(.swiper-button-disabled) { background: #3C593D; color: #FFDD00; }
    .nav-slide.swiper-button-disabled { opacity: .35; cursor: default; }
    .nav-slide svg { width: 1.25rem; height: 1.25rem; }

    /* ---------- vídeos de clientes: card (miniatura + play) e lightbox ---------- */
    .video-card { cursor: pointer; }
    .video-card:focus-visible { outline: 3px solid #FFDD00; outline-offset: -3px; }
    .video-play { box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .35s cubic-bezier(.2,.7,.1,1), background-color .3s; }
    .video-card:hover .video-play, .video-card:focus-visible .video-play { transform: scale(1.1); background-color: #FFEB5C; }
    .lb-video { padding: 0; border: 0; background: transparent; color: #F2EDE0; max-width: none; max-height: none; width: min(calc(100vw - 2rem), 60rem); margin: auto; overflow: visible; }
    .lb-video::backdrop { background: rgba(22,35,26,.94); }
    .lb-video[open] { animation: lb-entra .3s ease; }
    @keyframes lb-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

    /* ---------- FAQ ---------- */
    .faq-item { border-bottom: 2px solid #121212; }
    .faq-sinal { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: .5rem; background: #121212; color: #FFDD00; transition: background-color .3s, color .3s; }
    /* aberto: o quadrado só troca de cor; quem gira (+ vira ×) é apenas o ícone */
    .faq-sinal svg { transition: transform .35s ease; }
    .faq-item.aberto .faq-sinal { background: #FFDD00; color: #121212; }
    .faq-item.aberto .faq-sinal svg { transform: rotate(45deg); }

    /* ---------- formulário ---------- */
    /* campos do formulário (sobre o painel creme): traço de 2px preto, fundo creme, cantos arredondados — sem transparência */
    .campo { width: 100%; background-color: #F2EDE0; border: 2px solid #121212; color: #121212; padding: .95rem 1rem; font: inherit; font-size: 1rem; transition: border-color .25s; border-radius: .75rem; }
    .campo::placeholder { color: #6E6C60; }
    .campo:focus { outline: 3px solid #FFDD00; outline-offset: 2px; border-color: #3C593D; }
    select.campo { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-right: 2.6rem; }
    select.campo option { color: #121212; }
    select.campo:has(option[value=""]:checked) { color: #6E6C60; }   /* "Selecione uma opção" com cor de placeholder */
    .req { color: #D6141B; font-weight: 900; font-size: 1.2em; line-height: 0; margin-left: .125rem; }   /* asterisco de campo obrigatório */
    .link-voltar { font-weight: 700; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; color: #121212; padding: .5rem .25rem; position: relative; cursor: pointer; }
    .link-voltar::after { content: ''; position: absolute; left: .25rem; right: .25rem; bottom: .15rem; height: 2px; background: #3C593D; transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.1,1); }
    .link-voltar:hover::after, .link-voltar:focus-visible::after { transform: scaleX(1); }
    .rotulo { display: block; font-weight: 900; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .45rem; color: #121212; }

    /* ---------- mapa ---------- */
    #mapa { background: #16231A; }
    #mapa .leaflet-tile-pane { filter: grayscale(.25) brightness(1.02); }
    .tip-sede { background: #121212; color: #FFDD00; border: 0; border-radius: .5rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; padding: .35rem .6rem; box-shadow: none; }
    .tip-sede::before { border-top-color: #121212 !important; }
    .leaflet-bar { border-radius: .75rem !important; overflow: hidden; }
    .leaflet-bar a:first-child, .leaflet-bar a:last-child { border-radius: 0 !important; }
    .pino-lin { width: 1.1rem; height: 1.1rem; background: #FFDD00; border: 3px solid #121212; border-radius: 999px; }
    .pino-lin.sede { width: 1.6rem; height: 1.6rem; }

    /* ---------- WhatsApp flutuante (igual ao dos outros projetos: aparece após rolar) ---------- */
    .wa-flut { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 55; width: 4rem; height: 4rem; border-radius: 999px; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transform: scale(0); transition: transform .3s ease; }
    .wa-flut svg { width: 2rem; height: 2rem; }
    .wa-flut.visivel { transform: scale(1); }
    .wa-flut.visivel:hover { transform: scale(1.1); }
    .wa-flut::before { content: ''; position: absolute; inset: 0; border-radius: 999px; background: #25D366; z-index: -1; animation: wa-pulso 2.2s ease-out infinite; }
    @keyframes wa-pulso { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
    @media (min-width: 768px) { .wa-flut { right: 1.75rem; bottom: 1.75rem; } }

    /* mascote que "bate" na madeira */
    .pica-bate { transform-origin: 50% 100%; }

    @media (prefers-reduced-motion: reduce) {
        .fita-trilho, .gira-lento, .wa-flut::before { animation: none; }
        html { scroll-behavior: auto; }
    }
}
