/* CSS da home (front-page.php) — newlinkmind.com (meditação/yoga/bem-estar).
   Reaproveita cores/moldura globais do tema via var(--tn-color-*)/
   var(--tn-frame-image) (definidas em functions.php). */



        /* Hero Section — degradê com as cores do tema, palavra gigante
           "Newlinkmind" ao fundo, foto da pessoa com brilho atrás e
           borda de papel rasgado fazendo a transição pra próxima seção. */
        .hero {
            font-family: var(--tn-font);
            background: linear-gradient(160deg, var(--tn-color-secondary) 0%, var(--tn-color-primary) 55%, var(--tn-color-extra) 100%);
            position: relative;
            min-height: 54vh;
            width: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            isolation: isolate;
        }

        /* selo discreto no canto superior esquerdo */
        .hero > .badge {
            position: absolute;
            top: 2rem;
            left: 2rem;
            z-index: 5;
        }

        /* Nuvens em PNG, lentas, no rodapé da hero — atrás de tudo,
           contidas pelo overflow:hidden da própria .hero (não vazam). */
        .hero-clouds {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 72%;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        .hero-cloud {
            position: absolute;
            bottom: 0;
            width: auto;
            height: auto;
            display: block;
            filter: brightness(0) invert(1);
            will-change: transform;
        }

        .hero-cloud--1 {
            left: -14%; bottom: -4%; width: 68vw; max-width: 900px; opacity: 0.65;
            animation: hero-cloud-drift-a 32s ease-in-out infinite;
        }
        .hero-cloud--2 {
            left: 26%; bottom: -22%; width: 48vw; max-width: 660px; opacity: 0.45;
            animation: hero-cloud-drift-b 24s ease-in-out infinite;
            animation-delay: -6s;
        }
        .hero-cloud--3 {
            left: 46%; bottom: 4%; width: 58vw; max-width: 780px; opacity: 0.6;
            animation: hero-cloud-drift-a 28s ease-in-out infinite;
            animation-delay: -14s;
        }
        .hero-cloud--4 {
            left: 76%; bottom: -26%; width: 44vw; max-width: 600px; opacity: 0.4;
            animation: hero-cloud-drift-b 21s ease-in-out infinite;
            animation-delay: -2s;
        }
        .hero-cloud--5 {
            left: 6%; bottom: 18%; width: 34vw; max-width: 460px; opacity: 0.35;
            animation: hero-cloud-drift-b 26s ease-in-out infinite;
            animation-delay: -10s;
        }
        .hero-cloud--6 {
            left: 60%; bottom: -10%; width: 50vw; max-width: 700px; opacity: 0.5;
            animation: hero-cloud-drift-a 30s ease-in-out infinite;
            animation-delay: -20s;
        }
        .hero-cloud--7 {
            left: 88%; bottom: 12%; width: 30vw; max-width: 420px; opacity: 0.4;
            animation: hero-cloud-drift-b 19s ease-in-out infinite;
            animation-delay: -8s;
        }

        /* deriva orgânica: vai e volta em curvas diferentes (não é só
           ida-e-volta simétrica), com uma leve respiração de escala/altura */
        @keyframes hero-cloud-drift-a {
            0%   { transform: translate(-60px, 0) scale(1); }
            30%  { transform: translate(20px, -14px) scale(1.03); }
            55%  { transform: translate(80px, 4px) scale(1); }
            80%  { transform: translate(10px, 12px) scale(0.98); }
            100% { transform: translate(-60px, 0) scale(1); }
        }

        @keyframes hero-cloud-drift-b {
            0%   { transform: translate(70px, 6px) scale(1); }
            35%  { transform: translate(-20px, -10px) scale(0.97); }
            65%  { transform: translate(-70px, 8px) scale(1.02); }
            100% { transform: translate(70px, 6px) scale(1); }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-cloud {
                animation: none;
            }
        }

        /* Bolhas flutuando pelo fundo da hero, clima calmo/meditativo */
        .hero-bubbles {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        .hero-bubble {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(var(--tn-color-primary-rgb), 0.3) 0%, rgba(var(--tn-color-primary-rgb), 0.08) 45%, transparent 80%);
            filter: blur(18px);
            animation: hero-bubble-rise linear infinite;
        }

        .hero-bubble--1 { left: 3%;  bottom: -8%;  width: 80px; height: 80px; animation-duration: 21s; animation-delay: 0s; }
        .hero-bubble--2 { left: 21%; bottom: -22%; width: 34px; height: 34px; animation-duration: 13s; animation-delay: 3.5s; }
        .hero-bubble--3 { left: 12%; bottom: -4%;  width: 52px; height: 52px; animation-duration: 24s; animation-delay: 8s; background: radial-gradient(circle, rgba(var(--tn-color-extra-rgb), 0.3) 0%, rgba(var(--tn-color-extra-rgb), 0.08) 45%, transparent 80%); }
        .hero-bubble--4 { left: 47%; bottom: -18%; width: 26px; height: 26px; animation-duration: 11s; animation-delay: 1.5s; }
        .hero-bubble--5 { left: 61%; bottom: -10%; width: 90px; height: 90px; animation-duration: 27s; animation-delay: 6s; }
        .hero-bubble--6 { left: 38%; bottom: -26%; width: 40px; height: 40px; animation-duration: 16s; animation-delay: 10s; background: radial-gradient(circle, rgba(var(--tn-color-extra-rgb), 0.3) 0%, rgba(var(--tn-color-extra-rgb), 0.08) 45%, transparent 80%); }
        .hero-bubble--7 { left: 82%; bottom: -6%;  width: 62px; height: 62px; animation-duration: 22s; animation-delay: 4.5s; }
        .hero-bubble--8 { left: 71%; bottom: -20%; width: 30px; height: 30px; animation-duration: 12s; animation-delay: 9s; }
        .hero-bubble--9 { left: 93%; bottom: -14%; width: 48px; height: 48px; animation-duration: 25s; animation-delay: 2.5s; }

        @keyframes hero-bubble-rise {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 0.9;
            }
            50% {
                transform: translateY(-55vh) translateX(18px);
            }
            90% {
                opacity: 0.6;
            }
            100% {
                transform: translateY(-115vh) translateX(-14px);
                opacity: 0;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-bubble {
                animation: none;
                opacity: 0.5;
            }
        }

        /* Container principal: figura, recado + botões plantados perto
           da borda rasgada (título e cenário viraram camadas próprias) */
        .hero-container {
            position: relative;
            z-index: 3;
            flex: 1;
            max-width: 1400px;
            width: 90%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            padding: 5rem 0 2.5rem;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.16);
            backdrop-filter: blur(6px);
            padding: 0.5rem 1.2rem;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            width: fit-content;
        }

        .badge span {
            font-size: 0.85rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            color: white;
        }

        .badge i {
            font-size: 0.9rem;
            color: white;
        }

        /* Palavra gigante "Newlinkmind" — é o próprio H1, camada solta
           logo acima do degradê, atrás da pessoa. Entra com fade suave e
           pulsa devagar (clima calmo). */
        .hero-giant-title {
            position: absolute;
            top: clamp(1.8rem, 5vw, 3.8rem);
            left: 0;
            right: 0;
            font-size: clamp(2.8rem, 15vw, 14rem);
            font-weight: 800;
            line-height: 0.9;
            letter-spacing: -0.03em;
            text-transform: uppercase;
            text-align: center;
            color: var(--tn-color-bg, #fff);
            margin: 0;
            padding: 0 1rem;
            overflow-wrap: break-word;
            z-index: 1;
            pointer-events: none;
            opacity: 0;
            animation:
                hero-title-in 1s cubic-bezier(0.2, 0.9, 0.3, 1) 0.1s forwards,
                hero-title-breathe 7s ease-in-out 1.1s infinite;
        }

        @keyframes hero-title-in {
            from { opacity: 0; transform: translateY(-24px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        @keyframes hero-title-breathe {
            0%, 100% { opacity: 1; }
            50%      { opacity: 0.82; }
        }

        /* Imagem da PESSOA — de pé, na frente de tudo, com brilho atrás
           e flutuação suave, "vazando" até a borda rasgada no fim da hero. */
        .hero-figure {
            position: relative;
            z-index: 2;
            width: min(420px, 76%);
            flex: 1;
            min-height: 20vh;
            margin: 0 auto;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            opacity: 0;
            animation: hero-figure-in 1s cubic-bezier(0.2, 0.9, 0.3, 1) 0.35s forwards;
        }

        @keyframes hero-figure-in {
            from { opacity: 0; transform: translateY(30px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* brilho radial atrás da pessoa, pulsando devagar */
        .hero-figure-glow {
            position: absolute;
            left: 50%;
            bottom: 8%;
            width: 120%;
            max-width: 620px;
            aspect-ratio: 1 / 1;
            transform: translateX(-50%);
            background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 40%, transparent 72%);
            filter: blur(20px);
            z-index: -1;
            pointer-events: none;
            animation: hero-glow-pulse 5s ease-in-out infinite;
        }

        @keyframes hero-glow-pulse {
            0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
            50%      { opacity: 1;    transform: translateX(-50%) scale(1.08); }
        }

        .hero-figure-img {
            position: relative;
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain;
            object-position: bottom center;
            animation: hero-figure-float 6s ease-in-out 1.4s infinite;
        }

        @keyframes hero-figure-float {
            0%, 100% { transform: translateY(0); }
            50%      { transform: translateY(-14px); }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-giant-title,
            .hero-figure {
                opacity: 1;
                animation: none;
                transform: none;
            }
            .hero-figure-glow,
            .hero-figure-img {
                animation: none;
            }
        }

        /* Placa/recado estilo papel, flutuando perto do rodapé da hero */
        .hero-note {
            position: relative;
            z-index: 3;
            max-width: 340px;
            background: var(--tn-color-bg, #fff);
            color: var(--tn-color-text);
            padding: 1.1rem 1.4rem;
            border-radius: 4px;
            transform: rotate(-2deg);
            box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
            margin: -5rem auto 0;
        }

        .hero-note p {
            margin: 0;
            font-size: 0.92rem;
            line-height: 1.5;
            font-weight: 500;
            text-align: center;
        }

        .cta-group {
            position: relative;
            z-index: 3;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.2rem;
            align-items: center;
            margin-top: 2rem;
        }

        /* Botões pensados pra "flutuar" sobre o degradê colorido da hero:
           o primário é um pill branco sólido (contraste máximo), o
           secundário é um contorno translúcido bem visível, não some mais
           no fundo. */
        .btn-primary {
            background: #ffffff;
            border: 2px solid #ffffff;
            padding: 0.85rem 2rem;
            border-radius: 999px;
            font-weight: 700;
            font-size: 1rem;
            color: var(--tn-color-primary);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .btn-primary i {
            font-size: 1rem;
            transition: transform 0.25s ease;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            background: var(--tn-color-bg, #fff);
            box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
        }

        .btn-primary:hover i {
            transform: translateX(4px);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.14);
            backdrop-filter: blur(8px);
            border: 2px solid rgba(255, 255, 255, 0.85);
            padding: 0.85rem 2rem;
            border-radius: 999px;
            font-weight: 700;
            font-size: 1rem;
            color: #ffffff;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .btn-secondary:hover {
            background: #ffffff;
            border-color: #ffffff;
            color: var(--tn-color-primary);
            transform: translateY(-3px);
            box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
        }

        @media (max-width: 900px) {
            .hero-container {
                padding: 5.5rem 0 2.5rem;
            }
        }

        @media (max-width: 650px) {
            .hero {
                min-height: auto;
            }
            .hero > .badge {
                top: 1.2rem;
                left: 1.2rem;
                padding: 0.4rem 0.9rem;
            }
            .hero > .badge span {
                font-size: 0.72rem;
            }
            .hero-container {
                padding: 4.5rem 0 2rem;
            }
            .hero-note {
                max-width: 260px;
                padding: 0.9rem 1.1rem;
            }
            .hero-note p {
                font-size: 0.85rem;
            }
            .hero-figure {
                min-height: 24vh;
                width: min(360px, 85%);
            }
            .cta-group {
                margin-top: 1.4rem;
                gap: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            .hero-giant-title {
                top: 1.6rem;
                letter-spacing: -0.02em;
            }
            .hero-container {
                padding: 4.5rem 0 2rem;
            }
            .hero-figure {
                min-height: 26vh;
            }
            .badge span {
                white-space: nowrap;
            }
            .cta-group {
                flex-direction: column;
                width: 100%;
            }
            .btn-primary, .btn-secondary {
                width: 100%;
                justify-content: center;
            }
        }

        /* Seção de categorias — cartões soltos sobre papel quadriculado,
           clima acolhedor/mindful em vez do painel técnico escuro anterior. */
        .categories-section {
            position: relative;
            width: 100%;
            font-family: var(--tn-font);
     
            padding: 6rem 0 7rem;
            isolation: isolate;
            overflow: hidden;
        }

    

        .glow-cat-1 {
            position: absolute;
            top: -15%;
            left: 20%;
            width: 60%;
            height: 60%;
            background: radial-gradient(circle, rgba(var(--tn-color-primary-rgb),0.10), rgba(var(--tn-color-extra-rgb),0) 70%);
            filter: blur(100px);
            pointer-events: none;
            z-index: 0;
        }

        .glow-cat-2 {
            position: absolute;
            bottom: -10%;
            right: 5%;
            width: 55%;
            height: 55%;
            background: radial-gradient(circle, rgba(var(--tn-color-extra-rgb),0.10), rgba(var(--tn-color-extra-rgb),0) 70%);
            filter: blur(110px);
            pointer-events: none;
            z-index: 0;
        }

        /* container */
        .container-cat {
            position: relative;
            z-index: 2;
            max-width: 1300px;
            width: 88%;
            margin: 0 auto;
        }

        /* cabeçalho da seção */
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--tn-color-surface);
            border: 1px solid var(--tn-color-border);
            padding: 0.45rem 1.3rem;
            border-radius: 999px;
            margin-bottom: 1.2rem;
            transform: rotate(-2deg);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .section-badge span {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--tn-color-primary);
            letter-spacing: 0.3px;
        }

        .section-badge i {
            color: var(--tn-color-primary);
            font-size: 0.8rem;
        }

        .section-header h2 {
            font-size: clamp(2rem, 4vw, 3.2rem);
            font-weight: 700;
            margin-top: 5px;
            letter-spacing: -0.02em;
            color: var(--tn-color-text);
            margin-bottom: 1rem;
        }

        .section-sub {
            font-size: 1.1rem;
            color: var(--tn-color-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.5;
        }

        /* GRID DE CARTÕES — como fotos espalhadas sobre a mesa */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2.2rem 1.8rem;
            margin-top: 1rem;
        }

        /* Cartão vertical, meio "torto", que endireita no hover */
        .category-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            background: #ffffff;
            border: 2px solid var(--tn-color-border);
            border-radius: 26px;
            padding: 2.4rem 1.8rem 2rem;
            transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), border-color 0.35s ease, box-shadow 0.35s ease;
            cursor: pointer;
            position: relative;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
            transform: rotate(-1.4deg);
        }

        .categories-grid .category-card:nth-child(2) {
            transform: rotate(1.2deg);
        }

        .categories-grid .category-card:nth-child(3) {
            transform: rotate(-0.8deg);
        }

        /* parte de cima: ícone + conteúdo textual, empilhados */
        .card-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.1rem;
        }

        /* ícone como "selo" redondo colorido, estilo adesivo */
        .icon-wrapper {
            width: 76px;
            height: 76px;
            background: linear-gradient(135deg, var(--tn-color-primary), var(--tn-color-extra));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #fff;
            transition: transform 0.35s ease;
            box-shadow: 0 8px 18px rgba(var(--tn-color-primary-rgb), 0.28);
        }

        .text-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .text-content h3 {
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: -0.2px;
            color: var(--tn-color-text);
            margin-bottom: 0.6rem;
            transition: color 0.2s;
        }

        .text-content p {
            font-size: 0.92rem;
            color: var(--tn-color-muted);
            line-height: 1.5;
        }

        /* botão-etiqueta na base do cartão, tipo tag colorida */
        .card-arrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: var(--tn-color-surface);
            width: auto;
            padding: 0.55rem 1.3rem;
            border-radius: 999px;
            margin-top: 1.6rem;
            transition: all 0.35s ease;
            border: 1.5px solid var(--tn-color-border);
            color: var(--tn-color-text);
            font-size: 0.85rem;
            font-weight: 600;
        }

        .card-arrow::before {
            content: 'Explore';
        }

        /* hover: o cartão endireita e "levanta" da mesa */
        .category-card:hover {
            transform: rotate(0deg) translateY(-6px);
            border-color: var(--tn-color-primary);
            box-shadow: 0 22px 34px -14px rgba(15, 23, 42, 0.18);
        }

        .category-card:hover .icon-wrapper {
            transform: scale(1.08) rotate(-6deg);
        }

        .category-card:hover .card-arrow {
            background: var(--tn-color-primary);
            color: #ffffff;
            border-color: var(--tn-color-primary);
        }

        .category-card:hover .text-content h3 {
            color: var(--tn-color-primary);
        }
        /* WHY DOTIPU? SECTION - muito importante para autoridade */
        /* Seção "About" — curta, direta, fundo escuro. Menos blocos,
           mais respiro: badge, título, um parágrafo e uma linha de selos. */
        .why-section {
            position: relative;
            font-family: var(--tn-font);
            width: 100%;
            padding: 7rem 0;
            background: radial-gradient(ellipse at 30% 20%, #131826 0%, #0A0D14 60%);
            isolation: isolate;
            overflow: hidden;
        }

        .why-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(var(--tn-color-primary-rgb), 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(var(--tn-color-primary-rgb), 0.03) 1px, transparent 1px);
            background-size: 52px 52px;
            pointer-events: none;
            z-index: 0;
        }

        .glow-why-1 {
            position: absolute;
            top: -20%;
            left: -5%;
            width: 55%;
            height: 55%;
            background: radial-gradient(circle, rgba(var(--tn-color-primary-rgb),0.16), rgba(var(--tn-color-extra-rgb),0) 70%);
            filter: blur(100px);
            pointer-events: none;
            z-index: 0;
        }

        .glow-why-2 {
            position: absolute;
            bottom: -15%;
            right: 0%;
            width: 50%;
            height: 50%;
            background: radial-gradient(circle, rgba(var(--tn-color-extra-rgb),0.14), rgba(var(--tn-color-extra-rgb),0) 70%);
            filter: blur(110px);
            pointer-events: none;
            z-index: 0;
        }

        .container-why {
            position: relative;
            z-index: 2;
            max-width: 760px;
            width: 88%;
            margin: 0 auto;
            text-align: center;
        }

        .why-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(var(--tn-color-primary-rgb), 0.1);
            border: 1px solid rgba(var(--tn-color-primary-rgb), 0.25);
            padding: 0.45rem 1.3rem;
            border-radius: 999px;
            backdrop-filter: blur(2px);
            margin-bottom: 1.5rem;
        }

        .why-badge span {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--tn-color-primary);
            letter-spacing: 0.3px;
        }

        .why-badge i {
            color: var(--tn-color-primary);
            font-size: 0.8rem;
        }

        .why-section h2 {
            font-size: clamp(2.2rem, 5vw, 3.4rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #FFFFFF 0%, var(--tn-color-primary) 55%, var(--tn-color-extra) 100%);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            margin: 0 0 1.4rem;
        }

        .why-sub {
            font-size: 1.15rem;
            color: #A9B7CF;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
            font-weight: 400;
        }

        /* selos discretos numa linha só, sem cartões */
        .trust-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2.2rem;
            flex-wrap: wrap;
            margin-top: 2.8rem;
            padding-top: 1.8rem;
            border-top: 1px solid rgba(var(--tn-color-primary-rgb), 0.16);
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 0.55rem;
            font-size: 0.85rem;
            color: #8da2c2;
            font-weight: 500;
        }

        .trust-item i {
            color: var(--tn-color-primary);
            font-size: 1rem;
        }

        @media (max-width: 680px) {
            .why-section {
                padding: 5rem 0;
            }
            .why-sub {
                font-size: 1rem;
                padding: 0 0.5rem;
            }
            .trust-row {
                gap: 1.4rem;
                margin-top: 2.2rem;
            }
        }

        @media (max-width: 480px) {
            .trust-row {
                flex-direction: column;
                gap: 0.9rem;
            }
            .trust-item {
                font-size: 0.8rem;
            }
        }

        /* Categorias individuais (detalhes customizados) */
        /* pequenos ajustes para responsividade e grade sempre legível */
        @media (max-width: 900px) {
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .category-card {
                padding: 2rem 1.4rem 1.7rem;
            }
            .icon-wrapper {
                width: 64px;
                height: 64px;
                font-size: 1.7rem;
            }
            .text-content h3 {
                font-size: 1.25rem;
            }
            .text-content p {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 650px) {
            .categories-section {
                padding: 4rem 0 5rem;
            }
            .categories-grid {
                grid-template-columns: 1fr;
                gap: 1.6rem;
            }
            .category-card {
                transform: none !important;
            }
            .text-content p {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 550px) {
            .category-card {
                padding: 1.8rem 1.2rem 1.5rem;
                border-radius: 22px;
            }
            .icon-wrapper {
                width: 56px;
                height: 56px;
                font-size: 1.5rem;
            }
            .text-content h3 {
                font-size: 1.1rem;
            }
            .text-content p {
                font-size: 0.8rem;
            }
            .card-arrow {
                font-size: 0.78rem;
                padding: 0.5rem 1.1rem;
            }
            .section-header h2 {
                font-size: 1.8rem;
            }
        }

        /* efeito de foco acessível */
        .category-card:focus-visible {
            outline: 2px solid var(--tn-color-primary);
            transform: translateY(-3px);
        }

        /* espaçamento extra para a seção respirar */
        .container-cat {
            padding: 0 0.5rem;
        }

        /* para manter consistência com a hero section */
        a, .category-card {
            cursor: pointer;
            text-decoration: none;
        }

        /* removendo comportamento padrão de links (caso queira tornar clicável o card) */
        .category-card {
            user-select: none;
        }
        /* Responsividade impecável */
        @media (max-width: 1024px) {
            .hero-container {
                padding: 3rem 0 4rem;
            }
        }

        @media (max-width: 680px) {
            .btn-primary, .btn-secondary {
                padding: 0.7rem 1.3rem;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .cta-group {
                gap: 0.8rem;
            }
        }

        /* Ajuste para garantir que links não tenham comportamentos padrão indesejados */
        a, .btn-primary, .btn-secondary {
            text-decoration: none;
        }
        .btn-primary, .btn-secondary {
            display: inline-flex;
        }
.newlinkmind-blog-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Título da seção — classe própria pra não colidir com .section-header/
   .section-title da categories-section acima. */
.blog-section-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
}

.blog-section-title {
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #000000 30%, var(--tn-color-primary) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.section-glow {
    position: absolute;
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--tn-color-primary), var(--tn-color-extra), transparent);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    filter: blur(2px);
}

/* GRID: 3 posts recentes, cards uniformes */
.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.recent-post-card {
    display: flex;
    flex-direction: column;

    border-radius: 24px;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid var(--tn-color-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

    text-decoration: none;

    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.recent-post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--tn-color-primary-rgb), 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}

.recent-post-thumb {
    position: relative;
    isolation: isolate;

    display: block;

    aspect-ratio: 18 / 10;

    background: var(--tn-color-surface);
    overflow: hidden;
}

.recent-post-noimg {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: rgba(var(--tn-color-primary-rgb), 0.35);
    font-size: 2rem;
}

.recent-post-img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.recent-post-card:hover .recent-post-img {
    transform: scale(1.06);
}

/* Moldura automática (mesma técnica de assets/populares.css) */
.recent-post-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tn-frame-image) center/cover no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Avatar do autor flutuando no canto superior esquerdo da imagem */
.recent-post-avatar {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;

    display: flex;

    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.recent-post-card:hover .recent-post-avatar {
    transform: scale(1.08);
}

.recent-post-avatar-img {
    display: block;

    width: 32px;
    height: 32px;

    border-radius: 50%;
    border: 2px solid #ffffff;
}

.recent-post-body {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 22px 24px 24px;
}

.recent-post-cat {
    align-self: flex-start;

    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--tn-color-primary);

    background: rgba(var(--tn-color-primary-rgb), 0.15);
    border: 1px solid rgba(var(--tn-color-primary-rgb), 0.3);
    padding: 4px 12px;
    border-radius: 40px;
}

.recent-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tn-color-text);

    transition: color 0.25s ease;
}

.recent-post-card:hover .recent-post-title {
    color: var(--tn-color-primary);
}

.recent-post-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--tn-color-muted);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tn-color-muted);
}

.recent-post-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;

    margin-top: 4px;
    padding: 8px 18px;

    border-radius: 40px;
    background: var(--tn-color-surface);
    border: 1px solid var(--tn-color-border);

    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tn-color-text);

    transition: gap 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.recent-post-card:hover .recent-post-cta {
    gap: 12px;
    background: var(--tn-color-primary);
    border-color: var(--tn-color-primary);
    color: white;
}

.recent-post-date {
    font-size: 0.78rem;
    color: var(--tn-color-muted);
}

/* ========== TRENDING TOPICS (BÔNUS PREMIUM) ========== */
.trending-topics {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trending-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.trending-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(var(--tn-color-primary-rgb), 0.2), rgba(var(--tn-color-extra-rgb), 0.2));
    backdrop-filter: blur(12px);
    padding: 8px 24px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tn-color-primary);
    border: 1px solid rgba(var(--tn-color-primary-rgb), 0.3);
}

.trending-glow {
    position: absolute;
    width: 300px;
    height: 1px;
    background: radial-gradient(circle, var(--tn-color-primary), transparent);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.topic-block {
    display: block;
    background: rgba(15, 20, 30, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
}

.topic-block:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--tn-color-primary-rgb), 0.4);
    box-shadow: 0 0 28px rgba(var(--tn-color-primary-rgb), 0.15);
}

.topic-block h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.topic-block h4 i {
    color: var(--tn-color-primary);
    margin-right: 6px;
}

.topic-block p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

/* Responsivo */
@media (max-width: 1024px) {
    .recent-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }

    .trending-grid {
        grid-template-columns: 1fr;
    }
}